CN103679653B - A kind of satellite image veiling glare eliminates system and method - Google Patents
A kind of satellite image veiling glare eliminates system and method Download PDFInfo
- Publication number
- CN103679653B CN103679653B CN201310629513.4A CN201310629513A CN103679653B CN 103679653 B CN103679653 B CN 103679653B CN 201310629513 A CN201310629513 A CN 201310629513A CN 103679653 B CN103679653 B CN 103679653B
- Authority
- CN
- China
- Prior art keywords
- image
- pending
- unit
- gray
- gray reference
- 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
- 238000000034 method Methods 0.000 title claims abstract description 27
- 230000004313 glare Effects 0.000 title claims 13
- 230000001629 suppression Effects 0.000 claims abstract description 32
- 238000001914 filtration Methods 0.000 claims abstract description 11
- 239000011159 matrix material Substances 0.000 claims description 24
- 238000003384 imaging method Methods 0.000 claims description 12
- PXFBZOLANLWPMH-UHFFFAOYSA-N 16-Epiaffinine Natural products C1C(C2=CC=CC=C2N2)=C2C(=O)CC2C(=CC)CN(C)C1C2CO PXFBZOLANLWPMH-UHFFFAOYSA-N 0.000 claims description 7
- 230000009466 transformation Effects 0.000 claims description 6
- 238000012952 Resampling Methods 0.000 claims description 4
- 238000005070 sampling Methods 0.000 claims description 4
- 241000208340 Araliaceae Species 0.000 claims 2
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 claims 2
- 235000003140 Panax quinquefolius Nutrition 0.000 claims 2
- 235000008434 ginseng Nutrition 0.000 claims 2
- 201000009310 astigmatism Diseases 0.000 claims 1
- 238000000205 computational method Methods 0.000 claims 1
- KBPHJBAIARWVSC-RGZFRNHPSA-N lutein Chemical compound C([C@H](O)CC=1C)C(C)(C)C=1\C=C\C(\C)=C\C=C\C(\C)=C\C=C\C=C(/C)\C=C\C=C(/C)\C=C\[C@H]1C(C)=C[C@H](O)CC1(C)C KBPHJBAIARWVSC-RGZFRNHPSA-N 0.000 claims 1
- 229960005375 lutein Drugs 0.000 claims 1
- 238000005457 optimization Methods 0.000 claims 1
- 238000001228 spectrum Methods 0.000 claims 1
- KBPHJBAIARWVSC-XQIHNALSSA-N trans-lutein Natural products CC(=C/C=C/C=C(C)/C=C/C=C(C)/C=C/C1=C(C)CC(O)CC1(C)C)C=CC=C(/C)C=CC2C(=CC(O)CC2(C)C)C KBPHJBAIARWVSC-XQIHNALSSA-N 0.000 claims 1
- FJHBOVDFOQMZRV-XQIHNALSSA-N xanthophyll Natural products CC(=C/C=C/C=C(C)/C=C/C=C(C)/C=C/C1=C(C)CC(O)CC1(C)C)C=CC=C(/C)C=CC2C=C(C)C(O)CC2(C)C FJHBOVDFOQMZRV-XQIHNALSSA-N 0.000 claims 1
- 235000008210 xanthophylls Nutrition 0.000 claims 1
- 238000004364 calculation method Methods 0.000 abstract description 31
- 230000008030 elimination Effects 0.000 abstract description 5
- 238000003379 elimination reaction Methods 0.000 abstract description 5
- 230000003595 spectral effect Effects 0.000 abstract description 4
- 230000000694 effects Effects 0.000 abstract description 2
- 230000003287 optical effect Effects 0.000 description 3
- 238000000342 Monte Carlo simulation Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000003672 processing method Methods 0.000 description 2
- 238000010187 selection method Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000005855 radiation Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Landscapes
- Image Processing (AREA)
Abstract
本发明公开了一种卫星图像杂散光消除系统及方法,包括数据获取模块、图像配准模块和杂散光抑制模块;其中数据获取模块包括图像灰度获取单元和图像参数获取单元,图像配准模块包括图像粗配准单元和图像精配准单元,杂散光抑制模块包括比例系数计算单元、差值图像计算单元和图像滤波单元。本发明首先对在轨同时成像的高分辨率相机图像和宽幅相机图像进行配准,根据图像间的光谱对应关系,建立高分辨率相机图像灰度值与宽幅相机图像灰度值的对应关系模型,消除图像中的杂散光影响,使用该方法消除图像杂散光简单实用,能够较大程度保存图像真实信息,去除杂散光效果好。
The invention discloses a satellite image stray light elimination system and method, including a data acquisition module, an image registration module and a stray light suppression module; wherein the data acquisition module includes an image grayscale acquisition unit and an image parameter acquisition unit, and an image registration module It includes a coarse image registration unit and a fine image registration unit, and the stray light suppression module includes a proportional coefficient calculation unit, a difference image calculation unit and an image filtering unit. The present invention first registers the high-resolution camera image and the wide-format camera image that are simultaneously imaged on-orbit, and establishes the correspondence between the gray-scale value of the high-resolution camera image and the gray-scale value of the wide-format camera image according to the spectral correspondence between the images Relational model to eliminate the influence of stray light in the image. Using this method to eliminate stray light in the image is simple and practical, it can preserve the real information of the image to a large extent, and the effect of removing stray light is good.
Description
技术领域technical field
本发明涉及一种卫星图像杂散光消除系统及方法,属于卫星应用领域。The invention relates to a satellite image stray light elimination system and method, belonging to the satellite application field.
背景技术Background technique
杂散光使卫星图像背景变亮,降低了图像对比度、调制传递函数以及信噪比,对光学系统的成像质量有严重的影响,给卫星图像的判读和应用带来困难。有必要对卫星图像的杂散光进行分析、消除,从而确保卫星光学有效载荷的成像质量。Stray light brightens the background of satellite images, reduces the image contrast, modulation transfer function and signal-to-noise ratio, has a serious impact on the imaging quality of the optical system, and brings difficulties to the interpretation and application of satellite images. It is necessary to analyze and eliminate the stray light of satellite images, so as to ensure the imaging quality of satellite optical payloads.
大部分杂散光抑制的工作是通过光学系统设计来实现。研究杂散光的来源,从而进行几何光学方针分析,是消除杂散光最根本的方法。杂散光的计算方法主要有蒙特卡洛法、区域法、光线追迹法等。其中蒙特卡洛法是杂散光分析领域唯一相对成熟的方法,但是需要获取光线传播各个过程的物理模型。对于设计疏漏或由于复杂空间环境造成的无法消除的杂散光影响,只能通过后端的图像处理方法来消除。原育凯等利用特定时刻的卫星成像数据,分离了真实信号与杂散光信号,生成各个时刻的杂散光模板,通过反卷积的图像处理方法对风云二号辐射计可见光图像进行杂散光抑制。但是该方法只适用于地球同步气象卫星,对于中高分辨率对地观测卫星数据则无法根据特定时刻成像数据分离出杂散光信号。Much of the effort in stray light suppression is achieved through optical system design. The most fundamental way to eliminate stray light is to study the source of stray light and then analyze the geometrical optics policy. The calculation methods of stray light mainly include Monte Carlo method, area method, ray tracing method and so on. Among them, the Monte Carlo method is the only relatively mature method in the field of stray light analysis, but it needs to obtain the physical model of each process of light propagation. For design omissions or the influence of stray light that cannot be eliminated due to the complex space environment, it can only be eliminated by the back-end image processing method. Yuan Yukai et al. used the satellite imaging data at a specific time to separate the real signal and the stray light signal, generated the stray light template at each time, and suppressed the stray light on the visible light image of the FY-2 radiometer through the image processing method of deconvolution. However, this method is only suitable for geosynchronous meteorological satellites, and for medium and high-resolution earth observation satellite data, it cannot separate stray light signals based on imaging data at a specific time.
目前基于图像域直接对杂散光进行抑制的方法较少,且在实际应用中没有针对中高分辨率对地观测卫星图像图像域杂散光抑制的方法。对于中高分辨率遥感图像中辐射校正无法去除的杂散光影响还无法解决。At present, there are few methods for directly suppressing stray light based on the image domain, and there is no method for suppressing stray light in the image domain of medium and high-resolution earth observation satellite images in practical applications. The influence of stray light that cannot be removed by radiation correction in medium and high-resolution remote sensing images cannot be solved.
发明内容Contents of the invention
本发明所要解决的技术问题:为克服现有技术的不足,提供一种卫星图像杂散光消除系统及方法,以消除图像杂散光,较大程度保存图像真实信息。The technical problem to be solved by the present invention is to provide a satellite image stray light elimination system and method to overcome the deficiencies in the prior art, so as to eliminate image stray light and preserve image real information to a large extent.
本发明的技术解决方案:一种卫星图像杂散光消除系统,包括数据获取模块、图像配准模块和杂散光抑制模块;其中数据获取模块包括图像灰度获取单元和图像参数获取单元,图像配准模块包括图像粗配准单元和图像精配准单元,杂散光抑制模块包括比例系数计算单元、差值图像计算单元和图像滤波单元;Technical solution of the present invention: a satellite image stray light elimination system, including a data acquisition module, an image registration module and a stray light suppression module; wherein the data acquisition module includes an image gray scale acquisition unit and an image parameter acquisition unit, and the image registration module The module includes an image coarse registration unit and an image fine registration unit, and the stray light suppression module includes a proportional coefficient calculation unit, a difference image calculation unit and an image filtering unit;
所述数据获取模块从图像数据库中获取相同地区的高分相机及宽幅相机图像及图像相关参数,并定义其中一幅图像为待处理图像,另一幅图像为灰度参考图像;图像配准模块以待处理图像为参考图像,配准待处理图像及灰度参考图像;杂散光抑制模块去除待处理图像中的杂散光;The data acquisition module obtains high-resolution camera and wide-format camera images and image-related parameters in the same area from the image database, and defines one of the images as an image to be processed, and another image as a grayscale reference image; image registration The module takes the image to be processed as a reference image, and registers the image to be processed and the gray scale reference image; the stray light suppression module removes the stray light in the image to be processed;
图像灰度获取单元从图像数据库中获取待处理图像及灰度参考图像的灰度信息;图像参数获取单元获取待处理图像及灰度参考图像的参数信息,将待处理图像、灰度参考图像的灰度信息及参数信息输送给图像配准模块中的图像粗配准单元;The image grayscale acquisition unit acquires the grayscale information of the image to be processed and the grayscale reference image from the image database; the image parameter acquisition unit acquires the parameter information of the image to be processed and the grayscale reference image, and the image to be processed and the grayscale reference image The grayscale information and parameter information are sent to the rough image registration unit in the image registration module;
图像粗配准单元获取数据获取模块提供的待处理图像及灰度参考图像的灰度信息及参数信息,消除灰度参考图像和待处理图像之间的分辨率差异,输出待处理图像和灰度参考图像;图像精配准单元在待处理图像中选取控制点,在灰度参考图像中选取前述控制点的同名点,采用仿射变换模型,对灰度参考图像重采样,得到与待处理图像精配准的灰度参考图像,输出灰度参考图像和待处理图像给杂散光抑制模块的比例系数计算单元;The image coarse registration unit obtains the grayscale information and parameter information of the image to be processed and the grayscale reference image provided by the data acquisition module, eliminates the resolution difference between the grayscale reference image and the image to be processed, and outputs the image to be processed and the grayscale Reference image; the image fine registration unit selects control points in the image to be processed, selects the point with the same name as the aforementioned control point in the grayscale reference image, uses an affine transformation model, resamples the grayscale reference image, and obtains an image similar to the image to be processed The finely-registered grayscale reference image, outputting the grayscale reference image and the image to be processed to the proportional coefficient calculation unit of the stray light suppression module;
比例系数计算单元计算待处理图像和灰度参考图像对应位置像素灰度值的比,得到比例系数矩阵,并优化比例系数矩阵,将优化后的比例系数矩阵输出给差值图像计算单元;差值图像计算单元通过计算得到差值图像,将差值图像输送给图像滤波单元;图像滤波单元对差值图像做滤波处理,得到滤波后的差值图像;待处理图像减去滤波后的差值图像,得到杂散光抑制结果图像并将该图像输出到数据库中。The proportional coefficient calculation unit calculates the ratio of the pixel gray value of the corresponding position of the image to be processed and the grayscale reference image to obtain a proportional coefficient matrix, and optimizes the proportional coefficient matrix, and outputs the optimized proportional coefficient matrix to the difference image calculation unit; The image calculation unit obtains the difference image through calculation, and sends the difference image to the image filter unit; the image filter unit performs filtering processing on the difference image to obtain the filtered difference image; subtracts the filtered difference image from the image to be processed , get the stray light suppression result image and output the image to the database.
消除灰度参考图像和待处理图像之间的分辨率差异的方法为,根据灰度参考图像的参数信息中灰度参考图像的分辨率除以待处理图像的分辨率得到两副图像之间的分辨率差异,以待处理图像为基准,重采样灰度参考图样,使灰度参考图像与待处理图像分辨率一致。The method to eliminate the resolution difference between the grayscale reference image and the image to be processed is to divide the resolution of the grayscale reference image in the parameter information of the grayscale reference image by the resolution of the image to be processed to obtain the resolution between the two images Resolution difference, based on the image to be processed, resampling the grayscale reference pattern to make the grayscale reference image consistent with the resolution of the image to be processed.
差值图像计算单元得到差值图像的计算方法为,首先由灰度参考图像每个像素灰度值乘以优化后的比例系数矩阵中与每个像素位置对应的比例系数,得到重建的待处理图像的理想图像;待处理图像减去待处理图像的理想图像,得到差值图像。The calculation method of the difference image calculation unit to obtain the difference image is as follows: firstly, the gray value of each pixel of the gray reference image is multiplied by the scale coefficient corresponding to each pixel position in the optimized scale coefficient matrix to obtain the reconstructed to-be-processed The ideal image of the image; the ideal image of the image to be processed is subtracted from the image to be processed to obtain a difference image.
一种卫星图像杂散光消除方法,包括以下步骤:A method for eliminating stray light from a satellite image, comprising the following steps:
步骤1,由数据获取模块获取相同区域的高分相机及宽幅相机图像及图像相关参数,并定义其中一幅图像为待处理图像,另一幅为灰度参考图像;数据获取模块包括图像灰度获取单元和图像参数获取单元,由图像灰度获取单元读取高分相机与宽幅相机图像IH、IW,由图像参数获取单元读取高分相机与宽幅相机成像行时参数及两相机图像分辨率参数SH、SW,定义高分相机图像为待处理图像,宽幅相机图像为灰度参考图像;根据成像时刻,截取灰度参考图像IW中与待处理图像IH相对应区域,定义为IWR,IWR需包含IH;Step 1, the data acquisition module acquires the high-resolution camera and wide-format camera images and image related parameters in the same area, and defines one of the images as the image to be processed, and the other as the grayscale reference image; the data acquisition module includes image grayscale A degree acquisition unit and an image parameter acquisition unit, the image grayscale acquisition unit reads the images I H and I W of the high-resolution camera and the wide-format camera, and the image parameter acquisition unit reads the imaging line-time parameters and parameters of the high-resolution camera and the wide-format camera Two camera image resolution parameters S H , S W define the high-resolution camera image as the image to be processed, and the wide-format camera image as the grayscale reference image; according to the imaging time, intercept the grayscale reference image I W and the image to be processed I H The corresponding area is defined as I WR , and I WR must include I H ;
步骤2,由图像配准模块根据图像参数信息,采用手工选点的方式以待处理图像为参考图像,配准待处理图像及灰度参考图像;图像配准模块包括图像粗配准单元和图像精配准单元,在图像粗配准单元,由SW/SH计算两图像比例关系PWS,采用双三次采样方法对IWR重采样,得到新的灰度参考图像IHR,分辨率与IH一致;由图像精配准单元,在IH和IHR上手工均匀选取r行c列共r×c个控制点,以IH为参考,采用仿射变换配准IH和IHR,得到与IH空间位置完全对准的灰度参考图像IHR'。Step 2. According to the image parameter information, the image registration module uses the manual point selection method to use the image to be processed as a reference image to register the image to be processed and the grayscale reference image; the image registration module includes an image coarse registration unit and an image In the fine registration unit, in the image coarse registration unit, the proportional relationship P WS between the two images is calculated by S W / SH , and the I WR is resampled by the bicubic sampling method to obtain a new grayscale reference image I HR , the resolution of which is the same as I H is consistent; the image fine registration unit manually selects r rows and c columns of r×c control points uniformly on I H and I HR , and uses I H as a reference to register I H and I HR using affine transformation , to obtain the grayscale reference image I HR ' that is completely aligned with the spatial position of I H .
步骤3,根据灰度参考图像和待处理图像之间的光谱对应关系,杂散光抑制模块抑制待处理图像中的杂散光,得到杂散光抑制结果图像;杂散光抑制模块包括比例系数计算单元、差值图像计算单元和图像微波单元,在比例系数计算单元中,IHR'中每个像素灰度值加0.0001,IH和IHR'中空间位置相同的每个像素相除,得到比例系数矩阵CoffHW,矩阵中大于阈值TCoffH和小于阈值TCoffL的元素,令其等于1;在比例系数计算单元中计算IH和IHR'的图像均值MeanH和MeanHR,比例参考值CoffC=MeanH/MeanHR,CoffHW中大于CoffC的元素,令其值等于CoffC;在差值图像计算单元,灰度参考图像IHR'中每一个像素的灰度值乘以比例系数矩阵CoffHW中与其空间位置对应的比例系数,计算差值图像Diff=IH-IHR',Diff中像素灰度值绝对值大于阈值TDiffH和小于阈值TDiffL的元素,令其等于0;在图像滤波单元,选择边长为L的正方形均值滤波模板,对Diff均值滤波;将IH与Diff中空间对应象素灰度值相减得到杂散光抑制结果图像。Step 3, according to the spectral corresponding relationship between the grayscale reference image and the image to be processed, the stray light suppression module suppresses the stray light in the image to be processed to obtain the stray light suppression result image; the stray light suppression module includes a proportional coefficient calculation unit, a difference Value image calculation unit and image microwave unit, in the proportional coefficient calculation unit, add 0.0001 to the gray value of each pixel in I HR ', divide each pixel with the same spatial position in I H and I HR ', and obtain the proportional coefficient matrix Coff HW , elements greater than threshold T CoffH and less than threshold T CoffL in the matrix, make it equal to 1; calculate the image average Mean H and Mean HR of I H and I HR ' in the scale factor calculation unit, scale reference value Coff C = Mean H /Mean HR , elements greater than Coff C in Coff HW , make its value equal to Coff C ; in the difference image calculation unit, the gray value of each pixel in the gray reference image I HR ' is multiplied by the proportional coefficient matrix Coff The scale coefficient corresponding to its spatial position in HW , calculate the difference image Diff=I H -I HR ', the element whose gray value absolute value is greater than the threshold T DiffH and less than the threshold T DiffL in Diff is equal to 0; in the image The filter unit selects a square mean value filter template whose side length is L, and filters the Diff mean value; subtracts I H from the gray value of the pixel corresponding to the space in the Diff to obtain a stray light suppression result image.
本发明与现有技术相比的有益效果为:The beneficial effects of the present invention compared with prior art are:
本发明首先对在轨同时成像的高分辨率相机图像和宽幅相机图像进行配准,根据图像间的光谱对应关系,建立高分辨率相机图像灰度值与宽幅相机图像灰度值的对应关系模型,消除图像中的杂散光影响,使用该方法消除图像杂散光简单实用,能够较大程度保存图像真实信息,去除杂散光效果好。The present invention first registers the high-resolution camera image and the wide-format camera image that are simultaneously imaged on-orbit, and establishes the correspondence between the gray-scale value of the high-resolution camera image and the gray-scale value of the wide-format camera image according to the spectral correspondence between the images Relational model to eliminate the influence of stray light in the image. Using this method to eliminate stray light in the image is simple and practical, it can preserve the real information of the image to a large extent, and the effect of removing stray light is good.
附图说明Description of drawings
图1为本发明的系统示意图;Fig. 1 is a schematic diagram of the system of the present invention;
图2为本发明的方法示意图。Fig. 2 is a schematic diagram of the method of the present invention.
具体实施方式detailed description
下面结合附图1、2对本发明做进一步详细叙述。Below in conjunction with accompanying drawing 1,2 the present invention is described in further detail.
一种卫星图像杂散光消除系统,包括数据获取模块、图像配准模块和杂散光抑制模块;其中数据获取模块包括图像灰度获取单元和图像参数获取单元,图像配准模块包括图像粗配准单元和图像精配准单元,杂散光抑制模块包括比例系数计算单元、差值图像计算单元和图像滤波单元;A satellite image stray light elimination system, including a data acquisition module, an image registration module and a stray light suppression module; wherein the data acquisition module includes an image grayscale acquisition unit and an image parameter acquisition unit, and the image registration module includes an image coarse registration unit and an image fine registration unit, the stray light suppression module includes a proportional coefficient calculation unit, a difference image calculation unit and an image filtering unit;
所述数据获取模块从图像数据库中获取相同地区的高分相机及宽幅相机图像及图像相关参数,并定义其中一幅图像为待处理图像,另一幅图像为灰度参考图像;图像配准模块以待处理图像为参考图像,配准待处理图像及灰度参考图像;杂散光抑制模块去除待处理图像中的杂散光;The data acquisition module obtains high-resolution camera and wide-format camera images and image-related parameters in the same area from the image database, and defines one of the images as an image to be processed, and another image as a grayscale reference image; image registration The module takes the image to be processed as a reference image, and registers the image to be processed and the gray scale reference image; the stray light suppression module removes the stray light in the image to be processed;
图像灰度获取单元从图像数据库中获取待处理图像及灰度参考图像的灰度信息;图像参数获取单元获取待处理图像及灰度参考图像的参数信息,将待处理图像、灰度参考图像的灰度信息及参数信息输送给图像配准模块中的图像粗配准单元;The image grayscale acquisition unit acquires the grayscale information of the image to be processed and the grayscale reference image from the image database; the image parameter acquisition unit acquires the parameter information of the image to be processed and the grayscale reference image, and the image to be processed and the grayscale reference image The grayscale information and parameter information are sent to the rough image registration unit in the image registration module;
图像粗配准单元获取数据获取模块提供的待处理图像及灰度参考图像的灰度信息及参数信息,消除灰度参考图像和待处理图像之间的分辨率差异,输出待处理图像和灰度参考图像;图像精配准单元在待处理图像中选取控制点,在灰度参考图像中选取前述控制点的同名点,采用仿射变换模型,对灰度参考图像重采样,得到与待处理图像精配准的灰度参考图像,输出灰度参考图像和待处理图像给杂散光抑制模块的比例系数计算单元;The image coarse registration unit obtains the grayscale information and parameter information of the image to be processed and the grayscale reference image provided by the data acquisition module, eliminates the resolution difference between the grayscale reference image and the image to be processed, and outputs the image to be processed and the grayscale Reference image; the image fine registration unit selects control points in the image to be processed, selects the point with the same name as the aforementioned control point in the grayscale reference image, uses an affine transformation model, resamples the grayscale reference image, and obtains an image similar to the image to be processed The finely-registered grayscale reference image, outputting the grayscale reference image and the image to be processed to the proportional coefficient calculation unit of the stray light suppression module;
比例系数计算单元计算待处理图像和灰度参考图像对应位置像素灰度值的比,得到比例系数矩阵,并优化比例系数矩阵,将优化后的比例系数矩阵输出给差值图像计算单元;差值图像计算单元通过计算得到差值图像,将差值图像输送给图像滤波单元;图像滤波单元对差值图像做滤波处理,得到滤波后的差值图像;待处理图像减去滤波后的差值图像,得到杂散光抑制结果图像并将该图像输出到数据库中。The proportional coefficient calculation unit calculates the ratio of the pixel gray value of the corresponding position of the image to be processed and the grayscale reference image to obtain a proportional coefficient matrix, and optimizes the proportional coefficient matrix, and outputs the optimized proportional coefficient matrix to the difference image calculation unit; The image calculation unit obtains the difference image through calculation, and sends the difference image to the image filter unit; the image filter unit performs filtering processing on the difference image to obtain the filtered difference image; subtracts the filtered difference image from the image to be processed , get the stray light suppression result image and output the image to the database.
消除灰度参考图像和待处理图像之间的分辨率差异的方法为,根据灰度参考图像的参数信息中灰度参考图像的分辨率除以待处理图像的分辨率得到两副图像之间的分辨率差异,以待处理图像为基准,重采样灰度参考图样,使灰度参考图像与待处理图像分辨率一致。The method to eliminate the resolution difference between the grayscale reference image and the image to be processed is to divide the resolution of the grayscale reference image in the parameter information of the grayscale reference image by the resolution of the image to be processed to obtain the resolution between the two images Resolution difference, based on the image to be processed, resampling the grayscale reference pattern to make the grayscale reference image consistent with the resolution of the image to be processed.
差值图像计算单元得到差值图像的计算方法为,首先由灰度参考图像每个像素灰度值乘以优化后的比例系数矩阵中与每个像素位置对应的比例系数,得到重建的待处理图像的理想图像;待处理图像减去待处理图像的理想图像,得到差值图像。The calculation method of the difference image calculation unit to obtain the difference image is as follows: firstly, the gray value of each pixel of the gray reference image is multiplied by the scale coefficient corresponding to each pixel position in the optimized scale coefficient matrix to obtain the reconstructed to-be-processed The ideal image of the image; the ideal image of the image to be processed is subtracted from the image to be processed to obtain a difference image.
一种卫星图像杂散光消除方法,包括以下步骤:A method for eliminating stray light from a satellite image, comprising the following steps:
步骤1,由数据获取模块获取相同区域的高分相机及宽幅相机图像及图像相关参数,并定义其中一幅图像为待处理图像,另一幅为灰度参考图像;数据获取模块包括图像灰度获取单元和图像参数获取单元,由图像灰度获取单元读取高分相机与宽幅相机图像IH、IW,由图像参数获取单元读取高分相机与宽幅相机成像行时参数及两相机图像分辨率参数SH、SW,定义高分相机图像为待处理图像,宽幅相机图像为灰度参考图像;根据成像时刻,截取灰度参考图像IW中与待处理图像IH相对应区域,定义为IWR,IWR需包含IH;Step 1, the data acquisition module acquires the high-resolution camera and wide-format camera images and image related parameters in the same area, and defines one of the images as the image to be processed, and the other as the grayscale reference image; the data acquisition module includes image grayscale A degree acquisition unit and an image parameter acquisition unit, the image grayscale acquisition unit reads the images I H and I W of the high-resolution camera and the wide-format camera, and the image parameter acquisition unit reads the imaging line-time parameters and parameters of the high-resolution camera and the wide-format camera Two camera image resolution parameters S H , S W define the high-resolution camera image as the image to be processed, and the wide-format camera image as the grayscale reference image; according to the imaging time, intercept the grayscale reference image I W and the image to be processed I H The corresponding area is defined as I WR , and I WR must include I H ;
步骤2,由图像配准模块根据图像参数信息,采用手工选点的方式以待处理图像为参考图像,配准待处理图像及灰度参考图像;图像配准模块包括图像粗配准单元和图像精配准单元,在图像粗配准单元,由SW/SH计算两图像比例关系PWS,采用双三次采样方法对IWR重采样,得到新的灰度参考图像IHR,分辨率与IH一致;由图像精配准单元,在IH和IHR上手工均匀选取r行c列共r×c个控制点,以IH为参考,采用仿射变换配准IH和IHR,得到与IH空间位置完全对准的灰度参考图像IHR'。Step 2. According to the image parameter information, the image registration module uses the manual point selection method to use the image to be processed as a reference image to register the image to be processed and the grayscale reference image; the image registration module includes an image coarse registration unit and an image In the fine registration unit, in the image coarse registration unit, the proportional relationship P WS between the two images is calculated by S W / SH , and the I WR is resampled by the bicubic sampling method to obtain a new grayscale reference image I HR , the resolution of which is the same as I H is consistent; the image fine registration unit manually selects r rows and c columns of r×c control points uniformly on I H and I HR , and uses I H as a reference to register I H and I HR using affine transformation , to obtain the grayscale reference image I HR ' that is completely aligned with the spatial position of I H .
步骤3,根据灰度参考图像和待处理图像之间的光谱对应关系,杂散光抑制模块抑制待处理图像中的杂散光,得到杂散光抑制结果图像;杂散光抑制模块包括比例系数计算单元、差值图像计算单元和图像微波单元,在比例系数计算单元中,IHR'中每个像素灰度值加0.0001,IH和IHR'中空间位置相同的每个像素相除,得到比例系数矩阵CoffHW,矩阵中大于阈值TCoffH和小于阈值TCoffL的元素,令其等于1;在比例系数计算单元中计算IH和IHR'的图像均值MeanH和MeanHR,比例参考值CoffC=MeanH/MeanHR,CoffHW中大于CoffC的元素,令其值等于CoffC;在差值图像计算单元,灰度参考图像IHR'中每一个像素的灰度值乘以比例系数矩阵CoffHW中与其空间位置对应的比例系数,计算差值图像Diff=IH-IHR',Diff中像素灰度值绝对值大于阈值TDiffH和小于阈值TDiffL的元素,令其等于0;在图像滤波单元,选择边长为L的正方形均值滤波模板,对Diff均值滤波;将IH与Diff中空间对应象素灰度值相减得到杂散光抑制结果图像。Step 3, according to the spectral corresponding relationship between the grayscale reference image and the image to be processed, the stray light suppression module suppresses the stray light in the image to be processed to obtain the stray light suppression result image; the stray light suppression module includes a proportional coefficient calculation unit, a difference Value image calculation unit and image microwave unit, in the proportional coefficient calculation unit, add 0.0001 to the gray value of each pixel in I HR ', divide each pixel with the same spatial position in I H and I HR ', and obtain the proportional coefficient matrix Coff HW , elements greater than threshold T CoffH and less than threshold T CoffL in the matrix, make it equal to 1; calculate the image average Mean H and Mean HR of I H and I HR ' in the scale factor calculation unit, scale reference value Coff C = Mean H /Mean HR , elements greater than Coff C in Coff HW , make its value equal to Coff C ; in the difference image calculation unit, the gray value of each pixel in the gray reference image I HR ' is multiplied by the proportional coefficient matrix Coff The scale coefficient corresponding to its spatial position in HW , calculate the difference image Diff=I H -I HR ', the element whose gray value absolute value is greater than the threshold T DiffH and less than the threshold T DiffL in Diff is equal to 0; in the image The filter unit selects a square mean value filter template whose side length is L, and filters the Diff mean value; subtracts I H from the gray value of the pixel corresponding to the space in the Diff to obtain a stray light suppression result image.
具体来讲:Specifically:
1.获取图像及图像参数1. Obtain image and image parameters
1.1由图像获取单元读取待处理高分相机与宽幅相机图像IH、IW,其中IH大小为(2865像素×3036像素),IW大小为(2287像素×12000像素),由图像参数获取单元读取高分相机与宽幅相机成像行时参数及两相机图像分辨率参数SH=10米、SW=16米;1.1 The high-resolution camera and wide-format camera images I H and I W to be processed are read by the image acquisition unit, wherein the size of I H is (2865 pixels × 3036 pixels), and the size of I W is (2287 pixels × 12000 pixels). The parameter acquisition unit reads the imaging line-time parameters of the high-resolution camera and the wide-format camera and the image resolution parameters of the two cameras SH = 10 meters, S W = 16 meters;
1.2根据成像时刻,截取IW中与IH相对应区域,即参考图像IWR,IWR包含IH大小为(2287像素×2500像素)。1.2 According to the imaging moment, intercept the area corresponding to I H in I W , that is, the reference image I WR , and the size of I WR including I H is (2287 pixels×2500 pixels).
2.图像配准2. Image registration
2.1由SW/SH计算两相机图像比例关系PWS=1.6,采用双三次采样方法对IWR重采样,得到新的参考图像IHR,分辨率与IH一致;2.1 Calculate the proportional relationship between the two cameras P WS = 1.6 from S W /S H , and re-sample I WR by bicubic sampling method to obtain a new reference image I HR , whose resolution is consistent with I H ;
2.2在IH和IHR上手工均匀选取3行3列共9个控制点,以IH为参考,采用仿射变换模型2.2 On I H and I HR , a total of 9 control points in 3 rows and 3 columns are manually selected evenly, with I H as a reference, the affine transformation model is adopted
x2=a1+a2×x1+a3×y1,x 2 =a 1 +a 2 ×x 1 +a 3 ×y 1 ,
y2=b1+b2×x1+b3×y1,y 2 =b 1 +b 2 ×x 1 +b 3 ×y 1 ,
配准IH和IHR,得到与IH空间位置完全对准的参考图像IHR'。Register I H and I HR to obtain a reference image I HR ' that is completely aligned with the spatial position of I H .
3.杂散光抑制3. Stray light suppression
3.1IHR'中每个像素灰度值加0.0001,IH和IHR'中空间位置相同的每个像素相除,得到比例系数矩阵CoffHW,矩阵中大于阈值5和小于阈值0.0001的元素,令其等于1;3.1 Add 0.0001 to the gray value of each pixel in I HR ', divide each pixel with the same spatial position in I H and I HR ', and obtain the proportional coefficient matrix Coff HW , the elements in the matrix greater than the threshold 5 and less than the threshold 0.0001, make it equal to 1;
3.2计算IH和IHR'的图像均值MeanH=336.3622和MeanHR=219.0139,比例参考值CoffC=MeanH/MeanHR=1.5358,CoffHW中大于1.5358的元素,令其值等于1.5358;3.2 Calculate the image mean values Mean H = 336.3622 and Mean HR = 219.0139 of I H and I HR ', the ratio reference value Coff C = Mean H /Mean HR = 1.5358, elements greater than 1.5358 in Coff HW , make its value equal to 1.5358;
3.3参考图像IHR'中每一个像素的灰度值乘以比例系数矩阵CoffHW中与其空间位置对应的比例系数,计算差值图像Diff=IH-IHR',Diff中像素灰度值绝对值大于阈值100和小于阈值10的元素,令其等于0;3.3 The gray value of each pixel in the reference image I HR ' is multiplied by the proportional coefficient corresponding to its spatial position in the proportional coefficient matrix Coff HW , and the difference image Diff=I H -I HR ' is calculated, and the gray value of the pixel in Diff is absolutely Elements whose value is greater than the threshold 100 and less than the threshold 10, make it equal to 0;
3.4选择边长为31的正方形均值滤波模板,对Diff均值滤波;3.4 Select a square mean value filter template with a side length of 31 to filter the Diff mean value;
3.5判断Diff的像素灰度和SumDiff=6.4398×107与阈值Tdestray=2×m×n=1.7396×107之间的关系,SumDiff>Tdestray,进入步骤3.6;3.5 Determine the relationship between the pixel grayscale of the Diff and Sum Diff = 6.4398×10 7 and the threshold T destroy = 2×m×n=1.7396×10 7 , if Sum Diff >T destroy , go to step 3.6;
3.6将IH与Diff中空间对应象素灰度值做差得到杂散光抑制结果图像。3.6 Make a difference between I H and the gray value of the spatially corresponding pixel in Diff to obtain the stray light suppression result image.
本发明说明书中未作详细描述的内容属本领域技术人员的公知技术。The content that is not described in detail in the description of the present invention belongs to the well-known technology of those skilled in the art.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310629513.4A CN103679653B (en) | 2013-11-29 | 2013-11-29 | A kind of satellite image veiling glare eliminates system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310629513.4A CN103679653B (en) | 2013-11-29 | 2013-11-29 | A kind of satellite image veiling glare eliminates system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103679653A CN103679653A (en) | 2014-03-26 |
CN103679653B true CN103679653B (en) | 2016-08-24 |
Family
ID=50317109
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310629513.4A Active CN103679653B (en) | 2013-11-29 | 2013-11-29 | A kind of satellite image veiling glare eliminates system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103679653B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105046010B (en) * | 2015-07-31 | 2018-02-06 | 上海卫星工程研究所 | A kind of analysis method of satellite veiling glare |
CN108120680B (en) * | 2017-12-19 | 2019-11-22 | 清华大学 | Method and device for removing stray light in microscopic imaging based on prior photoelectric characteristics |
CN109872315B (en) * | 2019-02-20 | 2021-04-20 | 中国科学院国家天文台 | Method for detecting stray light uniformity of optical astronomical telescope in real time |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101078636A (en) * | 2007-06-28 | 2007-11-28 | 中国科学院光电技术研究所 | Hartmann wavefront sensor capable of eliminating stray light of system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6975775B2 (en) * | 2002-03-06 | 2005-12-13 | Radiant Imaging, Inc. | Stray light correction method for imaging light and color measurement system |
-
2013
- 2013-11-29 CN CN201310629513.4A patent/CN103679653B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101078636A (en) * | 2007-06-28 | 2007-11-28 | 中国科学院光电技术研究所 | Hartmann wavefront sensor capable of eliminating stray light of system |
Non-Patent Citations (4)
Title |
---|
Characterization and correction of stray light in optical instruments;Yuqin Zong et al.;《Proceedings of the society of photo-optical instrumentation engineers(SPIE)》;20070917;第1-11页 * |
Correction of stray light and filter scratch blurrig for ASTER imagery;Akira Iwasaki et al.;《IEEE TRANSACTIONS ON GEOSCIENCE AND REMOTE SENSING》;20051231;第43卷(第12期);第2763-2768页 * |
Matlab在遥感图像杂散光处理中的应用;原育凯 等;《光学技术》;20060831;第32卷;第455-457页 * |
红外光学遥感器内杂散光和外杂散光的综合抑制研究;李岩 等;《光学学报》;20130930;第33卷(第9期);第1-5页 * |
Also Published As
Publication number | Publication date |
---|---|
CN103679653A (en) | 2014-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Heide et al. | High-quality computational imaging through simple lenses | |
Zhang et al. | A super-resolution reconstruction algorithm for hyperspectral images | |
CN108090872B (en) | Method and system for super-resolution reconstruction of single-frame multispectral image based on gradient extraction | |
US11244426B2 (en) | Method for image super resolution imitating optical zoom implemented on a resource-constrained mobile device, and a mobile device implementing the same | |
CN104751432A (en) | Image reconstruction based visible light and infrared image fusion method | |
CN102722875A (en) | Visual-attention-based variable quality ultra-resolution image reconstruction method | |
CN101491080A (en) | Curvature preserving filter for image denoising and controllable deblurring | |
Zhang et al. | Commutability of blur and affine warping in super-resolution with application to joint estimation of triple-coupled variables | |
CN103679653B (en) | A kind of satellite image veiling glare eliminates system and method | |
CN104732480B (en) | A kind of remote sensing images ultra-resolution method based on non local regularization model | |
CN116612009A (en) | Multi-scale connection generation countermeasure network medical image super-resolution reconstruction method | |
Zhang et al. | Scrnet: a retinex structure-based low-light enhancement model guided by spatial consistency | |
CN103971335B (en) | A kind of image super-resolution rebuilding method based on confidence level kernel regression | |
Zhang et al. | A retinex structure-based low-light enhancement model guided by spatial consistency | |
Li et al. | Adaptive regularized low-rank tensor decomposition for hyperspectral image denoising and destriping | |
Zhou et al. | Dark light enhancement for dark scene urban object recognition | |
CN117078563B (en) | Full-color sharpening method and system for hyperspectral image of first satellite of staring star | |
Yu et al. | A novel nighttime dehazing model integrating Retinex algorithm and atmospheric scattering model | |
Hu et al. | Super-resolution PET image reconstruction with sparse representation | |
CN104200430B (en) | Image region stray light eliminating device based on moment matching and method thereof | |
CN116342425A (en) | Relative Radiation Correction Method for Area Array Satellite Imagery Considering Regional Response Differences | |
CN114359103A (en) | Hyperspectral image defogging method and device, computer product and storage medium | |
Starovoitov et al. | Multispectral image enhancement based on fusion and super-resolution | |
Wen et al. | Remote sensing image fusion on gradient field | |
Zheng et al. | Natural and optical remote sensing image dehazing based on BL-G-BM3D decomposition model |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |