[go: up one dir, main page]

CN107103595A - Method, device, storage medium and the equipment of detection image change - Google Patents

Method, device, storage medium and the equipment of detection image change Download PDF

Info

Publication number
CN107103595A
CN107103595A CN201710393356.XA CN201710393356A CN107103595A CN 107103595 A CN107103595 A CN 107103595A CN 201710393356 A CN201710393356 A CN 201710393356A CN 107103595 A CN107103595 A CN 107103595A
Authority
CN
China
Prior art keywords
band
frequency sub
processed
frequency
low
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.)
Pending
Application number
CN201710393356.XA
Other languages
Chinese (zh)
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.)
Xinjiang University
Original Assignee
Xinjiang University
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 Xinjiang University filed Critical Xinjiang University
Priority to CN201710393356.XA priority Critical patent/CN107103595A/en
Publication of CN107103595A publication Critical patent/CN107103595A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/70Denoising; Smoothing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/23Clustering techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/30Determination of transform parameters for the alignment of images, i.e. image registration
    • G06T7/33Determination of transform parameters for the alignment of images, i.e. image registration using feature-based methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/30Determination of transform parameters for the alignment of images, i.e. image registration
    • G06T7/37Determination of transform parameters for the alignment of images, i.e. image registration using transform domain methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20048Transform domain processing
    • G06T2207/20064Wavelet transform [DWT]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Data Mining & Analysis (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Artificial Intelligence (AREA)
  • General Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Image Analysis (AREA)

Abstract

The invention discloses method, device, storage medium and the equipment of a kind of detection image change, it is related to technical field of image processing, it is possible to increase the degree of accuracy of detection SAR image situation of change.The method of the present invention mainly includes:Obtain the disparity map of two width image to be detected;Frequency band parsing is carried out to the disparity map, low frequency sub-band and high-frequency sub-band is obtained;Linear enhancing processing is carried out to the low frequency sub-band, denoising is carried out to the high-frequency sub-band;Low frequency sub-band after processing and the high-frequency sub-band after processing are merged, the disparity map after being handled;Clustering processing is carried out to the disparity map after the processing, change information and non-changing information between described two width image to be detected is obtained.In the scene detected the present invention is mainly suitable for the situation of change to SAR image.

Description

检测图像变化的方法、装置、存储介质及设备Method, device, storage medium and equipment for detecting image changes

技术领域technical field

本发明涉及图像处理技术领域,特别是涉及一种检测图像变化的方法、装置、存储介质及设备。The present invention relates to the technical field of image processing, in particular to a method, device, storage medium and equipment for detecting image changes.

背景技术Background technique

随着科技的发展,采集图像的技术越来越多,例如,可以使用照相机采集图像,也可以使用雷达采集图像等。为了在能见度极低的气象条件下获得分辨率较高的图像,目前发明了一种合成孔径雷达(Synthetic Aperture Radar,SAR)。利用SAR可以全天时、全天候地对目标对象(例如地表)进行观测,采集不同时刻下的高分辨率图像,然后通过对这些图像进行分析,获得图像变化结果。然而,在SAR图像成像的过程中,不可避免地会受到乘性噪声的影响,由此使得每幅SAR图像与实际的目标对象存在较大差异,进而使得检测图像变化的准确度大大降低。With the development of science and technology, there are more and more technologies for collecting images. For example, a camera may be used to collect images, and a radar may also be used to collect images. In order to obtain images with higher resolution under weather conditions with extremely low visibility, a synthetic aperture radar (Synthetic Aperture Radar, SAR) has been invented. SAR can be used to observe target objects (such as the surface) all day and all day, collect high-resolution images at different times, and then analyze these images to obtain image change results. However, in the process of SAR image imaging, it will inevitably be affected by multiplicative noise, which makes each SAR image have a large difference from the actual target object, and then greatly reduces the accuracy of detecting image changes.

目前,检测图像变化的方法主要两种:(1)先获取关于目标对象的先验知识(一些受乘性噪声影响较少的图像),然后对这些先验知识进行训练,获得训练模型,最后基于训练模型对需要检测的图像检测变化情况;(2)先获取待检测的两幅图像的差异图,然后对该差异图的像素进行聚类,从中找出变化类和非变化类。At present, there are two main methods for detecting image changes: (1) First obtain prior knowledge about the target object (some images less affected by multiplicative noise), then train these prior knowledge to obtain a training model, and finally Based on the training model, detect the change of the image to be detected; (2) first obtain the difference map of the two images to be detected, and then cluster the pixels of the difference map to find out the changed class and the non-changed class.

对于方法(1)来说,由于方法(1)是基于相对准确的先验知识来对SAR图像分析变化情况的,所以即使待检测的SAR图像受乘性噪声的影响较大,也不会影响对SAR图像变化检测的结果,但是大多数情况下,先验知识是无法获取到的,因此该方法的实用性较低。对于方法(2)来说,由于方法(2)是直接通过对待检测两幅图像的差异图进行聚类,获得图像变化结果,所以当这两幅图像受乘性噪声的影响较大时,会使得图像变化检测结果的准确度大大降低。因此,如何提高SAR图像变化检测结果的准确度是亟待解决的。For method (1), since method (1) is based on relatively accurate prior knowledge to analyze changes in SAR images, even if the SAR image to be detected is greatly affected by multiplicative noise, it will not affect The results of SAR image change detection, but in most cases, prior knowledge cannot be obtained, so the practicability of this method is low. For method (2), since method (2) directly clusters the difference maps of the two images to be detected to obtain the image change results, when the two images are greatly affected by multiplicative noise, there will be The accuracy of the image change detection result is greatly reduced. Therefore, how to improve the accuracy of SAR image change detection results needs to be solved urgently.

发明内容Contents of the invention

有鉴于此,本发明提供的一种检测图像变化的方法、装置、存储介质及设备,主要目的在于解决现有技术中检测SAR图像变化情况的准确度较低的问题。In view of this, the present invention provides a method, device, storage medium and equipment for detecting image changes, the main purpose of which is to solve the problem of low accuracy in detecting SAR image changes in the prior art.

为了解决上述问题,本发明主要提供如下技术方案:In order to solve the above problems, the present invention mainly provides the following technical solutions:

第一方面,本发明提供了一种检测图像变化的方法,所述方法包括:In a first aspect, the present invention provides a method for detecting image changes, the method comprising:

获取两幅待检测图像的差异图;Obtain the difference map of the two images to be detected;

对所述差异图进行频带解析,获得低频子带和高频子带;performing frequency band analysis on the difference map to obtain low frequency subbands and high frequency subbands;

对所述低频子带进行线性增强处理,对所述高频子带进行去噪处理;performing linear enhancement processing on the low-frequency sub-band, and performing denoising processing on the high-frequency sub-band;

将处理后的低频子带以及处理后的高频子带进行合并,获得处理后的差异图;Merging the processed low-frequency sub-bands and the processed high-frequency sub-bands to obtain a processed difference map;

对所述处理后的差异图进行聚类处理,获得所述两幅待检测图像之间的变化信息和非变化信息。Clustering is performed on the processed difference map to obtain change information and non-change information between the two images to be detected.

可选的,所述对所述差异图进行频带解析,获得低频子带和高频子带包括:Optionally, performing frequency band analysis on the difference map to obtain the low-frequency sub-band and the high-frequency sub-band includes:

通过非下采样Shearlet变换对所述差异图进行频带解析,获得所述低频子带和所述高频子带;Performing frequency band analysis on the difference map by non-subsampling Shearlet transform to obtain the low frequency subband and the high frequency subband;

或者,通过小波变换对所述差异图进行频带解析,获得所述低频子带和所述高频子带;Or, performing frequency band analysis on the difference map by wavelet transform to obtain the low frequency sub-band and the high frequency sub-band;

或者,通过非下采样Contourlet变换对所述差异图进行频带解析,获得所述低频子带和所述高频子带。Alternatively, perform frequency band analysis on the difference map through non-subsampling Contourlet transformation to obtain the low frequency subband and the high frequency subband.

可选的,所述将处理后的低频子带以及处理后的高频子带进行合并,获得处理后的差异图包括:Optionally, the merging the processed low-frequency sub-bands and the processed high-frequency sub-bands to obtain the processed difference map includes:

当通过非下采样Shearlet变换对所述差异图进行频带解析时,通过非下采样Shearlet变换的逆变换对所述处理后的低频子带以及所述处理后的高频子带进行合并,获得所述处理后的差异图;When the frequency band analysis is performed on the difference map through the non-subsampling Shearlet transform, the processed low-frequency sub-band and the processed high-frequency sub-band are combined through the inverse transform of the non-sub-sampled Shearlet transform to obtain the The difference map after the above processing;

当通过小波变换对所述差异图进行频带解析时,通过小波变换的逆变换对所述处理后的低频子带以及所述处理后的高频子带进行合并,获得所述处理后的差异图;When band analysis is performed on the difference map by wavelet transform, the processed low-frequency sub-band and the processed high-frequency sub-band are combined by inverse wavelet transform to obtain the processed difference map ;

当通过非下采样Contourlet变换对所述差异图进行频带解析时,通过非下采样Contourlet变换的逆变换对所述处理后的低频子带以及所述处理后的高频子带进行合并,获得所述处理后的差异图。When the frequency band analysis is performed on the difference map through the non-subsampled Contourlet transform, the processed low-frequency sub-band and the processed high-frequency sub-band are combined through the inverse transform of the non-sub-sampled Contourlet transform to obtain the The difference map after the above processing.

可选的,所述对所述高频子带进行去噪处理包括:Optionally, the performing denoising processing on the high frequency sub-band includes:

利用自适应阈值法抑制所述高频子带中的噪声。The noise in the high frequency sub-band is suppressed by using an adaptive threshold method.

可选的,所述对所述处理后的差异图进行聚类处理包括:Optionally, the clustering the processed difference map includes:

利用模糊局部信息C均值聚类算法对所述处理后的差异图进行聚类处理。The processed difference map is clustered using a fuzzy local information C-means clustering algorithm.

可选的,所述获取两幅待检测图像的差异图包括:Optionally, the obtaining the difference map of the two images to be detected includes:

对所述两幅待检测图像进行平滑滤波去噪处理;performing smoothing filtering and denoising processing on the two images to be detected;

利用归一化邻域比值法对去噪后的两幅待检测图像进行对比,获得所述差异图。The difference map is obtained by comparing the two images to be detected after denoising by using a normalized neighborhood ratio method.

第二方面,本发明提供了一种检测图像变化的装置,所述装置包括:In a second aspect, the present invention provides a device for detecting image changes, the device comprising:

获取单元,用于获取两幅待检测图像的差异图;An acquisition unit, configured to acquire a difference map of two images to be detected;

解析单元,用于对所述获取单元获取的所述差异图进行频带解析,获得低频子带和高频子带;An analysis unit, configured to perform frequency band analysis on the difference map acquired by the acquisition unit, to obtain low-frequency sub-bands and high-frequency sub-bands;

处理单元,用于对所述解析单元获得的所述低频子带进行线性增强处理,对所述解析单元获得的所述高频子带进行去噪处理;a processing unit, configured to perform linear enhancement processing on the low-frequency sub-band obtained by the analysis unit, and perform denoising processing on the high-frequency sub-band obtained by the analysis unit;

合并单元,用于将所述处理单元处理后的低频子带以及处理后的高频子带进行合并,获得处理后的差异图;a merging unit, configured to combine the low-frequency sub-bands processed by the processing unit and the processed high-frequency sub-bands to obtain a processed difference map;

聚类单元,用于对所述合并单元获得的所述处理后的差异图进行聚类处理,获得所述两幅待检测图像之间的变化信息和非变化信息。A clustering unit is configured to perform clustering processing on the processed difference map obtained by the merging unit to obtain change information and non-change information between the two images to be detected.

可选的,所述解析单元包括:Optionally, the parsing unit includes:

第一解析模块,用于通过非下采样Shearlet变换对所述差异图进行频带解析,获得所述低频子带和所述高频子带;A first parsing module, configured to perform frequency band parsing on the difference map through non-subsampling Shearlet transform, to obtain the low frequency subband and the high frequency subband;

第二解析模块,用于通过小波变换对所述差异图进行频带解析,获得所述低频子带和所述高频子带;The second parsing module is configured to perform frequency band parsing on the difference map by wavelet transform to obtain the low frequency subband and the high frequency subband;

第三解析模块,用于通过非下采样Contourlet变换对所述差异图进行频带解析,获得所述低频子带和所述高频子带。The third parsing module is configured to perform frequency band parsing on the difference map through non-subsampling Contourlet transform to obtain the low frequency sub-band and the high frequency sub-band.

可选的,所述合并单元包括:Optionally, the merging unit includes:

第一合并模块,用于当通过非下采样Shearlet变换对所述差异图进行频带解析时,通过非下采样Shearlet变换的逆变换对所述处理后的低频子带以及所述处理后的高频子带进行合并,获得所述处理后的差异图;The first merging module is used to perform frequency band analysis on the difference map through non-subsampling Shearlet transform, and perform the inverse transformation of non-subsampling Shearlet transform on the processed low-frequency sub-band and the processed high-frequency sub-band The sub-bands are merged to obtain the processed difference map;

第二合并模块,用于当通过小波变换对所述差异图进行频带解析时,通过小波变换的逆变换对所述处理后的低频子带以及所述处理后的高频子带进行合并,获得所述处理后的差异图;The second merging module is configured to combine the processed low-frequency sub-bands and the processed high-frequency sub-bands through wavelet inverse transform to obtain The difference map after the processing;

第三合并模块,用于当通过非下采样Contourlet变换对所述差异图进行频带解析时,通过非下采样Contourlet变换的逆变换对所述处理后的低频子带以及所述处理后的高频子带进行合并,获得所述处理后的差异图。The third merging module is used to perform frequency band analysis on the difference map through non-subsampling Contourlet transformation, and perform the inverse transformation of non-subsampling Contourlet transformation on the processed low-frequency sub-band and the processed high-frequency sub-band The subbands are merged to obtain the processed difference map.

可选的,所述处理单元用于利用自适应阈值法抑制所述高频子带中的噪声。Optionally, the processing unit is configured to use an adaptive threshold method to suppress noise in the high frequency sub-band.

可选的,所述聚类单元用于利用模糊局部信息C均值聚类算法对所述处理后的差异图进行聚类处理。Optionally, the clustering unit is configured to cluster the processed difference map by using a fuzzy local information C-means clustering algorithm.

可选的,所述获取单元包括:Optionally, the acquisition unit includes:

去噪模块,用于对所述两幅待检测图像进行平滑滤波去噪处理;A denoising module, configured to perform smoothing filtering and denoising processing on the two images to be detected;

对比模块,用于利用归一化邻域比值法对所述去噪模块去噪后的两幅待检测图像进行对比,获得所述差异图。The comparison module is configured to use the normalized neighborhood ratio method to compare the two images to be detected after denoising by the denoising module to obtain the difference map.

第三方面,本发明提供了一种存储介质,所述存储介质存储有多条指令,所述指令适用于由处理器加载并执行如第一方面所述的检测图像变化的方法。In a third aspect, the present invention provides a storage medium, the storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the method for detecting image changes as described in the first aspect.

第四方面,本发明提供了一种设备,所述设备包括:In a fourth aspect, the present invention provides a device, the device comprising:

处理器,适于实现各指令;以及a processor adapted to implement the instructions; and

存储介质,适于存储多条指令;a storage medium adapted to store a plurality of instructions;

所述指令适于由所述处理器加载并执行如第一方面所述的检测图像变化的方法。The instructions are suitable for being loaded by the processor and executing the method for detecting image changes as described in the first aspect.

借由上述技术方案,本发明提供的技术方案至少具有下列优点:By means of the above technical solution, the technical solution provided by the present invention has at least the following advantages:

本发明提供的检测图像变化的方法、装置、存储介质及设备,与现有技术相比,不仅不用获取先验知识,而且在获取两幅图像的差异图之后,并不是直接对该差异图进行聚类处理,以便获得图像变化情况,而是先对该差异图像进行频带解析,获得包括有效信息最多、最重要且包括噪声最少的低频子带,以及包括有效信息最少且噪声最多的高频子带,然后对低频子带进行线性增强处理,以增强有效信息的显示强度,并对高频子带进行去噪处理,以去除高频子带中的大量噪声,再将处理后的低频子带和高频子带进行合并获得有效信息增强、噪声信息减少的差异图,最后再对处理后的差异图进行聚类处理,从而提高了检测图像变化情况的准确度。Compared with the prior art, the method, device, storage medium and equipment provided by the present invention for detecting image changes not only do not need to obtain prior knowledge, but also do not directly perform the difference map after obtaining the difference map of two images. Clustering processing in order to obtain image changes, but first perform frequency band analysis on the difference image to obtain the low-frequency sub-bands that contain the most effective information, the most important and include the least noise, and the high-frequency sub-bands that include the least effective information and the most noise band, and then linearly enhance the low-frequency sub-band to enhance the display strength of effective information, and perform denoising processing on the high-frequency sub-band to remove a large amount of noise in the high-frequency sub-band, and then the processed low-frequency sub-band Merge with high-frequency sub-bands to obtain a difference map with effective information enhancement and noise information reduction, and finally cluster the processed difference map, thereby improving the accuracy of detecting image changes.

上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable , the specific embodiments of the present invention are enumerated below.

附图说明Description of drawings

通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整幅附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiment. The drawings are only for the purpose of illustrating a preferred embodiment and are not to be considered as limiting the invention. Also throughout the drawings, the same reference symbols are used to designate the same parts. In the attached picture:

图1示出了本发明实施例提供的一种检测图像变化的方法的流程图;FIG. 1 shows a flow chart of a method for detecting image changes provided by an embodiment of the present invention;

图2示出了本发明实施例提供的一种检测图像变化的方法示例图;FIG. 2 shows an example diagram of a method for detecting image changes provided by an embodiment of the present invention;

图3示出了本发明实施例提供的一种检测图像变化的装置的组成框图;FIG. 3 shows a block diagram of a device for detecting image changes provided by an embodiment of the present invention;

图4示出了本发明实施例提供的一种检测图像变化的装置的组成框图。Fig. 4 shows a block diagram of a device for detecting image changes provided by an embodiment of the present invention.

具体实施方式detailed description

下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

本发明实施例提供了一种检测图像变化的方法,如图1所示,该方法主要包括:The embodiment of the present invention provides a method for detecting image changes, as shown in Figure 1, the method mainly includes:

101、获取两幅待检测图像的差异图。101. Acquire a difference map of two images to be detected.

在利用雷达等设备采集到目标对象(即被摄影对象)在不同时刻的图像后,可以对任意两幅图像之间的变化进行检测。具体的,由于在一段时间内,目标对象往往不会产生变化,所以在检测图像变化情况时,往往选取具有一定时间间隔的两幅图像进行检测。After the images of the target object (that is, the object to be photographed) at different moments are collected by radar and other equipment, the change between any two images can be detected. Specifically, since the target object often does not change within a period of time, when detecting image changes, two images with a certain time interval are often selected for detection.

在获取两幅待检测的图像之后,可以直接将这两幅图像进行对比,以获取两者的差异图,但是为了使得获取的差异图更加准确,可以先利用平滑滤波去噪的方式对这两幅图像进行初步去噪,以便去除大量地加性噪声,然后再对去噪后的图像进行对比,获得差异图。After obtaining the two images to be detected, the two images can be directly compared to obtain the difference map between the two, but in order to make the obtained difference map more accurate, the two images can be denoised by smoothing filter first. Preliminary denoising is performed on each image to remove a large amount of additive noise, and then the denoised images are compared to obtain a difference map.

在获取两幅图像的差异图时,所采用的方法可以为差值法,也可以为比值法,也可以为其他方法。其中,比值法包括归一化领域比值法。When obtaining the difference map of the two images, the method adopted may be a difference method, a ratio method, or other methods. Among them, the ratio method includes the normalized field ratio method.

102、对所述差异图进行频带解析,获得低频子带和高频子带。102. Perform frequency band analysis on the difference map to obtain low frequency subbands and high frequency subbands.

一幅图像中往往由低频子带和高频子带混合而成,且低频子带中往往包括大量且重要的有效信息,并且低频子带中包含的噪声较少,高频子带中包含的有效信息较少(主要为图像边缘信息)且噪声较多,因此在获得差异图后,可以先将差异图进行频带解析,从中获取低频子带和高频子带,然后分别针对低频子带和高频子带的特征进行分析与处理,即执行步骤103。An image is often composed of low-frequency sub-bands and high-frequency sub-bands, and the low-frequency sub-bands often contain a large amount of important and effective information, and the low-frequency sub-bands contain less noise, and the high-frequency sub-bands contain There is less effective information (mainly image edge information) and more noise. Therefore, after obtaining the difference map, the difference map can be analyzed by frequency band first, and the low-frequency sub-band and high-frequency sub-band can be obtained from it, and then the low-frequency sub-band and high-frequency sub-band can be obtained respectively. The characteristics of the high-frequency sub-band are analyzed and processed, that is, step 103 is executed.

其中,对差异图进行频带解析,从而获得低频子带和高频子带的具体算法包括非下采样Shearlet变换(NSST变换)、小波变换以及非下采样Contourlet变换(NSCT变换)等。也就是说,本步骤的具体实现方式可以为:通过NSST变换对所述差异图进行频带解析,获得所述低频子带和所述高频子带;Among them, the specific algorithms for performing frequency band analysis on the difference map to obtain low-frequency sub-bands and high-frequency sub-bands include non-subsampled Shearlet transform (NSST transform), wavelet transform, and non-subsampled Contourlet transform (NSCT transform). That is to say, the specific implementation of this step may be: performing frequency band analysis on the difference map through NSST transformation, to obtain the low-frequency sub-band and the high-frequency sub-band;

或者,通过小波变换对所述差异图进行频带解析,获得所述低频子带和所述高频子带;Or, performing frequency band analysis on the difference map by wavelet transform to obtain the low frequency sub-band and the high frequency sub-band;

或者,通过NSCT变换对所述差异图进行频带解析,获得所述低频子带和所述高频子带。Alternatively, band analysis is performed on the difference map by NSCT to obtain the low-frequency sub-band and the high-frequency sub-band.

需要补充的是,针对SAR图像的差异图来说,采用NSST变换的方式对差异图进行频带解析的效率比其他方式要高,因此,本步骤采用NSST变换效果较好。What needs to be added is that for the difference map of the SAR image, the frequency band analysis efficiency of the difference map using the NSST transform is higher than that of other methods. Therefore, the effect of using the NSST transform in this step is better.

103、对所述低频子带进行线性增强处理,对所述高频子带进行去噪处理。103. Perform linear enhancement processing on the low frequency subband, and perform denoising processing on the high frequency subband.

在上述步骤102中提及,低频子带中往往包括大量且重要的有效信息,并且低频子带中包含的噪声较少,高频子带中包含的有效信息较少且噪声较多,因此为了使得有效信息的显示强度更强并尽量多地减少图像中的噪声,可以对低频子带进行线性增强处理,对高频子带进行去噪处理。As mentioned in the above step 102, the low-frequency sub-band often contains a large amount of important and effective information, and the low-frequency sub-band contains less noise, and the high-frequency sub-band contains less effective information and more noise, so for To make the display intensity of the effective information stronger and reduce the noise in the image as much as possible, the low-frequency sub-band can be linearly enhanced, and the high-frequency sub-band can be denoised.

其中,对低频子带进行线性增强的强度可以依据图像本身的特征来确定,例如待处理的低频子带中的图像显示较弱,则线性增强的强度可以较强一些。对高频子带进行去噪处理的噪声主要为乘性噪声,并且去噪的方法可以有多种,例如可以为自适应阈值法,也可以为中值滤波、均值滤波法等。Wherein, the intensity of the linear enhancement performed on the low frequency sub-band can be determined according to the characteristics of the image itself, for example, if the display of the image in the low frequency sub-band to be processed is weak, the intensity of the linear enhancement can be stronger. The noise denoising the high-frequency sub-band is mainly multiplicative noise, and there are many denoising methods, such as adaptive threshold method, median filter, mean filter and so on.

104、将处理后的低频子带以及处理后的高频子带进行合并,获得处理后的差异图。104. Merge the processed low-frequency subbands and the processed high-frequency subbands to obtain a processed difference map.

在对低频子带进行线性增强处理,对高频子带进行去噪处理后,可以将处理后的低频子带以及处理后的高频子带进行合并,以便获得有效信息增强、噪声信息减少的差异图之后,再进行图像变化检测。After performing linear enhancement processing on the low-frequency sub-band and denoising processing on the high-frequency sub-band, the processed low-frequency sub-band and the processed high-frequency sub-band can be combined to obtain effective information enhancement and noise information reduction. After the difference map, image change detection is performed.

在将低频子带以及高频子带重新合并为一个差异图时,所采用的算法为将差异图分解为低频子带和高频子带所采用的算法的逆运算。也就是说,当通过NSST变换对所述差异图进行频带解析时,通过NSST变换的逆变换对所述处理后的低频子带以及所述处理后的高频子带进行合并,获得所述处理后的差异图;当通过小波变换对所述差异图进行频带解析时,通过小波变换的逆变换对所述处理后的低频子带以及所述处理后的高频子带进行合并,获得所述处理后的差异图;当通过NSCT变换对所述差异图进行频带解析时,通过NSCT变换的逆变换对所述处理后的低频子带以及所述处理后的高频子带进行合并,获得所述处理后的差异图。When the low-frequency sub-bands and high-frequency sub-bands are recombined into a difference map, the algorithm adopted is the inverse operation of the algorithm used for decomposing the difference map into low-frequency sub-bands and high-frequency sub-bands. That is to say, when band analysis is performed on the difference map through NSST transform, the processed low-frequency sub-band and the processed high-frequency sub-band are combined through an inverse transform of NSST transform to obtain the processed After the difference map; when the frequency band analysis is performed on the difference map by wavelet transform, the processed low-frequency sub-band and the processed high-frequency sub-band are combined through the inverse transform of wavelet transform to obtain the described The processed difference map; when the frequency band analysis is performed on the difference map by NSCT transform, the processed low-frequency sub-band and the processed high-frequency sub-band are combined by the inverse transform of NSCT transform to obtain the obtained The difference map after the above processing.

105、对所述处理后的差异图进行聚类处理,获得所述两幅待检测图像之间的变化信息和非变化信息。105. Perform clustering processing on the processed difference map to obtain change information and non-change information between the two images to be detected.

在获得有效信息增强、噪声信息减少的差异图之后,可以采用聚类算法对该差异图中的像素进行聚类处理,从中获得变化类和非变化类,即两幅图像之间的变化信息和非变化信息。其中,该聚类算法包括但不限于以下算法:模糊局部信息C均值聚类(FLICM)算法、模糊C均值聚类(FCM)算法以及基于核函数的模糊c均值(KFCM)算法。After obtaining the difference map with effective information enhancement and noise information reduction, the clustering algorithm can be used to cluster the pixels in the difference map to obtain the change class and non-change class, that is, the change information and non-changing information. Wherein, the clustering algorithm includes but not limited to the following algorithms: fuzzy local information C-means clustering (FLICM) algorithm, fuzzy C-means clustering (FCM) algorithm and kernel function-based fuzzy c-means (KFCM) algorithm.

需要补充的是,本发明实施例进行检测的图像可以为SAR图像,也可以为其他图像,其具体类型在此不做限定。It should be added that the image detected in the embodiment of the present invention may be a SAR image or other images, and its specific type is not limited here.

本发明实施例提供的检测图像变化的方法,与现有技术相比,不仅不用获取先验知识,而且在获取两幅图像的差异图之后,并不是直接对该差异图进行聚类处理,以便获得图像变化情况,而是先对该差异图像进行频带解析,获得包括有效信息最多、最重要且包括噪声最少的低频子带,以及包括有效信息最少且噪声最多的高频子带,然后对低频子带进行线性增强处理,以增强有效信息的显示强度,并对高频子带进行去噪处理,以去除高频子带中的大量噪声,再将处理后的低频子带和高频子带进行合并获得有效信息增强、噪声信息减少的差异图,最后再对处理后的差异图进行聚类处理,从而提高了检测图像变化情况的准确度。Compared with the prior art, the method for detecting image changes provided by the embodiment of the present invention not only does not need to obtain prior knowledge, but also does not directly perform clustering processing on the difference map after obtaining the difference map of two images, so that To obtain the image changes, first perform frequency band analysis on the difference image to obtain the low-frequency sub-bands that include the most effective information, the most important and the least noise, and the high-frequency sub-bands that include the least effective information and the most noise, and then analyze the low-frequency The sub-band is linearly enhanced to enhance the display intensity of effective information, and the high-frequency sub-band is de-noised to remove a large amount of noise in the high-frequency sub-band, and then the processed low-frequency sub-band and high-frequency sub-band Merging is performed to obtain a difference map with effective information enhancement and noise information reduction, and finally the processed difference map is clustered, thereby improving the accuracy of detecting image changes.

下面以待检测图像为SAR图像、所采用算法有归一化邻域比值法、NSST变换、自适应阈值法、FLICM算法为例,对上述检测图像变化的方法进行阐述,如图2所示,该方法主要包括:Taking the image to be detected as a SAR image, and the algorithms used include the normalized neighborhood ratio method, NSST transform, adaptive threshold method, and FLICM algorithm as examples, the above methods for detecting image changes are described, as shown in Figure 2. The method mainly includes:

201、对SAR图像A进行平滑滤波去噪处理,获得SAR图像a;对SAR图像B进行平滑滤波去噪处理,获得SAR图像b;201. Perform smoothing filtering and denoising processing on SAR image A to obtain SAR image a; perform smoothing filtering and denoising processing on SAR image B to obtain SAR image b;

202、利用归一化邻域比值法对SAR图像a和SAR图像b进行对比,获得差异图M;202. Using the normalized neighborhood ratio method to compare the SAR image a and the SAR image b to obtain a difference map M;

203、通过NSST变换对差异图M进行频带解析,获得低频子带c和高频子带d;203. Perform frequency band analysis on the difference map M through NSST transformation, and obtain low-frequency sub-band c and high-frequency sub-band d;

204、对低频子带c进行线性增强处理,获得低频子带c1;通过自适应阈值法抑制高频子带d中的噪声,获得高频子带d1;204. Perform linear enhancement processing on the low-frequency sub-band c to obtain the low-frequency sub-band c1; suppress noise in the high-frequency sub-band d by using an adaptive threshold method to obtain the high-frequency sub-band d1;

205、通过NSST变换的逆变换对低频子带c1和高频子带d1进行合并处理,获得差异图N;205. Merge the low-frequency subband c1 and the high-frequency subband d1 through the inverse transformation of the NSST transformation to obtain a difference map N;

206、利用FLICM算法对差异图N进行聚类处理,获得变化类n1和非变化类n2。206. Use the FLICM algorithm to perform clustering processing on the difference map N to obtain a change class n1 and a non-change class n2.

其中,变化类n1和非变化类n2为SAR图像A和SAR图像B之间的变化情况。Among them, the change category n1 and the non-change category n2 are the changes between SAR image A and SAR image B.

进一步的,依据上述方法实施例,本发明的另一个实施例还提供了一种检测图像变化的装置,如图3所示,所述装置主要包括:获取单元31、解析单元32、处理单元33、合并单元34以及聚类单元35。其中,Further, according to the above-mentioned method embodiment, another embodiment of the present invention also provides a device for detecting image changes, as shown in FIG. 3 , the device mainly includes: an acquisition unit 31, an analysis unit 32, and a processing unit 33 , a merging unit 34 and a clustering unit 35 . in,

获取单元31,用于获取两幅待检测图像的差异图;An acquisition unit 31, configured to acquire a difference map of two images to be detected;

解析单元32,用于对所述获取单元31获取的所述差异图进行频带解析,获得低频子带和高频子带;An analysis unit 32, configured to perform frequency band analysis on the difference map acquired by the acquisition unit 31, to obtain low-frequency sub-bands and high-frequency sub-bands;

处理单元33,用于对所述解析单元32获得的所述低频子带进行线性增强处理,对所述解析单元32获得的所述高频子带进行去噪处理;A processing unit 33, configured to perform linear enhancement processing on the low-frequency sub-band obtained by the analysis unit 32, and perform denoising processing on the high-frequency sub-band obtained by the analysis unit 32;

合并单元34,用于将所述处理单元33处理后的低频子带以及处理后的高频子带进行合并,获得处理后的差异图;A merging unit 34, configured to combine the low-frequency sub-bands processed by the processing unit 33 and the processed high-frequency sub-bands to obtain a processed difference map;

聚类单元35,用于对所述合并单元34获得的所述处理后的差异图进行聚类处理,获得所述两幅待检测图像之间的变化信息和非变化信息。The clustering unit 35 is configured to perform clustering processing on the processed difference map obtained by the merging unit 34 to obtain change information and non-change information between the two images to be detected.

可选的,如图4所示,所述解析单元32包括:Optionally, as shown in Figure 4, the parsing unit 32 includes:

第一解析模块321,用于通过非下采样Shearlet变换对所述差异图进行频带解析,获得所述低频子带和所述高频子带;The first parsing module 321 is configured to perform frequency band parsing on the difference map through non-subsampling Shearlet transform, to obtain the low frequency subband and the high frequency subband;

第二解析模块322,用于通过小波变换对所述差异图进行频带解析,获得所述低频子带和所述高频子带;The second parsing module 322 is configured to perform frequency band parsing on the difference map by wavelet transform to obtain the low frequency subband and the high frequency subband;

第三解析模块323,用于通过非下采样Contourlet变换对所述差异图进行频带解析,获得所述低频子带和所述高频子带。The third parsing module 323 is configured to perform frequency band parsing on the difference map through non-subsampling Contourlet transform, to obtain the low frequency subband and the high frequency subband.

可选的,如图4所示,所述合并单元34包括:Optionally, as shown in FIG. 4, the merging unit 34 includes:

第一合并模块341,用于当通过非下采样Shearlet变换对所述差异图进行频带解析时,通过非下采样Shearlet变换的逆变换对所述处理后的低频子带以及所述处理后的高频子带进行合并,获得所述处理后的差异图;The first merging module 341 is configured to perform frequency band analysis on the difference map through non-subsampling Shearlet transform, perform inverse transformation of non-subsampling Shearlet transform on the processed low-frequency sub-band and the processed high-frequency sub-band The frequency sub-bands are combined to obtain the processed difference map;

第二合并模块342,用于当通过小波变换对所述差异图进行频带解析时,通过小波变换的逆变换对所述处理后的低频子带以及所述处理后的高频子带进行合并,获得所述处理后的差异图;The second merging module 342 is configured to merge the processed low-frequency sub-bands and the processed high-frequency sub-bands through inverse wavelet transform when performing frequency band analysis on the difference map through wavelet transform, obtaining the processed difference map;

第三合并模块343,用于当通过非下采样Contourlet变换对所述差异图进行频带解析时,通过非下采样Contourlet变换的逆变换对所述处理后的低频子带以及所述处理后的高频子带进行合并,获得所述处理后的差异图。The third merging module 343 is configured to perform frequency band analysis on the difference map through non-subsampling Contourlet transform, perform inverse transformation of non-subsampling Contourlet transform on the processed low-frequency sub-band and the processed high-frequency sub-band The frequency subbands are combined to obtain the processed difference map.

可选的,所述处理单元33用于利用自适应阈值法抑制所述高频子带中的噪声。Optionally, the processing unit 33 is configured to suppress noise in the high-frequency sub-band by using an adaptive threshold method.

可选的,所述聚类单元35用于利用模糊局部信息C均值聚类算法对所述处理后的差异图进行聚类处理。Optionally, the clustering unit 35 is configured to cluster the processed difference map by using a fuzzy local information C-means clustering algorithm.

可选的,如图4所示,所述获取单元31包括:Optionally, as shown in FIG. 4, the acquisition unit 31 includes:

去噪模块311,用于对所述两幅待检测图像进行平滑滤波去噪处理;A denoising module 311, configured to perform smoothing filtering and denoising processing on the two images to be detected;

对比模块312,用于利用归一化邻域比值法对所述去噪模块311去噪后的两幅待检测图像进行对比,获得所述差异图。The comparison module 312 is configured to use the normalized neighborhood ratio method to compare the two images to be detected after denoising by the denoising module 311 to obtain the difference map.

本发明实施例提供的检测图像变化的装置,与现有技术相比,不仅不用获取先验知识,而且在获取两幅图像的差异图之后,并不是直接对该差异图进行聚类处理,以便获得图像变化情况,而是先对该差异图像进行频带解析,获得包括有效信息最多、最重要且包括噪声最少的低频子带,以及包括有效信息最少且噪声最多的高频子带,然后对低频子带进行线性增强处理,以增强有效信息的显示强度,并对高频子带进行去噪处理,以去除高频子带中的大量噪声,再将处理后的低频子带和高频子带进行合并获得有效信息增强、噪声信息减少的差异图,最后再对处理后的差异图进行聚类处理,从而提高了检测图像变化情况的准确度。Compared with the prior art, the device for detecting image changes provided by the embodiment of the present invention not only does not need to obtain prior knowledge, but also does not directly perform clustering processing on the difference map after obtaining the difference map of two images, so as to To obtain the image changes, first perform frequency band analysis on the difference image to obtain the low-frequency sub-bands that include the most effective information, the most important and the least noise, and the high-frequency sub-bands that include the least effective information and the most noise, and then analyze the low-frequency The sub-band is linearly enhanced to enhance the display intensity of effective information, and the high-frequency sub-band is de-noised to remove a large amount of noise in the high-frequency sub-band, and then the processed low-frequency sub-band and high-frequency sub-band Merging is performed to obtain a difference map with effective information enhancement and noise information reduction, and finally the processed difference map is clustered, thereby improving the accuracy of detecting image changes.

需要说明的是,本装置实施例与前述方法实施例对应,为便于阅读,本装置实施例不再对前述方法实施例中的细节内容进行逐一赘述,但应当明确,本实施例中的装置能够对应实现前述方法实施例中的全部内容。It should be noted that this device embodiment corresponds to the foregoing method embodiment. For the convenience of reading, this device embodiment will not repeat the details of the foregoing method embodiment one by one, but it should be clear that the device in this embodiment can Correspondingly implement all the contents in the foregoing method embodiments.

所述检测图像变化的装置包括处理器和存储器,上述获取单元、解析单元、处理单元、合并单元以及聚类单元等均作为程序单元存储在存储器中,由处理器执行存储在存储器中的上述程序单元来实现相应的功能。The device for detecting image changes includes a processor and a memory. The acquisition unit, analysis unit, processing unit, merging unit, and clustering unit are all stored in the memory as program units, and the processor executes the above-mentioned program stored in the memory. unit to achieve the corresponding function.

处理器中包含内核,由内核去存储器中调取相应的程序单元。内核可以设置一幅或以上,通过调整内核参数来提高检测SAR图像变化情况的准确度。The processor includes a kernel, and the kernel fetches corresponding program units from the memory. One or more kernels can be set, and the accuracy of detecting changes in SAR images can be improved by adjusting kernel parameters.

存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flashRAM),存储器包括至少一幅存储芯片。Memory may include non-permanent memory in computer-readable media, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flashRAM), and memory includes at least one memory chip.

本发明实施例提供了一种存储介质,所述存储介质存储有多条指令,所述指令适用于由处理器加载并执行上述检测图像变化的方法。An embodiment of the present invention provides a storage medium, the storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the above-mentioned method for detecting image changes.

本发明实施例提供的检测图像变化的存储介质,与现有技术相比,不仅不用获取先验知识,而且在获取两幅图像的差异图之后,并不是直接对该差异图进行聚类处理,以便获得图像变化情况,而是先对该差异图像进行频带解析,获得包括有效信息最多、最重要且包括噪声最少的低频子带,以及包括有效信息最少且噪声最多的高频子带,然后对低频子带进行线性增强处理,以增强有效信息的显示强度,并对高频子带进行去噪处理,以去除高频子带中的大量噪声,再将处理后的低频子带和高频子带进行合并获得有效信息增强、噪声信息减少的差异图,最后再对处理后的差异图进行聚类处理,从而提高了检测图像变化情况的准确度。Compared with the prior art, the storage medium for detecting image changes provided by the embodiment of the present invention not only does not need to acquire prior knowledge, but also does not directly perform clustering processing on the difference map after obtaining the difference map of two images. In order to obtain the image changes, the difference image is firstly analyzed by frequency bands to obtain the low-frequency sub-bands that contain the most effective information, the most important and the least noise, and the high-frequency sub-bands that contain the least effective information and the most noise, and then The low-frequency sub-band is linearly enhanced to enhance the display intensity of effective information, and the high-frequency sub-band is de-noised to remove a large amount of noise in the high-frequency sub-band, and then the processed low-frequency sub-band and high-frequency sub-band Bands are combined to obtain a difference map with effective information enhancement and noise information reduction, and finally the processed difference map is clustered, thereby improving the accuracy of detecting image changes.

本发明实施例提供了一种处理器,所述处理器用于运行程序,其中,所述程序运行时执行上述检测图像变化的方法。An embodiment of the present invention provides a processor, and the processor is configured to run a program, wherein the above-mentioned method for detecting image changes is executed when the program is running.

本发明实施例提供了一种设备,设备包括处理器、存储介质。其中,处理器,适于实现各指令;以及存储介质,适于存储多条指令;所述指令适于由所述处理器加载并执行:An embodiment of the present invention provides a device, and the device includes a processor and a storage medium. Wherein, the processor is adapted to implement each instruction; and the storage medium is adapted to store multiple instructions; the instructions are adapted to be loaded and executed by the processor:

获取两幅待检测图像的差异图;Obtain the difference map of the two images to be detected;

对所述差异图进行频带解析,获得低频子带和高频子带;performing frequency band analysis on the difference map to obtain low frequency subbands and high frequency subbands;

对所述低频子带进行线性增强处理,对所述高频子带进行去噪处理;performing linear enhancement processing on the low-frequency sub-band, and performing denoising processing on the high-frequency sub-band;

将处理后的低频子带以及处理后的高频子带进行合并,获得处理后的差异图;Merging the processed low-frequency sub-bands and the processed high-frequency sub-bands to obtain a processed difference map;

对所述处理后的差异图进行聚类处理,获得所述两幅待检测图像之间的变化信息和非变化信息。Clustering is performed on the processed difference map to obtain change information and non-change information between the two images to be detected.

可选的,所述对所述差异图进行频带解析,获得低频子带和高频子带包括:Optionally, performing frequency band analysis on the difference map to obtain the low-frequency sub-band and the high-frequency sub-band includes:

通过非下采样Shearlet变换对所述差异图进行频带解析,获得所述低频子带和所述高频子带;Performing frequency band analysis on the difference map by non-subsampling Shearlet transform to obtain the low frequency subband and the high frequency subband;

或者,通过小波变换对所述差异图进行频带解析,获得所述低频子带和所述高频子带;Or, performing frequency band analysis on the difference map by wavelet transform to obtain the low frequency sub-band and the high frequency sub-band;

或者,通过非下采样Contourlet变换对所述差异图进行频带解析,获得所述低频子带和所述高频子带。Alternatively, perform frequency band analysis on the difference map through non-subsampling Contourlet transformation to obtain the low frequency subband and the high frequency subband.

可选的,所述将处理后的低频子带以及处理后的高频子带进行合并,获得处理后的差异图包括:Optionally, the merging the processed low-frequency sub-bands and the processed high-frequency sub-bands to obtain the processed difference map includes:

当通过非下采样Shearlet变换对所述差异图进行频带解析时,通过非下采样Shearlet变换的逆变换对所述处理后的低频子带以及所述处理后的高频子带进行合并,获得所述处理后的差异图;When the frequency band analysis is performed on the difference map through the non-subsampling Shearlet transform, the processed low-frequency sub-band and the processed high-frequency sub-band are combined through the inverse transform of the non-sub-sampled Shearlet transform to obtain the The difference map after the above processing;

当通过小波变换对所述差异图进行频带解析时,通过小波变换的逆变换对所述处理后的低频子带以及所述处理后的高频子带进行合并,获得所述处理后的差异图;When band analysis is performed on the difference map by wavelet transform, the processed low-frequency sub-band and the processed high-frequency sub-band are combined by inverse wavelet transform to obtain the processed difference map ;

当通过非下采样Contourlet变换对所述差异图进行频带解析时,通过非下采样Contourlet变换的逆变换对所述处理后的低频子带以及所述处理后的高频子带进行合并,获得所述处理后的差异图。When the frequency band analysis is performed on the difference map through the non-subsampled Contourlet transform, the processed low-frequency sub-band and the processed high-frequency sub-band are combined through the inverse transform of the non-sub-sampled Contourlet transform to obtain the The difference map after the above processing.

可选的,所述对所述高频子带进行去噪处理包括:Optionally, the performing denoising processing on the high frequency sub-band includes:

利用自适应阈值法抑制所述高频子带中的噪声。The noise in the high frequency sub-band is suppressed by using an adaptive threshold method.

可选的,所述对所述处理后的差异图进行聚类处理包括:Optionally, the clustering the processed difference map includes:

利用模糊局部信息C均值聚类算法对所述处理后的差异图进行聚类处理。The processed difference map is clustered using a fuzzy local information C-means clustering algorithm.

可选的,所述获取两幅待检测图像的差异图包括:Optionally, the obtaining the difference map of the two images to be detected includes:

对所述两幅待检测图像进行平滑滤波去噪处理;performing smoothing filtering and denoising processing on the two images to be detected;

利用归一化邻域比值法对去噪后的两幅待检测图像进行对比,获得所述差异图。The difference map is obtained by comparing the two images to be detected after denoising by using a normalized neighborhood ratio method.

需要说明的是,本文中的设备可以是服务器、PC、PAD、手机等。It should be noted that the devices in this article may be servers, PCs, PADs, mobile phones, etc.

本发明实施例提供的检测图像变化的设备,与现有技术相比,不仅不用获取先验知识,而且在获取两幅图像的差异图之后,并不是直接对该差异图进行聚类处理,以便获得图像变化情况,而是先对该差异图像进行频带解析,获得包括有效信息最多、最重要且包括噪声最少的低频子带,以及包括有效信息最少且噪声最多的高频子带,然后对低频子带进行线性增强处理,以增强有效信息的显示强度,并对高频子带进行去噪处理,以去除高频子带中的大量噪声,再将处理后的低频子带和高频子带进行合并获得有效信息增强、噪声信息减少的差异图,最后再对处理后的差异图进行聚类处理,从而提高了检测图像变化情况的准确度。Compared with the prior art, the device for detecting image changes provided by the embodiment of the present invention not only does not need to obtain prior knowledge, but also does not directly perform clustering processing on the difference map after obtaining the difference map of two images, so that To obtain the image changes, first perform frequency band analysis on the difference image to obtain the low-frequency sub-bands that include the most effective information, the most important and the least noise, and the high-frequency sub-bands that include the least effective information and the most noise, and then analyze the low-frequency The sub-band is linearly enhanced to enhance the display intensity of effective information, and the high-frequency sub-band is de-noised to remove a large amount of noise in the high-frequency sub-band, and then the processed low-frequency sub-band and high-frequency sub-band Merging is performed to obtain a difference map with effective information enhancement and noise information reduction, and finally the processed difference map is clustered, thereby improving the accuracy of detecting image changes.

本申请还提供了一种计算机程序产品,当在数据处理设备上执行时,适于执行初始化有如下方法步骤的程序代码:The present application also provides a computer program product, which, when executed on a data processing device, is adapted to execute a program code initialized with the following method steps:

获取两幅待检测图像的差异图;Obtain the difference map of the two images to be detected;

对所述差异图进行频带解析,获得低频子带和高频子带;performing frequency band analysis on the difference map to obtain low frequency subbands and high frequency subbands;

对所述低频子带进行线性增强处理,对所述高频子带进行去噪处理;performing linear enhancement processing on the low-frequency sub-band, and performing denoising processing on the high-frequency sub-band;

将处理后的低频子带以及处理后的高频子带进行合并,获得处理后的差异图;Merging the processed low-frequency sub-bands and the processed high-frequency sub-bands to obtain a processed difference map;

对所述处理后的差异图进行聚类处理,获得所述两幅待检测图像之间的变化信息和非变化信息。Clustering is performed on the processed difference map to obtain change information and non-change information between the two images to be detected.

本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一幅或多幅其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一幅机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一幅流程或多幅流程和/或方框图一幅方框或多幅方框中指定的功能的装置。The present application is described with reference to flowcharts and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for realizing the functions specified in one or more steps of the flow chart and/or one or more blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一幅流程或多幅流程和/或方框图一幅方框或多幅方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device implements the functions specified in one or more frames of the flow chart and/or one or more blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一幅流程或多幅流程和/或方框图一幅方框或多幅方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow diagram or flow diagrams and/or the block diagram block or blocks.

在一幅典型的配置中,计算设备包括一幅或多幅处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.

存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flashRAM)。存储器是计算机可读介质的示例。Memory may include non-permanent storage in computer readable media, in the form of random access memory (RAM) and/or nonvolatile memory, such as read only memory (ROM) or flash RAM. The memory is an example of a computer readable medium.

计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cartridge, tape magnetic disk storage or other magnetic storage device or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media excludes transitory computer-readable media, such as modulated data signals and carrier waves.

还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一幅……”限定的要素,并不排除在包括要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes Other elements not expressly listed, or elements inherent in the process, method, commodity, or apparatus are also included. Without further limitations, an element defined by the phrase "comprising a piece of ..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element.

本领域技术人员应明白,本申请的实施例可提供为方法、系统或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一幅或多幅其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems or computer program products. Accordingly, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

以上仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。The above are only examples of the present application, and are not intended to limit the present application. For those skilled in the art, various modifications and changes may occur in this application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included within the scope of the claims of the present application.

Claims (10)

1. A method of detecting image changes, the method comprising:
acquiring difference graphs of two images to be detected;
performing frequency band analysis on the difference graph to obtain a low-frequency sub-band and a high-frequency sub-band;
carrying out linear enhancement processing on the low-frequency sub-band, and carrying out denoising processing on the high-frequency sub-band;
merging the processed low-frequency sub-band and the processed high-frequency sub-band to obtain a processed difference map;
and clustering the processed difference graph to obtain the change information and the non-change information between the two images to be detected.
2. The method of claim 1, wherein the band-parsing the difference map to obtain low-frequency subbands and high-frequency subbands comprises:
performing band analysis on the difference map through non-downsampling Shearlet transformation to obtain the low-frequency sub-band and the high-frequency sub-band;
or performing band analysis on the difference map through wavelet transformation to obtain the low-frequency sub-band and the high-frequency sub-band;
or performing band analysis on the difference map through non-subsampled Contourlet transformation to obtain the low-frequency sub-band and the high-frequency sub-band.
3. The method of claim 2, wherein the combining the processed low frequency subbands and the processed high frequency subbands to obtain the processed difference map comprises:
when the frequency band of the difference map is analyzed through the non-downsampling Shearlet transform, combining the processed low-frequency sub-band and the processed high-frequency sub-band through the inverse transform of the non-downsampling Shearlet transform to obtain the processed difference map;
when the difference map is subjected to band analysis through wavelet transformation, combining the processed low-frequency sub-band and the processed high-frequency sub-band through inverse transformation of wavelet transformation to obtain the processed difference map;
and when the frequency band of the difference map is analyzed through the non-downsampling Contourlet transformation, combining the processed low-frequency sub-band and the processed high-frequency sub-band through the inverse transformation of the non-downsampling Contourlet transformation to obtain the processed difference map.
4. The method of claim 1, wherein denoising the high frequency subband comprises:
and suppressing noise in the high-frequency sub-band by using an adaptive threshold method.
5. The method according to any one of claims 1 to 4, wherein the clustering the processed disparity map comprises:
and clustering the processed difference graph by using a fuzzy local information C mean clustering algorithm.
6. The method according to any one of claims 1 to 4, wherein said obtaining a disparity map of two images to be detected comprises:
carrying out smooth filtering denoising processing on the two images to be detected;
and comparing the two images to be detected after denoising by utilizing a normalized neighborhood ratio method to obtain the difference image.
7. An apparatus for detecting image changes, the apparatus comprising:
the acquiring unit is used for acquiring difference images of two images to be detected;
the analysis unit is used for carrying out frequency band analysis on the difference map acquired by the acquisition unit to acquire a low-frequency sub-band and a high-frequency sub-band;
the processing unit is used for carrying out linear enhancement processing on the low-frequency sub-band obtained by the analysis unit and carrying out denoising processing on the high-frequency sub-band obtained by the analysis unit;
a merging unit, configured to merge the low-frequency subband processed by the processing unit and the processed high-frequency subband to obtain a processed difference map;
and the clustering unit is used for clustering the processed difference graph obtained by the merging unit to obtain the change information and the non-change information between the two images to be detected.
8. The apparatus of claim 7, wherein the parsing unit comprises:
the first analysis module is used for carrying out frequency band analysis on the difference map through non-downsampling Shearlet transformation to obtain the low-frequency sub-band and the high-frequency sub-band;
the second analysis module is used for carrying out frequency band analysis on the difference map through wavelet transformation to obtain the low-frequency sub-band and the high-frequency sub-band;
and the third analysis module is used for carrying out frequency band analysis on the difference graph through non-subsampled Contourlet conversion to obtain the low-frequency sub-band and the high-frequency sub-band.
9. A storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform a method of detecting image changes according to any one of claims 1 to 6.
10. An apparatus, characterized in that the apparatus comprises:
a processor adapted to implement instructions; and
a storage medium adapted to store a plurality of instructions;
the instructions are adapted to be loaded by the processor and to perform the method of detecting image changes according to any of claims 1 to 6.
CN201710393356.XA 2017-05-27 2017-05-27 Method, device, storage medium and the equipment of detection image change Pending CN107103595A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710393356.XA CN107103595A (en) 2017-05-27 2017-05-27 Method, device, storage medium and the equipment of detection image change

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710393356.XA CN107103595A (en) 2017-05-27 2017-05-27 Method, device, storage medium and the equipment of detection image change

Publications (1)

Publication Number Publication Date
CN107103595A true CN107103595A (en) 2017-08-29

Family

ID=59659265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710393356.XA Pending CN107103595A (en) 2017-05-27 2017-05-27 Method, device, storage medium and the equipment of detection image change

Country Status (1)

Country Link
CN (1) CN107103595A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107590788A (en) * 2017-09-12 2018-01-16 新疆大学 A kind of remote sensing image processing method
CN107862666A (en) * 2017-11-22 2018-03-30 新疆大学 Mixing Enhancement Methods about Satellite Images based on NSST domains
CN107945195A (en) * 2017-11-10 2018-04-20 西安电子科技大学 The Polarimetric SAR Image change detecting method of DBN is integrated based on profile ripple
CN108932492A (en) * 2018-06-28 2018-12-04 福州昌宇五金锁具制品有限公司 A kind of image fingerprint extracting method based on non-sampled shearing wave conversion
CN109978855A (en) * 2019-03-26 2019-07-05 新疆大学 A kind of method for detecting change of remote sensing image and device
CN112308025A (en) * 2020-11-23 2021-02-02 内蒙古工业大学 Image change recognition method and device, storage medium and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008229864A (en) * 2007-03-16 2008-10-02 Canon Inc Inkjet recording method and image processing device
CN106384339A (en) * 2016-09-30 2017-02-08 防城港市港口区高创信息技术有限公司 Infrared night vision image enhancement method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008229864A (en) * 2007-03-16 2008-10-02 Canon Inc Inkjet recording method and image processing device
CN106384339A (en) * 2016-09-30 2017-02-08 防城港市港口区高创信息技术有限公司 Infrared night vision image enhancement method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
张一晨等: "基于NSCT域图像融合改进算法的SAR图像无监督变化检测", 《光电子激光》 *
李玲玲等: "混合的SAR图像变化检测算法", 《计算机工程与设计》 *
李青松等: "基于非下采样Shearlet和几何结构的遥感图像无监督变化检测", 《遥感技术与应用》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107590788A (en) * 2017-09-12 2018-01-16 新疆大学 A kind of remote sensing image processing method
CN107945195A (en) * 2017-11-10 2018-04-20 西安电子科技大学 The Polarimetric SAR Image change detecting method of DBN is integrated based on profile ripple
CN107945195B (en) * 2017-11-10 2019-10-25 西安电子科技大学 A Change Detection Method for Polarization SAR Image Based on Contourlet Integrated DBN
CN107862666A (en) * 2017-11-22 2018-03-30 新疆大学 Mixing Enhancement Methods about Satellite Images based on NSST domains
CN108932492A (en) * 2018-06-28 2018-12-04 福州昌宇五金锁具制品有限公司 A kind of image fingerprint extracting method based on non-sampled shearing wave conversion
CN109978855A (en) * 2019-03-26 2019-07-05 新疆大学 A kind of method for detecting change of remote sensing image and device
CN112308025A (en) * 2020-11-23 2021-02-02 内蒙古工业大学 Image change recognition method and device, storage medium and electronic equipment
CN112308025B (en) * 2020-11-23 2023-01-31 内蒙古工业大学 Image change identification method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN107103595A (en) Method, device, storage medium and the equipment of detection image change
Schick et al. Improving foreground segmentations with probabilistic superpixel Markov random fields
WO2022237397A1 (en) Method and apparatus for evaluating image authenticity, computer device, and storage medium
Khare et al. Moving object segmentation in Daubechies complex wavelet domain
US9508134B2 (en) Apparatus, system, and method for enhancing image data
US20160132995A1 (en) Structure Aware Image Denoising and Noise Variance Estimation
Liu et al. Spectral Bayesian uncertainty for image super-resolution
Liu et al. Automatic blur-kernel-size estimation for motion deblurring
Wu et al. Superpixel-based image noise variance estimation with local statistical assessment
CN108830828B (en) Method and device for detecting change of remote sensing image
CN107180418A (en) A kind of Enhancement Methods about Satellite Images and device converted based on Tetrolet
CN109658357A (en) A kind of denoising method towards remote sensing satellite image
CN107301641A (en) A kind of detection method and device of Remote Sensing Imagery Change
CN107316296A (en) A kind of method for detecting change of remote sensing image and device based on logarithmic transformation
Khan et al. Image pan-sharpening using enhancement based approaches in remote sensing
CN109978855A (en) A kind of method for detecting change of remote sensing image and device
Muhammad et al. Frequency component vectorisation for image dehazing
Li et al. Innovative adaptive edge detection for noisy images using wavelet and Gaussian method
Lee et al. Image deblurring based on the estimation of PSF parameters and the post-processing
Kosar et al. An overview of denoising methods for different types of noises present on graphic images
El-Hashash et al. High-speed video haze removal algorithm for embedded systems
Zia et al. Rician noise removal from MR images using novel adapted selective non-local means filter
CN109886959B (en) Method and device for detecting image change
Satapathy et al. Optimized openCL™ kernels for frequency domain image high-boost filters using image vectorization technique
Ezekiel et al. No-reference blur metric using double-density and dual-tree two-dimensional wavelet transformation

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170829