CN111076815B - A method for correcting non-uniformity of hyperspectral images - Google Patents
A method for correcting non-uniformity of hyperspectral images Download PDFInfo
- Publication number
- CN111076815B CN111076815B CN201911124467.6A CN201911124467A CN111076815B CN 111076815 B CN111076815 B CN 111076815B CN 201911124467 A CN201911124467 A CN 201911124467A CN 111076815 B CN111076815 B CN 111076815B
- Authority
- CN
- China
- Prior art keywords
- uniformity correction
- image
- detector
- value
- uniformity
- 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
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01J—MEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
- G01J3/00—Spectrometry; Spectrophotometry; Monochromators; Measuring colours
- G01J3/28—Investigating the spectrum
- G01J3/2823—Imaging spectrometer
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01J—MEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
- G01J3/00—Spectrometry; Spectrophotometry; Monochromators; Measuring colours
- G01J3/02—Details
- G01J3/0297—Constructional arrangements for removing other types of optical noise or for performing calibration
Landscapes
- Physics & Mathematics (AREA)
- Spectroscopy & Molecular Physics (AREA)
- General Physics & Mathematics (AREA)
- Image Processing (AREA)
Abstract
本发明公开了一种高光谱图像非均匀性校正的方法,本发明首先获取成像光谱仪数据并进行数据预处理,然后对数据进行分布统计,利用不同分布位置的数据生成辐射校正系数,最后完成高光谱图像的非均匀性校正。本发明针对缺少非均匀性校正系数或系数失效导致的图像非均匀性校正的难题,本方法基本不会造成图像信息的损失,对成像仪定标和数据预处理具有重要的作用。
The invention discloses a method for non-uniformity correction of hyperspectral images. The invention first acquires imaging spectrometer data and performs data preprocessing, then performs distribution statistics on the data, uses data at different distribution positions to generate radiation correction coefficients, and finally completes high-resolution imaging. Non-uniformity correction of spectral images. Aiming at the problem of image non-uniformity correction caused by lack of non-uniformity correction coefficient or coefficient failure, the method basically does not cause loss of image information, and plays an important role in imager calibration and data preprocessing.
Description
技术领域technical field
本发明属于遥感探测与成像光谱仪数据处理领域,特别涉及一种高光谱图像非均匀性校正的方法。The invention belongs to the field of remote sensing detection and imaging spectrometer data processing, in particular to a method for correcting the non-uniformity of hyperspectral images.
背景技术Background technique
由于探测器自身材料、工艺以及环境变化原因,对于均匀的辐射或反射信号,探测器响应值存在差异,非均匀性严重影响成像光谱仪图像质量和应用效果。因此非均匀性是图像处理必要环节。Due to the material, process and environmental changes of the detector itself, there are differences in the response value of the detector for uniform radiation or reflection signals, and the non-uniformity seriously affects the image quality and application effect of the imaging spectrometer. Therefore, non-uniformity is a necessary part of image processing.
非均匀校正方法包括基于实验室定标法、图像滤波和基于图像的统计匹配方法,实验室定标方法可以达到较高精度,但是由于实验室定标不足、探测器受环境等影响变化导致的定标系数失效,进行造成数据的非均匀性校正的难题;图像滤波会造成图像信息的损失,而且算法复杂,运算速度慢;基于图像的统计匹配方法主要是以矩匹配为基础,统计的内容与本发明统计类型不同,多为图像的均值和标准差、相关系数等,该方法对图像的场景分布要求较高。因此,需要一种非均匀性校正方法,实现无定标系数或定标系数失效导致的非均匀性校正的难题。The non-uniform correction methods include laboratory calibration method, image filtering and image-based statistical matching method. The laboratory calibration method can achieve high accuracy, but due to insufficient laboratory calibration, the detector is affected by the environment and other changes. The calibration coefficient is invalid, and it is difficult to correct the non-uniformity of the data; image filtering will cause the loss of image information, and the algorithm is complex and the operation speed is slow; the image-based statistical matching method is mainly based on moment matching. Different from the statistical type of the present invention, most of them are the mean value, standard deviation, correlation coefficient, etc. of the image, and this method has higher requirements on the scene distribution of the image. Therefore, there is a need for a non-uniformity correction method to realize the problem of non-uniformity correction caused by no calibration coefficient or failure of the calibration coefficient.
发明内容SUMMARY OF THE INVENTION
本发明所要解决的问题是:提供一种非均匀性校正方法方法,解决了目前定标系数无效导致的图像非均匀性校正的难题。The problem to be solved by the present invention is to provide a non-uniformity correction method, which solves the problem of image non-uniformity correction caused by invalid calibration coefficients at present.
本发明包括以下步骤:The present invention includes the following steps:
(1)获取单次成像光谱仪飞行图像数据,进行数据预处理,将所有图像数据减除暗电流,得到图像数据集合。(1) Acquire the flight image data of a single imaging spectrometer, perform data preprocessing, subtract dark current from all image data, and obtain an image data set.
(2)对每个探元采集的图像数据进行分布统计,步骤如下:(2) Perform distribution statistics on the image data collected by each detector, the steps are as follows:
(2-1)统计每个探元所有图像灰度值的最大值、最小值和动态范围;(2-1) Count the maximum value, minimum value and dynamic range of all image gray values of each detector;
(2-2)统计每个探元的累计直方图,将累计直方图进行归一化处理,生成归一化累计直方图。(2-2) Count the cumulative histogram of each detector, and normalize the cumulative histogram to generate a normalized cumulative histogram.
(3)辐射校正系数生成,步骤如下;(3) The radiation correction coefficient is generated, and the steps are as follows;
(3-1)从所述的归一化累计直方图提取T组(T≥2)指定归一化值对应的灰度值G,求取每行灰度值G的均值H;(3-1) Extract the gray value G corresponding to the specified normalized value in T groups (T≥2) from the normalized cumulative histogram, and obtain the mean value H of the gray value G in each row;
(3-2)利用下式计算非均匀性校正的校正系数A和B(3-2) Calculate the correction coefficients A and B for non-uniformity correction using the following equations
其中: 为T组灰度值G的均值,为T组均值H的均值,T为步骤(3-1)提取的组数。in: is the mean value of the gray value G of the T group, is the mean value of the mean value H of T groups, and T is the number of groups extracted in step (3-1).
(4)非均匀性校正,利用非均匀性校正系数所有像元进行校正,获取非均匀性校正结果。(4) Non-uniformity correction, all pixels are corrected by the non-uniformity correction coefficient, and the non-uniformity correction result is obtained.
本发明所述的系统通过以上方法,本发明可以实现缺少实验室定标、成像仪受环境等影响发生变化定标系数失效的情况,可以有效解决图像的非均匀性校正难题,与常规的图像去噪的处理方法相比,较好的保留了图像的信息量。Through the above method, the system of the present invention can realize the situation of lack of laboratory calibration and the failure of the calibration coefficient due to the change of the imager due to the influence of the environment, etc. Compared with the denoising method, the information of the image is better preserved.
附图说明Description of drawings
下面将结合附图及实施例对本发明作进一步说明,附图中:The present invention will be further described below in conjunction with the accompanying drawings and embodiments, in which:
图1为非均匀性校正方法的流程图;Fig. 1 is the flow chart of the non-uniformity correction method;
图2为经过本发明进行非均匀性校正的的效果对比图,其中图(a)为原始图像,图(b)为非均匀性校正结果图。FIG. 2 is a comparison diagram of the effect of the non-uniformity correction performed by the present invention, wherein the figure (a) is the original image, and the figure (b) is the non-uniformity correction result diagram.
具体实施方式Detailed ways
以下结合图1—图2对非均匀性校正方法进行详细说明。The non-uniformity correction method will be described in detail below with reference to FIGS. 1 to 2 .
(1)获取单次成像光谱仪飞行数据,成像光谱仪探测器尺寸为1024×256,空间维大小为1024,光谱维大小为256,单条航线获取图像大小约100000帧,进行数据预处理,将所有数据减除暗电流,得到图像数据集合记为Dn(i,j),Dn(i,j)代表探测器第i列,第j行,第n帧的图像灰度值,0≤i<1024,0≤j<256,0≤n<100000;部分原始图如图2(a)所示;(1) Acquire the flight data of a single imaging spectrometer. The size of the imaging spectrometer detector is 1024 × 256, the spatial dimension is 1024, and the spectral dimension is 256. The image size of a single flight route is about 100,000 frames, and data preprocessing is performed to convert all data Subtract the dark current to obtain the image data set, denoted as D n (i, j), D n (i, j) represents the image gray value of the i-th column, j-th row, and n-th frame of the detector, 0≤i< 1024, 0≤j<256, 0≤n<100000; part of the original image is shown in Figure 2(a);
(2)对每个探元采集的图像灰度值进行分布统计;(2) Carry out distribution statistics on the gray value of the image collected by each detector;
(2-1)统计每个探元所有采集灰度值的最大值Max(i,j)、最小值Min(i,j)和动态范围Rag(i,j),Rag(i,j)=Max(i,j)-Min(i,j)+1;(2-1) Count the maximum value Max(i,j), the minimum value Min(i,j) and the dynamic range Rag(i,j) of all collected grayscale values of each detector, Rag(i,j)= Max(i,j)-Min(i,j)+1;
(2-2)统计每个探元的累计直方图并进行归一化处理,获取归一化直方图Hr(i,j),Hr(i,j)代表探测器第i列,第j行,图像灰度值小于等于r的像元个数与总帧数的比值。(2-2) Count the cumulative histogram of each detector and normalize it to obtain a normalized histogram H r (i, j), where H r (i, j) represents the i-th column of the detector, the Line j, the ratio of the number of pixels whose gray value is less than or equal to r to the total number of frames.
(3)辐射校正系数生成;(3) Generation of radiation correction coefficients;
(3-1)提取9组特征分布值,求取Hr(i,j)等于0.1、0.2、0.3、0.4、0.5、0.6、0.7、0.8、0.9对应的灰度值,分别对应Gt(i,j),t=1,2,…,9;求取每行灰度值的均值Ht(j),计算公式为 (3-1) Extract 9 groups of characteristic distribution values, and obtain the gray values corresponding to H r (i, j) equal to 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, and 0.9, corresponding to G t ( i,j),t=1,2,...,9; find the mean value H t (j) of the gray value of each row, and the calculation formula is
(3-3)利用下式求取每个探元非均匀性校正的校正系数A(i,j),B(i,j)(3-3) Calculate the correction coefficients A(i,j) and B(i,j) for the non-uniformity correction of each detector using the following equations
其中: in:
(4)非均匀性校正,利用非均匀性校正系数所有像元进行校正,获取非均匀性校正结果:(4) Non-uniformity correction, use the non-uniformity correction coefficient to correct all pixels, and obtain the non-uniformity correction result:
Rn(i,j)=A(i,j)×Dn(i,j)+B(i,j) Rn (i,j)=A(i,j)× Dn (i,j)+B(i,j)
其中Rn(i,j)代表探测器第i列,第j行,第n帧的图像均匀性校正结果,部分校正结果图如图2(b)所示。Among them, R n (i, j) represents the image uniformity correction result of the i-th column, j-th row, and n-th frame of the detector. Part of the correction result is shown in Figure 2(b).
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911124467.6A CN111076815B (en) | 2019-11-18 | 2019-11-18 | A method for correcting non-uniformity of hyperspectral images |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911124467.6A CN111076815B (en) | 2019-11-18 | 2019-11-18 | A method for correcting non-uniformity of hyperspectral images |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111076815A CN111076815A (en) | 2020-04-28 |
| CN111076815B true CN111076815B (en) | 2020-11-20 |
Family
ID=70311071
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201911124467.6A Active CN111076815B (en) | 2019-11-18 | 2019-11-18 | A method for correcting non-uniformity of hyperspectral images |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111076815B (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115876323B (en) * | 2022-11-29 | 2025-08-05 | 中国科学院合肥物质科学研究院 | Method for measuring PRNU characteristics of area array detectors in imaging spectrometers |
| CN116074484A (en) * | 2023-01-15 | 2023-05-05 | 山东产研卫星信息技术产业研究院有限公司 | Bayer color reconstruction method of CMOS satellite image |
| CN119417738B (en) * | 2024-10-17 | 2025-09-26 | 中国科学院上海技术物理研究所 | Self-adaptive non-uniform correction method for push-broom hyperspectral image based on scene |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009089080A (en) * | 2007-09-28 | 2009-04-23 | Fujifilm Corp | Image processing method and image processing apparatus |
| CN103604503B (en) * | 2013-06-17 | 2016-07-20 | 中国航天科工集团第三研究院第八三五八研究所 | A kind of high-precision non-uniformity correction method of dynamic adjustment of integration time |
| CN104637032A (en) * | 2014-12-01 | 2015-05-20 | 王桂荣 | Infrared image preprocessing method |
| CN106855435B (en) * | 2016-11-15 | 2019-04-09 | 北京空间机电研究所 | A real-time correction method for on-satellite non-uniformity of a long-wavelength linear array infrared camera |
-
2019
- 2019-11-18 CN CN201911124467.6A patent/CN111076815B/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| CN111076815A (en) | 2020-04-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110211056B (en) | Adaptive infrared image stripping algorithm based on local median histogram | |
| CN109741267B (en) | Infrared image non-uniformity correction method based on trilateral filtering and neural network | |
| CN106874949B (en) | Infrared image-based moving target detection method and system for moving imaging platform | |
| CN109272520B (en) | An adaptive infrared focal plane non-uniformity correction method based on joint motion guidance and edge detection | |
| CN113763271B (en) | High-quality spectrum denoising method based on physical noise model | |
| CN100433793C (en) | Infrared focal plane non-uniformity correction method based on motion detection guidance | |
| CN111076815B (en) | A method for correcting non-uniformity of hyperspectral images | |
| CN105869129B (en) | A method for removing residual non-uniform noise in thermal infrared images after non-uniform correction | |
| CN104580937B (en) | A kind of infrared imaging system fringes noise minimizing technology | |
| WO2019183843A1 (en) | Interframe registration and adaptive step size-based non-uniformity correction method for infrared image | |
| CN110009688A (en) | A kind of infrared remote sensing image relative radiometric calibration method, system and remote sensing platform | |
| CN116109491B (en) | Method for correcting image non-uniformity of imaging spectrometer by using bright-dark uniform region | |
| WO2019127059A1 (en) | Infrared image non-uniformity correction method employing guided filtering and high-pass filtering | |
| CN110782403A (en) | Infrared image non-uniformity correction method | |
| WO2023231094A1 (en) | Underwater sea urchin image recognition model training method and device, and underwater sea urchin image recognition method and device | |
| CN108665425A (en) | Infrared Image Non-uniformity Correction method based on interframe registration and adaptive step | |
| CN111932478A (en) | Self-adaptive non-uniform correction method for uncooled infrared focal plane | |
| CN106780403B (en) | A push-broom thermal infrared hyperspectral remote sensing image non-uniformity correction method | |
| CN105005967A (en) | Method and apparatus for correcting non-uniformity of infrared imaging based on combined space-time filtering | |
| CN118014876A (en) | A scene-based method for correcting infrared non-uniform vignetting noise in frequency domain | |
| CN103868601B (en) | The bilateral full variational regularization bearing calibration of the non-homogeneous response of IRFPA detector | |
| CN105139365B (en) | A kind of method for handling Terahertz or infrared image | |
| CN111915682B (en) | A real-time self-adjusting method for non-uniformity correction of hyperspectral image data | |
| CN103985089B (en) | With reference to weight edge analysis and the image streak correction method of frame inner iteration | |
| CN108470325B (en) | Space-time three-dimensional noise identification and compensation method for area array staring infrared remote sensing image |
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 |