CN102629368B - Color image vignetting recovery method based on illumination surface modeling - Google Patents

Color image vignetting recovery method based on illumination surface modeling Download PDF

Info

Publication number
CN102629368B
CN102629368B CN201210045873.5A CN201210045873A CN102629368B CN 102629368 B CN102629368 B CN 102629368B CN 201210045873 A CN201210045873 A CN 201210045873A CN 102629368 B CN102629368 B CN 102629368B
Authority
CN
China
Prior art keywords
image
vignetting
modeling
original
color
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210045873.5A
Other languages
Chinese (zh)
Other versions
CN102629368A (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.)
Tianjin Bohua Xinchuang Technology Co.,Ltd.
Original Assignee
Tianjin 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 Tianjin University filed Critical Tianjin University
Priority to CN201210045873.5A priority Critical patent/CN102629368B/en
Publication of CN102629368A publication Critical patent/CN102629368A/en
Application granted granted Critical
Publication of CN102629368B publication Critical patent/CN102629368B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)

Abstract

The invention belongs to the computer image processing field and relates to a color image vignetting recovery method based on illumination surface modeling. The method comprises the following steps: converting an original color vignetting image into an HSI space; extracting foreground and background regions of the vignetting image; using a color image decomposition technology to realize the decomposition of a structure and a texture of the original color vignetting image and acquire a color structure image, and converting the color structure image into the HSI space; in the background region of the image, selecting central points according to an uniformity principle; calculating a radial distance between any two central points; modeling all the points to be modeled and acquiring a curved surface after the modeling; taking the curved surface acquired through modeling as a vignetting function so as to acquire the color image after the vignetting recovery. The method of the invention has a good adaptability and is easy to be realized in a real project.

Description

A kind of coloured image vignetting restored method based on illumination surface modeling
Technical field
The invention belongs to Computer Image Processing field, relate to a kind of vignetting restored method of coloured image.
Background technology
Camera, when remote imaging, along with the increase of field angle, can will reduce by the skew ray area of beam area of photographic lens imaging gradually, and this can cause image bright in the middle of occurring, the phenomenon that edge is dark, Here it is gradual halation phenomena.The existence of gradual halation phenomena can cause image irradiation condition to change, the accuracy rate of target detection, image registration, image co-registration scheduling algorithm is reduced greatly, must be eliminated, vignetting restores the important research content that has become the fields such as remote sensing image processing, computer vision at present, has important Research Significance and actual application value.
Obtaining correct vignetting function is to realize the key that image vignetting restores.Traditional images vignetting restored method normally calculates vignetting function according to relevant optics and geometric parameter, or by related experiment, determines vignetting function in advance, lacks adaptivity, is difficult to realize in Practical Project.Wherein, 1) traditional optics and geometric restitution method have tight theoretical foundation, can obtain vignetting function accurately, but precondition is to understand the correlation technique parameter of camera, and the relevant informations such as distance of camera and target while taking, this is often difficult to realization in Practical Project.2) first the method based on look-up table (LUT) and the matching of lining by line scan need to utilize standard video (as specific pattern on blank sheet of paper) to test, to obtain the table of comparisons that affects coefficient of vignetting, the recycling table of comparisons, carries out vignetting recovery by lining by line scan to image.The method need to utilize standard video to obtain image vignetting function reference table in advance, and simultaneously each shooting all must meet identical condition, and this has also limited its application in Practical Project to a great extent.
Summary of the invention
In order to address the above problem, the present invention proposes a kind of coloured image vignetting restored method based on illumination surface modeling, its objective is without any optics, geometric parameter information, do not need to utilize in advance template to carry out under the condition of related experiment simultaneously yet, only according to the Illumination Distribution of colored vignetting image own, utilize the method for three-dimensional modeling to obtain its vignetting function, thereby realize the automatic recovery of image gradual halation phenomena.
The coloured image vignetting restored method that the present invention proposes, mainly comprises following step:
A coloured image vignetting restored method for illumination surface modeling, mainly comprises following step:
1) original color vignetting image f is transformed into HSI space from rgb space, obtains the image f in H, S, tri-passages of I h, f s, f i; Extract prospect and the background area of vignetting image;
2) utilize coloured image decomposition technique, realize the decomposition of original color vignetting picture structure and texture, obtain its colored structural images f u; By image f ube transformed into HSI space, obtain I channel architecture image I u; At I uin the background area of image, according to homogeneity principle Selection Center point;
3) calculate any two central point p i, p jbetween radial distance
Figure BDA0000138704190000021
1≤i, j≤M, wherein || || represent Euclidean distance, M represents central point sum;
4) calculate I channel architecture image I uat each central point p ithe pixel value I at place i; According to formula
Figure BDA0000138704190000022
calculating parameter c i, 1≤i≤M; If certain treats that modeling point is for (x, y), calculate and treat modeling point (x, y) and each central point p ibetween radial distance, d i(x, y), 1≤i≤M, according to formula calculate the pixel value after this dot image modeling; Repeat above-mentioned steps, complete the modeling for the treatment of modeling point to all, obtain the curved surface I ' after modeling;
5) using I ' that modeling obtains as vignetting function, utilize itself and original image f i, and normal illumination surface f irelation between ' three: f i'=f i/ I ', recovers the original vignetting image of I passage f inormal illumination surface f i'; Utilize the illumination surface f after recovering ithe original vignetting image of ' replacement I passage f i, the original image f in H, S Color Channel h, f sconstant, image is transformed into rgb space from HIS space, obtain the coloured image after vignetting restores.
The present invention is before carrying out modeling to image illumination surface, and the method for first utilizing coloured image to decompose extracts the structural information of original color image, realizes the smothing filtering of protecting edge, makes image illumination surface meet the requirement of whole flatness; This measure can effectively reduce the conditional number of solution matrix, improves the accuracy of image modeling.By modeling is carried out in original color vignetting image illumination surface, the vignetting function of picture of can direct estimation publishing picture, and then realize the automatic recovery of image gradual halation phenomena; Because the present invention is without any need for optics, and geometric parameter information during photograph taking, do not need to utilize in advance template to carry out related experiment yet, therefore there is good adaptivity, in Practical Project, be easy to realize.
Accompanying drawing explanation
Fig. 1 is the coloured image vignetting restored method theory diagram based on illumination surface modeling.
Fig. 2 has provided coloured image modeling and vignetting recovery effect.Wherein, Fig. 2 (a) is original color vignetting image; The structural images of Fig. 2 (b) for utilizing coloured image decomposition technique to obtain; Fig. 2 (c) is vignetting display foreground extracted region effect; The relevant central point of Fig. 2 (d) for choosing, wherein " o " represents central point position; Fig. 2 (e) and Fig. 2 (f) are respectively the illumination surface three-dimensional distribution map before and after colored vignetting structural images I component modeling; Fig. 2 (g) and Fig. 2 (h) are respectively the illumination surface energy profile before and after colored vignetting structural images I component modeling; The vignetting recovery effect figure that Fig. 2 (i) utilizes the inventive method to obtain.
Embodiment:
As everyone knows, under identical illumination condition, Illumination Distribution in identical texture region should meet the feature of asymptotic variation, yet real image is comprised of different texture mostly, due to the difference of reflection coefficient, even under identical illumination condition, the illumination surface distributed of different texture also can distort, therefore can not be by modeling be carried out in whole image illumination surface, and the global illumination that obtains image distributes.
It should be noted that, nearly all natural image is all comprised of prospect and background area, foreground area how complicated no matter, but its background area is comprised of single texture often, that is to say, the Illumination Distribution in most of image background regions can both meet the feature of asymptotic variation.Therefore, the present invention intends choosing relevant central point from having in the background area of identical texture, and utilizes above-mentioned central point to carry out modeling to integral image Illumination Distribution, and then obtains the whole vignetting function of image, to realize the recovery of image gradual halation phenomena.At present existing several different methods can realize effective extraction in display foreground region, in the present invention, repeats no more.Below the present invention is described in detail.
1, coloured image decomposes
The object that coloured image decomposes is from original color image, to extract its structural images and texture image, the former mainly comprises the low-frequency information of image, can realize the smothing filtering of protecting edge, the latter mainly comprises the high-frequency informations such as details of image, be that original image f can be decomposed into structure division u and texture part v, and meet and be related to f=u+v.Coloured image decomposes can adopt several different methods, if document [1] is (referring to Luminita A.Vese, Stanley J.Osher. " Color texture modeling and color image decomposition in a variational-PDE approach, " Proceedings of the Eighth International Symposium on Symbolic and Numeric Algorithms for Scientific Computing (SYNASC ' 06), 2006, pp.103-110.) point out, from original image f, extract its structural images u, can be regarded as a function minimization problem with fixed boundary, its energy functional minimum model can be expressed as:
inf u , g 1 , g 2 { ∫ | ▿ u | + λ ∫ | f - u - ∂ x g 1 - ∂ x g 2 | 2 dxdy + μ [ ∫ ( g 1 2 + g 2 2 ) p dxdy ] 1 p } - - - ( 1 )
Wherein, λ, μ, p is prior selected correlation parameter, inf{} representative makes function { } reach minimum value,
Figure BDA0000138704190000032
Figure BDA0000138704190000033
conversion vector, u x, u ythe single order local derviation of difference representative structure image to ranks coordinate, the gradient of representative structure image.
By formula (1) respectively to u, g 1, g 2ask local derviation, can obtain relevant Euler-Lagrange equation.Utilize alternative manner to solve, just can obtain structural images u.At tri-color spaces of RGB, repeat aforesaid operations, can realize the automatic classifying of coloured image.
Document [2] (can be referring to Jean-Francois Aujol, Sung Ha Kang. " Color image decomposition and restoration. " Journal of Visual Communication and Image Representation, 2006,17 (4), pp:916-928.) be to carry out picture breakdown according to the brightness of image and colourity, be about to structural images u and be divided into colourity u cwith brightness u btwo parts, and meet and be related to u=u c* u b; In like manner, there is f=f c* f b, v=v c* v b, f=u+v, f wherein, v represents respectively original image and texture image; Can be according to minimum model
Figure BDA0000138704190000035
solve structural images u, wherein
Figure BDA0000138704190000036
r, g, b is the RGB passage of representative image respectively,
Figure BDA0000138704190000037
the gradient of representative structure image; Recycling is related to that v=f-u solves texture image v, can realize the automatic classifying of coloured image.
The method that the present embodiment adopts document [1] to provide is carried out the automatic classifying of colored vignetting image.In the present invention, iteration initial value is made as respectively u 0=.f,
Figure BDA0000138704190000041
wherein f is original image, f x, f ythe single order local derviation of difference representative image to ranks coordinate,
Figure BDA0000138704190000043
the gradient of representative image.Related parameter choosing is λ=0.01, μ=0.2, p=1; Inventor's research in earlier stage shows, chooses above-mentioned parameter and can realize to a great extent the smothing filtering that image is protected edge, reduces noise and additional interference as far as possible, improves modeling effect.
2, image illumination surface modeling
In recent years, the method based on radial basis function has been widely used in the three-dimensional modeling of the smooth energy field such as light stream, energy distribution, electromagnetic field or smooth surface.The present invention is incorporated into image processing field by above-mentioned model, and has carried out corresponding improvement.Different from traditional light stream or energy field distribution, the illumination curved surface fluctuation of real image surface is violent, cannot meet the requirement of whole flatness, can not utilize classic method directly image to be carried out to modeling.In order to address the above problem, before modeling is carried out in image illumination surface, the method [1] that first the present invention utilizes coloured image to decompose extracts the structural information of original color image, realizes the smothing filtering of protecting edge, makes image illumination surface meet the requirement of whole flatness; This measure can effectively reduce the conditional number of solution matrix, improves the accuracy of image modeling.
If integral image region is modeling region Ω, on Ω, choose equably N * N point, remove the point in foreground area, remaining point is designated as to central point p k, 1≤k≤M, the central point that utilization is chosen, imaging surface illumination is carried out to modeling, concrete grammar can be referring to ([3] L.Ling and E.J.Kansa, " A least-squares preconditioner for radial basis functions collocation methods, " Advances in Computational Mathematics, vol.23, pp.31-54, 2005.) or ([4] Y.Duan, P.F.Tang, T.Z.Huang and S.J.Lai, " Coupling projection domain decomposition method and Kansa ' s method in elcectrostatic problems, " Computer physics Communications, vol.180, pp.209-214, 2009.) the present invention adopts the image function value at each point place after the method computation modeling that document [4] provides.Take gray level image as example, and concrete steps are as follows:
1) utilize picture breakdown technology, realize the automatic classifying of original image structure and texture, obtain its structural images I u, in its known region, according to homogeneity principle Selection Center point;
2) calculate any two central point p i, p jbetween radial distance
Figure BDA0000138704190000044
1≤i, j≤M, wherein || || represent Euclidean distance, M represents central point sum;
3) computation structure image I uat each central point p ithe pixel value I at place i; According to formula
Figure BDA0000138704190000045
calculating parameter c i, 1≤i≤M;
4) calculate and treat modeling point (x, y) and each central point p ibetween radial distance, d i(x, y), 1≤i≤M, according to formula
Figure BDA0000138704190000051
the pixel value I ' (x, y) that after computed image modeling, point (x, y) is located;
5) repeat above-mentioned steps, complete to modeling a little, obtain the curved surface I ' after modeling.
3, vignetting restores
The vignetting model providing according to Kang Weiss, vignetting image f ' (x, y) can be expressed as: f ' (x, y)=f (x, y) * I (x, y), wherein f (x, y) represents original image, I (x, y) represents vignetting function.Therefore, obtain after vignetting function I (x, y), only need utilize to be related to and can to recover original image by f (x, y)=f ' (x, y)/I (x, y), thereby realize the removal of gradual halation phenomena.
In the present invention, we only carry out modeling to image I passage, utilize the illumination surface f after recovering ithe original vignetting image of ' replacement I passage f i, the original image f in H, S Color Channel h, f sconstant; Recycling color of image space conversion formula, is transformed into rgb space by image from HIS space, can obtain the coloured image after vignetting restores.
From Fig. 2 (b), can find out, compare with original graph 2 (a), after coloured image resolution process, image has been realized level and smooth significantly under the former marginate condition of maintenance, the flatness requirement of effects on surface illumination while having guaranteed image modeling, effectively remove additional noise and interference, improved modeling effect.
From Fig. 2 (f) and Fig. 2 (h), can find out, utilize background area to carry out after modeling image, integral image illumination patterns presents the trend of asymptotic variation, and consistent with traditional vignetting illumination patterns model, and middle high, edge is low; Therefore can be used for reflecting the illumination patterns of integral image.From Fig. 2 (i), can find out, utilize method of the present invention, the gradual halation phenomena of image has obtained effective inhibition, has obtained gratifying result.

Claims (1)

1. the coloured image vignetting restored method based on illumination surface modeling, mainly comprises following step:
1) original color vignetting image f is transformed into HSI space from rgb space, obtains the image f in H, S, tri-passages of I h, f s, f i; Extract prospect and the background area of original color vignetting image f;
2) utilize coloured image decomposition technique, realize the decomposition of original color vignetting image f structure and texture, obtain its colored structural images f u; By colored structural images f ube transformed into HSI space, obtain I channel architecture image I u; In I channel architecture image I ubackground area in, according to homogeneity principle Selection Center point;
3) calculate any two central point p i, p jbetween radial distance wherein || || represent Euclidean distance, M represents central point sum;
4) calculate I channel architecture image I uat each central point p ithe pixel value I at place i; According to formula
Figure FDA0000414379400000012
calculating parameter c i, 1≤i≤M; If certain treats that modeling point is for (x, y), calculate and treat modeling point (x, y) and each central point p ibetween radial distance, d i(x, y), 1≤i≤M, according to formula
Figure FDA0000414379400000013
calculate this pixel value after the modeling of modeling dot image; Repeat above-mentioned steps, complete the modeling for the treatment of modeling point to all, obtain the curved surface I ' after modeling;
5) using I ' that modeling obtains as vignetting function, utilize itself and original image f i, and normal illumination surface f irelation between ' three: f i'=f i/ I', recovers the original vignetting image of I passage f inormal illumination surface f i'; Utilize the illumination surface f after recovering ithe original vignetting image of ' replacement I passage f i, the original image f in H, S Color Channel h, f sconstant, image is transformed into rgb space from HIS space, obtain the coloured image after vignetting restores.
CN201210045873.5A 2012-02-27 2012-02-27 Color image vignetting recovery method based on illumination surface modeling Active CN102629368B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210045873.5A CN102629368B (en) 2012-02-27 2012-02-27 Color image vignetting recovery method based on illumination surface modeling

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210045873.5A CN102629368B (en) 2012-02-27 2012-02-27 Color image vignetting recovery method based on illumination surface modeling

Publications (2)

Publication Number Publication Date
CN102629368A CN102629368A (en) 2012-08-08
CN102629368B true CN102629368B (en) 2014-02-05

Family

ID=46587626

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210045873.5A Active CN102629368B (en) 2012-02-27 2012-02-27 Color image vignetting recovery method based on illumination surface modeling

Country Status (1)

Country Link
CN (1) CN102629368B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106971453B (en) * 2017-04-06 2020-01-14 深圳怡化电脑股份有限公司 Paper money fragment splicing method and device
CN111260573B (en) * 2020-01-13 2023-06-02 浙江未来技术研究院(嘉兴) Method for eliminating vignetting phenomenon in operation microscopic imaging
CN113393389B (en) * 2021-06-02 2022-05-31 武汉博宇光电系统有限责任公司 Image enhancement method without artificial halation
CN114240788B (en) * 2021-12-21 2023-09-08 西南石油大学 Complex scene-oriented robustness and adaptive background restoration method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5987164A (en) * 1997-08-01 1999-11-16 Microsoft Corporation Block adjustment method and apparatus for construction of image mosaics
US20030128877A1 (en) * 2002-01-09 2003-07-10 Eastman Kodak Company Method and system for processing images for themed imaging services
CN2646794Y (en) * 2003-06-24 2004-10-06 中国科学院光电技术研究所 Equipment for implementing infrared image background compensation by using digital image processing module

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5987164A (en) * 1997-08-01 1999-11-16 Microsoft Corporation Block adjustment method and apparatus for construction of image mosaics
US20030128877A1 (en) * 2002-01-09 2003-07-10 Eastman Kodak Company Method and system for processing images for themed imaging services
CN2646794Y (en) * 2003-06-24 2004-10-06 中国科学院光电技术研究所 Equipment for implementing infrared image background compensation by using digital image processing module

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
Coupling projection domain decomposition method and Kansa"s method in electrostatic problems;Y. Duan et al;《Computer Physics Communications》;20091231;第180卷;209-214页 *
Luminita A. Vese,Stanley J. Osher.Color texture modeling and color image decomposition in a variational-PDE approach.《Proceedings of the Eighth International Symposium on Symbolic and Numeric Algorithms for Scientific Computing》.2006, *
Robust Radiometric Calibration and bignetting correction;Seon Joo Kim,Marc Pollefeys;《IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE》;20080430;第30卷(第4期);562-576页 *
Seon Joo Kim,Marc Pollefeys.Robust Radiometric Calibration and bignetting correction.《IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE》.2008,第30卷(第4期),562-576页.
Y. Duan et al.Coupling projection domain decomposition method and Kansa"s method in electrostatic problems.《Computer Physics Communications》.2009,第180卷209–214页.

Also Published As

Publication number Publication date
CN102629368A (en) 2012-08-08

Similar Documents

Publication Publication Date Title
WO2018024030A1 (en) Saliency-based method for extracting road target from night vision infrared image
CN107169475B (en) A kind of face three-dimensional point cloud optimized treatment method based on kinect camera
CN104063702B (en) Three-dimensional gait recognition based on shielding recovery and partial similarity matching
Wang et al. Variational single nighttime image haze removal with a gray haze-line prior
CN103578084A (en) Color image enhancement method based on bright channel filtering
CN105551061A (en) Processing method for retaining ghosting-free moving object in high-dynamic range image fusion
Zhang et al. A unified framework for document restoration using inpainting and shape-from-shading
CN101137003A (en) Gray associated analysis based sub-pixel fringe extracting method
CN103914813A (en) Colorful haze image defogging and illumination compensation restoration method
CN106897986B (en) A kind of visible images based on multiscale analysis and far infrared image interfusion method
CN102629368B (en) Color image vignetting recovery method based on illumination surface modeling
CN104966274B (en) A kind of On Local Fuzzy restored method using image detection and extracted region
CN110245600B (en) Unmanned aerial vehicle road detection method for self-adaptive initial quick stroke width
CN111242864A (en) Finger vein image restoration method based on Gabor texture constraint
CN105096272A (en) De-hazing method based on dual-tree complex wavelet
CN101286236B (en) Infrared object tracking method based on multi- characteristic image and average drifting
CN103218811A (en) Statistical distribution-based satellite multi-spectral image waveband registration method
CN103400343A (en) Method for compensating uneven brightness of bottom view image under nighttime infrared
CN108021857B (en) Building detection method based on unmanned aerial vehicle aerial image sequence depth recovery
CN102629369B (en) Single color image shadow removal method based on illumination surface modeling
CN103778625A (en) Surface feature intelligent searching technique based on remote sensing image variation detecting algorithm
CN103533332A (en) Image processing method for converting 2D video into 3D video
CN103218820A (en) Camera calibration error compensation method based on multi-dimensional characteristics
CN105303538A (en) Gauss noise variance estimation method based on NSCT and PCA
CN103093241B (en) Based on the remote sensing image nonuniformity cloud layer method of discrimination of homogeneity process

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210907

Address after: Room 109, no.1866, Bohai 12th Road, Port Economic Zone, Binhai New Area, Tianjin 300452

Patentee after: Tianjin Bohua Xinchuang Technology Co.,Ltd.

Address before: 300072 Tianjin City, Nankai District Wei Jin Road No. 92

Patentee before: Tianjin University

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20120808

Assignee: Siteng Heli (Tianjin) Technology Co.,Ltd.

Assignor: Tianjin Bohua Xinchuang Technology Co.,Ltd.

Contract record no.: X2023980048679

Denomination of invention: A Color Image Fading Restoration Method Based on Illumination Surface Modeling

Granted publication date: 20140205

License type: Common License

Record date: 20231129