CN104918029A - Method for enhancing depth of field of image of display - Google Patents
Method for enhancing depth of field of image of display Download PDFInfo
- Publication number
- CN104918029A CN104918029A CN201410088919.0A CN201410088919A CN104918029A CN 104918029 A CN104918029 A CN 104918029A CN 201410088919 A CN201410088919 A CN 201410088919A CN 104918029 A CN104918029 A CN 104918029A
- Authority
- CN
- China
- Prior art keywords
- brightness
- signal
- luminance
- image
- field
- 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
Links
Landscapes
- Processing Of Color Television Signals (AREA)
Abstract
The invention discloses a method for enhancing the depth of field of an image of a display. According to the method, the brightness distribution situation of signal input S is put into statistics through a first brightness threshold value B and a second brightness threshold value C, and weighting is performed according to the different brightness of the image. With the method of the invention adopted, when the display is used for dynamic medical image playback, the depth of field and the perspectiveness of the image can be obviously improved under the situation that the backlight brightness of the image is not changed.
Description
Technical field
The present invention relates to a kind of method strengthening the display image depth of field.
Background technology
Usually when doctor performs an operation, definite observe operative site in order to clear, peep escope to present the enough good depth of field in requiring to adopt, namely can see more content in the same painting face, require that bright the showing slinkingly of display shows that effect difference is obvious.And the method for existing raising display image Deep Canvas is the overall brightness situation by judging image, dynamically adjust backlight illumination, thus reach black more black, bright brighter effect.But the backlight voltage of this method owing to being adjustment, the display situation of integral image can be affected, larger difference is not embodied for the bright dark situation of itself in image, thus not fine for display effect, and along with the continuous movement of endoscope in operation, when run into picture suddenly dimmed or brighten suddenly time, the method can due in adjustment backlight, seeming, picture is in flicker, affects doctor and judges.
Summary of the invention
The present invention seeks to: a kind of method strengthening the display image depth of field is provided.
Technical scheme of the present invention is: a kind of method strengthening the display image depth of field, and it at least comprises:
The first step: provide signal to input S;
Second step: signal is inputted S and be converted to YUV colour gamut signal by RGB colour gamut signal;
3rd step: maximum Max, the minimum M in and the mean value Ave that obtain brightness in pixel, wherein Ave=Count(brightness)/TotalPixel, Count (brightness) is for all luminance weighted, and TotalPixel is pixel number altogether inside piece image;
4th step: the Luminance Distribution situation being carried out statistical signal input S by first and second luminance threshold B, C: when the brightness of signal input S is greater than C, then belong to high-brightness region Z; When signal input S brightness be greater than B and be less than C time, then belong to middle luminance area Y; When the brightness of signal input S is less than B, then belong to low brightness area X, wherein B=(Min+Ave)/2; C=(Max+Ave)/2;
5th step: setting function f (S)=af(x)+bf(y)+cf(z) and carry out grey scale mapping, wherein f(S) and be luminance weighted curve, wherein a, b, c are the weighting parameters of low-light level, intermediate luminance, high brightness, a+b+c=1;
6th step: again YUV colour gamut signal is converted to rgb signal, outputs to display screen.
On the basis of technique scheme, comprise attached technical scheme further:
The reduction formula of described second step is as follows:
The reduction formula of described 6th step is as follows:
Advantage of the present invention is:
The present invention, when display is used for dynamic image broadcasting, makes the depth of field of image itself and penetrating sense be significantly improved when by not changing display backlight brightness, be convenient to doctor and use.
Accompanying drawing explanation
Below in conjunction with drawings and Examples, the invention will be further described:
Fig. 1 is flow chart of the present invention;
Fig. 2 is statistics Luminance Distribution situation map of the present invention;
Fig. 3 is dark rank of the present invention curve charts;
Fig. 4 is bright rank of the present invention curve charts.
Embodiment
Embodiment: as shown in Figure 1, it is specific embodiment of the invention method, and it comprises:
The first step: provide signal to input S, signal input S refers to the data inputing to display screen from video card, is preferably octet data;
Second step: signal is inputted S and be converted to YUV colour gamut signal by RGB colour gamut signal, reduction formula is as follows:
3rd step: after converting, the brightness Y of statistics input signal gray-scale intensity distributed areas and each pixel, and obtain maximum Max, minimum M in and the mean value Ave of brightness; Wherein Ave=Count (brightness)/TotalPixel; Wherein Count (brightness)=count (Min)+count (Min+1)+... count (Max), what Count (brightness) was all pixels is luminance weighted, and TotalPixel is pixel number altogether inside piece image; Thus obtain first and second luminance threshold B=(Min+Ave of needs)/2; C=(Max+Ave)/2.
4th step: shown in figure 2, carrys out the Luminance Distribution situation of statistical signal input S: when the brightness of signal input S is greater than C, then belong to high-brightness region Z by first and second luminance threshold B, C; When signal input S brightness be greater than B and be less than C time, then belong to middle luminance area Y; When the brightness of signal input S is less than B, then belong to low brightness area X; Signal input S refers to the 8bit data inputing to display from video card, will dynamically produce the curve of superposition according to being in the pixel number inside luminance area XYZ.Because medical imaging is overall, low-light level part is less usually, intermediate luminance and high brightness composition more, the image namely belonging to Y and Z part is more.
5th step: setting function f (S)=af(x)+bf(y)+cf(z) and carry out grey scale mapping, wherein f(S) be luminance weighted curve, normally when hospital uses, image is made up of the image of high, normal, basic three states, a, b, c is low-light level, intermediate luminance, the weighting parameters of high brightness, a, b, the numerical value of c is the proportions obtained by luma samples, a+b+c=1, a, b, the ratio of c is the low of statistics, in, high brightness number, f (x), f (y), f (z) is the empirical value curve obtained by reference to a large amount of medical image datas.F(x), f(y), f(z) be independent luminance weighted curve (0<x<B, B<y<C, C<z<256), three corresponds respectively to low middle high three kinds of brightness case.Af (x)+bf (y)+cf (z) weighting obtains final dynamic brightness adjustment curve.
Because usual human eye is not linear for the feedback of image, little by little changes under the state on dark rank and just can discover, but larger numerical value change may be needed when bright rank to see.First by general image be dark rank, scala media, these three kinds of situations of bright rank analyze.When arranging dark rank curve f (x), in order to image change can be seen more significantly, dynamically each data of coming in up are improved, as shown in Figure 3, suppose that original curve is straight-through bypass situation, manually draw curve to become arc curve, low gray scale image can be seen clearly.Article 2 is exactly scala media weighted curve f (y), at display itself under the prerequisite of curvature correction, scala media brightness can be done according to the demand of doctor and little by little change, because final depth of field impact is weighted curve f (x) and f (z), thus, weighted curve is directly defaulted as original curve.Luminance weighted curve f (z) of Article 3 is mainly for the high-order ash exponent part in image, as Fig. 4, the situation of relative bypass is by the brightness curve of entirety toward drop-down, and effect, as arc curve, can allow the clear picture of high gray show by dynamically reducing gray scale states like this.
6th step: YUV colour gamut signal is converted to RGB colour gamut signal, and outputs to display screen, wherein reduction formula is as follows:
The present invention, when display is used for dynamic image broadcasting, makes the depth of field of image itself and penetrating sense be significantly improved when by not changing image back light brightness.
Certain above-described embodiment, only for technical conceive of the present invention and feature are described, its object is to person skilled in the art can be understood content of the present invention and implement according to this, can not limit the scope of the invention with this.All equivalent transformations of doing according to the Spirit Essence of main technical schemes of the present invention or modification, all should be encompassed within protection scope of the present invention.
Claims (3)
1. strengthen a method for the display image depth of field, it is characterized in that it at least comprises:
The first step: provide signal to input S;
Second step: signal is inputted S and be converted to YUV colour gamut signal by RGB colour gamut signal;
3rd step: maximum Max, the minimum M in and the mean value Ave that obtain brightness in pixel, wherein Ave=Count(brightness)/TotalPixel, what Count (brightness) was all pixels is luminance weighted, and TotalPixel is pixel number altogether inside piece image;
4th step: the Luminance Distribution situation being carried out statistical signal input S by first and second luminance threshold B, C: when the brightness of signal input S is greater than C, then belong to high-brightness region Z; When signal input S brightness be greater than B and be less than C time, then belong to middle luminance area Y; When the brightness of signal input S is less than B, then belong to low brightness area X, wherein B=(Min+Ave)/2, C=(Max+Ave)/2;
5th step: setting function f (S)=af(x)+bf(y)+cf(z) and carry out grey scale mapping, wherein f(S) and be luminance weighted curve, wherein a, b, c are the weighting parameters of low-light level, intermediate luminance, high brightness, a+b+c=1;
6th step: again YUV colour gamut signal is converted to rgb signal, outputs to display screen.
2. a kind of method strengthening the display image depth of field as claimed in claim 1, is characterized in that: the reduction formula of described second step is as follows:
3. a kind of method strengthening the display image depth of field as claimed in claim 2, is characterized in that: the reduction formula of described 6th step is as follows:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410088919.0A CN104918029A (en) | 2014-03-11 | 2014-03-11 | Method for enhancing depth of field of image of display |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410088919.0A CN104918029A (en) | 2014-03-11 | 2014-03-11 | Method for enhancing depth of field of image of display |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104918029A true CN104918029A (en) | 2015-09-16 |
Family
ID=54086682
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410088919.0A Pending CN104918029A (en) | 2014-03-11 | 2014-03-11 | Method for enhancing depth of field of image of display |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104918029A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2838174Y (en) * | 2005-10-19 | 2006-11-15 | 上海广电(集团)有限公司中央研究院 | Device for dynamic video layer processing on the basis of maximum and minimum values |
CN101190135A (en) * | 2006-11-29 | 2008-06-04 | 深圳迈瑞生物医疗电子股份有限公司 | Method for optimizing ultrasonic image gray level in ultrasonic imaging system |
CN102231264A (en) * | 2011-06-28 | 2011-11-02 | 王洪剑 | Dynamic contrast enhancement device and method |
CN102596048A (en) * | 2010-10-26 | 2012-07-18 | 株式会社东芝 | Ultrasonographic device, ultrasonic image processing device, medical image diagnostic device, and medical image processing device |
CN103327323A (en) * | 2012-03-14 | 2013-09-25 | 杜比实验室特许公司 | Efficient tone-mapping of high-bit-depth video to low-bit-depth display |
-
2014
- 2014-03-11 CN CN201410088919.0A patent/CN104918029A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2838174Y (en) * | 2005-10-19 | 2006-11-15 | 上海广电(集团)有限公司中央研究院 | Device for dynamic video layer processing on the basis of maximum and minimum values |
CN101190135A (en) * | 2006-11-29 | 2008-06-04 | 深圳迈瑞生物医疗电子股份有限公司 | Method for optimizing ultrasonic image gray level in ultrasonic imaging system |
CN102596048A (en) * | 2010-10-26 | 2012-07-18 | 株式会社东芝 | Ultrasonographic device, ultrasonic image processing device, medical image diagnostic device, and medical image processing device |
CN102231264A (en) * | 2011-06-28 | 2011-11-02 | 王洪剑 | Dynamic contrast enhancement device and method |
CN103327323A (en) * | 2012-03-14 | 2013-09-25 | 杜比实验室特许公司 | Efficient tone-mapping of high-bit-depth video to low-bit-depth display |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4979776B2 (en) | Image display device and image display method | |
JP5443211B2 (en) | system | |
US9495921B2 (en) | Video display device and television receiving device with luminance stretching | |
CN101183513B (en) | Backlight processing system and method thereof | |
JP5165802B1 (en) | Video display device and television receiver | |
EP2688059B1 (en) | Video display device | |
US20140368527A1 (en) | Video display device and television receiving device | |
CN102298906A (en) | Liquid crystal display device | |
JP5197858B1 (en) | Video display device and television receiver | |
US8964124B2 (en) | Video display device that stretches a video signal and a signal of the light source and television receiving device | |
CN102568386A (en) | Method and system for dynamic backlight local control liquid crystal display | |
KR20070085114A (en) | Video signal transformation device, and video display device | |
CN103460278A (en) | Video display device and television reception device | |
CN101142610B (en) | Method and/or apparatus to improve the visual perception of an image displayed on a screen | |
CN104918029A (en) | Method for enhancing depth of field of image of display | |
JP2013162513A (en) | Video display unit and television receiver | |
CN117198220B (en) | Driving method and device of display panel, display module and electronic equipment | |
JP6532103B2 (en) | Video display device and television receiver | |
JP2013167876A (en) | Video display device and television receiver |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150916 |