Method to remove the spectral components of illumination and background from multi-spectral and hyper-spectral images
09998636 ยท 2018-06-12
Assignee
Inventors
Cpc classification
H04N23/81
ELECTRICITY
G01J3/027
PHYSICS
H04N23/11
ELECTRICITY
H04N25/60
ELECTRICITY
International classification
Abstract
The present invention is a method of removing the illumination and background spectral components thus isolating spectra from multi-spectral and hyper-spectral data cubes. The invention accomplishes this by first balancing a reference and sample data cubes for each spectra associated with each location, or pixel/voxel, in the spatial image. The set of residual spectra produced in the balancing step is used to obtain and correct a new set of reference spectra that is used to remove the illumination and background components in a sample data cube.
Claims
1. A method for removing spectral components of illumination energy and background from multi-spectral and hyper-spectral data cubes containing spatial and spectral images, the method comprising: aligning a data cube of a sample spectral camera with a data cube of a reference spectral camera; obtaining an empty sample data cube (x.sub.se, y.sub.se, ?.sub.se) from said sample spectral camera directed at a first area and an empty reference data cube (x.sub.re, y.sub.re, ?.sub.re) from said reference spectral camera directed at a second area; subtracting a spectral intensity of each pixel of said empty reference data cube (x.sub.re, y.sub.re, ?.sub.re) from a spectral intensity of a corresponding pixel of said empty sample data cube (x.sub.se, y.sub.se, ?.sub.se) to obtain a residual spectral data cube (x.sub.R, y.sub.R, ?.sub.R); adding the spectral intensity of each pixel of the residual spectral data cube (x.sub.R, y.sub.R, ?.sub.R) to the spectral intensity of a corresponding pixel of said empty reference data cube (x.sub.re, y.sub.re, ?.sub.re) to obtain a resulting reference data cube [(x.sub.re, y.sub.re, ?.sub.re)+(x.sub.R, y.sub.R, ?.sub.R)]; subtracting the intensity of each pixel of the resulting reference data cube [(x.sub.re, y.sub.re, ?.sub.re)+(x.sub.R, y.sub.R, ?.sub.R)] from the intensity of a corresponding pixel of said empty sample data cube (x.sub.se, y.sub.se, ?.sub.se) to obtain a zero order spectra data cube where all spectral intensities throughout the data cube are zero; obtaining a sample data cube (x.sub.s, y.sub.s, ?.sub.s) from said sample spectral camera directed at a third area and a reference data cube (x.sub.r, y.sub.r, ?.sub.r) from said reference spectral camera directed at a fourth area; adding the spectral intensity of each pixel of the residual spectral data cube (x.sub.R, y.sub.R, ?.sub.R) to the spectral intensity of a corresponding pixel of said reference data cube (x.sub.r, y.sub.r, ?.sub.r) to obtain a new resulting reference data cube [(x.sub.r, y.sub.r, ?.sub.r)+(x.sub.R, y.sub.R, ?.sub.R)]; and subtracting the spectral intensity of each pixel of the resulting reference data cube [(x.sub.r, y.sub.r, ?.sub.r)+(x.sub.R, y.sub.R, ?.sub.R)] from the intensity of a corresponding pixel of said sample data cube (x.sub.s, y.sub.s, ?.sub.s) to obtain a noise-free data cube, effectively removing from said noise-free data cube at least one of: spectral illumination components, aerosol components, and background components.
2. The method of claim 1, wherein said sample spectral camera and said reference spectral camera are multi-spectral cameras and said spectral image is a multi-spectral image.
3. The method of claim 1, wherein said sample spectral camera and said reference spectral camera are hyper-spectral cameras and said spectral image is a hyper-spectral image.
4. The method of claim 1, wherein said first area and said second area are the same areas.
5. The method of claim 4, wherein said first area and said second area is an empty reference area devoid of sample and background material.
6. The method of claim 1, wherein said third area is an area that contains a material of interest and said fourth area is the sky.
7. The method of claim 6, wherein the noise-free data cube is free of spectral illumination components and spectral aerosol components leaving only the spectral components of the material of interest and the background in the noise-free data cube.
8. The method of claim 1, wherein said third area is an area that contains a material of interest and said fourth area is an area that has the same background where the material of interest is located but devoid of said material of interest.
9. The method of claim 8, wherein the noise-free data cube is free of spectral illumination components, spectral aerosol components and spectral background components leaving only the spectral components of the material of interest in the noise-free data cube.
10. A method for removing spectral components of illumination energy and background from multi-spectral and hyper-spectral data cubes containing spatial and spectral images, the method comprising: aligning a data cube generated from a sample spectral source with a data cube generated from a reference spectral source; generating an empty sample data cube (x.sub.se, y.sub.se, ?.sub.se) from said sample spectral source directed at a first area and an empty reference data cube (x.sub.re, y.sub.re, ?.sub.re) from said reference spectral source directed at a second area; subtracting a spectral intensity of each pixel of said empty reference data cube (x.sub.re, y.sub.re, ?.sub.re) from a spectral intensity of a corresponding pixel of said empty sample data cube (x.sub.se, y.sub.se, ?.sub.se) to obtain a residual spectral data cube (x.sub.R, y.sub.R, ?.sub.R); adding the spectral intensity of each pixel of the residual spectral data cube (x.sub.R, y.sub.R, ?.sub.R) to the spectral intensity of a corresponding pixel of said empty reference data cube (x.sub.re, y.sub.re, ?.sub.re) to obtain a resulting reference data cube [(x.sub.re, y.sub.re, ?.sub.re)+(x.sub.R, y.sub.R, ?.sub.R)]; subtracting the intensity of each pixel of the resulting reference data cube [(x.sub.re, y.sub.re, ?.sub.re)+(x.sub.R, y.sub.R, ?.sub.R)] from the intensity of a corresponding pixel of said empty sample data cube (x.sub.se, y.sub.se, ?.sub.se) to obtain a zero order spectra data cube where all spectral intensities throughout the data cube are zero; generating a sample data cube (x.sub.s, y.sub.s, ?.sub.s) from said sample spectral source directed at a third area and a reference data cube (x.sub.r, y.sub.r, ?.sub.r) from said reference spectral source directed at a fourth area; adding the spectral intensity of each pixel of the residual spectral data cube (x.sub.R, y.sub.R, ?.sub.R) to the spectral intensity of a corresponding pixel of said reference data cube (x.sub.r, y.sub.r, ?.sub.r) to obtain a new resulting reference data cube [(x.sub.r, y.sub.r, ?.sub.r)+(x.sub.R, y.sub.R, ?.sub.R)]; and subtracting the spectral intensity of each pixel of the new resulting reference data cube [(x.sub.r, y.sub.r, ?.sub.r)+(x.sub.R, y.sub.R, ?.sub.R)] from the intensity of a corresponding pixel of said sample data cube (x.sub.s, y.sub.s, ?.sub.s) to obtain a noise-free data cube, effectively removing from said noise-free data cube at least one of: spectral illumination components, aerosol components, and background components.
11. The method of claim 10, wherein an output of said sample spectral source is directed to a first section on a CCD chip and an output of said reference spectral source is directed to a second section on said CCD chip.
12. The method of claim 10, wherein said sample spectral source and said reference spectral source are multi-spectral sources and said spectral image is a multi-spectral image.
13. The method of claim 10, wherein said sample spectral source and said reference spectral source are hyper-spectral sources and said spectral image is a hyper-spectral image.
14. The method of claim 10, wherein said first area and said second area are the same areas.
15. The method of claim 14, wherein said first area and said second area is an empty reference area devoid of sample and background material.
16. The method of claim 10, wherein said third area is an area that contains a material of interest and said fourth area is the sky.
17. The method of claim 16, wherein the noise-free data cube is free of spectral illumination components and spectral aerosol components leaving only the spectral components of the material of interest and the background in the noise-free data cube.
18. The method of claim 10, wherein said third area is an area that contains a material of interest and said fourth area is an area that has the same background where the material of interest is located but devoid of said material of interest.
19. The method of claim 18, wherein the noise-free data cube is free of spectral illumination components, spectral aerosol components and spectral background components leaving only the spectral components of the material of interest in the noise-free data cube.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) Further features and advantages of the invention will become apparent from the following detailed description taken in conjunction with the accompanying figures showing illustrative embodiments of the invention, in which:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9) Throughout the figures, the same reference numbers and characters, unless otherwise stated, are used to denote like elements, components, portions or features of the illustrated embodiments. The subject invention will be described in detail in conjunction with the accompanying figures, in view of the illustrative embodiments.
DETAILED DESCRIPTION OF THE INVENTION
(10) The invention is applied to hyper-spectral and multi-spectral data cubes as shown in
(11) The general methodology of the invention will be described now in conjunction with
(12) The data cube is comprised of the spatial image plane (x, y) and a spectrum (x, y, ?) associated with each spatial image position (x, y) as illustrated on
(13) New reference and sample data cubes of areas of interest are obtained at the same time and under the same environmental conditions. The sample area will contain material of interest and the reference area may be: a) empty space that will generate images containing the material of interest and the background, or b) an area having the same background as the area containing the material of interest that will generate images containing only the material of interest.
(14) The Noise-Free Data Cube of the sample area is generated by first adding the corresponding Residual Spectra to the new respective reference spectra of the new set of data cubes. This step is necessary to correct the reference spectra to maintain the balance of the two cameras. The corrected reference spectra are then subtracted from the corresponding spectra in the sample data cube. The resulting Noise-Free Data Cube is now absent of spectral components of illumination, or illumination and background, depending on the choice of the reference.
(15) The Noise-Free Data Cube can now be analyzed and displayed by normal methods and routines. For example, the spectral image of a specific wavelength or set of wavelengths can be generated by digitally stacking the sections of the data cube corresponding to the chosen wavelengths. This spectral image can then be superimposed onto the digital image to obtain the location and distribution of the material of interest. With the removal of the spectral components of illumination and background, the spectra reveal a much clearer picture of the spectral signature of interest. In addition, identification of individual materials will be simplified since more of the materials intrinsic spectral components will be unmasked due to the removal of the illumination and background components. The degree of de-convolution is also simplified by eliminating the illumination and background components such that identification of the materials is more easily identified.
(16) It should be noted that the same Noise-Free Data Cube can also be obtained in an equivalent manner by subtracting the Residual Spectral Data from the sample spectral data and then subtracting the residual data from the corrected sample spectral data, as explained on
MODALITIES OF THE INVENTION
(17) Methods of Acquisition of the Data Cubes
(18) Mode 1
(19) The preferred and most straight forward method of data cube acquisition is to use a set of two multi-spectral or hyper-spectral cameras of the same make and model, to obtain the data cubes of empty space, e.g., the sky, by the set of cameras at the same time and under the same conditions. Using the same make and model cameras simplifies the data alignment because both cameras use the same pixel arrays. By obtaining Zero Order Spectra from every spectral pixel, a Balanced Data Cube is obtained. New reference and sample data cubes can now be taken. However, when using an empty space as the new reference, applying the present invention to the data cubes only eliminates the illumination components from the Noise-Free Data Cube. This is useful when the components of the background are also of interest in the analysis. However, if only the specific material is of interest, then the illumination and background spectral components can be removed from the image using a reference area that contains the same background as the sample area. For example, if the material of interest were floating on the surface of the ocean, then the reference area of the same water would be chosen far from the sample area that is known to be free of the material of interest.
(20) Mode 2
(21) An alternative method would be to use a single camera that is adapted to accommodate two data sources, namely the reference and sample data cubes by directing the data cubes onto a single pixel array where the data for the reference and sample are positioned in separate areas of a single array (
(22) Mode 3
(23) A less rigorous method of removing the spectral components of the illumination can be used when the only source of data is the reflecting sample area. This method may be applied to multi-spectral imaging where the reference data cube is obtained from a strongly defocused image of the sample area and the sample data cube is obtained with the highly-focused image. The average intensity value of the brightest defocused region through each filter of the multi-spectral camera is measured and serves as the reference value for the data taken with a particular filter of the multi-spectral camera. The single intensity value determined for each filter of the defocused region is subtracted from the intensity value of each pixel in the array of the focused sample area taken with the same filter. This resulting value represents an approximation of the spectral value the pixel without the illumination component.
EXAMPLES
(24) Methods of Obtaining Data Cubes for Analysis According to the Invention:
(25) A. The preferred method for this invention to obtain data cubes containing spectral components of the material of interest and the background. Step 1. Two hyper-spectral or multi-spectral cameras (serving as a reference camera and a sample camera) of the same make and model are mounted on a cross bar such that each may independently aimed at different selected imaging areas. Step 2. Both cameras are aimed at the same area of clear sky in a direction away from the sun. Step 3. Each camera obtains a data cube of this common area of the sky whereas the data cube only contains spectral components of the natural illumination and aerosols and particulates in the atmosphere at the time. Step 4. The sample camera is then aimed at the imaging area of interest while the reference camera remains aimed at the clear sky. Step 5. Both cameras obtain a second set of data cubes of the respective imaging areas indicated in Step 4. B. The preferred method for this invention to obtain data cubes containing only the material of interest. Step 1. Two hyper-spectral or multi-spectral cameras (serving as a reference camera and a sample camera) of the same make and model are mounted on a cross bar such that each may independently aimed at selected imaging areas. Step 2. Both cameras are aimed at the same area that is representative of the background in which the material of interest is known to be absent. Step 3. Each camera obtains a data cube of this common area of background whereas the data cube only contains spectral components of the natural illumination, aerosols and particulates, and the background in which the material of interest may be found. Step 4. The sample camera is then aimed at the imaging area of interest while the reference camera remains aimed at the area representative of the background. Step 5. Both cameras obtain a second set of data cubes of the respective imaging areas indicated in Step 4. C. The preferred method for this invention where only the sample area is available from which to obtain data cubes. (For example, in Astronomy) Step 1. A single hyper-spectral or multi-spectral camera is aimed at the sample area. Step 2. The camera is carefully focused on the sample area and data are obtained through each filter of the camera. Step 3. The camera is then highly defocused to the point that the areas of the image appear to defuse into one another and a second data cube is obtained through each filter of the camera.
(26) The above examples are only shown as preferred methods but are not limiting examples of how to obtain data cubes according to the present invention.
(27) Processing the Data Cubes According to the Invention
(28) Alignment of the Data Cubes:
(29) Step 1. Obtain a reference and sample data cubes from a common detail-rich target. Step 2. Identify the addresses of the visual image data (x, y) within the set of reference and sample data cubes, as well as, the addresses of the spectral data (x, y, ?) associated with each pixel of the spatial image. Step 3. Align the two visual images such that the x, y coordinates of each detail of the visual images have the same location in the aligned images for both data cubes, such that the positions of the spectral data (x, y, ?) are also the same in both data cubes.
Balancing the Camera Outputs: Step 1. Obtain data cubes from each camera of the same empty reference area (devoid of sample and background material). Step 2. Subtract the spectral intensity of each empty reference pixel (x.sub.re, y.sub.re, ?.sub.re) from the corresponding spectral intensity of each empty sample pixel (x.sub.se, y.sub.se, ?.sub.se). The result is the Residual Spectral Data (x.sub.R, y.sub.R, ?.sub.R), Step A on
Obtaining a Data Cube Free of Illumination and Aerosol Components: Step 1. Obtain data cubes when the sample camera is aimed at an area that contains the material of interest and the reference camera is aimed at the sky. Step 2. Add the Residual Spectral Data (x.sub.R, y.sub.R, ?.sub.R) to the corresponding new reference data (x.sub.r, y.sub.r, ?.sub.r), then, subtract the resulting reference data [(x.sub.r, y.sub.r, ?.sub.r)+(x.sub.R, y.sub.R, ?.sub.R)] from the corresponding new sample data (x.sub.s, y.sub.s, ?.sub.s),
Obtaining a Data Cube Free of Illumination, Aerosol, and Background, Components: Step 1. Obtain data cubes when the sample camera is aimed at an area that contains the material of interest and the reference camera is aimed at an area that has the same background but devoid of the material of interest. For example, the sample area near the shore that contains red algae, and the reference area far from shore that is devoid of red algae. Step 2. Add the Residual Spectral Data (x.sub.R, y.sub.R, ?.sub.R) to the corresponding new reference data (x.sub.r, y.sub.r, ?.sub.r), then, subtract the resulting reference data [(x.sub.r, y.sub.r, ?.sub.r)+(x.sub.R, y.sub.R, ?.sub.R)] from the corresponding new sample data (x.sub.s, y.sub.s, ?.sub.s), Step C on
(30) As can be appreciated on
(31) Although the present invention has been described herein with reference to the foregoing exemplary embodiment, this embodiment does not serve to limit the scope of the present invention. Accordingly, those skilled in the art to which the present invention pertains will appreciate that various modifications are possible, without departing from the technical spirit of the present invention.