WO2007017785A2 - Method of setting contrast in digital image processing, and an arrangement for this purpose - Google Patents

Method of setting contrast in digital image processing, and an arrangement for this purpose Download PDF

Info

Publication number
WO2007017785A2
WO2007017785A2 PCT/IB2006/052606 IB2006052606W WO2007017785A2 WO 2007017785 A2 WO2007017785 A2 WO 2007017785A2 IB 2006052606 W IB2006052606 W IB 2006052606W WO 2007017785 A2 WO2007017785 A2 WO 2007017785A2
Authority
WO
WIPO (PCT)
Prior art keywords
histogram
image
region
contrast
arrangement
Prior art date
Application number
PCT/IB2006/052606
Other languages
English (en)
French (fr)
Other versions
WO2007017785A3 (en
Inventor
Roland Richter
Original Assignee
Nxp B.V.
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 Nxp B.V. filed Critical Nxp B.V.
Priority to US12/063,060 priority Critical patent/US20100195905A1/en
Priority to EP06780247A priority patent/EP1915736A2/en
Priority to JP2008525675A priority patent/JP2009505469A/ja
Publication of WO2007017785A2 publication Critical patent/WO2007017785A2/en
Publication of WO2007017785A3 publication Critical patent/WO2007017785A3/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/90Dynamic range modification of images or parts thereof
    • G06T5/94Dynamic range modification of images or parts thereof based on local image properties, e.g. for local contrast enhancement
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/40Image enhancement or restoration using histogram techniques
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4318Generation of visual interfaces for content selection or interaction; Content or additional data rendering by altering the content in the rendering process, e.g. blanking, blurring or masking an image region
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/44Receiver circuitry for the reception of television signals according to analogue transmission standards
    • H04N5/57Control of contrast or brightness
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10024Color image
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/16Calculation or use of calculated indices related to luminance levels in display data

Definitions

  • the invention relates to a method of setting contrast in digital image processing in which a brightness distribution in the form of a histogram is produced from image pixels and the histogram is revised with the help of transfer functions, and to an arrangement of suitable design.
  • a digital image picked up in a known fashion is composed of individual picture elements or pixels, with each pixel having assigned to it both a brightness, or what is referred to as a gray shade, and also, in the case of a colored digital image, a tristimulus value, i.e. a color.
  • An image picked up in this way may either be stored immediately in a suitable storage medium or may be reproduced on any desired display device such as, for example, an LCD screen.
  • the display device may have only a limited so-called dynamic range, i.e. that the maximum brightness or gray shade that is able to be reproduced by the display device at a pixel usually differs to only a limited degree from the minimum gray shade or brightness that can be shown. If however the image that is shown on such a display device is one that has been picked up digitally and that contains wide differences in contrast, such as, for example, a shot of a person or an object taken against light coming from behind the person or object in which there are extreme contrasts between light and dark, then the differences in brightness concerned cannot be exactly reproduced on the display device. This applies both to the reproduction of single images and to the reproduction of a sequence of images picked up digitally in the form of a video image.
  • the histogram or rather the values which have been read into it, to be revised, in order in particular to adapt the maximum differences in contrast in the histogram to the capabilities of the display device. This is done for example by applying to the input signal a non-linear color-code assigning function by which given intervals in the brightness distribution are made larger and others are made smaller in order to correct the histogram.
  • US 2005/0035974 Al also describes a histogram that is known per se and such as is used in electronic image processing.
  • the mathematical revision of the histogram is performed with the help of a fixed number of transfer functions, which number remains constant in the course of the adaptation process.
  • the transfer functions are decided on before the histogram is revised, which means that adaptation to different image contents is not possible.
  • An appropriate arrangement for this purpose is also to be provided.
  • the key concept underlying the invention is that a linear increase in contrast between the individual pixels or picture elements is made in only one region of the image, i.e. in only a section of the entire area that is shot.
  • the gray values and/or the tristimulus values are acquired in the histogram and are corrected linearly in the appropriate way, in such a way that the correction corresponds to the maximum resolution in contrast that is possible on the associated display device.
  • What is achieved in this way is that, in the section or region that is selected of the digital shot, use is made of the maximum contrast available, and in this way the reproduction of the maximum possible information becomes possible on, for example, an LCD display.
  • the pixels belonging to the region selected that have the lowest and highest brightness value are detected, and all the pixels' values lying therebetween are adapted linearly in the appropriate way in order to assign the minimum brightness able to be shown by the display device to the lowest brightness value and the maximum brightness able to be shown by it to the highest brightness value.
  • the region that is revised linearly in this way either to be laid down by a user himself, in the case for example of digital image processing on screen, or for the region having the greatest density of information to be selected automatically. Fuzzy logic processes may also be used for this purpose in a known fashion.
  • This may, in particular, be done by collecting a brightness distribution for the image, distributed in a fuzzy manner, in a histogram, in order in this way to obtain an assignment of the brightness and/or tristimulus values to the image. From this assignment function, the region having the highest density of information can then be determined automatically by assuming that a large change in the tristimulus or brightness values in a small space represents a high density of information.
  • the terms "histogram” or "filtered histogram” in what follows is not a histogram as understood in the prior art described above as the filtering processes according to the invention not only assigns the measured data to fixed classes but also classifies it into different classes with the help of a fuzzy assigning function.
  • the advantage of the invention lies in the fact that an automatic adaptation is performed of any desired images to the capabilities of the display device, because the differences in contrast that are produced are always only ones that the display device is actually able to show with sufficiently good quality. Also, the method calls for a substantially lower computing capacity. It goes without saying that the method steps described above may be implemented in an appropriate arrangement by either hardware and/or software means and may for example be incorporated in the form of a microprocessor in a digital camera.
  • the transfer function with which the histogram is revised in a manner known per se is, as claimed in claims 3 and 7, preferably not laid down or preset prior to the image processing proper but is only determined from the histogram.
  • the region that contains the highest density of information, and whose contrast is to be increased linearly in what follows is first determined from the digital image.
  • that transfer function is selected with which the best adaptation will be possible to the capabilities of the display device. This can be done automatically in an arrangement of suitable design, by for example simulation using different transfer functions.
  • Fig. 1 shows a schematic block diagram of the method
  • Fig. 2 shows a prefiltered histogram
  • Fig. 3 shows the distribution of the data
  • Fig. 4 shows the clipping.
  • FIG. 1 From the schematic block diagram in Fig. 1 can be seen the basic procedure followed in the image processing, with data interfaces being shown as oval boxes and processing operations by data processing devices being shown as rectangular boxes.
  • the processing of the pixels takes place in real time during the flow of data which arrives as a data stream representing a video image. What are used for the processing are a histogram unit for analyzing the scene shown and a pixel control unit for the assignment of color. Algorithmic calculations have to be performed for each pixel. In contrast to this, the processing of the parameters ideally takes place only during the vertical blanking. An assignment function for the red, green and blue (RGB) color codes for the next data block or field is to be defined in this case by using the statistics of the previous one. The period covered by the process may also be extended to the next active data-processing block or even longer, so long as the result is available in sufficiently good time to obtain temporal coherence between the block of transmitted data that is analyzed and the one that is corrected.
  • RGB red, green and blue
  • the algorithmic calculations are to be performed only once per block or field of transmitted data. This allows successive treatment by hardware and/or software means.
  • the segmentation unit establishes the region of the color codes that covers the major part of the complete color distribution, and determines a reasonable target range, to which said major part is assigned for the purpose of improving contrast.
  • the result is processed using a set of two reference points in the color space for the assigning function and is passed through a filter.
  • An interpolation unit lays down the clipping characteristics at the top and bottom ends of the transfer or assigning function and converts these characteristics into coefficients for the color assignment. These values are brought up to the latest state at the beginning of an active block of transmitted data. The minimum delay in the correction is therefore a single block or field of transmitted data.
  • the invention may also be applied to a system having a buffer store, with the analysis and change of the color distribution taking place in the same block of transmitted data. In this way the processing of the pixels is able to be performed in a more flexible way when the implementation is wholly or partly by software means.
  • PIXBITS is the number of bits, usually eight or ten, which is used for the coding of a single color channel.
  • BINBITS is the number of most significant color code bits that are used for the addressing of a histogram counter. A suitable value that will be used in what follows is two. This value controls the width of the pre-filter and the size of the histogram data interface. The actual number of cell counters n cnt works out as:
  • f 1)O may, in addition, be weighted in accordance with the proportional brightness of the associated component. This is of greater importance for the green channel than for the blue one.
  • the division determines a range of color codes that is focused on the maximum of the color distribution cntj and that assists with the increase in contrast. It is defined by two statistical parameters segin 0)1 that, as can be seen in Fig. 3, specify the normalized weight of distribution to the left of the region boundary rcirny :
  • the center region has a linear increasing factor applied to it to increase contrast, whereas the outer regions are compressed using a soft-clipping algorithm that is used in the downstream interpolation unit.
  • the setting of the minimum for dcout to zero stops the center region from being compressed and the outer regions from being too heavily boosted if color distributions are being processed that are concentrated on dark and/or light colors.
  • the interpolation unit generates polynomial coefficients that form an assigning function that extends through the two reference points, that assigns these two points to one another linearly, with which parametrizable clipping is possible in the outer regions and with which no gaps or discontinuities occur even when the accuracy of calculation is low.
  • PC 1 (couto - COUt 1 ) / (CUi 1 - cin 0 )
  • the behavior of the outer regions can be controlled by a set of statistical parameters.
  • boundary conditions will be elucidated by way of example. The following conditions are common to all the following methods of interpolation:
  • a linear soft clip may be applied, of the kind that is shown in Fig. 4 by curve E, in which pc2 0) 2 is set as equal to zero.
  • curve E in which pc2 0) 2 is set as equal to zero.
  • the clipping behavior may preferably be implemented by slight changes in the assigning function at cin with, at the same time, the clipping in the outer regions being sharp.
  • What is used for this purpose is a set of statistical parameters ipolclip 0)1 that limit the gradient for the transfer function to c m in,m a ⁇ - In what follows it will be merely the upper region that is elucidated, the lower region being calculated in a corresponding way.
  • a change in contrast set by the user is also possible. Particularly when there is back-lighting, as in LCD television sets for example, this back-lighting can be acted on dynamically with the invention. When dark images are being shown on the screen the back-lighting is reduced and at the same time the contrast of the darker shades of color is increased and the lighter shades of color are compressed. In simple terms, what this means is that to a viewer a black appears even blacker whereas a shade of gray remains unchanged and a light or white shade of color is dimmed.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Image Processing (AREA)
  • Apparatus For Radiation Diagnosis (AREA)
  • Picture Signal Circuits (AREA)
PCT/IB2006/052606 2005-08-08 2006-07-31 Method of setting contrast in digital image processing, and an arrangement for this purpose WO2007017785A2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US12/063,060 US20100195905A1 (en) 2005-08-08 2006-07-31 Method of setting contrast in digital image processing, and an arrangement for this purpose
EP06780247A EP1915736A2 (en) 2005-08-08 2006-07-31 Method of setting contrast in digital image processing, and an arrangement for this purpose
JP2008525675A JP2009505469A (ja) 2005-08-08 2006-07-31 デジタル画像処理におけるコントラストの設定方法およびこのための装置

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
EP05107292.4 2005-08-08
EP05107292 2005-08-08

Publications (2)

Publication Number Publication Date
WO2007017785A2 true WO2007017785A2 (en) 2007-02-15
WO2007017785A3 WO2007017785A3 (en) 2007-05-31

Family

ID=37704324

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/IB2006/052606 WO2007017785A2 (en) 2005-08-08 2006-07-31 Method of setting contrast in digital image processing, and an arrangement for this purpose

Country Status (5)

Country Link
US (1) US20100195905A1 (ja)
EP (1) EP1915736A2 (ja)
JP (1) JP2009505469A (ja)
CN (1) CN101248455A (ja)
WO (1) WO2007017785A2 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101324230B1 (ko) 2008-10-17 2013-11-01 삼성테크윈 주식회사 디지털 영상 처리기에서 히스토그램 생성 장치 및 방법

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080122857A1 (en) * 2006-11-29 2008-05-29 Chih-Lin Hsuan Methods and devices for adjusting display characteristic of a video frame according to luminance statistics
US8625921B1 (en) * 2008-09-26 2014-01-07 Google Inc. Method for image processing using local statistics convolution
JP6500535B2 (ja) * 2015-03-23 2019-04-17 カシオ計算機株式会社 画像処理装置、画像処理方法及びプログラム

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5542003A (en) * 1993-09-13 1996-07-30 Eastman Kodak Method for maximizing fidelity and dynamic range for a region of interest within digitized medical image display
US20050104900A1 (en) * 2003-11-14 2005-05-19 Microsoft Corporation High dynamic range image viewing on low dynamic range displays

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6658399B1 (en) * 1999-09-10 2003-12-02 Intel Corporation Fuzzy based thresholding technique for image segmentation
US7139426B2 (en) * 2002-02-12 2006-11-21 Tektronix, Inc. Histogram data collector for applying progressively adjusted histogram equalization to an oscilloscope image
US7034843B2 (en) * 2002-07-10 2006-04-25 Genesis Microchip Inc. Method and system for adaptive color and contrast for display devices

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5542003A (en) * 1993-09-13 1996-07-30 Eastman Kodak Method for maximizing fidelity and dynamic range for a region of interest within digitized medical image display
US20050104900A1 (en) * 2003-11-14 2005-05-19 Microsoft Corporation High dynamic range image viewing on low dynamic range displays

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101324230B1 (ko) 2008-10-17 2013-11-01 삼성테크윈 주식회사 디지털 영상 처리기에서 히스토그램 생성 장치 및 방법

Also Published As

Publication number Publication date
WO2007017785A3 (en) 2007-05-31
US20100195905A1 (en) 2010-08-05
EP1915736A2 (en) 2008-04-30
CN101248455A (zh) 2008-08-20
JP2009505469A (ja) 2009-02-05

Similar Documents

Publication Publication Date Title
US7003153B1 (en) Video contrast enhancement through partial histogram equalization
KR101538912B1 (ko) 색조 및 색역 맵핑 방법들 및 장치
JP4783985B2 (ja) 映像処理装置、映像表示装置及びそれに用いる映像処理方法並びにそのプログラム
US8654221B2 (en) Image processing device and method, and program
EP2323373B1 (en) Video enhancing method and device thereof
US8131108B2 (en) Method and system for dynamic contrast stretch
KR100453038B1 (ko) 컬러 영상의 채도 조절 장치 및 방법
US6163621A (en) Histogram equalization method and device in contrast enhancement apparatus for image processing system
US8374430B2 (en) Apparatus and method for feature-based dynamic contrast enhancement
US8958638B2 (en) Method and system for multi-stage auto-enhancement of photographs
KR100970883B1 (ko) 영역 특성을 고려한 영상 보정 장치 및 그 방법
US8965120B2 (en) Image processing apparatus and method of controlling the same
US20080030450A1 (en) Image display apparatus
US10298857B2 (en) Image processing method and apparatus, integrated circuitry and recording medium for applying gain to a pixel
US20100214435A1 (en) Adjusting auto white balance
CN107871303B (zh) 一种图像处理方法及装置
US20100177215A1 (en) Image processing apparatus and recording medium
JP2007094742A (ja) 画像信号処理装置及び画像信号処理プログラム
US8265391B1 (en) Localized, adaptive video contrast enhancement using controlled histogram equalization
US8280162B2 (en) Image processing apparatus and recording medium recording image processing program
JP2002232728A (ja) 画像処理プログラム、画像処理プログラムを記録したコンピュータ読み取り可能な記録媒体、画像処理装置および画像処理方法
JP2002204353A (ja) 画像状態推定方法、画像補正方法および補正装置
US20100195905A1 (en) Method of setting contrast in digital image processing, and an arrangement for this purpose
CN112419195A (zh) 一种非线性变换的图像增强方法
CN104463806B (zh) 基于数据驱动技术的高度自适应图像对比度增强方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 2006780247

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 200680028713.2

Country of ref document: CN

WWE Wipo information: entry into national phase

Ref document number: 12063060

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 2008525675

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE

WWP Wipo information: published in national office

Ref document number: 2006780247

Country of ref document: EP