CN106940887A - A kind of satellite sequence image clouds of GF 4 and shadow detection method under cloud - Google Patents

A kind of satellite sequence image clouds of GF 4 and shadow detection method under cloud Download PDF

Info

Publication number
CN106940887A
CN106940887A CN201710135417.2A CN201710135417A CN106940887A CN 106940887 A CN106940887 A CN 106940887A CN 201710135417 A CN201710135417 A CN 201710135417A CN 106940887 A CN106940887 A CN 106940887A
Authority
CN
China
Prior art keywords
cloud
sequence
image
pixel
images
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710135417.2A
Other languages
Chinese (zh)
Other versions
CN106940887B (en
Inventor
胡昌苗
唐娉
赵理君
单小军
李宏益
郑柯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Institute of Remote Sensing and Digital Earth of CAS
Original Assignee
Institute of Remote Sensing and Digital Earth of CAS
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Institute of Remote Sensing and Digital Earth of CAS filed Critical Institute of Remote Sensing and Digital Earth of CAS
Priority to CN201710135417.2A priority Critical patent/CN106940887B/en
Publication of CN106940887A publication Critical patent/CN106940887A/en
Application granted granted Critical
Publication of CN106940887B publication Critical patent/CN106940887B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10032Satellite or aerial image; Remote sensing
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30181Earth observation
    • G06T2207/30192Weather; Meteorology

Landscapes

  • Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

本发明针对高分四号卫星图像辐射预处理应用,特别是云与云下阴影检测应用,提供一种高分四号卫星序列图像云与云下阴影检测方法。对同一地理区域的序列图像,通过不同的线性函数实现相对配准,并按地表平均辐射亮度排序,通过线性相对辐射归一减小因获取时间不同导致的辐射差异,根据序列图像的数量,选择基于S‑G滤波的算法,或者基于统计的自动阈值法标记云与云下阴影,并根据检测的阴影像元与最近的云像元的距离修正阴影像元检测结果。本发明涉及的关键步骤采用成熟的算法实现,具有较高的稳定性与适用性,对于高分四号卫星数据预处理中的云与云下阴影检测产品的生产与产品精度的提升,提供了关键的技术支撑。

Aiming at the radiation preprocessing application of the Gaofen-4 satellite image, especially the cloud and cloud shadow detection application, the invention provides a cloud and cloud shadow detection method of the Gaofen-4 satellite sequence image. For the sequence images of the same geographic area, different linear functions are used to achieve relative registration, and they are sorted according to the average surface radiance, and the linear relative radiation normalization is used to reduce the radiation difference caused by different acquisition times. According to the number of sequence images, select Based on the S-G filter algorithm, or based on the statistical automatic threshold method to mark clouds and cloud shadows, and correct the shadow pixel detection results according to the distance between the detected shadow pixel and the nearest cloud pixel. The key steps involved in the present invention are realized by mature algorithms, which have high stability and applicability. For the production of cloud and shadow under cloud detection products in the preprocessing of Gaofen-4 satellite data and the improvement of product accuracy, it provides Key technical support.

Description

一种GF-4卫星序列图像云与云下阴影检测方法A method for detecting clouds and shadows under clouds in GF-4 satellite sequence images

技术领域technical field

本发明涉及遥感图像辐射处理技术,具体的说,涉及一种针对高分辨率遥感卫星序列图像的云与云下阴影检测技术。The invention relates to a remote sensing image radiation processing technology, in particular to a cloud and cloud shadow detection technology for high-resolution remote sensing satellite sequence images.

背景技术Background technique

遥感图像的辐射预处理一直是遥感数据处理的主要课题之一。新的遥感卫星投入使用后,对新数据的预处理便是紧要的问题。遥感图像的预处理通常包含几何预处理于辐射预处理,其中的辐射预处理除了关键的辐射定标外,对图像云量的统计也是一项重要的步骤。根据卫星数据用户方的使用需求,云量所占比例成为选择卫星图像的一项重要指标,比如在分类与制图应用中多选用云量尽量少的图像,而在气象与减灾应用中更关注云量多的图像。目前绝大多数遥感卫星图像数据产品都包含云量信息,很多都包含专门的云覆盖标记波段,方便用户逐像素区分云与地表。遥感卫星图像的云检测方法很多,根据卫星数据的特点开发适用的云检测算法是数据预处理的重要步骤,比如波段范围以可见光与近红外为主的高分辨率多光谱遥感图像云检测多采用简单的直方图统计结合自动阈值的方法,或者基于无云地表参考数据的自动阈值方法,这类方法对于雪地与高亮干燥地表容易造成误检;包含红外波段的、定量化程度高的观测卫星数据多依赖云层的低温特性检测云,一般精度较高,数据产品中常包含专门的云标记波段。Radiation preprocessing of remote sensing images has always been one of the main topics in remote sensing data processing. After the new remote sensing satellites are put into use, the preprocessing of the new data is an urgent issue. The preprocessing of remote sensing images usually includes geometric preprocessing and radiometric preprocessing. In addition to the key radiometric calibration, the statistics of image cloud cover is also an important step in radiometric preprocessing. According to the needs of satellite data users, the proportion of cloud cover has become an important indicator for selecting satellite images. For example, images with as little cloud cover as possible are used in classification and mapping applications, and more attention is paid to cloud coverage in meteorological and disaster reduction applications. Lots of images. At present, most remote sensing satellite image data products contain cloud amount information, and many of them contain special cloud coverage marking bands, which are convenient for users to distinguish clouds and land surfaces pixel by pixel. There are many cloud detection methods for remote sensing satellite images. Developing suitable cloud detection algorithms according to the characteristics of satellite data is an important step in data preprocessing. Simple histogram statistics combined with an automatic threshold method, or an automatic threshold method based on cloudless surface reference data, such methods are prone to false detections for snowy and bright dry surfaces; observations with a high degree of quantification including infrared bands Satellite data mostly rely on the low-temperature characteristics of cloud layers to detect clouds, and generally have high accuracy, and data products often include special cloud marker bands.

高分四号卫星(以下简称GF-4)是中国于2015年12月发射的一颗地球同步轨道卫星,搭载空间分辨率为50米的全色、多光谱相机和400米分辨率的中波红外相机,采用面阵凝视方式成像,成像间隔快至20秒,具备高时间、高空间分辨率的优势。自2016年2月3号国防科技工业局公布首批影像以来,GF-4已经获取了中国及周边区域大量数据,在检测森林火灾、洪涝灾害等方面发挥着重要作用。GF-4卫星图像的预处理同样包括几何与辐射两个部分,几何预处理包括系统成像模型的构建、控制点匹配与几何精纠正等,目标是实现同一地图投影下成像数据的逐像素配准。辐射处理包括辐射定标、云与云下阴影的检测等,目标是使得图像像素值能精确地描述地表辐射状况。The Gaofen-4 satellite (hereinafter referred to as GF-4) is a geosynchronous orbit satellite launched by China in December 2015. It is equipped with a panchromatic and multispectral camera with a spatial resolution of 50 meters and a medium-wave camera with a resolution of 400 meters. The infrared camera adopts area array staring method for imaging, and the imaging interval is as fast as 20 seconds, which has the advantages of high time and high spatial resolution. Since the release of the first batch of images by the National Defense Science, Technology and Industry Bureau on February 3, 2016, GF-4 has acquired a large amount of data in China and surrounding areas, playing an important role in detecting forest fires, floods and other disasters. The preprocessing of GF-4 satellite images also includes two parts: geometry and radiation. Geometric preprocessing includes system imaging model construction, control point matching and geometric fine correction, etc. The goal is to achieve pixel-by-pixel registration of imaging data under the same map projection . Radiation processing includes radiation calibration, detection of clouds and shadows under clouds, etc. The goal is to make image pixel values accurately describe the surface radiation conditions.

GF-4卫星数据预处理技术研发在充分利用之前卫星数据处理成果的基础上,还要考虑GF-4卫星图像本身的特性,研发专门的处理算法。根据GF-4卫星数据的特点,云检测实现的技术途径主要有两个:一是利用云的低温特性,根据云在中波红外波段亮度低与在可见光波段亮度高的特性检测,这是目前采用较多的方法;二是利用云的运动特性从序列图像中检测云,由于GF-4卫星采用地球同步轨道,并面阵凝视成像方式,容易获取同一地理区域下大量的图像,根据云的运动特性,利用序列图像便可区分出云与云下阴影。The research and development of GF-4 satellite data preprocessing technology is based on making full use of the previous satellite data processing results, and also considers the characteristics of GF-4 satellite image itself, and develops a special processing algorithm. According to the characteristics of GF-4 satellite data, there are two main technical ways to realize cloud detection: one is to use the low temperature characteristics of clouds, and detect according to the characteristics of clouds with low brightness in the mid-wave infrared band and high brightness in the visible light band. Many methods are used; the second is to use the motion characteristics of clouds to detect clouds from sequence images. Since the GF-4 satellite adopts a geosynchronous orbit and uses an area array staring imaging method, it is easy to obtain a large number of images in the same geographical area. Motion characteristics, the cloud and the shadow under the cloud can be distinguished by using the sequence image.

通过对GF-4具体数据的分析与实验,发现中波红外数据难以用于精细的云检测,原因主要有:分辨率差异过大,一个400米分辨率的中波红外像素对应一个8×8像素块、共64个50米分辨率的可见光像素;覆盖地理范围不重合且像素尺寸不同,中波红外为1204×1024像素,可见光为10240×10240像素;成像时间存在差异,中波红外与可见光图像被设计为成像时间固定间隔45秒,云的运动特性便使得两者数据中云的位置、形态存在差异;数据质量上,中波红外相机成像还存在明显的噪声问题。Through the analysis and experiments on the specific data of GF-4, it is found that the mid-wave infrared data is difficult to be used for fine cloud detection. Pixel blocks, a total of 64 visible light pixels with a resolution of 50 meters; the geographical coverage does not overlap and the pixel size is different, the mid-wave infrared is 1204×1024 pixels, and the visible light is 10240×10240 pixels; there is a difference in imaging time, mid-wave infrared and visible light The images are designed to be imaged at a fixed interval of 45 seconds, and the movement characteristics of the clouds make the position and shape of the clouds in the two data different. In terms of data quality, there are still obvious noise problems in the imaging of mid-wave infrared cameras.

针对GF-4卫星图像云检测的问题,在中波红外图像应用困难的情况下,研究利用序列图像提高云检测的精度成为一种有效的技术途径,GF-4在实际的灾害监测应用中,对灾害区域的多天定时连续观测数据通常具有较强的序列特性,这为基于多幅/序列图像的云检测提供了有利的条件。工程化生产GF-4卫星数据辐射预处理产品需要一种稳健的序列图像云与云下阴影检测算法。Aiming at the problem of cloud detection in GF-4 satellite images, in the case of difficulties in the application of mid-wave infrared images, it is an effective technical way to study the use of sequence images to improve the accuracy of cloud detection. In the actual disaster monitoring application of GF-4, The multi-day timing continuous observation data of the disaster area usually has strong sequence characteristics, which provides favorable conditions for cloud detection based on multiple/sequence images. The engineering production of radiation preprocessing products of GF-4 satellite data requires a robust algorithm for detecting clouds and shadows under clouds in sequential images.

发明内容Contents of the invention

本发明的目的是针对GF-4静止卫星图像预处理应用,提供一种序列图像云与云下阴影检测技术,特别是对于GF-4卫星50米空间分辨率的全色、多光谱图像的L1级数据产品中的云检测产品生产,提供一种生产标记云与云下阴影波段产品的算法流程。本技术基于成熟的遥感图像相对辐射校正算法及S-G(Savitzky-Golay)滤波算法,根据GF-4卫星图像的辐射预处理需求与序列图像辐射特性定制的快速云与云下阴影检测算法流程。The purpose of the present invention is to provide a sequence image cloud and cloud shadow detection technology for the application of GF-4 static satellite image preprocessing, especially for the L1 of panchromatic and multi-spectral images with 50 meters spatial resolution of GF-4 satellite The production of cloud detection products in level data products provides an algorithm process for producing marked cloud and cloud shadow band products. This technology is based on the mature remote sensing image relative radiation correction algorithm and S-G (Savitzky-Golay) filter algorithm, and according to the radiation preprocessing requirements of GF-4 satellite images and the radiation characteristics of sequence images, the fast cloud and cloud shadow detection algorithm process is customized.

本发明的基本思路为:对于GF-4静止卫星获取的同一地理区域序列图像数据,对在没有系统几何模型的情况下,利用图像自动匹配获取的线性函数实现图像之间相对位置关系的逐像素配准,利用自动相对辐射校正减小序列图像之间不同成像时间导致的辐射差异,利用S-G滤波结合自动阈值在序列图像中逐像素修正地表,通过比较像素修正前后的值划分出云与云下阴影,最终输出结果是序列中每幅图像都对应一个单波段云与云下阴影标记数据。The basic idea of the present invention is: for the sequence image data of the same geographical area acquired by GF-4 geostationary satellites, in the absence of a system geometric model, the linear function obtained by automatic image matching is used to realize the pixel-by-pixel relative positional relationship between the images Registration, using automatic relative radiation correction to reduce the radiation difference caused by different imaging times between sequence images, using S-G filter combined with automatic threshold to correct the ground surface pixel by pixel in sequence images, and dividing the cloud and under-cloud by comparing the values before and after pixel correction Shadows, the final output is a single-band cloud and cloud shadow marker data for each image in the sequence.

所述的GF-4卫星序列图像,限定为50米空间分辨率的全色、多光谱图像,图像四个角点的经纬度差异不超过±0.3度,可以是GF-4卫星凝视模式下获取的序列图像,也可以是不同天获取的,按照获取时间先后排列的序列图像。The GF-4 satellite sequence image is limited to a panchromatic, multi-spectral image with a spatial resolution of 50 meters, and the difference in latitude and longitude of the four corner points of the image does not exceed ±0.3 degrees, which can be obtained under the staring mode of the GF-4 satellite The sequence of images may also be obtained on different days and arranged in sequence according to the acquisition time.

本发明的技术方案提供的GF-4卫星序列图像云与云下阴影检测方法,其特征在于包括以下实施步骤:The GF-4 satellite sequence image cloud and the shadow detection method under the cloud provided by the technical solution of the present invention are characterized in that comprising the following implementation steps:

A数据预处理,获取序列图像相对配准线性参数;A data preprocessing, obtain sequence image relative registration linear parameters;

B线性相对辐射归一,自动提取序列图像两两之间伪不变特征地物点,通过统计比较各图像伪不变特征地物点辐射差异,找出整体辐射差异大的数据进行相对辐射校正;B linear relative radiation normalization, automatically extracting pseudo-invariant feature points between pairs of sequence images, and statistically comparing the radiation differences of pseudo-invariant feature points in each image to find data with large overall radiation differences for relative radiation correction ;

C序列图像云检测,根据序列图像的数量,选择基于S-G滤波的算法,或者基于统计的自动阈值法标记云与云下阴影,获取每个图像的云与云下阴影掩膜波段数据;C sequence image cloud detection, according to the number of sequence images, select the algorithm based on S-G filter, or mark the cloud and the shadow under the cloud with the automatic threshold method based on statistics, and obtain the mask band data of the cloud and the shadow under the cloud for each image;

D修正检测结果,先根据检测的阴影像元与最近的云像元的距离修正阴影像元,再通过顺序叠加显示原图与云检测结果图找出检测结果存在问题的数据进行云区修正,如果存在多幅云检测结果差的数据,则将这些数据组成新的序列图像重新进行上述云检测处理。D Correct the detection result, first correct the shadow pixel according to the distance between the detected shadow pixel and the nearest cloud pixel, and then find out the data with problems in the detection result by sequentially superimposing and displaying the original image and the cloud detection result map to correct the cloud area, If there are multiple pieces of data with poor cloud detection results, these data are formed into a new sequence of images and the above cloud detection process is performed again.

上述实施步骤的特征在于:The above-mentioned implementation steps are characterized in that:

步骤A中所述数据预处理,包括对输入的序列图像进行数据完整性检查、地理覆盖范围检查、按地表平均辐射亮度排序、以及程序运行的一些准备初始化处理。所述获取序列图像相对配准线性参数,具体过程是对同一地理区域的序列图像,利用图像四个角点的近似经纬度坐标确定图像间的大致相对位置关系,并根据定位误差确定图像分块自动匹配的检索范围,通过自动匹配,获得控制点数据并拟合出一个线性函数,序列图像之间通过不同的线性函数实现相对配准,而不对图像本身进行插值与重采样等变换。The data preprocessing described in step A includes data integrity check, geographic coverage check, sorting by surface average radiance, and some preparatory initialization processes for program operation on the input sequence images. The specific process of obtaining the relative registration linear parameters of the sequence images is to use the approximate latitude and longitude coordinates of the four corner points of the images to determine the approximate relative positional relationship between the images for the sequence images of the same geographical area, and determine the automatic segmentation of the images according to the positioning error. The matching search range, through automatic matching, obtains the control point data and fits a linear function, and realizes relative registration between sequence images through different linear functions, without performing transformations such as interpolation and resampling on the images themselves.

步骤B中所述的线性相对辐射归一,用于减小序列图像两两之间因数据获取时间的不同导致的辐射差异,序列中相邻两幅图像之间采用遥感领域中的相对辐射校正技术,这里采用基于多源典型相关分析的IR-MAD(re-weighted Multivariate AlterationDetection transformation)变化实现自动提取两图像的伪不变特征地物点;所述通过统计比较各图像伪不变特征地物点辐射差异,采用的比较方法是对于序列中的一幅图像,其与序列前后的图像提取的伪不变特征地物点之间的均值差异在整个序列中的大小比较,如果该图与序列中前后图像之间的伪不变地物点均值差异都很大,则需要对该图像进行相对辐射校正;所述找出整体辐射差异大的数据进行相对辐射校正,相对辐射校正采用伪不变地物点拟合出的线性函数完成。The linear relative radiation normalization described in step B is used to reduce the radiation difference between two sequence images due to the difference in data acquisition time, and the relative radiation correction in the field of remote sensing is used between two adjacent images in the sequence technology, the IR-MAD (re-weighted Multivariate Alteration Detection transformation) change based on multi-source canonical correlation analysis is adopted here to automatically extract the pseudo-invariant feature points of the two images; the pseudo-invariant feature points of the images are statistically compared Point radiation difference, the comparison method used is to compare the mean value difference between an image in the sequence and the pseudo-invariant feature points extracted from the images before and after the sequence in the entire sequence, if the image is consistent with the sequence If there is a large difference in the mean value of the pseudo-invariant ground object points between the front and rear images, then relative radiation correction needs to be performed on the image; the relative radiation correction is performed on the data with a large overall radiation difference as described above, and the relative radiation correction adopts pseudo-invariant The linear function fitted by the feature points is completed.

步骤C中所述序列图像云检测,根据序列图像的数量采用不同的检测方法,当图像数量大于等于10,选择基于S-G滤波的算法,先对序列图像进行逐像素的序列滤波,再根据每个图像滤波前后像素值的比较区分云与云下阴影;当图像数量小于10,则直接统计序列图像逐像素的均值与中值,根据每个图像像素值与统计的均值与中值的差异区域云与云下阴影;该步骤获取每个图像的云与云下阴影掩膜波段数据;The sequence image cloud detection described in step C adopts different detection methods according to the number of sequence images. When the number of images is greater than or equal to 10, an algorithm based on S-G filtering is selected, and the sequence images are firstly filtered pixel by pixel, and then according to each The comparison of pixel values before and after image filtering distinguishes clouds and shadows under clouds; when the number of images is less than 10, the mean and median values of the sequence images are directly counted pixel by pixel, and the difference between the pixel values of each image and the statistical mean and median values of regional clouds and cloud shadow; this step obtains the cloud and cloud shadow mask band data of each image;

步骤D中所述修正检测结果,先根据检测的阴影像元与最近的云像元的距离修正阴影像元,根据云下阴影距离云的最大距离,比如GF-4图像可取值500或者1000素数,对于每个检测到的阴影像元,如果在该半径像素范围内没有找到检测的云像元,则判定为误检,将该像元从阴影像元中剔除;通过顺序叠加显示原图与云检测结果图找出检测结果存在问题的数据进行云区修正,这里所述存在问题的数据,主要针对两种情况,一是检测结果存在较多碎片与漏洞,此时采用计算机形态学的办法去除碎片并填充漏洞,二是检测结果存在大比例的明显误检,比如将高亮地表、水面等误检为云,此时需要对改图进行重新检测,如果存在多幅云检测结果差的数据,则将这些数据组成新的序列图像重新进行云检测处理。Correct the detection result described in step D, first correct the shadow pixel according to the distance between the detected shadow pixel and the nearest cloud pixel, and according to the maximum distance between the shadow under the cloud and the cloud, for example, the GF-4 image can take a value of 500 or 1000 Prime number, for each detected shadow pixel, if no detected cloud pixel is found within the radius pixel range, it will be judged as a false detection, and the pixel will be removed from the shadow pixel; the original image will be displayed by sequential overlay Find out the problematic data in the detection results with the cloud detection result map and correct the cloud area. The problematic data described here is mainly for two situations. One is that there are many fragments and loopholes in the detection results. At this time, the computer morphology method is used The second is that there are a large proportion of obvious false detections in the detection results, such as misdetection of highlighted ground and water surfaces as clouds. At this time, it is necessary to re-detect the modified map. If there is any data, these data will be composed into a new sequence of images and re-processed for cloud detection.

本发明与现有技术相比有如下特点:本发明提供了一种针对GF-4序列图像云与云下阴影检测解决方案,通过线性函数实现GF-4序列图像逐像素位置关系的快速配准,利用线性相对辐射校正减小数据间的辐射差异,利用S-G滤波结果划分出云与云下阴影。算法自动化程度高,云与云下阴影检测过程无需人机交互,用户仅需对最终的检测结果进行简单的检查,对个别数据进行重新处理。涉及的关键步骤采用成熟的算法实现,具有较高的稳定性与适用性。对于GF-4卫星数据预处理中的云与云下阴影检测产品的生产与产品精度的提升,提供了关键的技术支撑。Compared with the prior art, the present invention has the following characteristics: the present invention provides a solution for detecting clouds and shadows under clouds in GF-4 sequence images, and realizes fast registration of pixel-by-pixel positional relationships of GF-4 sequence images through linear functions , using linear relative radiation correction to reduce the radiation difference between the data, and using the S-G filtering results to divide the cloud and the shadow under the cloud. The algorithm has a high degree of automation, and the detection process of clouds and shadows under clouds does not require human-computer interaction. Users only need to check the final detection results and reprocess individual data. The key steps involved are realized by mature algorithms, which have high stability and applicability. It provides key technical support for the production of cloud and shadow under cloud detection products and the improvement of product accuracy in the preprocessing of GF-4 satellite data.

附图说明:Description of drawings:

图1是GF-4卫星序列图像云检测流程图Figure 1 is a flow chart of cloud detection in GF-4 satellite sequence images

图2是单个像素处S-G滤波与阈值云检测的示意图Figure 2 is a schematic diagram of S-G filtering and threshold cloud detection at a single pixel

图3是检测结果形态学修正示意图Figure 3 is a schematic diagram of the morphological correction of the detection results

具体实施方式:detailed description:

本技术的思想是利用云与云下阴影在序列图像中的运动特性实现云与云下阴影的检测,其必要条件为:GF-4卫星获取的数据易构成序列,且在不同时间获取的同一区域的多幅图像之间仅存在旋转与平移的位置关系。该必要条件对于GF-4卫星图像是满足的,是由于GF-4卫星采用静止卫星轨道,相对于地球的位置是固定的,其成像几何是不变的,包括对地球可观测范围内的任意一点到卫星传感器成像点的几何关系都是固定的。静止卫星位置的固定性,保证了对同一区域的多个观测图像,在图像中心点与四个角点坐标相同的情况下,所有图像的系统成像几何模型是相同的,使得图像的系统畸变与空间分辨率都是一致的。并且GF-4卫星采用面阵凝视方式成像,成像时间是瞬时的,图像的成像过程不会引入新的几何畸变,卫星的抖动与传感器的抖动都很难对成像造成影响。最后,GF-4卫星成像定位精度高。通过指向控制,GF-4可实现对中国及周边地区进行自由观测,也可采用凝视模式对幅宽400千米的固定区域进行持续观测,其定位精度达±0.1度,使得GF-4卫星具有获得同一固定区域的序列图像的能力。自2016年2月3号国防科技工业局公布首批影像以来,GF-4卫星已经获取了中国及周边区域大量数据,其中包含大量的可构成序列的数据,包含GF-4卫星凝视模式下可获取同一天相近时刻的序列图像,也有不同天获取的同一区域图像构成序列。The idea of this technology is to use the motion characteristics of clouds and shadows under clouds in sequence images to realize the detection of clouds and shadows under clouds. The necessary conditions are: the data acquired by GF-4 satellite can easily form a sequence, and the same There is only a positional relationship between rotation and translation among the multiple images of the region. This necessary condition is satisfied for the GF-4 satellite image, because the GF-4 satellite adopts a geostationary satellite orbit, its position relative to the earth is fixed, and its imaging geometry is unchanged, including any image within the observable range of the earth. The geometric relationship from one point to the imaging point of the satellite sensor is fixed. The fixity of the position of the geostationary satellite ensures multiple observation images of the same area. When the coordinates of the image center point and the four corner points are the same, the system imaging geometric models of all images are the same, so that the system distortion of the image is the same as The spatial resolution is the same. In addition, the GF-4 satellite uses the area array staring method for imaging, and the imaging time is instantaneous. The imaging process of the image will not introduce new geometric distortion, and the shaking of the satellite and the sensor will hardly affect the imaging. Finally, GF-4 satellite imaging positioning accuracy is high. Through pointing control, GF-4 can realize free observation of China and surrounding areas, and can also use staring mode to continuously observe a fixed area with a width of 400 kilometers. Its positioning accuracy reaches ±0.1 degrees, making GF-4 satellites have The ability to acquire sequential images of the same fixed area. Since the release of the first batch of images by the National Defense Science, Technology and Industry Bureau on February 3, 2016, the GF-4 satellite has acquired a large amount of data in China and its surrounding areas, including a large amount of data that can form a sequence, including the GF-4 satellite staring mode. A sequence of images obtained at similar times on the same day, and images of the same area acquired on different days constitute a sequence.

采用本发明实现GF-4卫星序列图像云与云下阴影检测流程如图1所示,现结合附图对其进行描述。The process of detecting clouds and shadows under clouds in GF-4 satellite sequence images by using the present invention is shown in Fig. 1 , which is now described in conjunction with the accompanying drawings.

处理单元111数据预处理,数据预处理针对GF-4卫星序列图像,对于GF-4数据发布的50米空间分辨率的可见光与近红外图像,有两种方式可以获得序列的图像:一是GF-4相机在凝视工作模式下获取的同一天、相近时间内获取的连续多幅图像组成的序列;二是非凝视模式下,不同天获取的、同一地区的多幅图像。在GF-4卫星的实际运营中,获取第二种非凝视模式构成的序列图像数据很容易。因为灾害监控作为GF-4的重要任务,当某一区域发生灾害时,GF-4可以在经纬度误差0.1度的范围内对固定区域进行多天、多次观测,从而构成序列图像。数据预处理算法程序对输入的序列图像进行数据完整性检查、地理覆盖范围检查、序列排序、以及程序运行的一些准备初始化处理。其中序列排序并不是按照数据获取的时间进行排序,而是根据各图像地表的平均辐射亮度排序。Processing unit 111 data preprocessing, data preprocessing is aimed at GF-4 satellite sequence images, for visible light and near-infrared images with a spatial resolution of 50 meters released by GF-4 data, there are two ways to obtain sequence images: one is GF-4 -4 A sequence composed of multiple consecutive images acquired by the camera in the staring working mode on the same day and in a similar time; the second is multiple images of the same area acquired on different days in the non-staring mode. In the actual operation of the GF-4 satellite, it is easy to obtain the sequence image data composed of the second non-staring mode. Because disaster monitoring is an important task of GF-4, when a disaster occurs in a certain area, GF-4 can observe the fixed area for multiple days and multiple times within the range of latitude and longitude error of 0.1 degrees, thus forming a sequence of images. The data preprocessing algorithm program performs data integrity checks, geographic coverage checks, sequence sorting, and some preparation initialization processing on the input sequence images. The sequence sorting is not according to the time of data acquisition, but according to the average radiance of the surface of each image.

根据各图像地表的平均辐射亮度排序在本发明中,对于GF-4静止卫星数据的后续处理是关键的。不同于太阳同步轨道卫星获取地球同一地理位置图像的时刻是相近的,地球同步轨道卫星相对地球位置不变,可选择一天中的任意时刻成像,白天里不同时刻成像根据太阳高度的不同,图像整体辐射亮度也是不同的,比如早上8点钟与正午12点钟成像的图像辐射差异。具体排序方法是统计序列图像中蓝光波段的直方图,排除过亮与过暗像素值后,将剩余像素的均值作为排序的依据。这里排除过亮与过暗像素值的目的是过滤掉可能的云与云下阴影,保证得到的均值尽量代表地表的辐射亮度情况。Sorting according to the average radiance of the ground surface in each image In the present invention, the subsequent processing of GF-4 geostationary satellite data is critical. Unlike sun-synchronous orbit satellites, which acquire images of the same geographical location of the earth at similar times, geosynchronous orbit satellites remain unchanged relative to the earth, and can choose to image at any time of the day. Imaging at different times during the day depends on the height of the sun. The overall image Radiation brightness is also different, such as the difference in image radiation between 8 o'clock in the morning and 12 o'clock in the noon. The specific sorting method is to count the histogram of the blue light band in the sequence image, and after excluding the values of the overly bright and overdark pixels, the mean value of the remaining pixels is used as the basis for sorting. The purpose of excluding overly bright and overly dark pixel values here is to filter out possible clouds and shadows under clouds, so as to ensure that the obtained average value represents the radiance of the surface as much as possible.

序列图像排序后,由于本发明属于GF-4数据辐射预处理,采用的图像是未经系统几何校正的原始数据,仅根据图像定位信息直接叠加无法实现地物的逐像素配准。这里采用线性相对配准方法,具体过程是对同一地理区域的序列图像,利用图像四个角点的近似经纬度坐标确定图像间的大致相对位置关系,并根据定位误差确定图像分块自动匹配的检索范围,通过自动匹配,获得控制点数据并拟合出一个线性函数y=ax+b,序列图像之间通过不同的线性函数参数a与b实现相对配准,而不对图像本身进行插值与重采样等变换。After the sequence images are sorted, since the present invention belongs to GF-4 data radiation preprocessing, the images used are the original data without systematic geometric correction, and the pixel-by-pixel registration of ground objects cannot be realized only by direct superimposition based on image positioning information. Here, the linear relative registration method is used. The specific process is to use the approximate latitude and longitude coordinates of the four corners of the image to determine the approximate relative positional relationship between the images for the sequence images of the same geographical area, and determine the automatic matching retrieval of image blocks according to the positioning error. Range, through automatic matching, the control point data is obtained and a linear function y=ax+b is fitted, and the relative registration of the sequence images is achieved through different linear function parameters a and b, without interpolation and resampling of the images themselves etc. transform.

通过预处理的序列图像数据,如果是非凝视模式获取的不同天数据,则需要进行处理单元112的线性相对辐射归一处理。该处理是算法流程的关键步骤,用于减小序列图像两两之间因数据获取时间的不同导致的辐射差异,序列中相邻两幅图像之间采用遥感领域中的相对辐射校正技术,对于序列中的一幅图像,其与序列前后的图像提取的伪不变特征地物点之间的均值差异在整个序列中的大小比较,如果该图与序列中前后图像之间的伪不变地物点均值差异都很大,则需要对该图像进行相对辐射校正。这里采用IR-MAD变化实现自动提取两图像的伪不变特征地物点。If the preprocessed sequence image data is different day data acquired in the non-staring mode, the processing unit 112 needs to perform linear relative radiation normalization processing. This processing is a key step in the algorithm flow, and it is used to reduce the radiation difference between two sequence images due to the difference in data acquisition time. The relative radiation correction technology in the field of remote sensing is used between two adjacent images in the sequence. For An image in the sequence, compared with the mean difference between the pseudo-invariant feature points extracted from the images before and after the sequence in the entire sequence, if the image is invariant to the pseudo-invariant If the mean values of the object points are very different, the image needs to be corrected for relative radiation. Here, the IR-MAD change is used to automatically extract the pseudo-invariant feature points of the two images.

IR-MAD变换源于Nielsen et al.(1998)提出的MAD变换,该算法为了遮蔽两时相图像中的变化像素,首先形成两幅图像N个通道内像素值的线性组合。用随机向量X和Y分别表示目标图与参考图重叠区内筛选出的像素值。根据以下变换公式:The IR-MAD transform is derived from the MAD transform proposed by Nielsen et al. (1998). In order to cover the changing pixels in the two-temporal image, the algorithm first forms a linear combination of pixel values in N channels of the two images. Random vectors X and Y are used to represent the pixel values screened out in the overlapping area of the target image and the reference image, respectively. According to the following transformation formula:

U=aTX=a1X1+a2X2+Λ+aNXN U=a T X=a 1 X 1 +a 2 X 2 +Λ+a N X N

V=bTY=b1Y1+b2Y2+Λ+bNYN V=b T Y=b 1 Y 1 +b 2 Y 2 +Λ+b N Y N

其中ai与bi为MAD系数,MAD变换最小化U与V之间的正相关。在服从约束:Var(U)=Var(V)=1的前提下,定义MAD变量:Among them, a i and b i are MAD coefficients, and the MAD transformation minimizes the positive correlation between U and V. Under the premise of obeying the constraint: Var(U)=Var(V)=1, define the MAD variable:

MAD=Var(U-V)=Var(U)+Var(V)-2cov(U,V)=2(1-corr(U,V))→MaximumMAD=Var(U-V)=Var(U)+Var(V)-2cov(U,V)=2(1-corr(U,V))→Maximum

最小化正相关系数corr(U,V)是一个标准的统计过程,即所谓的广义特征值问题。求出的MAD变量各个分量相互正交,并且是线性变换的不变量。本发明之所以选择MAD变换来提取不变特征点,正是由于MAD变换的这种对变量X与Y之间的线性关系不敏感的特性,可以很好地适应不同时间获取的GF-4图像之间存在的较大辐射差异。IR-MAD变换进一步提高了MAD算法的精度与稳定性。Minimizing the positive correlation coefficient corr(U,V) is a standard statistical procedure, the so-called generalized eigenvalue problem. Each component of the obtained MAD variable is orthogonal to each other and is an invariant of linear transformation. The reason why the present invention chooses the MAD transformation to extract the invariant feature points is that the MAD transformation is not sensitive to the linear relationship between the variables X and Y, and can be well adapted to the GF-4 images acquired at different times There is a large radiation difference between them. The IR-MAD transformation further improves the accuracy and stability of the MAD algorithm.

利用IR-MAD变化自动提取出的两图像的伪不变特征地物点,采用最小二乘方法拟合出一个整体的线性函数y=ax+b,利用传统的遥感图像线性相对辐射校正将序列中辐射差异大的图像校正到相邻一幅图像的辐射水平。Using the pseudo-invariant feature points of the two images automatically extracted from the IR-MAD changes, an overall linear function y=ax+b is fitted by the least squares method, and the sequence is transformed using the traditional linear relative radiation correction of remote sensing images An image with a large difference in radiance is corrected to the radiance level of an adjacent image.

根据序列图像包含的图像数目是否大于10幅,确定后续处理采用处理单元113,或者处理单元114。According to whether the sequence of images contains more than 10 images, it is determined that the processing unit 113 or the processing unit 114 is used for subsequent processing.

处理单元113统计与自动阈值云检测,具体算法是,假若序列图像包含n幅图像,n≤10,对序列图像中的每一个相对配准的像素位置,统计n个像素的均值Vmin与中值Vmid,假若均值与中值数值上相差不大,比如|Vmin-Vmid|<10,则n个像素全部标记为地表。假若中值与均值数值差异大,则将n个像素逐次与Vmid进行比较,如果Vi-Vmid>Vcloud,则判定第i个像素为云,Vcloud为云阈值;如果Vi-Vmid<Vshadow,则判定第i个像素为云下阴影,Vshadow为云下阴影阈值,为负值;Vcloud与Vshadow的可取值±2|Vmin-Vmid|,或者±3|Vmin-Vmid|。Processing unit 113 statistics and automatic threshold cloud detection, the specific algorithm is, if the sequence image contains n images, n≤10, for each relative registered pixel position in the sequence image, count the mean value Vmin and median value of n pixels Vmid, if there is little difference between the mean value and the median value, such as |Vmin-Vmid|<10, then all n pixels are marked as the surface. If the difference between the median value and the mean value is large, compare n pixels with Vmid one by one. If Vi-Vmid>Vcloud, then determine that the i-th pixel is a cloud, and Vcloud is the cloud threshold; if Vi-Vmid<Vshadow, then determine The i-th pixel is the shadow under the cloud, and Vshadow is the shadow threshold under the cloud, which is a negative value; the possible values of Vcloud and Vshadow are ±2|Vmin-Vmid|, or ±3|Vmin-Vmid|.

处理单元114S-G滤波与阈值云检测,该步处理是先对序列图像进行S-G滤波,再通过比较滤波前后数值的变化差异判定是否为云与云下阴影。Processing unit 114 S-G filtering and threshold cloud detection. This step is to first perform S-G filtering on the sequence image, and then determine whether it is a cloud or a shadow under the cloud by comparing the difference between the values before and after filtering.

S-G滤波通过滑动窗口多项式拟合来达到对序列数据进行平滑的目的(Savitzky&Golay,1964)。序列数为N,对其中长度为n=2m+1的子序列进行k(k≤n)阶多项式拟合可表示为:S-G filter achieves the purpose of smoothing sequence data through polynomial fitting of sliding window (Savitzky & Golay, 1964). The number of sequences is N, and the k (k≤n) order polynomial fitting for the subsequence of which the length is n=2m+1 can be expressed as:

S-G滤波过程是对序列中的某一点t0及其左右m邻域共n=2m+1个点(ti,yi),i∈[-m,m],进行k阶(k≤n)的多项式拟合,用拟合后的滑动窗口中心的数据(t0,y0)置换原始时间序列中的数据(t0,y0),然后向右移动窗口,使窗口中心移至序列中下一数据,重复上述过程,直到滑动窗口到达序列末尾。平滑窗口系数是通过最小二乘法方式求得。The SG filtering process is to perform k-order (k≤n) on a certain point t 0 in the sequence and a total of n=2m+1 points (ti, yi) in its left and right m neighborhoods, i∈[-m, m] Polynomial fitting, replace the data (t 0 , y 0 ) in the original time series with the data (t 0 , y 0 ) in the center of the fitted sliding window, and then move the window to the right so that the center of the window moves to the bottom of the sequence 1 data, repeat the above process until the sliding window reaches the end of the sequence. The smoothing window coefficient is obtained by the method of least squares.

假若序列图像包含n幅图像,n>10,对序列图像中的每一个相对配准的像素位置,经过S-G滤波后,将n个像素Vi逐次与滤波后的值Vi-SG进行比较,如果Vi-Vi-SG>Vcloud,则判定第i个像素为云;如果Vi-Vi-SG<Vshadow,则判定第i个像素为云下阴影;Vcloud与Vshadow的可取经验值,比如20或者30,根据具体数据情况可调整阈值。序列图像中单个像素处S-G滤波与阈值云检测的示意图见图2。If the sequence image contains n images, n>10, for each relatively registered pixel position in the sequence image, after SG filtering, compare n pixels V i with the filtered value V i-SG successively, If V i -V i-SG >V cloud , it is determined that the i-th pixel is a cloud; if V i -V i-SG <V shadow , then it is determined that the i-th pixel is a shadow under the cloud; V cloud and V shadow The empirical value is desirable, such as 20 or 30, and the threshold can be adjusted according to the specific data situation. The schematic diagram of SG filtering and threshold cloud detection at a single pixel in a sequence of images is shown in Figure 2.

对云下阴影的检测结果进行修正,根据检测的阴影像元与最近的云像元的距离修正,给出云下阴影距离云的最大距离,比如GF-4图像可取值500或者1000素数,对于每个检测到的阴影像元,如果在该半径像素范围内没有找到检测的云像元,则判定为误检,将该像元从阴影像元中剔除。Correct the detection result of the shadow under the cloud, correct according to the distance between the detected shadow pixel and the nearest cloud pixel, and give the maximum distance between the shadow under the cloud and the cloud. For example, the GF-4 image can take a prime number of 500 or 1000, For each detected shadow pixel, if no detected cloud pixel is found within the radius pixel range, it is judged as a false detection, and the pixel is removed from the shadow pixel.

检测结果的精度建议进行人工检查,对于精度较差的结果可根据具体数据情况通过调整阈值后进行再次处理。另外由于云检测是基于单个像素的,有时会出现检测结果局部区域出现大量碎片与漏洞的情况。为了改善云检测的边界效果,采用计算机形态学的方法进行云区整饰处理,去除云边界外小于一定像素数的孤立云区,填充云边界内小于一定像素数的空洞,然后整饰云边界。效果示意图见图3。由于实际的云本身也可能是过分离散的,所以是否对云区进行整饰由用户决定。The accuracy of the detection results is recommended to be checked manually, and the results with poor accuracy can be processed again after adjusting the threshold according to the specific data situation. In addition, because the cloud detection is based on a single pixel, sometimes there may be a large number of fragments and holes in the local area of the detection result. In order to improve the boundary effect of cloud detection, the method of computer morphology is used for cloud area trimming processing, removing the isolated cloud area less than a certain number of pixels outside the cloud boundary, filling the hole less than a certain number of pixels in the cloud boundary, and then trimming the cloud boundary . The schematic diagram of the effect is shown in Figure 3. Since the actual cloud itself may also be overly fragmented, it is up to the user whether to groom the cloud zone.

云与云下阴影检测的结果保存为8位单波段图像,地表取值0,云下阴影取值1,云取值2。n幅序列图像对应n幅检测结果,作为GF-4初级数据产品提供给用户。The detection results of clouds and shadows under clouds are saved as 8-bit single-band images, with the value of 0 for the surface, 1 for shadows under clouds, and 2 for clouds. N pieces of sequence images correspond to n pieces of detection results, which are provided to users as GF-4 primary data products.

本发明的实例已经在PC平台上实现,目前已经交付用户方进行测试与使用,作为GF-4数据辐射预处理中云特征参数反演关键技术。The example of the present invention has been implemented on the PC platform, and has been delivered to the user for testing and use at present, as a key technology for inversion of cloud characteristic parameters in GF-4 data radiation preprocessing.

应当指出,以上所述具体实施方式可以使本领域的技术人员更全面地理解本发明,但不以任何方式限制本发明。因此,本领域技术人员应当理解,仍然可以对本发明进行修改或者等同替换;而一切不脱离本发明的精神和技术实质的技术方案及其改进,其均应涵盖在本发明专利的保护范围当中。It should be pointed out that the specific embodiments described above can enable those skilled in the art to understand the present invention more comprehensively, but do not limit the present invention in any way. Therefore, those skilled in the art should understand that the present invention can still be modified or equivalently replaced; and all technical solutions and improvements that do not depart from the spirit and technical essence of the present invention should be covered by the protection scope of the patent of the present invention.

Claims (4)

1.一种GF-4卫星序列图像云与云下阴影检测方法,该方法针对高分四号卫星图像辐射预处理应用,特别是云与云下阴影检测应用,其特征在于包括以下实施步骤:1. a GF-4 satellite sequence image cloud and shadow detection method under the cloud, the method is aimed at Gaofen No. 4 satellite image radiation preprocessing application, particularly cloud and shadow detection application under the cloud, it is characterized in that comprising the following implementation steps: A数据预处理,获取序列图像相对配准线性参数;所述数据预处理中按地表平均辐射亮度排序;获取序列图像相对配准线性参数,具体过程是对同一地理区域的序列图像,利用图像四个角点的近似经纬度坐标确定图像间的大致相对位置关系,并根据定位误差确定图像分块自动匹配的检索范围,通过自动匹配,获得控制点数据并拟合出一个线性函数,序列图像之间通过不同的线性函数实现相对配准,而不对图像本身进行插值与重采样等变换;A data preprocessing, obtain sequence image relative registration linear parameters; said data preprocessing is sorted according to surface average radiance; obtain sequence image relative registration linear parameters, the specific process is to sequence images of the same geographical area, using image four The approximate latitude and longitude coordinates of each corner point determine the approximate relative positional relationship between the images, and determine the retrieval range of the automatic matching of image blocks according to the positioning error. Through automatic matching, the control point data is obtained and a linear function is fitted. Realize relative registration through different linear functions, without performing transformations such as interpolation and resampling on the image itself; B线性相对辐射归一,自动提取序列图像两两之间伪不变特征地物点,通过统计比较各图像伪不变特征地物点辐射差异,找出整体辐射差异大的数据进行相对辐射校正;所述线性相对辐射归一减小序列图像两两之间因数据获取时间的不同导致的辐射差异,序列中相邻两幅图像之间采用遥感领域中的相对辐射校正技术;通过统计比较各图像伪不变特征地物点辐射差异,采用的比较方法是对于序列中的一幅图像,其与序列前后的图像提取的伪不变特征地物点之间的均值差异在整个序列中的大小比较,如果该图与序列中前后图像之间的伪不变地物点均值差异都很大,则需要对该图像进行相对辐射校正。B linear relative radiation normalization, automatically extracting pseudo-invariant feature points between pairs of sequence images, and statistically comparing the radiation differences of pseudo-invariant feature points in each image to find data with large overall radiation differences for relative radiation correction ; The linear relative radiation normalization reduces the radiation difference caused by the difference in data acquisition time between the sequence images, and the relative radiation correction technology in the field of remote sensing is used between adjacent two images in the sequence; The radiation difference of image pseudo-invariant feature points, the comparison method used is the size of the mean difference between an image in the sequence and the pseudo-invariant feature points extracted from the images before and after the sequence in the entire sequence In comparison, if the average value of the pseudo-invariant surface object points between the image and the previous and subsequent images in the sequence is very different, then the image needs to be corrected for relative radiation. C序列图像云检测,根据序列图像的数量,选择基于S-G滤波的算法,或者基于统计的自动阈值法标记云与云下阴影,获取每个图像的云与云下阴影掩膜波段数据。C sequence image cloud detection, according to the number of sequence images, select the algorithm based on S-G filter, or the automatic threshold method based on statistics to mark clouds and cloud shadows, and obtain the cloud and cloud shadow mask band data of each image. 2.根据权利要求1中所述的方法,其特征在于:2. The method according to claim 1, characterized in that: 序列图像云检测,根据序列图像的数量采用不同的检测方法,当图像数量大于等于10,选择基于S-G滤波的算法,先对序列图像进行逐像素的序列滤波,再根据每个图像滤波前后像素值的比较区分云与云下阴影;当图像数量小于10,则直接统计序列图像逐像素的均值与中值,根据每个图像像素值与统计的均值与中值的差异区域云与云下阴影。For sequence image cloud detection, different detection methods are adopted according to the number of sequence images. When the number of images is greater than or equal to 10, the algorithm based on S-G filtering is selected, and the sequence images are first filtered pixel by pixel, and then the pixel values before and after filtering are used for each image. The comparison distinguishes the cloud and the shadow under the cloud; when the number of images is less than 10, the average and median values of the sequence images are directly counted pixel by pixel, and the cloud and the shadow under the cloud are based on the difference between the pixel value of each image and the statistical mean and median. 3.根据权利要求1中所述的方法,其特征在于:3. The method according to claim 1, characterized in that: 统计与自动阈值云检测,具体算法是,假若序列图像包含n幅图像,n≤10,对序列图像中的每一个相对配准的像素位置,统计n个像素的均值Vmin与中值Vmid,假若均值与中值数值上相差不大,比如|Vmin-Vmid|<10,则n个像素全部标记为地表;假若中值与均值数值差异大,则将n个像素逐次与Vmid进行比较,如果Vi-Vmid>Vcloud,则判定第i个像素为云,Vcloud为云阈值;如果Vi-Vmid<Vshadow,则判定第i个像素为云下阴影,Vshadow为云下阴影阈值,为负值;Vcloud与Vshadow的可取值±2|Vmin-Vmid|,或者±3|Vmin-Vmid|。Statistical and automatic threshold cloud detection, the specific algorithm is, if the sequence image contains n images, n≤10, for each relative registered pixel position in the sequence image, count the mean value Vmin and median value Vmid of n pixels, if There is not much difference between the mean value and the median value. For example, when |Vmin-Vmid|<10, all n pixels are marked as the surface; -Vmid>Vcloud, then determine that the i-th pixel is a cloud, and Vcloud is a cloud threshold; if Vi-Vmid<Vshadow, then determine that the i-th pixel is a cloud shadow, and Vshadow is a cloud shadow threshold, which is a negative value; Vcloud and The possible value of Vshadow is ±2|Vmin-Vmid|, or ±3|Vmin-Vmid|. 4.根据权利要求1中所述的方法,其特征在于:4. The method according to claim 1, characterized in that: 修正检测结果,根据检测的阴影像元与最近的云像元的距离修正阴影像元,根据云下阴影距离云的最大距离,比如GF-4图像可取值500或者1000素数,对于每个检测到的阴影像元,如果在该半径像素范围内没有找到检测的云像元,则判定为误检,将该像元从阴影像元中剔除。Correct the detection result, correct the shadow pixel according to the distance between the detected shadow pixel and the nearest cloud pixel, and according to the maximum distance between the shadow under the cloud and the cloud, for example, the GF-4 image can take a value of 500 or 1000 prime numbers, for each detection If there is no detected cloud pixel within the radius pixel range, it will be judged as a false detection, and the pixel will be removed from the shadow pixel.
CN201710135417.2A 2017-03-09 2017-03-09 A method for detecting clouds and shadows under clouds in GF-4 satellite sequence images Active CN106940887B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710135417.2A CN106940887B (en) 2017-03-09 2017-03-09 A method for detecting clouds and shadows under clouds in GF-4 satellite sequence images

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710135417.2A CN106940887B (en) 2017-03-09 2017-03-09 A method for detecting clouds and shadows under clouds in GF-4 satellite sequence images

Publications (2)

Publication Number Publication Date
CN106940887A true CN106940887A (en) 2017-07-11
CN106940887B CN106940887B (en) 2020-04-14

Family

ID=59469719

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710135417.2A Active CN106940887B (en) 2017-03-09 2017-03-09 A method for detecting clouds and shadows under clouds in GF-4 satellite sequence images

Country Status (1)

Country Link
CN (1) CN106940887B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108051371A (en) * 2017-12-01 2018-05-18 河北省科学院地理科学研究所 A kind of shadow extraction method of ecology-oriented environment parameter remote-sensing inversion
CN109671038A (en) * 2018-12-27 2019-04-23 哈尔滨工业大学 One kind is based on the classified and layered relative radiometric correction method of pseudo- invariant features point
CN109918523A (en) * 2019-02-14 2019-06-21 广东工业大学 A kind of circuit board element detection method based on YOLO9000 algorithm
CN110070513A (en) * 2019-04-30 2019-07-30 上海同繁勘测工程科技有限公司 The radiation correction method and system of remote sensing image
CN110555818A (en) * 2019-09-09 2019-12-10 中国科学院遥感与数字地球研究所 method and device for repairing cloud region of satellite image sequence
CN111709458A (en) * 2020-05-25 2020-09-25 中国自然资源航空物探遥感中心 An automatic quality inspection method for Gaofen-5 images
CN116229459A (en) * 2022-11-28 2023-06-06 中国科学院空天信息创新研究院 Pixel-by-pixel quality marking method for domestic satellite multispectral images
CN116934745A (en) * 2023-09-14 2023-10-24 创新奇智(浙江)科技有限公司 Quality detection method and detection system for electronic component plugging clip

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102637301A (en) * 2012-03-20 2012-08-15 武汉大学 Method for automatically evaluating color quality of image during aerial photography in real time
CN102750701A (en) * 2012-06-15 2012-10-24 西安电子科技大学 Thick Cloud and Its Shadow Detection Method for Landsat TM and ETM Images
CN103383773A (en) * 2013-03-26 2013-11-06 中国科学院遥感与数字地球研究所 Automatic ortho-rectification frame and method for dynamically extracting remote sensing satellite image of image control points

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102637301A (en) * 2012-03-20 2012-08-15 武汉大学 Method for automatically evaluating color quality of image during aerial photography in real time
CN102750701A (en) * 2012-06-15 2012-10-24 西安电子科技大学 Thick Cloud and Its Shadow Detection Method for Landsat TM and ETM Images
CN103383773A (en) * 2013-03-26 2013-11-06 中国科学院遥感与数字地球研究所 Automatic ortho-rectification frame and method for dynamically extracting remote sensing satellite image of image control points

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
卢晶等: "基于风云3C卫星双氧通道的云检测算法", 《科学技术与工程》 *
谢俊德: "landsat遥感图像云检测及薄云去除的研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108051371B (en) * 2017-12-01 2018-10-02 河北省科学院地理科学研究所 A kind of shadow extraction method of ecology-oriented environment parameter remote-sensing inversion
CN108051371A (en) * 2017-12-01 2018-05-18 河北省科学院地理科学研究所 A kind of shadow extraction method of ecology-oriented environment parameter remote-sensing inversion
CN109671038A (en) * 2018-12-27 2019-04-23 哈尔滨工业大学 One kind is based on the classified and layered relative radiometric correction method of pseudo- invariant features point
CN109671038B (en) * 2018-12-27 2023-04-28 哈尔滨工业大学 A Relative Radiometric Correction Method Based on Pseudo-Invariant Feature Point Classification and Layering
CN109918523B (en) * 2019-02-14 2021-03-30 广东工业大学 A detection method of circuit board components based on YOLO9000 algorithm
CN109918523A (en) * 2019-02-14 2019-06-21 广东工业大学 A kind of circuit board element detection method based on YOLO9000 algorithm
CN110070513B (en) * 2019-04-30 2021-10-01 上海同繁勘测工程科技有限公司 Radiation correction method and system for remote sensing image
CN110070513A (en) * 2019-04-30 2019-07-30 上海同繁勘测工程科技有限公司 The radiation correction method and system of remote sensing image
CN110555818A (en) * 2019-09-09 2019-12-10 中国科学院遥感与数字地球研究所 method and device for repairing cloud region of satellite image sequence
CN110555818B (en) * 2019-09-09 2022-02-18 中国科学院遥感与数字地球研究所 Method and device for repairing cloud region of satellite image sequence
US12315121B2 (en) 2019-09-09 2025-05-27 Aerospace Information Research Institute, Chinese Academy Of Sciences Method and apparatus for patching cloud area of satellite image sequencing
CN111709458A (en) * 2020-05-25 2020-09-25 中国自然资源航空物探遥感中心 An automatic quality inspection method for Gaofen-5 images
CN116229459A (en) * 2022-11-28 2023-06-06 中国科学院空天信息创新研究院 Pixel-by-pixel quality marking method for domestic satellite multispectral images
CN116229459B (en) * 2022-11-28 2026-01-13 中国科学院空天信息创新研究院 Domestic satellite multispectral image pixel-by-pixel quality marking method
CN116934745A (en) * 2023-09-14 2023-10-24 创新奇智(浙江)科技有限公司 Quality detection method and detection system for electronic component plugging clip
CN116934745B (en) * 2023-09-14 2023-12-19 创新奇智(浙江)科技有限公司 Quality detection method and detection system for electronic component plugging clip

Also Published As

Publication number Publication date
CN106940887B (en) 2020-04-14

Similar Documents

Publication Publication Date Title
CN106940887A (en) A kind of satellite sequence image clouds of GF 4 and shadow detection method under cloud
Thonfeld et al. Robust change vector analysis (RCVA) for multi-sensor very high resolution optical satellite data
Zhai et al. Cloud/shadow detection based on spectral indices for multi/hyperspectral optical remote sensing imagery
Li et al. Multi-feature combined cloud and cloud shadow detection in GaoFen-1 wide field of view imagery
Sola et al. Multi-criteria evaluation of topographic correction methods
Berberoglu et al. Assessing different remote sensing techniques to detect land use/cover changes in the eastern Mediterranean
Greifeneder et al. Suitability of SAR imagery for automatic flood mapping in the Lower Mekong Basin
CN114694030B (en) Landslide detection method, device, equipment and storage medium
CN106887016B (en) An automatic relative registration method for GF-4 satellite sequence images
Zhang et al. An automated method for glacial lake mapping in High Mountain Asia using Landsat 8 imagery
Teke Satellite image processing workflow for RASAT and Göktürk-2
CN116704369A (en) An object-oriented flood extraction method and system for fusion of optical and SAR remote sensing images
CN114792322A (en) Method for detecting cloud and cloud shadow of mountain domestic high-resolution satellite image
CN111199557A (en) A method and system for quantitative analysis of remote sensor decay
Zhang et al. A novel multitemporal cloud and cloud shadow detection method using the integrated cloud Z-scores model
Kim et al. Automatic pseudo-invariant feature extraction for the relative radiometric normalization of hyperion hyperspectral images
Sakieh et al. An integrated spectral-textural approach for environmental change monitoring and assessment: analyzing the dynamics of green covers in a highly developing region
CN107220947B (en) Remote sensing image relative radiation correction method and system
Weyermann et al. Spectral angle mapper (SAM) for anisotropy class indexing in imaging spectrometry data
CN106530326B (en) Change detecting method based on image texture feature and DSM
Song Cross-sensor calibration between Ikonos and Landsat ETM+ for spectral mixture analysis
Hu et al. Automatic algorithm for relative radiometric normalization of data obtained from Landsat TM and HJ-1A/B charge-coupled device sensors
Alexandridis et al. LAI measurement with hemispherical photographs at variable conditions for assessment of remotely sensed estimations
Tatar et al. a New Object-Based Framework to Detect Shodows in High-Resolution Satellite Imagery Over Urban Areas
Zhao et al. Assessment of SPOT-6 optical remote sensing data against GF-1 using NNDiffuse image fusion algorithm

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