CN109655426A - A kind of method and device identifying target jujube in jujube spectrum picture - Google Patents

A kind of method and device identifying target jujube in jujube spectrum picture Download PDF

Info

Publication number
CN109655426A
CN109655426A CN201910090091.5A CN201910090091A CN109655426A CN 109655426 A CN109655426 A CN 109655426A CN 201910090091 A CN201910090091 A CN 201910090091A CN 109655426 A CN109655426 A CN 109655426A
Authority
CN
China
Prior art keywords
jujube
spectrum image
polarization spectrum
polarization
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.)
Granted
Application number
CN201910090091.5A
Other languages
Chinese (zh)
Other versions
CN109655426B (en
Inventor
罗华平
孙利群
郭玲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tsinghua University
Tarim University
Original Assignee
Tsinghua University
Tarim University
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 Tsinghua University, Tarim University filed Critical Tsinghua University
Priority to CN201910090091.5A priority Critical patent/CN109655426B/en
Publication of CN109655426A publication Critical patent/CN109655426A/en
Application granted granted Critical
Publication of CN109655426B publication Critical patent/CN109655426B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/17Systems in which incident light is modified in accordance with the properties of the material investigated
    • G01N21/25Colour; Spectral properties, i.e. comparison of effect of material on the light at two or more different wavelengths or wavelength bands
    • G01N21/31Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry
    • G01N21/35Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry using infrared light
    • G01N21/3563Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry using infrared light for analysing solids; Preparation of samples therefor
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/17Systems in which incident light is modified in accordance with the properties of the material investigated
    • G01N21/25Colour; Spectral properties, i.e. comparison of effect of material on the light at two or more different wavelengths or wavelength bands
    • G01N21/31Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry
    • G01N21/35Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry using infrared light
    • G01N21/359Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry using infrared light using near infrared light
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/17Systems in which incident light is modified in accordance with the properties of the material investigated
    • G01N21/25Colour; Spectral properties, i.e. comparison of effect of material on the light at two or more different wavelengths or wavelength bands
    • G01N21/31Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry
    • G01N21/35Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry using infrared light
    • G01N2021/3595Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry using infrared light using FTIR

Landscapes

  • Physics & Mathematics (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Investigating Or Analysing Materials By Optical Means (AREA)
  • Spectrometry And Color Measurement (AREA)

Abstract

The embodiment of the invention provides a kind of method and devices of target jujube in identification jujube spectrum picture, which comprises obtains the polarization spectrum image of jujube;The size of spatial frequency based on each pixel in the polarization spectrum image enhances the target jujube in the polarization spectrum image;Target jujube is identified from the enhanced polarization spectrum image.Since related using jujube characteristic spectrum polarization and image space frequency dependence processing method enhances the feature of the target jujube in image, so that the feature of the target jujube in image becomes obvious, especially make the small grid cell size in the image obtained under the conditions of remote, complex illumination, the jujube feature of even sub-pixed mapping scale becomes obvious, it can be distinguished with the environmental background in the polarization spectrum image of jujube, small grid cell size, the even jujube of sub-pixed mapping scale can be easily identified from the polarization spectrum image of jujube.

Description

A kind of method and device identifying target jujube in jujube spectrum picture
Technical field
The present invention relates to target jujubes in quality of agricultural product detection field more particularly to a kind of identification jujube spectrum picture Method and device.
Background technique
Currently, detecting to jujube quality, mainly using the near infrared spectrum image for obtaining jujube, pass through jujube Near infrared detection model, detect the physicochemical characteristics of jujube, the quality of jujube determined further according to the physicochemical characteristics of jujube.
Wherein, in the near infrared detection model for establishing jujube, need to obtain the close of the jujube under the varying environment of magnanimity Infrared spectroscopic imaging is based on by extracting the spectral signature information of jujube in the near infrared spectrum image of the jujube from acquisition The spectral signature information of the jujube extracted and the physicochemical characteristics of the jujube, establish jujube Quality Detection model.
But in the near infrared spectrum image of the jujube of acquisition, due to small grid cell size, even sub-pixed mapping scale Corresponding red jujube image is larger by the interference of environmental background image, is not easy to identify from the near infrared spectrum image of jujube micro- Small grid cell size, the even corresponding red jujube image of sub-pixed mapping scale lead to not mention from the near infrared spectrum image of jujube Small grid cell size, even the spectral signature information of the corresponding red jujube image of sub-pixed mapping scale are taken out, and then reduces jujube product The detection accuracy of quality detection model.
Summary of the invention
In view of the above problems, the object of the present invention is to provide it is a kind of identification jujube spectrum picture in target jujube method and Device, to solve to be not easy to identify asking for the corresponding red jujube image of small grid cell size from the near infrared spectrum image of jujube Topic.
In order to solve the above technical problems, the embodiment of the present invention provides the following technical solutions:
In a first aspect, the embodiment of the present invention provides a kind of method for identifying target jujube in jujube spectrum picture, the side Method includes: the polarization spectrum image for obtaining jujube;Spatial frequency based on each pixel in the polarization spectrum image it is big It is small, the target jujube in the polarization spectrum image is enhanced;It is identified from the enhanced polarization spectrum image Target jujube.
Second aspect, the embodiment of the present invention provide a kind of method for establishing jujube Quality Detection model, which comprises Obtain the polarization spectrum image of jujube and the physicochemical characteristics of the jujube;Based on each pixel in the polarization spectrum image The size of spatial frequency enhances the target jujube in the polarization spectrum image, and the target jujube is the jujube In jujube to be identified;Target jujube is identified from the enhanced polarization spectrum image;Based on the target jujube Polarization characteristic and its corresponding physicochemical characteristics, establish jujube Quality Detection model, the polarization characteristic of the target jujube is root It is obtained from the enhanced polarization spectrum image according to the target jujube identified, the jujube Quality Detection model For detecting jujube quality.
The third aspect, the embodiment of the present invention provide a kind of method for detecting jujube quality, which comprises obtain to be checked Survey the polarization spectrum image of jujube;The size of spatial frequency based on each pixel in the polarization spectrum image, to described Jujube to be detected in polarization spectrum image is enhanced;It is identified from the enhanced polarization spectrum image to be detected red Jujube;Polarization characteristic based on the jujube to be detected and the jujube Quality Detection model pre-established, determine described to be detected red The physicochemical characteristics of jujube, wherein the polarization characteristic of the jujube to be detected is according to the jujube to be detected that identifies from the enhancing It is obtained in the polarization spectrum image afterwards, the jujube Quality Detection model is to establish jujube Quality Detection mould using above-mentioned What the method for type was established;According to the physicochemical characteristics, the quality of the jujube to be detected is determined.
Fourth aspect, the embodiment of the present invention provide a kind of device for identifying target jujube in jujube spectrum picture, the dress Setting includes: input module, is configured as obtaining the polarization spectrum image of jujube;Targets improvement module is configured as based on described The size of the spatial frequency of each pixel in polarization spectrum image increases the target jujube in the polarization spectrum image By force;Target identification module is configured as identifying target jujube from the enhanced polarization spectrum image.
5th aspect, the embodiment of the present invention provide a kind of device for establishing jujube Quality Detection model, and described device includes: Input module is configured as obtaining the polarization spectrum image of jujube and the physicochemical characteristics of the jujube;Targets improvement module is matched It is set to the size of the spatial frequency based on each pixel in the polarization spectrum image, to the mesh in the polarization spectrum image Mark jujube is enhanced, and the target jujube is the jujube to be identified in the jujube;Target identification module, be configured as from Target jujube is identified in the enhanced polarization spectrum image;Model generation module is configured as red based on the target The polarization characteristic of jujube and its corresponding physicochemical characteristics, establish jujube Quality Detection model, and the polarization characteristic of the target jujube is It is obtained from the enhanced polarization spectrum image according to the target jujube identified, the jujube Quality Detection mould Type is for detecting jujube quality.
6th aspect, the embodiment of the present invention provide a kind of device for detecting jujube quality, and described device includes: input mould Block is configured as obtaining the polarization spectrum image of jujube to be detected;Targets improvement module is configured as based on the polarization spectrum The size of the spatial frequency of each pixel in image enhances the jujube to be detected in the polarization spectrum image;Mesh Identification module is marked, is configured as identifying jujube to be detected from the enhanced polarization spectrum image;Physicochemical characteristics determine Module, the jujube Quality Detection model for being configured as the polarization characteristic based on the jujube to be detected and pre-establishing, determines institute State the physicochemical characteristics of jujube to be detected, wherein the polarization characteristic of the jujube to be detected is according to the jujube to be detected identified It is obtained from the enhanced polarization spectrum image, the jujube Quality Detection model is to establish jujube using above-mentioned What the method for Quality Detection model was established;Quality determining module is configured as being determined described to be detected according to the physicochemical characteristics The quality of jujube.
7th aspect, the embodiment of the present invention provide a kind of electronic equipment, and the electronic equipment includes: at least one processing Device;And at least one processor, the bus being connected to the processor;Wherein, the processor, memory pass through described total Line completes mutual communication;The processor is used to call program instruction in the memory, with execute said one or Method in multiple technical solutions.
Eighth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, the computer-readable storage medium Matter stores computer instruction, and the computer instruction makes the computer execute the side in said one or multiple technical solutions Method.
The method and device of target jujube in identification jujube spectrum picture provided in an embodiment of the present invention, by obtaining jujube Polarization spectrum image, and then the size of the spatial frequency based on each pixel in polarization spectrum image, to the jujube of acquisition Polarization spectrum image in target jujube enhanced, then identify target from the polarization spectrum image of enhanced jujube Jujube.Since related using jujube characteristic spectrum polarization and image space frequency dependence processing method is to the target jujube in image Feature enhanced so that the feature of the target jujube in image becomes obviously, in particular so that the small pixel in image The jujube feature of scale, even sub-pixed mapping scale becomes obvious, it might even be possible to so that obtaining under the conditions of remote, complex illumination The small grid cell size in image obtained, the jujube feature of even sub-pixed mapping scale become obviously, can be with the polarization of jujube Environmental background in spectrum picture distinguishes, therefore, can be easily from the polarization spectrum of jujube by using the above method Small grid cell size, the even jujube of sub-pixed mapping scale are identified in image.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is the flow diagram for identifying the method for target jujube in jujube spectrum picture in the embodiment of the present invention;
Fig. 2 is the polarization spectrum image one of the jujube tree part in the embodiment of the present invention;
Fig. 3 is the polarization spectrum image two of the jujube tree part in the embodiment of the present invention;
Fig. 4 is the polarization spectrum image one of the jujube tree canopy in the embodiment of the present invention;
Fig. 5 is the polarization spectrum image two of the jujube tree canopy in the embodiment of the present invention;
Fig. 6 is the polarization spectrum image three of the jujube tree canopy in the embodiment of the present invention;
Fig. 7 is the flow diagram of the method for establishing jujube Quality Detection model in the embodiment of the present invention;
Fig. 8 is the flow diagram of the method for the detection jujube quality in the embodiment of the present invention;
Fig. 9 is the structural schematic diagram for identifying the device of target jujube in jujube spectrum picture in the embodiment of the present invention;
Figure 10 is the structural schematic diagram of the device for establishing jujube Quality Detection model in the embodiment of the present invention;
Figure 11 is the structural schematic diagram of the device of the detection jujube quality in the embodiment of the present invention;
Figure 12 is the structural schematic diagram of the electronic equipment in the embodiment of the present invention.
Specific embodiment
The exemplary embodiment that the present invention will be described in more detail below with reference to accompanying drawings.Although showing the present invention in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the present invention without should be by embodiments set forth here It is limited.It is to be able to thoroughly understand the present invention on the contrary, providing these embodiments, and can be by the scope of the present invention It is fully disclosed to those skilled in the art.
The embodiment of the invention provides a kind of method of target jujube in identification jujube spectrum picture, Fig. 1 is that the present invention is real The flow diagram of the method for target jujube in the identification jujube spectrum picture in example is applied, shown in Figure 1, this method can wrap It includes:
S101: the polarization spectrum image of jujube is obtained.
In the specific implementation process, polarizing film can be added before the camera lens of spectrum camera, using the spectrum camera to jujube It is shot, to obtain the polarization spectrum image of jujube.Wherein, in order to know in more convenient polarization spectrum image from jujube Not Chu jujube, spectrum camera can be changed to EO-1 hyperion camera, jujube is shot using EO-1 hyperion camera, can be obtained The polarization spectrum image of the higher jujube of resolution ratio, to identify jujube from the polarization spectrum image of jujube.
Herein, the polarization spectrum image of jujube can be the polarization spectrum image of single angle, be also possible to multi-angle Polarization spectrum image, it is not limited here.Wherein, when the polarization spectrum image that the polarization spectrum image of jujube is single angle When, the polarization direction of polarizing film before spectrum camera camera lens need to only be turned to the direction of needs, reuse the spectrum camera to red Jujube is shot, so that it may obtain the polarization spectrum image of the single angle of jujube.When the polarization spectrum image of jujube is polygonal When the polarization spectrum image of degree, the polarised light spectrogram that following two mode obtains the multi-angle of jujube can be used but is not limited to Picture:
The first acquisition pattern: successively before rotation spectrum camera lens polarizing film polarization direction, polarizing film often turns to As soon as polarization direction shoots jujube using the spectrum camera, to obtain the polarization spectrum of the jujube of the polarization direction Image, then the polarization spectrum image of the jujube of multiple angles is overlapped.
Illustratively, it is assumed that multi-angle is 0 °, 45 °, 90 ° and 135 °, firstly, by the polarizing film before spectrum camera camera lens Polarization direction turns to 0 °, shoots the polarization spectrum image A of jujube, then, by the polarization of the polarizing film before spectrum camera camera lens Direction turns to 45 °, shoots the polarization spectrum image B of jujube, then, by the polarization direction of the polarizing film before spectrum camera camera lens 90 ° are turned to, the polarization spectrum image C of jujube is shot, followed by by the polarization direction of the polarizing film before spectrum camera camera lens turn The polarization spectrum image D that jujube is shot to 135 ° is moved, finally, by the polarization spectrum image A of jujube, the polarised light spectrogram of jujube As the polarization spectrum image D superposition of B, the polarization spectrum image C of jujube and jujube, the polarised light of the multi-angle of jujube is just obtained Spectrogram picture.
Second of acquisition pattern: jujube is shot using multi-channel spectral camera.
Specifically, can be configured to the acquisition parameters of multi-channel spectral camera, enable multi-channel spectral camera one The secondary polarization spectrum image for shooting specified multi-angle, in this way, jujube is once shot using multi-channel spectral camera, The polarization spectrum image that the multi-angle of jujube can be obtained makes the process of the polarization spectrum image of the multi-angle of acquisition jujube more It is convenient.
It can be seen that can be obtained any by using the first above-mentioned acquisition pattern or above-mentioned second of acquisition pattern The polarization spectrum image of the jujube of multi-angle, and then can be improved the multi-angle of jujube for obtaining that the feature of jujube becomes apparent The probability of polarization spectrum image.
Illustratively, Fig. 2 is the polarization spectrum image one of the jujube tree part in the embodiment of the present invention, shown in Figure 2, when When needing to obtain the polarization spectrum image of jujube tree canopy, the polarization spectrum image for the jujube tree canopy that polarization direction is 0 ° can be obtained 2a, it is also possible to obtain the polarization spectrum image 2b for the jujube tree canopy that polarization direction is 0 ° and 90 °, it is also possible to obtain jujube tree canopy Linear polarization degree (Degree of Line Polarization, DOLP) image 2c, can also obtain the polarization phase angle of jujube tree canopy Image 2d.
Additionally it should be noted that, jujube here can refer to jujube tree canopy, may also mean that single jujube tree, can also be with Refer to large area jujube garden, it is, of course, also possible to refer to other jujube regions, it is not limited here.
S102: the size of the spatial frequency based on each pixel in polarization spectrum image, in polarization spectrum image Target jujube is enhanced.
Herein, target jujube can refer to whole jujubes in the polarization spectrum image of jujube, may also mean that jujube Polarization spectrum image in specified region jujube, may also mean that the small pixel ruler in the polarization spectrum image of jujube Degree, the even jujube of sub-pixed mapping scale, it is not limited here.
In the specific implementation process, can be made based on the size of the spatial frequency of each pixel in polarization spectrum image It is handled with polarization spectrum image of the algorithm for image enhancement to jujube, the target in polarization spectrum image to enhance jujube is red The information of environmental background in the information of jujube, and the polarization spectrum image of inhibition jujube.
S103: target jujube is identified from enhanced polarization spectrum image.
Herein, since the information of the target jujube in the polarization spectrum image of enhanced jujube enhanced, environment The information of background is inhibited, therefore easily can identify target jujube from the polarization spectrum image of jujube.
As shown in the above, the method provided in an embodiment of the present invention for identifying target jujube in jujube spectrum picture, leads to The polarization spectrum image for obtaining jujube, and then the size of the spatial frequency based on each pixel in polarization spectrum image are crossed, it is right Target jujube in the polarization spectrum image of the jujube of acquisition is enhanced, then from the polarization spectrum image of enhanced jujube Identify target jujube.Since related using jujube characteristic spectrum polarization and image space frequency dependence processing method is in image The feature of target jujube enhanced so that the feature of the target jujube in image becomes obviously, in particular so that in image Small grid cell size, the jujube feature of even sub-pixed mapping scale becomes obvious, it might even be possible to so that in remote, complicated light Small grid cell size in the image obtained according under the conditions of, the jujube feature of even sub-pixed mapping scale become obviously, Neng Gouyu Environmental background in the polarization spectrum image of jujube distinguishes, therefore, can be easily from jujube by using the above method Polarization spectrum image in identify small grid cell size, the even jujube of sub-pixed mapping scale.
Based on previous embodiment, enhance for the ease of the target jujube in the polarization spectrum image to jujube, S101 May include:
S1011: multiple polarization spectrum images of jujube are obtained.
Wherein, multiple polarization spectrum images of jujube are shot under a variety of parameter presets, that is to say, that a kind of pre- Under setting parameter, spectrum camera shoots a polarization spectrum image of jujube, and under another parameter preset, spectrum camera shooting should Another polarization spectrum image of jujube.Herein, parameter preset may include: preset spectrum camera at a distance from jujube, The camera lens of preset spectrum camera is at a distance from the angle, preset on-gauge plate and jujube of horizontal plane, preset on-gauge plate and water At least one of the angle of plane, preset illumination parameter.
In practical applications, in order to obtaining the polarised light spectrogram of target jujube Yu the big jujube of environmental background difference Picture, while can be avoided influence image collecting efficiency again, Orthogonal Experiment and Design (Orthogonal can be used Experimental Design) the horizontal experiment of 5 factor 4 is carried out, to obtain multiple polarization spectrum images of jujube.Wherein, 5 because Element refer to spectrum camera at a distance from jujube, the camera lens of spectrum camera at a distance from the angle, on-gauge plate and jujube of horizontal plane, mark The angle of quasi- plate and horizontal plane, illumination parameter, 4 levels refer to 4 experiment parameters of each factor in above-mentioned 5 factor, such as: Spectrum camera is respectively 0.5 meter, 1 meter, 1.5 meters, 2 meters at a distance from jujube, and the camera lens of spectrum camera and the angle of horizontal plane divide Not Wei 1 °, 2 °, 3 °, 4 °, on-gauge plate is respectively 0.5 meter, 1 meter, 1.5 meters, 2 meters at a distance from jujube, on-gauge plate and horizontal plane Angle is respectively 1 °, 2 °, 3 °, 4 °, and the elevation angle of the sun is respectively 10 °, 30 °, 60 °, 90 °.Since orthogonal is existing There is technology, therefore details are not described herein for the specific experiment scheme for obtaining using orthogonal.Pass through orthogonal Obtained specific experiment scheme can obtain multiple polarization spectrum images of jujube.
Herein, the polarization spectrum image of jujube can be multi-angle polarized reflectance spectrum image, multi-angle polarized reflectance spectrum image Acquisition pattern in the aforementioned embodiment in detail state, details are not described herein.
S1012: target polarization spectrum picture is determined from multiple polarization spectrum images of jujube.
Wherein, the SPECTRAL DIVERSITY of the target jujube in target polarization spectrum picture and environmental background is in multiple polarised light spectrograms It is maximum as in, to identify the target jujube in image.
In addition, can will be used when obtaining target polarization spectrum picture after determining target polarization spectrum picture Preset condition be determined as target preset condition, can be directly in mesh when obtaining the polarization spectrum image of other jujubes afterwards The polarization spectrum image of other jujubes, the polarization spectrum image of the other jujubes obtained with this condition are obtained under mark preset condition In target jujube and the difference of environmental background will be bigger, convenient for the target jujube in identification image, while again without obtaining Multiple polarization spectrum images are obtained, can be improved working efficiency.
As shown in the above, the method provided in an embodiment of the present invention for identifying target jujube in jujube spectrum picture, leads to The multiple polarization spectrum images for obtaining jujube are crossed, and determine target jujube and environment from multiple polarization spectrum images of jujube The maximum polarization spectrum image of the SPECTRAL DIVERSITY of background, and then convenient for being carried out to the target jujube in the polarization spectrum image of jujube Enhancing, is ultimately convenient for identifying target jujube from the polarization spectrum image of jujube.
Based on previous embodiment, enhance for the ease of the target jujube in the polarization spectrum image to jujube, Before S102, this method can also include:
S201: the atmospheric background in the polarization spectrum image of jujube is removed.
In the specific implementation process, can polarization spectrum image to jujube carry out Atmospheric radiation correction, to remove jujube Polarization spectrum image in the atmospheric background, and then avoid in the polarization spectrum image of jujube the atmospheric background in enhancing target jujube During caused by interfere, and then convenient for enhancing the target jujube in the polarization spectrum image of jujube.Wherein, atmosphere Background may include: steam and/or noise, it is, of course, also possible to include other the atmospheric backgrounds, it is not limited here.Specifically, Fast-changing steam in the polarization spectrum image of jujube can be removed by least square differential absorption method, standard can be passed through Plate radiant correction removes the noise in the polarization spectrum image of jujube, it is, of course, also possible to remove the inclined of jujube by other methods Steam and/or noise in vibrational spectrum image, it is not limited here.
As shown in the above, the method provided in an embodiment of the present invention for identifying target jujube in jujube spectrum picture, It is big in the polarization spectrum image by removing jujube before enhancing the target jujube in the polarization spectrum image of jujube Gas background, to avoid the atmospheric background in the polarization spectrum image of jujube during enhancing target jujube caused by interfere, into And convenient for enhancing the target jujube in the polarization spectrum image of jujube.
Based on previous embodiment, enhance for the ease of the target jujube in the polarization spectrum image to jujube, Before S102, this method can also include:
S202: image detail enhancing is carried out to polarization spectrum image.
Specifically, L0 smooth, guiding filtering, quick bilateral filtering and edge, which can be used, retains what multi-scale image decomposed The image that method carries out the target jujube in image detail enhancing, especially enhancing polarization spectrum image to polarization spectrum image is thin Section, it is, of course, also possible to carry out image detail enhancing to polarization spectrum image otherwise, it is not limited here.
Herein it should be noted that in order to avoid by the steam and/or Noise enhancement in polarization spectrum image, thus shadow Sound identifies the target jujube in polarization spectrum image, and S201 can be first carried out before S202.
In practical applications, S202 can include but is not limited to following two step:
Step 1: the first polarization spectrum image, the second polarization spectrum image, are obtained from the polarization spectrum image of jujube Three polarization spectrum images and the 4th polarization spectrum image.
Wherein, the first polarization spectrum image and the corresponding wave band of the 4th polarization spectrum image and the second polarization spectrum image and The corresponding wave band of third polarization spectrum image is different, the first polarization spectrum image and the corresponding polarization side of third polarization spectrum image It is different to polarization direction corresponding with the second polarization spectrum image and the 4th polarization spectrum image.
Illustratively, the first polarization spectrum image and the corresponding wave band of the 4th polarization spectrum image and the second polarised light spectrogram Picture and the corresponding wave band of third polarization spectrum image can be any two in band22, band68, band86, band122 Wave band, by experience, target jujube and the spectral signature difference of jujube leaf are more obvious in the polarization spectrum image of above-mentioned wave band, To identify target jujube from image.First polarization spectrum image and the corresponding polarization direction of third polarization spectrum image with Second polarization spectrum image and the corresponding polarization direction of the 4th polarization spectrum image can be any in 0 °, 45 °, 90 °, 135 ° Two orthogonal directions, compared to the two non-orthogonal polarization spectrum images in polarization direction, the orthogonal polarization in two polarization directions Information in spectrum picture is not overlapped, and can be improved working efficiency.
Step 2: to the first polarization spectrum image, the second polarization spectrum image, third polarization spectrum image and the 4th polarization Spectrum picture is handled, and the polarization spectrum image of the enhanced jujube of image detail is obtained.
In the specific implementation process, step 2 can specifically include the following three steps:
Step A: multiplication process is carried out to the first polarization spectrum image and the second polarization spectrum image, obtains the 5th polarised light Spectrogram picture;
Step B: multiplication process is carried out to third polarization spectrum image and the 4th polarization spectrum image, obtains the 6th polarised light Spectrogram picture;
Step C: carrying out subtraction process to the 5th polarization spectrum image and the 6th polarization spectrum image, obtains image detail and increases The polarization spectrum image of jujube after strong.
I.e., it is possible to which above three step is passed through
It is expressed.Wherein, I is polarization spectrum image, and B is wave band, and D is polarization direction.As it can be seen that by formula (1), to first Polarization spectrum image, the second polarization spectrum image, third polarization spectrum image and the 4th polarization spectrum image are handled, to obtain The information for the target jujube for obtaining the polarization spectrum image of the enhanced jujube of image detail, and then being more favorable in enhancing image, To identify target jujube from image.
It illustrates below and the image detail in the polarization spectrum image for how enhancing jujube is illustrated.
It is respectively band22, band86 with first band and second band, the first polarization direction and the second polarization direction are divided It Wei not be for 0 °, 90 °.Firstly, obtaining the first polarization of band22,0 ° of polarization direction respectively from the polarization spectrum image of jujube Spectrum picture, band86,90 ° of polarization direction the second polarization spectrum image, band86, polarization side To 0 ° of third polarization spectrum image, band22,90 ° of polarization direction the 4th polarization spectrum image; Then, right according to formula (1)It is handled, just obtains figure As the polarization spectrum image I [B (B of the enhanced jujube of details22, B86),D(D0, D90)]。
It should be noted that if the polarization spectrum image of the enhanced jujube of image detail it is ineffective, can To convert wave band and/or polarization direction, image detail enhancing is carried out to the polarization spectrum image of jujube again, will twice image it is thin The polarization spectrum image for saving enhanced jujube carries out subtracting each other processing, so that it may obtain the enhanced jujube of new image detail Polarization spectrum image can enhance image detail in the polarization spectrum image of jujube.
It illustrates below and the image detail in the polarization spectrum image for how continuing to enhance jujube is illustrated.
Firstly, obtaining the polarization spectrum image I [B (B of the enhanced jujube of image detail22, B86),D(D0, D90)];So Afterwards, the first polarization spectrum image of band22,45 ° of polarization direction are obtained respectively from the polarization spectrum image of jujube, band86,135 ° of polarization direction the second polarization spectrum imageBand86,45 ° of polarization direction Third polarization spectrum imageBand22,135 ° of polarization direction the 4th polarization spectrum imageIt connects , it is right according to formula (1)It is handled, obtains image The polarization spectrum image I [B (B of the enhanced jujube of details22, B86),D(D45, D135)];Finally, by I [B (B22, B86),D(D0, D90)] and I [B (B22, B86),D(D45, D135)] subtraction process is carried out, just obtain the inclined of the enhanced jujube of new image detail Vibrational spectrum image.
Illustratively, Fig. 3 is the polarization spectrum image two of the jujube tree part in the embodiment of the present invention, shown in Figure 3, is made For comparison, the image 3a in Fig. 3 is the polarization spectrum image for the jujube tree part that polarization direction is 0 °, the image 3b in Fig. 3 for The polarization spectrum image for the jujube tree part that polarization direction is 0 ° and 90 ° obtains polarization spectrum image after carrying out details enhancing, passes through Region 301 in image 3b and the region 301 in image 3a are compared into the jujube it is found that in region 301 in image 3b Polarization characteristic reinforcing effect be not obvious, at this point, again by polarization direction be 45 ° and 135 ° jujube tree part polarised light spectrogram As carrying out details enhancing processing, image 3c is obtained, then image 3c and image 3b is subjected to subtraction process, obtain image 3d, pass through Region 301 in image 3d and the region 301 in image 3a are compared into the jujube it is found that in region 301 in image 3d Polarization characteristic reinforcing effect it is obvious.
As shown in the above, the method provided in an embodiment of the present invention for identifying target jujube in jujube spectrum picture, leads to It crosses from the polarization spectrum image of jujube and obtains the first polarization spectrum image, the second polarization spectrum image, third polarised light spectrogram Picture and the 4th polarization spectrum image, then to the first polarization spectrum image, the second polarization spectrum image, third polarization spectrum image and 4th polarization spectrum image is handled, the details of target jujube in the polarization spectrum image to enhance jujube, so as to jujube Polarization spectrum image in target jujube enhanced, and then identify more targets from the polarization spectrum image of jujube The polarization characteristic of jujube.
Based on previous embodiment, for the ease of identifying that target jujube, S102 are specific from the polarization spectrum image of jujube May include:
S1021: the 7th different polarised light of wave band is obtained from the polarization spectrum image of the enhanced jujube of image detail Spectrogram picture and the 8th polarization spectrum image;
S1022: to the second pixel in the first pixel and the 8th polarization spectrum image in the 7th polarization spectrum image Point carries out multiplication process, obtains the 9th polarization spectrum image;
S1023: to the first pixel in the second pixel and the 8th polarization spectrum image in the 7th polarization spectrum image Point carries out multiplication process, obtains the tenth polarization spectrum image;
S1024: handling the 9th polarization spectrum image and the tenth polarization spectrum image subtraction, obtains the 11st polarization spectrum Image;
S1025: Fourier transformation is carried out to the 11st polarization spectrum image;
S1026: the correlation based on the spatial frequency in the 11st polarization spectrum image after Fourier transformation, removal the Environmental background information in 11 polarization spectrum images.
Herein, it is kept due to the spectral differences of two neighboring pixel in the polarization spectrum image of same jujube in different-waveband It is constant, can be according to correlation of the spatial frequency between two wave bands, i.e. low frequency part correlation is high, high frequency section correlation It is low, to enhance the information of the target jujube in image, inhibit the environmental background information in image.
In practical applications, it is possible, firstly, to according to
Target jujube information in the polarization spectrum image of the enhanced jujube of image detail is enhanced, wherein R is to carry out Polarization spectrum image after targets improvement, I are the polarization spectrum image for not carrying out targets improvement, and K is wave band, and (i, j) is polarization Pixel in spectrum picture,For the offset of the pixel in polarization spectrum image;Then, to enhancing target jujube letter The polarization spectrum image of jujube after breath carries out Fourier transformation;It then, can basis
Obtain the cross-spectral density of the polarization spectrum image of the jujube after Fourier transformation, wherein P is cross-power Spectrum density, R are the polarization spectrum image carried out after targets improvement, FSFor the spatial frequency of polarization spectrum image, K is wave band, and j is One fixed component of pixel in polarization spectrum image,For the offset of the pixel in polarization spectrum image;Finally, root According to the cross-spectral density in the polarization spectrum image of the jujube after Fourier transformation, i.e., low frequency part is environment in image Background information, image medium-high frequency part is the relevant information of target jujube, to remove the environmental background information in above-mentioned image, this In environmental background can refer to other environmental backgrounds in addition to jujube leaf, branch in the polarization spectrum image of jujube.
In addition, target detection can be used after the target jujube in the polarization spectrum image to jujube enhances Algorithm detects the target jujube in image, to determine the reinforcing effect of target jujube information in image.Such as: Ke Yigen According to edge indicator function
The edge of the target jujube in the polarization spectrum image of enhanced jujube is detected, to evaluate target jujube in image The reinforcing effect of information, wherein (m, n) is the pixel in polarization spectrum image.
As shown in the above, the method provided in an embodiment of the present invention for identifying target jujube in jujube spectrum picture, leads to It crosses and obtains wave band different the 7th polarization spectrum image and the 8th polarization spectrum image from the polarization spectrum image of jujube, and base The spectral differences of two neighboring pixel are remained unchanged in different-waveband in the polarization spectrum image of same jujube, to the 7th polarised light Spectrogram picture and the 8th polarization spectrum image are handled, the feature of target jujube in the polarization spectrum image to enhance jujube, then Correlation of the spatial frequency of polarization spectrum image based on jujube between two wave bands, i.e. low frequency part correlation are high, high Frequency part correlation property is low, removes the environmental background information in the polarization spectrum image of jujube, and then enhance the polarization spectrum of jujube The feature of target jujube in image, to identify target jujube from the polarization spectrum image of jujube.
Based on previous embodiment, target jujube is identified from the polarization spectrum image of jujube in order to easily facilitate, Before S103, this method can also include:
S203: area grayscale consistency treatment is carried out to the spectrum picture of enhanced jujube.
Specifically, oscillation is synchronized according to the coupled weight coefficient of adjacent two o'clock in the polarization spectrum image of jujube, Be main segmentation feature with gray scale, the similar pixel of gray scale tightly linked together by the stronger coefficient of coup, with into Row area grayscale consistency treatment easily facilitates and identifies target jujube from the polarization spectrum image of jujube.
It in practical applications, can basis
The polarization spectrum image of enhanced jujube is handled, so that by formula (5) treated jujube The gray scale of shadow region target jujube is consistent with the gray scale of bright areas target jujube in polarization spectrum image, easily facilitates from red Target jujube is identified in the polarization spectrum image of jujube, wherein W is to have carried out the polarization spectrum after area grayscale consistency treatment Image, I are not carry out area grayscale consistency treatment to obtain polarization spectrum image, and (i, j) and (k, l) is phase in polarization spectrum image Two adjacent pixels.
As shown in the above, the method provided in an embodiment of the present invention for identifying target jujube in jujube spectrum picture, Before identifying target jujube in the polarization spectrum image of jujube, the spectrum picture of enhanced jujube is subjected to area grayscale Consistency treatment makes the ash of the gray scale of shadow region target jujube and bright areas target jujube in the polarization spectrum image of jujube Degree is consistent, easily facilitates and identifies target jujube from the polarization spectrum image of jujube.
It is illustrated below in method of the specific example to target jujube in identification jujube spectrum picture.
Fig. 4 is the polarization spectrum image one of the jujube tree canopy in the embodiment of the present invention, shown in Figure 4, firstly, obtaining light Compose the polarization spectrum image 4a of the jujube tree canopy of camera shooting;Then, radiant correction is carried out to image 4a, obtains image 4b;It connects , band22 is obtained from image 4b, polarization direction is 45 ° of polarization spectrum image, band22, polarization direction are 135 ° inclined Vibrational spectrum image, band86, the polarization spectrum image that polarization direction is 45 ° and band86, the polarization that polarization direction is 135 ° Spectrum picture, and image detail enhancing processing is carried out to aforementioned four polarization spectrum image, image 4c is obtained, alternatively, from image Band22 is obtained in 4b, the polarization spectrum image that polarization direction is 0 °, band22, the polarization spectrum image that polarization direction is 90 °, Band86, the polarization spectrum image that polarization direction is 0 ° and band86, the polarization spectrum image that polarization direction is 90 °, and it is right Aforementioned four polarization spectrum image carries out image detail enhancing processing, obtains image 4d, so far, just obtains image detail enhancing The polarization spectrum image of jujube tree canopy afterwards.
Fig. 5 is the polarization spectrum image two of the jujube tree canopy in the embodiment of the present invention, shown in Figure 5, in obtaining Fig. 4 Image 4c after, the polarization spectrum image of band22 and band86 is obtained from image 4c, and to above-mentioned two polarization spectrum Image carry out targets improvement processing, obtain image 5a, as a comparison, from the polarization spectrum image of jujube obtain band133 and The polarization spectrum image of band229, and targets improvement processing is carried out to above-mentioned two polarization spectrum image, image 5b is obtained, is led to It crosses selecting in 501 and image 5b in contrast images 5a and selects 501 it is found that textural characteristics for selecting the jujube at 501 in image 5a It is relatively sharp compared to the textural characteristics for selecting the jujube at 501 in image 5b, therefore, select the polarization of band22 and band86 Spectrum picture carries out targets improvement processing, and the textural characteristics for obtaining the jujube in polarization spectrum image are more clear.
Likewise, Fig. 6 is the polarization spectrum image three of the jujube tree canopy in the embodiment of the present invention, and it is shown in Figure 6, pass through Image detail enhancing processing and target jujube enhancing processing are carried out to the polarization spectrum image of jujube, can be obtained using different Wave band treated polarization spectrum image 6a, polarization spectrum image 6b, polarization spectrum image 6c, by comparing it can be found that adopting With band229 treated image 6b and using jujube in band103 wave band treated image 6c profile compared to image The profile of jujube becomes apparent in 6a, therefore, identifies that target jujube will be more easier from image 6b or image 6c.
Based on the same inventive concept, the embodiment of the invention also provides a kind of method for establishing jujube Quality Detection model, Fig. 7 is the flow diagram of the method for establishing jujube Quality Detection model in the embodiment of the present invention, shown in Figure 7, the party Method may include:
S701: the polarization spectrum image of jujube and the physicochemical characteristics of jujube are obtained;
S702: the size of the spatial frequency based on each pixel in polarization spectrum image, in polarization spectrum image Target jujube is enhanced;
S703: target jujube is identified from enhanced polarization spectrum image;
S704: polarization characteristic and its corresponding physicochemical characteristics based on target jujube establish jujube Quality Detection model.
It should be noted that for obtain jujube polarization spectrum image, to the target jujube in polarization spectrum image into Row enhancing, identifies specific method used by target jujube from enhanced polarization spectrum image, in the aforementioned embodiment It has been elaborated that, therefore details are not described herein.
Wherein, physicochemical characteristics can be at least one of size, moisture, pol, acidity, it is, of course, also possible to be Other features, it is not limited here.Target jujube is the jujube to be identified in jujube.The polarization characteristic of target jujube is root It is obtained from enhanced polarization spectrum image according to the target jujube identified.
As shown in the above, the method provided in an embodiment of the present invention for establishing jujube Quality Detection model, it is red obtaining Spatial frequency after the polarization spectrum image of jujube and the physicochemical characteristics of jujube, first based on each pixel in polarization spectrum image Size, the target jujube in polarization spectrum image is enhanced, then identify mesh from enhanced polarization spectrum image Jujube is marked, polarization characteristic and physicochemical characteristics finally based on target jujube establish jujube Quality Detection model, to detect jujube Quality can identify more due to being enhanced the jujube in polarization spectrum image from polarization spectrum image Jujube, the jujube including small grid cell size, even sub-pixed mapping scale, and then can be from the polarization spectrum image of jujube Obtain small grid cell size, even sub-pixed mapping scale jujube polarization characteristic so that establish jujube Quality Detection Model is more accurate.
Based on the same inventive concept, the embodiment of the invention also provides a kind of method for detecting jujube quality, Fig. 8 is this hair The flow diagram of the method for detection jujube quality in bright embodiment, shown in Figure 8, this method may include:
S801: the polarization spectrum image of jujube to be detected is obtained;
S802: the size of the spatial frequency based on each pixel in polarization spectrum image, in polarization spectrum image Jujube to be detected is enhanced;
S803: jujube to be detected is identified from enhanced polarization spectrum image;
S804: the polarization characteristic based on jujube to be detected and the jujube Quality Detection model pre-established determine to be detected The physicochemical characteristics of jujube;
S805: according to the physicochemical characteristics of jujube to be detected, the quality of jujube to be detected is determined.
Wherein, the polarization characteristic of jujube to be detected is according to the jujube to be detected that identifies from the enhanced polarised light Spectrogram is obtained as in.
It should be noted that for the polarization spectrum image for obtaining jujube to be detected, to the target in polarization spectrum image Jujube is enhanced, and identifies specific method used by target jujube and aforementioned implementation from enhanced polarization spectrum image Identify that the method for target jujube is similar in the polarization spectrum image of slave jujube in example, also, jujube product used herein above Quality detection model is also the jujube Quality Detection model of the foundation in above-described embodiment, therefore details are not described herein.
As shown in the above, the method for detection jujube quality provided in an embodiment of the present invention, is obtaining jujube to be detected Polarization spectrum image after, firstly, to the size of the spatial frequency based on each pixel in polarization spectrum image, polarised light Jujube to be detected in spectrogram picture is enhanced;Then, jujube to be detected is identified from enhanced polarization spectrum image;It connects , the polarization characteristic based on jujube to be detected and the jujube Quality Detection model pre-established determine the physics and chemistry of jujube to be detected Feature;Finally, the quality of jujube to be detected is determined according to the physicochemical characteristics of jujube to be detected, due to in polarization spectrum image Jujube to be detected enhanced, therefore more jujubes to be detected can be identified from polarization spectrum image, including micro- The jujube to be detected of small grid cell size, even sub-pixed mapping scale, and then can be from the polarization spectrum image of jujube to be detected Obtain small grid cell size, even sub-pixed mapping scale jujube to be detected polarization characteristic, further according to the jujube pre-established Quality Detection model, it will be able to be accurately determined the quality of jujube to be detected, and then improve the accuracy of jujube Quality Detection.
Based on the same inventive concept, as an implementation of the above method, the embodiment of the invention also provides a kind of identification is red The device of target jujube in jujube spectrum picture, Fig. 9 are to identify target jujube in jujube spectrum picture in the embodiment of the present invention The structural schematic diagram of device, shown in Figure 9, which may include: input module 901, be configured as obtaining jujube Polarization spectrum image;Targets improvement module 902 is configured as the spatial frequency based on each pixel in polarization spectrum image Size enhances the target jujube in polarization spectrum image;Target identification module 903 is configured as from enhanced inclined Target jujube is identified in vibrational spectrum image.
Based on the above embodiment, input module is configured as obtaining multiple polarization spectrum images of jujube, multiple polarised lights Spectrogram seem in preset spectrum camera at a distance from jujube, it is the angle of the camera lens of preset spectrum camera and horizontal plane, default On-gauge plate at a distance from jujube, at least one of the angle of preset on-gauge plate and horizontal plane, preset illumination parameter ginseng Several lower shootings;Target polarization spectrum picture, the mesh in target polarization spectrum picture are determined from multiple polarization spectrum images The SPECTRAL DIVERSITY for marking jujube and environmental background is maximum in multiple polarization spectrum images.
Based on the above embodiment, device further include: background removal module;It is inclined to be configured as removal for background removal module Environmental background information in vibrational spectrum image, environmental background include: steam and/or noise.
Based on the above embodiment, device further include: details enhances module;Details enhances module, is configured as from polygonal The first polarization spectrum image, the second polarization spectrum image, third polarization spectrum image and the 4th are obtained in degree polarization spectrum image Polarization spectrum image, wherein the first polarization spectrum image and the corresponding wave band of the 4th polarization spectrum image and the second polarization spectrum Image and the corresponding wave band of third polarization spectrum image are different, and the first polarization spectrum image and third polarization spectrum image are corresponding Polarization direction polarization direction corresponding with the second polarization spectrum image and the 4th polarization spectrum image is different;To the first polarization spectrum Image and the second polarization spectrum image carry out multiplication process, obtain the 5th polarization spectrum image;To third polarization spectrum image with 4th polarization spectrum image carries out multiplication process, obtains the 6th polarization spectrum image;Partially to the 5th polarization spectrum image and the 6th Vibrational spectrum image carries out subtraction process, obtains the enhanced multi-angle polarized reflectance spectrum image of image detail.
Based on the above embodiment, targets improvement module is configured as obtaining the 7th polarization spectrum from polarization spectrum image Image and the 8th polarization spectrum image, wherein the 7th polarization spectrum image is different from the wave band of the 8th polarization spectrum image;To The second pixel in the first pixel and the 8th polarization spectrum image in seven polarization spectrum images carries out multiplication process, obtains 9th polarization spectrum image;To the first picture in the second pixel and the 8th polarization spectrum image in the 7th polarization spectrum image Vegetarian refreshments carries out multiplication process, obtains the tenth polarization spectrum image;9th polarization spectrum image is subtracted with the tenth polarization spectrum image Method processing, obtains the 11st polarization spectrum image;Fourier transformation is carried out to the 11st polarization spectrum image;Become based on Fourier The correlation of the spatial frequency in the 11st polarization spectrum image after changing removes the environment back in the 11st polarization spectrum image Scape information.
Based on the above embodiment, device further include: gradation processing module;Gradation processing module is configured as to enhancing Polarization spectrum image afterwards carries out area grayscale consistency treatment, the polarization spectrum after allowing to carry out area grayscale consistency treatment The gray scale of the target jujube of shadow region and the gray scale of target jujube of bright areas are consistent in image.
It need to be noted that: the description of the Installation practice of target jujube in jujube spectrum picture identified above, with The description of the embodiment of the method for target jujube is similar in above-mentioned identification jujube spectrum picture, is had with identification jujube spectrogram The similar beneficial effect of embodiment of the method for target jujube as in.It is thin for undisclosed technology in apparatus of the present invention embodiment Section, please refers to the description of embodiment of the present invention method and understands.
Based on the same inventive concept, as an implementation of the above method, the embodiment of the invention also provides it is a kind of establish it is red The device of jujube Quality Detection model, Figure 10 are that the structure of the device for establishing jujube Quality Detection model in the embodiment of the present invention is shown It is intended to, shown in Figure 10, which may include: input module 1001, be configured as obtaining the polarised light spectrogram of jujube The physicochemical characteristics of picture and jujube;Targets improvement module 1002 is configured as the sky based on each pixel in polarization spectrum image Between frequency size, the target jujube in polarization spectrum image is enhanced, target jujube be jujube in it is to be identified red Jujube;Target identification module 1003 is configured as identifying target jujube from enhanced polarization spectrum image;Model generates mould Block 1004 is configured as polarization characteristic and its corresponding physicochemical characteristics based on target jujube, establishes jujube Quality Detection model, The polarization characteristic of target jujube is obtained from enhanced polarization spectrum image according to the target jujube identified, jujube product Quality detection model is for detecting jujube quality.
It need to be noted that: the description of the Installation practice of jujube Quality Detection model established above is built with above-mentioned The description of the embodiment of the method for vertical jujube Quality Detection model be it is similar, have with the method for establishing jujube Quality Detection model The similar beneficial effect of embodiment.For undisclosed technical detail in apparatus of the present invention embodiment, the method for the present invention is please referred to The description of embodiment and understand.
Based on the same inventive concept, as an implementation of the above method, the embodiment of the invention also provides a kind of detection is red The device of jujube quality, Figure 11 is the structural schematic diagram of the device of the detection jujube quality in the embodiment of the present invention, referring to Figure 11 institute Show, which may include: input module 1101, be configured as obtaining the polarization spectrum image of jujube to be detected;Target increases Strong module 1102, is configured as the size of the spatial frequency based on each pixel in polarization spectrum image, to polarised light spectrogram Jujube to be detected as in is enhanced;Target identification module 1103 is configured as knowing from enhanced polarization spectrum image It Chu not jujube to be detected;Physicochemical characteristics determining module 1104 is configured as the polarization characteristic based on jujube to be detected and builds in advance Vertical jujube Quality Detection model, determines the physicochemical characteristics of jujube to be detected, wherein the polarization characteristic of jujube to be detected is basis What the jujube to be detected identified was obtained from enhanced polarization spectrum image, jujube Quality Detection model is using aforementioned reality Apply what the method for establishing jujube Quality Detection model in example was established;Quality determining module 1105 is configured as according to physical and chemical special Sign, determines the quality of jujube to be detected.
It need to be noted that: the description of the Installation practice of the above detection jujube quality, with above-mentioned detection jujube product The description of the embodiment of the method for matter is similar, the similar beneficial effect of embodiment of the method with same detection jujube quality.It is right The undisclosed technical detail in apparatus of the present invention embodiment, please refers to the description of embodiment of the present invention method and understands.
Based on the same inventive concept, the embodiment of the invention also provides a kind of electronic equipment, Figure 12 is the embodiment of the present invention In electronic equipment structural schematic diagram, shown in Figure 12, which may include: at least one processor 1201;And at least one processor 1202, the bus 1203 being connect with processor 1201;Wherein, processor 1201, memory 1202 complete mutual communication by bus 1203;Processor 1201 is used to call the program instruction in memory 1202, with Execute the method in said one or multiple embodiments.
It need to be noted that: the description of the above electronic equipment embodiment, the description with above method embodiment are classes As, there is with embodiment of the method similar beneficial effect.For not draped over one's shoulders in the embodiment of the electronic equipment of the embodiment of the present invention The technical detail of dew please refers to the description of embodiment of the present invention method and understands.
Based on the same inventive concept, the embodiment of the invention also provides a kind of computer readable storage medium, above-mentioned calculating Machine readable storage medium storing program for executing includes the program of storage, wherein in program operation, equipment where control storage medium executes above-mentioned one Method in a or multiple embodiments.
It need to be noted that: the description of the above computer readable storage medium embodiment, with above method embodiment Description be it is similar, have with embodiment of the method similar beneficial effect.Computer-readable for the embodiment of the present invention is deposited Undisclosed technical detail in the embodiment of storage media, please refers to the description of embodiment of the present invention method and understands.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable Jie The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element There is also other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product. Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
The above is only embodiments herein, are not intended to limit this application.To those skilled in the art, Various changes and changes are possible in this application.It is all within the spirit and principles of the present application made by any modification, equivalent replacement, Improve etc., it should be included within the scope of the claims of this application.

Claims (10)

1. a kind of method of target jujube in identification jujube spectrum picture, which is characterized in that the described method includes:
Obtain the polarization spectrum image of jujube;
The size of spatial frequency based on each pixel in the polarization spectrum image, to the mesh in the polarization spectrum image Mark jujube is enhanced;
Target jujube is identified from the enhanced polarization spectrum image.
2. the method according to claim 1, wherein in each pixel based in the polarization spectrum image The size of the spatial frequency of point, before enhancing the target jujube in the polarization spectrum image, the method also includes:
Image detail enhancing is carried out to the polarization spectrum image, to enhance the figure of the target jujube in the polarization spectrum image As details.
3. according to the method described in claim 2, it is characterized in that, the polarization spectrum image is multi-angle polarized reflectance spectrum figure Picture;It is described that image detail enhancing is carried out to the polarization spectrum image, comprising:
The first polarization spectrum image, the second polarization spectrum image, third polarization are obtained from the multi-angle polarized reflectance spectrum image Spectrum picture and the 4th polarization spectrum image, wherein the first polarization spectrum image and the 4th polarization spectrum image pair The wave band answered wave band corresponding with the second polarization spectrum image and the third polarization spectrum image is different, and described first partially Vibrational spectrum image and the corresponding polarization direction of the third polarization spectrum image and the second polarization spectrum image and described the The corresponding polarization direction of four polarization spectrum images is different;
Multiplication process is carried out to the first polarization spectrum image and the second polarization spectrum image, obtains the 5th polarization spectrum Image;
Multiplication process is carried out to the third polarization spectrum image and the 4th polarization spectrum image, obtains the 6th polarization spectrum Image;
Subtraction process is carried out to the 5th polarization spectrum image and the 6th polarization spectrum image.
4. according to the method described in claim 2, it is characterized in that, carrying out image detail to the polarization spectrum image described Before enhancing, the method also includes:
The atmospheric background in the polarization spectrum image is removed, the atmospheric background includes: steam and/or noise.
5. method according to claim 1 to 4, which is characterized in that described to be based on the polarization spectrum image In each pixel spatial frequency size, the target jujube in the polarization spectrum image is enhanced, comprising:
The 7th polarization spectrum image and the 8th polarization spectrum image are obtained from the polarization spectrum image, wherein the described 7th Polarization spectrum image is different from the wave band of the 8th polarization spectrum image;
To the second pixel in the first pixel and the 8th polarization spectrum image in the 7th polarization spectrum image Multiplication process is carried out, the 9th polarization spectrum image is obtained;
To the first pixel in the second pixel and the 8th polarization spectrum image in the 7th polarization spectrum image Multiplication process is carried out, the tenth polarization spectrum image is obtained;
The 9th polarization spectrum image and the tenth polarization spectrum image subtraction are handled, the 11st polarised light spectrogram is obtained Picture;
Fourier transformation is carried out to the 11st polarization spectrum image;
Based on the correlation of the spatial frequency in the 11st polarization spectrum image after Fourier transformation, removal the described tenth Environmental background information in one polarization spectrum image.
6. method according to claim 1 to 4, which is characterized in that the polarised light spectrogram for obtaining jujube Picture, comprising:
Multiple polarization spectrum images of the jujube are obtained, the multiple polarization spectrum image is in preset spectrum camera and institute State the distance of jujube, the angle of the camera lens of the preset spectrum camera and horizontal plane, preset on-gauge plate and the jujube It is shot under distance, the angle of the preset on-gauge plate and horizontal plane, at least one parameter in preset illumination parameter;
Target polarization spectrum picture, the mesh in the target polarization spectrum picture are determined from the multiple polarization spectrum image The SPECTRAL DIVERSITY for marking jujube and environmental background is maximum in the multiple polarization spectrum image.
7. method according to claim 1 to 4, which is characterized in that described in the polarization spectrum image Target jujube enhanced after, the method also includes:
Area grayscale consistency treatment is carried out to the enhanced polarization spectrum image, is allowed to carry out at area grayscale consistency The gray scale one of the target jujube of the gray scale and bright areas of the target jujube of shadow region in the polarization spectrum image after reason It causes.
8. a kind of method for establishing jujube Quality Detection model, which is characterized in that the described method includes:
Obtain the polarization spectrum image of jujube and the physicochemical characteristics of the jujube;
The size of spatial frequency based on each pixel in the polarization spectrum image, to the mesh in the polarization spectrum image Mark jujube is enhanced, and the target jujube is the jujube to be identified in the jujube;
Target jujube is identified from the enhanced polarization spectrum image;
Polarization characteristic and its corresponding physicochemical characteristics based on the target jujube, establish jujube Quality Detection model, the mesh The polarization characteristic of mark jujube is obtained from the enhanced polarization spectrum image according to the target jujube identified, The jujube Quality Detection model is for detecting jujube quality.
9. a kind of method for detecting jujube quality, which is characterized in that the described method includes:
Obtain the polarization spectrum image of jujube to be detected;
The size of spatial frequency based on each pixel in the polarization spectrum image, in the polarization spectrum image to Detection jujube is enhanced;
Jujube to be detected is identified from the enhanced polarization spectrum image;
Polarization characteristic based on the jujube to be detected and the jujube Quality Detection model pre-established, determine described to be detected red The physicochemical characteristics of jujube, wherein the polarization characteristic of the jujube to be detected is according to the jujube to be detected that identifies from the enhancing It is obtained in the polarization spectrum image afterwards, the jujube Quality Detection model is using method according to claim 8 It establishes;
According to the physicochemical characteristics, the quality of the jujube to be detected is determined.
10. the device of target jujube in a kind of identification jujube spectrum picture, which is characterized in that described device includes:
Input module is configured as obtaining the polarization spectrum image of jujube;
Targets improvement module is configured as the size of the spatial frequency based on each pixel in the polarization spectrum image, right Target jujube in the polarization spectrum image is enhanced;
Target identification module is configured as identifying target jujube from the enhanced polarization spectrum image.
CN201910090091.5A 2019-01-30 2019-01-30 Method and device for identifying target red dates in red date spectral image Active CN109655426B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910090091.5A CN109655426B (en) 2019-01-30 2019-01-30 Method and device for identifying target red dates in red date spectral image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910090091.5A CN109655426B (en) 2019-01-30 2019-01-30 Method and device for identifying target red dates in red date spectral image

Publications (2)

Publication Number Publication Date
CN109655426A true CN109655426A (en) 2019-04-19
CN109655426B CN109655426B (en) 2021-04-20

Family

ID=66121697

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910090091.5A Active CN109655426B (en) 2019-01-30 2019-01-30 Method and device for identifying target red dates in red date spectral image

Country Status (1)

Country Link
CN (1) CN109655426B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002017231A2 (en) * 2000-08-23 2002-02-28 Rose Research Llc Systems and methods for millimeter and sub-millimeter wave imaging
JP2004177369A (en) * 2002-11-29 2004-06-24 Jeneshia:Kk Fruit-sorting system using polarization imaging
CN101035300A (en) * 2007-04-10 2007-09-12 北京中星微电子有限公司 Image enhancing method and device
CN103576203A (en) * 2012-08-09 2014-02-12 地球物理集团公司 Adaptive sweep method and device for seismic exploration
CN105467714A (en) * 2014-09-05 2016-04-06 深圳市墨克瑞光电子研究院 Liquid crystal lens imaging apparatus and liquid crystal lens imaging method
CN106056542A (en) * 2016-05-19 2016-10-26 西安交通大学 Interferogram background removing method based on frequency domain filtering
CN107860720A (en) * 2017-12-27 2018-03-30 清华大学 A kind of method and apparatus for obtaining jujube quality
CN108535199A (en) * 2018-03-16 2018-09-14 塔里木大学 A kind of multiple dimensioned jujube garden EO-1 hyperion polarization detection method in open air
CN108872140A (en) * 2018-05-09 2018-11-23 塔里木大学 A kind of method and device of open air monitoring jujube quality

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002017231A2 (en) * 2000-08-23 2002-02-28 Rose Research Llc Systems and methods for millimeter and sub-millimeter wave imaging
JP2004177369A (en) * 2002-11-29 2004-06-24 Jeneshia:Kk Fruit-sorting system using polarization imaging
CN101035300A (en) * 2007-04-10 2007-09-12 北京中星微电子有限公司 Image enhancing method and device
CN103576203A (en) * 2012-08-09 2014-02-12 地球物理集团公司 Adaptive sweep method and device for seismic exploration
CN105467714A (en) * 2014-09-05 2016-04-06 深圳市墨克瑞光电子研究院 Liquid crystal lens imaging apparatus and liquid crystal lens imaging method
CN106056542A (en) * 2016-05-19 2016-10-26 西安交通大学 Interferogram background removing method based on frequency domain filtering
CN107860720A (en) * 2017-12-27 2018-03-30 清华大学 A kind of method and apparatus for obtaining jujube quality
CN108535199A (en) * 2018-03-16 2018-09-14 塔里木大学 A kind of multiple dimensioned jujube garden EO-1 hyperion polarization detection method in open air
CN108872140A (en) * 2018-05-09 2018-11-23 塔里木大学 A kind of method and device of open air monitoring jujube quality

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
GERRIT POLDER 等: "Calibration and characterization of spectral imaging systems", 《INSTRUMENTATION ENGINEERING》 *
李殿均: "基于非下采样Contourlet变换图像增强及融合方法的研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
李长汉: "功率谱密度与互功率谱密度", 《百度温度》 *
柏财勋 等: "对称楔形干涉高光谱成像的光谱复原方法", 《光学学报》 *
胡晓男 等: "果品质量近红外光谱检测技术应用与研究进展", 《农业工程》 *
臧立娟 等: "《测量学》", 31 January 2018, 武汉大学出版社 *

Also Published As

Publication number Publication date
CN109655426B (en) 2021-04-20

Similar Documents

Publication Publication Date Title
US9984308B2 (en) Method and apparatus for extracting feature regions from point cloud
CN106033621B (en) A kind of method and device of three-dimensional modeling
CN105740876B (en) A kind of image pre-processing method and device
Van den Braak et al. Fast hough transform on GPUs: Exploration of algorithm trade-offs
EP2561467A1 (en) Daisy descriptor generation from precomputed scale - space
CN107578439B (en) Method, device and equipment for generating target image
US20140270362A1 (en) Fast edge-based object relocalization and detection using contextual filtering
CN108550166B (en) Spatial target image matching method
US20140211286A1 (en) Apparatus and method for generating digital hologram
JP6431404B2 (en) Attitude estimation model generation apparatus and attitude estimation apparatus
CN109711486A (en) Based on the relevant high degree of overlapping remote sensing image full scale tie point matching process of phase
CN108122280A (en) The method for reconstructing and device of a kind of three-dimensional point cloud
JP7368924B2 (en) Hardware accelerator for computation of gradient oriented histograms
US20160371842A1 (en) Method and apparatus for computing an estimate position of a micro-image produced by a micro-lens of an array of micro-lenses of an optical acquisition system
CN108830828A (en) A kind of method for detecting change of remote sensing image and device
Mishkin et al. Two-view matching with view synthesis revisited
Żak et al. Local image features matching for real-time seabed tracking applications
CN109523570B (en) Motion parameter calculation method and device
CN109655426A (en) A kind of method and device identifying target jujube in jujube spectrum picture
US9002118B2 (en) Image feature extraction device, image feature extraction method, and image recognition device
Nozick Camera array image rectification and calibration for stereoscopic and autostereoscopic displays
CN114140581A (en) Automatic modeling method and device, computer equipment and storage medium
CN110930344B (en) Target quality determination method, device and system and electronic equipment
Pan et al. The Crime Scene Tools Identification Algorithm Based on GVF-Harris-SIFT and KNN.
JP2015170205A (en) Feature amount generation device, feature amount generation method, and program

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
GR01 Patent grant
GR01 Patent grant