CN105072341A - High dynamic range reality scene information reconstruction method available for machine vision - Google Patents

High dynamic range reality scene information reconstruction method available for machine vision Download PDF

Info

Publication number
CN105072341A
CN105072341A CN201510492628.2A CN201510492628A CN105072341A CN 105072341 A CN105072341 A CN 105072341A CN 201510492628 A CN201510492628 A CN 201510492628A CN 105072341 A CN105072341 A CN 105072341A
Authority
CN
China
Prior art keywords
ssr
retinex
dynamic range
image
high dynamic
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
CN201510492628.2A
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.)
Shenzhen Sanbao innovation and intelligence Co., Ltd.
Original Assignee
QIHAN 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 QIHAN TECHNOLOGY Co Ltd filed Critical QIHAN TECHNOLOGY Co Ltd
Priority to CN201510492628.2A priority Critical patent/CN105072341A/en
Publication of CN105072341A publication Critical patent/CN105072341A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Abstract

The invention discloses a high dynamic range reality scene information reconstruction method available for machine vision. The method comprises following steps of firstly, performing parameter integration on an input high dynamic range (HDR) image, and determining a weight factor and a scale constant of each single scale Retinex (SSR); then performing SSR processing; averaging weights of a plurality of different scales of SSR processing results into multi-scale retinex (MSR); and performing gain/skewing processing. According to the method, a rapid bilateral filter replaces a Gaussian filter in traditional Retinex, so that a "halation" phenomenon is prevented, and the algorithm speed of the method is improved; as a semi-automatic gain/skewing method is provided, the contrast ratio of a final image is effectively improved; and a lot of parameters in a traditional center/surrounding Retinex method are integrated reasonably, a unique user parameter is resolved, and the unique user parameter allows the user to balance between calculation speed and image quality.

Description

A kind of high dynamic range reality scene signal reconstruct method that can be used for machine vision
Technical field
The present invention relates to digital image processing field, specifically a kind of high dynamic range reality scene signal reconstruct method that can be used for machine vision.
Background technology
How making robot can better understand operational environment residing for it, or have the Context aware ability similar with intelligent life body, is that Chinese scholars is paid close attention to and the challenging research topic of actively investigation for a long time.Therefore, propose a kind of reality scene signal reconstruct method that can be used for machine vision to have great importance.
High dynamic range HDR image is a kind of strong tools that can store natural scene monochrome information.But, the brightness value of natural scene spans a lot of order of magnitude, and the dynamic range of general display device and printing device is only 2 orders of magnitude, map HDR image on lower display device simply by linear transformation, often cause the detailed information of highlight regions and dark areas seriously to be lost.Become compared with the details of dark areas and not easily identify from black, and the details of highlight regions becomes and not easily differentiates from white.In order to meet the demand of machine vision perception true environment, need to carry out signal reconstruct to the HDR image collected.
Retinex theory is that Land one of proposing is used for explaining under the illumination condition of change, and vision system is the color theory of how obtaining information from natural scene.Land found through experiments, and when eye-observation natural scene, the brightness values inciding natural daylight radiation value on human eye retina and scenery surface has nothing to do.According to this experiment conclusion, target image is divided into reflector and illumination layer by Retinex method, reaches compression of dynamic range and the object strengthening image afterwards by weakening the impact of illumination layer.Based on center/around Retinex method be non-iterative, the new value after process is provided by the ratio of the weighted average of this pixel and surrounding pixel point thereof.First this Retinex is proposed by Land, and has developed single scale Retinex (SSR) and multiple dimensioned Retinex (MSR) by Rahman.Center/circulating type Retinex method not only realizes and operates than being easier to, simultaneously than before the method for version, arithmetic speed significantly improves, and treatment effect is better, adopts the most extensive in actual applications.
MSR method is weighted on average by the SSR result of multiple different scale, includes the advantage of multiple yardstick, can obtain certain balance in dynamic range compression and associative perception maintenance.Although " halation " phenomenon can not be eliminated completely, can weaken " halation ", make the treatment effect of image more desirable.But simultaneously also there is weight factor to be not easy to determine, and the problem that amount of calculation is excessive.Gain/skew refers to after Retinex method, in order to allow image obtain better display effect, intercepts the signal side-play amount that a histogrammic part is minimum and maximum.
Problem when center/circulating type Retinex is visual for HDR image: parameter problem, ease for use has become in Development of Consumer Electronic Products the major issue needing to consider.And the number of customer parameter becomes and weighs the important index of of ease for use.If be made up of N number of SSR in MSR, then the customer parameter of each SSR has: weight factor wn, intercepts threshold value Tth and Tdown around the scale parameter c of function and two of gain/skew.So the customer parameter of MSR be 4 × N number of.As N=6, the parameter that MSR needs user to set reaches 24.And this each parameter can have an impact to last image effect.This is obviously not suitable for being applied in the middle of consumer electronics product.Halo problem, utilize SSR process effectively can improve the visual effect of high dynamic range images, but obviously locate to produce " halation " phenomenon at comparison of light and shade, although and MSR process can weaken " halation " phenomenon to a certain extent, effect is also imperfect.And due to the problem of parameter and amount of calculation, limit its application.Contrast problem, in order to obtain better picture quality, center/circulating type Retinex uses the method for gain/skew clamp to strengthen result images.Gain/skew refers to after Retinex method, in order to allow image obtain better display effect, intercepts the signal side-play amount that a histogram part is minimum and maximum.But traditional gain/skew clamp approaches is also not suitable for HDR image, and the contrast of the result images of generation is too low.
Summary of the invention
The object of the present invention is to provide a kind of high dynamic range reality scene signal reconstruct method that can be used for machine vision that improve computational speed and final image contrast, to solve the problem proposed in above-mentioned background technology.
For achieving the above object, the invention provides following technical scheme:
Can be used for a high dynamic range reality scene signal reconstruct method for machine vision, concrete steps are as follows:
(1) HDR image inputted, first through parameter integration, determines weight factor and the scale parameter of the SSR of each single scale;
(2) carry out SSR process after determining the weight factor of each SSR and scale parameter, the mathematical form of SSR method is shown below:
R i(x, y)=logI i(x, y)-log [F (x, y) * I i(x, y)] (formula 1)
Wherein R i(x, y) is the output of Retinex at i-th color spectral coverage, the i.e. brightness value of coordinate (x, y) position, and * represents convolution algorithm, and F (x, y) is around function, and form is:
F (x, y)=K.exp [-(x 2+ y 2)/c 2] (formula 2)
Wherein c is the scale parameter of Gauss around function, and K is the normalization factor, makes:
∫ ∫ F (x, y) dxdy=1 (formula 3)
(3) weighted average of the SSR result of multiple different scale becomes MSR, and formula is as follows:
R M i ( x , y ) = Σ n = 1 N w n · { logI i ( x , y ) - log [ F n ( x , y ) * I i ( x , y ) ] } (formula 4)
Wherein R mi(x, y) is the output of multiple dimensioned Retinex at i-th color spectral coverage, and N is SSR number, and Wn is the weights of each SSR corresponding, F n(x, y) be the n-th SSR around function;
(4) carry out the process of gain/skew: by image normalization, then histogram is divided into 11 intervals, counts the number of the pixel in each interval, with 5% of maximum in histogram for threshold value, calculate the bound of the intercepting threshold value of this image.
As the further scheme of the present invention: described step (2) uses quick bilateral filtering to replace gaussian filtering in the process of SSR process.
As the present invention's further scheme: the processing method of the gain/skew in described step (4) is semi-automatic gain/skew.
Compared with prior art, the invention has the beneficial effects as follows:
The present invention uses quick bilateral filtering to instead of gaussian filtering in traditional Retinex, in so avoiding " halation " phenomenon, and improves the computational speed of method; Propose a kind of semi-automatic gain/offset method, the method, independent of color channel, calculates the bound intercepting threshold value automatically, effectively raises the contrast of final image according to different picture materials; A large amount of parameter in the middle of traditional center/circulating type Retinex method has been carried out rational integration, has summed up unique customer parameter, this parameter makes user can average out between computational speed and picture quality; The present invention can be used for consumer digital camera, in the middle of the image rendering software in machine vision environment sensing and later stage.
Accompanying drawing explanation
Fig. 1 is method structured flowchart of the present invention.
Fig. 2 is histogram schematic diagram in the present invention.
Embodiment
Be described in more detail below in conjunction with the technical scheme of embodiment to this patent.
Can be used for a high dynamic range reality scene signal reconstruct method for machine vision, concrete steps are as follows:
(1) HDR image inputted, first through parameter integration, determines weight factor and the scale parameter of the SSR of each single scale; Form due to HDR image has a variety of, so in order to make the parameter of specifying more representative, first the HDR image of input operates through normalization;
(2) carry out SSR process after determining the weight factor of each SSR and scale parameter, in the process of SSR process, use quick bilateral filtering to replace gaussian filtering, the mathematical form of SSR method is shown below:
R i(x, y)=logI i(x, y)-log [F (x, y) * I i(x, y)] (formula 1)
Wherein R i(x, y) is the output of Retinex at i-th color spectral coverage, the i.e. brightness value of coordinate (x, y) position, and * represents convolution algorithm, and F (x, y) is around function, and form is:
F (x, y)=K.exp [-(x 2+ y 2)/c 2] (formula 2)
Wherein c is the scale parameter of Gauss around function, and K is the normalization factor, makes:
∫ ∫ F (x, y) dxdy=1 (formula 3)
(3) weighted average of the SSR result of multiple different scale becomes MSR, and formula is as follows:
R M i ( x , y ) = Σ n = 1 N w n · { logI i ( x , y ) - log [ F n ( x , y ) * I i ( x , y ) ] } (formula 4)
Wherein R mi(x, y) is the output of multiple dimensioned Retinex at i-th color spectral coverage, and N is SSR number, and Wn is the weights of each SSR corresponding, F n(x, y) be the n-th SSR around function;
(4) process of gain/skew is carried out: the processing method of gain/skew is semi-automatic gain/skew, by image normalization, then histogram is divided into 11 intervals, count the number of the pixel in each interval, with 5% of maximum in histogram for threshold value, calculate the bound of the intercepting threshold value of this image.
In instances, adopt method process HDR image of the present invention, its processing procedure is as follows:
(1) HDR image inputted is first through parameter integration, determine weight factor and the scale parameter of each SSR, form due to HDR image has a variety of, so in order to make the parameter of specifying more representative, first the HDR image of input operates through normalization.
All unknown parameters in the improved method that this method proposes are as shown in table 1:
All unknown parameters in the improved method that table 1 this method proposes
Wherein N value be greater than 0 positive integer, be the unique customer parameter in this method, can be used for obtaining the balance between image effect and method amount of calculation.When N value is larger, image effect is better, and corresponding amount of calculation is also larger; When N value more hour, computational speed is faster, but picture quality also can decline.
When N=1, the method that this method proposes is SSR, c 1be the spatial domain scale parameter in quick bilateral filtering method, this method gets 1/10 of the smaller value in original image length and width, that is: c 1=min (length, width)/10.C 2it is the brightness domain scale parameter in quick bilateral filtering method.Owing to having carried out normalization operation above, the maximum of brightness domain has been 1, and minimum value is minimum (due to logarithm operation, replacing 0 by minimum).Therefore our decree c 2=0.1.
When N is the odd number being greater than 1, first calculate the space scale constant c being in the SSR of Median Position 1.Small-scale Space constant successively decreases with the multiple of 2 successively, is respectively 1/2*c 1, 1/4*c 1, 1/8*c 1, 1/16*c 1by that analogy.Large-scale dimension constant increases progressively with the multiple of 2 successively, is respectively 2*c 1, 4*c 1, 8*c 1, 16*c 1by that analogy.In like manner, the brightness domain scale parameter c of the SSR of Median Position is in 2=0.1.Small scale brightness domain constant successively decreases with the multiple of 2 successively, is respectively 1/2*c 2, 1/4*c 2, 1/8*c 2, 1/16*c 2by that analogy.Large scale brightness domain constant increases progressively with the multiple of 2 successively, is respectively 2*c 2, 4*c 2, 8*c 2, 16*c 2by that analogy.
When N is the even number being greater than 1, first N+1 is become odd number by this method, after having determined the scale parameter of each SSR, then removes the SSR being in Median Position according to method above.
Wn is the weight factor of each SSR, our decree Wn=1/N, like this by regulating N value, the SSR of different scale also can be made to have different weights.
Parameter Tup and Tlow then determines according to semi-automatic gain/offset method.
(2) SSR process is carried out after determining the weight factor of each SSR and scale parameter, because the gaussian filtering in traditional SSR can produce " halation " phenomenon, therefore the improved method that this method proposes uses quick bilateral filtering to instead of gaussian filtering, avoid the generation of " halation " phenomenon, and arithmetic speed is significantly increased.
The illumination estimate of bilateral filtering to image is as follows:
L ( s ) = 1 k ( s ) · Σ p ∈ Ω f ( p - s ) - g ( I p - I s ) I p (formula 5)
Wherein
k ( s ) = Σ p ∈ Ω f ( p - s ) g ( I p - I s ) (formula 6)
For normalization coefficient, Ω is overall diagram image field, Ip and Is is the pixel value at locus p and s place, f and g is respectively the weights kernel function in spatial domain and pixel grey scale territory, is usually all taken as Gaussian function.The size of these two Gaussian function cores is established to be respectively c in the method 1, c 2.
(3), after SSR weighted average is become MSR, image also needs the process carrying out gain/skew.Gain/skew refers to after Retinex method, in order to allow image obtain better display effect, intercepts the signal side-play amount that a histogrammic part is minimum and maximum.The modified model Retinex method that this method proposes adopts semi-automatic gain/migration processing, and wherein " semi-automatic " is although refer to that threshold value intercepting changes along with the change of picture material independent of Color Channel.Processing method is as follows: first by image normalization, then histogram is divided into 11 intervals, counts the number of the pixel in each interval.Experiment shows, use any one histogram can produce similar result, so semi-automatic gain/skew is independent of Color Channel, for the histogram of red channel, as shown in Figure 2, with 5% of maximum in histogram for threshold value, 5% is empirical value, calculate the bound of the intercepting threshold value of this image, the image color after semi-automatic gain/migration processing is more gorgeous, and contrast is stronger.
The present invention uses quick bilateral filtering to instead of gaussian filtering in traditional Retinex, in so avoiding " halation " phenomenon, and improves the computational speed of method; Propose a kind of semi-automatic gain/offset method, the method, independent of color channel, calculates the bound intercepting threshold value automatically, effectively raises the contrast of final image according to different picture materials; A large amount of parameter in the middle of traditional center/circulating type Retinex method has been carried out rational integration, has summed up unique customer parameter, this parameter makes user can average out between computational speed and picture quality; The present invention can be used for consumer digital camera, in the middle of the image rendering software in machine vision environment sensing and later stage.
Above the better embodiment of this patent is explained in detail, but this patent is not limited to above-mentioned execution mode, in the ken that one skilled in the relevant art possesses, various change can also be made under the prerequisite not departing from this patent aim.

Claims (3)

1. can be used for a high dynamic range reality scene signal reconstruct method for machine vision, it is characterized in that, concrete steps are as follows:
(1) HDR image inputted, first through parameter integration, determines weight factor and the scale parameter of the SSR of each single scale;
(2) carry out SSR process after determining the weight factor of each SSR and scale parameter, the mathematical form of SSR method is shown below:
(formula 1)
Wherein R i(x, y) is the output of Retinex at i-th color spectral coverage, the i.e. brightness value of coordinate (x, y) position, and * represents convolution algorithm, and F (x, y) is around function, and form is:
(formula 2)
Wherein cfor Gauss is around the scale parameter of function, kfor the normalization factor, make:
(formula 3)
(3) weighted average of the SSR result of multiple different scale becomes MSR, and formula is as follows:
(formula 4)
Wherein R mi(x, y) is the output of multiple dimensioned Retinex at i-th color spectral coverage, and N is SSR number, and Wn is the weights of each SSR corresponding, F n(x, y) be the n-th SSR around function;
(4) carry out the process of gain/skew: by image normalization, then histogram is divided into 11 intervals, counts the number of the pixel in each interval, with 5% of maximum in histogram for threshold value, calculate the bound of the intercepting threshold value of this image.
2. the high dynamic range reality scene signal reconstruct method that can be used for machine vision according to claim 1, is characterized in that, described step (2) uses quick bilateral filtering to replace gaussian filtering in the process of SSR process.
3. the high dynamic range reality scene signal reconstruct method that can be used for machine vision according to claim 1, is characterized in that, the processing method of the gain/skew in described step (4) is semi-automatic gain/skew.
CN201510492628.2A 2015-08-12 2015-08-12 High dynamic range reality scene information reconstruction method available for machine vision Pending CN105072341A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510492628.2A CN105072341A (en) 2015-08-12 2015-08-12 High dynamic range reality scene information reconstruction method available for machine vision

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510492628.2A CN105072341A (en) 2015-08-12 2015-08-12 High dynamic range reality scene information reconstruction method available for machine vision

Publications (1)

Publication Number Publication Date
CN105072341A true CN105072341A (en) 2015-11-18

Family

ID=54501610

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510492628.2A Pending CN105072341A (en) 2015-08-12 2015-08-12 High dynamic range reality scene information reconstruction method available for machine vision

Country Status (1)

Country Link
CN (1) CN105072341A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105894484A (en) * 2016-03-30 2016-08-24 山东大学 HDR reconstructing algorithm based on histogram normalization and superpixel segmentation
CN110211075A (en) * 2019-05-31 2019-09-06 天津大学 The even electronic speckle interference fringe pattern image intensifying method of uneven illumination
CN117368122A (en) * 2023-12-07 2024-01-09 津泰(天津)医疗器械有限公司 FRD cervical dyeing real-time comparison method based on color chart

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100053376A1 (en) * 2008-09-01 2010-03-04 Canon Kabushiki Kaisha Image processing apparatus and method
CN104346784A (en) * 2014-10-31 2015-02-11 北京津同利华科技有限公司 Short wave infrared imaging radiometric correction method based on MSR

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100053376A1 (en) * 2008-09-01 2010-03-04 Canon Kabushiki Kaisha Image processing apparatus and method
CN104346784A (en) * 2014-10-31 2015-02-11 北京津同利华科技有限公司 Short wave infrared imaging radiometric correction method based on MSR

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张尚伟: "具有细节补偿和色彩恢复的多尺度Retinex色调映射算法", 《西安交通大学学报》 *
李成: "基于交叉皮质模型的高动态范围图像可视化方法", 《计算机辅助设计与图形学学报》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105894484A (en) * 2016-03-30 2016-08-24 山东大学 HDR reconstructing algorithm based on histogram normalization and superpixel segmentation
CN110211075A (en) * 2019-05-31 2019-09-06 天津大学 The even electronic speckle interference fringe pattern image intensifying method of uneven illumination
CN117368122A (en) * 2023-12-07 2024-01-09 津泰(天津)医疗器械有限公司 FRD cervical dyeing real-time comparison method based on color chart
CN117368122B (en) * 2023-12-07 2024-02-13 津泰(天津)医疗器械有限公司 FRD cervical dyeing real-time comparison method based on color chart

Similar Documents

Publication Publication Date Title
CN102800063B (en) Image enhancement and abstraction method based on anisotropic filtering
CN106920211A (en) U.S. face processing method, device and terminal device
Wang et al. Enhancement for dust-sand storm images
US8629868B1 (en) Systems and methods for simulating depth of field on a computer generated display
CN103258334B (en) The scene light source colour method of estimation of coloured image
CN105046658A (en) Low-illumination image processing method and device
CN104123697A (en) Image enhancement method and device
CN104021531A (en) Improved method for enhancing dark environment images on basis of single-scale Retinex
CN105072341A (en) High dynamic range reality scene information reconstruction method available for machine vision
CN111489322A (en) Method and device for adding sky filter to static picture
CN108305232A (en) A kind of single frames high dynamic range images generation method
Xue et al. Video image dehazing algorithm based on multi-scale retinex with color restoration
CN103295205A (en) Low-light-level image quick enhancement method and device based on Retinex
CN108447023A (en) Image processing method, device and electronic equipment
CN105427265A (en) Color image contrast enhancement method and system
CN110473281A (en) Threedimensional model retouches side processing method, device, processor and terminal
CN103824250B (en) image tone mapping method based on GPU
CN111275642B (en) Low-illumination image enhancement method based on significant foreground content
CN113052923A (en) Tone mapping method, tone mapping apparatus, electronic device, and storage medium
Xi et al. Enhancement of unmanned aerial vehicle image with shadow removal based on optimized retinex algorithm
CN111968140B (en) Contour detection method based on classical receptive field vision-strengthening micro-motion mechanism
CN104063851A (en) Industrial transparent film package test method based on Retinex
CN107578393A (en) A kind of Aerial Images brightness adjusting method based on man-machine interactively
CN110796609B (en) Low-light image enhancement method based on scale perception and detail enhancement model
Chaczko et al. A preliminary investigation on computer vision for telemedicine systems using OpenCV

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 518000 Shenzhen, Futian District, Shennan Road and the junction of agricultural road, northeast side of Times Technology Building, floor, floor, 20, Guangdong

Applicant after: Qihan Technology Co., Ltd.

Address before: 518000 Shenzhen, Futian District, Shennan Road and the junction of agricultural road, northeast side of Times Technology Building, floor, floor, 20, Guangdong

Applicant before: QIHAN TECHNOLOGY CO., LTD.

COR Change of bibliographic data
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20190604

Address after: 518000 Guangdong 28, Shenzhen, Futian District, Huafu street, No. 5001 Huanggang Road, Shenzhen Industrial upper city (two phase of the Southern District)

Applicant after: Shenzhen Sanbao innovation and intelligence Co., Ltd.

Address before: 518000 20th Floor of Times Science and Technology Building on the Northeast Side of the Junction of Shennan Avenue and Nongyuan Road, Futian District, Shenzhen City, Guangdong Province

Applicant before: Qihan Technology Co., Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20151118