CN104463850A - Apple stem/calyx detection method based on near-infrared encoding lattice structure light - Google Patents

Apple stem/calyx detection method based on near-infrared encoding lattice structure light Download PDF

Info

Publication number
CN104463850A
CN104463850A CN201410657782.6A CN201410657782A CN104463850A CN 104463850 A CN104463850 A CN 104463850A CN 201410657782 A CN201410657782 A CN 201410657782A CN 104463850 A CN104463850 A CN 104463850A
Authority
CN
China
Prior art keywords
hot spot
apple
near infrared
image
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410657782.6A
Other languages
Chinese (zh)
Inventor
赵春江
张驰
黄文倩
郭志明
王庆艳
李江波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Research Center of Intelligent Equipment for Agriculture
Original Assignee
Beijing Research Center of Intelligent Equipment for Agriculture
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Research Center of Intelligent Equipment for Agriculture filed Critical Beijing Research Center of Intelligent Equipment for Agriculture
Priority to CN201410657782.6A priority Critical patent/CN104463850A/en
Publication of CN104463850A publication Critical patent/CN104463850A/en
Priority to CN201510580510.5A priority patent/CN105158275B/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0012Biomedical image inspection
    • G06T7/0014Biomedical image inspection using an image reference approach
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10048Infrared image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30004Biomedical image processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30181Earth observation
    • G06T2207/30188Vegetation; Agriculture

Abstract

The invention discloses an apple stem/calyx detection method based on near-infrared encoding lattice structure light. The method includes the steps of generating the near-infrared encoding lattice structure light and determining a stem/calyx area in an apple image by utilizing comparison of the apple image and a reference image after projection respectively. According to the method, the positions of the apple stem/calyx are recognized in the mode of analyzing a plurality of light spots of the discrete structure light in the image instead of the mode of analyzing an overall apple image, therefore, the calculation time is greatly shortened, and the requirement of high-speed on-line detection in the actual production process is met.

Description

Based on the apple stem/calyx detection method of near infrared coding dot matrix structured light
Technical field
The present invention relates to vegetable and fruit detection technique field, particularly a kind of apple stem/calyx detection method based near infrared coding dot matrix structured light.
Background technology
China is apple production big country, but the postharvest treatment level of apple is very low at present, and most of apple cultivation person to the classification understanding of apple not, only reject the apple that can not go on the market, do rough classification to apple size, classification means are mainly by manual grading skill, and classification results is not accurate enough.Apple external sort separator based on machine vision can the size of comprehensive detection apple, color, the index of quality such as primary outer such as fruit shape and surface imperfection etc., has precision high, the advantages such as automaticity height and non-damaged data, are widely applied in apple classification in postpartum process.
The automatic testing method comparative maturity of apple size, shape, colour index, and the quick identification of defect is the obstacle of apple real-time graded always, its Major Difficulties is because there is very large similarity in the defect area of apple surface and carpopodium/calyx region on the gray-scale value of image, the two is all rendered as dark-coloured spot on image, thus causes defect and carpopodium/calyx to be difficult to distinguish.Therefore carpopodium/calyx the region whether can accurately detected in Apple image becomes the correct prerequisite identifying apple surface defect.The method of existing detection apple stem/calyx mainly contains:
Feature detection method: the feature extracting defect area and carpopodium/calyx region, utilize artificial neural network, the sorters such as Support Vector Machine identify, the shortcoming of these class methods is that recognition correct rate is lower.
EO-1 hyperion detection method: utilize EO-1 hyperion camera calibration apple surface defect, although recognition correct rate is higher, EO-1 hyperion camera price is extremely expensive, is difficult in the middle of actual production.
Shade rebuilds detection method: utilize the shade of apple surface to carry out three-dimensional reconstruction to apple, according to the sunk area of reconstructed results identification apple surface, these class methods are difficult to ensure that apple all provides enough shadow information for three-dimensional reconstruction when being in any attitude, and when the color characteristic of defect area is similar to shade, defect area can be determined as carpopodium/calyx region mistakenly.
Structure light coding method, by object projection coding pattern, substantially increases detection speed, thus has a wide range of applications in three-dimensional reconstruction, field of industrial measurement.In apple on-line checkingi process, not only to detect carpopodium/calyx and defect, also will detect surface colour rate.If use colored structures optically encoded images, affect the detection of surface colour rate on the one hand, the interference of surface color can be subject on the other hand.And near infrared structured light can avoid this two problems, because the character of near-infrared image only reflection surface, have nothing to do with surface color.Near-infrared image is gray level image, color cannot be utilized as coded message, common projector equipment cannot project near infrared coding pattern simultaneously, and this makes these the conventional structure light coding means of color, grey scale change and specific pattern commonly used at visible light wave range cannot be directly used near infrared structured light.Therefore a kind of structure light coding primitive not relying on color, grey scale change and graphical symbol is needed.For simple near infrared structured light spot array, each hot spot has similar shape, is therefore difficult to mate with the hot spot projected above reference planes the hot spot projecting body surface.
Summary of the invention
(1) technical matters that will solve
The technical problem to be solved in the present invention solves the deficiency utilizing machine vision technique to detect apple stem/calyx aspect at present.
(2) technical scheme
The present invention proposes a kind of apple stem/calyx detection method based near infrared coding dot matrix structured light, comprising:
S1, virtual parallel of n1 bar is set and virtual parallel of the horizontal linear that spacing is equal and n2 bar and the vertical line that spacing is equal, the intersection point of corresponding every bar vertical line and horizontal linear generates a hot spot, this hot spot to be positioned on this horizontal linear and to be positioned at the left side or the right side that become this vertical line of fixed range with corresponding intersection point, when this hot spot is positioned at left side, the value of this hot spot is the first basic coding primitive, when this hot spot is positioned at right side, the value of this hot spot is the second basic coding primitive, thus generates n 1× n 2near infrared coding dot matrix structured light, and for comprising k arbitrarily 1row and k 2the subwindow of row hot spot, the code value that subwindow is corresponding is different, wherein n 1, n 2, k 1, k 2be positive integer;
S2, after infrared coding lattice structure light projects reference planes and apple surface respectively, collects reference picture and Apple image nearly respectively, asks for the position of near infrared coding dot matrix structured light each hot spot on each image;
S3, of choosing on Apple image comprises k 1row and k 2the subwindow of row hot spot, calculates the code value of this subwindow, then at n 1× n 2near infrared coding dot matrix in search there is the subwindow of identical code value, thus determine the position of apple surface near infrared hot spot near infrared coding dot matrix, and then set up the corresponding relation of each hot spot of Apple image and each hot spot of reference picture;
S4, calculate the ordinate difference of the position of each hot spot hot spot corresponding to reference picture of Apple image, if the second order difference that all there is the described ordinate difference of certain hot spot of other hot spots about on Apple image is less than 0, then the relevant position of this hot spot is labeled as carpopodium/calyx region, if the difference that left and right has side to there is not the described ordinate difference of certain hot spot adjacent spots horizontal with it of other hot spots is greater than setting threshold value, then relevant position is labeled as carpopodium/calyx region.
Preferably, described basic coding unit, if near infrared structured light hot spot is positioned on the left of corresponding imaginary vertical straight line, then the first basic coding primitive is expressed as 1, if near infrared structured light hot spot is positioned on the right side of corresponding imaginary vertical straight line, then the second basic coding primitive is expressed as 0; Or be: if near infrared structured light hot spot is positioned on the left of corresponding imaginary vertical straight line, then the first basic coding primitive is 0, if near infrared structured light hot spot is positioned on the right side of corresponding imaginary vertical straight line, then the second basic coding primitive is 1.
Preferably, the position of described hot spot is the coordinate of the maximum point of gray-scale value in this hot spot, if having the maximum of points that multiple gray-scale value is identical in this hot spot, then according to from top to bottom, order from left to right asks for the position of coordinate as hot spot of the maximum point of first gray-scale value.
Preferably, in S3, the value of each hot spot in the subwindow of described Apple image is so determined: the hot spot that horizontal ordinate difference is less than first threshold forms a row hot spot, average horizontal ordinate difference is less than to the adjacent two row hot spots of Second Threshold, in left column, the value of hot spot is the first basic coding primitive, and in right row, the value of hot spot is the second basic coding primitive.
Preferably, it is characterized in that, n 1=15, n 2=17.
Preferably, it is characterized in that, k 1=4, k 2=2.
Preferably, described near infrared coding dot matrix structured light is launched by near-infrared laser dot matrix instrument or near-infrared LED lattice structure light projecting apparatus.
Preferably, described reference planes are the upper surface of apple sorting conveyer.
Preferably, described Apple image and reference picture by camera in same position collection.
Preferably, gather the near-infrared image of an apple on three stations of sorting conveyer, carpopodium/calyx region is asked for each Apple image.
(3) beneficial effect
The present invention is directed to carpopodium/calyx is this feature of apple surface sunk area, by structured light projector nearly infrared dot matrix structure light coding pattern projection to apple surface, use the coded image after industrial camera shooting projection, utilize the matching relationship projecting dot matrix hot spot in image before and after apple surface, determine the positional information in carpopodium in Apple image/calyx region.In the middle of actual production, need the position identifying carpopodium/calyx in the process of fruit separation production line on-line operation, therefore higher requirement is proposed to the real-time of detection method.This method, by the analysis to whole Apple image, is converted to the position by identifying carpopodium/calyx to the analysis of discrete topology light hot spots some in image, thus greatly reduces computing time, meet the requirement of actual production high speed on-line checkingi.
Accompanying drawing explanation
Fig. 1 is the geometric relationship schematic diagram of lattice structure photoimaging model;
Fig. 2 is that point is to the variation diagram in imaging coordinate system X-direction and Y-direction;
Fig. 3 is near infrared lattice structure pumped FIR laser pattern diagram;
Fig. 4 is near infrared coding dot matrix project structured light on-line checkingi design sketch after apple surface.
Embodiment
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is described in further detail.Following examples for illustration of the present invention, but are not used for limiting the scope of the invention.
Near infrared coding dot matrix structure light coding primitive choose based on following principle:
For a spherical three-dimensional body of class to be measured, the geometric relationship of the dot matrix imaging on three-dimensional objects that projects, as shown in Figure 1.O w-X wy wz wfor world coordinate system, O c-X cy cz cfor camera coordinates system, O-XY is imaging plane coordinate system.Point P and some C is respectively the object lens center of projection arrangement and camera.For projection optical axis, P r1, P r2and P r3for projection ray, the intersection point of Mei Tiao projection ray and reference planes R determines each projection hot spot position on the reference plane.S 1, S 2and S 3for the intersection point on projection ray and object under test surface, these intersection points determine the locus of each projected spot on class spherical object surface.For imaging optical axis, itself and projection optical axis angle are α.Point R on reference planes R 1, R 2, R 3with the some S on curved surface S 1, S 2, S 3imaging process can be divided into rotational transform, translation transformation and perspective transform three steps.Corresponding rotation matrix is:
(1)
Translation matrix is:
(2)
L in formula cfor O in camera object lens center and world coordinate system wthe distance of point.Finally, perspective transformation matrix is:
(3)
In formula, f is the focal length of camera.Point in space coordinates through above three conversion, imaging in imaging plane coordinate system, its transformation matrix T can be expressed as:
(4)
If the projection homogeneous coordinates of point under world coordinate system are on the reference plane (x 0, y 0, z 0, 1), the coordinate after conversion in imaging plane coordinate system is:
(5)
Wherein z i0can be left in the basket, and z value corresponding to reference planes R is 0, then x i0and y i0be respectively:
(6)
If the homogeneous coordinates of the point be projected on three-dimensional object surface under world coordinate system are (X s, Y s, Z s, 1), the coordinate after conversion in imaging plane coordinate system is:
(7)
Because the point be projected on three-dimensional object surface must in projection ray, then have following formula to set up:
(8)
L in formula pfor O in the object lens center of structured light projecting device and world coordinate system wthe distance of point.According to formula 7,8 coordinates can deriving the some x direction in imaging plane coordinate system in dot matrix:
(9)
And the coordinate in some y direction in imaging plane coordinate system in dot matrix:
(10)
By project structured light device, dot matrix is incident upon reference planes and three-dimensional object surface respectively, two dot matrix images are obtained again by industrial camera, in coding dot matrix same point respectively on body surface and reference planes imaging to constitute a point right, can obtain respectively according to formula 6,9 and 10 to the change in location on imaging plane coordinate system x direction and on y direction be a little:
(11)
For determining the change in location rule of structured light hot spot on class spherical object surface, suppose to have structured light hot spot to be uniformly distributed in horizontal linear l in reference planes R 1on, its cathetus l 1equation be y w=1, by l 1upper hot spot project body surface front and back position change analysis, to determine that hot spot is at Y wchanging Pattern on direction; In like manner, structured light hot spot is supposed to have to be uniformly distributed in vertical line l in reference planes R 2on, its cathetus l 2equation be x w=-1, by l 2upper hot spot project body surface front and back position change analysis, to determine that hot spot is at X wchanging Pattern on direction.Measuring system shown in Fig. 1 in actual applications, due to only need to depression carpopodium/calyx region do qualitative analysis, and without the need to depression the concrete degree of depth do quantitative test, so without the need to demarcating this measuring system.But for the ultimate principle of coding is described, determine this three-dimension measuring system correlation parameter by relevant scaling method, and according to formula 11 calculated line l 1upper hot spot projects before and after body surface, the change in location in imaging coordinate system Y-direction, and its result is as shown in Fig. 2 (a), and as can be seen from Fig. 2 (a), hot spot relative position change is in the Y direction less.In like manner, according to formula 11 calculated line l 2upper hot spot projects before and after body surface, the change in location in imaging coordinate system X-direction, and its result is as shown in Fig. 2 (b), and as can be seen from Fig. 2 (b), hot spot changes greatly at the relative position of X-direction.In actual applications, two adjacent hot spots in the X direction, their change in location are in the Y direction 1 pixel to the maximum, and in carpopodium/calyx place Y-direction two adjacent hot spots, their change in location in the X direction can reach 10 pixels, therefore the difference of this change in location can be utilized to encode, thus overcome and color and graphical symbol cannot be utilized to carry out the shortcoming of encoding in infrared hybrid optical system.
According to above analysis, consider that in the Y-direction that change is less, utilize relative position a little to change encodes.0 and 1 two primitive that coding needs can represent relative to the change in location of imaginary vertical straight line with point.Hot spot is positioned on the right side of imaginary vertical line and represents primitive 0, and hot spot is positioned on the left of imaginary vertical line and represents primitive 1.
Provide the generation method of near infrared coding dot matrix below.Q unit m level M sequence is one-period is n=q mthe cyclic sequence of-1, each element in sequence takes from q primitive, and primitive can be different color, numeral and symbol.Work as q=2, primitive polynomial corresponding to 2 yuan of 8 grades of M sequence during m=8 is:
(12)
8 rank linear feedback shift register feedback paths corresponding to this primitive polynomial can be expressed as:
(13)
Set the initial value a of any one non-full zero 0, a 1, a 2, a 3, a 4, a 5, a 6, a 7, according to the operation rule of mould 2 (q=2), a M sequence can be determined uniquely.M array can by the two-dimensional pseudo-random matrix representation of, and the M sequence a that this array can be made up of a q power primitive containing a prime number primitive or prime number 0, a 1, a 2..., a n-1according to certain generate rule, and meet formula 14:
(14)
By formula 14, if make q=2, the M sequence a generated 0, a 1, a 2, a 3..., a n-1cycle be n=2 m-1=-1, wherein k 1, k 2be called the window parameter of M array, the size of M array is, wherein, and n 1with n 2coprime.
Using the primitive symbol of the skew of hot spot relative virtual vertical line as M array, make the window parameter k of M array 1=4, k 2=2, generate 2 yuan of 8 grades of M arrays according to above-mentioned generating algorithm, as shown in Figure 3, this figure is near infrared lattice structure pumped FIR laser pattern diagram.In actual applications, image background color is black, and white circular dish cart shows near infrared hot spot, owing to adopting monochromatic light projection mode, therefore not easily by the impact that illumination and apple surface color change, improves the robustness of decode procedure.For a known M array, selected wherein any one subarray window, according to the uniqueness that window has, this position of subarray window in M array can be determined, thus realize being incident upon the structure light image of body surface and mating of projection coded image on the reference plane.In figure 3, any 4 × 2 subwindows have unique code value in encoding array.
Fig. 4 is the design sketch utilizing the near infrared coding dot matrix structured light on-line checkingi apple stem/calyx be incident upon on apple surface.The position of this subwindow in encoding array can be determined by choosing arbitrary continuation 4 × 2 subwindow, and then determine other near infrared hot spot positions in encoding array of apple surface, utilize hot spot to realize the on-line checkingi of sunk area in Apple image at the Changing Pattern of apple surface.
According to above-mentioned principle, the detection method of the present invention's example comprises the following steps:
Step S1: 15 virtual parallel and horizontal linears that spacing is equal and 17 virtual parallel and vertical line that spacing is equal are set, the intersection point of corresponding every bar vertical line and horizontal linear generates a hot spot, this hot spot to be positioned on this horizontal linear and to be positioned at the left side or the right side that become this vertical line of fixed range with corresponding intersection point, when this hot spot is positioned at left side, the value of this hot spot is the first basic coding primitive 0, when this hot spot is positioned at right side, the value of this hot spot is the second basic coding primitive 1, thus generate the near infrared coding dot matrix structured light of 15 × 17, and for comprising arbitrarily the subwindow of 4 row and 2 row hot spots, the code value that subwindow is corresponding is different, the code value of subwindow is such as according to formula: calculate, wherein a ithe value of (in window from left to right after sequence from top to bottom) the individual hot spot that is i-th, is the first basic coding primitive 0 or is the second basic coding primitive 1.Near infrared coding dot matrix structured light is launched by near-infrared laser dot matrix instrument or near-infrared LED lattice structure light projecting apparatus.
S2, after infrared coding lattice structure light projects reference planes and apple surface respectively, collects reference picture and Apple image nearly respectively, asks for the position of near infrared coding dot matrix structured light each hot spot on each image.The position of hot spot is chosen to be the coordinate of the maximum point of gray-scale value in this hot spot, if have the maximum of points that multiple gray-scale value is identical in this hot spot, then according to from top to bottom, order from left to right asks for the position of coordinate as hot spot of the maximum point of first gray-scale value, with the geometric center position of generally asking for hot spot as hot spot position compared with, computing velocity is very fast, consuming time few, real-time, and the accuracy rate of identification can be ensured.Reference planes are chosen as the upper surface of apple sorting conveyer.
S3, select the subwindow of on Apple image one 4 × 2, calculate the code value of this subwindow, in the near infrared coding dot matrix of 15 × 17, search has the subwindow of identical code value again, thus determine the position of apple surface near infrared hot spot near infrared coding dot matrix, namely set up the corresponding relation of each hot spot of apple surface and each hot spot of reference planes.Not at the subwindow in the darker region of color on general selection Apple image.The value of each hot spot in subwindow is so determined: the hot spot that horizontal ordinate difference is less than the first setting threshold value forms a row hot spot, average horizontal ordinate difference is less than to the adjacent two row hot spots of Second Threshold, in left column, the value of hot spot is the first basic coding primitive 0, and in right row, the value of hot spot is the second basic coding primitive 1.As will be understood by those of ordinary skill in the art, first threshold and Second Threshold set according to actual conditions.
S4, calculate the ordinate difference of the position of each hot spot hot spot corresponding to reference picture of Apple image, if the second order difference that left and right all exists the ordinate difference of certain hot spot (namely thinking the hot spot of apple central area) of other hot spots is less than 0, then the relevant position of this hot spot is labeled as carpopodium/calyx region, if the difference that left and right has side to there is not the ordinate difference of certain hot spot (namely thinking the hot spot of the apple fringe region) adjacent spots horizontal with it of other hot spots is greater than the 3rd threshold value, then relevant position is labeled as carpopodium/calyx region.As will be understood by those of ordinary skill in the art, the 3rd threshold value sets according to actual conditions.
Usually, Apple image and reference picture in same position collection, thus make detection speed fast by camera.Gather the near-infrared image of an apple on three stations of sorting conveyer, carpopodium/calyx region is asked for each Apple image, thus can obtain the carpopodium/calyx region on apple diverse location surface.
In order to test the validity of this method further, we test on the detection system to 600 Fuji apples, and the detection accuracy of put forward the methods of the present invention, up to 93.17%, reaches world lead level.
Above embodiment is only for illustration of the present invention; and be not limitation of the present invention; the those of ordinary skill of relevant technical field; without departing from the spirit and scope of the present invention; can also make a variety of changes and modification; therefore all equivalent technical schemes also belong to category of the present invention, and scope of patent protection of the present invention should be defined by the claims.

Claims (10)

1., based on apple stem/calyx detection method of near infrared coding dot matrix structured light, comprising:
S1, virtual parallel of n1 bar is set and virtual parallel of the horizontal linear that spacing is equal and n2 bar and the vertical line that spacing is equal, the intersection point of corresponding every bar vertical line and horizontal linear generates a hot spot, this hot spot to be positioned on this horizontal linear and to be positioned at the left side or the right side that become this vertical line of fixed range with corresponding intersection point, when this hot spot is positioned at left side, the value of this hot spot is the first basic coding primitive, when this hot spot is positioned at right side, the value of this hot spot is the second basic coding primitive, thus generates n 1× n 2near infrared coding dot matrix structured light, and for comprising k arbitrarily 1row and k 2the subwindow of row hot spot, the code value that subwindow is corresponding is different, wherein n 1, n 2, k 1, k 2be positive integer;
S2, after infrared coding lattice structure light projects reference planes and apple surface respectively, collects reference picture and Apple image nearly respectively, asks for the position of near infrared coding dot matrix structured light each hot spot on each image;
S3, of choosing on Apple image comprises k 1row and k 2the subwindow of row hot spot, calculates the code value of this subwindow, then at n 1× n 2near infrared coding dot matrix in search there is the subwindow of identical code value, thus determine the position of apple surface near infrared hot spot near infrared coding dot matrix, and then set up the corresponding relation of each hot spot of Apple image and each hot spot of reference picture;
S4, calculate the ordinate difference of the position of each hot spot hot spot corresponding to reference picture of Apple image, if the second order difference that all there is the described ordinate difference of certain hot spot of other hot spots about on Apple image is less than 0, then the relevant position of this hot spot is labeled as carpopodium/calyx region, if the difference that left and right has side to there is not the described ordinate difference of certain hot spot adjacent spots horizontal with it of other hot spots is greater than the 3rd threshold value, then relevant position is labeled as carpopodium/calyx region.
2. the method for claim 1, it is characterized in that, described basic coding unit, if near infrared structured light hot spot is positioned on the left of corresponding imaginary vertical straight line, then the first basic coding primitive is expressed as 1, if near infrared structured light hot spot is positioned on the right side of corresponding imaginary vertical straight line, then the second basic coding primitive is expressed as 0; Or be: if near infrared structured light hot spot is positioned on the left of corresponding imaginary vertical straight line, then the first basic coding primitive is 0, if near infrared structured light hot spot is positioned on the right side of corresponding imaginary vertical straight line, then the second basic coding primitive is 1.
3. the method for claim 1, the position of described hot spot, for the coordinate of the maximum point of gray-scale value in this hot spot, if have the maximum of points that multiple gray-scale value is identical in this hot spot, then according to from top to bottom, order from left to right asks for the position of coordinate as hot spot of the maximum point of first gray-scale value.
4. the method for claim 1, it is characterized in that, in step s3, the value of each hot spot in the subwindow of described Apple image is so determined: the hot spot that horizontal ordinate difference is less than the first setting threshold value forms a row hot spot, average horizontal ordinate difference is less than to the adjacent two row hot spots of Second Threshold, in left column, the value of hot spot is the first basic coding primitive, and in right row, the value of hot spot is the second basic coding primitive.
5. the method for claim 1, is characterized in that, n 1=15, n 2=17.
6. method as claimed in claim 5, is characterized in that, k 1=4, k 2=2.
7. the method for claim 1, is characterized in that, described near infrared coding dot matrix structured light is launched by near-infrared laser dot matrix instrument or near-infrared LED lattice structure light projecting apparatus.
8. the method for claim 1, is characterized in that, described reference planes are the upper surface of apple sorting conveyer.
9. the method for claim 1, is characterized in that, described Apple image and reference picture by camera in same position collection.
10. the method for claim 1, is characterized in that, gathers the near-infrared image of an apple on three stations of sorting conveyer, asks for carpopodium/calyx region to each Apple image.
CN201410657782.6A 2014-11-18 2014-11-18 Apple stem/calyx detection method based on near-infrared encoding lattice structure light Pending CN104463850A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410657782.6A CN104463850A (en) 2014-11-18 2014-11-18 Apple stem/calyx detection method based on near-infrared encoding lattice structure light
CN201510580510.5A CN105158275B (en) 2014-11-18 2015-09-11 Apple stem/calyx detection method based on near-infrared coding dot matrix structure light

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410657782.6A CN104463850A (en) 2014-11-18 2014-11-18 Apple stem/calyx detection method based on near-infrared encoding lattice structure light

Publications (1)

Publication Number Publication Date
CN104463850A true CN104463850A (en) 2015-03-25

Family

ID=52909832

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201410657782.6A Pending CN104463850A (en) 2014-11-18 2014-11-18 Apple stem/calyx detection method based on near-infrared encoding lattice structure light
CN201510580510.5A Active CN105158275B (en) 2014-11-18 2015-09-11 Apple stem/calyx detection method based on near-infrared coding dot matrix structure light

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201510580510.5A Active CN105158275B (en) 2014-11-18 2015-09-11 Apple stem/calyx detection method based on near-infrared coding dot matrix structure light

Country Status (1)

Country Link
CN (2) CN104463850A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109344940A (en) * 2018-08-21 2019-02-15 同济大学 Three-dimensional lattice projecting figure decoding method for commodity outer packing
CN110495624A (en) * 2019-08-29 2019-11-26 贵州大学 A kind of fruit based on image recognition removes speed governor
CN115063341B (en) * 2022-04-02 2024-04-26 安徽农业大学 Apple stem and calyx detection method based on phase shift stripes

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109522911A (en) * 2018-09-29 2019-03-26 北京信息科技大学 A kind of coding method of image shape
IT201800010371A1 (en) * 2018-11-15 2020-05-15 E P F Elettrotecnica S R L SYSTEM FOR DETERMINING THE ORIENTATION OF FRUIT AND VEGETABLE PRODUCTS AND A SYSTEM FOR HANDLING FRUIT AND VEGETABLE PRODUCTS INCLUDING THE SAME
CN112488998B (en) * 2020-11-19 2022-10-14 安徽农业大学 Apple stem and calyx detection method based on stripe projection

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5356650B2 (en) * 2004-01-15 2013-12-04 テクニオン リサーチ アンド ディベロップメント ファウンデーション リミテッド 3D video scanner
GB2410794A (en) * 2004-02-05 2005-08-10 Univ Sheffield Hallam Apparatus and methods for three dimensional scanning
CN100449258C (en) * 2006-04-27 2009-01-07 浙江工业大学 Real time three-dimensional vision system based on two-dimension colorama encoding
CN102854192B (en) * 2012-08-22 2014-11-19 北京农业智能装备技术研究中心 Method for detecting apple surface defect based on apple surface defect detecting system
CN103047943B (en) * 2012-12-31 2016-04-06 吉林大学 Based on the door skin geomery detection method of single projection coded structured light

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109344940A (en) * 2018-08-21 2019-02-15 同济大学 Three-dimensional lattice projecting figure decoding method for commodity outer packing
CN109344940B (en) * 2018-08-21 2021-04-30 同济大学 Three-dimensional lattice projection graph coding and decoding method for commodity outer package
CN110495624A (en) * 2019-08-29 2019-11-26 贵州大学 A kind of fruit based on image recognition removes speed governor
CN115063341B (en) * 2022-04-02 2024-04-26 安徽农业大学 Apple stem and calyx detection method based on phase shift stripes

Also Published As

Publication number Publication date
CN105158275A (en) 2015-12-16
CN105158275B (en) 2018-03-09

Similar Documents

Publication Publication Date Title
Ichnowski et al. Dex-nerf: Using a neural radiance field to grasp transparent objects
CN105158275B (en) Apple stem/calyx detection method based on near-infrared coding dot matrix structure light
CN107945268B (en) A kind of high-precision three-dimensional method for reconstructing and system based on binary area-structure light
Pages et al. Overview of coded light projection techniques for automatic 3D profiling
EP1649423B1 (en) Method and sytem for the three-dimensional surface reconstruction of an object
Song et al. An accurate and robust strip-edge-based structured light means for shiny surface micromeasurement in 3-D
KR101974651B1 (en) Measuring method of 3d image depth and a system for measuring 3d image depth using boundary inheritance based hierarchical orthogonal coding
Fechteler et al. Adaptive colour classification for structured light systems
Xu et al. Line structured light calibration method and centerline extraction: A review
CN101482398B (en) Fast three-dimensional appearance measuring method and device
CN110686599A (en) Three-dimensional measurement method, system and device based on colored Gray code structured light
CN107064170A (en) One kind detection phone housing profile tolerance defect method
CN101245994A (en) Calibration method for object surface three-dimensional contour structure light measurement system
CN109840900A (en) A kind of line detection system for failure and detection method applied to intelligence manufacture workshop
Feng et al. Motion-oriented high speed 3-D measurements by binocular fringe projection using binary aperiodic patterns
CN106052792A (en) Method and device for detecting liquid level of PET bottle based on machine vision
CN105957116B (en) A kind of design and coding/decoding method of the dynamic coding point based on frequency
CN110044927B (en) Method for detecting surface defects of curved glass by space coding light field
CN115953550A (en) Point cloud outlier rejection system and method for line structured light scanning
CN113345039B (en) Three-dimensional reconstruction quantization structure optical phase image coding method
CN109886936B (en) Low-contrast defect detection method and device
CN103884294A (en) Wide view field type infrared light three-dimensional morphology measurement method and device thereof
RU2573767C1 (en) Three-dimensional scene scanning device with non-lambert lighting effects
Jia et al. One-shot m-array pattern based on coded structured light for three-dimensional object reconstruction
Adán et al. Disordered patterns projection for 3D motion recovering

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150325