CN114255404B - Target spectrum information acquisition method, apparatus and medium - Google Patents
Target spectrum information acquisition method, apparatus and medium Download PDFInfo
- Publication number
- CN114255404B CN114255404B CN202210189396.3A CN202210189396A CN114255404B CN 114255404 B CN114255404 B CN 114255404B CN 202210189396 A CN202210189396 A CN 202210189396A CN 114255404 B CN114255404 B CN 114255404B
- Authority
- CN
- China
- Prior art keywords
- point
- registration
- target
- spectrum data
- environmental
- 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.)
- Active
Links
- 238000001228 spectrum Methods 0.000 title claims abstract description 436
- 238000000034 method Methods 0.000 title claims abstract description 53
- 238000005070 sampling Methods 0.000 claims abstract description 162
- 230000007613 environmental effect Effects 0.000 claims abstract description 127
- 230000010354 integration Effects 0.000 claims abstract description 66
- 230000003595 spectral effect Effects 0.000 claims abstract description 63
- 238000010606 normalization Methods 0.000 claims abstract description 25
- 230000008569 process Effects 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 5
- 238000010276 construction Methods 0.000 claims description 4
- 230000008859 change Effects 0.000 abstract description 5
- 239000000126 substance Substances 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 230000005855 radiation Effects 0.000 description 4
- 238000007405 data analysis Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 238000005286 illumination Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000004907 flux Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- BULVZWIRKLYCBC-UHFFFAOYSA-N phorate Chemical compound CCOP(=S)(OCC)SCSCC BULVZWIRKLYCBC-UHFFFAOYSA-N 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000002310 reflectometry Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02A—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
- Y02A90/00—Technologies having an indirect contribution to adaptation to climate change
- Y02A90/30—Assessment of water resources
Landscapes
- Spectrometry And Color Measurement (AREA)
Abstract
The invention provides a target spectrum information acquisition method, a target spectrum information acquisition device and a computer storage medium, which are used for processing target spectrum data and environment spectrum data acquired in the same time period; wherein the method comprises the following steps: respectively performing normalization processing on the target spectral data and the environmental spectral data based on each integration time; the method comprises the steps of registering the environment spectrum data and the target spectrum data after standardized processing based on acquisition time, removing the environment spectrum information of the corresponding second sampling point from the target spectrum information of each first sampling point in the target spectrum data based on the registered target spectrum data and the registered environment spectrum data to obtain the target spectrum information with the environment spectrum information removed, and therefore the influence of factors such as environment light intensity or ambient light change on the acquired target spectrum data is reduced, and the quality of the target spectrum data is improved.
Description
Technical Field
The present invention relates to the field of spectral data processing technologies, and in particular, to a method and an apparatus for acquiring target spectral information, and a computer storage medium.
Background
When the spectrum collection operation of the target object is executed in field work, the collected target spectrum information comprises the spectrum information of the environment light; for example, when the unmanned aerial vehicle is used to perform water spectrum collection operation in the field, the collected spectrum information may include the spectrum information of ambient light (such as skylight) in addition to the spectrum information of the water; the change of the intensity of the ambient light can affect the target spectrum information acquired by the acquisition equipment, and cause the fluctuation of a spectrum curve, so that the acquired target spectrum information has the conditions of instability, distortion and the like; for example, when the radiance of a certain wavelength band in the ambient light is suddenly increased, the spectral value of the corresponding wavelength band in the collected spectral data is correspondingly increased, and further the analysis result of the target spectral data corresponding to the later period is affected, so that the analysis result is deviated from the actual condition.
Therefore, how to remove the environmental spectrum information in the target spectrum data and reduce the influence of the environmental spectrum information on the target spectrum data has become a technical problem to be solved in the art.
Disclosure of Invention
In view of the above-mentioned shortcomings of the prior art, an object of the present invention is to provide a target spectrum information acquisition method, device and computer storage medium, which can solve the problems that the existing target spectrum information acquisition method cannot remove the ambient light information stored in the target spectrum data, and further causes the deviation of the spectrum data analysis result.
In order to achieve the above and other related objects, a first aspect of the present invention provides a target spectrum information obtaining method, which performs spectrum data processing on target spectrum data and environment spectrum data acquired in the same time period to obtain target spectrum information with environment spectrum information removed; the target spectrum data comprises first sampling points acquired based on first integration time, and the environment spectrum data comprises second sampling points acquired based on second integration time; the spectral data processing comprises: performing normalization processing on the target spectral data based on the first integration time to obtain target spectral information of the target spectral data, and performing normalization processing on the environmental spectral data based on the second integration time to obtain environmental spectral information of the environmental spectral data; registering the environment spectrum data and the target spectrum data after the standardized processing based on the acquisition time so as to obtain environment spectrum information corresponding to each first sampling point in the target spectrum data; and removing corresponding environment spectrum information from the target spectrum information of each first sampling point in the target spectrum data based on the registered target spectrum data and the registered environment spectrum data to obtain new target spectrum information.
In an embodiment of the present invention, before removing the corresponding environmental spectrum information from the target spectrum information of each first sampling point in the target spectrum data, the processing of the spectrum data further includes: and registering the environmental spectrum data and the target spectrum data based on the wavelength information of each waveband, so that the wavelength value of each waveband in the environmental spectrum data is the same as the wavelength value of the same waveband in the target spectrum data.
In an embodiment of the present invention, the performing the normalization process on the target spectrum data based on the first integration time includes: dividing light counting information of each first sampling point in the target spectrum data by first integration time corresponding to the first sampling point; and, the performing a normalization process on the ambient spectral data based on the second integration time includes: and dividing the light counting information of each second sampling point in the environmental spectrum data by a second integration time corresponding to the second sampling point.
In an embodiment of the present invention, the registering the normalized environmental spectrum data and the normalized target spectrum data based on the acquisition time includes: constructing each registration point in the environmental spectrum data, wherein the number of the registration points is the same as that of first sampling points in the target spectrum data, and determining the acquisition time of the registration points in the same acquisition order based on the acquisition time of each first sampling point in the target spectrum data; determining a registration reference point corresponding to each registration point in each second sampling point of the environmental spectral data based on the acquisition time of each registration point; acquiring environmental spectrum information of each registration point based on the environmental spectrum information of the registration reference point corresponding to each registration point; wherein the registration reference point is the second sampling point associated with the environmental spectral information of the corresponding registration point.
In an embodiment of the present invention, the determining, based on the acquisition time of each registration point, a registration reference point corresponding to the registration point in each second sampling point of the environmental spectrum data includes: determining a first adjacent sampling point and a second adjacent sampling point corresponding to each registration point in each second sampling point; for any registration point, the corresponding first adjacent sampling point is each second sampling point, the acquisition time of which is earlier than the acquisition time of the registration point, and the time interval from the acquisition time of the registration point is less than a threshold value; and the corresponding second adjacent sampling points are all the second sampling points, the acquisition time of which is later than the acquisition time of the registration point, and the time interval from the acquisition time of the registration point is less than the threshold value.
In an embodiment of the present invention, the acquiring the environmental spectrum information of each registration point based on the environmental spectrum information of the registration reference point corresponding to each registration point includes: for each alignment point, acquiring the environmental spectrum information of the first adjacent sampling point based on the environmental spectrum information of each second sampling point in the corresponding first adjacent sampling point, and acquiring the environmental spectrum information of each second adjacent sampling point based on the environmental spectrum information of each second adjacent sampling point in the corresponding second adjacent sampling point; and acquiring the environmental spectrum information of each registration point by adopting a linear interpolation method based on the corresponding environmental spectrum information of the first adjacent sampling point and the corresponding environmental spectrum information of the second adjacent sampling point.
In an embodiment of the present invention, the determining, based on the acquisition time of each registration point, a registration reference point corresponding to the registration point in each second sampling point of the environmental spectrum data includes: acquiring the integral time of each registration point, wherein the integral time is the integral time of the first sampling point with the same acquisition sequence as the registration points; for each registration point, determining an acquisition time period corresponding to the registration point based on the acquisition time and the integration time corresponding to the registration point; and by time matching, using each second sampling point positioned in the acquisition time period corresponding to the registration point as the registration reference point corresponding to the registration point.
In an embodiment of the present invention, the acquiring the environmental spectrum information of each registration point based on the environmental spectrum information of the registration reference point corresponding to each registration point includes: acquiring integral proportion of registration reference points corresponding to the registration points; wherein the integral ratio is the duration ratio of the integral time of a single registration reference point within the integral time of the corresponding registration point; and for each registration point, acquiring the environmental spectrum information of the registration point based on the environmental spectrum information and the integral ratio of each corresponding registration reference point.
The second aspect of the present invention provides a target spectrum information acquisition apparatus, configured to perform spectrum data processing on target spectrum data and environment spectrum data acquired in the same time period to obtain target spectrum information with environment spectrum information removed; the target spectrum data comprises first sampling points acquired based on first integration time, and the environment spectrum data comprises second sampling points acquired based on second integration time; the target spectrum information acquisition device includes: a normalization processing unit configured to perform normalization processing on the target spectrum data based on the first integration time to obtain target spectrum information of the target spectrum data, and perform normalization processing on the environment spectrum data based on the second integration time to obtain environment spectrum information of the environment spectrum data; the acquisition time registration unit is used for registering the environment spectrum data and the target spectrum data after the standardized processing based on acquisition time so as to obtain environment spectrum information corresponding to each first sampling point in the target spectrum data; and the removing unit is used for removing the corresponding environmental spectrum information from the target spectrum information of each first sampling point in the target spectrum data based on the registered target spectrum data and the registered environmental spectrum data so as to obtain new target spectrum information.
In an embodiment of the present invention, the acquisition time registration unit includes: the registration point construction module is used for constructing each registration point in the environmental spectrum data, the number of the registration points is the same as that of first sampling points in the target spectrum data, and the acquisition time of the registration points in the same acquisition order is determined based on the acquisition time of each first sampling point in the target spectrum data; a registration reference point determining module, configured to determine, based on an acquisition time of each registration point, a registration reference point corresponding to the registration point in each second sampling point of the environmental spectrum data; wherein the registration reference point is the second sampling point associated with the environmental spectral information of the corresponding registration point; and the registration point spectrum information acquisition module is used for acquiring the environment spectrum information of each registration point based on the environment spectrum information of the registration reference point corresponding to each registration point.
A third aspect of the present invention provides a computer storage medium storing a computer program which, when executed by a processor, implements the target spectral information acquisition method as described above.
As described above, the target spectrum information obtaining method, device and computer storage medium provided by the present invention have the following beneficial effects: the target spectrum data and the environment spectrum data acquired in the same time are respectively subjected to standardization processing based on integral time and data registration based on acquisition time to acquire the target spectrum data and the environment spectrum data which are synchronous at the acquisition time, and the environment spectrum information corresponding to the acquisition time is removed from the target spectrum information of the target spectrum data, so that the actual target spectrum information can be acquired, the influence of factors such as ambient light intensity or ambient environment change on the acquired target spectrum data is reduced, the quality of the target spectrum data is improved, and the accuracy of subsequent data analysis is improved.
Drawings
Fig. 1 is a schematic diagram of a collection scenario in which the target spectral data and the environmental spectral data are collected at the same time according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating a target spectrum information obtaining method according to an embodiment of the invention;
fig. 3 is a schematic flowchart illustrating a step S4 of the target spectrum information obtaining method according to an embodiment of the invention;
fig. 4 is a schematic flowchart illustrating a step S42 of the target spectrum information obtaining method according to an embodiment of the present invention;
fig. 5 is a schematic flowchart illustrating a step S42 of the target spectrum information obtaining method according to another embodiment of the present invention;
FIG. 6 is a flowchart illustrating a target spectrum information obtaining method according to another embodiment of the present invention;
fig. 7 is a schematic structural diagram of a target spectrum information acquisition apparatus according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a target spectrum information acquisition apparatus according to another embodiment of the present invention;
description of the element reference numerals
600 a target spectrum information acquisition means for acquiring target spectrum information,
610 a unit of the processing is standardized,
the temporal registration unit is acquired 620 and,
621 a registration point construction module to construct a registration point,
622 the reference point determination module is registered,
623 a registration point spectral information acquisition module,
the unit is removed 630 from the image,
640 a noise-removal unit for removing noise,
650 wavelength registration unit.
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention in a schematic way.
In order to facilitate understanding of the technical solutions and effects in the present application, the following brief descriptions are made:
and the light counting information is the original counting value of each wave band spectrum collected by the spectrum collection device.
Radiance: that is, the radiance, is a physical quantity representing the radiation intensity of a certain point on the surface radiation source in a certain direction, and refers to the radiation flux of the surface radiation source in a unit solid angle on a unit projection area in a unit time.
The integration time is the time for acquiring light counting information, namely the exposure time, when the spectrum acquisition device performs single spectrum acquisition; under the same illumination intensity, the longer the integration time, the larger the acquired radiance, and conversely, the shorter the integration time, the smaller the acquired radiance.
In order to solve the technical problems in the prior art, the present invention provides, in a first aspect, a target spectrum information obtaining method, which is used for performing spectrum data processing on target spectrum data and environment spectrum data acquired and obtained in the same time period to remove environment spectrum information in the target spectrum data.
The target spectrum data acquisition and the environment spectrum data acquisition are two acquisition processes synchronously executed in the same time period; the target spectrum data is spectrum data obtained by collecting a target object in real time based on first integration time; the environment spectrum data is spectrum data obtained by collecting the environment light in real time based on second integration time, namely, each first integration time corresponds to each target spectrum collection process, and each second integration time corresponds to each environment spectrum collection.
Referring to fig. 1, a scene diagram illustrating simultaneous acquisition of the target spectral data and the environmental spectral data at the same time in one embodiment is shown; as shown in fig. 1, two spectrum collection devices are loaded on the telemetry platform of the unmanned aerial vehicle to respectively collect downlink environmental spectrum data and uplink target spectrum data; wherein the target spectral data includes, but is not limited to, vegetation spectral data, water spectral data, or other target spectral data.
Furthermore, in order to improve the collection quality of the spectral data and avoid the reduction of the quality of the spectral data caused by over-high/over-low ambient light intensity, or over-large ambient light intensity change and other reasons; the target spectrum acquisition process and the environment spectrum acquisition process are both executed by adopting a spectrum acquisition mode of automatically adjusting the integral time; when target spectrum acquisition is executed for each time and the ambient light changes, automatically adjusting the size of first integration time based on the ambient light information, namely the first integration time corresponding to each acquisition is different, and the acquisition frequency of target spectrum data is different in the same acquisition time period; similarly, when the ambient light changes during each time of ambient spectrum collection, the corresponding second integration time is also adjusted, and the collection frequency of the ambient spectrum data is different within the same collection time period.
The target spectrum data and the environment spectrum data both comprise light counting information of each sampling point; specifically, the target spectrum data includes light counting information collected by each first sampling point; the environmental spectrum data comprises light counting information collected by each second sampling point; the first sampling point is a data point generated after single target spectrum acquisition is executed based on first integration time, and comprises light counting information of a target object; the second sampling point is a data point generated after single environmental spectrum collection is executed based on second integration time, and comprises light counting information of environmental light; the light counting information is an original counting value of each wave band spectrum collected by the spectrum collecting equipment.
Referring to fig. 2, a schematic flow chart of the target spectrum information obtaining method in an embodiment is shown; as shown in fig. 2, the method includes:
s2, performing standardization processing on the target spectrum data based on the first integration time to obtain target spectrum information corresponding to the target spectrum data; performing normalization processing on the environment spectrum data based on a second integration time to obtain environment spectrum information corresponding to the environment spectrum data;
wherein, the target spectrum information and the environment spectrum information include but are not limited to irradiance, radiance, radiant energy, and the like; in this embodiment, both the target spectrum information and the environment spectrum information are radiances.
Specifically, for any first sampling point in the target spectral data, dividing the light meter value of the first sampling point by a first integration time corresponding to the first sampling point to obtain the radiance of the first sampling point in the normalization process; similarly, for any second sampling point in the environmental spectrum data, dividing the light meter value of the second sampling point by a second integration time corresponding to the second sampling point to obtain the radiance normalized by the second sampling point.
Optionally, before performing step S2, the target spectrum information obtaining method further includes:
and performing denoising processing on the target spectrum data and the environment spectrum data to obtain target spectrum data and environment spectrum data with noise information removed.
Specifically, a noise threshold range of the target spectrum acquisition equipment is obtained; based on the noise threshold range, extracting the spectrum data with the wave band length within the noise threshold range from the target spectrum data, and taking the spectrum data as the target spectrum noise, wherein the wave band length is within the noise threshold range, and taking other target spectrum data except the target spectrum noise in the target spectrum data as effective target spectrum data.
Similarly, acquiring a noise threshold range of the environment spectrum acquisition equipment; based on the machine noise threshold range, extracting the spectrum data with the wave band length within the noise threshold range as the environmental spectrum noise, and taking the other environmental spectrum data except the environmental spectrum noise in the environmental spectrum data as effective environmental spectrum data.
Illustratively, the noise threshold range of the ambient light spectrum collection device includes a waviness of less than 300nm and greater than 900 nm; and extracting the environmental spectrum data with the wavelength between 300 and 900nm as effective environmental spectrum data.
After removing noise information, for each first sampling point in the target spectrum data, normalizing the light counting information based on the first integration time corresponding to the first sampling point, that is:
wherein the content of the first and second substances,the normalized target spectrum data comprises the radiance of each first sampling point;target spectral data collected by the instrument comprises light counting information of each first sampling point;is the target spectral noise;is a first integration time;is the scaling factor of the target spectrum.
Similarly, after removing the noise information, for each second sampling point in the environmental spectrum data, normalizing the light count information based on the second integration time corresponding to the second sampling point, that is:
wherein the content of the first and second substances,the normalized environmental spectrum data comprise the radiance of each second sampling point;the environmental spectrum data collected by the instrument comprises the light counting information of each second sampling point;is ambient spectral noise;is a second integration time;is the scaling factor of the ambient spectrum.
Based on the standardized processing of the target spectrum data and the environment spectrum data, the light counting information collected by the instrument can be converted into spectrum information, so that the target spectrum information of the target object and the environment spectrum information of the environment light can be respectively obtained.
S4, registering the environment spectrum data and the target spectrum data after the standardization processing based on the acquisition time to obtain environment spectrum information corresponding to each first sampling point in the target spectrum data;
the target spectrum acquisition and the environment spectrum acquisition are performed spectrum acquisition processes based on respective corresponding integration time, so that the acquisition frequency of target spectrum data and the acquisition frequency of environment spectrum data are different in the same acquisition time period; therefore, there is a need to perform acquisition time registration on the environmental spectral data and the target spectral data。
Specifically, as shown in fig. 3, the step S4 includes the following sub-steps:
s41, constructing each registration point in the environmental spectrum data, and determining the acquisition time of the registration point with the same acquisition order as the acquisition time of each first sampling point in the target spectrum data based on the acquisition time of each first sampling point in the target spectrum data;
the registration point is a second sampling point reconstructed in the environmental spectrum data and is used for registering the acquisition time of the environmental spectrum data to the sampling time of the target spectrum data.
Specifically, each registration point is set in the environmental spectrum data, and the number of the registration points is the same as that of the first sampling points in the target spectrum data.
The acquisition time of each registration point is the same as the acquisition time of the first sampling points in the same acquisition order, so that each registration point corresponds to each first sampling point one by one; that is, the acquisition time of each registration point is set as follows:
wherein the leafThe acquisition time corresponding to each first sampling point is set as the acquisition time;the acquisition time corresponding to each registration point.
S42, determining a registration reference point corresponding to the registration point in each second sampling point of the environmental spectrum data based on the acquisition time of each registration point; acquiring environmental spectrum information of each registration point based on the environmental spectrum information of the registration reference point corresponding to each registration point;
the registration reference point is a second sampling point of which the environmental spectrum information is associated with the environmental spectrum information of the corresponding registration point; namely the environmental spectrum information of the registration reference point, and the environmental spectrum information of the registration point.
In one embodiment, for any single registration point, the specific implementation of step S42 is shown in fig. 4, and includes:
s421, determining a first adjacent sampling point and a second adjacent sampling point corresponding to the registration point in each second sampling point as the registration reference point corresponding to the registration point by comparing the acquisition time of each second sampling point in the environmental spectrum data with the acquisition time of the registration point;
the first adjacent sampling points are all second sampling points, the acquisition time of which is earlier than the acquisition time of the registration point, and the time interval from the acquisition time of the registration point is less than a first time threshold; the second adjacent sampling points are all second sampling points, the acquisition time of which is later than the acquisition time of the registration point, and the time interval from the acquisition time of the registration point is smaller than a second time threshold.
The first time threshold and the second time threshold may be the same or different, and are not limited herein.
S422, extracting the mean value of the radiance of each second sampling point in the first adjacent sampling points as the radiance of the first adjacent sampling points, and extracting the mean value of the radiance of each second sampling point in the second adjacent sampling points as the radiance of the second adjacent points;
and S423, acquiring the radiance corresponding to the registration point by adopting a linear interpolation method based on the radiance of the first adjacent sampling point and the radiance of the second adjacent point.
Specifically, a one-dimensional linear interpolation method is adopted to interpolate the radiances of the first adjacent sampling point and the second adjacent sampling point to obtain the radiance of the registration point, that is:
wherein the content of the first and second substances,,respectively the acquisition time and the radiance of the first adjacent sampling point;,respectively the acquisition time and the radiance of the second adjacent sampling point;,is as followsThe acquisition time and radiance of the registration points.
In another embodiment, the specific implementation manner of step S42, as shown in fig. 5, includes:
s421', determining the integration time of each alignment point in the same acquisition order as the first sampling point based on the integration time of each first sampling point in the target spectrum data;
specifically, the integration time of each registration point in the environmental spectrum data is set as the integration time of the first sampling point corresponding to the registration point.
S422', based on the acquisition time and the integration time corresponding to each registration point, determining the acquisition time period corresponding to each registration point; through time matching, using each second sampling point positioned in the acquisition time period corresponding to the registration point as each registration reference point of the registration point;
in particular, for a single registration pointpBased on the integration time range corresponding to the registration points p And corresponding acquisition timeT p Determining the acquisition time period corresponding to the registration point as [ 2 ]T p -s p ,T p ](ii) a And setting each second sampling point positioned in the acquisition time period as a registration reference point corresponding to the registration point through time matching.
S423', obtaining integral ratios of the registration reference points corresponding to the registration points;
wherein the integral ratio is the integral time of a single registration reference point, and the time length ratio in the integral time of the corresponding registration point.
Specifically, for a single registration point, the integration time of the registration reference point corresponding to the registration point is compared with the integration time corresponding to the registration point to obtain the integral ratio of the registration reference point corresponding to the registration point, that is:
wherein the content of the first and second substances,pin order to be a point of registration,as registration pointspThe integration time of (d);as registration pointspIs measured by the image sensor and is registered with a reference point,for registering reference pointsThe integration time of (d);for registering reference pointsIs calculated.
S424', for each of the registration points, obtaining the environmental spectrum information of the registration point based on the environmental spectrum information of each of the registration reference points corresponding thereto and the integral ratio.
Specifically, for a single registration point, based on the integral ratio and the radiance of each registration reference point, the radiance corresponding to the registration point is obtained, and is:
wherein, the first and the second end of the pipe are connected with each other,is as followsRadiance of the registration points;toIs as followsThe radiance of each registration reference point corresponding to the registration point;toIs as followsAnd the integral ratio of each registration reference point corresponding to the registration point.
It should be noted that when the reference points are registeredThe acquisition time period of (a) spans two registration points: ( 、 ) Respectively calculating the registration reference points when the time periods of the corresponding acquisition are within the time periodIntegral ratio relative to each registration point; i.e. for the registration reference pointLet its corresponding acquisition time beAccording to its corresponding integration time ofDetermining the registration reference point corresponding to an acquisition time period of. When the registration reference pointIs located at the registration pointAnd the registration pointWhen the corresponding acquisition time period is within, acquiring that the corresponding acquisition time period is positioned at the registration pointCorresponding to a first sub-integration time within the acquisition time period ofAnd the acquisition is located at the registration pointCorresponding to a second sub-integration time within the acquisition time period ofThen based on the first sub-integration timeCalculating the registration reference pointRelative to the registration pointThe integral ratio of (a) to (b) is:
wherein the content of the first and second substances,for registering reference pointsAt the point of registrationp 1Corresponding to a first sub-integration time within the acquisition time period,the registration pointp 1Corresponding integration time.
Based on the second sub-integration timeCalculating the registration reference pointRelative to the registration pointThe integral ratio of (a) to (b) is:
wherein the content of the first and second substances,for registering reference pointsAt the point of registrationCorresponding to a first sub-integration time within the acquisition time period,the registration pointCorresponding integration time.
And S6, removing the corresponding environment spectrum information from the target spectrum information of each first sampling point in the target spectrum data based on the target spectrum data after time registration and the new environment spectrum data to obtain new target spectrum information serving as the actual spectrum information of the target object.
Specifically, for a single first sampling point in the target spectrum data, the environmental spectrum information of the corresponding registration point is removed from the target spectrum information corresponding to the first sampling point, and the actual target spectrum information of the first sampling point is obtained, so that the actual target spectrum information of the target spectrum data is obtained.
In an embodiment, for any single first sampling point, the actual target spectrum information is calculated as:
wherein the content of the first and second substances,the actual radiance of the first sampling point;the radiance collected for the first sampling point;the radiance of the registration point corresponding to the first sampling point;the interface reflectivity is related to the sun zenith angle, wind speed and direction, observation angle and the like.
Referring to fig. 6, a schematic flow chart of the target spectrum information acquisition method in another embodiment is shown; as shown in fig. 6, the target spectrum information acquiring method is basically the same as the target spectrum information acquiring method shown in fig. 2, except that before the step of removing the target spectrum information of each first sampling point in the target spectrum data from the environmental spectrum information of the corresponding second sampling point is executed, the target spectrum information acquiring method further includes:
and S5, registering the environmental spectrum data and the target spectrum data based on the wavelength information of each wave band, so that the wavelength value of each wave band in the environmental spectrum data is the same as the wavelength value of the same wave band in the target spectrum data.
Due to the fact that the spectrum acquisition equipment of the environment light is different from the spectrum acquisition equipment of the target object, the wavelength range acquired by each wave band in the environment spectrum data is different from the wavelength range acquired by each wave band in the target spectrum data.
Specifically, based on the wavelength value of each wavelength band in the target spectral data, the wavelength values of each wavelength band in the environmental spectral data are registered by using a linear difference method, so that the target spectral data and the environmental spectral data with aligned wavelength values are obtained.
It should be noted that, in other embodiments, the execution sequence of the step S5 may be before the step S4, i.e., the step S5 is executed first, and then the step S4 is executed.
In order to solve the technical problems in the prior art, the invention further provides, in a second aspect, a target spectrum information obtaining device, configured to perform spectrum data processing on target spectrum data and environment spectrum data acquired in the same time period to obtain target spectrum information without environment spectrum information.
The target spectrum data comprises first sampling points acquired based on first integration time, and the environment spectrum data comprises second sampling points acquired based on second integration time.
In one implementation, as shown in fig. 7, the target spectrum information acquiring apparatus 600 includes: a normalization processing unit 610, an acquisition time registration unit 620 and a removal unit 630. The normalization processing unit 610 is configured to perform normalization processing on the target spectrum data based on a first integration time to obtain target spectrum information corresponding to the target spectrum data; and performing normalization processing on the environment spectrum data based on a second integration time to obtain environment spectrum information corresponding to the environment spectrum data.
The specific implementation of the normalization process is the same as the implementation of the normalization process described in the above embodiments, and is not described herein again.
The acquisition time registration unit 620 is configured to register the normalized environmental spectrum data and the target spectrum data based on acquisition time to obtain environmental spectrum information corresponding to each first sampling point in the target spectrum data.
The removing unit 630 is configured to remove, based on the registered target spectral data and the registered environmental spectral data, the environmental spectral information of the corresponding second sampling point from the target spectral information of each first sampling point in the target spectral data, so as to obtain new target spectral information.
The specific implementation manner of removing the target spectrum information of each first sampling point in the target spectrum data from the environment spectrum information of the corresponding second sampling point is the same as the implementation manner of removing the environment spectrum information of the corresponding second sampling point in the above embodiment, and is not described herein again.
Optionally, the acquisition time registration unit 620 includes: a registration point construction module 621, a registration reference point determination module 622, and a registration point spectral information acquisition module 623.
The registration point constructing module 621 is configured to construct each registration point in the environmental spectrum data, where the number of the registration points is the same as the number of the first sampling points in the target spectrum data, and determine, based on the collection time of each first sampling point in the target spectrum data, the collection time of the registration point that is the same as the collection order of the first sampling point.
The registration reference point determining module 622 is configured to determine, based on the acquisition time of each registration point, a registration reference point corresponding to the registration point in each second sampling point of the environmental spectrum data; wherein, for a single registration point, the corresponding registration reference point is a second sampling point whose environmental spectrum information is associated with the environmental spectrum information of the registration point.
The registration point spectrum information obtaining module 623 is configured to obtain environment spectrum information of the corresponding registration point based on the environment spectrum information of each registration reference point.
The specific implementation manner of determining the registration reference point corresponding to the registration point in each second sampling point of the environmental spectrum data based on the acquisition time of each registration point is the same as the implementation manner of determining the registration reference point corresponding to each registration point, and is not described herein again.
In another embodiment, as shown in fig. 8, the target spectrum information acquiring apparatus 600 further includes, on the basis of the apparatus shown in fig. 7: a de-noising unit 640 and a wavelength registration unit 650.
The denoising unit 640 is configured to remove noise information in the environment spectrum data and the target spectrum data to obtain effective environment spectrum data and target spectrum data, and output the environment spectrum data and the target spectrum data with the noise information removed to the normalization processing unit 610 for processing.
The wavelength registration unit 650 is configured to register the environmental spectrum data and the target spectrum data based on wavelength information of each wavelength band, so that a wavelength value of each wavelength band in the environmental spectrum data is the same as a wavelength value of the same wavelength band in the target spectrum data.
Furthermore, the present invention also provides, in a third aspect, a computer-readable storage medium, on which a computer program is stored, which when invoked by a processor, implements the steps of the target spectral information acquisition method shown in fig. 2.
Among other things, the computer-readable storage medium can be a tangible device that can hold and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device.
The computer-readable programs described herein may be downloaded from a computer-readable storage medium to a variety of computing/processing devices, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present application may be assembly instructions, Instruction Set Architecture (ISA) instructions, machine related instructions, microcode, firmware instructions, state setting data, integrated circuit configuration data, or source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and procedural programming languages, such as the "C" programming language or similar programming languages.
The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In some embodiments, the electronic circuitry can execute computer-readable program instructions to implement aspects of the present application by utilizing state information of the computer-readable program instructions to personalize the electronic circuitry, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA).
In summary, according to the target spectrum information obtaining method, the device and the computer storage medium provided by the present invention, the target spectrum data and the environmental spectrum data obtained by collecting in the same time are respectively subjected to the normalization processing based on the integration time and the data registration based on the collection time to obtain the target spectrum data and the environmental spectrum data synchronized at the collection time, and the environmental spectrum information corresponding to the collection time is removed from the target spectrum information of the target spectrum data to obtain the actual target spectrum information, so that the influence of the factors such as the ambient light intensity variation on the collected target spectrum data is reduced; and establishing registration points in the environmental spectrum data, and determining registration reference points corresponding to the registration points based on the spectrum information relevance between the second sampling points and the registration points, so that the spectrum information of the registration points is determined according to the spectrum information of the registration reference points, the accuracy of time registration between the environmental spectrum data and the target spectrum data can be improved, the spectrum processing effect of removing the environmental spectrum information from the target spectrum data is further improved, the accuracy of the target spectrum information is improved, and the accuracy of subsequent data analysis is improved.
Therefore, the target spectrum information acquisition method, the target spectrum information acquisition device and the computer storage medium provided by the invention not only improve the processing quality of target spectrum data, but also further expand the processing method of the target spectrum data acquired in a complex illumination environment or a complex surrounding environment; the invention effectively overcomes various defects in the prior art and has high industrial utilization value.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.
Claims (11)
1. The target spectrum information acquisition method is characterized in that the target spectrum data and the environmental spectrum data acquired in the same time period are subjected to spectrum data processing to obtain target spectrum information with environmental spectrum information removed; the target spectrum data comprises first sampling points acquired based on first integration time, and the environment spectrum data comprises second sampling points acquired based on second integration time; the spectral data processing comprises:
performing normalization processing on the target spectral data based on the first integration time to obtain target spectral information of the target spectral data, and performing normalization processing on the environmental spectral data based on the second integration time to obtain environmental spectral information of the environmental spectral data;
registering the environment spectrum data and the target spectrum data after the standardized processing based on the acquisition time so as to obtain environment spectrum information corresponding to each first sampling point in the target spectrum data;
and removing corresponding environment spectrum information from the target spectrum information of each first sampling point in the target spectrum data based on the registered target spectrum data and the registered environment spectrum data to obtain new target spectrum information.
2. The method for acquiring target spectrum information according to claim 1, wherein before removing the corresponding environmental spectrum information from the target spectrum information at each first sampling point in the target spectrum data, the spectrum data is processed, further comprising:
and registering the environmental spectrum data and the target spectrum data based on the wavelength information of each waveband, so that the wavelength value of each waveband in the environmental spectrum data is the same as the wavelength value of the same waveband in the target spectrum data.
3. The target spectral information acquisition method according to claim 1, wherein the performing of the normalization process on the target spectral data based on the first integration time includes: dividing light counting information of each first sampling point in the target spectrum data by first integration time corresponding to the first sampling point; and, the performing a normalization process on the ambient spectral data based on the second integration time includes: and dividing the light counting information of each second sampling point in the environmental spectrum data by a second integration time corresponding to the second sampling point.
4. The method for acquiring target spectrum information according to claim 1, wherein the registering the normalized environmental spectrum data and the target spectrum data based on the acquisition time comprises:
constructing each registration point in the environmental spectrum data, wherein the number of the registration points is the same as that of first sampling points in the target spectrum data, and determining the acquisition time of the registration points in the same acquisition order based on the acquisition time of each first sampling point in the target spectrum data;
determining a registration reference point corresponding to each registration point in each second sampling point of the environmental spectral data based on the acquisition time of each registration point; acquiring environmental spectrum information of each registration point based on the environmental spectrum information of the registration reference point corresponding to each registration point; wherein the registration reference point is the second sampling point associated with the environmental spectral information of the corresponding registration point.
5. The method for acquiring target spectrum information according to claim 4, wherein the determining, based on the acquisition time of each registration point, a registration reference point corresponding to the registration point from among second sampling points of the environmental spectrum data includes:
determining a first adjacent sampling point and a second adjacent sampling point corresponding to each registration point in each second sampling point; for any registration point, the corresponding first adjacent sampling point is each second sampling point, the acquisition time of which is earlier than the acquisition time of the registration point, and the time interval from the acquisition time of the registration point is less than a threshold value; and the corresponding second adjacent sampling points are all the second sampling points, the acquisition time of which is later than the acquisition time of the registration point, and the time interval from the acquisition time of the registration point is less than the threshold value.
6. The method for acquiring target spectrum information according to claim 5, wherein acquiring the environmental spectrum information of each registration point based on the environmental spectrum information of the registration reference point corresponding to each registration point comprises:
for each alignment point, acquiring the environmental spectrum information of the first adjacent sampling point based on the environmental spectrum information of each second sampling point in the corresponding first adjacent sampling point, and acquiring the environmental spectrum information of each second adjacent sampling point based on the environmental spectrum information of each second adjacent sampling point in the corresponding second adjacent sampling point;
and acquiring the environmental spectrum information of each registration point by adopting a linear interpolation method based on the corresponding environmental spectrum information of the first adjacent sampling point and the corresponding environmental spectrum information of the second adjacent sampling point.
7. The method for acquiring target spectrum information according to claim 4, wherein the determining, based on the acquisition time of each registration point, a registration reference point corresponding to the registration point from among second sampling points of the environmental spectrum data includes:
acquiring the integral time of each registration point, wherein the integral time is the integral time of the first sampling point with the same acquisition sequence as the registration points;
for each registration point, determining an acquisition time period corresponding to the registration point based on the acquisition time and the integration time corresponding to the registration point; and by time matching, using each second sampling point positioned in the acquisition time period corresponding to the registration point as the registration reference point corresponding to the registration point.
8. The method for acquiring target spectrum information according to claim 7, wherein acquiring the environmental spectrum information of each registration point based on the environmental spectrum information of the registration reference point corresponding to each registration point comprises:
acquiring integral proportion of registration reference points corresponding to the registration points; wherein the integral ratio is the duration ratio of the integral time of a single registration reference point within the integral time of the corresponding registration point;
for each registration point, acquiring the environmental spectrum information of the registration point based on the environmental spectrum information and the integral ratio of each registration reference point corresponding to the registration point.
9. The target spectrum information acquisition device is characterized by being used for carrying out spectrum data processing on target spectrum data and environment spectrum data acquired in the same time period to obtain target spectrum information with environment spectrum information removed; the target spectrum data comprises first sampling points acquired based on first integration time, and the environment spectrum data comprises second sampling points acquired based on second integration time; the target spectrum information acquisition device includes:
a normalization processing unit configured to perform normalization processing on the target spectrum data based on the first integration time to obtain target spectrum information of the target spectrum data, and perform normalization processing on the environment spectrum data based on the second integration time to obtain environment spectrum information of the environment spectrum data;
the acquisition time registration unit is used for registering the environment spectrum data and the target spectrum data after the standardized processing based on acquisition time so as to obtain environment spectrum information corresponding to each first sampling point in the target spectrum data;
and the removing unit is used for removing the corresponding environmental spectrum information from the target spectrum information of each first sampling point in the target spectrum data based on the registered target spectrum data and the registered environmental spectrum data so as to obtain new target spectrum information.
10. The target spectral information acquisition apparatus according to claim 9, wherein the acquisition time registration unit includes:
the registration point construction module is used for constructing each registration point in the environmental spectrum data, the number of the registration points is the same as that of first sampling points in the target spectrum data, and the acquisition time of the registration points in the same acquisition order is determined based on the acquisition time of each first sampling point in the target spectrum data;
a registration reference point determining module, configured to determine, based on an acquisition time of each registration point, a registration reference point corresponding to the registration point in each second sampling point of the environmental spectrum data; wherein the registration reference point is the second sampling point associated with the environmental spectral information of the corresponding registration point;
and the registration point spectrum information acquisition module is used for acquiring the environment spectrum information of each registration point based on the environment spectrum information of the registration reference point corresponding to each registration point.
11. A computer storage medium storing a computer program, wherein the computer program is executed by a processor to implement the target spectral information acquisition method according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210189396.3A CN114255404B (en) | 2022-03-01 | 2022-03-01 | Target spectrum information acquisition method, apparatus and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210189396.3A CN114255404B (en) | 2022-03-01 | 2022-03-01 | Target spectrum information acquisition method, apparatus and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114255404A CN114255404A (en) | 2022-03-29 |
CN114255404B true CN114255404B (en) | 2022-05-17 |
Family
ID=80797176
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210189396.3A Active CN114255404B (en) | 2022-03-01 | 2022-03-01 | Target spectrum information acquisition method, apparatus and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114255404B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108924437A (en) * | 2018-08-02 | 2018-11-30 | 清华大学 | Overcome the video multispectral imaging method, apparatus and storage medium of ambient light interference |
CN113340822A (en) * | 2021-06-23 | 2021-09-03 | 浙江启真信息科技有限公司 | Automatic calibration spectrum acquisition method, device and medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018217466A2 (en) * | 2017-05-25 | 2018-11-29 | Applied Materials, Inc. | Measuring concentrations of radicals in semiconductor processing |
-
2022
- 2022-03-01 CN CN202210189396.3A patent/CN114255404B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108924437A (en) * | 2018-08-02 | 2018-11-30 | 清华大学 | Overcome the video multispectral imaging method, apparatus and storage medium of ambient light interference |
CN113340822A (en) * | 2021-06-23 | 2021-09-03 | 浙江启真信息科技有限公司 | Automatic calibration spectrum acquisition method, device and medium |
Non-Patent Citations (2)
Title |
---|
Remote Hyperspectral Imaging Acquisition and Characterization for Marine Litter Detection;Sara Freitas et al.;《 Remote Sensing》;20210629;第13卷(第13期);全文 * |
除谱新方法在光谱分析中的应用;鞠思文;《中国优秀硕士学位论文全文数据库 基础科学辑》;20190215;第2019年卷(第2期);第A005-38页 * |
Also Published As
Publication number | Publication date |
---|---|
CN114255404A (en) | 2022-03-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019042232A1 (en) | Fast and robust multimodal remote sensing image matching method and system | |
WO2018137103A1 (en) | Basin pollution detection method and system based on multi-source remote sensing data | |
Bouali et al. | Adaptive reduction of striping for improved sea surface temperature imagery from Suomi National Polar-Orbiting Partnership (S-NPP) visible infrared imaging radiometer suite (VIIRS) | |
CN108956505B (en) | Method and device for detecting concentration of chlorophyll a in small water body based on Sentinel-2 image | |
US20130132044A1 (en) | Lens Modeling | |
CN106940887B (en) | GF-4 satellite sequence image cloud and cloud shadow detection method | |
US20230056564A1 (en) | Image authenticity detection method and apparatus | |
US20230146924A1 (en) | Neural network analysis of lfa test strips | |
CN111932651B (en) | Extraction method and related device for water surface flare | |
CN117173580B (en) | Water quality parameter acquisition method and device, image processing method and medium | |
CN117115666B (en) | Plateau lake extraction method, device, equipment and medium based on multi-source data | |
CN114255404B (en) | Target spectrum information acquisition method, apparatus and medium | |
CN116682286B (en) | Ship early warning method and system based on offshore target detection | |
Erener et al. | A methodology for land use change detection of high resolution pan images based on texture analysis | |
CN114965441B (en) | Training method of element probabilistic prediction model and element probabilistic prediction method | |
Geiss et al. | Strictly enforcing invertibility and conservation in CNN-based super resolution for scientific datasets | |
Chandana Sri et al. | Using Convolution Networks to Remove Stripes Noise from Infrared Cloud Images | |
Stankevich et al. | Knowledge-based multispectral remote sensing imagery superresolution | |
WO2023275583A1 (en) | Automated detection of gas emissions | |
CN111669575B (en) | Method, system, electronic device, medium and terminal for testing image processing effect | |
Jonckheere et al. | Derivative analysis for in situ high dynamic range hemispherical photography and its application in forest stands | |
CN114387200A (en) | Target structure registration measurement method and system for planet and asteroid detection | |
Chaddad et al. | Hardware implementation of active contour algorithm for fast cancer cells detection | |
CN117218552B (en) | Estimation algorithm optimization method and device based on pixel change detection | |
CN117589093B (en) | Hyperspectral remote sensing monitoring method, device, equipment and medium for crop leaf area index |
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 |