CN107730471A - A kind of leaf image color antidote and device for rice shoot Growing state survey - Google Patents
A kind of leaf image color antidote and device for rice shoot Growing state survey Download PDFInfo
- Publication number
- CN107730471A CN107730471A CN201711013630.2A CN201711013630A CN107730471A CN 107730471 A CN107730471 A CN 107730471A CN 201711013630 A CN201711013630 A CN 201711013630A CN 107730471 A CN107730471 A CN 107730471A
- Authority
- CN
- China
- Prior art keywords
- color
- image
- rgb color
- color value
- reference colour
- 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
Links
- 235000007164 Oryza sativa Nutrition 0.000 title claims abstract description 68
- 235000009566 rice Nutrition 0.000 title claims abstract description 68
- 239000000729 antidote Substances 0.000 title claims abstract description 10
- 240000007594 Oryza sativa Species 0.000 title 1
- 238000012937 correction Methods 0.000 claims abstract description 75
- 241000209094 Oryza Species 0.000 claims abstract description 67
- 239000003086 colorant Substances 0.000 claims description 29
- 238000000034 method Methods 0.000 claims description 24
- 238000004590 computer program Methods 0.000 claims description 21
- 230000004075 alteration Effects 0.000 claims description 19
- 230000001052 transient effect Effects 0.000 claims description 8
- QDOXWKRWXJOMAK-UHFFFAOYSA-N dichromium trioxide Chemical group O=[Cr]O[Cr]=O QDOXWKRWXJOMAK-UHFFFAOYSA-N 0.000 claims description 5
- 238000004891 communication Methods 0.000 claims description 3
- 230000005055 memory storage Effects 0.000 claims description 2
- 238000004458 analytical method Methods 0.000 abstract description 6
- 235000012055 fruits and vegetables Nutrition 0.000 description 4
- 238000005286 illumination Methods 0.000 description 4
- 238000003384 imaging method Methods 0.000 description 4
- 239000011159 matrix material Substances 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 3
- 230000007704 transition Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 235000013311 vegetables Nutrition 0.000 description 2
- 241000208340 Araliaceae Species 0.000 description 1
- 241000196324 Embryophyta Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 241000607479 Yersinia pestis Species 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 201000010099 disease Diseases 0.000 description 1
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- NJPPVKZQTLUDBO-UHFFFAOYSA-N novaluron Chemical compound C1=C(Cl)C(OC(F)(F)C(OC(F)(F)F)F)=CC=C1NC(=O)NC(=O)C1=C(F)C=CC=C1F NJPPVKZQTLUDBO-UHFFFAOYSA-N 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/90—Determination of colour characteristics
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10024—Color image
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30232—Surveillance
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Image Processing (AREA)
Abstract
The present invention provides a kind of leaf image color antidote and device for rice shoot Growing state survey, first RGB color value of the color of image of the correction reference colour shot by obtaining predetermined time, the predetermined time are the minimum shooting time of the color of image distortion level of correction reference colour;Obtain the second RGB color value of the color of image of the correction reference colour of any instant shooting;Compensation coefficient is obtained according to the first RGB color value and the second RGB color value;The color of the rice shoot leaf image shot according to compensation coefficient to any instant is corrected.Above-mentioned correction is implemented to the color of rice shoot leaf image of different time shooting, so as to allow the color of rice shoot leaf image that different time shoots to keep the cross-color that degree is identical and degree is minimum, ensure that the accuracy of the analysis to seedling growth situation.
Description
Technical field
The present invention relates to technical field of image processing, more particularly, to a kind of blade figure for rice shoot Growing state survey
As color antidote and device.
Background technology
China is as vegetables production and consumption big country, about 680,000,000,000 plants of vegetables nursery annual requirement, wherein due to bad seedling, lacking
Cultivation rate is mended caused by seedling and reaches 5%-10%, by manually seedbed seedling growth situation being differentiated and being managed labor intensity be present
Greatly, the problems such as lacking unified standard and increase pest and disease damage propagation risk, therefore realize the automation of fruits and vegetables seedbed monitoring management
Embodiment, the sustainable development for China's fruits and vegetables industry are significant.
High-quality rice shoot is the basis that fruits and vegetables are high-quality, get bumper crops, and routine observation leaf appearance feature understands seedling growth situation, with
Implement corresponding agronomy management, be the important process in fruits and vegetables seedling raising process.At present, manual work specification is used for reference, passes through shooting
The color of device dynamic acquisition rice shoot leaf image information particularly rice shoot blade, and signature analysis is carried out to it, it is to realize seedling
The important channel that seedling upgrowth situation monitors automatically.
However, the color serious distortion of the undesirable rice shoot leaf image that can cause to shoot of the illumination condition of rice shoot blade,
Influence the judgement to seedling growth situation;Importantly, the illumination condition of rice shoot blade is influenceed by solar irradiation change, with
Time changes in dynamic fluctuation, causes in the different time, the light when shooting the image of rice shoot blade suffered by rice shoot blade
It is different according to condition, thus cause the cross-color degree of the rice shoot leaf image of different time shooting different, due to being given birth to rice shoot
The analysis of long situation relies on the color of the rice shoot leaf image of shooting, so as to the color of the rice shoot leaf image of different time shooting
There is different degrees of distortion, have impact on the accuracy of the analysis to seedling growth situation.
The content of the invention
In order to overcome above mentioned problem or solve the above problems at least in part, the present invention provides one kind and is directed to rice shoot growing way
The leaf image color antidote and device of monitoring.
According to an aspect of the present invention, there is provided a kind of leaf image color antidote for rice shoot Growing state survey,
Including:The first RGB color value of the color of image of the correction reference colour of predetermined time shooting is obtained, the predetermined time is marked for correction
The minimum shooting time of the color of image distortion level of quasi- color;Obtain the color of image of the correction reference colour of any instant shooting
Second RGB color value;Compensation coefficient is obtained according to the first RGB color value and the second RGB color value;According to compensation coefficient to described
The color of the rice shoot leaf image of any instant shooting is corrected.
Wherein, it is leaf green to correct reference colour.
Wherein, compensation coefficient is obtained according to the first RGB color value and the second RGB color value, including:According to the first RGB face
The R values of the R values of colour and the second RGB color value obtain the first coefficient;According to the G values and the second RGB color of the first RGB color value
The G values of value obtain the second coefficient;3rd coefficient is obtained according to the B values of the B values of the first RGB color value and the second RGB color value;Will
First coefficient, the second coefficient and the 3rd coefficient composition compensation coefficient.
Wherein, the color of the rice shoot leaf image shot according to compensation coefficient to any instant is corrected, including:
The RGB color value of each pixel is adjusted in the rice shoot leaf image shot according to compensation coefficient to any instant.
Wherein, the RGB color of each pixel in the rice shoot leaf image shot to any instant according to compensation coefficient
Value is adjusted, including:To the RGB color value of any pixel in the rice shoot leaf image of any instant shooting, according to the
The R values of the RGB color value of any pixel of one coefficient adjustment, according to the G values of the RGB color value of any pixel of the second coefficient adjustment,
According to the B values of the RGB color value of the 3rd any pixel of coefficient adjustment.
Wherein, also wrapped before the first RGB color value of any pixel in the image of the reference colour of acquisition predetermined time shooting
Include:Obtain the color of image every the correction reference colour of preset time shooting;Calculate correction reference colour each color of image with
Correct the aberration of the true colors of reference colour;The minimum color of image of the aberration of true colors with correcting reference colour is corresponding
Shooting time is as predetermined time.
Wherein, the color and the aberration of the true colors of correction reference colour in each image of correction reference colour, bag are calculated
Include:Any image color for correcting reference colour, using any image color as target image color, obtain target image face
The RGB color value of color;The RGB color value of target image color is converted into the tristimulus values of target image color, correction is marked
The RGB color value of the true colors of quasi- color is converted to the tristimulus values of the true colors of correction reference colour;According to target image face
The tristimulus values of the tristimulus values of color and the true colors of correction reference colour, calculates target image color with correcting the true of reference colour
The aberration of solid color.
Another aspect of the present invention, there is provided a kind of leaf image color apparatus for correcting for rice shoot Growing state survey, including:
At least one processor;And at least one memory being connected with the processor communication, wherein:The memory storage has
Can be by the programmed instruction of the computing device, the processor calls described program instruction to perform above-mentioned method.
Another aspect of the present invention, there is provided a kind of computer program product, the computer program product are non-including being stored in
Computer program in transitory computer readable storage medium, the computer program include programmed instruction, when the programmed instruction quilt
When computer performs, computer is set to perform above-mentioned method.
Another aspect of the present invention, there is provided a kind of non-transient computer readable storage medium storing program for executing, the non-transient computer are readable
Storage medium stores computer program, and the computer program makes computer perform above-mentioned method.
A kind of leaf image color antidote and device for rice shoot Growing state survey provided by the invention, passes through acquisition
First RGB color value of the color of image of the correction reference colour of predetermined time shooting, the predetermined time are the figure of correction reference colour
As the shooting time that cross-color degree is minimum;Obtain the 2nd RGB of the color of image of the correction reference colour of any instant shooting
Color value;Compensation coefficient is obtained according to the first RGB color value and the second RGB color value;According to compensation coefficient to it is described any when
The color for carving the rice shoot leaf image of shooting is corrected;On the color of the rice shoot leaf image shot to different time is implemented
Correction is stated, so as to allow the color of rice shoot leaf image that different time shoots to keep degree is identical and degree is minimum color to lose
Very, it ensure that the accuracy of the analysis to seedling growth situation.
Brief description of the drawings
, below will be to embodiment or prior art in order to illustrate more clearly of technical scheme of the invention or of the prior art
The required accompanying drawing used is briefly described in description, it should be apparent that, drawings in the following description are the one of the present invention
A little embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to these
Accompanying drawing obtains other accompanying drawings.
Fig. 1 is the flow according to the leaf image color antidote for rice shoot Growing state survey of the embodiment of the present invention
Figure;
Fig. 2 is the schematic diagram according to the seedbed rice shoot Growing state survey vision system of the embodiment of the present invention.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached in the embodiment of the present invention
Figure, the technical scheme in the present invention is clearly and completely described, it is clear that described embodiment is a part of the invention
Embodiment, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making wound
The every other embodiment obtained under the premise of the property made work, belongs to the scope of protection of the invention.
In one embodiment of the invention, with reference to figure 1, there is provided a kind of leaf image color for rice shoot Growing state survey
Antidote, including:S11, the first RGB color value of the color of image of the correction reference colour of predetermined time shooting is obtained, this is pre-
If the moment is the minimum shooting time of the color of image distortion level of correction reference colour;S12, obtain the correction of any instant shooting
Second RGB color value of the color of image of reference colour;S13, correction is obtained according to the first RGB color value and the second RGB color value
Coefficient;S14, the color of the rice shoot leaf image shot according to compensation coefficient to any instant are corrected.
Wherein, it is leaf green to correct reference colour.
Specifically, the method encoded to color is referred to as color space or colour gamut, the color of any color is empty
Between all may be defined to fixed a numeral or variable.Only one kind in numerous color spaces, RGB color are empty for RGB color
Between in, any one color can be obtained by red, green and blueness superposition, and red, green and blueness are also known as three primary colors
Light, represent it is Red (being abbreviated as R), Green (being abbreviated as G) and Blue (being abbreviated as B), therefore, any one face respectively with English
Color can be recorded and expressed by one group of RGB color value, and RGB color value has three variables, wherein, R values represent the strong of red
Degree, G values represent the intensity of green, and B values represent the intensity of blueness.
The illumination condition of rice shoot blade is influenceed by solar irradiation change, is changed with the time in dynamic fluctuation, is caused
The different time, illumination condition of the filming apparatus when shooting the image of rice shoot blade suffered by rice shoot blade is different, thus causes
The cross-color degree of the rice shoot leaf image of different time shooting is different.Because filming apparatus is generally adopted by lens imaging
Principle, lens imaging exist one it is serious the defects of, cause cross-color inevitable, but exist a cross-color degree
At the time of minimum, at the moment, the image of shooting is optimal image.
In the present embodiment, a certain reference colour is chosen as correction reference colour, due to leaf green in ColorChecker colour tables
(Foliage) dominant wavelength 540nm, its visible reflectance characteristic is close with rice shoot blade, therefore using leaf green as rice shoot blade
Correction reference colour, obtain shot at the time of cross-color degree minimum correction reference colour color of image RGB color
Value, while the RGB color value of the color of image of the correction reference colour shot at any one time is obtained, pass through the two above moment
The RGB color of the color of image of correction reference colour is worth to be rectified to what the color of the image of shooting of any of the above-described moment was corrected
Positive coefficient, to the color of the rice shoot leaf image shot in any instant, corrected using compensation coefficient, obtain color mistake
True degree is minimum, that is, the image shot under conditions of optimal imaging effect.
In the present embodiment, in order to guarantee to shoot the image and rice shoot blade of correction reference colour in real time in synchronization
Image, it can realize that in the system, camera pedestal is located at seedbed by seedbed rice shoot Growing state survey vision system as shown in Figure 2
Top, Standard colour board is placed near seedbed, there is correction reference colour, video camera adjustable angle, to protect on Standard colour board
Card monitoring scope as big as possible, video camera can photograph Standard colour board in the shooting visual field of any angle, so, in office
When quarter shooting photo in can photograph simultaneously correction reference colour image and rice shoot leaf image.
The color of image for the correction reference colour that the present embodiment is shot by obtaining at the time of cross-color degree minimum
RGB color value and the RGB color value for obtaining the color of image for correcting reference colour shot at any one time, to obtain correction system
Number, the color for reusing rice shoot leaf image of the compensation coefficient to being shot in any instant are corrected, and obtain cross-color
Degree is minimum, that is, the image shot under conditions of optimal imaging effect;To the rice shoot leaf of different time shooting
The color of picture implements above-mentioned correction, so as to which the color of rice shoot leaf image for allowing different time to shoot keeps degree phase
The minimum cross-color of same and degree, ensure that the accuracy of the analysis to seedling growth situation.
Based on above example, compensation coefficient is obtained according to the first RGB color value and the second RGB color value, including:According to
The R values of the R values of first RGB color value and the second RGB color value obtain the first coefficient;According to the G values of the first RGB color value and
The G values of two RGB color values obtain the second coefficient;The is obtained according to the B values of the B values of the first RGB color value and the second RGB color value
Three coefficients;First coefficient, the second coefficient and the 3rd coefficient are formed into compensation coefficient.
Specifically, RGB color value has three variables, R values represent the intensity of red, and G values represent the intensity of green, B value generations
The intensity of table blueness;It is corresponding respectively to obtain the first coefficient, second by the R colors in two RGB color values, G values and B values
Coefficient and the 3rd coefficient, then compensation coefficient is formed by the first coefficient, the second coefficient and the 3rd coefficient.
First coefficient, the second coefficient and the 3rd coefficient can be obtained by following formula:
Wherein, JRFor the first coefficient, JGFor the second coefficient, JBFor the 3rd coefficient, R'FFor the R values of the first RGB color value, G'F
For the G values of the first RGB color value, B'FFor the B values of the first RGB color value, RFFor the R values of the second RGB color value, GFFor second
The G values of RGB color value, BFFor the B values of the second RGB color value.
Based on above example, the color of the rice shoot leaf image shot according to compensation coefficient to any instant is carried out
Correction, including:The RGB color value of each pixel is entered in the rice shoot leaf image shot according to compensation coefficient to any instant
Row adjustment.
Wherein, the RGB color of each pixel in the rice shoot leaf image shot to any instant according to compensation coefficient
Value is adjusted, including:To the RGB color value of any pixel in the rice shoot leaf image of any instant shooting, according to the
The R values of the RGB color value of any pixel of one coefficient adjustment, according to the G values of the RGB color value of any pixel of the second coefficient adjustment,
According to the B values of the RGB color value of the 3rd any pixel of coefficient adjustment.
Specifically, because the RGB color value of each pixel in rice shoot leaf image is different, compensation coefficient pair need to be used
The RGB color value of each pixel is adjusted, during being adjusted to the RGB color value of each pixel, according to the first system
Number adjusts the R values of the RGB color values of any pixels, according to the G values of the RGB color value of any pixel of the second coefficient adjustment, according to
The B color values of the RGB color value of the 3rd any pixel of coefficient adjustment, finally obtain the image after correction.
For a certain pixel, the RGB color value (R' of the pixel after correctionL, G'L, B'L) shot by any instant
Rice shoot leaf image in the pixel RGB color value (RL, GL, BL) adjustment acquisition, it is as follows to adjust formula:
Wherein, JRFor the first coefficient, JGFor the second coefficient, JBFor the 3rd coefficient, RLFor the rice shoot of any instant shooting
The R values of the RGB color value of a certain pixel, G in leaf imageLFor a certain picture in the rice shoot leaf image of any instant shooting
The G values of the RGB color value of member, BLFor the B of the RGB color value of a certain pixel in the rice shoot leaf image of any instant shooting
Value.
Based on above example, the first RGB color of any pixel in the image for the reference colour for obtaining predetermined time shooting
Before value, in addition to:Obtain the color of image every the correction reference colour of preset time shooting;Calculate each of correction reference colour
The aberration of color of image and the true colors of correction reference colour;By the image that the aberration of the true colors with correcting reference colour is minimum
Shooting time is as predetermined time corresponding to color.
Specifically, the degree of cross-color may be embodied in the size of aberration, it is true with correction reference colour by finding
Shooting time corresponding to the minimum color of image of the aberration of color, at the time of to determine cross-color degree minimum.The present embodiment
In, per at regular intervals shooting correction reference colour image, calculate in each image correct reference colour color with correction
The aberration of the true colors of reference colour, so as to find and correct the minimum color of image of the aberration of the true colors of reference colour, with
This finds the time for shooting the image, the time minimum as cross-color degree.
Based on above example, the color and the true colors of correction reference colour in each image of correction reference colour are calculated
Aberration, including:Any image color for correcting reference colour, using any image color as target image color, obtain
The RGB color value of target image color;The RGB color value of target image color is converted into the tristimulus of target image color
Value, the RGB color value for the true colors for correcting reference colour is converted to the tristimulus values of the true colors of correction reference colour;According to
The tristimulus values of the tristimulus values of target image color and the true colors of correction reference colour, calculates target image color and correction
The aberration of the true colors of reference colour.
Specifically, the aberration between two kinds of colors is calculated, and need to be by the tristimulus values of two kinds of colors, tristimulus values is CIE-
It is worth under XYZ color space corresponding to three primary colours, transformational relation is present with RGB color value, transition matrix between the two can be passed through
Realize conversion between the two, in the present embodiment, the RGB color value for the color of image for correcting reference colour is converted into correction standard
The tristimulus values of the color of image of color, the RGB color value for the true colors for correcting reference colour is converted into the true of correction reference colour
The tristimulus values of solid color, the true face of the color of image and correction reference colour of correction reference colour is calculated by two tristimulus values
Aberration between color.
Wherein, between the tristimulus values (X, Y, Z) of a certain color of image and the RGB color value (R, G, B) of the color of image
Transformational relation determined by following formula:
Wherein, C is transition matrix, and X is the X values of the tristimulus values of color of image, and Y is the Y of the tristimulus values of color of image
Value, Z are the Z values of the tristimulus values of color of image, and R is the R values of the RGB color value of color of image, and G is the RGB face of color of image
The R values of colour, B are the R values of the RGB color value of color of image.
And transition matrix
Aberration Δ E between two kinds of colors is calculated by following formula to be obtained:
Wherein, wherein Δ L*、Δa*、Δb*The difference of two kinds of color parameters respectively under L*a*b* color spaces.
Tristimulus values (X, Y, Z) and L of the same color in CIE-XYZ color spaces*a*b*Parameter value (the L of color space*,
a*, b*) between relation determined by following formula:
Wherein, X is the X values of the tristimulus values of color of image, and Y is the Y value of the tristimulus values of color of image, and Z is image face
The Z values of the tristimulus values of color, fXA, fXB, fZBThe constant determined for video camera and working flare.
As another embodiment of the present invention, there is provided a kind of leaf image color for rice shoot Growing state survey corrects dress
Put, including:At least one processor;And at least one memory being connected with the processor communication, wherein:The storage
Device is stored with can be by the programmed instruction of the computing device, and the processor calls described program instruction to perform above-mentioned each side
The method that method embodiment is provided, such as including:Obtain the first RGB of the color of image of the correction reference colour of predetermined time shooting
Color value, the predetermined time are the minimum shooting time of the color of image distortion level of correction reference colour;Any instant is obtained to clap
Second RGB color value of the color of image for the correction reference colour taken the photograph;Obtained according to the first RGB color value and the second RGB color value
Compensation coefficient;The color of the rice shoot leaf image shot according to compensation coefficient to any instant is corrected.
Another embodiment as the present invention, there is provided a kind of computer program product, the computer program product include
The computer program being stored on non-transient computer readable storage medium storing program for executing, the computer program include programmed instruction, work as program
Instruction is when being computer-executed, and computer is able to carry out the method that above-mentioned each method embodiment is provided, such as including:Obtain pre-
If the first RGB color value of the color of image of the correction reference colour of moment shooting, the predetermined time are the image of correction reference colour
The minimum shooting time of cross-color degree;Obtain the 2nd RGB face of the color of image of the correction reference colour of any instant shooting
Colour;Compensation coefficient is obtained according to the first RGB color value and the second RGB color value;According to compensation coefficient to any instant
The color of the rice shoot leaf image of shooting is corrected.
Another embodiment as the present invention, there is provided a kind of non-transient computer readable storage medium storing program for executing, the non-transient meter
Calculation machine readable storage medium storing program for executing stores computer program, and the computer program is put forward the above-mentioned each method embodiment of computer execution
The method of confession, such as including:The first RGB color value of the color of image of the correction reference colour of predetermined time shooting is obtained, this is pre-
If the moment is the minimum shooting time of the color of image distortion level of correction reference colour;Obtain the correction standard of any instant shooting
Second RGB color value of the color of image of color;Compensation coefficient is obtained according to the first RGB color value and the second RGB color value;According to
The color for the rice shoot leaf image that compensation coefficient is shot to any instant is corrected.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through
The related hardware of computer program instructions is completed, and foregoing computer program can be stored in a computer-readable storage and be situated between
In matter, the computer program upon execution, execution the step of including above method embodiment;And foregoing storage medium includes:
ROM, RAM, magnetic disc or CD etc. are various can be with the medium of store program codes.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
Realized by the mode of software plus required general hardware platform, naturally it is also possible to pass through hardware.Based on such understanding, on
The part that technical scheme substantially in other words contributes to prior art is stated to embody in the form of software product, should
Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including some fingers
Make to cause a computer equipment (can be personal computer, server, or network equipment etc.) to perform each implementation
Method described in some parts of example or embodiment.
What is finally illustrated is:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although ginseng
The present invention is described in detail according to previous embodiment, it will be understood by those within the art that:It still can be with
Technical scheme described in foregoing embodiments is modified, or equivalent substitution is carried out to which part technical characteristic;And
These modifications are replaced, and the essence of appropriate technical solution is departed from the spirit and model of various embodiments of the present invention technical scheme
Enclose.
Claims (10)
- A kind of 1. leaf image color antidote for rice shoot Growing state survey, it is characterised in that including:The first RGB color value of the color of image of the correction reference colour of predetermined time shooting is obtained, the predetermined time is described Correct the minimum shooting time of the color of image distortion level of reference colour;Obtain the second RGB color value of the color of image of the correction reference colour of any instant shooting;Compensation coefficient is obtained according to the first RGB color value and the second RGB color value;The color of the rice shoot leaf image shot according to the compensation coefficient to any instant is corrected.
- 2. according to the method for claim 1, it is characterised in that the correction reference colour is leaf green.
- 3. according to the method for claim 1, it is characterised in that described according to the first RGB color value and described second RGB color value obtains compensation coefficient, including:First coefficient is obtained according to the R values of the R values of the first RGB color value and the second RGB color value;Second coefficient is obtained according to the G values of the G values of the first RGB color value and the second RGB color value;3rd coefficient is obtained according to the B values of the B values of the first RGB color value and the second RGB color value;First coefficient, second coefficient and the 3rd coefficient are formed into the compensation coefficient.
- 4. according to the method for claim 3, it is characterised in that described that any instant is clapped according to the compensation coefficient The color for the rice shoot leaf image taken the photograph is corrected, including:The RGB color value of each pixel is carried out in the rice shoot leaf image shot according to the compensation coefficient to any instant Adjustment.
- 5. according to the method for claim 4, it is characterised in that described that any instant is clapped according to the compensation coefficient The RGB color value of each pixel is adjusted in the rice shoot leaf image taken the photograph, including:To the RGB color value of any pixel in the rice shoot leaf image of any instant shooting, adjusted according to first coefficient The R values of the RGB color value of whole any pixel, according to the G of the RGB color value of any pixel described in second coefficient adjustment Value, according to the B values of the RGB color value of any pixel described in the 3rd coefficient adjustment.
- 6. according to the method for claim 1, it is characterised in that the figure of the correction reference colour for obtaining predetermined time shooting As color the first RGB color value before, in addition to:Obtain the color of image every the correction reference colour of preset time shooting;Calculate the aberration of each color of image and the true colors of the correction reference colour of the correction reference colour;Shooting time that the minimum color of image of the aberration of true colors with the correction reference colour is corresponding is as described pre- If the moment.
- 7. according to the method for claim 1, it is characterised in that in each image for calculating the correction reference colour Color and the aberration of the true colors of the correction reference colour, including:For any image color of the correction reference colour, using any image color as target image color, obtain The RGB color value of the target image color;The RGB color value of the target image color is converted to the tristimulus values of the target image color, by the correction The RGB color value of the true colors of reference colour is converted to the tristimulus values of the true colors of the correction reference colour;According to the tristimulus values of the target image color and the tristimulus values of the true colors of the correction reference colour, institute is calculated State target image color and the aberration of the true colors of the correction reference colour.
- A kind of 8. leaf image color apparatus for correcting for rice shoot Growing state survey, it is characterised in that including:At least one processor;And at least one memory being connected with the processor communication, wherein:The memory storage have can by the programmed instruction of the computing device, the processor call described program instruction with Perform the method as described in claim 1 to 7 is any.
- 9. a kind of computer program product, it is characterised in that the computer program product includes being stored in non-transient computer Computer program on readable storage medium storing program for executing, the computer program include programmed instruction, when described program is instructed by computer During execution, the computer is set to perform the method as described in claim 1 to 7 is any.
- 10. a kind of non-transient computer readable storage medium storing program for executing, it is characterised in that the non-transient computer readable storage medium storing program for executing is deposited Computer program is stored up, the computer program makes the computer perform the method as described in claim 1 to 7 is any.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711013630.2A CN107730471A (en) | 2017-10-26 | 2017-10-26 | A kind of leaf image color antidote and device for rice shoot Growing state survey |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711013630.2A CN107730471A (en) | 2017-10-26 | 2017-10-26 | A kind of leaf image color antidote and device for rice shoot Growing state survey |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107730471A true CN107730471A (en) | 2018-02-23 |
Family
ID=61213709
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711013630.2A Pending CN107730471A (en) | 2017-10-26 | 2017-10-26 | A kind of leaf image color antidote and device for rice shoot Growing state survey |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107730471A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108416782A (en) * | 2018-04-19 | 2018-08-17 | 云南佳叶现代农业发展有限公司 | View-based access control model identifies and the tobacco leaf ranking method and system of illumination correction |
CN108734747A (en) * | 2018-05-23 | 2018-11-02 | 北京三才脉度网络科技有限公司 | A kind of method of long-range correction picture aberration |
CN108766084A (en) * | 2018-05-03 | 2018-11-06 | 深圳市鹰硕技术有限公司 | Show the teaching method and device of the simulation chemical experiment of flame reaction |
CN110017816A (en) * | 2019-04-28 | 2019-07-16 | 新疆师范大学 | It is a kind of to take photo by plane the image flame detection device of measurement suitable for low-to-medium altitude aircraft |
CN112215765A (en) * | 2020-09-08 | 2021-01-12 | 北京农业智能装备技术研究中心 | Robot vision color correction method and device under agricultural natural light environment |
CN113923429A (en) * | 2021-12-16 | 2022-01-11 | 成都索贝数码科技股份有限公司 | Color correction method based on color card |
CN113920037A (en) * | 2021-12-14 | 2022-01-11 | 极限人工智能有限公司 | Endoscope picture correction method, device, correction system and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1216423A (en) * | 1997-07-10 | 1999-05-12 | 三星电子株式会社 | Color correction apparatus and method in image system |
CN101881726A (en) * | 2010-06-18 | 2010-11-10 | 北京农业智能装备技术研究中心 | Nondestructive detection method for comprehensive character living bodies of plant seedlings |
CN103354087A (en) * | 2013-07-01 | 2013-10-16 | 广东威创视讯科技股份有限公司 | Method and system for color correction of tiled display device |
CN104217409A (en) * | 2014-09-30 | 2014-12-17 | 南京汇川工业视觉技术开发有限公司 | Image color correction method based on simulated annealing optimization algorithm |
US20160078638A1 (en) * | 2014-09-11 | 2016-03-17 | Socionext Inc. | Image processing device, method, and imaging device |
CN106682570A (en) * | 2016-11-04 | 2017-05-17 | 东莞市隆声智能科技有限公司 | Method and device for monitoring growing situations of plants |
-
2017
- 2017-10-26 CN CN201711013630.2A patent/CN107730471A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1216423A (en) * | 1997-07-10 | 1999-05-12 | 三星电子株式会社 | Color correction apparatus and method in image system |
CN101881726A (en) * | 2010-06-18 | 2010-11-10 | 北京农业智能装备技术研究中心 | Nondestructive detection method for comprehensive character living bodies of plant seedlings |
CN103354087A (en) * | 2013-07-01 | 2013-10-16 | 广东威创视讯科技股份有限公司 | Method and system for color correction of tiled display device |
US20160078638A1 (en) * | 2014-09-11 | 2016-03-17 | Socionext Inc. | Image processing device, method, and imaging device |
CN104217409A (en) * | 2014-09-30 | 2014-12-17 | 南京汇川工业视觉技术开发有限公司 | Image color correction method based on simulated annealing optimization algorithm |
CN106682570A (en) * | 2016-11-04 | 2017-05-17 | 东莞市隆声智能科技有限公司 | Method and device for monitoring growing situations of plants |
Non-Patent Citations (1)
Title |
---|
赵玉琴: "自然光照下葡萄叶片图像的颜色恢复与阴影检测", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108416782A (en) * | 2018-04-19 | 2018-08-17 | 云南佳叶现代农业发展有限公司 | View-based access control model identifies and the tobacco leaf ranking method and system of illumination correction |
CN108416782B (en) * | 2018-04-19 | 2023-09-26 | 云南佳叶现代农业发展有限公司 | Tobacco leaf grading method and system based on visual identification and illumination correction |
CN108766084A (en) * | 2018-05-03 | 2018-11-06 | 深圳市鹰硕技术有限公司 | Show the teaching method and device of the simulation chemical experiment of flame reaction |
CN108734747A (en) * | 2018-05-23 | 2018-11-02 | 北京三才脉度网络科技有限公司 | A kind of method of long-range correction picture aberration |
CN110017816A (en) * | 2019-04-28 | 2019-07-16 | 新疆师范大学 | It is a kind of to take photo by plane the image flame detection device of measurement suitable for low-to-medium altitude aircraft |
CN112215765A (en) * | 2020-09-08 | 2021-01-12 | 北京农业智能装备技术研究中心 | Robot vision color correction method and device under agricultural natural light environment |
CN112215765B (en) * | 2020-09-08 | 2024-06-11 | 北京农业智能装备技术研究中心 | Robot vision color correction method and device in agricultural natural light environment |
CN113920037A (en) * | 2021-12-14 | 2022-01-11 | 极限人工智能有限公司 | Endoscope picture correction method, device, correction system and storage medium |
CN113920037B (en) * | 2021-12-14 | 2022-04-12 | 极限人工智能有限公司 | Endoscope picture correction method, device, correction system and storage medium |
CN113923429A (en) * | 2021-12-16 | 2022-01-11 | 成都索贝数码科技股份有限公司 | Color correction method based on color card |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107730471A (en) | A kind of leaf image color antidote and device for rice shoot Growing state survey | |
CN104661008B (en) | The treating method and apparatus that color image quality is lifted under low light conditions | |
CN103118219B (en) | Image processing apparatus, image processing method and program product | |
CN103268596B (en) | A kind of method for reducing picture noise and making color be near the mark | |
CN108353125A (en) | Color filter array scaler | |
CN111292246B (en) | Image color correction method, storage medium, and endoscope | |
CN107197225A (en) | Color digital camera white balance correcting based on chromatic adaptation model | |
CN105261326A (en) | Display device for adjusting display color gamut and method for adjusting display color gamut | |
CN108760767A (en) | Large-size LCD Screen defect inspection method based on machine vision | |
US9736336B2 (en) | Image tone adjustment method, apparatus thereof and computer storage medium | |
CN112752023A (en) | Image adjusting method and device, electronic equipment and storage medium | |
CN102379125A (en) | Image input device | |
CN103716547A (en) | Smart mode photographing method | |
CN103491357A (en) | Auto white balance treatment method of image sensor | |
CN107820069A (en) | A kind of video monitoring equipment ISP adjustment methods | |
CN107563987A (en) | Demarcate the method and device of imaging difference | |
CN103200409A (en) | Color correction method of multi-projector display system | |
CN104680518B (en) | A kind of blue screen image cutting method based on colourity Overflow handling | |
CN105898252A (en) | Television color adjustment method and device | |
CN110570384A (en) | method and device for carrying out illumination equalization processing on scene image, computer equipment and computer storage medium | |
CN110751611A (en) | Method for calibrating display colors of endoscope system and endoscope system | |
CN102629967A (en) | Correction method for non-uniform illumination of copying device | |
Jang et al. | Adaptive color enhancement based on multi-scaled Retinex using local contrast of the input image | |
CN104599241B (en) | The colour consistency method that full automatic high efficiency calculates | |
CN106780396A (en) | A kind of method for eliminating image piece |
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: 20180223 |