KR100783122B1 - Device and method for wide dynamic range correction - Google Patents

Device and method for wide dynamic range correction Download PDF

Info

Publication number
KR100783122B1
KR100783122B1 KR1020060093889A KR20060093889A KR100783122B1 KR 100783122 B1 KR100783122 B1 KR 100783122B1 KR 1020060093889 A KR1020060093889 A KR 1020060093889A KR 20060093889 A KR20060093889 A KR 20060093889A KR 100783122 B1 KR100783122 B1 KR 100783122B1
Authority
KR
South Korea
Prior art keywords
block
correction
lookup table
blocks
output value
Prior art date
Application number
KR1020060093889A
Other languages
Korean (ko)
Inventor
황정현
안준모
Original Assignee
주식회사 아이닉스
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 주식회사 아이닉스 filed Critical 주식회사 아이닉스
Priority to KR1020060093889A priority Critical patent/KR100783122B1/en
Application granted granted Critical
Publication of KR100783122B1 publication Critical patent/KR100783122B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/50Control of the SSIS exposure
    • H04N25/57Control of the dynamic range
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/76Circuitry for compensating brightness variation in the scene by influencing the image signals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20021Dividing image into blocks, subimages or windows
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20024Filtering details

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Processing (AREA)

Abstract

An apparatus and a method for wide dynamic range correction are provided to adjust brightness distribution of an image evenly, thereby improving the visibility of an entire image, minimizing gradation loss which can be generated in a correction process, minimizing difference between blocks, and applying WDR(Wide Dynamic Range). An apparatus for wide dynamic range correction includes a block module, a lookup table generating module, a filter module and a correction module. The block module makes inputted images to blocks for classifying at least two areas. The lookup table generating module generates a block by a block lookup table with a correction output value for brightness. The filter module changes the generated block by a block lookup table to at least one lookup table and a correction lookup table. The correction module computes a correction output value of correction lookup tables, interpolates correction output values, and selects an output value of an associated pixel.

Description

광역 다이내믹 레인지 보정장치 및 보정방법 {DEVICE AND METHOD FOR WIDE DYNAMIC RANGE CORRECTION}Wide dynamic range correction device and correction method {DEVICE AND METHOD FOR WIDE DYNAMIC RANGE CORRECTION}

도 1은 종래의 명암대비 보정의 하나인 감마보정을 개괄적으로 도시한 다이어그램이다.1 is a diagram schematically illustrating gamma correction, which is one of conventional contrast corrections.

도 2는 종래의 명암대비 보정의 다른 하나인 히스토그램 등화를 개괄적으로 도시한 다이어그램이다.2 is a diagram schematically showing a histogram equalization, which is another conventional contrast correction.

도 3은 종래의 명암대비 보정의 또 다른 하나인 개선된 히스토그램 등화를 개괄적으로 도시한 다이어그램이다.FIG. 3 is a diagram schematically illustrating an improved histogram equalization, another one of conventional contrast corrections.

도 4는 본 발명의 광역 다이내믹 레인지 보정장치의 일 실시예에 대한 개략적인 구성을 도시한 블록 다이어그램이다.4 is a block diagram showing a schematic configuration of an embodiment of a wide dynamic range correction apparatus of the present invention.

도 5는 본 발명의 광역 다이내믹 레인지 보정장치의 일 실시예에서 입력화상을 블록화한 것을 도시한 도면이다.FIG. 5 is a diagram showing the blocking of an input image in one embodiment of the wide dynamic range correction apparatus of the present invention.

도 6은 도 5에 도시한 블록화에 따른 각 블록의 룩업 테이블(LUT)의 생성예를 도시한 도면이다.FIG. 6 is a diagram illustrating an example of generating a lookup table (LUT) of each block according to the block diagram shown in FIG. 5.

도 7은 본 발명의 광역 다이내믹 레인지 보정장치의 실시예로서 화상을 블록으로 나누고, 각 블록에 대하여 룩업 테이블을 형성한 다른 예를 도시한 것이다.FIG. 7 shows another example in which an image is divided into blocks and a lookup table is formed for each block as an embodiment of the wide dynamic range correction device of the present invention.

도 8은 도 7에 도시한 룩업 테이블들을 로우 패스필터를 통하여 필터링한 후 의 각 룩업 테이블을 도시한 도면이다.FIG. 8 is a diagram illustrating each lookup table after filtering the lookup tables illustrated in FIG. 7 through a low pass filter.

도 9는 도 8에 도시한 룩업 테이블로부터 보정값을 보간하는 방법을 개략적으로 도시한 도면이다.FIG. 9 is a diagram schematically illustrating a method of interpolating a correction value from the lookup table shown in FIG. 8.

도 10은 본 발명의 광역 다이내믹 레인지 보정장치의 다른 실시예로서 히스토그램을 처리하는 방법을 개략적으로 도시한 도면이다.FIG. 10 is a view schematically showing a method of processing a histogram as another embodiment of the wide dynamic range correction apparatus of the present invention.

도 11은 종래의 방법과 본 발명의 방법을 적용한 경우의 화질 개선을 비교하여 도시한 도면이다.11 is a view showing a comparison of image quality improvement when the conventional method and the method of the present invention are applied.

본 발명은 광역 다이내믹 레인지 보정장치 및 보정방법에 관한 것으로, 더욱 상세하게는 역광 등과 같이 밝은 영역과 어두운 영역이 극단적으로 분포되어 있는 화상의 경우에 어느 한쪽을 기준으로 광량을 조절하지 않고 전 범위에 대하여 이를 보정하여 이러한 화상의 경우에도 명암분포가 고르게 이루어질 수 있도록 하여 화상의 전체적인 가시성을 향상시키게 하여 명부 및 암부의 식별성을 높이고, 이와 같은 보정에서 발생할 수 있는 계조 손실을 최소화하여 보다 개선된 영상을 제공할 수 있는 광역 다이내믹 레인지 보정장치 및 보정방법에 관한 것이다.The present invention relates to a wide dynamic range correction device and a correction method, and more particularly, in the case of an image in which light and dark areas are extremely distributed, such as backlighting, the light amount is not adjusted based on either of them. By correcting this, the contrast distribution can be made even in the case of such an image, thereby improving the overall visibility of the image, improving the identification of the light and dark portions, and minimizing the gradation loss that may occur in such correction. The present invention relates to a wide dynamic range correction apparatus and a correction method that can be provided.

근래에 디지털 카메라, 디지털 캠코더, 카메라 폰 등을 포함하는 디지털 영상 처리 장치의 사용자 수요가 급격히 증대되면서 그 기능들이 갈수록 다양화되고 지능화 되고 있다.Recently, as user demand for digital image processing apparatuses including digital cameras, digital camcorders, camera phones, etc. increases rapidly, their functions are increasingly diversified and intelligent.

하지만, 이러한 영상 처리 장치는 역광 등의 상태에서 영상을 취득하는 경우에, 밝은 영역과 어두운 영역이 극단적으로 분포되어 있는 화상, 즉 일반적으로 배경은 밝고 피사체는 어둡게 되는 화상을 얻게 되는 경우에 화면상에서 피사체를 제대로 식별하지 못할 정도로 화질이 저하되는 문제점이 있었다.However, when the image processing apparatus acquires an image in a state of backlight or the like, an image in which light and dark areas are extremely distributed, that is, an image in which a background is generally bright and a subject is dark is obtained on the screen. There was a problem that the image quality is degraded so that the subject is not properly identified.

이러한 문제점을 해결하기 위해 다양한 방법이 제안되어졌고, 이에는 도 1 내지 도 3의 방법들이 적용되어져 왔다.Various methods have been proposed to solve this problem, and the methods of FIGS. 1 to 3 have been applied thereto.

즉, 도 1은 감마보정을 통한 역광보정을 개략적으로 나타낸 것으로 이 경우에는 도시한 바와 같이 밝은 부분 데이터의 손실이 발생하여 명부의 대비가 없어져 이 부분의 하이라이트가 제거되는 문제가 있고 전체적으로 대비가 좋지 않은 문제점이 있다. 또한, 도 2에 도시한 경우는 히스토그램 등화를 통한 역광보정을 개략적으로 도시한 것으로 이를 통하여 룩업 테이블을 형성하고 이를 이용하여 보정이 이루어지며, 이와 같은 예로는 한국특허출원번호 제1997-038701호가 있으나, 이와 같이 전체 영상에 대하여 하나의 룩업 테이블 만을 적용하고, 단순한 히스토그램 등화만을 적용하는 경우는 전체적인 계조손실이 발생하고 명암의 기울기가 있는 부분이 자연스럽지 못하고 계단형상이 발생하는 문제점이 있고, 도 3의 경우에는 근래에 가장 많이 적용되는 방식의 광역 다이내믹 레인지(WDR) 기법으로서 기존 히스토그램의 영역을 압축한 후 이를 히스토그램 등화 기법을 적용하여 룩업 테이블을 형성하고 이에 따라 화상을 보정하는 것으로 이 경우에도 전체 화상에 대하여 하나의 룩업 테이블만을 적용함으로써 화상 전체에 대해서는 암부 및 명부에 계조 손실이 발생하는 문제점이 있다.That is, FIG. 1 schematically shows a backlight compensation through gamma correction. In this case, as shown in FIG. 1, there is a problem that a loss of bright data occurs and contrast of the list is eliminated, so that the highlight of this part is removed and the overall contrast is poor. There is a problem. In addition, the case shown in FIG. 2 schematically shows a backlight compensation through histogram equalization, through which a lookup table is formed and a correction is made using the same. As an example of this, there is a Korean Patent Application No. 1997-038701. In this case, when only one lookup table is applied to the entire image, and only the histogram equalization is applied, there is a problem in that overall grayscale loss occurs and a step portion of the contrast is not natural, and a stepped shape occurs. In this case, WDR is the most widely used method, and compresses the area of the existing histogram and applies the histogram equalization method to form a lookup table and corrects the image accordingly. Apply only one lookup table to the image As for the entire image, there is a problem that the gradation loss occurs in the arm and roll.

따라서 이와 같은 문제점을 극복하기 위해서는 화상의 각 영역에 따라 이에 알맞은 룩업 테이블을 적용하는 방법을 제안할 수 있으나, 이 경우에는 각 블록 내에서는 화질의 개선을 얻을 수 있으나 각 블록 사이의 경계에서 그 명암대비가 달라져 블록의 경계가 발생하는 문제점이 있으므로 이를 개선하여 화상의 각 블록별로 별도의 룩업 테이블을 적용하면서도 전체 화상은 블록의 경계부분에서도 자연스러운 화상을 얻을 수 있는 보정장치 및 보정방법의 개발이 절실한 실정이다.Therefore, in order to overcome such a problem, a method of applying a lookup table suitable for each area of an image may be proposed. In this case, image quality may be improved within each block, but the contrast may be increased at the boundary between the blocks. Since there is a problem that the boundary of the block is generated due to the contrast being different, it is necessary to improve this by applying a separate lookup table for each block of the image, while developing a correction device and a correction method that can obtain a natural image even at the boundary of the block. It is true.

상기와 같은 종래기술의 문제점을 해결하고자, 본 발명은 밝은 영역과 어두운 영역이 극단으로 분포되어 있는 화상에 대하여 화상의 전체적인 가시성을 향상시키고, 명부 및 암부의 식별성을 높이고, 계조 손실을 최소화하여 보다 개선된 광역 다이내믹 레인지 보정을 진행할 수 있는 광역 다이내믹 레인지 보정장치 및 보정방법을 제공하는 것을 목적으로 한다.In order to solve the problems of the prior art as described above, the present invention improves the overall visibility of the image with respect to the image in which the bright area and the dark area are extremely distributed, improves the identification of the ridge and the dark part, and minimizes the gray loss. An object of the present invention is to provide a wide dynamic range correction apparatus and a correction method capable of performing an improved wide dynamic range correction.

상기 목적을 달성하기 위하여, 본 발명은In order to achieve the above object, the present invention

디지털 촬영 화상의 명암대비를 보정하는 광역 다이내믹 레인지 보정장치에 있어서, In the wide dynamic range correction device for correcting the contrast of digitally captured images,

입력되는 화상을 적어도 2개의 일정한 구역으로 구분하는 블록으로 만드는 블록화 모듈;A blocking module for making an input image into a block for dividing the input image into at least two constant regions;

상기 블록화 모듈에 의하여 나누어진 각 블록 내 영상의 밝기에 대한 화소의 분포를 구하고 이에 따라 각 밝기에 대한 보정 출력값을 가지는 블록별 룩업 테이 블을 생성하는 룩업 테이블 생성모듈; A lookup table generation module for obtaining a distribution of pixels of brightness of an image in each block divided by the blocking module and generating a lookup table for each block having a corrected output value for each brightness;

상기 생성되어진 블록별 룩업 테이블을 이의 일측에 인접한 적어도 하나의 룩업 테이블과 이를 평균한 교정 룩업 테이블로 변환하는 필터모듈; 및, A filter module for converting the generated block-by-block lookup table into at least one lookup table adjacent to one side thereof and an averaged calibration lookup table; And,

상기 블록 중 해당 블록의 각 화소별로 밝기 값에 해당하는 해당 블록의 교정 룩업 테이블의 보정 출력값을 구하고, 해당 블록의 일측에 인접한 적어도 하나의 블록의 교정 룩업 테이블의 보정 출력값을 구하여 상기 보정 출력값들을 서로 보간하여 해당 화소의 출력값을 결정하여 출력하는 보정모듈을 포함하는 것을 특징으로 하는 광역 다이내믹 레인지 보정장치를 제공한다.The correction output values of the calibration lookup table of the block corresponding to the brightness value are obtained for each pixel of the block among the blocks, and the correction output values of the calibration lookup table of the at least one block adjacent to one side of the block are obtained. It provides a wide dynamic range correction device comprising a correction module for determining and outputting the output value of the pixel by interpolation.

또한 본 발명은In addition, the present invention

디지털 촬영 화상의 명암대비를 보정하는 광역 다이내믹 레인지 보정방법에 있어서, In the wide dynamic range correction method for correcting the contrast of a digital photographed image,

입력되는 화상을 적어도 2개의 일정한 구역으로 구분하여 불록으로 만드는 블록화 단계;A blocking step of dividing an input image into at least two constant regions to make a block;

상기 블록화 단계에 의하여 나누어진 각 블록 내 영상의 밝기에 대한 화소의 분포를 구하고 이에 따라 각 밝기에 대한 보정 출력값을 가지는 블록별 룩업 테이블을 생성하는 룩업 테이블 생성단계; A lookup table generation step of obtaining a distribution of pixels for the brightness of the image in each block divided by the blocking step and generating a lookup table for each block having a correction output value for each brightness accordingly;

상기 생성되어진 블록별 룩업 테이블을 이의 일측에 인접한 적어도 하나의 룩업 테이블과 이를 평균한 교정 룩업 테이블로 변환하는 필터링 단계; 및, A filtering step of converting the generated block-by-block lookup table into at least one lookup table adjacent to one side thereof and an averaged calibration lookup table; And,

상기 블록 중 해당 블록의 각 화소별로 밝기 값에 해당하는 해당 블록의 교정 룩업 테이블의 보정 출력값을 구하고, 해당 블록의 일측에 인접한 적어도 하나 의 블록의 교정 룩업 테이블의 보정 출력값을 구하여 상기 보정 출력값들을 서로 보간하여 해당 화소의 출력값을 결정하여 출력하는 보정단계를 포함하는 것을 특징으로 하는 광역 다이내믹 레인지 보정방법을 제공한다.The correction output values of the calibration lookup table of the block corresponding to the brightness value are obtained for each pixel of the block among the blocks, and the correction output values of the correction lookup table of the at least one block adjacent to one side of the block are obtained. And a correction step of determining and outputting an output value of a corresponding pixel by interpolation.

이하 본 발명에 대하여 도면을 참고하여 상세하게 설명한다. Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

본 발명은 광역 다이내믹 레인지 보정장치에 관한 것으로 디지털 촬영 화상의 명암대비를 보정하는 광역 다이내믹 레인지 보정장치에 있어서, 입력되는 화상을 적어도 2개의 일정한 구역으로 구분하는 블록으로 만드는 블록화 모듈, 상기 블록화 모듈에 의하여 나누어진 각 블록 내 영상의 밝기에 대한 화소의 분포를 구하고 이에 따라 각 밝기에 대한 보정 출력값을 가지는 블록별 룩업 테이블을 생성하는 룩업 테이블 생성모듈, 상기 생성되어진 블록별 룩업 테이블을 이의 일측에 인접한 적어도 하나의 룩업 테이블과 이를 평균한 교정 룩업 테이블로 변환하는 필터모듈 및, 상기 블록 중 해당 블록의 각 화소별로 밝기 값에 해당하는 해당 블록의 교정 룩업 테이블의 보정 출력값을 구하고, 해당 블록의 일측에 인접한 적어도 하나의 블록의 교정 룩업 테이블의 보정 출력값을 구하여 상기 보정 출력값들을 서로 보간하여 해당 화소의 출력값을 결정하여 출력하는 보정모듈을 포함하여 구성된다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a wide dynamic range correction device, comprising: a block module for making an input image into a block for dividing an input image into at least two constant regions; A lookup table generation module for obtaining a distribution of pixels of the brightness of the image in each block divided by and generating a block-by-block lookup table having a corrected output value for each brightness, and adjacent to one side of the generated block-by-block lookup table. A filter module for converting at least one lookup table and an averaged lookup table, and a correction output value of a correction lookup table of a corresponding block corresponding to a brightness value for each pixel of the block among the blocks, Calibration lookup of at least one adjacent block Obtaining a corrected output value of the table each other interpolating the correction output value is configured to include a correction module for the output to determine the output value of the pixel.

이에 대한 구체적인 예는 도 4에 도시한 바와 같다. 즉, 먼저 입력되는 화상에 대하여 전체에 대한 룩업 테이블을 작성하는 것이 아니라 이를 일정한 구획으로 구분하는 적어도 2개의 블록으로 나누어 이들 각각에 대하여 룩업 테이블을 작성하기 위하여 일정한 구역으로 입력화상을 구분하는 블록화 모듈을 둔다. 이에 따라 그 일예로 4 × 4의 16개 블록으로 나누어진 예가 도 5에 도시되어진다. 이 와 같이 구획되어진 각각의 블록에 대하여 각 블록 내 영상의 밝기에 대한 화소의 분포를 구하고 이에 따라 각 밝기에 대한 보정 출력값을 가지는 블록별 룩업 테이블을 생성한다. 이와 같은 룩업 테이블을 생성하는 방법으로는 공지의 다양한 광역 다이내믹 레인지에 적용되는 룩업 테이블 생성방법이 이에 적용될 수 있다.Specific examples thereof are as shown in FIG. 4. That is, a block module for dividing an input image into a predetermined region in order to create a lookup table for each of them, rather than creating a lookup table for the entire input image, instead of dividing it into at least two blocks. Puts. Accordingly, as an example, an example divided into 16 blocks of 4 × 4 is shown in FIG. 5. For each block partitioned as above, the distribution of pixels for the brightness of the image in each block is obtained, and accordingly, a block-specific lookup table having a correction output value for each brightness is generated. As a method of generating such a lookup table, a lookup table generation method applied to various known wide dynamic ranges may be applied thereto.

바람직하게는 이에는 공지의 도 2에 도시한 바와 같은 히스토그램 등화, 도 3에 도시한 바와 같은 룩업 테이블 형성방법을 적용할 수 있다. 이와 같은 방법으로 생성되어지는 룩업 테이블(LUT, Look-up table)의 예는 도 6에 도시한 바와 같다. 더욱 바람직하게는 상기 룩업 테이블 생성 모듈의 영상의 밝기에 대한 화소의 분포에서 일정한 빈도 이상의 값은 상기 일정빈도로만 표시하고 상기 일정빈도를 초과하는 부분은 그 누적값을 전체 밝기 분포에 평균하여 더하는 형태로 히스토그램을 변조하여 이를 기반으로 상기 기술한 바와 같은 방법으로 룩업 테이블을 작성할 수 있다. 이를 통하여 빈도가 낮은 영역과 높은 영역 사이의 차이를 줄이고, 빈도의 기울기를 조정하여 블록 내에서 계조의 자연스러운 변화를 유도할 수 있다. 이에 대한 구체적인 예는 도 10에 도시한 바와 같다. 즉, 밝기에 대한 화소분포에서 그 값이 380을 넘는 경우에는 이를 절삭하고 이와 같이 절삭되어지는 화소의 빈도는 이를 전체 밝기 축에 대하여 평균하여 바닥 레벨 자체를 30정도 올리는 형태로 변경한다. 이를 통하여 누적분포에서 밝기 축의 중간에서 기울기가 급격히 올라가는 것을 막을 수 있다.Preferably, a known histogram equalization as shown in Fig. 2 and a lookup table forming method as shown in Fig. 3 can be applied thereto. An example of a look-up table (LUT) generated in this manner is illustrated in FIG. 6. More preferably, a value of a predetermined frequency or more in the distribution of pixels of the image brightness of the lookup table generation module is displayed only at the predetermined frequency, and the portion exceeding the predetermined frequency adds the cumulative value to the overall brightness distribution. The histogram can be modulated to generate a lookup table based on this method. Through this, the difference between the low frequency region and the high region can be reduced, and the slope of the frequency can be adjusted to induce a natural change of gray level in the block. Specific examples thereof are as shown in FIG. 10. That is, if the value of the pixel distribution for the brightness exceeds 380, it is cut and the frequency of the cut pixels is changed to a form of raising the floor level itself by 30 by averaging it over the entire brightness axis. This can prevent a sharp rise in the middle of the brightness axis in the cumulative distribution.

이와 같이 생성된 LUT는 도 7(이 경우는 4 × 4로 블록을 나눈 경우는 아님)에 도시한 바와 같이 명암이 대조되는 서로 다른 블록간에 그 모양이 확연히 차이 가 나게 된다. 이와 같은 형태의 LUT를 그대로 사용하면 블록 내에서는 명암보정이 잘 이루어지지만 블록끼리는 그 밝기가 확연히 차이가나 블록단위별로 끊어진 형태가 되어 전체 화면이 자연스럽지 못하게 된다. 따라서 이를 개선하기 위하여 상기 필터모듈을 이용하여 상기 생성되어진 블록별 룩업 테이블을 이의 일측에 인접한 적어도 하나의 룩업 테이블과 이를 평균한 교정 룩업 테이블로 변환한다. 즉, 도 8에 이와 같은 필터링을 수해한 결과를 도시한다. 도 8의 LUT들은 도7의 LUT들보다 한 칸 아래의 LUT들로서 예를 들면 도 8의 좌측 아래에 위치한 LUT는 필터링 전 자기 자신에 해당하는 LUT와 이의 상부, 우측 및 상부우측의 필터링 전 LUT들의 평균하여 얻어진 것으로 이를 통하여 일종의 LPF(로우 패스필터)를 통과한 것과 같은 역할을 하게 되고, 도 8의 좌측 상부에 위치한 LUT는 도 7의 4개의 LUT를 평균한 LUT가 된다.As shown in FIG. 7 (in this case, the block is not divided by 4 × 4), the LUT is clearly different in shape between different blocks in which contrast is contrasted. If LUT of this type is used as it is, contrast correction is well performed in the block, but the brightness of each block is clearly different, but the shape of the block is broken by block unit, which makes the whole screen unnatural. Therefore, in order to improve this, the filter module converts the generated lookup table for each block into at least one lookup table adjacent to one side thereof and an averaged calibration lookup table. That is, Fig. 8 shows the result of performing such filtering. The LUTs of FIG. 8 are LUTs one column below the LUTs of FIG. 7, for example, the LUT located below the left side of FIG. 8 is the LUT corresponding to itself before filtering and the LUTs of the upper, right and upper right thereof. It is obtained by averaging and acts as if passing through a kind of low pass filter (LPF), and the LUT located in the upper left of FIG. 8 becomes an LUT averaging four LUTs of FIG.

이는 인접한 LUT를 평균하는 일예에 해당하며, 이외에도 단순히 자신과 자신의 우측에 있는 LUT만으로 평균을 내거나, 자신과 자신의 좌측 및 상측에 있는 LUT만의 평균을 구하여 교정 LUT를 구하거나, 자신과 접하는 모든 LUT와 자신에 대한 평균을 구할 수도 있음은 물론이다. 바람직하게는 상기 인접한 블록은 해당블록의 a)좌측 또는 우측면, b)상측 또는 하측면 및 c)이의 대각선측의 3개의 블록인 것이 적절한 연산시간 및 화질의 개선측면에서 좋으며, 이는 한 방향으로 설명하면 계속적으로 동일한 방향으로 이루어져야 하는 것은 물론이다. 즉, a)좌측면, b)상측면 및 c)이의 대각선측 또는 a)좌측면, b)하측면 및 c)이의 대각선측 또는 a)우측면, b)상측면 및 c)이의 대각선측 또는 a)우측면, b)하측면 및 c)이의 대각선측 중의 하나이고 이와 같은 방향중의 하나로 계속해서 평균을 구하여 교정LUT를 각각의 블록에 대하여 구하게 된다.This is an example of averaging adjacent LUTs, besides simply averaging only with you and the LUTs on your right, or by averaging only you and your LUTs on your left and upper sides, or obtaining a calibrated LUT, Of course, you can also average the LUT and itself. Preferably, the adjacent blocks are three blocks of a) left or right side, b) top or bottom side, and c) diagonal side of the block, in terms of improvement of appropriate computation time and image quality, which are described in one direction. Of course, it must be made in the same direction continuously. A) left side, b) upper side and c) diagonal side or a) left side, b) lower side and c) diagonal side or a) right side, b) upper side and c) diagonal side or a The right side, b) lower side, and c) is one of the diagonal sides and one of these directions is then averaged to obtain the calibration LUT for each block.

이와 같이 구해진 교정 LUT에 대하여 상기 보정모듈은 상기 블록 중 해당 블록의 각 화소별로 밝기 값에 해당하는 해당 블록의 교정 룩업 테이블의 보정 출력값을 구하고, 해당 블록의 일측에 인접한 적어도 하나의 블록의 교정 룩업 테이블의 보정 출력값을 구하여 상기 보정 출력값들을 서로 보간하여 해당 화소의 출력값을 결정하여 출력한다. 즉, 상기 필터 모듈을 통하여 그 차이가 줄어들더라도 교정 LUT만으로 교정을 실시하는 경우에는 블록간의 경계가 남게 되는 경우가 발생하므로 이를 제거하기 위하여 상기 보정모듈을 통하여 하나의 LUT가 아닌 화소가 속하는 블록의 LUT 뿐만 아니라 이 블록에 인접한 블록의 LUT도 활용하여 상기 기술한 바와 같이 화소의 보정 출력값들을 각각의 LUT를 통하여 구하고 이를 보간하여 실제 화소의 보정 출력값으로 사용하게 된다.For the correction LUT obtained as described above, the correction module obtains a correction output value of the correction lookup table of the corresponding block corresponding to the brightness value for each pixel of the block among the blocks, and corrects the lookup of at least one block adjacent to one side of the block. The correction output values of the table are obtained, and the correction output values are interpolated with each other to determine and output an output value of the corresponding pixel. That is, even when the difference is reduced through the filter module, when the calibration is performed only by the calibration LUT, the boundary between blocks may be left. In addition to the LUT, the LUT of the block adjacent to the block is utilized to obtain the correction output values of the pixels through the respective LUTs as described above, and interpolate them to use the correction output values of the actual pixels.

이를 위하여 1) 단순히 해당블록의 LUT를 통하여 해당 화소의 보정 출력값을 구하고, 해당블록의 좌측 또는 우측 블록의 LUT를 활용하여 다른 보정 출력값을 구하여 이를 동일거리로 생각하여 보간(이 경우는 단순 평균이 됨)을 하거나, 2) 해당블록의 LUT를 통하여 해당 화소의 보정 출력값을 구하고, 해당블록의 좌측 및 우측 두 블록의 LUT를 활용하여 다른 보정 출력값들을 구하고, 이들 세 값을 동일거리로 생각하여 이들 세 값을 보간하여 해당화소 화소의 보정 출력값을 구하거나, 3) 해당블록의 LUT를 통하여 해당 화소의 보정 출력값을 구하고, 해당블록의 상측 및 하측 두 블록의 LUT를 활용하여 다른 보정 출력값들을 구하고, 이들 세 값을 동 일거리로 생각하여 이들 세 값을 보간하여 해당화소 화소의 보정 출력값을 구하거나, 4) 해당블록의 LUT를 통하여 해당 화소의 보정 출력값을 구하고, 해당블록의 상하좌측 네 블록의 LUT를 활용하여 다른 보정 출력값들을 구하고, 이들 다섯 값을 동일거리로 생각하여 이들 다섯 값을 보간하여 해당화소 화소의 보정 출력값을 구할 수도 있다. 바람직하게는 도 9에 도시한 바와 같이 인접한 블록은 해당블록의 중심으로부터 해당화소가 존재하는 사분면에 따라 이에 해당하는 a)좌측 또는 우측면, b)상측 또는 하측면 및 c)이의 대각선측으로 할 수 있으며, 이 경우의 보간은 해당블록의 LUT를 통하여 해당 화소의 보정 출력값을 구하고, 인접 세 블록 블록의 LUT를 활용하여 다른 보정 출력값들을 구하고, 이들 네 값을 동일거리로 생각하여 이들 네 값을 보간하여 해당화소 화소의 보정 출력값을 구할 수도 있다.To do this, 1) simply obtain the correction output value of the pixel through the LUT of the block, and obtain another correction output value using the LUT of the left or right block of the block and consider it as the same distance (in this case, the simple average Or 2) obtain the correction output value of the pixel through the LUT of the block, and obtain the other correction output values using the LUTs of the two blocks on the left and right sides of the block, and consider these three values as the same distance. 3) obtain the correction output value of the pixel by interpolating the three values, or 3) obtain the correction output value of the pixel through the LUT of the block, and obtain other correction output values using the LUTs of the upper and lower blocks of the block. Consider these three values as the same distance and interpolate these three values to obtain the corrected output value of the pixel. 4) Through the LUT of the block The correction output value of the corresponding pixel can be obtained, and other correction output values can be obtained by using the LUTs of the upper, lower, left four blocks of the corresponding block, and these five values are regarded as the same distance to interpolate these five values to obtain the correction output value of the corresponding pixel. have. Preferably, as shown in FIG. 9, adjacent blocks may be a) a left or right side, b) an upper or a lower side, and c) a diagonal side corresponding to the quadrant in which the corresponding pixel exists from the center of the block. In this case, interpolation obtains the correction output value of the corresponding pixel through the LUT of the corresponding block, calculates the other correction output values by using the LUTs of three adjacent block blocks, and interpolates these four values by considering these four values as the same distance. The correction output value of the pixel pixel can also be obtained.

이때 바람직하게는 상기 보정모듈의 보간은 각 블록별 룩업 테이블로부터 구한 보정 출력값들에 해당화소와 각 블록의 중심 사이의 거리에 반하는 가중치를 가하여 가중 평균을 하는 방법으로 할 수도 있고, 이에는 공지의 다양한 가중평균 방법이 이에 적용될 수 있으며, 상기 거리에 반하는 가중치는 반비례일 수도 있으나 이에 한정되는 것은 아니고 거리의 증가에 따라 감소하는 다양한 형태가 모두 이에 포함된다. 이를 위하여 가중치 부가를 위한 별도의 거리별 가중치값 테이블을 더 포함할 수도 있다.In this case, preferably, the interpolation of the correction module may be a weighted average method by adding a weight value that is contrary to the distance between the corresponding pixel and the center of each block to the correction output values obtained from each block lookup table. Various weighted average methods may be applied thereto, and the weight against the distance may be inversely proportional, but the present invention is not limited thereto and includes various forms that decrease with increasing distance. To this end, a separate distance-specific weight value table for weighting may be further included.

바람직하게는 상기 도 9에 도시한 바와 같은 인접블록을 이용한 보간의 경우는 도 9에 도시한 바와 같이 상기 보정모듈의 보간을 통한 출력값을 S1*(1-y)+S2*y (여기서 S1=A'*(1-x)+B'*x, S2=C'*(1-x)+D'*x이며, x는 블록간의 수평거리를 1로 하는 경우의 화소와 해당블록의 중심까지의 상대수평거리, y는 블록간의 수직거리를 1로 하는 경우의 화소와 해당블록의 중심까지의 상대수직거리, A'는 해당블록에서의 룩업 테이블에 의한 해당화소 보정 출력값, B'는 해당블록으로부터 측면으로 인접한 블록의 룩업 테이블에 의한 해당화소 보정 출력값, C'는 해당블록으로부터 상면 또는 하면으로 인접한 블록의 룩업 테이블에 의한 해당화소 보정 출력값, D'는 해당블록으로부터 대각선측면으로 인접한 블록의 룩업 테이블에 의한 해당화소 보정 출력값)로 할 수 있다. 또한 도면으로 도시하지는 않았지만 이와 유사한 방법으로 상하방향을 먼저 계산하고 수평방향을 나중에 계산하는 경우에는 상기 보정모듈의 보간을 통한 출력값을 S1'*(1-x)+S2'*x (여기서 S1'=A'*(1-y)+C'*y, S2'=B'*(1-y)+D'*y)로 할 수 있다.Preferably, in the case of interpolation using the adjacent block as shown in FIG. 9, as shown in FIG. 9, the output value through interpolation of the correction module is S1 * (1-y) + S2 * y (where S1 = A '* (1-x) + B' * x, S2 = C '* (1-x) + D' * x, where x is the pixel and the center of the block when the horizontal distance between blocks is 1 Is the relative horizontal distance of, y is the relative vertical distance between the pixel and the center of the block when the vertical distance between blocks is 1, A 'is the corresponding pixel correction output value by the lookup table in the block, B' is the block The corresponding pixel correction output value by the lookup table of blocks adjacent to the side from, C 'is the corresponding pixel correction output value by the lookup table of adjacent blocks from the block to the upper or lower surface, and D' is the lookup of adjacent blocks diagonally from the block. Corresponding pixel correction output value based on the table). In addition, although not shown in the drawings, in the case of calculating the vertical direction first and the horizontal direction later in a similar manner, the output value through interpolation of the correction module is S1 '* (1-x) + S2' * x (where S1 ' = A '* (1-y) + C' * y, S2 '= B' * (1-y) + D '* y).

또한 본 발명은 상기 기술한 바와 같은 보정장치를 통한 보정방법을 제공하는 바, 이는 디지털 촬영 화상의 명암대비를 보정하는 광역 다이내믹 레인지 보정방법에 있어서, 입력되는 화상을 적어도 2개의 일정한 구역으로 구분하여 불록으로 만드는 블록화 단계, 상기 블록화 단계에 의하여 나누어진 각 블록 내 영상의 밝기에 대한 화소의 분포를 구하고 이에 따라 각 밝기에 대한 보정 출력값을 가지는 블록별 룩업 테이블을 생성하는 룩업 테이블 생성단계, 상기 생성되어진 블록별 룩업 테이블을 이의 일측에 인접한 적어도 하나의 룩업 테이블과 이를 평균한 교정 룩업 테이블로 변환하는 필터링 단계 및, 상기 블록 중 해당 블록의 각 화소별로 밝기 값에 해당하는 해당 블록의 교정 룩업 테이블의 보정 출력값을 구하고, 해당 블록의 일측에 인접한 적어도 하나의 블록의 교정 룩업 테이블의 보정 출력값을 구하여 상기 보정 출력값들을 서로 보간하여 해당 화소의 출력값을 결정하여 출력하는 보정단계를 포함하여 광역 다이내믹 레인지 보정방법을 구성한다.In addition, the present invention provides a correction method through the correction device as described above, in the wide dynamic range correction method for correcting the contrast of the digital photographed image, by separating the input image into at least two constant areas A lookup table generation step of obtaining a block distribution of blocks and a distribution of pixels for the brightness of an image in each block divided by the blocking step, and generating a lookup table for each block having a correction output value for each brightness according to the generation; A filtering step of converting the prepared block-by-block lookup table into at least one lookup table adjacent to one side thereof and an averaged correction lookup table, and a correction lookup table of the corresponding block corresponding to a brightness value for each pixel of the block among the blocks. To get the correction output value, Even obtain a corrected output value of the one block of the correction look-up table to each other interpolating the corrected output values, including the correction step and outputting the determination of the output of the pixel constitutes a wide dynamic range correcting method.

상기 보정방법의 경우에도 마찬가지로 상기 기술한 바와 같이 상기 룩업 테이블 생성 단계의 영상의 밝기에 대한 화소의 분포에서 일정한 빈도 이상의 값은 상기 일정빈도로만 표시하고 상기 일정빈도를 초과하는 부분은 그 누적값을 전체 밝기 분포에 평균하여 더하여 화소 분포를 구성할 수 있고, 상기 보정단계의 보간은 각 블록별 룩업 테이블로부터 구한 보정 출력값들에 해당화소와 각 블록의 중심 사이의 거리에 반하는 가중치를 가하여 가중 평균하여 구할 수 있으며, 상기 필터링 단계에서, 인접한 블록은 해당블록의 a)좌측 또는 우측면, b)상측 또는 하측면 및 c)이의 대각선측인 것이 바람직하고, 상기 보정단계에서, 인접한 블록은 해당블록의 중심으로부터 해당화소가 존재하는 사분면에 따라 이에 해당하는 a)좌측 또는 우측면, b)상측 또는 하측면 및 c)이의 대각선측인 것이 좋고, 이 경우의 상기 보정단계의 보간을 통한 출력값은 i) S1*(1-y)+S2*y (여기서 S1=A'*(1-x)+B'*x, S2=C'*(1-x)+D'*x)이거나, 또는 ii) S1'*(1-x)+S2'*x (여기서 S1'=A'*(1-y)+C'*y, S2'=B'*(1-y)+D'*y)이며, 여기서 x는 블록간의 수평거리를 1로 하는 경우의 화소와 해당블록의 중심까지의 상대수평거리, y는 블록간의 수직거리를 1로 하는 경우의 화소와 해당블록의 중심까지의 상대수직거리, A'는 해당블록에서의 룩업 테이블에 의한 해당화소 보정 출력값, B'는 해당블록으로부터 측면으로 인접한 블록의 룩업 테이블에 의한 해당화소 보정 출력값, C'는 해당블록으로부터 상면 또는 하면으로 인접한 블록의 룩업 테이블에 의한 해당화소 보정 출력값, D'는 해당블록으로부터 대각선측면으로 인접한 블록의 룩업 테이블에 의한 해당화소 보정 출력값이다.Likewise, in the case of the correction method, as described above, a value of a predetermined frequency or more in the distribution of pixels with respect to the brightness of the image in the lookup table generation step is displayed only at the predetermined frequency, and a portion exceeding the predetermined frequency is stored in the accumulated value. The pixel distribution may be configured by averaging the overall brightness distribution, and the interpolation of the correction step is weighted and averaged by adding a weight that is opposite to the distance between the pixel and the center of each block to the correction output values obtained from each block lookup table. In the filtering step, the adjacent block is preferably a) left or right side, b) upper or lower side and c) diagonal side of the block, and in the correction step, the adjacent block is the center of the block. From a) left or right, b) up or down, depending on the quadrant from It is preferable that the side and c) are diagonal sides, and in this case, the output value through interpolation of the correction step is i) S1 * (1-y) + S2 * y (where S1 = A '* (1-x) + B '* x, S2 = C' * (1-x) + D '* x), or ii) S1' * (1-x) + S2 '* x, where S1' = A '* (1-y ) + C '* y, S2' = B '* (1-y) + D' * y), where x is the relative horizontal distance from the pixel when the horizontal distance between blocks is 1 and the center of the block , y is the relative vertical distance between the pixel and the center of the block when the vertical distance between blocks is 1, A 'is the pixel-corrected output value by the look-up table in the block, and B' is laterally adjacent to the block. The corresponding pixel correction output value by the lookup table of the block, C 'is the corresponding pixel correction output value by the lookup table of the block adjacent to the upper or lower surface from the block, and D' is the corresponding pixel correction output value by the lookup table of the adjacent block diagonally from the block. Pixel correction output value .

이와 같은 본 발명의 보정장치 및 보정방법을 적용한 경우와 종래의 방법을 적용한 경우의 비교는 도 11에 도시한 바와 같다. 도 11의 좌상측에 있는 사진이 본 발명에 따른 것이고, 좌하측은 감마보정, 우상측은 도 3의 방법, 우하측은 도 2의 히스토그램등화를 통한 보정을 나타낸 것이다. 이 경우에 도 11에 도시한 바와 같이 감마보정의 경우는 전체적으로 계조가 상실되며, 특히 명부의 대비가 현격히 감소한 것을 볼 수 있으며, 히스토그램 등화의 경우는 계단 현상이 발생하며, 본 발명의 경우에 비하여 암부의 계조 상실이 크며, 우상측의 사진의 경우도 일정정도 개선이 이루어졌으나 본 발명의 경우에 비하여 명부 및 암부의 계조 손실이 일어나고 있음을 알 수 있다.The comparison between the case where the correction apparatus and the correction method of the present invention is applied and the case where the conventional method is applied are shown in FIG. 11. The photo on the upper left side of FIG. 11 is according to the present invention. The lower left side shows gamma correction, the upper right side shows the method of FIG. 3, and the lower right side shows correction through histogram equalization of FIG. In this case, as shown in FIG. 11, in the case of gamma correction, the gray level is totally lost, and in particular, the contrast of the roster can be seen to be markedly reduced. In the case of histogram equalization, a step phenomenon occurs, The gradation loss of the dark part is large, and the improvement of the degree of gradation loss and the dark part of the upper part and the dark part is also performed in the case of the photograph of the upper right side.

본 발명의 광역 다이내믹 레인지 보정장치 및 보정방법에 따르면, 역광 등과 같이 밝은 영역과 어두운 영역이 극단적으로 분포되어 있는 화상의 경우에 어느 한쪽을 기준으로 광량을 조절하지 않고 전 범위에 대하여 이를 보정하여 이러한 화상의 경우에도 명부는 명부대로, 암부는 암부대로 각각 명암분포가 고르게 이루어질 수 있도록 하여 화상의 전체적인 가시성을 향상시키게 하여 명부 및 암부의 식별성을 높이고, 이와 같은 보정에서 발생할 수 있는 계조 손실을 최소화하며, 블록화에 따른 블록간 구별을 최소화하여 보다 개선된 영상을 제공할 수 있는 효과가 있으며, WDR(Wide Dynamic Range)에 적용할 수 있다.According to the wide dynamic range correction device and the correction method of the present invention, in the case of an image in which light and dark areas are extremely distributed, such as backlight, the light is corrected for the entire range without adjusting the amount of light based on either one. Even in the case of burns, the roster is in the roster, and the dark portion is made of the dark portion, so that the overall visibility of the image is improved by improving the overall visibility of the roster and the roster, minimizing the loss of gradation that may occur in such correction. In addition, there is an effect that can provide a more improved image by minimizing the distinction between blocks according to the block, it can be applied to the WDR (Wide Dynamic Range).

이상에서 설명한 본 발명은 전술한 실시예 및 첨부된 도면에 의하여 한정되 는 것은 아니고, 하기의 특허청구범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 해당 기술분야의 당업자가 다양하게 수정 및 변경시킨 것 또한 본 발명의 범위 내에 포함됨은 물론이다.The present invention described above is not limited to the above-described embodiment and the accompanying drawings, and various modifications of those skilled in the art without departing from the spirit and scope of the present invention described in the claims below. And modifications are also included within the scope of the invention.

Claims (10)

디지털 촬영 화상의 명암대비를 보정하는 광역 다이내믹 레인지 보정장치에 있어서, In the wide dynamic range correction device for correcting the contrast of digitally captured images, 입력되는 화상을 적어도 2개의 일정한 구역으로 구분하는 블록으로 만드는 블록화 모듈;A blocking module for making an input image into a block for dividing the input image into at least two constant regions; 상기 블록화 모듈에 의하여 나누어진 각 블록 내 영상의 밝기에 대한 화소의 분포를 구하고 이에 따라 각 밝기에 대한 보정 출력값을 가지는 블록별 룩업 테이블을 생성하는 룩업 테이블 생성모듈; A lookup table generation module for obtaining a distribution of pixels of brightness of an image in each block divided by the blocking module and generating a lookup table for each block having a corrected output value for each brightness; 상기 생성되어진 블록별 룩업 테이블을 이의 일측에 인접한 적어도 하나의 룩업 테이블과 이를 평균한 교정 룩업 테이블로 변환하는 필터모듈; 및, A filter module for converting the generated block-by-block lookup table into at least one lookup table adjacent to one side thereof and an averaged calibration lookup table; And, 상기 블록 중 해당 블록의 각 화소별로 밝기 값에 해당하는 해당 블록의 교정 룩업 테이블의 보정 출력값을 구하고, 해당 블록의 일측에 인접한 적어도 하나의 블록의 교정 룩업 테이블의 보정 출력값을 구하여 상기 보정 출력값들을 서로 보간하여 해당 화소의 출력값을 결정하여 출력하는 보정모듈을 포함하는 것을 특징으로 하는 광역 다이내믹 레인지 보정장치.The correction output values of the calibration lookup table of the block corresponding to the brightness value are obtained for each pixel of the block among the blocks, and the correction output values of the calibration lookup table of the at least one block adjacent to one side of the block are obtained. And a correction module for determining and outputting an output value of the corresponding pixel by interpolation. 제1항에 있어서,The method of claim 1, 상기 보정모듈의 보간은 각 블록별 룩업 테이블로부터 구한 보정 출력값들에 해당화소와 각 블록의 중심 사이의 거리에 반하는 가중치를 가하여 가중 평균하는 것을 특징으로 하는 광역 다이내믹 레인지 보정장치.The interpolation of the correction module is a weighted average of the correction output values obtained from the lookup table for each block by weighting the weight against the distance between the corresponding pixel and the center of each block weighted average. 제1항에 있어서, The method of claim 1, 상기 필터모듈에서, In the filter module, 인접한 블록은 해당블록의 a)좌측 또는 우측면, b)상측 또는 하측면 및 c)이의 대각선측이고,Adjacent blocks are a) left or right side of the block, b) top or bottom side and c) diagonal side, 상기 보정모듈에서, In the correction module, 인접한 블록은 해당블록의 중심으로부터 해당화소가 존재하는 사분면에 따라 이에 해당하는 a)좌측 또는 우측면, b)상측 또는 하측면 및 c)이의 대각선측인 것을 특징으로 하는 광역 다이내믹 레인지 보정장치.And the adjacent block is a) left or right side, b) upper or lower side, and c) diagonal side corresponding to the quadrant of the corresponding pixel from the center of the block. 제3항에 있어서, The method of claim 3, 상기 보정모듈의 보간을 통한 출력값은 i) S1*(1-y)+S2*y, 여기서 S1=A'*(1-x)+B'*x, S2=C'*(1-x)+D'*x이거나, 또는 ii) S1'*(1-x)+S2'*x, 여기서 S1'=A'*(1-y)+C'*y, S2'=B'*(1-y)+D'*y이며, x는 블록간의 수평거리를 1로 하는 경우의 화소와 해당블록의 중심까지의 상대수평거리, y는 블록간의 수직거리를 1로 하는 경우의 화소와 해당블록의 중심까지의 상대수직거리, A'는 해당블록에서의 룩업 테이블에 의한 해당화소 보정 출력값, B'는 해당블록으로부터 측면으로 인접한 블록의 룩업 테이블에 의한 해당화소 보정 출력값, C'는 해당블록으로부터 상면 또는 하면으로 인접한 블록의 룩업 테이블에 의한 해당화소 보정 출력값, D'는 해당블록으로부 터 대각선측면으로 인접한 블록의 룩업 테이블에 의한 해당화소 보정 출력값인 것을 특징으로 하는 광역 다이내믹 레인지 보정장치.The output value through interpolation of the correction module is i) S1 * (1-y) + S2 * y, where S1 = A '* (1-x) + B' * x, S2 = C '* (1-x) + D '* x, or ii) S1' * (1-x) + S2 '* x, where S1' = A '* (1-y) + C' * y, S2 '= B' * (1 -y) + D '* y, where x is the relative horizontal distance from the pixel when the horizontal distance between the blocks is 1 and the center of the block, and y is the pixel and the corresponding block when the vertical distance between the blocks is 1 The relative vertical distance to the center of, A 'is the pixel correction output value by the look-up table in the block, B' is the pixel correction output value by the look-up table of adjacent blocks from the block, and C 'is And a corresponding pixel correction output value using a lookup table of blocks adjacent to the top or bottom surface, and D 'is a corresponding pixel correction output value from a lookup table of blocks adjacent to the diagonal side from the block. 제1항 내지 제4항 중 어느 한 항에 있어서,The method according to any one of claims 1 to 4, 상기 룩업 테이블 생성 모듈의 영상의 밝기에 대한 화소의 분포에서 일정한 빈도 이상의 값은 상기 일정빈도로만 표시하고 상기 일정빈도를 초과하는 부분은 그 누적값을 전체 밝기 분포에 평균하여 더하는 것을 특징으로 하는 광역 다이내믹 레인지 보정장치.In the distribution of pixels for the brightness of the image of the look-up table generation module, a value of a predetermined frequency or more is displayed only at the predetermined frequency, and a portion exceeding the predetermined frequency is added to the total brightness distribution by averaging the accumulated value. Dynamic range correction device. 디지털 촬영 화상의 명암대비를 보정하는 광역 다이내믹 레인지 보정방법에 있어서, In the wide dynamic range correction method for correcting the contrast of a digital photographed image, 입력되는 화상을 적어도 2개의 일정한 구역으로 구분하여 불록으로 만드는 블록화 단계;A blocking step of dividing an input image into at least two constant regions to make a block; 상기 블록화 단계에 의하여 나누어진 각 블록 내 영상의 밝기에 대한 화소의 분포를 구하고 이에 따라 각 밝기에 대한 보정 출력값을 가지는 블록별 룩업 테이블을 생성하는 룩업 테이블 생성단계; A lookup table generation step of obtaining a distribution of pixels for the brightness of the image in each block divided by the blocking step and generating a lookup table for each block having a correction output value for each brightness accordingly; 상기 생성되어진 블록별 룩업 테이블을 이의 일측에 인접한 적어도 하나의 룩업 테이블과 이를 평균한 교정 룩업 테이블로 변환하는 필터링 단계; 및, A filtering step of converting the generated block-by-block lookup table into at least one lookup table adjacent to one side thereof and an averaged calibration lookup table; And, 상기 블록 중 해당 블록의 각 화소별로 밝기 값에 해당하는 해당 블록의 교정 룩업 테이블의 보정 출력값을 구하고, 해당 블록의 일측에 인접한 적어도 하나 의 블록의 교정 룩업 테이블의 보정 출력값을 구하여 상기 보정 출력값들을 서로 보간하여 해당 화소의 출력값을 결정하여 출력하는 보정단계를 포함하는 것을 특징으로 하는 광역 다이내믹 레인지 보정방법.The correction output values of the calibration lookup table of the block corresponding to the brightness value are obtained for each pixel of the block among the blocks, and the correction output values of the correction lookup table of the at least one block adjacent to one side of the block are obtained. And a correction step of determining and outputting an output value of the corresponding pixel by interpolation. 제6항에 있어서,The method of claim 6, 상기 보정단계의 보간은 각 블록별 룩업 테이블로부터 구한 보정 출력값들에 해당화소와 각 블록의 중심 사이의 거리에 반하는 가중치를 가하여 가중 평균하는 것을 특징으로 하는 광역 다이내믹 레인지 보정방법.The interpolation of the correction step is a weighted average of the correction output values obtained from the lookup table for each block by weighting the weight against the distance between the corresponding pixel and the center of each block. 제6항에 있어서, The method of claim 6, 상기 필터링 단계에서, In the filtering step, 인접한 블록은 해당블록의 a)좌측 또는 우측면, b)상측 또는 하측면 및 c)이의 대각선측이고,Adjacent blocks are a) left or right side of the block, b) top or bottom side and c) diagonal side, 상기 보정단계에서, In the correction step, 인접한 블록은 해당블록의 중심으로부터 해당화소가 존재하는 사분면에 따라 이에 해당하는 a)좌측 또는 우측면, b)상측 또는 하측면 및 c)이의 대각선측인 것을 특징으로 하는 광역 다이내믹 레인지 보정방법.And adjacent blocks are a) left or right side, b) upper or lower side, and c) diagonal sides corresponding to the quadrants of the corresponding pixels from the center of the block. 제8항에 있어서, The method of claim 8, 상기 보정단계의 보간을 통한 출력값은 i) S1*(1-y)+S2*y, 여기서 S1=A'*(1- x)+B'*x, S2=C'*(1-x)+D'*x이거나, 또는 ii) S1'*(1-x)+S2'*x, 여기서 S1'=A'*(1-y)+C'*y, S2'=B'*(1-y)+D'*y이며, x는 블록간의 수평거리를 1로 하는 경우의 화소와 해당블록의 중심까지의 상대수평거리, y는 블록간의 수직거리를 1로 하는 경우의 화소와 해당블록의 중심까지의 상대수직거리, A'는 해당블록에서의 룩업 테이블에 의한 해당화소 보정 출력값, B'는 해당블록으로부터 측면으로 인접한 블록의 룩업 테이블에 의한 해당화소 보정 출력값, C'는 해당블록으로부터 상면 또는 하면으로 인접한 블록의 룩업 테이블에 의한 해당화소 보정 출력값, D'는 해당블록으로부터 대각선측면으로 인접한 블록의 룩업 테이블에 의한 해당화소 보정 출력값인 것을 특징으로 하는 광역 다이내믹 레인지 보정방법.The output value through interpolation of the correction step is i) S1 * (1-y) + S2 * y, where S1 = A '* (1-x) + B' * x, S2 = C '* (1-x) + D '* x, or ii) S1' * (1-x) + S2 '* x, where S1' = A '* (1-y) + C' * y, S2 '= B' * (1 -y) + D '* y, where x is the relative horizontal distance from the pixel when the horizontal distance between the blocks is 1 and the center of the block, and y is the pixel and the corresponding block when the vertical distance between the blocks is 1 The relative vertical distance to the center of, A 'is the pixel correction output value by the look-up table in the block, B' is the pixel correction output value by the look-up table of adjacent blocks from the block, and C 'is And a corresponding pixel correction output value using a lookup table of blocks adjacent to an upper surface or a lower surface, and D 'is a corresponding pixel correction output value using a lookup table of blocks adjacent to a diagonal side from the block. 제6항 내지 제9항 중 어느 한 항에 있어서,The method according to any one of claims 6 to 9, 상기 룩업 테이블 생성 단계의 영상의 밝기에 대한 화소의 분포에서 일정한 빈도 이상의 값은 상기 일정빈도로만 표시하고 상기 일정빈도를 초과하는 부분은 그 누적값을 전체 밝기 분포에 평균하여 더하는 것을 특징으로 하는 광역 다이내믹 레인지 보정방법.In the distribution of pixels for the brightness of the image in the lookup table generation step, a value of a predetermined frequency or more is displayed only at the predetermined frequency, and a portion exceeding the predetermined frequency is added to the total brightness distribution by averaging the accumulated value. Dynamic range correction method.
KR1020060093889A 2006-09-27 2006-09-27 Device and method for wide dynamic range correction KR100783122B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060093889A KR100783122B1 (en) 2006-09-27 2006-09-27 Device and method for wide dynamic range correction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060093889A KR100783122B1 (en) 2006-09-27 2006-09-27 Device and method for wide dynamic range correction

Publications (1)

Publication Number Publication Date
KR100783122B1 true KR100783122B1 (en) 2007-12-07

Family

ID=39139979

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060093889A KR100783122B1 (en) 2006-09-27 2006-09-27 Device and method for wide dynamic range correction

Country Status (1)

Country Link
KR (1) KR100783122B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8610738B2 (en) 2008-12-26 2013-12-17 Samsung Electronics Co., Ltd. Image processing apparatus and method with dynamic range processing
CN116908651A (en) * 2023-07-21 2023-10-20 江阴市华拓芯片测试有限公司 Dynamic Trimming method and device for chip
CN117577015A (en) * 2023-08-18 2024-02-20 长春希达电子技术有限公司 Method, system, computer equipment and medium for correcting bright and dark lines of spherical LED display screen

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060031519A (en) * 2004-10-08 2006-04-12 삼성전자주식회사 Apparatus and method for compressing dynamic range of image

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060031519A (en) * 2004-10-08 2006-04-12 삼성전자주식회사 Apparatus and method for compressing dynamic range of image

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8610738B2 (en) 2008-12-26 2013-12-17 Samsung Electronics Co., Ltd. Image processing apparatus and method with dynamic range processing
CN116908651A (en) * 2023-07-21 2023-10-20 江阴市华拓芯片测试有限公司 Dynamic Trimming method and device for chip
CN117577015A (en) * 2023-08-18 2024-02-20 长春希达电子技术有限公司 Method, system, computer equipment and medium for correcting bright and dark lines of spherical LED display screen

Similar Documents

Publication Publication Date Title
US7349574B1 (en) System and method for processing non-linear image data from a digital imager
US7170645B2 (en) Method and apparatus for enhancing digital image quality
US7590303B2 (en) Image enhancement method using local illumination correction
KR100970883B1 (en) The apparatus for enhancing image considering the region characteristic and method therefor
CA2417169C (en) Image processing apparatus and image processing method
TWI386865B (en) Gradation correction device, gradation correction method and gradation correction program
KR100916073B1 (en) Apparatus and method of stretching histogram for enhancing contrast of image
JP4322781B2 (en) Imaging device
US8131108B2 (en) Method and system for dynamic contrast stretch
US20090304274A1 (en) Image Processing Apparatus and Image Display Apparatus
JPH0568147B2 (en)
KR100975221B1 (en) Apparatus and method for improving sharpness
WO2004110071A1 (en) Image processor and image processing program
JP2007248935A (en) Image processor and image processing method, program, recording medium and integrated circuit
US20120106867A1 (en) Image processing apparatus and image processing method
JP2008072450A (en) Image processor and image processing method
JP5558240B2 (en) Image processing device
JP2004326082A (en) Display controller and display device
JP4575963B2 (en) Image processing device
JP2004326082A5 (en)
CN106097286A (en) A kind of method and device of image procossing
KR100783122B1 (en) Device and method for wide dynamic range correction
CN106575434B (en) Image processing apparatus, imaging apparatus, and image processing method
JP2016076069A (en) Image processing apparatus, image processing method, and program
JP4289225B2 (en) Image processing apparatus and image processing method

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20121119

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20131129

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20141201

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20151127

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20181126

Year of fee payment: 12