CN102014243B - Method and device for enhancing images - Google Patents

Method and device for enhancing images Download PDF

Info

Publication number
CN102014243B
CN102014243B CN 201010621705 CN201010621705A CN102014243B CN 102014243 B CN102014243 B CN 102014243B CN 201010621705 CN201010621705 CN 201010621705 CN 201010621705 A CN201010621705 A CN 201010621705A CN 102014243 B CN102014243 B CN 102014243B
Authority
CN
China
Prior art keywords
local
image
sigma
pixel
detail
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
CN 201010621705
Other languages
Chinese (zh)
Other versions
CN102014243A (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN 201010621705 priority Critical patent/CN102014243B/en
Publication of CN102014243A publication Critical patent/CN102014243A/en
Application granted granted Critical
Publication of CN102014243B publication Critical patent/CN102014243B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)

Abstract

The invention provides a method for enhancing images, which comprises the following steps: processing original images to obtain detail images; calculating local enhancement coefficients of an area which takes each pixel point as a center in the original images; and enhancing each pixel point corresponding to the original images in accordance with the obtained detail images and each calculatedly obtained local enhancement coefficient so as to obtain enhanced detail images. The invention also discloses a device for enhancing the images. The method and device for enhancing the images, which are provided by the invention, are used, thereby being capable of enhancing detail information of the images, such as edges and the like, and improving the accuracy of intelligent analysis and processing.

Description

A kind of image enchancing method and device
Technical field
The present invention relates to technical field of image processing, particularly a kind of image enchancing method and device.
Background technology
Intelligent monitoring is applied to various fields, like road traffic, city security protection etc.Fig. 1 is the structural representation of existing intelligent monitor system, and as shown in Figure 1, this intelligent monitor system comprises image capture module 11, video encoding module 12, network transmission module 13, video decode module 14, image display 15 and intelligent processing module 16.Wherein, image capture module 11 is used for through the camera acquisition video image; Video encoding module 12 is used for the video image that collects is carried out compressed encoding; Network transmission module 13 is used for transmitting through the image code stream that network obtains after to compressed encoding; Video decode module 14 is used for the image code stream that obtains through Network Transmission is decoded, and obtains decoded video image; Image display 15 is used for the decoded video image that is obtained by video decode module 14 is shown through display device; Intelligent processing module 16 is used for that the decoded video image that is obtained by video decode module 14 is carried out intellectual analysis and handles, like candid photograph, car plate identification etc.
But; Video camera receives external environment (greasy weather for example when video image is gathered; Rainy day, night etc.) and the influence of factor such as the quality of video camera own, thus caused decoded video image is shown or the intellectual analysis process result can not satisfy user's demand; For this reason can be through decoded video image is strengthened; So that after handling the enhanced information that provides extra for the demonstration of back and intellectual analysis, again the video image after strengthening is shown and intellectual analysis is handled, show and the intellectual analysis accuracy for processing to improve.
At present; Can be when decoded video image is strengthened through strengthening two kinds of methods based on the figure image intensifying of grey level stretching with based on the image local of statistical information; Though these two kinds of methods can strengthen image; But, when strengthening entire image, cause losing of detailed information such as image border easily based on the image enchancing method of grey level stretching; And based on the image local Enhancement Method of statistical information when image is strengthened easily the high-frequency information of noise as image, promptly when strengthening image, introduce higher noise easily.
Summary of the invention
In view of this, the invention provides a kind of image enchancing method, can strengthen, improved the intellectual analysis accuracy for processing detailed information such as edge of image.
The present invention also provides a kind of image intensifier device, can strengthen detailed information such as edge of image, has improved the intellectual analysis accuracy for processing.
In order to achieve the above object, the technical scheme of the present invention's proposition is:
A kind of image enchancing method, this method comprises:
Original image is handled, obtained detail pictures;
Calculating in the original image with each pixel is the local reinforcing coefficient in the zone at center;
According to the detail pictures that obtains and each the local reinforcing coefficient that calculates each corresponding pixel of original image is strengthened, obtains details and strengthen the back image,
Wherein, be that the local reinforcing coefficient in the zone at center comprises with each pixel in the said calculating original image: calculate through following formula that (i j) is the local reinforcing coefficient β in the zone at center with each pixel in the original image Local(i, j),
β Local(i, j)=β E(i, j)+β σ(i, j), wherein,
&beta; E ( i , j ) = &PartialD; E ( k E E global - E local ( i , j ) ) , E local ( i , j ) < k E E global 0 , E local ( i , j ) &GreaterEqual; k E E global ,
&beta; &sigma; ( i , j ) = &PartialD; &sigma; ( &sigma; local 2 ( i , j ) - k &sigma; &sigma; global 2 ) , &sigma; local 2 ( i , j ) > k &sigma; &sigma; global 2 0 , &sigma; local 2 ( i , j ) &le; k &sigma; &sigma; global 2 ,
Said E GlobalBe the overall average of original image, said
Figure GSB00000693881100023
Be the overall variance of original image, said E Local(i, j) be the original image pixels point (i, local mean value j), said
Figure GSB00000693881100024
For the original image pixels point (i, local variance j), said For image light and shade weight coefficient, said
Figure GSB00000693881100026
Be the image detail weight coefficient, said k EBe the threshold value coefficient of image light and shade, said k σThreshold value coefficient for image detail information;
The detail pictures that said basis obtains strengthens each corresponding pixel of original image with the local reinforcing coefficient of each that calculates, and obtains details enhancing back image and comprises: calculate details through following formula and strengthen the back image I Detail,
I Detail(i,j)=I orig(i,j)+β globalβ local(i,j)I high(i,j),
Wherein, said I Detail(i j) strengthens the back image I for details DetailPixel (i, pixel value j), said I Orig(i j) is original image pixels point (i, pixel value j), said β GlobalBe overall reinforcing coefficient, its value is selected according to image actual needs enhanced strength, said β Local(i j) is original image pixels point (i, local reinforcing coefficient j), said I High(i j) is detail pictures pixel (i, pixel value j).
This method also comprises:
It is the increase conversion coefficient in the zone at center that the computational details strengthens in the image of back with each pixel;
Increase conversion coefficient according to each that calculates each pixel that details strengthens back image correspondence is carried out the enhancing of low noise contrast, finally strengthened the back image.
Said original image is handled, is obtained detail pictures and comprise:
Original image is carried out LPF through low pass filter, obtain low-pass pictures;
Pixel value on original image and the low-pass pictures corresponding pixel points is carried out the high-pass image that additive operation obtains, as detail pictures.
Said original image is handled, is obtained detail pictures and comprise: original image is carried out high-pass filtering through high pass filter, with the high-pass image that obtains as detail pictures.
Be that the local reinforcing coefficient in the zone at center comprises with each pixel in the said calculating original image: calculate through following formula that (i j) is the local reinforcing coefficient β in the zone at center with each pixel in the original image Local(i, j),
β Local(i, j)=β E(i, j)+β σ(i, j), wherein,
&beta; E ( i , j ) = &PartialD; E ( k E E global - E local ( i , j ) ) , E local ( i , j ) < k E E global 0 , E local ( i , j ) &GreaterEqual; k E E global ,
&beta; &sigma; ( i , j ) = &PartialD; &sigma; ( &sigma; local 2 ( i , j ) - k &sigma; &sigma; global 2 ) , &sigma; local 2 ( i , j ) > k &sigma; &sigma; global 2 0 , &sigma; local 2 ( i , j ) &le; k &sigma; &sigma; global 2 ,
Said E GlobalBe the overall average of original image, said
Figure GSB00000693881100041
Be the overall variance of original image, said E Local(i, j) be the original image pixels point (i, local mean value j), said
Figure GSB00000693881100042
For the original image pixels point (i, local variance j), said
Figure GSB00000693881100043
For image light and shade weight coefficient, said
Figure GSB00000693881100044
Be the image detail weight coefficient, said k EBe the threshold value coefficient of image light and shade, said k σThreshold value coefficient for image detail information;
The detail pictures that said basis obtains strengthens each corresponding pixel of original image with the local reinforcing coefficient of each that calculates, and obtains details enhancing back image and comprises: calculate details through following formula and strengthen the back image I Detail,
I Detail(i,j)=I orig(i,j)+β globalβ local(i,j)I high(i,j),
Wherein, said I Detail(i j) strengthens the back image I for details DetailPixel (i, pixel value j), said I Orig(i j) is original image pixels point (i, pixel value j), said β GlobalBe overall reinforcing coefficient, its value is selected according to image actual needs enhanced strength, said β Local(i j) is original image pixels point (i, local reinforcing coefficient j), said I High(i j) is detail pictures pixel (i, pixel value j);
It is that the increase conversion coefficient in the zone at center comprises that the said computational details strengthens in the image of back with each pixel: calculate details through following formula and strengthen the back image I DetailIn with each pixel (i, j) be the increase conversion coefficient γ that strengthens of the low noise contrast in the zone at center (i, j),
&gamma; ( i , j ) = &Sigma; k = - M M &Sigma; m = - N N f ( I Detail ( i + k , j + m ) ) I Detail ( i + k , j + m ) &CenterDot; &delta; ( | I Detail ( i , j ) - I Detail ( i + k , j + m ) | ) &Sigma; k = - M M &Sigma; m = - N N &delta; ( | I Detail ( i , j ) - I Detail ( i + k , j + m ) | ) ,
Wherein, (i is j) apart from its region horizontal boundary distance for M remarked pixel point; N remarked pixel point (i; J) apart from the vertical frontier distance in its region, said f () strengthens function for contrast, and said δ () is the weight counting function; Said k is the side-play amount of image level direction, and said m is the side-play amount of image vertical direction;
Each increase conversion coefficient that said basis calculates strengthens back each corresponding pixel of image to details and carries out the enhancing of low noise contrast, and image comprises after finally being strengthened: calculate final enhancing back image I through following formula Enhancement,
I Enhancement(i, j)=γ (i, j) I Detai(i, j), wherein, said I Enhancement(i is j) for strengthening back image slices vegetarian refreshments (i, pixel value j).
A kind of image intensifier device, this device comprises: treatment of details unit, first computing unit and first enhancement unit, wherein,
Said treatment of details unit is used for original image is handled, and obtains detail pictures;
Said first computing unit is used for calculating the local reinforcing coefficient that original image is the zone at center with each pixel;
Said first enhancement unit, each local reinforcing coefficient that the detail pictures that is used for obtaining according to the treatment of details unit and first computing unit calculate strengthens each corresponding pixel of original image, and obtain details and strengthen the back image,
Wherein, said first computing unit comprises: overall mean value computation unit, overall variance computing unit, local mean value computing unit, local variance computing unit and first computation subunit, wherein,
Said overall mean value computation unit is used for through formula
Figure GSB00000693881100051
Calculate the overall average E of original image Global, wherein, said r is any pixel value of pixel in the original image, and said p (r) is the probability that the pixel of r occurs in original image for pixel value, and said L and H are respectively minimum pixel value and the max pixel value in the original image;
Said overall variance computing unit is used for calculating through formula
Figure GSB00000693881100052
the overall variance
Figure GSB00000693881100053
of original image
Said local mean value computing unit is used for through formula E Local ( i , j ) = 1 ( 2 M + 1 ) &times; ( 2 N + 1 ) &Sigma; k = - M M &Sigma; m = - N N I Orig ( i + k , j + m ) Calculate original image pixels point (i, local mean value E j) Local(i, j), wherein, M remarked pixel point (i, j) apart from its region horizontal boundary distance, (i is j) apart from the vertical frontier distance in its region for N remarked pixel point;
Said local variance computing unit is used for through formula &sigma; Local 2 ( i , j ) = 1 ( 2 M + 1 ) &times; ( 2 N + 1 ) &Sigma; k = - M M &Sigma; m = - N N ( I Orig ( i + k , j + m ) - E Local ( i , j ) ) 2 Calculate original image pixels point (i, local variance j)
Figure GSB00000693881100056
Said k is the side-play amount of image level direction, and said m is the side-play amount of image vertical direction;
Said first computation subunit is used for the overall average E according to the original image that calculates Global, overall variance
Figure GSB00000693881100061
Pixel (i, local mean value E j) Local(i, j) and pixel (i, local variance j)
Figure GSB00000693881100062
Calculate through following formula that (i j) is the local reinforcing coefficient β in the zone at center with each pixel in the original image Local(i, j),
β Local(i, j)=β E(i, j)+β σ(i, j), wherein,
&beta; E ( i , j ) = &PartialD; E ( k E E global - E local ( i , j ) ) , E local ( i , j ) < k E E global 0 , E local ( i , j ) &GreaterEqual; k E E global ,
&beta; &sigma; ( i , j ) = &PartialD; &sigma; ( &sigma; local 2 ( i , j ) - k &sigma; &sigma; global 2 ) , &sigma; local 2 ( i , j ) > k &sigma; &sigma; global 2 0 , &sigma; local 2 ( i , j ) &le; k &sigma; &sigma; global 2 ,
Said
Figure GSB00000693881100065
For image light and shade weight coefficient, said
Figure GSB00000693881100066
Be the image detail weight coefficient, said k EBe the threshold value coefficient of image light and shade, said k σThreshold value coefficient for image detail information;
Said first enhancement unit is used for calculating details through following formula and strengthens the back image I Detail,
I Detail(i,j)=I orig(i,j)+β globalβ local(i,j)I high(i,j),
Wherein, said I Detail(i j) strengthens back image slices vegetarian refreshments (i, pixel value j), said I for details Orig(i j) is original image pixels point (i, pixel value j), said β GlobalBe overall reinforcing coefficient, its value is selected according to image actual needs enhanced strength, said β Local(i j) is original graph image slices vegetarian refreshments (i, local reinforcing coefficient j), said I High(i j) is detail pictures pixel (i, pixel value j).
This device also comprises: second computing unit and second enhancement unit, wherein,
Said second computing unit, being used for calculating details that said first enhancement unit obtains, to strengthen the back image be the increase conversion coefficient in the zone at center with each pixel;
Said second enhancement unit; Each that is used for calculating according to second computing unit increases conversion coefficient each corresponding pixel of details enhancing back image that said first enhancement unit obtains is carried out the enhancing of low noise contrast, is finally strengthened the back image.
Said treatment of details unit comprises that low pass is handled subelement and high pass is handled subelement, wherein,
Said low pass is handled subelement, is used for original image is carried out LPF through low pass filter, obtains low-pass pictures;
Said high pass is handled subelement, is used for original image and the pixel value handled on the low-pass pictures corresponding pixel points that subelement obtains through low pass are carried out the high-pass image that additive operation obtains, as detail pictures.
Said treatment of details unit comprises that high pass handles subelement, be used for original image is carried out high-pass filtering through high pass filter, with the high-pass image that obtains as detail pictures.
Said first computing unit comprises: overall mean value computation unit, overall variance computing unit, local mean value computing unit, local variance computing unit and first computation subunit, wherein,
Said overall mean value computation unit is used for through formula
Figure GSB00000693881100071
Calculate the overall average E of original image Global, wherein, said r is any pixel value of pixel in the original image, and said p (r) is the probability that the pixel of r occurs in original image for pixel value, and said L and H are respectively minimum pixel value and the max pixel value in the original image;
Said overall variance computing unit is used for calculating through formula
Figure GSB00000693881100072
the overall variance
Figure GSB00000693881100073
of original image
Said local mean value computing unit is used for through formula E Local ( i , j ) = 1 ( 2 M + 1 ) &times; ( 2 N + 1 ) &Sigma; k = - M M &Sigma; m = - N N I Orig ( i + k , j + m ) Calculate original image pixels point (i, local mean value E j) Local(i, j), wherein, M remarked pixel point (i, j) apart from its region horizontal boundary distance, N remarked pixel point (i, j) apart from the vertical frontier distance in its region, said k is the side-play amount of image level direction, said m is the side-play amount of image vertical direction;
Said local variance computing unit is used for through formula &sigma; Local 2 ( i , j ) = 1 ( 2 M + 1 ) &times; ( 2 N + 1 ) &Sigma; k = - M M &Sigma; m = - N N ( I Orig ( i + k , j + m ) - E Local ( i , j ) ) 2 Calculate original image pixels point (i, local variance j)
Figure GSB00000693881100076
Said first computation subunit is used for the overall average E according to the original image that calculates Global, overall variance
Figure GSB00000693881100077
Pixel (i, local mean value E j) Local(i, j) and pixel (i, local variance j)
Figure GSB00000693881100081
Calculate through following formula that (i j) is the local reinforcing coefficient β in the zone at center with each pixel in the original image Local(i, j),
β Local(i, j)=β E(i, j)+β σ(i, j), wherein,
&beta; E ( i , j ) = &PartialD; E ( k E E global - E local ( i , j ) ) , E local ( i , j ) < k E E global 0 , E local ( i , j ) &GreaterEqual; k E E global ,
&beta; &sigma; ( i , j ) = &PartialD; &sigma; ( &sigma; local 2 ( i , j ) - k &sigma; &sigma; global 2 ) , &sigma; local 2 ( i , j ) > k &sigma; &sigma; global 2 0 , &sigma; local 2 ( i , j ) &le; k &sigma; &sigma; global 2 ,
Said For image light and shade weight coefficient, said
Figure GSB00000693881100085
Be the image detail weight coefficient, said k EBe the threshold value coefficient of image light and shade, said k σThreshold value coefficient for image detail information;
Said first enhancement unit is used for calculating details through following formula and strengthens the back image I Detail,
I Detail(i,j)=I orig(i,j)+β globalβ local(i,j)I high(i,j),
Wherein, said I Detail(i j) strengthens back image slices vegetarian refreshments (i, pixel value j), said I for details Orig(i j) is original image pixels point (i, pixel value j), said β GlobalBe overall reinforcing coefficient, its value is selected according to image actual needs enhanced strength, said β Local(i j) is original graph image slices vegetarian refreshments (i, local reinforcing coefficient j), said I High(i j) is detail pictures pixel (i, pixel value j);
Said second computing unit, be used for through following formula calculate details that said first enhancement unit obtains strengthen the back image with each pixel (i, j) be the center the zone the enhancing of low noise contrast increase conversion coefficient γ (i, j),
&gamma; ( i , j ) = &Sigma; k = - M M &Sigma; m = - N N f ( I Detail ( i + k , j + m ) ) I Detail ( i + k , j + m ) &CenterDot; &delta; ( | I Detail ( i , j ) - I Detail ( i + k , j + m ) | ) &Sigma; k = - M M &Sigma; m = - N N &delta; ( | I Detail ( i , j ) - I Detail ( i + k , j + m ) | ) ,
Wherein, said f () strengthens function for contrast, and said δ () is the weight counting function;
Said second enhancement unit is used for calculating final enhancing back image I through following formula Enhancement,
I Enhancement(i, j)=γ (i, j) I Detail(i, j), wherein, said I Enhancement(i is j) for strengthening back image slices vegetarian refreshments (i, pixel value j).
In sum; The image enchancing method that the present invention adopted; Be through original image being handled, obtained detail pictures, and calculate in the original image be the local reinforcing coefficient in zone at center with each pixel after; With each the local reinforcing coefficient that calculates each corresponding pixel of original image being carried out details according to the detail pictures that obtains strengthens; Obtain details and strengthen the back image, also just realized enhancing, improved the intellectual analysis accuracy for processing detailed information such as edge of image.
Description of drawings
Fig. 1 is the structural representation of existing video monitoring system;
Fig. 2 is the workflow diagram of image enchancing method embodiment of the present invention;
Fig. 3 is the structural representation of image intensifier device embodiment of the present invention.
Embodiment
In order to solve the problem that exists in the prior art; The present invention proposes a kind of image enchancing method; Promptly, obtain detail pictures through original image is handled, and calculate in the original image be the local reinforcing coefficient in zone at center with each pixel after; With each the local reinforcing coefficient that calculates each corresponding pixel of original image is carried out details according to the detail pictures that obtains and strengthen, obtain details and strengthen the back image.
Based on above-mentioned introduction, the concrete realization of scheme according to the invention comprises:
Original image is handled, obtained detail pictures; Calculating in the original image with each pixel is the local reinforcing coefficient in the zone at center; According to the detail pictures that obtains and each the local reinforcing coefficient that calculates each corresponding pixel of original image is strengthened, obtain details and strengthen the back image.
For making the object of the invention, technical scheme and advantage clearer, the present invention is done to describe in detail further below in conjunction with accompanying drawing and specific embodiment.
Fig. 2 is the workflow diagram of image enchancing method embodiment of the present invention.As shown in Figure 2, this flow process comprises:
Step 201: original image is handled, obtained detail pictures.
Need to prove, in this step, image is handled that obtaining detail pictures can carry out through following dual mode, is specially:
Mode one: at first, original image is carried out LPF through low pass filter, obtain low-pass pictures; Then, the pixel value on original image and the low-pass pictures corresponding pixel points is carried out the high-pass image that additive operation obtains, as detail pictures.
In this execution mode, suppose I Orig(i j) is original image I Orig(i, the pixel value on j) is to original image I at pixel OrigThrough low pass filter F Low_filterAfter () carried out LPF, the low-pass pictures I that obtains LowCan be through following formulae express:
I low(i,j)=F low_filter(I orig(i,j)),
Wherein, I Low(i j) is low-pass pictures I LowAt pixel (i, the pixel value on j), the low pass filter F that is adopted Low_filter() can be Laplace filter, also can be other low pass filters, and concrete how selective filter is as the criterion with the realization that does not influence the embodiment of the invention.
Obtaining low-pass pictures I LowAfter, can calculate high-pass image I through following formula High, i.e. detail pictures in this step:
I high(i,j)=I orig(i,j)-I low(i,j),
Wherein, I High(i j) is high-pass image I HighAt pixel (i, the pixel value on j).
Mode two: directly original image is carried out high-pass filtering through high pass filter, with the high-pass image that obtains as detail pictures.
In this execution mode, suppose I Orig(i j) is original image I Orig(i, the pixel value on j) is to original image I at pixel OrigThrough high pass filter F High_filterAfter () carried out high-pass filtering, the high-pass image I that obtains HighCan be directly through following formulae express:
I high(i,j)=F high_filter(I orig(i,j)),
Wherein, the high pass filter F that is adopted High_filter() can be selected according to application, is as the criterion with the realization that does not influence the embodiment of the invention.
Step 202: calculating in the original image with each pixel is the local reinforcing coefficient in the zone at center.
In this step, in the original image so that (i j) is the local reinforcing coefficient β in the zone at center more arbitrarily Local(i j) is overall average E according to original image Global, overall variance
Figure GSB00000693881100111
Pixel (i, local mean value E j) Local(i, j) and pixel (i, local variance j)
Figure GSB00000693881100112
Obtain, its concrete computational process can be carried out through following formula:
β Local(i, j)=β E(i, j)+β σ(i, j), wherein,
&beta; E ( i , j ) = &PartialD; E ( k E E global - E local ( i , j ) ) , E local ( i , j ) < k E E global 0 , E local ( i , j ) &GreaterEqual; k E E global ,
&beta; &sigma; ( i , j ) = &PartialD; &sigma; ( &sigma; local 2 ( i , j ) - k &sigma; &sigma; global 2 ) , &sigma; local 2 ( i , j ) > k &sigma; &sigma; global 2 0 , &sigma; local 2 ( i , j ) &le; k &sigma; &sigma; global 2 ,
Wherein, local mean value E Local(i, j) reflection is that (i j) is the bright-dark degree in the zone at center, if E with pixel in the original image Local(i, j)<k EE Global, represent that then (i is a dark areas for the zone at center j) with pixel; Otherwise, then represent with pixel (i, j) for the zone at center is a bright area, said k EBe the threshold value coefficient of image light and shade, and 0.01<k E≤0.50.Local variance
Figure GSB00000693881100115
The reflection be in the original image with pixel (i, j) be the center the zone detailed information what, as if
Figure GSB00000693881100116
Then represent with pixel (i is that the regional detailed information at center is more j), otherwise, represent that then (i is that the regional detailed information at center is less j), the threshold value coefficient that said k σ is an image detail information, and 1.0<k with pixel σ≤5.0.Said Be image light and shade weight coefficient, and Said Be the image detail weight coefficient, and 0.2 &le; &PartialD; &sigma; &le; 0.7 .
Need to prove, in this step, the overall average E of original image GlobalCan calculate through following formula:
E global = &Sigma; r = L H rp ( r ) ,
Wherein, said r is any pixel value of pixel in the original image, and said p (r) is the probability that the pixel of r occurs in original image for pixel value; Said L and H are respectively minimum pixel value and the max pixel value in the original image; Generally speaking, L=0, H=255.
The overall variance of original image
Figure GSB00000693881100121
can calculate through following formula
&sigma; global 2 = &Sigma; r = L H ( r - E global ) 2 p ( r ) .
Original image pixels point (i, local mean value E j) Local(i j) can calculate through following formula,
E local ( i , j ) = 1 ( 2 M + 1 ) &times; ( 2 N + 1 ) &Sigma; k = - M M &Sigma; m = - N N I orig ( i + k , j + m ) ,
Wherein, M remarked pixel point (i, j) apart from its region horizontal boundary distance, and 0≤M≤flow (W Pic/ 2); N remarked pixel point (i, j) apart from the vertical frontier distance in its region, and 0≤N≤flow (H Pic/ 2), W wherein PicWide for image, H PicBe the height of image, said k is the side-play amount of image level direction, and said m is the side-play amount of image vertical direction.
Original image pixels point (i; J) local variance can calculate through following formula
&sigma; local 2 ( i , j ) = 1 ( 2 M + 1 ) &times; ( 2 N + 1 ) &Sigma; k = - M M &Sigma; m = - N N ( I orig ( i + k , j + m ) - E local ( i , j ) ) 2 .
What also need explain is, above-mentioned steps 201 is the processes that obtain detail pictures, and step 202 is processes of computational details reinforcing coefficient, and they are different processing procedures, not the branch of sequencing.
Step 203: according to the detail pictures that obtains and each the local reinforcing coefficient that calculates each corresponding pixel of original image is strengthened, obtain details and strengthen the back image.
After execution of step 201 and step 202, can be according to the detail pictures I that obtains in the step 201 HighWith the pixel that obtains in the step 202 (i, local reinforcing coefficient β j) Local(i, (i j) strengthens j) corresponding to original image pixel, obtains details and strengthens the back image I DetailPixel (i, pixel value j) specifically can calculate through following formula,
I Detail(i,j)=I orig(i,j)+β globalβ local(i,j)I high(i,j),
Wherein, β GlobalBe overall reinforcing coefficient, and 0.01≤β Global≤1.0, in this step, can select β according to image actual needs enhanced strength Global, β GlobalBe worth greatly more, it is strong more that expression strengthens intensity.
Step 204: it is the increase conversion coefficient in the zone at center that the computational details strengthens in the image of back with each pixel.
Calculating details enhancing back image I DetailAfter, in order further to improve the subjective quality of image, can strengthen the back image to details further and carry out the enhancing of low noise contrast, in this step, the details that is adopted strengthens the back image I Detail(i, j) in each pixel (i, j) be the increase conversion coefficient γ that strengthens of the low noise contrast in the zone at center (i j) can calculate through following formula,
&gamma; ( i , j ) = &Sigma; k = - M M &Sigma; m = - N N f ( I Detail ( i + k , j + m ) ) I Detail ( i + k , j + m ) &CenterDot; &delta; ( | I Detail ( i , j ) - I Detail ( i + k , j + m ) | ) &Sigma; k = - M M &Sigma; m = - N N &delta; ( | I Detail ( i , j ) - I Detail ( i + k , j + m ) | ) ,
Wherein, said f () strengthens function for contrast, and said δ () is the weight counting function, and they satisfy following form respectively:
f ( x ) = &lambda; 1 ( x ) ( L &le; x &le; T L ) &lambda; 2 ( x ) ( T L < x < T H ) &lambda; 3 ( x ) ( T H &le; x &le; H ) , &delta; ( x ) = &lambda; 4 ( x ) ( 0 &le; x &le; T ) 0 ( x > T ) ,
Wherein, T LAnd T HBe a given in advance threshold value, its scope is [L, H], λ 1(x) be [L, T L] the interior monotonically increasing function of scope, λ 1(L)=and L, λ 1(T L)=R L, and R L∈ [L, T L); λ 2(x) be [T L, T H] the interior monotonically increasing function of scope, λ 2(T L)=R L, λ 1(T H)=R H, and R H∈ (T H, H]; λ 3(x) be [T H, H] and the interior monotonically increasing function of scope, λ 3(T H)=R H, λ 3(H)=H; λ 4(x) be the monotonic decreasing function in [0, T] scope, λ 4(0)=1, λ 4(T)=and P, said P is given in advance threshold value, and P ∈ [0, (H-L)].
Step 205: increase conversion coefficient according to each that calculates each pixel that details strengthens back image correspondence is carried out the enhancing of low noise contrast, finally strengthened the back image.
In this step, can calculate final enhancing back image I through following formula Enhancement,
I Enhancement(i, j)=γ (i, j) I Detail(i, j), wherein, said I Enhancement(i is j) for strengthening back image slices vegetarian refreshments (i, pixel value j).
So far, promptly accomplished the whole workflow of image enchancing method embodiment of the present invention.
Need to prove, in the present embodiment, the only operation of execution in step 201-203, and the image that step 203 is obtained is as the final back image that strengthens; The image that also can step 205 be obtained specifically is as the criterion with practical application as the final back image that strengthens.
Based on said method, Fig. 3 has provided the image intensifier device that the present invention adopted, and is as shown in Figure 3, and this device comprises: treatment of details unit 31, first computing unit 32 and first enhancement unit 33, wherein,
Said treatment of details unit 31 is used for original image is handled, and obtains detail pictures.
Further, said treatment of details unit 31 can comprise that again low pass is handled subelement 311 and high pass is handled subelement 312, wherein,
Said low pass is handled subelement 311, is used for original image is carried out LPF through low pass filter, obtains low-pass pictures;
Said high pass is handled subelement 312, is used for original image and the pixel value handled on the low-pass pictures corresponding pixel points that subelement 311 obtains through low pass are carried out the high-pass image that additive operation obtains, as detail pictures.
Said treatment of details unit 31 also can include only high pass and handle subelement 312, be used for directly original image being carried out high-pass filtering through high pass filter, with the high-pass image that obtains as detail pictures.
Said first computing unit 32 is used for calculating the local reinforcing coefficient that original image is the zone at center with each pixel.
Further, said first computing unit 32 can comprise overall mean value computation unit 321, overall variance computing unit 322, local mean value computing unit 323, local variance computing unit 324 and first computation subunit 325 again, wherein,
Said overall mean value computation unit 321 is used for through formula
Figure GSB00000693881100141
Calculate the overall average E of original image Global, wherein, said r is any pixel value of pixel in the original image, and said p (r) is the probability that the pixel of r occurs in original image for pixel value, and said L and H are respectively minimum pixel value and the max pixel value in the original image;
Said overall variance computing unit 322 is used for calculating through formula
Figure GSB00000693881100142
the overall variance of original image
Said local mean value computing unit 323 is used for through formula E Local ( i , j ) = 1 ( 2 M + 1 ) &times; ( 2 N + 1 ) &Sigma; k = - M M &Sigma; m = - N N I Orig ( i + k , j + m ) Calculate original image pixels point (i, local mean value E j) Local(i, j), wherein, M remarked pixel point (i, j) apart from its region horizontal boundary distance, and 0≤M≤flow (W Pic/ 2); N remarked pixel point (i, j) apart from the vertical frontier distance in its region, and 0≤N≤flow (H Pic/ 2), W wherein PicWide for image, H PicHeight for image;
Said local variance computing unit 324 is used for through formula &sigma; Local 2 ( i , j ) = 1 ( 2 M + 1 ) &times; ( 2 N + 1 ) &Sigma; k = - M M &Sigma; m = - N N ( I Orig ( i + k , j + m ) - E Local ( i , j ) ) 2 Calculate original image pixels point (i, local variance j)
Figure GSB00000693881100152
Said first computation subunit 325 is used for the overall average E according to the original image that calculates Global, overall variance Pixel (i, local mean value E j) Local(i, j) and pixel (i, local variance j)
Figure GSB00000693881100154
Calculate through following formula that (i j) is the local reinforcing coefficient β in the zone at center with each pixel in the original image Local(i, j),
β Local(i, j)=β E(i, j)+β σ(i, j), wherein,
&beta; E ( i , j ) = &PartialD; E ( k E E global - E local ( i , j ) ) , E local ( i , j ) < k E E global 0 , E local ( i , j ) &GreaterEqual; k E E global ,
&beta; &sigma; ( i , j ) = &PartialD; &sigma; ( &sigma; local 2 ( i , j ) - k &sigma; &sigma; global 2 ) , &sigma; local 2 ( i , j ) > k &sigma; &sigma; global 2 0 , &sigma; local 2 ( i , j ) &le; k &sigma; &sigma; global 2 ,
Said k EBe the threshold value coefficient of image light and shade, and 0.01<k E≤0.50; Said k σBe the threshold value coefficient of image detail information, and 1.0<k σ≤5.0; Said
Figure GSB00000693881100157
Be image light and shade weight coefficient, and
Figure GSB00000693881100158
Said
Figure GSB00000693881100159
Be the image detail weight coefficient, and
Figure GSB000006938811001510
Said first enhancement unit 33, each local reinforcing coefficient that the detail pictures that is used for obtaining according to treatment of details unit 31 and first computing unit 32 calculate strengthens each corresponding pixel of original image, obtains details and strengthens the back image.
Further, said first enhancement unit 33 is used for calculating details through following formula and strengthens the back image I Detail,
I Detail(i,j)=I orig(i,j)+β globalβ local(i,j)I high(i,j),
Wherein, said I Detail(i j) strengthens back image slices vegetarian refreshments (i, pixel value j), said I for details Orig(i j) is original image pixels point (i, pixel value j), said β GlobalBe overall reinforcing coefficient, and 0.01≤β Global≤1.0, select β according to image actual needs enhanced strength GlobalValue, β GlobalBe worth greatly more, it is strong more that expression strengthens intensity, said β Local(i j) is original graph image slices vegetarian refreshments (i, local reinforcing coefficient j), said I High(i j) is detail pictures pixel (i, pixel value j).
Further, this device also can comprise second computing unit 34 and second enhancement unit 35, wherein,
Said second computing unit 34, being used for calculating details that said first enhancement unit 33 obtains, to strengthen the back image be the increase conversion coefficient in the zone at center with each pixel.
Further; Said second computing unit 34 is used for strengthening the back image (i j) be the increase conversion coefficient γ (i of low noise contrast enhancing in the zone at center with each pixel through the details that obtains that following formula calculates that said first enhancement unit 33 obtains; J)
&gamma; ( i , j ) = &Sigma; k = - M M &Sigma; m = - N N f ( I Detail ( i + k , j + m ) ) I Detail ( i + k , j + m ) &CenterDot; &delta; ( | I Detail ( i , j ) - I Detail ( i + k , j + m ) | ) &Sigma; k = - M M &Sigma; m = - N N &delta; ( | I Detail ( i , j ) - I Detail ( i + k , j + m ) | ) ,
Wherein, said f () strengthens function for contrast, and said δ () is the weight counting function, and they satisfy following form respectively:
f ( x ) = &lambda; 1 ( x ) ( L &le; x &le; T L ) &lambda; 2 ( x ) ( T L < x < T H ) &lambda; 3 ( x ) ( T H &le; x &le; H ) , &delta; ( x ) = &lambda; 4 ( x ) ( 0 &le; x &le; T ) 0 ( x > T ) ,
Wherein, T LAnd T HBe a given in advance threshold value, its scope is [L, H], λ 1(x) be [L, T L] the interior monotonically increasing function of scope, λ 1(L)=and L, λ 1(T L)=R L, and R L∈ [L, T L); λ 2(x) be [T L, T H] the interior monotonically increasing function of scope, λ 2(T L)=R L, λ 1(T H)=R H, and R H∈ (T H, H]; λ 3(x) be [T H, H] and the interior monotonically increasing function of scope, λ 3(T H)=R H, λ 3(H)=H; λ 4(x) be the monotonic decreasing function in [0, T] scope, λ 4(0)=1, λ 4(T)=and P, said P is given in advance threshold value, and P ∈ [0, (H-L)].
Said second enhancement unit 35; Each that is used for calculating according to second computing unit 34 increases conversion coefficient each corresponding pixel of details enhancing back image that said first enhancement unit 33 obtains is carried out the enhancing of low noise contrast, is finally strengthened the back image.
Further, said second enhancement unit 35 is used for calculating final enhancing back image I through following formula Enhancement,
I Enhancement(i, j)=γ (i, j) I Detail(i, j), wherein, said I Enhancement(i is j) for strengthening back image slices vegetarian refreshments (i, pixel value j).
So far, promptly obtained the image intensifier device that the present invention adopted.The concrete realization flow of device shown in Figure 3 can repeat no more referring to Fig. 2 here.
In a word; The image enchancing method that the present invention adopted; Through original image is handled, obtain detail pictures, and calculate in the original image be the local reinforcing coefficient in zone at center with each pixel after; With each the local reinforcing coefficient that calculates each corresponding pixel of original image being carried out details according to the detail pictures that obtains strengthens; Obtain details and strengthen the back image, also just realized enhancing, improved the intellectual analysis accuracy for processing detailed information such as edge of image
In addition; It is that the increase conversion coefficient in the zone at center calculates that the inventive method can also strengthen in the image of back with each pixel details; And then according to the increase conversion coefficient that calculates details is strengthened the back image and further carry out the low noise contrast and strengthen; Also just strengthen the information of image further, improved the subjective quality of image.
The above is merely preferred embodiment of the present invention, and is in order to restriction the present invention, not all within spirit of the present invention and principle, any modification of being made, is equal to replacement, improvement etc., all should be included within the scope that the present invention protects.

Claims (10)

1. an image enchancing method is characterized in that, this method comprises:
Original image is handled, obtained detail pictures;
Calculating in the original image with each pixel is the local reinforcing coefficient in the zone at center;
According to the detail pictures that obtains and each the local reinforcing coefficient that calculates each corresponding pixel of original image is strengthened, obtains details and strengthen the back image,
Wherein, be that the local reinforcing coefficient in the zone at center comprises with each pixel in the said calculating original image: calculate through following formula that (i j) is the local reinforcing coefficient β in the zone at center with each pixel in the original image Local(i, j),
β Local(i, j)=β E(i, j)+β σ(i, j), wherein,
&beta; E ( i , j ) = &PartialD; E ( k E E global - E local ( i , j ) ) , E local ( i , j ) < k E E global 0 , E local ( i , j ) &GreaterEqual; k E E global ,
&beta; &sigma; ( i , j ) = &PartialD; &sigma; ( &sigma; local 2 ( i , j ) - k &sigma; &sigma; global 2 ) , &sigma; local 2 ( i , j ) > k &sigma; &sigma; global 2 0 , &sigma; local 2 ( i , j ) &le; k &sigma; &sigma; global 2 ,
Said E GlobalBe the overall average of original image, said
Figure FSB00000693881000013
Be the overall variance of original image, said E Local(i, j) be the original image pixels point (i, local mean value j), said For the original image pixels point (i, local variance j), said
Figure FSB00000693881000015
For image light and shade weight coefficient, said
Figure FSB00000693881000016
Be the image detail weight coefficient, said k EBe the threshold value coefficient of image light and shade, said k σThreshold value coefficient for image detail information;
The detail pictures that said basis obtains strengthens each corresponding pixel of original image with the local reinforcing coefficient of each that calculates, and obtains details enhancing back image and comprises: calculate details through following formula and strengthen the back image I Detail,
I Detail(i,j)=I orig(i,j)+β globalβ local(i,j)I high(i,j),
Wherein, said I Detail(i j) strengthens the back image I for details DetailPixel (i, pixel value j), said I Orig(i j) is original image pixels point (i, pixel value j), said β GlobalBe overall reinforcing coefficient, its value is selected according to image actual needs enhanced strength, said β Local(i j) is original image pixels point (i, local reinforcing coefficient j), said I High(i j) is detail pictures pixel (i, pixel value j).
2. method according to claim 1 is characterized in that, this method also comprises:
It is the increase conversion coefficient in the zone at center that the computational details strengthens in the image of back with each pixel;
Increase conversion coefficient according to each that calculates each pixel that details strengthens back image correspondence is carried out the enhancing of low noise contrast, finally strengthened the back image.
3. method according to claim 1 and 2 is characterized in that, said original image is handled, and obtains detail pictures and comprises:
Original image is carried out LPF through low pass filter, obtain low-pass pictures;
Pixel value on original image and the low-pass pictures corresponding pixel points is carried out the high-pass image that additive operation obtains, as detail pictures.
4. method according to claim 1 and 2 is characterized in that, said original image is handled, and obtains detail pictures and comprises: original image is carried out high-pass filtering through high pass filter, with the high-pass image that obtains as detail pictures.
5. method according to claim 2; It is characterized in that; Be that the local reinforcing coefficient in the zone at center comprises with each pixel in the said calculating original image: calculate through following formula that (i j) is the local reinforcing coefficient β in the zone at center with each pixel in the original image Local(i, j),
β Local(i, j)=β E(i, j)+β σ(i, j), wherein,
&beta; E ( i , j ) = &PartialD; E ( k E E global - E local ( i , j ) ) , E local ( i , j ) < k E E global 0 , E local ( i , j ) &GreaterEqual; k E E global ,
&beta; &sigma; ( i , j ) = &PartialD; &sigma; ( &sigma; local 2 ( i , j ) - k &sigma; &sigma; global 2 ) , &sigma; local 2 ( i , j ) > k &sigma; &sigma; global 2 0 , &sigma; local 2 ( i , j ) &le; k &sigma; &sigma; global 2 ,
Said E GlobalBe the overall average of original image, said Be the overall variance of original image, said E Local(i, j) be the original image pixels point (i, local mean value j), said
Figure FSB00000693881000024
For the original image pixels point (i, local variance j), said
Figure FSB00000693881000025
For image light and shade weight coefficient, said
Figure FSB00000693881000026
Be the image detail weight coefficient, said k EBe the threshold value coefficient of image light and shade, said k σThreshold value coefficient for image detail information;
The detail pictures that said basis obtains strengthens each corresponding pixel of original image with the local reinforcing coefficient of each that calculates, and obtains details enhancing back image and comprises: calculate details through following formula and strengthen the back image I Detail,
I Detail(i,j)=I orig(i,j)+β globalβ local(i,j)I high(i,j),
Wherein, said I Detail(i j) strengthens the back image I for details DetailPixel (i, pixel value j), said I Orig(i j) is original image pixels point (i, pixel value j), said β GlocalBe overall reinforcing coefficient, its value is selected according to image actual needs enhanced strength, said β Local(i j) is original image pixels point (i, local reinforcing coefficient j), said I High(i j) is detail pictures pixel (i, pixel value j);
It is that the increase conversion coefficient in the zone at center comprises that the said computational details strengthens in the image of back with each pixel: calculate details through following formula and strengthen the back image I DetailIn with each pixel (i, j) be the increase conversion coefficient γ that strengthens of the low noise contrast in the zone at center (i, j),
&gamma; ( i , j ) = &Sigma; k = - M M &Sigma; m = - N N f ( I Detail ( i + k , j + m ) ) I Detail ( i + k , j + m ) &CenterDot; &delta; ( | I Detail ( i , j ) - I Detail ( i + k , j + m ) | ) &Sigma; k = - M M &Sigma; m = - N N &delta; ( | I Detail ( i , j ) - I Detail ( i + k , j + m ) | ) ,
Wherein, (i is j) apart from its region horizontal boundary distance for M remarked pixel point; N remarked pixel point (i; J) apart from the vertical frontier distance in its region, said f () strengthens function for contrast, and said δ () is the weight counting function; Said k is the side-play amount of image level direction, and said m is the side-play amount of image vertical direction;
Each increase conversion coefficient that said basis calculates strengthens back each corresponding pixel of image to details and carries out the enhancing of low noise contrast, and image comprises after finally being strengthened: calculate final enhancing back image I through following formula Enhancement,
I Enhancement(i, j)=γ (i, j) I Detail(i, j), wherein, said I Enhancement(i is j) for strengthening back image slices vegetarian refreshments (i, pixel value j).
6. an image intensifier device is characterized in that, this device comprises: treatment of details unit, first computing unit and first enhancement unit, wherein,
Said treatment of details unit is used for original image is handled, and obtains detail pictures;
Said first computing unit is used for calculating the local reinforcing coefficient that original image is the zone at center with each pixel;
Said first enhancement unit, each local reinforcing coefficient that the detail pictures that is used for obtaining according to the treatment of details unit and first computing unit calculate strengthens each corresponding pixel of original image, and obtain details and strengthen the back image,
Wherein, said first computing unit comprises: overall mean value computation unit, overall variance computing unit, local mean value computing unit, local variance computing unit and first computation subunit, wherein,
Said overall mean value computation unit is used for through formula
Figure FSB00000693881000041
Calculate the overall average E of original image Global, wherein, said r is any pixel value of pixel in the original image, and said p (r) is the probability that the pixel of r occurs in original image for pixel value, and said L and H are respectively minimum pixel value and the max pixel value in the original image;
Said overall variance computing unit is used for calculating through formula the overall variance
Figure FSB00000693881000043
of original image
Said local mean value computing unit is used for through formula E Local ( i , j ) = 1 ( 2 M + 1 ) &times; ( 2 N + 1 ) &Sigma; k = - M M &Sigma; m = - N N I Orig ( i + k , j + m ) Calculate original image pixels point (i, local mean value E j) Local(i, j), wherein, M remarked pixel point (i, j) apart from its region horizontal boundary distance, (i is j) apart from the vertical frontier distance in its region for N remarked pixel point;
Said local variance computing unit is used for through formula &sigma; Local 2 ( i , j ) = 1 ( 2 M + 1 ) &times; ( 2 N + 1 ) &Sigma; k = - M M &Sigma; m = - N N ( I Orig ( i + k , j + m ) - E Local ( i , j ) ) 2 Calculate original image pixels point (i, local variance j)
Figure FSB00000693881000046
Said k is the side-play amount of image level direction, and said m is the side-play amount of image vertical direction;
Said first computation subunit is used for the overall average E according to the original image that calculates Global, overall variance
Figure FSB00000693881000047
Pixel (i, local mean value E j) Local(i, j) and pixel (i, local variance j) Calculate through following formula that (i j) is the local reinforcing coefficient β in the zone at center with each pixel in the original image Local(i, j),
β Local(i, j)=β E(i, j)+β σ(i, j), wherein,
&beta; E ( i , j ) = &PartialD; E ( k E E global - E local ( i , j ) ) , E local ( i , j ) < k E E global 0 , E local ( i , j ) &GreaterEqual; k E E global ,
&beta; &sigma; ( i , j ) = &PartialD; &sigma; ( &sigma; local 2 ( i , j ) - k &sigma; &sigma; global 2 ) , &sigma; local 2 ( i , j ) > k &sigma; &sigma; global 2 0 , &sigma; local 2 ( i , j ) &le; k &sigma; &sigma; global 2 ,
Said
Figure FSB00000693881000053
For image light and shade weight coefficient, said Be the image detail weight coefficient, said k EBe the threshold value coefficient of image light and shade, said k σThreshold value coefficient for image detail information;
Said first enhancement unit is used for calculating details through following formula and strengthens the back image I Detail,
I Detail(i,j)=I orig(i,j)+β globalβ local(i,j)I high(i,j),
Wherein, said I Detail(i j) strengthens back image slices vegetarian refreshments (i, pixel value j), said I for details Orig(i j) is original image pixels point (i, pixel value j), said β GlobalBe overall reinforcing coefficient, its value is selected according to image actual needs enhanced strength, said β Local(, j) be original graph image slices vegetarian refreshments (i, local reinforcing coefficient j), said I High(i j) is detail pictures pixel (i, pixel value j).
7. device according to claim 6 is characterized in that, this device also comprises: second computing unit and second enhancement unit, wherein,
Said second computing unit, being used for calculating details that said first enhancement unit obtains, to strengthen the back image be the increase conversion coefficient in the zone at center with each pixel;
Said second enhancement unit; Each that is used for calculating according to second computing unit increases conversion coefficient each corresponding pixel of details enhancing back image that said first enhancement unit obtains is carried out the enhancing of low noise contrast, is finally strengthened the back image.
8. according to claim 6 or 7 described devices, it is characterized in that said treatment of details unit comprises that low pass is handled subelement and high pass is handled subelement, wherein,
Said low pass is handled subelement, is used for original image is carried out LPF through low pass filter, obtains low-pass pictures;
Said high pass is handled subelement, is used for original image and the pixel value handled on the low-pass pictures corresponding pixel points that subelement obtains through low pass are carried out the high-pass image that additive operation obtains, as detail pictures.
9. according to claim 6 or 7 described devices, it is characterized in that said treatment of details unit comprises that high pass handles subelement, be used for original image is carried out high-pass filtering through high pass filter, with the high-pass image that obtains as detail pictures.
10. device according to claim 7 is characterized in that, said first computing unit comprises: overall mean value computation unit, overall variance computing unit, local mean value computing unit, local variance computing unit and first computation subunit, wherein,
Said overall mean value computation unit is used for through formula
Figure FSB00000693881000061
Calculate the overall average E of original image Global, wherein, said r is any pixel value of pixel in the original image, and said p (r) is the probability that the pixel of r occurs in original image for pixel value, and said L and H are respectively minimum pixel value and the max pixel value in the original image;
Said overall variance computing unit is used for calculating through formula
Figure FSB00000693881000062
the overall variance
Figure FSB00000693881000063
of original image
Said local mean value computing unit is used for through formula E Local ( i , j ) = 1 ( 2 M + 1 ) &times; ( 2 N + 1 ) &Sigma; k = - M M &Sigma; m = - N N I Orig ( i + k , j + m ) Calculate original image pixels point (i, local mean value E j) Local(i, j), wherein, M remarked pixel point (i, j) apart from its region horizontal boundary distance, N remarked pixel point (i, j) apart from the vertical frontier distance in its region, said k is the side-play amount of image level direction, said m is the side-play amount of image vertical direction;
Said local variance computing unit is used for through formula &sigma; Local 2 ( i , j ) = 1 ( 2 M + 1 ) &times; ( 2 N + 1 ) &Sigma; k = - M M &Sigma; m = - N N ( I Orig ( i + k , j + m ) - E Local ( i , j ) ) 2 Calculate original image pixels point (i, local variance j)
Figure FSB00000693881000066
Said first computation subunit is used for the overall average E according to the original image that calculates Global, overall variance
Figure FSB00000693881000067
Pixel (i, local mean value E j) Local(i, j) and pixel (i, local variance j)
Figure FSB00000693881000068
Calculate through following formula that (i j) is the local reinforcing coefficient β in the zone at center with each pixel in the original image Local(i, j),
β Local(i, j)=β E(i, j)+β σ(i, j), wherein,
&beta; E ( i , j ) = &PartialD; E ( k E E global - E local ( i , j ) ) , E local ( i , j ) < k E E global 0 , E local ( i , j ) &GreaterEqual; k E E global ,
&beta; &sigma; ( i , j ) = &PartialD; &sigma; ( &sigma; local 2 ( i , j ) - k &sigma; &sigma; global 2 ) , &sigma; local 2 ( i , j ) > k &sigma; &sigma; global 2 0 , &sigma; local 2 ( i , j ) &le; k &sigma; &sigma; global 2 ,
Said
Figure FSB00000693881000073
For image light and shade weight coefficient, said
Figure FSB00000693881000074
Be the image detail weight coefficient, said k EBe the threshold value coefficient of image light and shade, said k σThreshold value coefficient for image detail information;
Said first enhancement unit is used for calculating details through following formula and strengthens the back image I Detail,
I Detail(i,j)=I orig(i,j)+β globalβ local(i,j)I high(i,j),
Wherein, said I Detail(i j) strengthens back image slices vegetarian refreshments (i, pixel value j), said I for details Orig(i j) is original image pixels point (i, pixel value j), said β GlobalBe overall reinforcing coefficient, its value is selected according to image actual needs enhanced strength, said β Local(i j) is original graph image slices vegetarian refreshments (i, local reinforcing coefficient j), said I High(i j) is detail pictures pixel (i, pixel value j);
Said second computing unit, be used for through following formula calculate details that said first enhancement unit obtains strengthen the back image with each pixel (i, j) be the center the zone the enhancing of low noise contrast increase conversion coefficient γ (i, j),
&gamma; ( i , j ) = &Sigma; k = - M M &Sigma; m = - N N f ( I Detail ( i + k , j + m ) ) I Detail ( i + k , j + m ) &CenterDot; &delta; ( | I Detail ( i , j ) - I Detail ( i + k , j + m ) | ) &Sigma; k = - M M &Sigma; m = - N N &delta; ( | I Detail ( i , j ) - I Detail ( i + k , j + m ) | ) ,
Wherein, said f () strengthens function for contrast, and said δ () is the weight counting function;
Said second enhancement unit is used for calculating final enhancing back image I through following formula Enhancement,
I Enhancement(i, j)=γ (i, j) I Detail(i, j), wherein, said I Enhancement(i is j) for strengthening back image slices vegetarian refreshments (i, pixel value j).
CN 201010621705 2010-12-27 2010-12-27 Method and device for enhancing images Active CN102014243B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010621705 CN102014243B (en) 2010-12-27 2010-12-27 Method and device for enhancing images

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010621705 CN102014243B (en) 2010-12-27 2010-12-27 Method and device for enhancing images

Publications (2)

Publication Number Publication Date
CN102014243A CN102014243A (en) 2011-04-13
CN102014243B true CN102014243B (en) 2012-04-25

Family

ID=43844238

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010621705 Active CN102014243B (en) 2010-12-27 2010-12-27 Method and device for enhancing images

Country Status (1)

Country Link
CN (1) CN102014243B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104657941B (en) * 2013-11-25 2017-08-15 炬芯(珠海)科技有限公司 A kind of image border self-adapting enhancement method and device
CN104112264A (en) * 2014-07-15 2014-10-22 东南大学 Local variance image intensification based optimization method
CN105740876B (en) * 2014-12-10 2019-11-22 阿里巴巴集团控股有限公司 A kind of image pre-processing method and device
CN104715735B (en) * 2015-03-31 2017-08-25 福州瑞芯微电子股份有限公司 A kind of method and apparatus of backlight adjustment
CN105654435B (en) * 2015-12-25 2018-09-11 武汉鸿瑞达信息技术有限公司 A kind of face skin softening method for whitening
CN107229385B (en) * 2016-03-26 2023-05-26 谭登峰 Method for improving smoothness of cursor movement track
CN107229376B (en) * 2016-03-26 2023-08-01 谭登峰 Anti-interference method for automatic positioning
CN105869132B (en) * 2016-04-26 2018-10-02 成都市晶林科技有限公司 a kind of infrared image detail enhancing method
CN106445223B (en) * 2016-07-25 2018-11-13 南京仁光电子科技有限公司 A kind of anti-interference method of optical touch screen automatic positioning
CN107195021A (en) * 2017-05-25 2017-09-22 深圳市创艺工业技术有限公司 The drive recorder of haze interference
CN108550158B (en) * 2018-04-16 2021-12-17 Tcl华星光电技术有限公司 Image edge processing method, electronic device and computer readable storage medium
CN109325922B (en) * 2018-09-12 2022-03-11 深圳开阳电子股份有限公司 Image self-adaptive enhancement method and device and image processing equipment
CN109509158B (en) * 2018-11-19 2021-06-11 电子科技大学 Infrared image stripe removing method based on amplitude constraint
CN110415307B (en) * 2019-06-14 2021-03-19 中国地质大学(武汉) Tensor completion-based multi-energy CT imaging method and device and storage equipment thereof
CN112488945B (en) * 2020-12-04 2024-04-26 珠海普生医疗科技有限公司 Endoscope image enhancement method based on local convergence

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
詹翔等.一种基于局部方差的雾天图像增强方法.《计算机应用》.2007,第27卷(第2期),参见0-1部分. *
马银平.基于局部均值和标准差的图像增强算法.《计算机工程》.2009,第35卷(第22期),全文. *

Also Published As

Publication number Publication date
CN102014243A (en) 2011-04-13

Similar Documents

Publication Publication Date Title
CN102014243B (en) Method and device for enhancing images
CN110263706B (en) Method for detecting and identifying dynamic target of vehicle-mounted video in haze weather
CN101833754B (en) Image enhancement method and image enhancement system
US8774555B2 (en) Image defogging method and system
CN102202163B (en) Adaptive enhancement method and device for monitored video
CN102682443B (en) Rapid defogging algorithm based on polarization image guide
CN102014279B (en) Method and device for intensifying video image contrast
CN101770639B (en) Enhancement method of low-illumination image
CN103049888A (en) Image/video demisting method based on combination of dark primary color of atmospheric scattered light
CN107292830B (en) Low-illumination image enhancement and evaluation method
CN101626454B (en) Method for intensifying video visibility
CN109993804A (en) A kind of road scene defogging method generating confrontation network based on condition
CN104091310A (en) Image defogging method and device
CN102231791A (en) Video image defogging method based on image brightness stratification
CN103996178A (en) Sand and dust weather color image enhancing method
CN104299192A (en) Single image defogging method based on atmosphere light scattering physical model
CN102131079B (en) Method and device for eliminating motion blur of image
CN104036466A (en) Video defogging method and system
CN105023256A (en) Image defogging method and system
CN102999890B (en) Based on the image light dynamic changes of strength bearing calibration of environmental factor
CN110400274B (en) Infrared image enhancement method for vehicle-mounted infrared pedestrian detection
CN102789634B (en) A kind of method obtaining illumination homogenization image
CN104318535A (en) Image defogging method and device and mobile terminal
CN1489111A (en) Remote-sensing image mixing method based on local statistical property and colour space transformation
CN113705427B (en) Fatigue driving monitoring and early warning method and system based on vehicle-mounted chip SoC

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.