CN112084921A - Method and device for measuring plant growth condition - Google Patents

Method and device for measuring plant growth condition Download PDF

Info

Publication number
CN112084921A
CN112084921A CN202010901243.8A CN202010901243A CN112084921A CN 112084921 A CN112084921 A CN 112084921A CN 202010901243 A CN202010901243 A CN 202010901243A CN 112084921 A CN112084921 A CN 112084921A
Authority
CN
China
Prior art keywords
image
threshold value
plant growth
plant
processing
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
CN202010901243.8A
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.)
Wuwei County Nianxiang Horseshoe Planting Professional Cooperative
Original Assignee
Wuwei County Nianxiang Horseshoe Planting Professional Cooperative
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 Wuwei County Nianxiang Horseshoe Planting Professional Cooperative filed Critical Wuwei County Nianxiang Horseshoe Planting Professional Cooperative
Priority to CN202010901243.8A priority Critical patent/CN112084921A/en
Publication of CN112084921A publication Critical patent/CN112084921A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/10Terrestrial scenes
    • G06V20/188Vegetation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • G06F18/2413Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on distances to training or reference patterns
    • G06F18/24147Distances to closest patterns, e.g. nearest neighbour classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/56Extraction of image or video features relating to colour

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Multimedia (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Artificial Intelligence (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

The invention discloses a method and a device for measuring the growth condition of plants, wherein the method comprises the following steps: s1: acquiring an original image of a plant growth area; s2: dividing an original image into RGB channels; s3: generating a processing image of a predetermined channel in the RGB-divided channel images; s4: carrying out binarization on the processed image, and processing the binarized image through a K nearest neighbor algorithm to obtain an area representing the growth condition of the plant; the RGB channel division and binarization processing are carried out on the original image of the plant growth area, the area where the plant grows and the specific growth condition are obtained, and the specific growth condition of the plant can be mastered in more detail.

Description

Method and device for measuring plant growth condition
Technical Field
The present invention relates to the field of plant growth condition monitoring, and in particular to a method and apparatus for determining a representative plant growth condition from a captured raw image.
Background
In the prior art, plant growth condition surveys are generally conducted by using remote sensing technology, aerial photography is conducted by using a satellite or an unmanned aerial vehicle, and the area and the type of plants are determined based on acquired images, in the plant survey, whether the plants are overgrown or dead is also an important judgment factor in the plant survey, however, the colors of the plants are different, the outline shape is complex, the shade of the plants is changed by sunlight direction change, when the growth condition is judged by the colors, a plurality of unmatched fuzzy parts exist, and therefore, the growth condition of the plants is difficult to grasp in detail through the mode.
Disclosure of Invention
In order to solve the above problems, the present invention provides a method for measuring the growth status of a plant, which can grasp the growth status of the plant in detail, and specifically comprises the following steps:
s1: acquiring an original image of a plant growth area;
s2: dividing an original image into RGB channels;
s3: generating a processing image of a predetermined channel in the RGB-divided channel images;
s4: and (4) carrying out binarization on the processed image, and processing the image after binarization through a K nearest neighbor algorithm to obtain an area representing the plant growth condition.
Preferably, an area representing a specific growth condition of the plant is displayed superimposed on the original image.
Preferably, step S3 further includes generating a processed image by using the RGB-divided channel images alone, or generating a processed image by adding or subtracting a plurality of RGB-divided channel images.
Preferably, the plant growth condition is judged by determining whether the brightness of the area image of the plant growth condition is within a predetermined bandwidth range.
Preferably, the binarization processing in step S4 is to perform binarization processing at a predetermined threshold, and its specific steps are as follows: the binarization processing is performed by determining whether or not the luminance of the processed image is within a predetermined bandwidth, setting a first threshold value as a lower limit and a second threshold value as an upper limit, and setting a value between the first threshold value and the second threshold value as the predetermined bandwidth, and the binarization processing is performed by determining whether or not the luminance of the processed image is within the range of the bandwidth between the first threshold value and the second threshold value or a value equal to or smaller than the first threshold value and a value greater than or equal to the second threshold value.
In order to solve the above problems, the present invention provides a plant growth status measuring device capable of grasping the growth status of a plant in detail, including an image processing device and an aerial photography nobody, wherein the image processing device includes an image acquisition unit for acquiring an original image of a plant growth area, an image processing unit for performing RGB channel division on the original image, selecting a processed image of one channel generation channel, and performing binarization processing on the processed image at a predetermined threshold value to obtain a monochrome image, a calculation unit for processing the binarized image by a K-nearest neighbor algorithm, and a visualization unit for superimposing and displaying an area of a specific growth status of the plant on the original image.
Preferably, the image processing unit may generate the processed image by using the RGB-divided channel images alone, or by adding or subtracting a plurality of the RGB-divided channel images.
Preferably, the plant growth condition is judged by determining whether the brightness of the area image of the plant growth condition is within a predetermined bandwidth range.
Preferably, the binarization processing is to perform binarization processing with a predetermined threshold, and the specific steps are as follows: the binarization processing is performed by determining whether or not the luminance of the processed image is within a predetermined bandwidth, setting a first threshold value as a lower limit and a second threshold value as an upper limit, and setting a value between the first threshold value and the second threshold value as the predetermined bandwidth, and the binarization processing is performed by determining whether or not the luminance of the processed image is within the range of the bandwidth between the first threshold value and the second threshold value or a value equal to or smaller than the first threshold value and a value greater than or equal to the second threshold value.
The technical scheme of the invention has the following beneficial effects: the RGB channel division and binarization processing are carried out on the original image of the plant growth area, the area where the plant grows and the specific growth condition are obtained, and the specific growth condition of the plant can be mastered in more detail.
Drawings
The invention further explains the method for measuring the plant growth condition by the specific embodiment and the attached drawings.
FIG. 1 is a device for measuring the growth of a plant according to the present invention;
FIG. 2 is a flowchart of a method for measuring the growth state of a plant according to the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings and the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, the image processing apparatus 100 processes an original image in which an area for determining the growth condition of a plant is captured, and determines an area representing a specific growth condition of the plant in the original image. Shooting can be carried out by plane using the unmanned aerial vehicle 200, and the unmanned aerial vehicle can fly and take a picture in the wetland, mountain area, coastline and other places that the observer is difficult to get into.
The image acquiring unit 101 acquires data of an original image in which an area for determining the growth condition of a plant is captured (step S1), and when the image acquiring unit 110 acquires the original image, the image processing unit 102 performs RGB channel division on the original image (step S2), and after performing the RGB division, the image processing unit 102 selects a processed image of a channel generation channel from among the RGB divided channel images (step S3). The image processing unit 102 subjects the processed image to binarization processing at a predetermined threshold value to obtain a monochrome image (step 4), and roughly estimates an area where the plant is overgrown and an area where the plant is estimated to be dead.
A specific step of performing binarization processing at a predetermined threshold value is to perform binarization processing by determining whether or not the luminance (gradation value) of the processed image is within a predetermined bandwidth range. Specifically, a first threshold value as a lower limit and a second threshold value as an upper limit are set, and a value between the first threshold value and the second threshold value is set as a predetermined bandwidth. Then, the binarization process is performed by determining whether it is within a range of a bandwidth between the first threshold value and the second threshold value or a value equal to or smaller than the first threshold value and a value greater than or equal to the second threshold value.
After the binarization processing described above is performed, the calculation unit 103 processes the binarized image by the K-nearest neighbor algorithm. In determining the class of a graph, the K-nearest neighbor method refers to K neighboring graphs. Then, it is determined that a certain parcel belongs to the category having the largest number K of adjacent parcels. The binary image is processed by the K nearest neighbor algorithm, the noise of the region of the binary image, which is estimated to have the plant overgrowth, and the region of the binary image, which is estimated to have the plant death, can be reduced, the region outline can be determined, and the regions with undefined colors can be correctly classified, so that the region of the plant overgrowth and the region of the binary image, which is estimated to have the plant death, can be accurately determined.
The image processing apparatus 100 further includes a visualization unit 104 that is output as an image, and the visualization unit 104 overlaps and displays regions of a specific growth condition of plants (a region where plants are overgrown and a region where plants are dead) on the original image, thereby visualizing the growth condition of plants more.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein.
Furthermore, it should be understood that although the present description refers to embodiments, not every embodiment may contain only a single embodiment, and such description is for clarity only, and those skilled in the art should integrate the description, and the embodiments may be combined as appropriate to form other embodiments understood by those skilled in the art.

Claims (9)

1. A method for measuring the growth condition of a plant is characterized by comprising the following steps:
s1: acquiring an original image of a plant growth area;
s2: dividing an original image into RGB channels;
s3: generating a processing image of a predetermined channel in the RGB-divided channel images;
s4: and (4) carrying out binarization on the processed image, and processing the image after binarization through a K nearest neighbor algorithm to obtain an area representing the plant growth condition.
2. The method according to claim 1, wherein a region showing a specific growth state of said plant is superimposed on said original image.
3. The method according to claim 1, wherein the step S3 further comprises generating the processed image by using the RGB divided channel images alone, or generating the processed image by adding or subtracting a plurality of the RGB divided channel images.
4. A method for determining plant growth status according to claims 1-3, wherein said plant growth status is determined by determining whether the brightness of the image of the area of said plant growth status is within a predetermined bandwidth.
5. The method for determining plant growth according to claim 1, wherein the binarization processing in step S4 is a binarization processing performed at a predetermined threshold, and the method comprises the following steps: the binarization processing is performed by determining whether or not the luminance of the processed image is within a predetermined bandwidth, setting a first threshold value as a lower limit and a second threshold value as an upper limit, and setting a value between the first threshold value and the second threshold value as the predetermined bandwidth, and the binarization processing is performed by determining whether or not the luminance of the processed image is within the range of the bandwidth between the first threshold value and the second threshold value or a value equal to or smaller than the first threshold value and a value greater than or equal to the second threshold value.
6. The device for measuring the plant growth condition is characterized by comprising an image processing device and an aerial photography unmanned part, wherein the image processing device comprises an image acquisition unit, an image processing unit, a calculation unit and a visualization unit, the image acquisition unit is used for acquiring an original image of a plant growth area, the image processing unit is used for dividing the original image into RGB channels, selecting one channel to generate a processed image of the channel, carrying out binarization processing on the processed image by a preset threshold value to obtain a monochrome image, the calculation unit processes the binarized image by a K nearest neighbor algorithm, and the visualization unit overlaps and displays the area of the specific growth condition of the plant on the original image.
7. The apparatus for measuring plant growth according to claim 6, wherein the image processing unit generates the processed image by using the RGB divided channel images alone, or by adding or subtracting a plurality of the RGB divided channel images.
8. The apparatus for measuring plant growth status according to claims 6-7, wherein said plant growth status is determined by determining whether the brightness of the area image of said plant growth status is within a predetermined bandwidth.
9. The apparatus for measuring plant growth according to claim 6, wherein the binarization process is a binarization process performed at a predetermined threshold value, and comprises the following steps: the binarization processing is performed by determining whether or not the luminance of the processed image is within a predetermined bandwidth, setting a first threshold value as a lower limit and a second threshold value as an upper limit, and setting a value between the first threshold value and the second threshold value as the predetermined bandwidth, and the binarization processing is performed by determining whether or not the luminance of the processed image is within the range of the bandwidth between the first threshold value and the second threshold value or a value equal to or smaller than the first threshold value and a value greater than or equal to the second threshold value.
CN202010901243.8A 2020-09-01 2020-09-01 Method and device for measuring plant growth condition Pending CN112084921A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010901243.8A CN112084921A (en) 2020-09-01 2020-09-01 Method and device for measuring plant growth condition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010901243.8A CN112084921A (en) 2020-09-01 2020-09-01 Method and device for measuring plant growth condition

Publications (1)

Publication Number Publication Date
CN112084921A true CN112084921A (en) 2020-12-15

Family

ID=73732742

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010901243.8A Pending CN112084921A (en) 2020-09-01 2020-09-01 Method and device for measuring plant growth condition

Country Status (1)

Country Link
CN (1) CN112084921A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102564593A (en) * 2011-12-30 2012-07-11 河海大学常州校区 Plant growth condition monitoring system based on compute vision and internet of things
CN102550374A (en) * 2012-03-18 2012-07-11 四川农业大学 Crop irrigation system combined with computer vision and multi-sensor
CN105574897A (en) * 2015-12-07 2016-05-11 中国科学院合肥物质科学研究院 Crop growth situation monitoring Internet of Things system based on visual inspection
CN106504258A (en) * 2016-08-31 2017-03-15 北京农业信息技术研究中心 A kind of leaf image extracting method and device
CN110849262A (en) * 2019-10-17 2020-02-28 中国科学院遥感与数字地球研究所 Vegetation phenotype structure parameter measuring method, device and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102564593A (en) * 2011-12-30 2012-07-11 河海大学常州校区 Plant growth condition monitoring system based on compute vision and internet of things
CN102550374A (en) * 2012-03-18 2012-07-11 四川农业大学 Crop irrigation system combined with computer vision and multi-sensor
CN105574897A (en) * 2015-12-07 2016-05-11 中国科学院合肥物质科学研究院 Crop growth situation monitoring Internet of Things system based on visual inspection
CN106504258A (en) * 2016-08-31 2017-03-15 北京农业信息技术研究中心 A kind of leaf image extracting method and device
CN110849262A (en) * 2019-10-17 2020-02-28 中国科学院遥感与数字地球研究所 Vegetation phenotype structure parameter measuring method, device and system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
李莎: "基于计算机视觉的生长期苹果识别和直径变化分析研究", 《万方数据》 *
蔡利梅 王利娟: "《数字图像处理》", 31 August 2014, 中国矿业大学出版社 *
陈兵旗: "《实用数字图像处理与分析 第2版》", 28 February 2014, 中国农业大学出版社 北京 *

Similar Documents

Publication Publication Date Title
US11869192B2 (en) System and method for vegetation modeling using satellite imagery and/or aerial imagery
EP3534326A1 (en) Method and apparatus for merging infrared image and visible light image
US8285050B2 (en) House change judging method and device using color gradation and altitude values of image polygon data
CN109584170B (en) Underwater image restoration method based on convolutional neural network
CN106875437B (en) RGBD three-dimensional reconstruction-oriented key frame extraction method
CN102768757B (en) Remote sensing image color correcting method based on image type analysis
EP2966430A1 (en) Unevenness inspection system, unevenness inspection method, and unevenness inspection program
CN112365467B (en) Foggy image visibility estimation method based on single image depth estimation
CN108052950A (en) A kind of segmentation of electric melting magnesium furnace dynamic flame and feature extracting method based on MIA
US9639958B2 (en) Synthetic colorization of real-time immersive environments
CN101876993B (en) Method for extracting and retrieving textural features from ground digital nephograms
Salih et al. Adaptive local exposure based region determination for non-uniform illumination and low contrast images
CN112084921A (en) Method and device for measuring plant growth condition
Imenes et al. A deep learning approach for automated fault detection on solar modules using image composites
CN112067118B (en) Illumination intensity detection method, device, equipment and medium based on satellite cloud picture
CN111159622B (en) Multi-parameter fusion air quality spatial interpolation method and system for missing data
JP2022066907A (en) Information processing device, information processing method, control program and recording medium
CN105118432A (en) Alternative-point-collection-mode-based LED display screen correction method
KR101370545B1 (en) Method for Conducting Selectively Image Improving Treatment Based on Automatical Image Data Analysis
US8811672B2 (en) Image processing
Li et al. Generating" Cloud free" and" Cloud-Shadow free" mosaic for SPOT panchromatic images
CN110855467A (en) Network comprehensive situation prediction method based on computer vision technology
Li-jie et al. Automatic Image Segmentation Base on Human Color Perceptions
EP2625669B1 (en) Image processing
US11908298B2 (en) Smoke detection system and smoke detection method

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

Application publication date: 20201215

RJ01 Rejection of invention patent application after publication