CN110363807A - Based on the high-throughput lossless method for obtaining field cotton Efficient leaf area of RGB image - Google Patents

Based on the high-throughput lossless method for obtaining field cotton Efficient leaf area of RGB image Download PDF

Info

Publication number
CN110363807A
CN110363807A CN201910579769.6A CN201910579769A CN110363807A CN 110363807 A CN110363807 A CN 110363807A CN 201910579769 A CN201910579769 A CN 201910579769A CN 110363807 A CN110363807 A CN 110363807A
Authority
CN
China
Prior art keywords
image
leaf area
cotton
throughput
rgb image
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
CN201910579769.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.)
Institute of Economic Crop of Hubei Academy of Agricultural Science
Original Assignee
Institute of Economic Crop of Hubei Academy of Agricultural Science
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 Institute of Economic Crop of Hubei Academy of Agricultural Science filed Critical Institute of Economic Crop of Hubei Academy of Agricultural Science
Priority to CN201910579769.6A priority Critical patent/CN110363807A/en
Publication of CN110363807A publication Critical patent/CN110363807A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/28Measuring arrangements characterised by the use of optical techniques for measuring areas
    • G01B11/285Measuring arrangements characterised by the use of optical techniques for measuring areas using photoelectric detection means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/62Analysis of geometric attributes of area, perimeter, diameter or volume
    • 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/10024Color 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/30181Earth observation
    • G06T2207/30188Vegetation; Agriculture

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Theoretical Computer Science (AREA)
  • Image Analysis (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

The invention discloses a kind of based on the high-throughput lossless method for obtaining field cotton Efficient leaf area of RGB image, and specific steps include: step 1: cotton leaf being fitted in the background of rule completely, and take pictures to obtain original image;Step 2: cutting the original image, obtains an image;Step 3: an image carries out second order processing, obtains second order image;Step 4: the ratio between white black pixel of the second order image is calculated;Step 5: true cotton leaf area is obtained.The present disclosure provides a kind of based on the high-throughput lossless method for obtaining field cotton Efficient leaf area of RGB image, portable mobile phone or camera and an A4 white board are only needed when implementing, camera can far can be close at a distance from cardboard when taking pictures, it is easy to operate, image procossing can be carried out with Matlab batch, measurement result is accurate, and error is controllable.

Description

Based on the high-throughput lossless method for obtaining field cotton Efficient leaf area of RGB image
Technical field
The present invention relates to growth information field of measuring technique, more particularly to a kind of high-throughput based on RGB image The lossless method for obtaining field cotton Efficient leaf area.
Background technique
Crop leaf area is all an important plant growth parameter, blade face for the scientific research project for being much related to crop The photosynthesis that long-pending size directly influences crop utilizes the size of sun light area, eventually affects the height of yield, surveys The data of leaf area can be used to Guiding Practice out, the parameter it is accurate whether for these scientific research projects have positive meaning. The measurement higher method of leaf area accuracy has weight method, gridding method etc. in the prior art, but weight method is needed from crop A large amount of blade is acquired, carries out destructive measurement, and measuring process is very cumbersome, gridding method also belongs to destructive measurement, The normal growth of crop is influenced, and speed is slow, required time is long.In view of these situations, use is had also appeared in the prior art Laser ranging, positioning, then leaf area is measured using image procossing method, but first laser positioning and distance-measuring equipment compared with Valuableness should not be generally applicable in, and the image processing method secondly used is not the principle for complying fully with leaf recognition, will cause blade face The error that product calculates.
In addition, being in the prior art to obtain image using advanced equipments of high grade and precision about acquisition blade face area, to guarantee to calculate essence Degree, although however ensure that leaf area computational accuracy, expensive equipment is unable to get large-scale popularization.
Therefore, it is accurate based on the high-throughput lossless acquisition field effective blade face of cotton of RGB image how to provide a kind of calculating The problem of long-pending method is those skilled in the art's urgent need to resolve.
Summary of the invention
In view of this, the present invention provides one kind based on the high-throughput lossless acquisition field cotton Efficient leaf area of RGB image Method, it is accurate that leaf area calculates,, need to be complete by blade without adjusting camera lens and background distance without expensive capture apparatus Full shooting.
To achieve the goals above, the invention provides the following technical scheme:
A method of based on the high-throughput lossless acquisition field cotton Efficient leaf area of RGB image, specific steps include:
Step 1: cotton leaf is fitted in the background of rule completely, and takes pictures to obtain original image;
Step 2: cutting the original image, obtains an image;
Step 3: an image carries out second order processing, obtains second order image;
Step 4: the ratio between white black pixel of the second order image is calculated;
Step 5: true cotton leaf area is obtained.
Preferably, in a kind of above-mentioned method based on the high-throughput lossless acquisition field cotton Efficient leaf area of RGB image In, in the step 1, photo is fully contemplated by cotton leaf and background when taking pictures.
Preferably, in a kind of above-mentioned method based on the high-throughput lossless acquisition field cotton Efficient leaf area of RGB image In, in the step 2, background is cut into square on the basis of one side of background, cotton leaf is fallen completely within into square It is interior.
Preferably, in a kind of above-mentioned method based on the high-throughput lossless acquisition field cotton Efficient leaf area of RGB image In, the background color is white.
Preferably, in a kind of above-mentioned method based on the high-throughput lossless acquisition field cotton Efficient leaf area of RGB image In, second order processing is carried out to an image using matlab.
Preferably, in a kind of above-mentioned method based on the high-throughput lossless acquisition field cotton Efficient leaf area of RGB image In, the ratio between white black pixel is PW:PB in step 4.
Preferably, in a kind of above-mentioned method based on the high-throughput lossless acquisition field cotton Efficient leaf area of RGB image In, cotton leaf areaWherein S ' expression background area.
It can be seen via above technical scheme that compared with prior art, the present disclosure provides one kind to be based on RGB image The high-throughput lossless method for obtaining field cotton Efficient leaf area, only needed when implementing portable mobile phone or camera and One A4 white board, when taking pictures camera at a distance from cardboard can far can be close, it is easy to operate, image procossing can with Matlab batch into Row, measurement result is accurate, and error is controllable.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is flow chart of the invention;
Fig. 2 is second order picture schematic diagram of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of based on the high-throughput lossless acquisition field cotton Efficient leaf area of RGB image Method, it is not necessary that cotton leaf to be measured is in vitro, and measure it is accurate.
A method of it is described to be schemed based on RGB based on the high-throughput lossless acquisition field cotton Efficient leaf area of RGB image The lossless method for obtaining field cotton Efficient leaf area of image height flux includes the following steps:
1) the white A4 paper (210*297mm) of standard, area 62.37cm2 are used, and blank sheet of paper is attached to light modeling On flitch or hardboard;
2) make background using white A4 paper to take pictures in field to cotton leaf to be measured;
3) drawing software carried using computer cuts out photo around blank sheet of paper edge, according to white A4 paper broadside be one side into Row is cut;
4) Matlab batch second order picture is utilized, and calculating white black pixel sum is PW and PB;
5) true area for calculating measured leaf in batches is S,Unit is cm2
In an embodiment of the present invention, described take pictures in field to cotton leaf to be measured includes the following steps:
1) cotton blade to be measured is lightly attached at white A4 paper, cotton leaf is as close as possible to one edge of cardboard, no Divide up and down;
2) mobile phone is directed at white A4 paper, photograph includes A4 blank sheet of paper completely, and mobile phone camera and A4 paper are parallel as far as possible, and distance is suitable In.
3) all photos of acquisition are stored in computer according to serial number Uniform Name.
In an embodiment of the present invention, the drawing software carried using computer cuts out photo packet around blank sheet of paper edge Include following steps:
1) photo is opened with the drawing software that computer carries, and zooming to computer desktop can completely see subject to photo;
2) a line of white A4 paper of being subject to cuts photo, obtains a square picture;A4 paper slightly inclines in such as figure Figure correction can be tiltedly carried out, as far as possible reduction paperboard rectangular shape.
In an embodiment of the present invention, using Matlab batch second order picture, and calculate white black pixel be PW and PB includes the following steps:
1) photo cut is stored under matlab destination folder, files=dir (' * .jpg');
2) batch reads in original image imread (files (i) .name);
3) reading of RGB image pixel and Single matrix, redChannel=rgbImage (::, 1); GreenChannel=rgbImage (::, 2);BlueChannel=rgbImage (::, 3);Red=single (redChannel);Green=single (greenChannel);Blue=single (blueChannel);
4) RGB average value, redMean (i)=mean (mean (red)) are calculated;GreenMean (i)=mean (mean (green));BlueMean (i)=mean (mean (blue));
5) rdivide, roicolor second order picture are utilized;
6) monochrome pixels total amount sum is calculated
7) batch signatures are to Excel, Files=1:numel (files);xlswrite
Application examples:
Blade number Li-3100C area meter apparatus measures result This method
1 117.24 118.93
2 63.29 63.82
3 117.82 119.91
Blade is sent into the analyzer for having fluorescent light source by transmission belt by Li-3100C area meter leaf area instrument, When blade passes through fluorescent light source, image by mirror-reflection to being fixed on the smear camera at instrument rear portion, it is this solely Special optical design greatly improves the accuracy of measurement.In addition, adjustable compression type roller can make the blade of curling It flattens, and makes it just at the accuracy between two transparent transmission belts, guaranteeing measurement, but the leaf area instrument is used to need Blade is removed and is detected, and detection process is cumbersome, while prices are rather stiff for the leaf area instrument, for commonly using Family or small-scale use are simultaneously not suitable for.The method of the present embodiment compared with Li-3100C area meter leaf area instrument, It is simple to operate, it is at low cost, portable mobile phone or camera and an A4 white board are only needed when implementing, when taking pictures Camera at a distance from cardboard can far can be close, it is easy to operate, image procossing can with Matlab batch carry out, measurement result is accurate, mistake It is poor controllable;Simultaneously without taking blade, lossless is reached to blade, generalization is strong in a word, can be widely used.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment For, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is said referring to method part It is bright.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (6)

1. a kind of based on the high-throughput lossless method for obtaining field cotton Efficient leaf area of RGB image, which is characterized in that specific step Suddenly include:
Step 1: cotton leaf is fitted in the background of rule completely, and takes pictures to obtain original image;
Step 2: cutting the original image, obtains an image;
Step 3: an image carries out second order processing, obtains second order image;
Step 4: the ratio between white black pixel of the second order image is calculated;
Step 5: true cotton leaf area is obtained.
2. according to claim 1 a kind of based on the high-throughput lossless side for obtaining field cotton Efficient leaf area of RGB image Method, which is characterized in that in the step 1, photo is fully contemplated by cotton leaf and background when taking pictures.
3. according to claim 1 a kind of based on the high-throughput lossless side for obtaining field cotton Efficient leaf area of RGB image Method, which is characterized in that the background color is white.
4. a kind of method based on the lossless acquisition field cotton Efficient leaf area of RGB image high pass according to claim 1, It is characterized in that, carrying out second order processing to an image using matlab.
5. a kind of method based on the lossless acquisition field cotton Efficient leaf area of RGB image high pass according to claim 1, It is characterized in that, the ratio between white black pixel is PW:PB in step 4.
6. a kind of method based on the lossless acquisition field cotton Efficient leaf area of RGB image high pass according to claim 1, It is characterized in that, cotton leaf areaWherein S ' expression background area.
CN201910579769.6A 2019-06-28 2019-06-28 Based on the high-throughput lossless method for obtaining field cotton Efficient leaf area of RGB image Pending CN110363807A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910579769.6A CN110363807A (en) 2019-06-28 2019-06-28 Based on the high-throughput lossless method for obtaining field cotton Efficient leaf area of RGB image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910579769.6A CN110363807A (en) 2019-06-28 2019-06-28 Based on the high-throughput lossless method for obtaining field cotton Efficient leaf area of RGB image

Publications (1)

Publication Number Publication Date
CN110363807A true CN110363807A (en) 2019-10-22

Family

ID=68216728

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910579769.6A Pending CN110363807A (en) 2019-06-28 2019-06-28 Based on the high-throughput lossless method for obtaining field cotton Efficient leaf area of RGB image

Country Status (1)

Country Link
CN (1) CN110363807A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114486768A (en) * 2021-12-24 2022-05-13 石河子大学 Seed cotton color grade detection device for seed cotton purchasing link and grading method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102506772A (en) * 2011-11-01 2012-06-20 西北农林科技大学 Method and device for quickly detecting area of leaf blade based on mobile phone
CN103791861A (en) * 2014-02-10 2014-05-14 黑龙江省森林与环境科学研究院 Plant leaf area lossless measuring method
CN106468536A (en) * 2016-11-22 2017-03-01 天津市气候中心 A kind of leaf area measurement method
CN108278988A (en) * 2018-01-23 2018-07-13 上海市农业科学院 Measure the method and device of blade area
CN108765433A (en) * 2018-05-31 2018-11-06 西京学院 One kind is for carrying high-precision leafy area measurement method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102506772A (en) * 2011-11-01 2012-06-20 西北农林科技大学 Method and device for quickly detecting area of leaf blade based on mobile phone
CN103791861A (en) * 2014-02-10 2014-05-14 黑龙江省森林与环境科学研究院 Plant leaf area lossless measuring method
CN106468536A (en) * 2016-11-22 2017-03-01 天津市气候中心 A kind of leaf area measurement method
CN108278988A (en) * 2018-01-23 2018-07-13 上海市农业科学院 Measure the method and device of blade area
CN108765433A (en) * 2018-05-31 2018-11-06 西京学院 One kind is for carrying high-precision leafy area measurement method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
宫志宏等: "基于数字照片解析的黄瓜叶片面积测定及效果分析", 《第32届中国气象学会年会》 *
张奇等: "植物叶片面积精确测量系统的设计与开发", 《江苏农业科学》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114486768A (en) * 2021-12-24 2022-05-13 石河子大学 Seed cotton color grade detection device for seed cotton purchasing link and grading method thereof
CN114486768B (en) * 2021-12-24 2024-04-26 石河子大学 Seed cotton color grade detection device for seed cotton purchasing link and grading method thereof

Similar Documents

Publication Publication Date Title
CN111862224B (en) Method and device for determining external parameters between camera and laser radar
CN102663732B (en) Relative radiometric calibration method for light field camera
CN106468536B (en) A kind of leaf area measurement method
CN101799283B (en) Nondestructive measuring method for leaf area of broad leaved plant
CN107506801B (en) Fish property measuring device and method
CN106885622B (en) A kind of big visual field multiple spot three-dimensional vibrating measurement method
CN104132897B (en) A kind of nitrogenous measuring method of plant leaf blade based on handheld device and device
US20190003829A1 (en) Image processing apparatus and method for determining the volume of timber in a stack of logs
CN105701809B (en) A kind of method for correcting flat field based on line-scan digital camera scanning
CN102176742A (en) Method for acquiring image correction coefficient, and method and system for correcting non-uniform image
CN103033151A (en) Leaf area measuring method based on lasers and images
CN104240259A (en) High-speed photographing instrument voucher intelligent edge cutting and correcting system and high-speed photographing instrument voucher intelligent edge cutting and correcting method based on silhouette extraction
Tang et al. High-precision camera distortion measurements with a" calibration harp"
CN103808265A (en) Method, device and system for measuring oilseed rape laminae and forms of sclerotium scabs synchronously
CN203259087U (en) Perspective correction scale for trace material evidence photographing
CN103152510A (en) Image processing device and image processing method
CN110363807A (en) Based on the high-throughput lossless method for obtaining field cotton Efficient leaf area of RGB image
CN102183301A (en) Portable type unified glare measuring apparatus
WO2022100698A1 (en) Text image correction method and apparatus
CN202916487U (en) Visible light and infrared light confocal imaging optical lens with large image plane
CN109177526A (en) The method and system of duplex printing
CN102006396A (en) Image capturing and automatically-correcting system and method thereof
WO2024087464A1 (en) Water-leaving radiance spectrum calculation method and apparatus, terminal and storage medium
CN109978926B (en) Automatic image fusion method and device and terminal equipment
CN106878598A (en) Processing method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191022