CN103489192B - Method for detecting number of Arabidopsis leaves and distance between cusp and center of mass of each leaf - Google Patents
Method for detecting number of Arabidopsis leaves and distance between cusp and center of mass of each leaf Download PDFInfo
- Publication number
- CN103489192B CN103489192B CN201310456191.8A CN201310456191A CN103489192B CN 103489192 B CN103489192 B CN 103489192B CN 201310456191 A CN201310456191 A CN 201310456191A CN 103489192 B CN103489192 B CN 103489192B
- Authority
- CN
- China
- Prior art keywords
- image
- arabidopsis
- blade
- cusp
- images
- 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.)
- Expired - Fee Related
Links
Landscapes
- Image Processing (AREA)
- Image Analysis (AREA)
Abstract
A method for detecting the number of Arabidopsis leaves and the distance between the cusp and the center of mass of each leaf particularly comprises the steps that a demarcating board is placed in a planting pot of Arabidopsis and RGB images of the Arabidopsis are collected through a camera; the collected images are pre-processed, so that the images are automatically corrected and demarcated, wherein the images are corrected so that distortion of the images can be corrected and the images are demarcated so that the real dimension of a unit pixel can be obtained; the pre-processed images are divided, the Arabidopsis is separated from backgrounds and extracted from the images; after Arabidopsis images are obtained through division, the number of the Arabidopsis leaves is extracted, and the distance between the cusp and the center of mass of each leaf is calculated. A phenotype parameter referring to the distance between the cusp and the center of mass of each leaf is used for reflecting the size of each leaf, and the growth situation can be described in a quantitative mode according to the number of the leaves of the Arabidopsis and the size of each leaf. Differences of the growth situations of the leaves of the Arabidopsis with different genes are described through the phenotype parameters so that the functions of the different genes and influence on the Arabidopsis by the genes can be inferred.
Description
Technical field
The present invention relates to a kind of Arabidopsis leaf number and blade cusp to the detection method of the distance of barycenter, utilize camera
Gathering the picture of arabidopsis, application image processing method extracts the blade number of arabidopsis and blade cusp to barycenter from image
Distance, it is achieved the Non-Destructive Testing of arabidopsis growth course.
Background technology
Arabidopsis is a kind of important model plant in botany, genetics, hereditism.Arabidopsis phenotype is ground
Study carefully, can illustrate the physiological function of arabidopsis comprehensively, up hill and dale, the particularly mutual relation between its phenotype and its gene, with
And the impact that it is grown by different environmental conditions.The detection method of plant phenotypic characteristics includes that destructive measurement, contact are surveyed
Amount and Computer Vision Detection method.Destructive measurement, i.e. for a collection of plant, extracts some randomly, with destructive
Method measures its parameter.Contact is measured and is i.e. used touch sensor to measure the parameter of plant.Use computer vision technique
Measuring i.e. by relevant device, including CCD camera, light source etc., it is thus achieved that the spectrum picture of measurand, utilization is correlated with
Image is processed by software, algorithm, it is thus achieved that required data, thus obtains the phenotypic parameter of plant.Existing research work
Realize individual blade is analyzed or the analysis of other crop mainly by computer vision technique.Li Xinguo etc. utilize and sweep
Retouch instrument and obtain the image of rape leaf, and utilize Photoshop software to obtain blade pixel count, obtain blade by resolution
Area (Li Xinguo, Cai Shengzhong, Li Shaopeng etc. Applied Digital image technique measures avocado leaf area [J]. tropical agricultural science,
2009,29 (2): 10-13.).Han Dianyuan etc. utilize color to carry out the calculation split for the blade proposition under white background is a kind of
Method, so utilize reference rectangular slab in background calculate blade area (Han Dianyuan, gold zone deep pool, Fu Hui etc. based on color channel
The plant leaf area of similarity image dividing method calculates [J]. Transactions of the Chinese Society of Agricultural Engineering, and 2012,28 (6): 179-183.).Lee is few
Elder brothers etc. utilize image technique that Semen Maydis and Semen Tritici aestivi carry out image acquisition, and extract relevant parameter (Li Shaokun, Zhang Xian. crop plant type
The research [J] of information multi-media image processing techniques. Acta Agronomica Sinica, 1998,24 (3): 265-271).Li Changying etc. utilize calculating
Machine vision technique carries out non-destructive monitoring to hothouse plants growth, obtains the formalness feature of plant, including top projected leaf area
With plant height (Li Changying, Teng Guanghui, Zhao Chunjiang etc. utilize computer vision technique realize to hothouse plants growth non-destructive monitoring
[J]. Transactions of the Chinese Society of Agricultural Engineering, 2003,19 (3): 140-143.).
In sum, there is following defect in existing research:
1, use destructive measuring method that plant can be caused damage, and plant can not be grown into Line Continuity
Measure.
2, use sensor measurement, directly contact with plant, the growth of plant can be produced certain impact, and
Its cost is high, and development difficulty is the most relatively large.
3, existing computer vision technique is concentrated mainly on the Phenotypic examination of individual blade or other crop, and to plan
The Phenotypic examination of south mustard relies primarily on artificial realization, and workload is big, inefficient.
At present around the Research on Computer Vision Detection of arabidopsis phenotype, document is at home and abroad rarely had to report.
Summary of the invention
The technical problem to be solved in the present invention is: how for the feature of arabidopsis, utilize computer vision technique to plan
Mustard carries out Non-Destructive Testing in south, extracts the blade number in its growth course and the blade cusp distance parameter to barycenter.Each leaf
Sheet cusp is used for reflecting the size of each blade to the distance of barycenter.The blade number of plant and the size of each blade both may be used
To describe the growing state of arabidopsis quantitatively, it is also possible to for the research of arabidopsis gene function, i.e. joined by these phenotypes
Number describe heterogeneic arabidopsis differences on leaf growth situation, such that it is able to infer heterogeneic function and
Impact on arabidopsis thaliana.
(1) technical scheme
To achieve these goals, the invention provides Arabidopsis leaf number based on computer vision and blade cusp
To the detection method of centroid distance, comprise the following steps:
S1., in the planting pot of arabidopsis, place scaling board, utilize the RGB image of collected by camera arabidopsis;
S2. to gather after image carry out pretreatment, it is achieved image from dynamic(al) correction and demarcation, wherein image rectification be for
The distortion of correction chart picture, image calibration is the full-size(d) in order to obtain unit picture element;
S3. pretreated image is split, by arabidopsis and background segment, extract from image;
S4. extract the blade number of arabidopsis, and calculate each blade cusp distance to barycenter.
The scaling board gathered in image uses rim black and white gridiron pattern, by square group that 3 × 3 length of sides are 4mm
Become.Place it in Arabidopsis plant side, therewith carry out image acquisition.
Step S2 specifically includes following steps:
S2.1 positions black and white gridiron pattern
S2.1.1, according to blue RGB feature, extracts blue border;
S2.1.2 carries out holes filling to the inside of image, then deducts original blue border image, obtains new images;
S2.1.3 carries out opening operation to new images, removes noise;Carry out closed operation again, connect breakpoint, obtain black and white chessboard
The region of lattice;
S2.2 Corner Detection
S.2.2.1 the single order horizontally and vertically gone up calculating each point in black and white gridiron pattern region is led
Number, obtains three width new images: horizontal first derivative square, the product of two first derivatives of quadratic sum of vertical first derivative;
S.2.2.2 with gaussian filtering, three width images are filtered, remove noise;
S.2.2.3 correlation matrix, calculation criterion function are formed by above-mentioned three width images, it is judged that whether pixel therein is
Angle point;
S2.3 image rectification and image calibration
S.2.3.1 tessellated each foursquare summit coordinate in the picture is obtained by Corner Detection, and according to it
Spatial relation in real world, obtains the transformation matrix of the two;
S.2.3.2 ask for the inverse of transformation matrix, act on image, it is achieved image rectification;
S2.3.3 obtains the tessellated total number of pixels of black and white by angular coordinate, and according to its full-size(d), obtains
The full-size(d) of unit picture element;
Step S3 specifically includes following steps:
S3.1 image foremost segment
S3.1.1 is normalized acquisition rgb to the rgb value of each pixel, extracts the chromaticity difference diagram of 3g-2.4r-b, makees with 0
For threshold value, image is carried out binaryzation;
Result is deducted the blue border region originally detected by S3.1.2, it is judged that the ash of the G of obtained foreground area pixel
Whether angle value more than 50, the most then retains, otherwise removes;
S3.1.3 extracts the region with most pixel in prospect connected region, is plant regional;
S3.2 removes noise
S3.2.1 carries out opening operation to gained image, obtains new image, and it will only retain big leaf area and plant
Central area, and remove the detail section in image, including the noise around the stem of plant and blade;
S3.2.2 calculates its number of pixels to each connected region of detail section removed, straight less than 12 of number of pixels
Connect removal;
The S3.2.3 number of pixels connected region more than or equal to 12, the new images individually obtained with opening operation superposes,
Calculate the areal in image after superposition again, if areal reduces, illustrate that this connected region is stem, it is necessary to retain, no
Then, if the areal after superposition in image increases or constant, then illustrate that this connected region is the noise around blade, must
Must remove;
After S3.2.4 has judged all of detail section, all connected regions retained all obtained with opening operation is new
Image overlay, obtains final plant regional;
Step S4 specifically includes following steps:
The hole of plant regional is filled with by S4.1, the barycenter of zoning;
S4.2 passes through profile lookup algorithm, extracts the outline point of the plant regional after filling;
S4.3 calculates each outline point distance to plant regional barycenter, thus 2 dimension (2D) images are become 1 dimension (1D)
Signal;
S4.4 carries out data point mirror image filling to the 1D signal described in S4.3 so that it is expand to the integral number power times of 2,
To new 1D signal;
The 1D signal that S4.4 is obtained by S4.5 carries out 4 layers of Haar wavelet decomposition, extracts the 4th layer and believes with the 1D described in S4.3
Number wavelet coefficient that length is identical;
S4.6 searches the positive zero crossing in wavelet coefficient, the i.e. previous point of certain point, and less than 0, later point is more than 0,
What these positive zero crossings represented is the local maximum of the 1D signal described in S4.3;For individual blade, its blade point
The barycenter of some distance plant regional is farthest, i.e. the local maximum of 1D signal is the cusp of each blade, therefore believes by searching 1D
Number local maximum be achieved with the blade number of plant;
S4.7 calculates the cusp of each blade in image and, to the length of barycenter, the number of pixels of length is walked with image calibration
The actual length of the unit picture element suddenly obtained is multiplied, and obtains the cusp actual distance to barycenter of each blade.
(2) beneficial outcomes
The inventive method utilizes computer vision technique to gather the image of arabidopsis, utilizes image processing techniques to achieve plan
The Non-Destructive Testing of south mustard phenotype.By the detection tessellated blue border of rim black and white and internal with Corner Detection Algorithm detection
Angle point, finally achieve image from dynamic(al) correction and demarcation.Normalized rgb value linear combination is used to carry out threshold arabidopsis
Value segmentation, and by again judging the details of plant regional, remove unnecessary noise, it is achieved thereby that do not affecting arabidopsis
In the case of normal growth, arabidopsis is split from complicated natural growing environment.After being partitioned into plant, then extract
The cusp of Arabidopsis leaf number and each blade is to the distance of barycenter.Observing relative to Traditional Man and measure, the method exists
It is enhanced in efficiency.
Accompanying drawing explanation
By the detailed description non-limiting example made with reference to the following drawings of reading, the further feature of the present invention,
Purpose and advantage will become more apparent upon:
Fig. 1 is the Arabidopsis leaf number according to one embodiment of the invention and the blade cusp distance detection side to barycenter
The flow chart of method;
The collection transposition for gathering image used in the method that Fig. 2 provides for the present invention;
The image generated in the preprocess method processing procedure that Fig. 3 provides for the present invention, wherein, subgraph (1) be according to
The RGB image of the arabidopsis that inventive method gathers, (2) are the black and white gridiron pattern region generated after pretreatment, and (3) are for passing through
The Corner Detection image generated after pretreatment, (4) are the image after the correction generated after pretreatment;
The image generated in the image partition method processing procedure that Fig. 4 provides for the present invention, wherein, subgraph (1) is for passing through
The bianry image generated after image foremost segment step, (2) are the figure of the final arabidopsis generated after noise removal step
Picture;
The blade number of the arabidopsis that Fig. 5 provides for the present invention and blade cusp processed to the distance extracting method of barycenter
The image generated in journey, wherein, subgraph (1) is the result after the holes filling in plant regional, and (2) are to search through profile to calculate
The outline of the plant regional that method extracts, (3) are each outline point distance signal to barycenter, and (4) are distance signal
Length is extended to the result that the integral number power of 2 obtains, and (5) are the 4th layer that this distance signal obtains after Haar wavelet decomposition
Wavelet coefficient, and positive zero crossing, (6) are the local maximum of the former distance signal detected, (7) are the blade point detected
Point, and each cusp is to the distance of barycenter.
Detailed description of the invention
A kind of Arabidopsis leaf number that the present invention proposes and blade cusp are to the distance detection method of barycenter, in conjunction with accompanying drawing
Describe in detail as follows with embodiment.Following example will assist in those skilled in the art and are further appreciated by the present invention, but not
Limit the present invention in any form.It should be pointed out that, to those skilled in the art, without departing from structure of the present invention
On the premise of think of, it is also possible to make some deformation and change.These broadly fall into protection scope of the present invention.
For the phenotypic parameter of rapid extraction arabidopsis, the present invention a kind of Arabidopsis leaf number and blade cusp are to barycenter
Distance detection method.After the method carries out pretreatment to the image gathered, from complicated background environment, it is partitioned into arabidopsis,
On this basis the distance parameter of the blade number of arabidopsis and blade cusp to barycenter is extracted, improve arabidopsis
Phenotypic parameter obtains efficiency.
As it is shown in figure 1, according to the distance of the Arabidopsis leaf number of one embodiment of the invention and blade cusp to barycenter
Detection method includes step:
S1, in the planting pot of arabidopsis, places scaling board, utilizes CCD camera to gather the RGB image of arabidopsis;
In this example, the harvester that can use Fig. 2 carries out the collection of image.This harvester includes: CCD camera
1, support 2, illuminator 3 and arabidopsis 4, scaling board 5 is placed on the side of arabidopsis.Scaling board uses rim black and white chessboard
Lattice, are that the square of 4mm forms by 3 × 3 length of sides.
S2 carries out pretreatment to the image after gathering, and specifically includes following sub-step:
S2.1 positions black and white gridiron pattern
S2.1.1 is according to blue RGB feature, and the gray value of R and G is both less than B, and the gray value of B is more than 150, from image
In be partitioned into blue border.
S2.1.2 carries out holes filling to the inside of image, and its result deducts original blue border image, is newly schemed
Picture.
S2.1.3 carries out opening operation to new images, removes noise;Carry out closed operation again, connect breakpoint, obtain black and white chessboard
The region of lattice.
S2.2 Corner Detection
S.2.2.1 the single order horizontally and vertically gone up calculating each point in black and white gridiron pattern region is led
Number.Use following Prewitt template to calculate, be i.e. approximately horizontal direction by the 3rd row in 3 × 3 regions and the difference of first row
Derivative, be approximately the derivative of vertical direction by the difference of the third line and the first row.By the two subtemplate and image convolution, obtain
Two matrixes identical with image size, are designated as Ix, Iy, and then calculate three width new images: Ix 2, Iy 2And IxIy。
S.2.2.2 can be disturbed by noise in view of image, use the Gauss window of 101 × 101 that three width images are entered
Row filtering, removes noise.
S.2.2.3 correlation matrix M is formed by three width new images:
Utilize this matrix calculus criterion function R:
R=det (M)-k (trace(M))2
Wherein k typically takes 0.04.
For each pixel, a R value can be obtained, if the R value of certain point is more than 0.01Rmax, and it is 3 × 3
The local maximum of neighborhood, then it will be judged as angle point.
S2.3 image rectification and image calibration
S.2.3.1 tessellated each foursquare summit coordinate in the picture is obtained by Corner Detection, in true generation
In boundary, these summits form each square, according to its spatial relation, can arrange the coordinate on these summits.Order is wherein
Certain point coordinate in the picture is (x ', y ')T, coordinate in space be (x, y)T, its homogeneous coordinates be respectively (x '1, x
’2, x '3)T(x1, y, 1)T, there is therebetween Projective Distortion conversion, transformation matrix is the linear change about homogeneous three-dimensional coordinate
Change H, be expressed as:
Because the inhomogeneous coordinate of image can be expressed as by homogeneous coordinates:
So each group of match point can get two equation below:
(h31x+h32y+h33) x '=h11x+h12y+h13
(h31x+h32y+h33) y '=h21x+h22y+h23
Transformation matrix H can be obtained with at least four pairs of match points.
S.2.3.2 ask for the inverse of transformation matrix H, remake for image, it is achieved the correction of image.
S2.3.3 calculates total number of pixels N in black and white gridiron pattern region by angular coordinateb, and according to its true chi
Very little, i.e. 9 × (4mm)2=144mm2, obtain the full-size(d) of unit picture element, it may be assumed that
Pretreated image is split by S3, is extracted by arabidopsis from image, specifically includes following sub-step
Rapid:
S3.1 image foremost segment
S3.1.1 is normalized acquisition rgb to the rgb value of each pixel, and method is as follows:
Extract the chromaticity difference diagram of 3g-2.4r-b, as threshold value, image is carried out binaryzation with 0, it may be assumed that if
I=3g-2.4r-b >=0
Then this pixel is judged as the pixel of prospect plant, is otherwise background pixel.
Result is deducted the blue border region originally detected by S3.1.2.Judge the G's of the pixel of obtained foreground area
Whether gray value more than 50, the most then retains this pixel, otherwise this pixel is judged as background pixel, removes from region.
S3.1.3 extracts the region with most pixel in prospect connected region, is plant regional.
S3.2 removes noise
S3.2.1 carries out opening operation to gained image by the disk template of 7 × 7, obtains new image, and it will only retain big
Leaf area and the central area of plant, and remove the detail section in image, including the noise around the stem of plant and blade.
S3.2.2 calculates its number of pixels to each connected region of detail section removed, straight less than 12 of number of pixels
Connect removal.
The S3.2.3 number of pixels connected region more than or equal to 12, the new images individually obtained with opening operation superposes,
Calculate the areal in image after superposition again, if areal reduces, illustrate that this connected region is stem, it is necessary to retain, no
Then, if the areal after superposition in image increases or constant, then illustrate that this connected region is the noise around blade, must
Must remove.
After S3.2.4 has judged all of detail section, all connected regions retained all obtained with opening operation is new
Image overlay, obtains final plant regional.
S4 extracts the blade number of arabidopsis, and calculates each blade cusp distance to barycenter, specifically includes following son
Step:
S4.1 holes filling
S4.1.1 gives a point in hole as starting point, and is set to 1, and other point is all set to 0, forms one
Individual new region X0。
S4.1.2 with following symmetrical structure unit to X0Expand, and with original image region cover row occur simultaneously fortune
Calculate, obtain a new region X1。
S4.1.3 judges X1Whether with X0Equal, if equal, holes filling terminates, and otherwise makes X0=X1, and repeat second step.
S4.2 searches profile
The point in the upper left corner of the plant regional after S4.2.1 Selective filling hole is as starting point b0, make c0For b0West side
Background dot.
S4.2.2 is from c0Start to detect b in a clockwise direction08 consecutive points, make b1For detecting first is not 0
Point, and make c0For b in detection sequence1Point before, stores b0, b1。
S4.2.3 judges b1Whether with b0Equal, if equal, profile is searched and is terminated, and otherwise makes b0=b1, and repeat second step.
S4.3 extracts 1 dimensional signal
After S4.3.1 searches profile, it is thus achieved that profile sequence, the x coordinate and the y that extract each profile point in this profile sequence sit
Mark.
S4.3.2 calculates each outline point distance to plant regional barycenter.Make certain outline point seat in the picture
It is designated as (xi, yi), barycenter coordinate in the picture is (xo, yo), distance therebetween is:
By calculating distance D of each pointi, obtain a 1D signal S, thus 2D image become 1D signal.
S4.4 extends signal
S4.4.1 makes a length of N of the 1D signal described in S4.30, calculate N0Logarithm value with 2 as the end, the result obtained
Round numbers also adds 1, obtains numerical value k.
If S4.4.2 2kLess than 2N0, then the 1D signal described in S4.3 is carried out mirror image switch, adds to described in S4.3
1D signal after, take front 2kIndividual data point, obtains new signal.
If S4.4.3 2kMore than 2N0, then, after the 1D signal described in S4.3 is supplemented the signal of mirror image switch, it is supplemented with
1D signal described in S4.3, takes front 2 the most againkIndividual data point, obtains new signal.
S4.5 wavelet transformation
The 1D signal that S4.4 is obtained by S4.5.1 carries out 4 layers of Haar wavelet decomposition, extracts the 4th layer of wavelet coefficient.
The S4.5.2 wavelet coefficient to obtaining extracts front N0Individual data point, obtains new 1D signal SCSo that it is described in S4.3
1D signal length identical.
S4.6 searches positive zero crossing
S4.6.1 is to 1D signal SCMove to right one respectively and move to left one, obtaining SC1And SC2。
S4.6.2 searches and meets the point of following condition:
(SC=0I SC2>0)∪(SC1<0I SC<0I SC2>0)
The point meeting above-mentioned condition is SCThe positive zero crossing of signal, the i.e. previous point of certain point be later less than 0
Point is more than 0, and what these positive zero crossings represented is the local maximum of the 1D signal S described in S4.3.For individual blade,
The barycenter of its blade cusp distance plant regional is farthest, i.e. the local maximum of 1D signal is the cusp of each blade.Therefore pass through
The local maximum searching 1D signal is achieved with the blade number of plant.
S4.7 length of blade
S4.7.1 calculates the cusp of each blade in image and, to the length of barycenter, makes certain blade cusp seat in the picture
It is designated as (xi, yi), barycenter coordinate in the picture is (xo, yo), distance therebetween is:
The evolution phase of the true area of the unit picture element that the number of pixels of length is obtained by S4.7.2 with image calibration step
Take advantage of, obtain the cusp actual distance to barycenter of each blade, it may be assumed that
The method further illustrating the present invention below in conjunction with examples of implementation, the method comprises the following steps:
S1, in the planting pot of arabidopsis, places scaling board, utilizes the RGB image of collected by camera arabidopsis.Scaling board is adopted
Be rim black and white gridiron pattern, be made up of the square that 3 × 3 length of sides are 4mm.Place it in arabidopsis side, with one
Rise and carry out image acquisition, shown in the picture of collection such as Fig. 3 (1).
S2 to gather after image carry out pretreatment, it is achieved image from dynamic(al) correction and demarcation.
S2.1 positions black and white gridiron pattern
S2.1.1 is according to blue RGB feature, and the gray value of R and G is both less than B, and the gray value of B is more than 150, from image
In be partitioned into blue border.
S2.1.2 carries out holes filling to the inside of image, and its result deducts original blue border image, is newly schemed
Picture.
S2.1.3 carries out opening operation to new images, removes noise;Carry out closed operation again, connect breakpoint, obtain black and white chessboard
The region of lattice, as shown in Fig. 3 (2).
S2.2 Corner Detection
S.2.2.1 by Prewitt template and image convolution, the level side that each in black and white gridiron pattern region is put is calculated
To with the first derivative in vertical direction, obtain three width new images: horizontal first derivative square, vertical first derivative square
Product with two first derivatives.
Three width images are filtered by the Gauss window S.2.2.2 using 101 × 101, remove noise.
S.2.2.3 formed correlation matrix, calculation criterion function by above-mentioned three width images, find out angle point.As shown in Fig. 3 (3),
Each angle point marks with red point.
S2.3 image rectification and image calibration
S.2.3.1 tessellated 16 foursquare summits are obtained according to from left to right by Corner Detection, from top to bottom
Order coordinate in the picture as follows:
(163,370) (224,362) (286,354) (347,347)
(171,430) (233,423) (294,415) (356,407)
(179,491) (241,484) (302,476) (346,468)
(187,553) (249,545) (311,537) (372,529)
It is strict square in real world according to it, by each coordinate convention put is:
(164,347) (225,347) (286,347) (347,347)
(164,408) (225,408) (286,408) (347,408)
(164,469) (225,469) (286,469) (347,469)
(164,530) (225,530) (286,530) (347,530)
Calculating these two groups of transformation of coordinates matrixes is:
S.2.3.2 the inverse of this transformation matrix is:
Acted on image, it is achieved image rectification, recovered the metric characteristic of image, shown in result such as Fig. 3 (4).
It is 35721 that S2.3.3 obtains the tessellated total number of pixels of black and white by angular coordinate, and according to its true chi
Very little, i.e. 9 × (4mm)2=144mm2, obtain the full-size(d) of unit picture element, it may be assumed that
Pretreated image is split by S3, is extracted by arabidopsis from image, specifically includes following sub-step
Rapid:
S3.1 image foremost segment
S3.1.1 is normalized acquisition rgb to the rgb value of each pixel, extracts the chromaticity difference diagram of 3g-2.4r-b, makees with 0
For threshold value, image is carried out binaryzation.
Result is deducted the blue border region originally detected by S3.1.2.Judge the G's of the pixel of obtained foreground area
Whether gray value more than 50, the most then retains this pixel, otherwise this pixel is judged as background pixel, removes from region.
S3.1.3 extracts the region with most pixel in prospect connected region, is plant regional, result such as Fig. 4
(1) shown in.
S3.2 removes noise
S3.2.1 carries out opening operation to gained image by the disk template of 7 × 7, obtains new image, and it will only retain big
Leaf area and the central area of plant, and remove the detail section in image, including the noise around the stem of plant and blade.
S3.2.2 calculates its number of pixels to each connected region of detail section removed, straight less than 12 of number of pixels
Connect removal.
The S3.2.3 number of pixels connected region more than or equal to 12, the new images individually obtained with opening operation superposes,
Calculate the areal in image after superposition again, if areal reduces, illustrate that this connected region is stem, it is necessary to retain, no
Then, if the areal after superposition in image increases or constant, then illustrate that this connected region is the noise around blade, must
Must remove.
After S3.2.4 has judged all of detail section, all connected regions retained all obtained with opening operation is new
Image overlay, obtains final plant regional, shown in result such as Fig. 4 (2).
S4. extract the blade number of arabidopsis, and calculate each blade cusp distance to barycenter, specifically include following son
Step:
The hole of plant regional is filled with by S4.1, shown in its result such as Fig. 5 (1).
S4.2 passes through profile lookup algorithm, extracts shown in the outline point such as Fig. 5 (2) of the plant regional after filling.
S4.3 extracts 1 dimensional signal
After S4.3.1 searches profile, it is thus achieved that profile sequence, the x coordinate and the y that extract each profile point in this profile sequence sit
Mark.
S4.3.2 calculates each outline point distance to plant regional barycenter, as shown in Fig. 5 (3).
S4.4 extends signal
A length of 1163 of 1D signal described in S4.4.1S4.3, calculate 1163 logarithm value with 2 as the end, the knot obtained
Really round numbers add 1, obtains numerical value 11.
S4.4.2 because 2048 less than 2326, then carries out mirror image switch to the 1D signal described in S4.3, adds to S4.3
Described in 1D signal after, take front 2048 data points, obtain new signal, as shown in Fig. 5 (4).
S4.5 wavelet transformation
The 1D signal that S4.4 is obtained by S4.5.1 carries out 4 layers of Haar wavelet decomposition, extracts the 4th layer of wavelet coefficient.
S4.5.2 to obtain wavelet coefficient extract front 1163 data points, obtain new 1D signal so that it is with in S4.3
Described 1D signal length is identical.
S4.6 searches positive zero crossing
S4.6.1 is to 1D signal SCMove to right one respectively and move to left one, obtaining SC1And SC2。
S4.6.2 searches the positive zero crossing of this signal, shown in result such as Fig. 5 (5).That these positive zero crossings represent is this 1D
The local maximum of signal, as shown in Fig. 5 (6).For individual blade, the barycenter of its blade cusp distance plant regional is
Far, i.e. the local maximum of 1D signal is the cusp of each blade.Therefore by just searching the number of the local maximum of 1D signal
The blade number of plant can be obtained.
S4.7 length of blade
The coordinate of S4.7.1 image Leaf cusp is:
(497,360) (485,232) (590,256) (607,324) (673,397) (600,480) (507,506)
(412,409)
The coordinate of barycenter is: (542,373)
In calculating image, the cusp of each blade is to the distance of barycenter:
di=[47.02 152.18 126.43 81.28 133.00 121.60 137.54 135.05]
The evolution phase of the true area of the unit picture element that the number of pixels of length is obtained by S4.7.2 with image calibration step
Take advantage of, obtain the cusp actual distance to barycenter of each blade, it may be assumed that
Unit is millimeter.Shown in result such as Fig. 5 (7).
Claims (2)
1. Arabidopsis leaf number and blade cusp are to a detection method for the distance of barycenter, comprise the following steps:
S1., in the planting pot of arabidopsis, place scaling board, utilize the RGB image of collected by camera arabidopsis;
S2. the image after gathering is carried out pretreatment, it is achieved image from dynamic(al) correction and demarcation, wherein image calibration is precisely in order to school
The distortion of positive image, image calibration is the full-size(d) in order to obtain unit picture element;
Step S2 includes positioning black and white gridiron pattern, Corner Detection, image rectification and image calibration;
Described location black and white gridiron pattern comprises the following steps: according to the blue component in RGB feature, extracts blue border;To figure
The inside of picture carries out holes filling, then deducts original blue border image, obtains new images;New images is carried out opening operation,
Remove noise;Carry out closed operation again, connect breakpoint, obtain the tessellated region of black and white;
Described Corner Detection comprises the following steps: calculate horizontal direction and Vertical Square that each in black and white gridiron pattern region is put
First derivative upwards, obtains three width new images: horizontal first derivative square, two single orders of the quadratic sum of vertical first derivative
The product of derivative;With gaussian filtering, three width images are filtered, remove noise;Correlation matrix is formed by above-mentioned three width images,
Calculation criterion function, it is judged that whether pixel therein is angle point;
Described image rectification and image calibration comprise the following steps: obtain tessellated each foursquare top by Corner Detection
Point coordinate in the picture, and according to its spatial relation in real world, obtain the transformation matrix of the two;Ask for conversion
Inverse of a matrix, acts on image, it is achieved image rectification;The tessellated total number of pixels of black and white, and root is obtained by angular coordinate
According to its full-size(d), obtain the full-size(d) of unit picture element;
S3. pretreated image is split, by arabidopsis and background segment, extract from image;
Step S3 includes image foremost segment and removes noise;
Described image foremost segment comprises the following steps: the rgb value of each pixel is normalized acquisition rgb, extracts 3g-
The chromaticity difference diagram of 2.4r-b, carries out binaryzation as threshold value to image with 0;Result is deducted the blue border district originally detected
Territory, it is judged that whether the gray value of the G of obtained foreground area pixel more than 50, the most then retains, otherwise remove;Extraction prospect is even
The region with most pixel in logical region, is plant regional;
Described removal noise comprises the following steps: gained image is carried out opening operation, obtains new image, and it will only retain great Ye
Panel region and the central area of plant, and remove the detail section in image, including the noise around the stem of plant and blade;Right
Each connected region of the detail section removed calculates its number of pixels, number of pixels directly removing less than 12, number of pixels
Connected region more than or equal to 12, the new images individually obtained with opening operation superposes, then the district calculated after superposition in image
Territory number, if areal reduces, illustrates that this connected region is stem, it is necessary to retain, otherwise, if the district after superposition in image
Territory number increases or constant, then illustrate that this connected region is the noise around blade, it is necessary to remove;Judge all of details
After part, the new images that all connected regions retained all obtain with opening operation is superposed, obtains final plant regional;
S4. after being partitioned into arabidopsis image, extract arabidopsis blade number, and calculate each blade cusp to barycenter away from
From;
Step S4 specifically includes following steps:
The hole of plant regional is filled with by S4.1, the barycenter of zoning;
S4.2 passes through profile lookup algorithm, extracts the outline point of the plant regional after filling;
S4.3 calculates each outline point distance to plant regional barycenter, thus 2 dimension (2D) images are become 1 1D signal;
S4.4 carries out data point mirror image filling to the 1D signal described in S4.3 so that it is expand to the integral number power times of 2, obtains new
1D signal;
The 1D signal that S4.4 is obtained by S4.5 carries out 4 layers of Haar wavelet decomposition, extract the 4th layer with the 1D Chief Signal Boatswain described in S4.3
Spend identical wavelet coefficient;
S4.6 searches the positive zero crossing in wavelet coefficient, the i.e. previous point of certain point, and less than 0, later point is more than 0, these
What positive zero crossing represented is the local maximum of the 1D signal described in S4.3;For individual blade, its blade cusp away from
Barycenter from plant regional is farthest, i.e. the local maximum of 1D signal is the cusp of each blade;Therefore by searching 1D signal
Local maximum is achieved with the blade number of plant;
S4.7 calculates the cusp of each blade in image and, to the length of barycenter, the number of pixels of length is obtained with image calibration step
To the actual length of unit picture element be multiplied, obtain the cusp actual distance to barycenter of each blade.
Arabidopsis leaf number the most according to claim 1 and blade cusp are to the detection method of the distance of barycenter, wherein
Described scaling board uses rim black and white gridiron pattern, 3 × 3 length of sides be that the square of 4mm forms.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310456191.8A CN103489192B (en) | 2013-09-30 | 2013-09-30 | Method for detecting number of Arabidopsis leaves and distance between cusp and center of mass of each leaf |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310456191.8A CN103489192B (en) | 2013-09-30 | 2013-09-30 | Method for detecting number of Arabidopsis leaves and distance between cusp and center of mass of each leaf |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103489192A CN103489192A (en) | 2014-01-01 |
CN103489192B true CN103489192B (en) | 2017-01-11 |
Family
ID=49829390
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310456191.8A Expired - Fee Related CN103489192B (en) | 2013-09-30 | 2013-09-30 | Method for detecting number of Arabidopsis leaves and distance between cusp and center of mass of each leaf |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103489192B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108171718A (en) * | 2017-11-23 | 2018-06-15 | 北京林业大学 | A kind of small daisy_petal part number automatic testing method based on wavelet transformation |
CN109087241A (en) * | 2018-08-22 | 2018-12-25 | 东北农业大学 | A kind of agricultural crops image data nondestructive collection method |
CN109509200B (en) * | 2018-12-26 | 2023-09-29 | 深圳市繁维医疗科技有限公司 | Checkerboard corner detection method based on contour extraction and computer readable storage medium |
CN110307934A (en) * | 2019-06-18 | 2019-10-08 | 合肥安杰特光电科技有限公司 | A kind of non-uniform object mass center real-time detection method based on pattern analysis |
CN113989361B (en) * | 2021-10-22 | 2023-04-07 | 中国平安财产保险股份有限公司 | Animal body length measuring method, device, equipment and medium based on artificial intelligence |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101231755A (en) * | 2007-01-25 | 2008-07-30 | 上海遥薇实业有限公司 | Moving target tracking and quantity statistics method |
CN101271576A (en) * | 2008-05-08 | 2008-09-24 | 上海交通大学 | Gridiron pattern recognition locating method under complex illumination and surface condition |
CN102615052A (en) * | 2012-02-21 | 2012-08-01 | 上海大学 | Machine visual identification method for sorting products with corner point characteristics |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4387643B2 (en) * | 2002-07-31 | 2009-12-16 | 富士通株式会社 | Processing device with personal recognition function |
-
2013
- 2013-09-30 CN CN201310456191.8A patent/CN103489192B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101231755A (en) * | 2007-01-25 | 2008-07-30 | 上海遥薇实业有限公司 | Moving target tracking and quantity statistics method |
CN101271576A (en) * | 2008-05-08 | 2008-09-24 | 上海交通大学 | Gridiron pattern recognition locating method under complex illumination and surface condition |
CN102615052A (en) * | 2012-02-21 | 2012-08-01 | 上海大学 | Machine visual identification method for sorting products with corner point characteristics |
Also Published As
Publication number | Publication date |
---|---|
CN103489192A (en) | 2014-01-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103471523B (en) | A kind of detection method of arabidopsis profile phenotype | |
CN103593840B (en) | Method for detecting phenotype of Arabidopsis | |
CN103489192B (en) | Method for detecting number of Arabidopsis leaves and distance between cusp and center of mass of each leaf | |
Zhang et al. | New research methods for vegetation information extraction based on visible light remote sensing images from an unmanned aerial vehicle (UAV) | |
CN103500322B (en) | Automatic lane line identification method based on low latitude Aerial Images | |
Zheng et al. | Large-scale oil palm tree detection from high-resolution remote sensing images using faster-rcnn | |
CN102930287B (en) | A kind of detection number system and method for overlooking pedestrian | |
CN103591887B (en) | A kind of detection method of arabidopsis region phenotype | |
CN107492094A (en) | A kind of unmanned plane visible detection method of high voltage line insulator | |
CN107451982A (en) | A kind of high canopy density standing forest tree crown area acquisition methods based on unmanned plane image | |
CN103927758B (en) | Saliency detection method based on contrast ratio and minimum convex hull of angular point | |
CN102496157A (en) | Image detection method based on Gaussian multi-scale transform and color complexity | |
CN105096311A (en) | Technology for restoring depth image and combining virtual and real scenes based on GPU (Graphic Processing Unit) | |
CN107610128A (en) | The method for inspecting and device of a kind of oil level indicator | |
CN106156758B (en) | A kind of tidal saltmarsh method in SAR seashore image | |
CN104331686B (en) | A kind of soil surface improving straw mulching rate human assistance identifying system | |
CN104280784A (en) | Method for recognizing small fracture through gravity | |
CN103438834A (en) | Hierarchy-type rapid three-dimensional measuring device and method based on structured light projection | |
CN102254162B (en) | Method for detecting airport runway in synthetic aperture radar (SAR) image based on minimum linear ratio | |
CN104217430B (en) | Image significance detection method based on L1 regularization | |
Yang et al. | Capturing the spatiotemporal variations in the gross primary productivity in coastal wetlands by integrating eddy covariance, Landsat, and MODIS satellite data: A case study in the Yangtze Estuary, China | |
CN101866422A (en) | Method for extracting image attention by image based multi-characteristic integration | |
Jiang et al. | A spectral-spatial approach for detection of single-point natural gas leakage using hyperspectral imaging | |
CN102629377A (en) | Remote sensing image change detection method based on saliency measurement | |
Ran et al. | A multi-temporal method for detection of underground natural gas leakage using hyperspectral imaging |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170111 Termination date: 20170930 |