CN101488218B - Image self-adapting airspace homographic filtering method - Google Patents

Image self-adapting airspace homographic filtering method Download PDF

Info

Publication number
CN101488218B
CN101488218B CN2008101479215A CN200810147921A CN101488218B CN 101488218 B CN101488218 B CN 101488218B CN 2008101479215 A CN2008101479215 A CN 2008101479215A CN 200810147921 A CN200810147921 A CN 200810147921A CN 101488218 B CN101488218 B CN 101488218B
Authority
CN
China
Prior art keywords
image
pass information
low
self
lpf
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
CN2008101479215A
Other languages
Chinese (zh)
Other versions
CN101488218A (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.)
Sichuan Hongwei Technology Co Ltd
Original Assignee
Sichuan Hongwei Technology Co Ltd
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 Sichuan Hongwei Technology Co Ltd filed Critical Sichuan Hongwei Technology Co Ltd
Priority to CN2008101479215A priority Critical patent/CN101488218B/en
Publication of CN101488218A publication Critical patent/CN101488218A/en
Application granted granted Critical
Publication of CN101488218B publication Critical patent/CN101488218B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a self-adapting empty domain homomorphic filtering method for an image, which carries out low-pass filtering on a luminance and grey scale image to obtain low-pass information so as to obtain high-pass information by taking the logarithm of the a luminance value of a pixel point and then subtracting a low-pass signal, and then obtain the luminance value after empty domain homomorphic filtering through exponent arithmetic. Two parameters alpha and beta in extraction of self-adapting high-pass information are changed along with self-adapting of the low-pass information, therefore, the method utilizes the low-pass information of the image to self-adaptively extract the high-pass information on an empty domain to avoid error of the current empty domain homomorphic filtering caused by linear processing.

Description

A kind of image self-adapting airspace homographic filtering method
Technical field
The present invention relates to technical field of image processing, specifically, relate to a kind of image self-adapting airspace homographic filtering method.
Background technology
The figure image intensifying is the important means that improves visual effect in the image pre-service, comprises removing noise, expanded contrast etc.Homomorphic filtering is a kind of algorithm that arrives commonly used in image enhancement processing, and it is commonly used to handle the image of illumination unevenness.
For piece image, its gray-scale value can be thought to be made up of incident light component and reflected light component two parts product, and wherein incident light depends on and light source, it is more even, less with spatial position change, so incident light occupies the low frequency part of frequency field, the correspondence image background.And reflected light depends on and the character of object itself, and promptly the brightness of scenery depends primarily on the object reflected light.Because object character is different with design feature, catoptrical power is also inequality, and is more violent with spatial position change, so reflected light occupies the HFS of frequency field, and the correspondence image details.
The uneven image that throws light on is carried out enhancement process suppress low frequency component exactly, reduce the influence of penetrating light component as far as possible, the enlarged image high fdrequency component strengthens the catoptrical component of object simultaneously.Strengthen the contrast of image when can suppress its dynamic range, reach the purpose of the uneven Flame Image Process of light and shade by such processing.
In the prior art, adopt the mode of homomorphic filtering that video image is carried out enhancement process usually:
One, classical frequency domain homomorphic filtering
This method is carried out on frequency domain, utilize earlier FFT with image transformation on frequency field, and then low frequency part and HFS are applied different influences with the Gaussian high-pass filtering function of revising, last IFFT recovers original image.
Classical frequency domain homomorphic filtering has following defective: FFT handles entire image, so homomorphic filtering is based upon on the basis of the information that obtains entire image and carries out, and dirigibility is little and complexity is big.
Two, airspace homographic filtering
This method is carried out on the spatial domain, at first to a gradation of image coefficient on duty to keep low-pass information, use the low pass template to carry out low-pass filtering, original image deducts low-pass information and obtains high pass information.
Airspace homographic filtering has following defective: though avoid using FFT that image is handled, but space low pass template can not rationally be chosen the template size of low-pass filtering and not only can effectively reflect low-pass information but also can reduce computation complexity, and to image high pass information is linear, because it is inaccurate that low-pass information is extracted, and causes image fault at last.
Summary of the invention
The objective of the invention is to overcome the deficiency of existing airspace homographic filtering, provide a kind of image fault little image self-adapting airspace homographic filtering method.
To achieve the above object of the invention, image self-adapting airspace homographic filtering method of the present invention is characterized in that, may further comprise the steps:
(1), the brightness value of the pixel of calculating input image, obtain the brightness image of present image, wherein the brightness value of pixel be f (x, y), f (x, y) denotation coordination is x, the brightness value of the pixel of y;
(2), the brightness image is carried out low-pass filtering, obtain low-pass information LPF (x, y);
(3), according to low-pass information LPF (x, y) calculate self-adaptation high pass information g (x, the y) parameter alpha in extracting, β:
α=γ×log φLPF(x,y)
β=log φ(LPF(x,y)+φ)-ε
Wherein, γ, φ, ε are constant
(4), after obtaining two parameter alpha, β, carry out extracted in self-adaptive high pass information g (x, y):
g(x,y)=α×logf(x,y)-β×LPF(x,y)
(5), with the high pass information g that obtains (x y) gets exponent arithmetic, obtain behind the airspace homographic filtering brightness value s (x, y):
s(x,y)=expg(x,y)
The object of the present invention is achieved like this: airspace homographic filtering method of the present invention is based on that following irradiation-reflection model makes up,
f(x,y)=i(x,y)×r(x,y)
In the model, and f (x, y) denotation coordination is x, the brightness value of the pixel of y, (x y) is the illumination component to i, and (x y) is reflected light component to r.Intensity of illumination generally has consistance, the character that spatially has slow variation usually show as the low frequency component after Fourier changes, yet different materials or reflected by objects rate is widely different, thereby make the brightness value of image change the HFS of correspondence image.
By the computing of taking the logarithm the irradiates light of formula (1) is separated with reflected light, that is:
logf(x,y)=logi(x,y)+logr(x,y)
Like this known illumination component i (x, y) and brightness value f (x, under situation y), can calculate reflected light component r (x, y).In the present invention, carry out low-pass filtering, obtain low-pass information LPF (x by the brightness image, y) this low-pass information LPF (x, is described as background technology, y) with illumination component i (x, y) corresponding, and high pass information g (x, y) with r (x, y) be reflected light component, deduct the high pass information that low-pass signal just obtains image after taking the logarithm by the brightness value of pixel like this, then by get brightness value s after exponent arithmetic obtains airspace homographic filtering (x, y).
In the present invention, self-adaptation high pass information g (β is for x, the y) parameter alpha in extracting:
α=γ×log φLPF(x,y)
β=log φ(LPF(x,y)+φ)-ε
Wherein, γ, φ, ε are constant
After obtaining two two parameter alpha that change with low-pass information, β, just can according to low-pass information extracted in self-adaptive high pass information g (x, y):
g(x,y)=α×logf(x,y)-β×LPF(x,y)
Then with the high pass information g that obtains (x y) gets exponent arithmetic, obtain behind the airspace homographic filtering brightness value s (x, y):
s(x,y)=expg(x,y)
Because at high pass information g (x, y) in the leaching process, therefore two parameter alpha, β, utilize image low-pass information extracted in self-adaptive high pass information to avoid present airspace homographic filtering because the error that linear process causes on the spatial domain with the low-pass information adaptive change.
Description of drawings
Fig. 1 is a kind of embodiment process flow diagram of image self-adapting airspace homographic filtering method of the present invention.
Embodiment
For understanding the present invention better, the present invention is more described in detail below in conjunction with the drawings and specific embodiments.In the following description, when perhaps the detailed description of existing prior art can desalinate subject content of the present invention, these were described in here and will be left in the basket.
Fig. 1 is a kind of embodiment process flow diagram of image self-adapting airspace homographic filtering method of the present invention.In the present embodiment, image self-adapting airspace homographic filtering method of the present invention may further comprise the steps:
Step ST1: input picture is converted to brightness image F, and the brightness value of image slices vegetarian refreshments is:
Y=0.27×R+0.67×G+0.06×B (1)
Step ST2: calculate the brightness related coefficient.The brightness related coefficient of input picture R, G, B passage is designated as coff respectively R, coff G, coff B, by the related adjustment that reaches color of input picture R, G, B channel signal with brightness.Be calculated as follows:
coff cl i = cl i Y max - - - ( 2 )
Cl iThe corresponding R of remarked pixel point i, G, B passage, Y MaxExpression input image lightness maximal value.
Step ST3: use 9 * 9 templates to image carry out low-pass filtering obtain low-pass signal LPF (x, y).
Step ST4: according to low-pass information LPF (x, y) calculate self-adaptation high pass information g (x, the y) parameter alpha in extracting, β:
α=γ×log φLPF(x,y)
β=log φ(LPF(x,y)+φ)-ε (3)
Wherein, γ, φ, ε are constant
Step ST5: after obtaining two two parameter alpha that change with low-pass information, β, just can according to low-pass information extracted in self-adaptive high pass information g (x, y):
g(x,y)=α×logf(x,y)-β×LPF(x,y) (4)
Step ST6: then with the high pass information g that obtains (x y) gets exponent arithmetic, obtain behind the airspace homographic filtering brightness value s (x, y):
s(x,y)=expg(x,y) (5)
Step ST7: recover the RGB image, obtain image I mg ' behind the airspace homographic filtering:
cl i = coff cl i × s ( x , y ) - - - ( 6 )
In the present embodiment, we as can be seen, the present invention utilizes image low-pass information extracted in self-adaptive high pass information to avoid present airspace homographic filtering because the error that causes of linear process on the spatial domain.In addition, use new color space conversion pattern, make homomorphic filtering only handle, thereby reduced working time a luminance channel.
Although above the illustrative embodiment of the present invention is described; but should be understood that; the invention is not restricted to the scope of embodiment; to those skilled in the art; as long as various variations appended claim limit and the spirit and scope of the present invention determined in; these variations are conspicuous, and all utilize innovation and creation that the present invention conceives all at the row of protection.

Claims (2)

1. an image self-adapting airspace homographic filtering method is characterized in that, may further comprise the steps:
(1), the brightness value of the pixel of calculating input image, obtain the brightness image of present image, wherein, f (x, y) denotation coordination is x, the brightness value of the pixel of y, f (x, y)=i (x, y) * and r (x, y), i (x, y) be the illumination component, (x y) is reflected light component to r, take the logarithm the illumination component is separated with reflected light component, that is, and logf (x, y)=and logi (x, y)+logr (x, y);
(2), the brightness image is carried out low-pass filtering, obtain low-pass information LPF (x, y), low-pass information LPF (x, y) with illumination component i (x, y) corresponding;
(3), according to low-pass information LPF (x, y) calculate self-adaptation high pass information g (x, y) parameter alpha, the β in extracting:
α=γ×log φLPF(x,y),
β=log φ(LPF(x,y)+φ)-ε,
Wherein, γ, φ, ε are constant;
(4), after obtaining two parameter alpha, β, carry out extracted in self-adaptive high pass information g (x, y), high pass information g (x, y) with reflected light component r (x, y) corresponding:
g(x,y)=α×logf(x,y)-β×LPF(x,y);
(5), with the high pass information g that obtains (x y) gets exponent arithmetic, obtain behind the airspace homographic filtering brightness value s (x, y):
s(x,y)=expg(x,y)。
2. image self-adapting airspace homographic filtering method according to claim 1 is characterized in that, in step (1) afterwards, also input picture is carried out the brightness related coefficient and calculates, and obtains the brightness related coefficient of input picture R, G, B passage
Figure FSB00000296442400011
coff x i = x i Y max ,
x iThe corresponding R of expression input image pixels point i, G, B passage, Y MaxExpression input image lightness maximal value;
Brightness value s after step (5) obtains airspace homographic filtering (x, y) after, recover the RGB image, obtain image behind the airspace homographic filtering:
cl i = coff x i × s ( x , y ) ,
Cl iThe corresponding R of remarked pixel point i, G, B passage.
CN2008101479215A 2008-12-19 2008-12-19 Image self-adapting airspace homographic filtering method Expired - Fee Related CN101488218B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101479215A CN101488218B (en) 2008-12-19 2008-12-19 Image self-adapting airspace homographic filtering method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101479215A CN101488218B (en) 2008-12-19 2008-12-19 Image self-adapting airspace homographic filtering method

Publications (2)

Publication Number Publication Date
CN101488218A CN101488218A (en) 2009-07-22
CN101488218B true CN101488218B (en) 2011-02-09

Family

ID=40891099

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101479215A Expired - Fee Related CN101488218B (en) 2008-12-19 2008-12-19 Image self-adapting airspace homographic filtering method

Country Status (1)

Country Link
CN (1) CN101488218B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101763641B (en) * 2009-12-29 2011-09-14 电子科技大学 Method for detecting contour of image target object by simulated vision mechanism
CN102750682B (en) * 2012-07-17 2016-01-27 中国矿业大学(北京) A kind of image pre-processing method processing miner face image and coal face uneven illumination
CN106052759A (en) * 2016-05-24 2016-10-26 扬州市东宇环保设备有限公司 Environment monitoring method
CN107920186A (en) * 2017-11-20 2018-04-17 江西服装学院 A kind of video playing control method and device
CN109472755A (en) * 2018-11-06 2019-03-15 武汉高德智感科技有限公司 A kind of domain infrared image logarithm LOG Enhancement Method
CN110276764A (en) * 2019-05-29 2019-09-24 南京工程学院 K-Means underwater picture background segment innovatory algorithm based on the estimation of K value

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1050957A (en) * 1989-10-07 1991-04-24 上海工业大学 The anti-fading reception homomorphism of zero cross signal homomorphism processing method and shortwave processing method
CN101009757A (en) * 2006-12-20 2007-08-01 北京理工大学 A digital watermark embedding and extraction algorithm for space domain and small wave domain double sub-set

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1050957A (en) * 1989-10-07 1991-04-24 上海工业大学 The anti-fading reception homomorphism of zero cross signal homomorphism processing method and shortwave processing method
CN101009757A (en) * 2006-12-20 2007-08-01 北京理工大学 A digital watermark embedding and extraction algorithm for space domain and small wave domain double sub-set

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
JP特开2007-149092A 2007.06.14
冯春等.一种改进的遥感图像薄云快速去除方法.《国土资源遥感》.2004,(第4期),1-3,18. *
王骐等.基于同态滤波与自适应模糊多级中值滤波级联算法的散斑噪声污染图像恢复.《中国激光》.2001,第28卷(第7期),587-589. *

Also Published As

Publication number Publication date
CN101488218A (en) 2009-07-22

Similar Documents

Publication Publication Date Title
CN101488218B (en) Image self-adapting airspace homographic filtering method
CN105303532B (en) A kind of wavelet field Retinex image defogging methods
CN103530848A (en) Double exposure implementation method for inhomogeneous illumination image
CN101452575B (en) Image self-adapting enhancement method based on neural net
CN108122213A (en) A kind of soft image Enhancement Method based on YCrCb
CN102789635B (en) Image enhancement method and image enhancement device
CN102096909B (en) Improved unsharp masking image reinforcing method based on logarithm image processing model
CN104574293A (en) Multiscale Retinex image sharpening algorithm based on bounded operation
CN106897981A (en) A kind of enhancement method of low-illumination image based on guiding filtering
CN103177429A (en) FPGA (field programmable gate array)-based infrared image detail enhancing system and method
CN107408296A (en) Real-time noise for high dynamic range images eliminates and the method and system of image enhaucament
CN102682436A (en) Image enhancement method on basis of improved multi-scale Retinex theory
CN104881853A (en) Skin color rectification method and system based on color conceptualization
CN103295206B (en) A kind of twilight image Enhancement Method and device based on Retinex
CN101478689B (en) Image irradiation correcting system based on color domain mapping
CN105205794A (en) Synchronous enhancement de-noising method of low-illumination image
KR20070039347A (en) Method and system for enhancement color image quality
CN102208101A (en) Self-adaptive linearity transformation enhancing method of infrared image
RU2298223C2 (en) System and method for correcting dark tones on digital photographs
CN107862666A (en) Mixing Enhancement Methods about Satellite Images based on NSST domains
CN104021531A (en) Improved method for enhancing dark environment images on basis of single-scale Retinex
CN108648160B (en) Underwater sea cucumber image defogging enhancement method and system
CN102789634B (en) A kind of method obtaining illumination homogenization image
CN109658343A (en) The underwater picture Enhancement Method of color combining conversion and adpative exposure
Peng et al. Multi-algorithm fusion of RGB and HSV color spaces for image enhancement

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110209

Termination date: 20151219

EXPY Termination of patent right or utility model