CN100478992C - Vector filtering method of high spectrogram based on detection of neighborhood background - Google Patents

Vector filtering method of high spectrogram based on detection of neighborhood background Download PDF

Info

Publication number
CN100478992C
CN100478992C CNB2005100263188A CN200510026318A CN100478992C CN 100478992 C CN100478992 C CN 100478992C CN B2005100263188 A CNB2005100263188 A CN B2005100263188A CN 200510026318 A CN200510026318 A CN 200510026318A CN 100478992 C CN100478992 C CN 100478992C
Authority
CN
China
Prior art keywords
spectrum
vector
pixel
neighborhood
image
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.)
Expired - Fee Related
Application number
CNB2005100263188A
Other languages
Chinese (zh)
Other versions
CN1696736A (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.)
Shanghai Institute of Technical Physics of CAS
Original Assignee
Shanghai Institute of Technical Physics 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 Shanghai Institute of Technical Physics of CAS filed Critical Shanghai Institute of Technical Physics of CAS
Priority to CNB2005100263188A priority Critical patent/CN100478992C/en
Publication of CN1696736A publication Critical patent/CN1696736A/en
Application granted granted Critical
Publication of CN100478992C publication Critical patent/CN100478992C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

A vector filter method includes presenting 3D light spectrum image to be 2D vector matrix 1 = [ Pi, j ] as 0 <i< M, 0<j<N; setting neighbourhood structure S = [ Su, v ] as Su, v = 0,1, U = -1, 0, 1, V = 1, 0, 1; sliding neighbourhood S all over 2D vector matrix; driving out background spectrum vector BG in neighbourhood range of each image element; using said vector BG to replace spectrum Pi, j in neighbourhood and using the vector to go all over the image.

Description

Vector filtering method of high spectrogram based on the neighborhood background detection
Technical field:
The present invention relates to a kind of high spectrum image Processing Algorithm, particularly a kind of general two-dimension non linearity digital filtering---based on the vector filtering method of local background's statistics.
Background technology:
The high light spectrum image-forming technology is the important component part in modern space remote sensing of the earth field.High spectrum image writes down the spectral signature information on a plurality of wave bands of each target pixel simultaneously, can be described as three-dimensional data---and therefore spectrum dimension of two space peacekeepings is also referred to as the image cube.It can obtain the type of the corresponding atural object of this pixel or the information of composition by analyzing the spectral characteristic of pixel.Particularly entered the high spectrum image of application in recent years, have wave band narrow bandwidth (being generally less than 10nm), wave band number many (tens to hundreds ofs), wave band is continuous, can obtain the object spectrum curve, both bring great potential, also bring challenges to Flame Image Process to remote sensing application.
High spectrum image is owing to the smaller bandwidth of wave band, and energy is faint, so signal to noise ratio (S/N ratio) is less, and ground footprint point is bigger, and the spectrum mixing phenomena is outstanding, and these all cause difficulty to spectral analysis, and are low as nicety of grading, and classification chart comprises a large amount of points etc. that loose.Before the high spectrum image classification data are carried out filtering, filtering ground small size spectrum singular point or noise will improve classifying quality.
Summary of the invention:
The object of the present invention is to provide a kind of vector filtering method of high spectrogram, in order to effective elimination high spectrum image noise and the diffusing point of spectrum based on local background's statistics.
Technical scheme of the present invention is as follows:
According to a kind of vector filtering method of high spectrogram that detects based on neighborhood background of the present invention, its step comprises:
A. three-dimensional spectrum picture is expressed as two-dimensional vector matrix I:
I=[P i,j],0<i<M,0<j<N (1)
Wherein M is the pixel number of the every row of image, and N is a picturedeep, and M, bold-faced letter P represent the spectrum vector of an image picture elements: P=[P 1, P 2... P B], subscript 1,2 ..., B is the wave band number of spectrum picture,
In spectrum picture, the spectrum of random noise or ground small size atural object is often different with the most of pixels of neighborhood, and unification is referred to as local unusual spectrum; The spectrum of probability of occurrence maximum vector is local background's spectrum in said subrange, and non-background spectrum just might be unusual spectrum or edge, replaces unusual spectrum with background spectrum, just can realize removing the purpose of random noise or ground small size atural object,
B. define structure (Structure element) S of neighborhood, the definition of neighbour structure is identical with morphologic structural element, and General Definition quadrate or circular neighbour structure with the 0 non-neighborhood pixel of expression with the effective neighborhood pixel of 1 expression, then can be expressed as:
S=[Su,v];Su,v=0,1;u=-1,0,1;v=-1,0,1 (2)
In like manner can adopt 5 * 5 as required, neighbour structures such as 7 * 7.......
C. neighbour structure s is slided on whole two-dimensional vector matrix I;
D. in the neighborhood scope of each pixel, find the solution background spectrum vector B G;
E. the spectrum P that replaces the center pixel of neighbour structure then with the background spectrum vector B G that tries to achieve I, j
F. travel through entire image at last and carry out vector filtering, above-mentioned filtering method essence is the local small probability spectrum of corrosion, the process of preserving local big probability spectrum, and therefore, the spatial area of the unusual spectrum in the image is during less than neighbour structure, and this atural object is eliminated.
In the steps d, find the solution the core that the background spectrum vector is the inventive method, its success or failure will influence the accuracy of spectral information.Therefore, should clear and definite subrange in the definition of spectrum of probability of occurrence maximum, promptly the spectrum of probability of occurrence maximum refers to through cluster analysis, the central point spectrum of the class that pattern feature point is the most intensive, quantity is maximum.Can design multiple cluster method for solving according to this definition, but this algorithm adopts sliding window, too Fu Za clustering method increases calculated amount easily, because the pixel number is less in the neighbour structure, therefore recommends to adopt approximate calculation method again.
Further, the definition of background spectrum is simplified, the central point of the class of the most intensive quantity maximum of pattern feature point is reduced to the distribute central point in the most intensive zone of si unique point, thereby, be reduced to apart from si-1 unique point distance and the point of minimum, done such simplification and just can get rid of apart from the class of point that disperses and pixel negligible amounts.
More specifically establish sn nonzero element arranged in the neighbour structure, 1. the Euclidean distance of the spectrum vector of obtaining these element correspondences between in twos, form distance matrix, each vector of matrix has comprised the pixel in the neighbour structure and the distance of every other neighborhood pixel, 2. to each vectorial ascending ordering of this matrix, before 3. asking si distance and minimum value d BG, the pixel at its place is exactly the position at background spectrum place.Represent ascending ordering with order (), || Euclidean distance between the vector is asked in expression, and I is a pixel vector, and its subscript is illustrated in the sequence number in the neighbour structure, i.e. di, j=||Ii-Ij||
d BG = min &Sigma; 1 si order d 1,2 d 1,3 . . . d 1 , sn &Sigma; 1 si order d 2,1 d 2,3 . . . d 2 , sn . . . . . . . . . . . . &Sigma; 1 si order d sn , 1 d sn , 2 . . . d sn , sn - 1 - - - ( 3 )
Wherein si generally is made as half of neighborhood pixel number, i.e. (sn-1)/2.
Advantage of the present invention is: this filtering method not only can be applicable to spectrum picture but also can be applicable to gray level image, can corrode the unusual pixel of small size, therefore can effectively eliminate the diffusing point of noise and spectrum, do not introduce non-existent new spectrum in the neighborhood scope, keep original spectrum, in addition there is certain sharpening at the edge.
Description of drawings:
Fig. 1 is a kind of 3 * 3 square neighbour structure synoptic diagram.
Fig. 2 is a background spectrum cluster synoptic diagram.
Fig. 3 is the vector filtering program flow diagram that background of the present invention detects.
Fig. 4 is the process flow diagram of simplifying procedures that background spectrum of the present invention is found the solution.
Fig. 5 is the nearly true color composite diagram of original high spectrum.
Fig. 6 is the filtered images of of the present invention 3 * 3 square neighbour structures.
Fig. 7 is the filtered images of of the present invention 5 * 5 square neighbour structures.
Fig. 8-the 1st is without the original high-spectrum of neighbour structure filtering of the present invention.
Fig. 8-the 2nd is through of the present invention 5 * 5 square filtered images of neighbour structure that form.
Fig. 9-the 1st, high spectrum image is through the filtered outline map of vector median.
Fig. 9-the 2nd, the outline map of high spectrum image behind neighbour structure vector filtering of the present invention.
Figure 10-the 1st, the filtered outline map of colored aviation image vector median.
Figure 10-the 2nd, colored aviation image outline map after via neighbour structure vector filtering of the present invention.
Embodiment:
Provide better embodiment of the present invention according to Fig. 1~Figure 10-2 below, and described in detail, so that method characteristics of the present invention and function are described better, enable to be easier to understand the present invention, rather than be used for limiting scope of the present invention.
Please consult Fig. 1 earlier, Fig. 2 and Fig. 3, as shown in the figure, the vector filtering method of high spectrum image of the present invention is realized by the vector filtering program 100 that background shown in Figure 3 detects.
S1001 is expressed as two-dimensional vector matrix I to three-dimensional spectrum picture:
I=[P i,j],0<i<M,0<j<N (1)
Wherein M is the pixel number of the every row of image, and N is a picturedeep, and bold-faced letter P represents the spectrum vector of an image picture elements: P=[P 1, P 2... P B], subscript 1,2 ..., B is the wave band number of spectrum picture,
S1002, structure (Structure element) S of definition neighborhood, General Definition quadrate or circle, as shown in Figure 1, present embodiment adopts 3 * 3 square or circular neighbour structure, the non-neighborhood pixel of 0 expression, the effective neighborhood pixel of 1 expression can be expressed as:
S=[Su,v];Su,v=0,1;u=-1,0,1;v=-1,0,1 (2)
In like manner can adopt 5 * 5 as required, neighbour structures such as 7 * 7......,
S1003, neighbour structure S slides on whole two-dimensional vector matrix I,
S1004 asks the background spectrum vector B G of the pixel vector of I under the neighbour structure,
S1005, with the spectrum of the image I under the pixel in the middle of the structure of background spectrum vector B G replacement neighborhood,
S1006, is the traversal image I through with? if do not finish, just return and carry out S1003; If finish, then carry out S1007,
S1007, filtering finishes.
It is the core of the inventive method that described S1004 finds the solution background spectrum vector B G, and its success or failure will influence the accuracy of spectral information.Therefore, should first clear and definite subrange in the definition of spectrum of probability of occurrence maximum, as shown in Figure 2, the spectrum of probability of occurrence maximum refers to through cluster analysis, the central point spectrum of the class of the most intensive quantity maximum of pattern feature point.Can design multiple cluster method for solving according to this definition, but this algorithm adopts sliding window, too Fu Za clustering method increases calculated amount easily, again because the pixel number is less in the neighbour structure, therefore, in the present embodiment, adopt approximate calculation method as shown in Figure 4, promptly by 200 realizations of simplifying procedures of background spectrum, its operating procedure is as follows successively:
S2001, the spectrum vector of obtaining all elements correspondence under the neighbour structure distance between in twos,
S2002, to the ascending ordering of distance value of each pixel and all other neighborhood pixels,
S2003, ask each pixel and all other neighborhood pixel distances preceding Si minimum value with,
S2004, before asking Si apart from minimum value and the pixel position of minimum,
S2005 confirms that the pixel spectra at place is exactly a background spectrum.
The effect that present embodiment adopts two width of cloth remote sensing images to come verification algorithm, a width of cloth are colorful digital aeroplane photography photograph, and a width of cloth is the high spectrum image of 124 wave bands.
Fig. 5 is that Fig. 6, Fig. 7 are respectively the result of 3 * 3 and 5 * 5 square neighbour structure filtering through 124 wave band high spectrum images behind the radiant correction, and the small size atural object in the filtered image is corroded, and spectral distribution is more concentrated, and the details of different scale is eliminated.
Fig. 8-1 and Fig. 8-2 is that the unsupervised classification before and after the filtering of colorful digital aviation image compares, and clearly, a large amount of points that loose in the raw video (Fig. 8-1) are by filtering.
Median vector filtering is a kind of filtering method commonly used, difference for the edge performance of verifying median filter method and filtering method of the present invention, to having carried out rim detection behind two kinds of image filterings, the algorithm of spectrum picture rim detection has adopted the sobel operator based on Euclidean distance:
Gx=||P[i+1,j+1]+2*P[i+1,j]+P[i+1,j-1]-(P[i-1,j+1]+2*P[i-1,j]+P[i-1,j-1])||
Gy=||P[i+1,j-1]+2*P[i,j-1]+P[i-1,j-1]-(P[i+1,j+1]+2*P[i,j+1]+P[i-1,j+1])||
G = Gx 2 + Gy 2
Fig. 9-1 and Fig. 9-2 and Figure 10-1 and Figure 10-2 are respectively that the rim detection effect of high spectrum image and coloured image compares, Fig. 9-1 and Figure 10-1 image border is a median vector filtering gradient map, Fig. 9-2 and Figure 10-2 is filtering gradient map of the present invention, both have passed through same linear stretch, the latter's edge is more precipitous, dynamic range is bigger, and this situation is more obvious in high spectrum image.

Claims (3)

1, a kind of vector filtering method of high spectrogram that detects based on neighborhood background, its step comprises:
A. three-dimensional spectrum picture is expressed as two-dimensional vector matrix I:
I=[P i,j],0<i<M,0<j<N
Wherein M is the pixel number of the every row of image, and N is a picturedeep, and bold-faced letter P represents the spectrum vector of an image picture elements: P=[P 1, P 2... P B], subscript 1,2 ..., B is the wave band number of spectrum picture,
B. define neighbour structure S,
C. neighbour structure S is slided in the entire image scope,
D. in the neighborhood scope of each pixel, find the solution background spectrum vector B G,
E. the spectrum P that replaces the center pixel of neighbour structure then with the background spectrum vector B G that tries to achieve I, j,
F. last, go through all over entire image and carry out vector filtering.
2, the vector filtering method of the high-spectrum image that detects based on neighborhood background according to claim 1, it is characterized in that, neighbour structure S in the step is 3 * 3 or 5 * 5 or 7 * 7 square or circular neighbour structure, and, can be expressed as with the 0 non-neighborhood pixel of expression with the effective neighborhood pixel of 1 expression:
S=[Su,v];Su,v=0,1;u=-1,0,1;v=-1,0,1。
3, the vector filtering method of the high spectrum image that detects based on neighborhood background according to claim 1, it is characterized in that, the background spectrum vector B G that finds the solution in the described steps d is the most intensive pattern feature point successively, the central point of the class of quantity maximum is reduced to the distribute central point in the most intensive zone of Si unique point, obtains the distance between the spectrum vector of all elements correspondence under the field structure, the ascending ordering of distance value to each pixel and all other neighborhood pixels, ask each pixel and all other field pixel distances Si minimum value with, before asking Si apart from minimum value and the pixel position of minimum, the pixel spectra of confirming the place at last is exactly a background spectrum.
CNB2005100263188A 2005-05-31 2005-05-31 Vector filtering method of high spectrogram based on detection of neighborhood background Expired - Fee Related CN100478992C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100263188A CN100478992C (en) 2005-05-31 2005-05-31 Vector filtering method of high spectrogram based on detection of neighborhood background

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100263188A CN100478992C (en) 2005-05-31 2005-05-31 Vector filtering method of high spectrogram based on detection of neighborhood background

Publications (2)

Publication Number Publication Date
CN1696736A CN1696736A (en) 2005-11-16
CN100478992C true CN100478992C (en) 2009-04-15

Family

ID=35349539

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100263188A Expired - Fee Related CN100478992C (en) 2005-05-31 2005-05-31 Vector filtering method of high spectrogram based on detection of neighborhood background

Country Status (1)

Country Link
CN (1) CN100478992C (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8873821B2 (en) * 2012-03-20 2014-10-28 Paul Reed Smith Guitars Limited Partnership Scoring and adjusting pixels based on neighborhood relationships for revealing data in images

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1154168A (en) * 1995-05-15 1997-07-09 宝丽来公司 Method and apparatus for fast two-dimensional cosine transform filtering
CN1195829A (en) * 1997-03-10 1998-10-14 三星电子株式会社 One-dimensional signal adaptive filter for reducing blocking effect and filtering method
CN1489111A (en) * 2003-08-21 2004-04-14 上海交通大学 Remote-sensing image mixing method based on local statistical property and colour space transformation
CN1570970A (en) * 2004-05-13 2005-01-26 上海交通大学 Image merging method based on maximum expectation value and discrete wavelet frame

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1154168A (en) * 1995-05-15 1997-07-09 宝丽来公司 Method and apparatus for fast two-dimensional cosine transform filtering
CN1195829A (en) * 1997-03-10 1998-10-14 三星电子株式会社 One-dimensional signal adaptive filter for reducing blocking effect and filtering method
CN1489111A (en) * 2003-08-21 2004-04-14 上海交通大学 Remote-sensing image mixing method based on local statistical property and colour space transformation
CN1570970A (en) * 2004-05-13 2005-01-26 上海交通大学 Image merging method based on maximum expectation value and discrete wavelet frame

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
一种基于空间连续性的高光谱图像分类方法. 耿修瑞,张霞等.红外与毫米波学报,第23卷第4期. 2004 *
一种基于选点的可变滤波窗口中值滤波算法. 张恒博.计算机工程与应用. 2003 *
基于离散正交小波变换的红外图像去噪方法. 张长江,付梦印,金梅.红外与激光工程,第32卷第4期. 2003 *
红外图像起伏背景对消的空间滤波方法研究. 谢剑薇,孙春娟.装备指挥技术学院学报,第14卷第6期. 2003 *
自适应模糊加权均值滤波器. 胡浩,王明照,杨杰.系统工程与电子技术,第24卷第2期. 2002 *

Also Published As

Publication number Publication date
CN1696736A (en) 2005-11-16

Similar Documents

Publication Publication Date Title
US8463078B2 (en) Multi-bank TDI approach for high-sensitivity scanners
Arp et al. Image processing of galaxy photographs
EP2495540B1 (en) Design of filter modules for aperture-coded, multiplexed imaging systems
CN100594398C (en) Extended depth of field using a multi-focal length lens with a controlled range of spherical aberration and centrally obscured aperture
CN102024155B (en) Rapid matching method of multispectral images based on edge detection
CN104181686B (en) Light field microscopic method based on FPM
CN103403494B (en) Camera head
Erben et al. GaBoDS: The Garching‐Bonn Deep Survey: IV. Methods for the image reduction of multi‐chip cameras demonstrated on data from the ESOWide‐Field Imager
Gladkova et al. Quantitative restoration for MODIS band 6 on Aqua
US20140205192A1 (en) Image defogging method and system
CN103650486B (en) Camera head and image generating method
US6829393B2 (en) Method, program and apparatus for efficiently removing stray-flux effects by selected-ordinate image processing
US9336570B2 (en) Demosaicking system and method for color array based multi-spectral sensors
CN111179196B (en) Multi-resolution depth network image highlight removing method based on divide-and-conquer
CN105701785A (en) Image smog removing method based on sky region division and transmissivity optimization of weighting TV
CN106462951A (en) Method and system for processing an image
WO2009026522A1 (en) Multi-bank tdi approach for high-sensitivity scanners
CN111008936B (en) Multispectral image panchromatic sharpening method
CN111062895B (en) Microscopic image restoration method based on multi-view-field segmentation
CN100478992C (en) Vector filtering method of high spectrogram based on detection of neighborhood background
JP4624884B2 (en) Image processing device for work vehicles
CN110383137A (en) Three-dimensional microscopy
CN116363168A (en) Remote sensing video target tracking method and system based on super-resolution network
Banerjee et al. Bacterial foraging-fuzzy synergism based image Dehazing
CN105631847A (en) Multispectral image processing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090415

Termination date: 20140531