[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN101034440A - Identification method for spherical fruit and vegetables - Google Patents

Identification method for spherical fruit and vegetables Download PDF

Info

Publication number
CN101034440A
CN101034440A CN 200710066695 CN200710066695A CN101034440A CN 101034440 A CN101034440 A CN 101034440A CN 200710066695 CN200710066695 CN 200710066695 CN 200710066695 A CN200710066695 A CN 200710066695A CN 101034440 A CN101034440 A CN 101034440A
Authority
CN
China
Prior art keywords
fruit
leaf
gray level
discriminant
fritter
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.)
Granted
Application number
CN 200710066695
Other languages
Chinese (zh)
Other versions
CN100463001C (en
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.)
Zhejiang University of Technology ZJUT
Original Assignee
Zhejiang University of Technology ZJUT
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 Zhejiang University of Technology ZJUT filed Critical Zhejiang University of Technology ZJUT
Priority to CNB2007100666953A priority Critical patent/CN100463001C/en
Publication of CN101034440A publication Critical patent/CN101034440A/en
Application granted granted Critical
Publication of CN100463001C publication Critical patent/CN100463001C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

The invention is a recognition method of spherical fruit and vegetable category, transforming image obtained to the 2 r-g-b color model and LCD color model, according to classifier principle, discriminant F1, F2, F3, F4 were constructed separately under the two coordinate system, getting separate beeline omitted from the leaves and branches, the input image is divided into a small piece of the same size; orderly select two small plots B1 and B2, calculating the four direction of the gray co-occurrence matrix and two eigenvalues: entropy ENT and energy ASM, and the mean ENT and ASM; two adjacent plots of B1 and B2, such as discriminants F1, F2 , F3 and F4 is greater than zero, or the difference between ENT and ASM of B1 and B2 is less than the threshold T set, retaining B1, recognized as fruit; if the texture margin is greater than the threshold T and discriminants F1, F2, F3 and F4 is less than zero, discarding the entire plot B1; orderly take the next another plot as B2, repeating the steps until all plots have been disposed of. The invention can effectively recognize spherical fruits and vegetables, is simple to calculate with identify of high accuracy.

Description

The recognition methods of one kind spheral fruit
(1) technical field
The present invention relates to the recognition methods of a kind spheral fruit.
(2) background technology
Gathering of fruit and vegetables is a labor-intensive job.What fruits and vegetables were gathered is seasonal strong, and working environment is arduous, and labour intensity is big.The basic manpower that relies on of gathering of present stage, the efficiency ratio of gathering is lower, and human cost has accounted for sizable ratio in whole fruits and vegetables production cost.Therefore, realize that the robotization that fruits and vegetables are gathered has actual application value.
So far, domestic also do not have a fruit and vegetable picking robot that really puts into production use, and one of the main reasons is that the vision system technical barrier solves as yet fully.Usually, the working method of picking robot vision system: at first obtain the digitized image of fruits and vegetables, and then discern and determine the position of fruits and vegetables in the image by the associated picture Processing Algorithm.Sensor is the most important parts of Vision Builder for Automated Inspection, mainly comprises imageing sensor and range sensor etc.Imageing sensor can be CCD black and white camera, colour TV camera or stereo camera, generally is installed on mechanical arm or the end effector.Range sensor has laser ranging, ultrasonic, wireless and infrared sensor etc.
More early stage fruit and vegetable picking robot vision system is based on two-dimentional system mostly, and when the color contrast of leaf and fruits and vegetables was obvious, this two-dimentional system can successfully detect fruits and vegetables from leaf; Yet,, be difficult to discern if when having overlapping or its color of a plurality of fruits and vegetables to be similar to background colour.At this moment, generally be to detect fruits and vegetables according to the different spectral reflection characteristic of fruit and vegetable surfaces, after detecting fruits and vegetables, utilize three-dimensional visual sensor again fruits and vegetables accurately to be discerned, this is the most frequently used spectral reflectivity method, but under the natural lighting situation, owing to there are various interfere informations such as noise in the image, this method is often unsatisfactory.There is the researchist to utilize the shape of fruits and vegetables to discern and locate fruit, adopts the shape localization mode, generally require target to have complete boundary condition,, just be difficult to accomplish if object is blocked.The someone proposes a kind of new method of the Hough of being called conversion again, and its feature is not need whole profile information, locate the center of fruits and vegetables according to the curvature information of target fruits and vegetables shape, but this method is very consuming time.In a word, because the high complexity of environment, present picking robot vision system is under rule environment, and is relatively good as effect under the known illumination background, but at natural environmental condition, next as natural lighting is not very successful.So summary is got up, the method for current identification fruits and vegetables target, the main conversion of still passing through the color space model utilizes the color characteristic parameter to extract the fruits and vegetables target, and the identification problem that can solve is very limited.
(3) summary of the invention
In order to overcome the recognition methods of existing class spheral fruit effectively recognition category spheral fruit, calculation of complex, deficiency that accuracy of identification is low, the recognition methods of the invention provides a kind of effectively recognition category spheral fruit, calculating the kind spheral fruit simple, that accuracy of identification is high.
The technical solution adopted for the present invention to solve the technical problems is:
The recognition methods of one kind spheral fruit, this method may further comprise the steps:
(1), obtains fruits and vegetables image under the natural scene;
(2), the image that obtains is transformed to 2r-g-b color model and LCD color model simultaneously, the 2r-g-b color model is set up the 2r-g two-dimensional coordinate system, the LCD color model is set up the Y-Cr two-dimensional coordinate system;
(3), according to the sorter principle, to Y-C rCharacteristic attribute Y under the two-dimensional coordinate system, C rConstruct discriminant F respectively 1, F 2, set characteristic attribute value Y and C rThe average vector m of fruit target Fruit, leaf average vector m Leaf, limb average vector m Branch, its formula is: (1), (2):
F 1=[Y,C r] T(m fruit-m leaf)-1/2[(m fruit Tm fruit)-(m leaf Tm leaf)] (1)
F 2=[Y,C r] T(m fruit-m branch)-1/2[(m fruit Tm fruit)-(m branch Tm lbranch)] (2)
Characteristic attribute 2r and g to the 2r-g two-dimensional coordinate system construct discriminant F respectively 3, F 4, the average vector m ' f of the fruit target of setting characteristic attribute value 2r and g Ruit, leaf average vector m ' Leaf, limb average vector m ' Branch, its formula is: (3), (4):
F 3=[2r,g] T(m′ fruit-m′ leaf)-1/2[(m′ fruit Tm′ fruit)-(m′ leaf Tm′ leaf)] (3)
F 4=[2r,g] T(m′ fruit-m′ branch)-1/2[(m′ fruit Tm′ fruit)-(m′ branch Tm′ lbranchz)] (4)
Obtain saving the straight line that separates of leaf and limb according to discriminant, and input picture is divided into equal-sized fritter, every block size is L * L, and L is an odd number;
(4), two fritter B of select progressively 1And B 2, calculate the gray level co-occurrence matrixes of its 4 directions respectively, an area size of establishing image is N c* N rPixel, and to establish gray level be G=0,1 ..., N q-1, co-occurrence matrix P (d, q)Be that a size is N q* N qSquare formation, comprise that all spacings are d, direction is q, and gray level is the frequency of pixel to occurring of a and b, P (d, q)In element representation be P (a, b|d, q), optional two pixels in the zone (k, l) with (m, n), k wherein, m=1,2 ..., N cN=1,2 ..., N r
Calculate two eigenwerts with each gray level co-occurrence matrixes: entropy ENT and energy ASM, its formula are respectively (5), (6):
ENT = - Σ i = 0 N q - 1 Σ j = 0 N q - 1 P ( a , b ) log P ( a , b ) - - - ( 5 )
ASM = Σ i = 0 N q - 1 Σ j = 0 N q - 1 ( P ( a , b ) ) 2 - - - ( 6 )
Wherein, a, b is the gray level of remarked pixel respectively, p (a, b) expression gray level co-occurrence matrixes; And the eigenwert of calculating the gray level co-occurrence matrixes of average 4 directions obtains mean eigenvalue ENT and ASM;
(5), for two adjacent fritter B 1And B 2, as discriminant F 1, F 2, F 3And F 4Greater than 0 or B 1And B 2ENT and the difference of ASM less than preset threshold T, then keep B 1, this fritter is confirmed as fruit; As the texture difference greater than threshold value T and discriminant F 1, F 2, F 3And F 4Less than 0, then abandon whole fritter B 1And with B 2Middle correlation parameter is composed to B 1, then with B 2Parameter be changed to sky, the order get another fritter as B backward 2, repeating said steps disposes up to all fritters.
As preferred a kind of scheme: in described (5), for last fritter, if discriminant F 1, F 2, F 3And F 4Greater than 0, can be defaulted as fruit and directly keep, otherwise think background, directly abandon.
Technical conceive of the present invention is: because fruit has cluster at color space, this programme is used for reference mean distance sorter principle the fruits and vegetables image under the natural scene is carried out Classification and Identification.
The mean distance sorter is sorted out view data by analyzing different fruits and vegetables image digitization features.Sorting algorithm comprises training stage and test phase.In the training stage, distinguish the characteristic attribute of specific image, based on these attributes, produce the unique method of describing certain kinds, promptly produce training set, structure discriminant.Generally according to characteristic attribute m and n, utilize minimum distance classifier or mean distance sorter or other sorters can produce discriminant: F (m, n)=am+bn+c.A, b, c is an arbitrary constant, (m n)=0 gets final product as long as satisfy F.At test phase, utilize these feature spaces, i.e. these discriminants, each discriminant can be divided into image two parts, reaches the purpose of recognition image.
, construct 3 discriminants respectively for each color space and realize separating: F at each color space design category device at fruit target, leaf and limb (fruit/leaf), be abbreviated as F 1, be used for separating fruit and leaf; F (fruit/branch), be abbreviated as F 2, be used for separating fruit and limb; F (leaf/branch), be abbreviated as F 3, be used for separating leaf and limb.Because leaf and limb are considered background, so only need structure F 1And F 2Two discriminants.
Merge the characteristics of 2r-g-b color model and LCD (luminance and color difference) color model, obtain a kind of new color model LNM (LCD color model combinedwith Normalized-RGB color model).This model has been avoided the susceptibility of LCD color model to light, has avoided the 2r-g-b color model can't discern the drawback of the weak fruit of red color component value simultaneously, and the corresponding relation of LNM and RGB color model is shown below:
Y = 0.299 R + 0.587 G + 0.114 B C r = R - Y 2 r = 2 R / ( R + G + B ) g = G / ( R + G + B )
Because merged two kinds of color spaces, in the process that realizes identification, we make up 4 discriminants altogether.
Simultaneously, adopt gray level co-occurrence matrixes to extract image texture characteristic.At first provide the notion of co-occurrence matrix: an area size of establishing image is N c* N rPixel, and to establish gray level be G=0,1 ..., N q-1.Co-occurrence matrix P so (d, q)Be that a size is N q* N qSquare formation, comprised that all spacings are d, direction is q, and gray level is the frequency of pixel to occurring of a and b.P (d, q)In element can be expressed as P (a, b|d, q)Optional two pixels in the zone (k, l) with (m, n), k wherein, m=1,2 ..., N cN=1,2 ..., N rThen:
P(a,b|d,q)=∑[(k,l),(m,n)]
Wherein, if
|k-m|=q,|l-n|=d,g(k,l)=a,g(m,n)=b
Set up, so
[(k,l),(m,n)]=1
Otherwise
[(k,l),(m,n)]=0
Wherein (k, (k l) locates the gray level of pixel to function g in l) representative.In addition, direction q can value be 0 °, 45 °, 90 °, 135 °.So for one given apart from d, can corresponding four gray level co-occurrence matrixes:
p(a,b|d,0°)=∑[(k,l),(m,n)],k-m=0,|l-n|=d,(k,l)=a,(m,n)=b
p(a,b|d,45°)=∑[(k,l),(m,n)],k-m=d,l-n=-d,(k,l)=a,(m,n)=b
Or k-m=-d, l-n=d, (k, l)=a, (m, n)=b
p(a,b|d,90°)=∑[(k,l),(m,n)],|k-m|=d,l-n=0,(k,l)=a,(m,n)=b
p(a,b|d,135°)=∑[(k,l),(m,n)],k-m=d,l-n=d,(k,l)=a,(m,n)=b
Or k-m=-d, l-n=d, (k, l)=a, (m, n)=b
Sample the respectively fruit and the leaf of multiple fruits and vegetables adopt gray level co-occurrence matrixes to extract characteristics of image, obtain distinguishing the textural characteristics value entropy and the energy of fruit and leaf, and its expression formula is respectively (5), (6):
ENT = - Σ i = 0 N q - 1 Σ j = 0 N q - 1 P ( a , b ) log P ( a , b ) - - - ( 5 )
ASM = Σ i = 0 N q - 1 Σ j = 0 N q - 1 ( P ( a , b ) ) 2 - - - ( 6 )
Wherein, a, b is the gray level of remarked pixel respectively, p (a, b) expression gray level co-occurrence matrixes.
Utilize region-growing method to solve the shortcoming of utilizing the solid color parameter less divided to occur preferably then based on sub-piece.
Beneficial effect of the present invention mainly shows: effectively the recognition category spheral fruit, calculate simple, accuracy of identification is high.
(4) description of drawings
Fig. 1 is schematic flow sheet of the present invention;
Fig. 2 is the sorter synoptic diagram;
Fig. 3 is a 2r-g-b sorter synoptic diagram;
Fig. 4 is a LCD sorter synoptic diagram;
Fig. 5 is the property distribution figure of fruit and background;
Fig. 6 is cut apart rectilinear according to what discriminant drew.
(5) embodiment
Below in conjunction with accompanying drawing the present invention is further described.
With reference to Fig. 1~Fig. 6, the recognition methods of a kind spheral fruit, this method may further comprise the steps: (1), obtain the fruits and vegetables image under the natural scene; (2), the image that obtains is transformed to 2r-g-b color model and LCD color model simultaneously, the 2r-g-b color model is set up the 2r-g two-dimensional coordinate system, the LCD color model is set up Y-C rTwo-dimensional coordinate system; (3), according to the sorter principle, to Y-C rCharacteristic attribute Y under the two-dimensional coordinate system, C rConstruct discriminant F respectively 1, F 2, set characteristic attribute value Y and C rThe average vector m of fruit target Fruit, leaf average vector m Leaf, limb average vector m Branch, its formula is: (1), (2):
F 1=[Y,C r] T(m fruit-m leaf)-1/2[(m fruit Tm fruit)-(m leaf Tm leaf)] (1)
F 2=[Y,C r] T(m fruit-m branch)-1/2[(m fruit Tm fruit)-(m branch Tm lbranch)] (2)
Characteristic attribute 2r and g to the 2r-g two-dimensional coordinate system construct discriminant F respectively 3, F 4, the average vector m ' of the fruit target of setting characteristic attribute value 2r and g Fruit, leaf average vector m ' Leaf, limb average vector m ' Branch, its formula is: (3), (4):
F 3=[2r,g] T(m′ fruit-m′ leaf)-1/2[(m′ fruit Tm′f ruit)-(m′ leaf Tm′ leaf)] (3)
F 4=[2r,g]T(m′ fruit-m′ branch)-1/2[(m′ fruit Tm′ fruit)-(m′ branch Tm′ lbranch)] (4)
Obtain saving the straight line that separates of leaf and limb according to discriminant, and input picture is divided into equal-sized fritter, every block size is L * L, and L is an odd number;
(4), two fritter B of select progressively 1And B 2, calculate the gray level co-occurrence matrixes of its 4 directions respectively, an area size of establishing image is N c* N rPixel, and to establish gray level be G=0,1 ..., N q-1, co-occurrence matrix P (d, q)Be that a size is N q* N qSquare formation, comprise that all spacings are d, direction is q, and gray level is the frequency of pixel to occurring of a and b, P (d, q)In element representation be P (a, b|d, q), optional two pixels in the zone (k, l) with (m, n), k wherein, m=1,2 ..., N cN=1,2 ..., N r
Calculate two eigenwerts with each gray level co-occurrence matrixes: entropy ENT and energy ASM, its formula are respectively (5), (6):
ENT = - Σ i = 0 N q - 1 Σ j = 0 N q - 1 P ( a , b ) log P ( a , b ) - - - ( 5 )
ASM = Σ i = 0 N q - 1 Σ j = 0 N q - 1 ( P ( a , b ) ) 2 - - - ( 6 )
Wherein, a, b is the gray level of remarked pixel respectively, p (a, b) expression gray level co-occurrence matrixes; And the eigenwert of calculating the gray level co-occurrence matrixes of average 4 directions obtains mean eigenvalue ENT and ASM;
(5), for two adjacent fritter B 1And B 2, as discriminant F 1, F 2, F 3And F 4Greater than 0 or B 1And B 2ENT and the difference of ASM less than preset threshold T, then keep B 1, this fritter is confirmed as fruit; As the texture difference greater than threshold value T and discriminant F 1, F 2, F 3And F 4Less than 0, then abandon whole fritter B 1And with B 2Middle correlation parameter is composed to B 1, then with B 2Parameter be changed to sky, the order get another fritter as B backward 2, repeating said steps disposes up to all fritters.
In described (5), for last fritter, if discriminant F 1, F 2, F 3And F 4Greater than 0, can be defaulted as fruit and directly keep, otherwise think background, directly abandon.
Concrete steps in the present embodiment are:
(1), obtains fruits and vegetables image under the natural scene by digital camera or camera.
(2), the image that obtains is transformed to 2r-g-b color model and LCD color model simultaneously.
(3), according to the sorter principle, to the characteristic attribute 2r under the 2r-g two-dimensional coordinate system of 2r-g-b model, the Y-C of g and LCD rCharacteristic attribute Y under the two-dimensional coordinate system, C rConstruct discriminant respectively, produce 4 discriminant F 1, F 2, F 3, F 4Simultaneously, input picture is divided into equal-sized fritter, every block size is L * L, and L is an odd number.
Illustrate:
Suppose each the training class represent by an average vector:
m j = 1 / N j Σ x ∈ w j x for j=1,2,…,M
Here N iBe class W jThe quantity of training mode vector.Suppose to have based on characteristic attribute value Y and C rFruit target, leaf and limb, suppose characteristic attribute is described in the two-dimensional feature space, as shown in Figure 5.And can obtain mean value is: m Fruit=[94.14,114.26] T, m Leaf=[77.02,218.45] T, m Branch=[52.88,33.67] T, as representing with # among Fig. 5.
Based on this point, can be by judging near m jPrototype, distribute given arbitrarily pattern x to give class.As adopt Euclidean distance as measuring similarity distance, the prototype distance is:
F j(x)=‖x-m j‖ for j=1,2,…,M
This is equivalent to:
F j(x)=x Tm j-1/2(m j Tm j) for j=1,2,…,M
In this example, the mean value of each fruit that obtains of simple hypothesis is [a, b], and the mean value of leaf is [c, d], and the mean value of branch is [e, f].Can obtain so
F fruit = aY + bCr - 1 / 2 ( a 2 + b 2 ) F leaf = cY + dCr - 1 / 2 ( c 2 + d 2 ) F branch = eY + fCr - 1 / 2 ( e 2 + f 2 )
According to this method, can calculate following decision function:
F fruit = 94.14 Y + 114.26 Cr - 10958.84 F leaf = 77.02 Y + 218.45 Cr - 26826.24 F branch = 52.88 Y + 33.67 Cr - 1964.98
At last, according to these decision functions, can separate class w iAnd w jDiscriminant satisfy:
F i(x)-F j(x)=0
That is:
F fruit / leaf = ( a - c ) Y + ( b - d ) Cr + 1 / 2 ( a 2 + b 2 - c 2 - d 2 ) = 0 F fruit / branch = ( a - e ) Y + ( b - f ) Cr + 1 / 2 ( a 2 + b 2 - e 2 - f 2 ) = 0 F leaf / branch = ( c - e ) Y + ( d - f ) Cr + 1 / 2 ( c 2 + d 2 - e 2 - f 2 ) = 0
In this example, obtain discriminant F 1, F 2, F 3As follows:
F fruit / leaf = 17.12 Y - 104.19 Cr + 15867.4 = 0 F fruit / branch = 41.26 Y + 80.59 Cr + 8993.86 = 0 F leaf / branch = 24.14 Y + 184.78 Cr + 24861.26 = 0
According to these discriminants, can draw the separation straight line, save the straight line that separates of leaf and limb, as shown in Figure 6.
If the different discriminant that obtains of the prototype that adopts distance also is different, as adopting standardized Euclidean distance and Ma Halangnuobisi distance etc.
(4), two fritter B of select progressively 1And B 2, calculate two eigenwerts of gray level co-occurrence matrixes He each gray level co-occurrence matrixes of its 4 directions respectively:: entropy ENT and energy ASM, its formula are respectively (5), (6):
ENT = - Σ i = 0 N q - 1 Σ j = 0 N q - 1 P ( a , b ) log P ( a , b ) - - - ( 5 )
ASM = Σ i = 0 N q - 1 Σ j = 0 N q - 1 ( P ( a , b ) ) 2 - - - ( 6 )
Wherein, a, b is the gray level of remarked pixel respectively, p (a, b) expression gray level co-occurrence matrixes;
(5), the eigenwert of the gray level co-occurrence matrixes of average 4 directions obtains mean eigenvalue ENT and ASM as the textural characteristics of differentiating.
(6), for two adjacent fritter B 1And B 2, according to the discriminant F of color model structure 1, F 2, F 3, F 4Judge with the textural characteristics value.If discriminant is all greater than 0 or B 1And B 2ENT and the difference of ASM less than preset threshold T, then keep B 1, be pressed into a storehouse.Simultaneously with B 2Middle correlation parameter is composed to B 1, then with B 2Parameter be changed to sky.Order is got another fritter as B backward 2, repeat above-mentioned steps.If the texture difference is greater than threshold value T and discriminant F 1, F 2, F 3, F 4All, then abandon whole fritter B less than 0 1Dispose up to all fritters.

Claims (2)

1, the recognition methods of a kind spheral fruit, this method may further comprise the steps:
(1), obtains fruits and vegetables image under the natural scene;
(2), the image that obtains is transformed to 2r-g-b color model and LCD color model simultaneously, the 2r-g-b color model is set up the 2r-g two-dimensional coordinate system, the LCD color model is set up Y-C rTwo-dimensional coordinate system;
(3), according to the sorter principle, to Y-C rCharacteristic attribute Y under the two-dimensional coordinate system, C rConstruct discriminant F respectively 1, F 2, set characteristic attribute value Y and C rThe average vector m of fruit target Fruit, leaf average vector m Leaf, limb average vector m Branch, its formula is: (1), (2):
F 1=[Y,C r] T(m fruit-m leaf)-1/2[(m fruit Tm fruit)-(m leaf Tm leaf)] (1)
F 2=[Y,C r] T(m fruit-m branch)-1/2[(m fruit Tm fruit)-(m branch Tm lbranch)] (2)
Characteristic attribute 2r and g to the 2r-g two-dimensional coordinate system construct discriminant F respectively 3, F 4, the average vector m ' of the fruit target of setting characteristic attribute value 2r and g Fruit, leaf average vector m ' Leaf, limb average vector m ' Branch, its formula is: (3), (4):
F 3=[2r,g] T(m′ fruit-m′ leaf)-1/2[(m′ fruit Tm′ fruit)-(m′ leaf Tm′ leaf)] (3)
F 4=[2r,g] T(m′ fruit-m′ branch)-1/2[(m′ fruit Tm′ fruit)-m′ branch Tm′ lbranch)] (4)
Obtain saving the straight line that separates of leaf and limb according to discriminant, and input picture is divided into equal-sized fritter, every block size is L * L, and L is an odd number;
(4), two fritter B of select progressively 1And B 2, calculate the gray level co-occurrence matrixes of its 4 directions respectively, an area size of establishing image is N c* N rPixel, and to establish gray level be G=0,1 ..., N q-1, co-occurrence matrix P (d, q)Be that a size is N q* N qSquare formation, comprise that all spacings are d, direction is q, and gray level is the frequency of pixel to occurring of a and b, P (d, q)In element representation be P (a, b|d, q), optional two pixels in the zone (k, l) with (m, n), k wherein, m=1,2 ..., N cN=1,2 ..., N r
Calculate two eigenwerts with each gray level co-occurrence matrixes: entropy ENT and energy ASM, its formula are respectively (5), (6):
ENT = - Σ i = 0 N q - 1 Σ j = 0 N q - 1 P ( a , b ) log P ( a , b ) . . . ( 5 )
ASM = Σ i = 0 N q - 1 Σ j = 0 N q - 1 ( P ( a , b ) ) 2 . . . ( 6 )
Wherein, a, b is the gray level of remarked pixel respectively, p (a, b) expression gray level co-occurrence matrixes; And the eigenwert of calculating the gray level co-occurrence matrixes of 4 directions obtains mean eigenvalue ENT and ASM;
(5), for two adjacent fritter B 1And B 2, as discriminant F 1, F 2, F 3And F 4Greater than 0 or B 1And B 2ENT and the difference of ASM less than preset threshold T, then keep B 1, this fritter is confirmed as fruit; As the texture difference greater than threshold value T and discriminant F 1, F 2, F 3And F 4Less than 0, then abandon whole fritter B 1And with B 2Middle correlation parameter is composed to B 1, then with B 2Parameter be changed to sky, the order get another fritter as B backward 2, repeating said steps disposes up to all fritters.
2, the recognition methods of a kind spheral fruit as claimed in claim 1 is characterized in that: in described (5), for last fritter, if discriminant F 1, F 2, F 3And F 4Greater than 0, can be defaulted as fruit and directly keep, otherwise think background, directly abandon.
CNB2007100666953A 2007-01-12 2007-01-12 Identification method for spherical fruit and vegetables Expired - Fee Related CN100463001C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007100666953A CN100463001C (en) 2007-01-12 2007-01-12 Identification method for spherical fruit and vegetables

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007100666953A CN100463001C (en) 2007-01-12 2007-01-12 Identification method for spherical fruit and vegetables

Publications (2)

Publication Number Publication Date
CN101034440A true CN101034440A (en) 2007-09-12
CN100463001C CN100463001C (en) 2009-02-18

Family

ID=38730987

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007100666953A Expired - Fee Related CN100463001C (en) 2007-01-12 2007-01-12 Identification method for spherical fruit and vegetables

Country Status (1)

Country Link
CN (1) CN100463001C (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011106854A1 (en) * 2010-03-03 2011-09-09 Agência De Inovação - Inova - Universidade Estadual De Campinas - Unicamp Method and system for recognition and classification of objects in semi-controlled environments
CN102289671A (en) * 2011-09-02 2011-12-21 北京新媒传信科技有限公司 Method and device for extracting texture feature of image
CN104573664A (en) * 2015-01-21 2015-04-29 深圳华侨城文化旅游科技有限公司 Reconstruction system and method of 3D scene of shooting path
CN108271531A (en) * 2017-12-29 2018-07-13 湖南科技大学 The fruit automation picking method and device of view-based access control model identification positioning
CN108875675A (en) * 2018-06-28 2018-11-23 西南科技大学 A kind of intelligent fruits recognition methods can be applied to supermarket self-checkout system
CN108901540A (en) * 2018-06-28 2018-11-30 重庆邮电大学 Fruit tree light filling and fruit thinning method based on artificial bee colony fuzzy clustering algorithm
CN110598539A (en) * 2019-08-02 2019-12-20 焦作大学 Sports goods classification device and method based on computer vision recognition
CN111401442A (en) * 2020-03-16 2020-07-10 中科立业(北京)科技有限公司 Fruit identification method based on deep learning

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6296186B1 (en) * 1998-11-19 2001-10-02 Ncr Corporation Produce recognition system including a produce shape collector
AU3736900A (en) * 1999-03-12 2000-09-28 Exelixis Plant Sciences, Inc. Trait-associated gene identification method
CN1120656C (en) * 2000-08-22 2003-09-10 中国农业大学 Automatic recognizer of seedling leaf direction
CN1394699A (en) * 2002-08-03 2003-02-05 浙江大学 Fruit quality real time detection and grading robot system
CN100337243C (en) * 2003-12-31 2007-09-12 中国农业大学 A fruit surface image collection system and method

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011106854A1 (en) * 2010-03-03 2011-09-09 Agência De Inovação - Inova - Universidade Estadual De Campinas - Unicamp Method and system for recognition and classification of objects in semi-controlled environments
CN102289671A (en) * 2011-09-02 2011-12-21 北京新媒传信科技有限公司 Method and device for extracting texture feature of image
CN104573664A (en) * 2015-01-21 2015-04-29 深圳华侨城文化旅游科技有限公司 Reconstruction system and method of 3D scene of shooting path
CN108271531A (en) * 2017-12-29 2018-07-13 湖南科技大学 The fruit automation picking method and device of view-based access control model identification positioning
CN108875675A (en) * 2018-06-28 2018-11-23 西南科技大学 A kind of intelligent fruits recognition methods can be applied to supermarket self-checkout system
CN108901540A (en) * 2018-06-28 2018-11-30 重庆邮电大学 Fruit tree light filling and fruit thinning method based on artificial bee colony fuzzy clustering algorithm
CN110598539A (en) * 2019-08-02 2019-12-20 焦作大学 Sports goods classification device and method based on computer vision recognition
CN111401442A (en) * 2020-03-16 2020-07-10 中科立业(北京)科技有限公司 Fruit identification method based on deep learning

Also Published As

Publication number Publication date
CN100463001C (en) 2009-02-18

Similar Documents

Publication Publication Date Title
CN101034440A (en) Identification method for spherical fruit and vegetables
CN109087274B (en) Electronic device defect detection method and device based on multi-dimensional fusion and semantic segmentation
CN105046252B (en) A kind of RMB prefix code recognition methods
Hannan et al. A machine vision algorithm combining adaptive segmentation and shape analysis for orange fruit detection
Kembhavi et al. Vehicle detection using partial least squares
CN107945200B (en) Image binarization segmentation method
CN1260680C (en) method and apparatus for digital image segmentation
CN102646193B (en) Segmentation method of character images distributed in ring shape
CN101059425A (en) Method and device for identifying different variety green tea based on multiple spectrum image texture analysis
CN111275679A (en) Solar cell defect detection system and method based on image
CN102855640A (en) Fruit grading system based on neural network
CN106875412B (en) Segmentation positioning method for two overlapped fruits
CN109886277B (en) Contour analysis-based fresh tea leaf identification method
CN103440035A (en) Gesture recognition system in three-dimensional space and recognition method thereof
CN111862028A (en) Wood defect detecting and sorting device and method based on depth camera and depth learning
CN102147867B (en) Method for identifying traditional Chinese painting images and calligraphy images based on subject
CN109101854A (en) A kind of multiple barcode localization method
CN108230307B (en) Corn broken grain detection method based on contour centroid distance and neural network
CN110032946A (en) A kind of aluminium based on machine vision/aluminium blister package tablet identification and localization method
CN102854147B (en) Hyperspectral data based mural manuscript information extraction method
Ronge et al. Comparative analysis of Indian wheat seed classification
CN106408025A (en) Classification and recognition method of aerial image insulators based on image processing
CN111583193A (en) Pistachio nut framework extraction device based on geometric contour template matching and algorithm thereof
CN103528967A (en) Hyperspectral image based overripe Lonicera edulis fruit identification method
CN117456358A (en) Method for detecting plant diseases and insect pests based on YOLOv5 neural network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090218

Termination date: 20120112