KR20010105678A - Histogram Equalization device using block histogram in image signal processor - Google Patents

Histogram Equalization device using block histogram in image signal processor Download PDF

Info

Publication number
KR20010105678A
KR20010105678A KR1020000026384A KR20000026384A KR20010105678A KR 20010105678 A KR20010105678 A KR 20010105678A KR 1020000026384 A KR1020000026384 A KR 1020000026384A KR 20000026384 A KR20000026384 A KR 20000026384A KR 20010105678 A KR20010105678 A KR 20010105678A
Authority
KR
South Korea
Prior art keywords
brightness
block
value
output
signal
Prior art date
Application number
KR1020000026384A
Other languages
Korean (ko)
Other versions
KR100377181B1 (en
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 KR10-2000-0026384A priority Critical patent/KR100377181B1/en
Publication of KR20010105678A publication Critical patent/KR20010105678A/en
Application granted granted Critical
Publication of KR100377181B1 publication Critical patent/KR100377181B1/en

Links

Classifications

    • 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
    • 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
    • G09G3/34Control 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 by control of light from an independent source
    • G09G3/3406Control of illumination source
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0626Adjustment of display parameters for control of overall brightness

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

Methods for treating and/or preventing non-insulin dependent diabetes mellitus (NIDDM) in subjects having or at substantial risk of developing NIDDM, using specific retinoid compounds that are structurally related to 9-cis retinoid acid which induce the differentiation of preadipocytes into adipocytes, are provided. These compounds may be administered alone or in combination with other anti-diabetogenic agents such as thiazolidinediones.

Description

이미지 신호 처리 장치에서의 블록 분포도를 이용한 분포도 평탄화 장치{Histogram Equalization device using block histogram in image signal processor}Histogram Equalization device using block histogram in image signal processor

본 발명은 보다 좋은 화질을 위하여 이미지 센서로부터 출력되는 이미지 데이터를 입력받아 이미지 프로세싱하는 이미지 신호 프로세서에 관한 것으로, 특히 이미지 신호 프로세서 내에서 실시간 프로세싱 시 감도를 개선하여 원하는 밝기의 화면 화질을 얻기 위한 분포도 평탄화 장치에 관한 것이다.The present invention relates to an image signal processor that receives image data output from an image sensor for better image quality, and more particularly relates to an image signal processor. A flattening device.

일반적으로, 이미지 센서(Image Sensor)로부터 출력되는 이미지 데이터는 상대적으로 낮은 화질 특성을 가지기 때문에, 보다 나은 화질을 위해 이미지 센서로부터의 이미지 데이터는 이미지 신호 프로세서에서 이미지 프로세싱을 거치게 된다.In general, since the image data output from the image sensor has a relatively low image quality characteristic, the image data from the image sensor is subjected to image processing in the image signal processor for better image quality.

이러한 이미지 신호 프로세서는 실시간으로 이미지 센서를 동작시킬 경우 감도가 떨어져 원하는 밝기의 화질을 얻기가 어려우므로, 실시간 프로세싱을 필요로 하는 어플리케이션(application)을 위해 분포도 평탄화(histogram equalization)를 통해 신호를 프로세싱한다.Such an image signal processor processes signals through histogram equalization for applications requiring real-time processing because it is difficult to obtain a desired brightness quality due to low sensitivity when operating an image sensor in real time. .

여기서, 분포도 평탄화 방법은 한 화면의 밝기 정도를 파악하고, 밝기별로 구분되는 각 픽셀(pixel)의 그레이 레벨(grey level), 즉 픽셀의 밝기 정보에 스케일 팩터(Scale Factor)를 곱하여 어두운 화면을 적절한 밝기로 조절한 새로운 화면을 얻는 방법으로서, 지금까지는 주로 소프트웨어적인 방법으로 많이 구현되어 왔으나, VLSI(Very Large Scaled Integration) 기술이 발전함에 따라 이미지 신호 프로세서 내부에 하드웨어적으로 구현이 가능하다.Here, the flattening method of the distribution is to determine the degree of brightness of one screen, and the gray level of each pixel divided by brightness, that is, the brightness information of the pixel by multiplying the scale factor to appropriate the dark screen As a method of obtaining a new screen adjusted by brightness, it has been mainly implemented by a software method until now, but with the development of VLSI (Very Large Scaled Integration) technology, it can be implemented in hardware inside an image signal processor.

도 1은 종래의 분포도 평탄화 방법을 구현하기 위한 이미지 신호 프로세서의 분포도 평탄화 장치에 대한 블록 다이어그램도이다.1 is a block diagram of a distribution planarization apparatus of an image signal processor for implementing a conventional distribution planarization method.

도면을 참조하면, 종래의 분포도 평탄화 장치는 이미지 센서(도면에 도시되지 않음)로부터 출력되는 픽셀의 밝기 정보(Y_In)를 입력받아 한 화면씩 저장하는 프레임 메모리(100), 각 픽셀의 밝기 정보(Y_In)를 입력받아 256레벨(다이나믹 레인지)로 분포도를 구하여 저장하고, 저장된 분포도의 중간값에 해당하는 밝기 정보를 기준 밝기 정보(YF_Mean)로 판단하는 분포도 저장 및 중간값의 밝기 판단부(110), 상기 분포도를 이용하여 기준 밝기 정보(YF_Mean)에 대해 밝기별로 구분되는 각 픽셀들의 스케일 팩터를 생성하는 스케일 팩터 생성부(120) 및 생성된 스케일 팩터를 저장하고, 상기 프레임 메모리(100)에 저장된 픽셀의 밝기 정보에 해당 스케일 팩터를 곱하여 한 화면에 대한 밝기 정보를 평탄화하는 스케일 팩터 저장 및 분포도 평탄화부(130)로 이루어진다.Referring to the drawings, the conventional planarization flattening apparatus receives a brightness information Y_In of a pixel output from an image sensor (not shown) and stores the screen information one by one, and the brightness information of each pixel ( Y_In) to receive and store the distribution at 256 levels (dynamic range), and store the distribution to determine the brightness information corresponding to the median value of the stored distribution as the reference brightness information (YF_Mean) and the brightness determination unit 110 of the intermediate value. A scale factor generator 120 generating a scale factor of each pixel divided by brightness with respect to reference brightness information YF_Mean using the distribution chart, and a generated scale factor, and stored in the frame memory 100 The scale factor storage and distribution planarization unit 130 is configured to flatten the brightness information of one screen by multiplying the brightness information of the pixel by the corresponding scale factor.

상기 도 1과 같이 구성되는 종래의 분포도 평탄화 장치는 많은 하드웨어 자원(resource)이 필요하여 이미지 신호 프로세서 내부에 하드웨어적으로 구현되기가 어렵고, 시스템 호스트(예를 들어, 마이크로프로세서)와 시스템 메모리를 이용하여 소프트웨어적으로 구현될 경우에는 이미지 신호 프로세싱으로 인한 전체 시스템의성능 저하를 유발하게 된다.The conventional planarization flattening device configured as shown in FIG. 1 requires a lot of hardware resources, so that it is difficult to be implemented in hardware in an image signal processor, and uses a system host (for example, a microprocessor) and a system memory. If implemented in software, this can lead to degradation of the overall system due to image signal processing.

또한, 밝기 정보로 구성되는 분포도의 중간값을 기준 밝기 정보(YF_Mean)로 사용하여 스케일 팩터의 생성 시 적용함으로써 분포도가 특정영역에 치우쳐 있을 경우 한쪽 방향으로의 극단적인 스트레칭(Stretching)으로 인해 좋은 화질을 얻을 수 없다.In addition, when the distribution factor is biased in a specific area by applying the middle value of the distribution chart composed of brightness information as the reference brightness information (YF_Mean), the image quality is good due to the extreme stretching in one direction. Can't get it.

본 발명은 상기 문제점을 해결하기 위하여 안출된 것으로서, 블록으로 구분되는 일정 영역별로 각 픽셀의 밝기 정보에 대한 분포도를 저장하고, 각 픽셀의 밝기 정보에 대한 평균값(average)을 기준 밝기 정보로 사용하며, 한 화면의 밝기 정보에 대한 평균값을 기준으로 하는 블록별 스케일 팩터를 적용하여 스케일 팩터를 생성하고, 생성된 스케일 팩터를 이용하여 분포도 평탄화함으로써 콘트라스트(Contrast)를 증가시켜 화질을 개선하는 동시에 하드웨어 크기를 줄일 수 있는, 이미지 신호 처리 장치에서의 블록 분포도를 이용한 분포도 평탄화 장치를 제공하고자 한다.The present invention has been made to solve the above problems, and stores the distribution of the brightness information of each pixel for each predetermined area divided into blocks, and uses the average value of the brightness information of each pixel as reference brightness information. In addition, the scale factor is generated by applying the scale factor for each block based on the average value of brightness information of one screen, and the distribution scale is flattened using the generated scale factor to increase the contrast to improve image quality and to increase the hardware size. SUMMARY To provide a flattening device for distribution using a block distribution in an image signal processing device.

도 1은 종래의 분포도 평탄화 방법을 구현하기 위한 이미지 신호 프로세서의 분포도 평탄화 장치에 대한 블록 다이어그램도.1 is a block diagram of a distribution planarization apparatus of an image signal processor for implementing a conventional distribution planarization method.

도 2는 본 발명에 따른 분포도 평탄화 방법을 개념적으로 설명하기 위한 그래프.Figure 2 is a graph for conceptually explaining a distribution planarization method according to the present invention.

도 3은 본 발명에 따른 분포도 평탄화 장치에 대한 블록 다이어그램도.3 is a block diagram of a distribution planarization apparatus according to the present invention;

도 4는 본 발명의 일실시예에 따른 화면의 밝기 평균값 생성부에 대한 내부 블록 다이어그램도.4 is an internal block diagram of a brightness average value generator of a screen according to an embodiment of the present invention.

도 5는 상기 화면의 밝기 평균값 생성부에 대한 신호 타이밍도.5 is a signal timing diagram for a brightness average value generator of the screen;

도 6은 본 발명의 일실시예에 따른 블록별 분포도 생성부에 대한 내부 블록 다이어그램도.6 is an internal block diagram of a distribution chart generator for each block according to an embodiment of the present invention.

도 7은 상기 블록별 분포도 생성부 내 제어부의 내부 블록 다이어그램도.7 is an internal block diagram of a controller in the distribution chart generation unit for each block.

도 8은 본 발명의 일실시예에 따른 평탄화부에 대한 내부 블록 다이어그램도.8 is an internal block diagram of a flattener according to an embodiment of the present invention.

도 9는 상기 도 8의 레인지 선택부에 대한 내부 블록도.9 is an internal block diagram of the range selector of FIG. 8; FIG.

도 10은 상기 도 8의 스케일 팩터 생성부에 대한 내부 블록도.FIG. 10 is an internal block diagram of the scale factor generator of FIG. 8. FIG.

상기 목적을 달성하기 위한 본 발명은 이미지 신호 처리 장치에서 블록 분포도를 이용하여 분포도 평탄화를 수행하는 장치에 있어서, 클럭 신호 및 프레임동기신호에 응답하여 외부로부터 픽셀의 밝기 정보를 입력받아 한 화면에 디스플레이되는 화면의 밝기 평균을 구하는 화면의 밝기 평균값 생성 수단; 상기 밝기 평균값 생성 수단으로부터의 밝기 평균값과 상기 픽셀의 밝기 정보를 입력받아 다수의 블록으로 나누어 분포도를 생성 및 저장하고, 각 블록별 픽셀의 수, 상기 밝기 평균값 생성 수단으로부터 출력되는 밝기 평균값이 속하는 블록의 픽셀 수 및 상기 밝기 평균값의 미만과 초과하는 밝기 정보를 가진 픽셀의 수를 출력하는 블록별 분포도 생성 및 저장 수단; 및 사용자에 의해 요구되는 밝기값, 상기 픽셀의 밝기 정보에 대한 다이나믹 레인지를 결정하는 제1 및 제2 팩터, 상기 픽셀의 밝기 정보, 상기 블록별 분포도 생성 및 저장 수단으로부터 출력되는 픽셀 수에 대한 정보에 응답하여 상기 밝기 평균값이 속하는 블록에 대해서는 픽셀 단위로 스케일 팩터를 생성하고, 나머지 블록에 대해서는 각 블록별로 스케일 팩터를 생성하여 한 화면에 대한 밝기 정보를 평탄화하는 평탄화 수단을 포함하여 이루어진다.In accordance with an aspect of the present invention, there is provided an apparatus for flattening a distribution using a block distribution in an image signal processing apparatus, and receiving brightness information of pixels from an external device in response to a clock signal and a frame synchronization signal and displaying the same on a screen. Means for generating a brightness average value of the screen for obtaining a brightness average of the screen; A brightness average value from the brightness average value generating means and the brightness information of the pixel are received and divided into a plurality of blocks to generate and store a distribution map, and a block to which the number of pixels for each block and the brightness average value output from the brightness average value generating means belong. Distribution block generation and storage means for outputting a number of pixels and a number of pixels having brightness information less than and exceeding the brightness average value; And a brightness value required by the user, first and second factors for determining a dynamic range of the brightness information of the pixel, brightness information of the pixel, and information on the number of pixels output from the block generation and storage means for each block. And a flattening means for generating a scale factor for each block to which the brightness average value belongs, and generating a scale factor for each block for each block to flatten the brightness information of one screen.

이하, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명의 기술적 사상을 용이하게 실시할 수 있을 정도로 상세히 설명하기 위하여, 본 발명의 가장 바람직한 실시예를 첨부된 도면을 참조하여 설명하기로 한다.DETAILED DESCRIPTION Hereinafter, exemplary embodiments of the present invention will be described with reference to the accompanying drawings so that those skilled in the art may easily implement the technical idea of the present invention. do.

본 발명의 바람직한 일실시예에서는 밝기 정보를 16개의 블록으로 구분하여 분포도를 저장하고, 스케일 팩터 생성 시 블록 스케일 팩터를 선형적으로 구분하여 적용함으로써 블록이 갖는 오차를 최소화하며, 각 픽셀의 밝기 정보에 대한 평균값인 기준 밝기 정보(YF_Mean)가 존재하는 블록에 대해서는 밝기 정보로 구분되는 각 픽셀의 밝기 정보별로 분포도를 저장하여 기준 밝기 정보(YF_Mean)가 포함되는 블록에서의 오차를 제거하였다. 즉, 기준 밝기 정보(YF_Mean)가 포함되는 블록에서는픽셀 단위로 스케일 팩터를 생성하여 분포도 평탄화 시 적용하고, 나머지 블록에서는 블록 단위로 스케일 팩터를 생성한다.In a preferred embodiment of the present invention, the brightness information is divided into 16 blocks to store a distribution map, and when the scale factor is generated, the block scale factor is linearly divided and applied to minimize the error of the block, and the brightness information of each pixel. For a block in which the reference brightness information YF_Mean, which is an average value of, exists, the distribution is stored for each brightness information of each pixel divided by the brightness information to remove an error in the block including the reference brightness information YF_Mean. That is, in a block including the reference brightness information YF_Mean, a scale factor is generated in pixel units and applied when flattening the distribution, and in the remaining blocks, a scale factor is generated in block units.

도 2는 본 발명에 따른 분포도 평탄화 방법을 개념적으로 설명하기 위한 그래프이다.2 is a graph for conceptually explaining a distribution planarization method according to the present invention.

도 2의 그래프에서 "Y"는 컬러 스페이스에서의 그레이 레벨(픽셀의 밝기 정보)을, YF_Mean은 한 화면 밝기의 평균값을, Y_Target은 사용자가 요구하는 수준의 밝기를, Y_Start 및 Y_end는 밝기 및 콘트라스트 조절 가능을 지원하기 위한 것으로 다이나믹 레인지를 결정하는 팩터를, YaTotal은 YF_Mean 보다 큰 밝기 정보를 갖는 픽셀 수를, Ya는 YF_Mean 보다 큰 밝기 정보 영역에 존재하는 임의의 픽셀의 밝기 정보를, YaSub는 YF_Mean에서 Ya 사이에 존재하는 픽셀 수를, YbTotal은 YF_Mean 보다 작은 밝기 정보를 갖는 픽셀 수를, Yb는 YF_Mean 보다 작은 밝기 정보 영역에 존재하는 임의의 픽셀의 밝기 정보를, YbSub는 Ystart에서 Yb 사이에 존재하는 픽셀 수를 각각 나타낸다.In the graph of FIG. 2, "Y" is gray level in the color space (pixel brightness information), YF_Mean is the average value of one screen brightness, Y_Target is the brightness level required by the user, and Y_Start and Y_end are brightness and contrast. The factor to determine the dynamic range is to support the adjustable, YaTotal is the number of pixels with brightness information greater than YF_Mean, Ya is the brightness information of any pixel in the brightness information area greater than YF_Mean, and YaSub is YF_Mean Is the number of pixels between Y and Yb, YbTotal is the number of pixels with brightness information less than YF_Mean, Yb is the brightness information of any pixel in brightness information area less than YF_Mean, and YbSub is between Ystart and Yb. Each pixel number is shown.

도 2를 참조하면, 분포도 평탄화에 의해 기준 밝기 정보인 YF_Mean을 Y_Target로 매핑하고, YF_Mean을 중심으로 YF_Mean 보다 밝은 영역에 존재하는 픽셀들의 밝기 정보 및 YF_Mean 보다 어두운 영역에 존재하는 픽셀들의 밝기 정보를 스케일 팩터에 응답하여 매핑함으로써 화면을 원하는 밝기로 조절한다.Referring to FIG. 2, YF_Mean, which is reference brightness information, is mapped to Y_Target by flattening the distribution, and the brightness information of pixels existing in a brighter area than YF_Mean and the brightness information of pixels in a darker area of YF_Mean are scaled around YF_Mean. By mapping in response to the factor, the screen is adjusted to the desired brightness.

도 2에서 YF_Mean 보다 큰 밝기 정보 영역에 존재하는 임의의 픽셀에 대한 밝기 정보 Ya를 분포도 평탄화에 의해 Ya'로 매핑시키기 위해 아래 수학식 1을 적용한다.In FIG. 2, Equation 1 is applied to map the brightness information Ya for any pixel present in the brightness information area larger than YF_Mean to Ya 'by distribution planarization.

Ya' = Ytarget + Range × Scale_FactorYa '= Ytarget + Range × Scale_Factor

Range = Yend - YtargetRange = Yend-Ytarget

Scale_Factor = YaSub / YaTotalScale_Factor = YaSub / YaTotal

상기 수학식 1에서, Range값인 "Yend - Ytarget"는 분포도 평탄화 후 Ytarget보다 밝은 범위의 픽셀들이 존재하게 될 영역을, "YaSub / YaTotal"은 Ya에 해당하는 스케일 팩터로서 "Yend - Ytarget"의 영역에 매핑되는 위치를 각각 나타낸다.In Equation 1, "Yend-Ytarget", which is a Range value, is a region where pixels of a range that are brighter than Ytarget will exist after flattening the distribution, and "YaSub / YaTotal" is a scale factor corresponding to Ya, and is "Yend-Ytarget". Each location is mapped to.

도 2에서 YF_Mean 보다 작은 밝기 정보 영역에 존재하는 임의의 픽셀에 대한 밝기 정보 Yb를 분포도 평탄화에 의해 Yb'로 매핑시키기 위해 아래 수학식 2를 적용한다.In FIG. 2, Equation 2 below is applied to map the brightness information Yb for any pixel present in the brightness information area smaller than YF_Mean to Yb 'by distribution planarization.

Yb' = Ystart + Range × Scale_FactorYb '= Ystart + Range × Scale_Factor

Range = Ytarget - YstartRange = Ytarget-Ystart

Scale_Factor = YbSub / YbTotalScale_Factor = YbSub / YbTotal

상기 수학식 2에서, Range값인 "Ytarget - Ystart"는 분포도 평탄화 후 Ytarget보다 어두운 범위의 픽셀들이 존재하게 될 영역을, "YbSub / YbTotal"은 Yb에 해당하는 스케일 팩터로서 "Ytarget - Ystart"의 영역에 매핑되는 위치를 각각 나타낸다.In Equation 2, the range value "Ytarget-Ystart" is a region where pixels of a range darker than Ytarget will exist after flattening the distribution, and "YbSub / YbTotal" is a scale factor corresponding to Yb and is a region of "Ytarget-Ystart". Each location is mapped to.

도 3은 본 발명에 따른 분포도 평탄화 장치에 대한 블록 다이어그램도로서, 분포도를 16개의 블록으로 나누어 분포도 평탄화하는 일실시예이다.3 is a block diagram of the flattening device according to the present invention, an embodiment of flattening the distribution by dividing the distribution into 16 blocks.

도 3을 참조하면, 본 발명의 분포도 평탄화 장치는 클럭 신호(Clk) 및 프레임동기신호(Vsync)에 응답하여 이미지 센서(도면에 도시되지 않음)로부터 출력되는 픽셀의 밝기 정보(YIn)를 입력받아 한 화면에 디스플레이되는 화면의 밝기 평균을 구하는 화면의 밝기 평균값 생성부(200), 상기 밝기 평균값 생성부(200)로부터의 밝기 평균값과 이미지 센서로부터의 픽셀 밝기 정보(YIn)를 입력받아 16개의 블록으로 나누어 분포도를 생성하고, 각 블록별 픽셀의 수, 상기 화면의 밝기 평균값 생성부(200)로부터 출력되는 밝기 평균값이 속하는 블록의 픽셀 수 및 상기 밝기 평균값의 미만과 초과하는 픽셀의 수를 출력하는 블록별 분포도 생성부(210), 및 Ytarget, Ystart, Yend, 픽셀의 밝기 정보(YIn), 블록별 분포도 생성부(210)로부터 출력되는 픽셀 수에 대한 정보에 응답하여 상기 밝기 평균값이 속하는 블록에 대해서는 픽셀 단위로 스케일 팩터를 생성하고, 나머지 블록에 대해서는 블록별로 스케일 팩터를 생성하여 한 화면에 대한 밝기 정보를 평탄화하는 평탄화부(220)로 이루어지며, 각각의 세부 구성은 도 4 내지 도 8을 참조하여 보다 구체적으로 설명한다.Referring to FIG. 3, the distribution planarization apparatus of the present invention receives the brightness information YIn of a pixel output from an image sensor (not shown) in response to a clock signal Clk and a frame synchronization signal Vsync. 16 blocks by receiving the brightness average value generation unit 200, the brightness average value from the brightness average value generation unit 200 and the pixel brightness information YIn from the image sensor to obtain the average brightness of the screen displayed on one screen Generating a distribution chart, and outputting the number of pixels for each block, the number of pixels of a block to which the brightness average value output from the screen brightness average value generator 200 belongs, and the number of pixels exceeding and exceeding the brightness average value. The block diagram generation unit 210 and Ytarget, Ystart, Yend, brightness information (YIn) of the pixels, and the image information in response to the information about the number of pixels output from the block diagram generation unit 210. Each block includes a flattening unit 220 for generating a scale factor for each block belonging to the brightness average value and generating a scale factor for each other block to flatten the brightness information of one screen. It will be described in more detail with reference to Figures 4 to 8.

도 4는 본 발명의 일실시예에 따른 화면의 밝기 평균값 생성부(200)에 대한 내부 블록 다이어그램도이고, 도 5는 상기 화면의 밝기 평균값 생성부에 대한 신호타이밍도이다.4 is an internal block diagram of the brightness average value generator 200 of the screen according to an embodiment of the present invention, Figure 5 is a signal timing diagram for the brightness average value generator of the screen.

도 4 및 도 5를 참조하면, 밝기 평균값 생성부(200)는 한 화면에 대한 픽셀의 밝기 정보(YIn)를 클럭 신호(Clk)에 응답하여 차례로 입력받아 누적하는 누적기(201), 클럭 신호에 응답하여 상기 누적기(201)로부터의 누적치를 저장하는 래치(202), 클럭 신호(Clk)에 응답하여 입력되는 밝기 정보의 픽셀 수를 카운팅하는 카운터(203), 상기 래치(202)에 래치된 누적치(Sum)와 상기 카운터(203)의 카운트 결과 값(Cnt)을 입력받아 누적치(Sum)에서 카운트 결과 값(Cnt)을 제산하여 기준 밝기 정보(YF_Mean)로 출력하는 제산기(204), 상기 제산기(204)의 기준 밝기 정보(YF_Mean)를 클럭 신호(Clk)에 응답하여 저장하는 래치(205) 및 프레임동기신호(Vsync)에 응답하여 래치(202, 205), 카운터(203)의 동작을 제어하는 제어부(206)로 이루어진다.4 and 5, the brightness average value generator 200 sequentially accumulates and receives brightness information YIn of a pixel on a screen in response to a clock signal Clk and accumulates 201 and a clock signal. A latch 202 for storing the accumulated value from the accumulator 201 in response thereto, a counter 203 for counting the number of pixels of brightness information input in response to the clock signal Clk, and a latch in the latch 202. A divider 204 which receives the accumulated value Sum and the count result value Cnt of the counter 203 and divides the count result value Cnt from the cumulative value Sum as the reference brightness information YF_Mean, A latch 205 for storing the reference brightness information YF_Mean of the divider 204 in response to the clock signal Clk and the latches 202 and 205 and the counter 203 in response to the frame synchronization signal Vsync. The control unit 206 controls the operation.

상기와 같이 구성되는 밝기 평균값 생성부(200)는 디스플레이되는 이미지의 밝기 성분(Yin)의 평균값을 구하기 위하여, 프레임동기신호(Vsync)에 의해서 디스플레이되는 동안에 각 픽셀의 밝기 정보(Yin)를 누적하여 누적치를 구하고, 디스플레이되지 않는 동안에 밝기 평균값인 기준 밝기 정보(YF_Mean)를 구한다.The brightness average value generation unit 200 configured as described above accumulates the brightness information (Yin) of each pixel while being displayed by the frame synchronization signal (Vsync) to obtain an average value of the brightness component (Yin) of the displayed image. The cumulative value is obtained, and reference brightness information YF_Mean, which is a brightness average value, is obtained while not being displayed.

구체적으로, 제어부(206)는 상기 누적기(201)에서 클럭 신호(Clk)에 응답하여 누적치를 계산하는 기간 동안에 래치(202)를 인에이블시키는 래치인에이블신호(LatchEn1)를 엑티브시키고, 상기 제산기(204)의 제산 기간 동안에 래치(205)를 인에이블시키는 래치인에이블신호(LatchEn2)를 엑티브시키며, 제산 기간 후에 그 다음 화면의 밝기 정보에 대한 누적을 위해서 래치(202) 및카운터(203)를 "0"으로 만드는 클리어신호(Clear)를 엑티브한다.In detail, the controller 206 activates a latch enable signal LatchEn1 that enables the latch 202 during a period in which the accumulator 201 calculates a cumulative value in response to the clock signal Clk. Activates latch enable signal LatchEn2 which enables latch 205 during divider period of divider 204, and latch 202 and counter 203 for accumulation of brightness information of the next screen after divider period. Activate the clear signal (Clear) to make "0".

그리고, 제산기(204)는 래치(202)에 저장된 누적치(Sum)를 피젯수로 하고 카운터(203)에 저장된 카운트 결과 값(Cnt)을 젯수로 하여 나누기를 수행함으로써 기준 밝기 정보(YF_Mean)를 구하는 데, 이때 제산기(204)는 병렬 제산기와 직렬 제산기 모두 사용가능하며, 직렬 제산기를 사용할 경우 클럭신호(Clk)에 동기되어 동작한다.The divider 204 divides the reference brightness information YF_Mean by dividing the accumulated value Sum stored in the latch 202 as the number of jets and the count result value Cnt stored in the counter 203 as the number of jets. In this case, the divider 204 can use both a parallel divider and a serial divider, and when the serial divider is used, the divider 204 operates in synchronization with the clock signal Clk.

또한, 래치(205)는 래치인에이블신호(LatchEn2)에 동기하여 제산기(204)로부터의 기준 밝기 정보(YF_Mean)를 한 화면 기간 동안 저장하여 유지한다.In addition, the latch 205 stores and maintains the reference brightness information YF_Mean from the divider 204 for one screen period in synchronization with the latch enable signal LatchEn2.

도 6은 본 발명의 일실시예에 따른 블록별 분포도 생성부(210)에 대한 내부 블록 다이어그램도로서, 제어부(211)와, 16개의 분포도 저장 블록과 인크리멘터로 구성되어 상기 제어부(211)의 제어에 따라 엑티브되는 블록을 인크리먼트하여 블록별로 분포도를 생성하는 블록 분포도 생성부(212)와, 상기 블록 분포도 생성부(212)의 블록별 분포도와 상기 제어부(211)의 제어에 응답하여 각 블록별 픽셀의 수, 밝기 평균값이 속하는 블록의 픽셀 수 및 상기 밝기 평균값의 미만과 초과하는 픽셀의 수를 출력하는 픽셀 수 출력부(213)로 이루어지되, 상기 픽셀 수 출력부(213)는 제어부(211)로부터의 쉬프트인에이블신호(ShiftEn)에 응답하여 엑티브된 블록의 분포도를 블록 분포도 생성부(212)로부터 입력받아 4비트 쉬프트하여 출력하거나 엑티브된 블록의 값을 그대로 바이패스하는 쉬프트 및 바이패스부(214), 클럭 신호(Clk) 및 제어부(211)로부터의 제어신호(AccClear)에 응답하여 상기 블록 분포도 생성부(212)로부터의 분포도를 차례로 입력받아 누적하는 누적기(215), 16개의 블록으로 구성되어 제어부(211)로부터의 제어신호(DWriteSel)에 의해 엑티브되는 블록에 누적기(215)의 결과를 클럭 신호(Clk)에 동기시켜 저장하고, 제어부(211)로부터의 제어신호(DRead_Cur)에 의해 엑티브되는 블록의 픽셀 수를 출력하는 제1 저장부(216), 16개의 블록으로 구성되어 제어부(211)로부터의 제어신호(MWriteSel)에 의해 엑티브되는 블록에 누적기(215)의 결과를 클럭 신호(Clk)에 동기시켜 저장하고, 제어부(211)로부터의 제어신호(MReadSel)에 의해 엑티브되는 블록의 픽셀 수를 출력하는 제2 저장부(217) 및 제어부(211)로부터의 제어신호(LowTotal_Wrt)가 엑티브되면 누적기(215)의 결과를 클럭 신호(Clk)에 동기시켜 저장하고, 저장된 값을 출력하며, 제어부(211)로부터의 제어신호(HighTotal_Wrt)가 엑티브되면 누적기(215)의 결과를 클럭 신호(Clk)에 동기시켜 저장한 후 출력하는 제3 저장부(218)로 이루어진다.FIG. 6 is an internal block diagram of a distribution chart generator 210 for each block according to an embodiment of the present invention. The controller 211 includes sixteen distribution map storage blocks and an incrementer. In response to the control of the block distribution diagram generation unit 212 and the block distribution diagram generation unit 212 and the block distribution diagram generation unit 212 to increment the active block according to the control of the control unit 211 The pixel number output unit 213 outputs the number of pixels for each block, the number of pixels of the block to which the brightness average value belongs, and the number of pixels exceeding and exceeding the brightness average value. In response to the shift enable signal (ShiftEn) from the control unit 211, the distribution of the active block is input from the block distribution generation unit 212 and output by 4-bit shift or the value of the active block is left as it is. The accumulator accumulates in response to the shift and bypass unit 214, the clock signal Clk, and the control signal AccClear from the control unit 211 and sequentially receives the distribution from the block distribution generator 212. 215 and 16 blocks and stores the result of the accumulator 215 in synchronization with the clock signal Clk in a block activated by the control signal DWriteSel from the control unit 211, and the control unit 211 The first storage unit 216 for outputting the number of pixels of the block activated by the control signal (DRead_Cur) from the block, which is composed of 16 blocks accumulated in the block activated by the control signal (MWriteSel) from the control unit 211 The second storage unit 217 and the control unit for storing the result of the unit 215 in synchronization with the clock signal Clk, and outputting the number of pixels of the block activated by the control signal MReadSel from the control unit 211. If the control signal (LowTotal_Wrt) from 211 is activated, The result of the unit 215 is stored in synchronization with the clock signal Clk, the stored value is output, and when the control signal HighTotal_Wrt from the control unit 211 is activated, the result of the accumulator 215 is converted into the clock signal Clk. ) And a third storage unit 218 for storing and synchronously storing the same.

여기서, 제어부(211)는 프레임동기신호(Vsync)가 디스플레이 시간을 나타낼 때, 픽셀의 밝기 정보(Yin)와 밝기 평균값 생성부(200)로부터 출력되는 밝기 평균값인 기준 밝기 정보(YF_Mean) 간의 비교값 및 각각의 디코딩 결과에 응답하여 블록 분포도 생성부(212) 내 해당 분포도 저장 블록의 값을 인크리먼트시키는 제어신호 HWriteSel을 생성하고, 제1 저장부(216)에 저장되어 있는 현재 픽셀의 밝기 정보가 속하는 블록에 누적된 픽셀 수 CurrentDensity 및 현재 픽셀의 밝기 정보보다 어두운 밝기 영역에 속하는 블록들에 누적된 픽셀 수 UnderDensity를 출력하도록 제어하는 제어신호 Dread_Cur, Dread_Und를 클럭 신호(Clk)에 응답하여 생성한다. 그리고, 제어부(211)는 프레임동기신호(Vsync)에 의해 디스플레이되지 않는 구간동안에 누적기(215)의 값을 클리어시키는 제어신호 AccClear를 누적기(215)로 출력하고, 디스플레이 기간 동안에 저장된 블록 분포도 생성부(212) 내 각 분포도 저장 블록의 값을 읽어내기 위한 제어신호 HReadSel를 블록 분포도 생성부(212)로 출력한다. 또한, 제어부(211)는 프레임동기신호(Vsync)에 의해 디스플레이되지 않는 구간 동안에 누적기(215)의 결과를 제1 저장부(216) 내 16개 블록 중 어느 한 블록에 선택적으로 저장하기 위한 제어신호 DWriteSel를 생성하여 제1 저장부(216)로 출력하고, 밝기 평균값이 속하는 블록의 픽셀 수를 제2 저장부(217) 내의 16개 블록 중 어느 한 블록에 선택적으로 저장하기 위한 제어신호 MWriteSel를 제2 저장부(217)로 출력하며, 기준 밝기 정보(YF_Mean)보다 작은 밝기를 가지는 픽셀의 수를 제3 저장부(218)에 저장하기 위한 제어신호 LowTotal_Wrt 및 기준 밝기 정보(YF_Mean)보다 큰 밝기를 가지는 픽셀의 수를 제3 저장부(218)에 저장하기 위한 제어신호 HighTotal_Wrt를 제3 저장부(218)로 각각 출력한다.Herein, when the frame synchronization signal Vsync indicates the display time, the controller 211 compares the brightness information Yin of the pixel and the reference brightness information YF_Mean, which is a brightness average value output from the brightness average value generator 200. And a control signal HWriteSel for incrementing a value of the corresponding distribution storage block in the block distribution generator 212 in response to each decoding result, and brightness information of the current pixel stored in the first storage unit 216. Generates the control signals Dread_Cur and Dread_Und in response to the clock signal Clk to control the output of the pixel number UnderDensity accumulated in the blocks belonging to the darker area than the current information of the current pixel density and the brightness of the current pixel. . The controller 211 outputs a control signal AccClear for clearing the value of the accumulator 215 to the accumulator 215 during the period that is not displayed by the frame sync signal Vsync, and generates a block distribution diagram stored during the display period. The control signal HReadSel for reading the value of each distribution storing block in the unit 212 is output to the block distribution generating unit 212. In addition, the control unit 211 controls to selectively store the result of the accumulator 215 in any one of 16 blocks in the first storage unit 216 during the period that is not displayed by the frame synchronization signal Vsync. A control signal MWriteSel is generated for generating the signal DWriteSel and outputting it to the first storage unit 216 and selectively storing the number of pixels of the block to which the brightness average value belongs in one of 16 blocks in the second storage unit 217. Brightness greater than the control signal LowTotal_Wrt and reference brightness information YF_Mean for outputting to the second storage unit 217 and storing the number of pixels having brightness smaller than the reference brightness information YF_Mean in the third storage unit 218. The control signal HighTotal_Wrt for storing the number of pixels having? In the third storage unit 218 is output to the third storage unit 218, respectively.

도 7은 상기 제어부(211)의 내부 블록 다이어그램도로서, 도면에 도시된 바와 같이 제어부는 8비트의 밝기 정보(Yin)와 밝기 평균값 생성부(200)로부터 출력되는 밝기 평균값인 8비트의 기준 밝기 정보(YF_Mean)를 입력받아 비교하는 비교부(300), 8비트의 밝기 정보(Yin) 중 상위 4비트를 디코딩하여 블록 분포도 생성부(212) 내의 16개 분포도 저장 블록 중 어느 한 블록을 선택하기 위한 제어신호 YblockSel를 생성하는 제1 디코더(301), 8비트의 밝기 정보(Yin) 중 하위 4비트를 디코딩하여 분포도 저장 블록 내부의 서브 블록들 중 어느 한 블록을 선택하기 위한 제어신호 YinblockSel를 생성하는 제2 디코더(302), 디스플레이 구간임을 알리는 제어신호 DisplayTime과 상기 제1 및 제2 디코더(301, 302)로부터 출력되는 제어신호 YblockSel, YinblockSel에 응답하여 블록 분포도 생성부(212) 내 해당 분포도 저장 블록의 값을 인크리먼트시키는 제어신호 HWriteSel과 제1 저장부(216)에 저장되어 있는 현재 픽셀의 밝기 정보가 속하는 블록에 누적된 픽셀 수 CurrentDensity 및 현재 픽셀의 밝기 정보보다 어두운 밝기 영역에 속하는 블록들에 누적된 픽셀 수 UnderDensity를 출력하도록 제어하는 제어신호 Dread_Cur, Dread_Und와 MReadSel을 출력하는 제1 제어신호 생성부(303), 8비트의 기준 밝기 정보(YF_mean)에 응답하여 블록 분포도 생성부(212) 내의 16개 분포도 저장 블록 중 어느 한 블록을 선택하기 위한 어드레스 신호 DblockSel 및 분포도 저장 블록 내부의 서브 블록들 중 어느 한 블록을 선택하기 위한 어드레스 신호 DinblockSel을 생성하는 어드레스 생성부(304), 어드레스 생성부(304)로부터의 어드레스 신호 DblockSel, DinblockSel에 응답하여 블록 분포도 생성부(212) 내 각 분포도 저장 블록의 값을 읽어내기 위한 제어신호 HReadSel와 픽셀 수 출력부(213)의 출력을 제어하는 제어신호 MWriteSel, DWriteSel, LowTotal_Wrt, HighTotal_Wrt를 생성하여 출력하는 제2 제어신호 생성부(305), 프레임동기신호(Vsync), 클럭신호(Clk) 및 밝기 평균값 생성부(200)로부터 현재의 기준 밝기 정보(YF_mean)가 유효(valid)함을 알리는 유효신호 Mean_Valid에 응답하여 어드레스 생성부(304), 제1 및 제2 제어신호 생성부(303, 305)의 동작 타이밍을 제어하는 다수의 타이밍 제어 신호를 출력하는 타이밍 제어부(306)로 이루어진다.FIG. 7 is an internal block diagram of the control unit 211. As shown in the drawing, the control unit has 8-bit reference brightness, which is the brightness average value output from the 8-bit brightness information Yin and the brightness average value generation unit 200, and FIG. Comparing unit 300 for receiving and comparing the information (YF_Mean), decode the upper four bits of the 8-bit brightness information (Yin) to select any one of the 16 distribution map storage block in the block distribution generator 212 A first decoder 301 for generating a control signal YblockSel for generating the control signal YinblockSel for selecting any one of the subblocks in the distribution storage block by decoding the lower 4 bits of the 8-bit brightness information Yin. In the block distribution generator 212 in response to the second decoder 302, a control signal DisplayTime indicating a display period, and the control signals YblockSel and YinblockSel output from the first and second decoders 301 and 302. The number of pixels accumulated in the block to which the brightness information of the current pixel stored in the first storage unit 216 and the control signal HWriteSel which increments a value of the corresponding distribution map block are darker than the brightness information of the currentDensity and the current pixel. The first control signal generation unit 303 for outputting the control signals Dread_Cur, Dread_Und, and MReadSel for controlling the output of the pixel number UnderDensity accumulated in the blocks belonging to the block, and generating a block distribution diagram in response to 8-bit reference brightness information YF_mean. An address generator 304 for generating an address signal DblockSel for selecting any one of the 16 distribution blocks in the block 212 and an address signal DinblockSel for selecting any one of the subblocks in the distribution block. In response to the address signals DblockSel and DinblockSel from the address generator 304, each of the components in the block distribution generator 212. The second control signal generator 305 and frame for generating and outputting the control signal HReadSel for reading the value of the storage block and the control signals MWriteSel, DWriteSel, LowTotal_Wrt, and HighTotal_Wrt for controlling the output of the pixel number output unit 213. From the synchronization signal Vsync, the clock signal Clk, and the brightness average value generator 200, the address generator 304 and the second signal are generated in response to the valid signal Mean_Valid indicating that the current reference brightness information YF_mean is valid. The timing controller 306 outputs a plurality of timing control signals for controlling the operation timings of the first and second control signal generators 303 and 305.

여기서, 비교부(300)는 기준 밝기 정보(YF_Mean)와 밝기 정보(Yin)를 비교한결과 신호 YisHigh, YisMeanBlock을 평탄화부(220)로 출력하되, YisMeanBlock 신호는 기준 밝기 정보(YF_Mean)와 밝기 정보(Yin)의 상위 4비트를 비교하여 같은 경우에 인에이블된다.Here, the comparison unit 300 outputs the signals YisHigh and YisMeanBlock to the flattening unit 220 as a result of comparing the reference brightness information (YF_Mean) and the brightness information (Yin), and the YisMeanBlock signal is the reference brightness information (YF_Mean) and brightness information. The upper 4 bits of (Yin) are compared and enabled in the same case.

그리고, 제1 제어신호 생성부(303)는 타이밍 제어부(306)로부터 출력되는 디스플레이 구간임을 알리는 제어 신호 DisplayTime이 인에이블인 동안에 제1 디코더(301)로부터의 제어신호 YblockSel를 HWriteSel, DRead_Cur로, 제어신호 YblockSel보다 1 적은 값을 DRead_Und로, YinblockSel를 MReadSel로 각각 출력하며, 제어신호 DisplayTime이 디스에이블인 동안에는 모든 출력 신호를 디스에이블시킨다.The first control signal generator 303 controls the control signal YblockSel from the first decoder 301 to HWriteSel and DRead_Cur while the control signal DisplayTime indicating that the display period output from the timing controller 306 is enabled is enabled. Outputs a value less than the signal YblockSel to DRead_Und and YinblockSel to MReadSel, respectively, and disables all output signals while the control signal DisplayTime is disabled.

다음으로, 어드레스 생성부(304)는 블록 카운팅부, 서브 블록 카운팅부 및 비교부를 구비하여, 타이밍 제어부(306)로부터의 제어신호 IncClr에 따라서 블록 카운팅부 및 서브 블록 카운팅부를 클리어시키고, 제어신호 IncEn가 인에이블되면 블록 카운팅부를 클럭신호(Clk)에 동기시켜 인크리먼트시킨다. 그리고, 블록 카운팅부의 카운팅 값이 YF_Mean[7:4]와 같아지면 신호 MeanBlock을 인에이블시켜 타이밍 제어부(306)로 출력하고, 블록 카운팅부의 카운팅을 중지하는 동시에 서브 블록 카운팅부를 클럭신호(Clk)에 동기시켜 인크리먼트시킨다. 이때, 서브 블록 카운팅부의 카운팅 값이 YF_Mean[3:0]과 같으면, 신호 YisMean을 인에이블시켜 타이밍 제어부(306)로 출력한다. 계속해서, 서브 블록 카운팅부의 카운팅이 완료되면 신호 MeanBlock을 다시 디스에이블시키고, 블록 카운팅부의 카운팅을 시작하며 블록 카운팅부의 카운팅이 완료되면 신호 DensityEnd을 인에이블시켜 타이밍 제어부(306)로 출력하고, 타이밍 제어부(306)로부터 디스에이블된 제어신호 IncEn에 의해 동작이 종료된다.Next, the address generator 304 includes a block counting unit, a sub block counting unit, and a comparison unit to clear the block counting unit and the sub block counting unit in accordance with the control signal IncClr from the timing controller 306, and the control signal IncEn When is enabled, the block counting unit is incremented in synchronization with the clock signal Clk. When the counting value of the block counting unit is equal to YF_Mean [7: 4], the signal MeanBlock is enabled and output to the timing controller 306. The counting unit stops counting the block counting unit, and at the same time, the sub-block counting unit stops counting the clock signal Clk. Increment in synchronization. At this time, if the counting value of the sub block counting unit is equal to YF_Mean [3: 0], the signal YisMean is enabled and output to the timing controller 306. Subsequently, when counting of the sub block counting unit is completed, the signal MeanBlock is disabled again, counting of the block counting unit is started, and when counting of the block counting unit is completed, the signal DensityEnd is enabled and output to the timing controller 306, and the timing controller The operation ends by the control signal IncEn disabled from 306.

다음으로, 제2 제어신호 생성부(305)는 타이밍 제어부(306)로부터 출력되는 제어신호 DensityGenTime이 인에이블인 동안에 어드레스 생성부(304)로부터의 DblockSel를 HReadSel 및 DWriteSel로, MeanBlock이 인에이블인 동안에 DinblockSel을 DwriteSel로 각각 출력하고, YisMean이 인에이블일 때 LowTotal_Wrt를, DensityEnd가 인에이블일 때 HighTotal_Wrt를 인에이블시킨다.Next, the second control signal generator 305 uses the DblockSel from the address generator 304 as HReadSel and DWriteSel while the control signal DensityGenTime output from the timing controller 306 is enabled, and while MeanBlock is enabled. Output DinblockSel to DwriteSel, and enable LowTotal_Wrt when YisMean is enabled and HighTotal_Wrt when DensityEnd is enabled.

다음으로, 타이밍 제어부(306)는 프레임동기신호(Vsync)에 응답하여 제어신호 DisplayTime 과 DensityGenTime을 구분하여 인에이블시키고, 유효 신호 Mean_Valid가 인에이블일 때 IncClr 및 AccClear를 엑티브시킨 후 IncEn을 인에이블시킨다. 그 후 어드레스 생성부(304)로부터 인에이블된 Densityend가 입력되면 IncEn을 디스에이블시키고, 어드레스 생성부(304)로부터 인에이블된 MeanBlock이 입력되면 ShiftEn을 인에이블시켜 쉬프트 및 바이패스부(214)로 출력한다. 그리고, 어드레스 생성부(304)로부터 인에이블된 YisMean이 입력되면 AccClear를 인에이블시켜서 YF_Mean보다 큰 밝기정보를 가지는 픽셀들의 수를 누적하기 위해서 누산기(215)를 클리어시킨다.Next, the timing controller 306 distinguishes and enables the control signals DisplayTime and DensityGenTime in response to the frame synchronization signal Vsync, and enables IncEn after the IncClr and AccClear are activated when the valid signal Mean_Valid is enabled. . After that, when the enabled Densityend is input from the address generator 304, IncEn is disabled. When the enabled MeanBlock is input from the address generator 304, ShiftEn is enabled to the shift and bypass unit 214. Output When the enabled YisMean is input from the address generator 304, AccClear is enabled to clear the accumulator 215 to accumulate the number of pixels having brightness information larger than YF_Mean.

다음으로, 도 6의 픽셀 수 출력부(213)에서 쉬프트 및 바이패스부(214)는 YF_Mean을 포함하는 분포도 저장 블록의 픽셀 수를 구할 때는 ShiftEn의 인에이블 시 4비트를 오른쪽으로 쉬프트하여 HReadSel에 의해서 선택된 분포도 저장 블록의 값을 16으로 나누는 기능과, YF_Mean을 포함하지 않는 분포도 저장 블록의 픽셀 수를 구할 때는 ShiftEn의 디스에이블 시 분포도 저장 블록에 저장된 픽셀 수를 그대로 누적기(215)로 출력하는 기능을 수행한다. 이때, 본 발명의 일실시예에서는 전체 밝기 정보를 16 블록으로 구분하여, 한 블록에서 표현되는 밝기 정보는 16이 된다. 여기서, YF_Mean을 포함하는 분포도 저장 블록의 픽셀 수를 구할 때 분포도 저장 블록의 값을 4비트 오른쪽으로 쉬프트하는 것은 YF_Mean을 포함하는 분포도 저장 블록에서 픽셀별로 스케일 팩터를 구하기 위함이다.Next, in the pixel number output unit 213 of FIG. 6, the shift and bypass unit 214 shifts 4 bits to the right when ShiftEn is enabled to obtain the pixel number of the distribution block including YF_Mean to HReadSel. The function of dividing the value of the distribution block selected by the distribution by 16 and the number of pixels stored in the distribution block when disabling ShiftEn is output to the accumulator 215 when obtaining the number of pixels of the distribution block containing YF_Mean. Perform the function. In this case, in one embodiment of the present invention, the total brightness information is divided into 16 blocks, and the brightness information expressed in one block is 16. Here, the shift of the value of the distribution storage block to the right by 4 bits when obtaining the number of pixels of the distribution storage block including YF_Mean is to obtain a scale factor for each pixel in the distribution storage block including YF_Mean.

마지막으로, 도 4의 평탄화부(220)에 대한 내부 구성 및 동작을 설명한다.Finally, the internal configuration and operation of the flattening unit 220 of FIG. 4 will be described.

도 8은 본 발명의 일실시예에 따른 평탄화부(220)에 대한 내부 블록 다이어그램도이다.8 is an internal block diagram of the planarization unit 220 according to an embodiment of the present invention.

앞서 언급한 바와 같이, 평탄화부(220)는 Ytarget, Ystart, Yend, 픽셀의 밝기 정보(Yin), 블록별 분포도 생성부(210)로부터 출력되는 픽셀 수에 대한 정보에 응답하여 상기 밝기 평균값이 속하는 블록에 대해서는 픽셀 단위로 스케일 팩터를 생성하고, 나머지 블록에 대해서는 블록별로 스케일 팩터를 생성하여 한 화면에 대한 밝기 정보를 평탄화하기 위하여 프레임동기신호(Vsync)를 입력되는 픽셀의 밝기 정보가 지연되는 만큼 지연시키기 위한 래치(400, 401), 블록별 분포도 생성부(210)로부터 출력되는 신호 YisHigh를 래치하기 위한 래치(402, 403), 사용자에 의해 정의되는 Ystart, Ytarget 및 Yend에 응답하여 블록별 분포도 생성부(210)로부터 출력되는 YisHigh에 의해 해당 픽셀의 밝기 정보 위치가 YF_Mean보다 밝기 영역에 있는 지 어두운 영역에 있는 지에 따라 레인지를 선택하는 레인지 선택부(404), 블록별 분포도 생성부(210)로부터 출력되는 다수의 신호들과 하위 4비트의 밝기 정보에 응답하여 픽셀의 밝기 정보의 변경 시 사용되는 스케일 팩터를 생성하는 스케일 팩터 생성부(405), 상기 레인지 선택부(404)로부터 출력되는 레인지(Range)와 스케일 팩터 생성부(405)로부터 출력되는 스케일 팩터(Scale Factor)를 곱하는 곱셈기(406), 래치(403)에 래치된 YisHigh에 응답하여 Ytarget 및 Ystart를 선택적으로 출력하는 옵셋 선택부(407) 및 곱셈기(406)로부터의 곱셈 결과값과 옵셋 선택부(407)의 출력값을 가산하여 픽셀의 밝기 정보(Yin)에 대해 평탄화된 밝기 정보(Yout)를 최종 출력하는 가산기(408)로 이루어진다.As mentioned above, the flattening unit 220 corresponds to the Ytarget, Ystart, Yend, brightness information (Yin) of pixels, and information on the number of pixels output from the distribution chart generator for each block 210 to which the brightness average value belongs. The scale factor is generated for each block and the scale factor is generated for each block, and the brightness information of the pixel inputting the frame sync signal Vsync is delayed to flatten the brightness information for one screen. The latches 400 and 401 for delaying, the latches 402 and 403 for latching the signal YisHigh output from the block-by-block distribution generator 210, and the block-by-block distribution in response to Ystart, Ytarget and Yend defined by the user The range is selected by YisHigh output from the generation unit 210 according to whether the position of brightness information of the pixel is in the brightness region or the dark region than YF_Mean. Generates a scale factor used to change the brightness information of the pixel in response to a plurality of signals output from the range selector 404 and the distribution chart generator 210 for each block and brightness information of the lower 4 bits. A multiplier 406 and a latch 403 that are multiplied by a range 405 and a range output from the range selector 404 and a scale factor output from the scale factor generator 405. In response to YisHigh, the multiplication result from the offset selector 407 and multiplier 406 that selectively outputs Ytarget and Ystart and the output value of the offset selector 407 are added to flatten the brightness information Yin of the pixel. And an adder 408 for finally outputting the brightness information Yout.

상기와 같이 이루어지는 평탄화부(220)는 프레임동기신호(Vsync)를 입력되는 픽셀의 밝기 정보(Yin)가 지연되는 만큼 지연시키고, 상기 도 6의 블록별 분포도 생성부(210)로부터 스케일 팩터를 구하는 데 필요한 신호(LowTotal, HighTotal, CurrentDensity, UnderDensity, MeanDensity, YisMeanBlock)를 클럭 신호(Clk)에 응답하여 입력받아 스케일 팩터 생성부(405)에서 2 클럭 동안 스케일 팩터를 생성한다. 그리고, 사용자가 정의하는 Ytarget, Ystart, Yend에 따라 레인지 선택부(404)에서 2 클럭 뒤에 레인지를 선택하여 선택된 레인지와 상기 스케일 팩터를 곱하고, YF_Mean보다 큰 영역인지 작은 영역 인지를 구분하는 YisHigh에 의해서 옵셋값으로 Ytarget 또는 Ystart를 선택하여 선택된 옵셋값과 곱한 결과값을 더한 후 분포도 평탄화된 픽셀의 밝기 정보를 최종적으로 출력한다.The flattening unit 220 formed as described above delays the frame synchronization signal Vsync as much as the brightness information Yin of the input pixel is delayed, and obtains the scale factor from the block diagram generation unit 210 of FIG. 6. The scale factor generator 405 generates a scale factor for two clocks by receiving signals necessary for lowTotal, HighTotal, CurrentDensity, UnderDensity, MeanDensity, and YisMeanBlock in response to the clock signal Clk. Then, the range selector 404 selects a range two clocks later according to Ytarget, Ystart, and Yend defined by the user, multiplies the selected range by the scale factor, and YisHigh identifies whether the area is larger or smaller than YF_Mean. After selecting Ytarget or Ystart as the offset value and adding the result value multiplied by the selected offset value, the brightness information of the flattened distribution pixel is finally output.

도 9는 상기 도 8의 레인지 선택부에 대한 내부 블록도로서, YisHigh에 응답하여 Yend 또는 Ytarget를 상한 경계값으로 선택하여 출력하는 상한 경계선택부(500), YisHigh에 응답하여 Ytarget 또는 Ystart를 하한 경계값으로 선택하여 출력하는 하한 경계 선택부(501), 상한 경계 선택부(500)로부터의 상한 경계값에서 하한 경계 선택부(501)로부터의 하한 경계값을 감산하는 감산기(502), 상기 감산기(502)로부터 출력되는 감산 결과값을 클럭 신호(Clk)에 응답하여 지연하기 위한 2개의 래치(503, 504)로 이루어진다.FIG. 9 is an internal block diagram of the range selector of FIG. 8. The upper limit boundary selector 500 selects and outputs Yend or Ytarget as an upper limit threshold in response to YisHigh, and a Ytarget or Ystart lower limit in response to YisHigh. The subtractor 502 which subtracts the lower limit boundary value from the lower limit boundary selector 501 from the lower limit boundary selector 501 to select and output the threshold value, and the upper limit boundary value from the upper limit boundary selector 500. It consists of two latches 503 and 504 for delaying the subtraction result value output from 502 in response to the clock signal Clk.

먼저, 레인지 선택부(404)는 YisHigh에 의해 상한 경계 선택부(500) 및 하한 경계 선택부(501)에서 Yend와 Ytarget 또는 Ytarget와 Ystart를 상한 및 하한 경계값으로 선택하고, 감산기(502)에서 "Yend - Ytarget" 혹은 "Ytarget - Ystart"를 구하여 감산된 값을 두 클럭 신호만큼 지연시킨 후 레인지(Range) 값으로 내보낸다.First, the range selector 404 selects Yend and Ytarget or Ytarget and Ystart as the upper and lower boundary values by the upper boundary selector 500 and the lower boundary selector 501 by YisHigh. Obtain "Yend-Ytarget" or "Ytarget-Ystart", delay the subtracted value by two clock signals, and export it as a range value.

도 10은 상기 도 8의 스케일 팩터 생성부에 대한 내부 블록도이다.FIG. 10 is an internal block diagram illustrating the scale factor generator of FIG. 8.

앞서 언급한 바와 같이, 스케일 팩터는 픽셀의 밝기 정보에 곱해져 픽셀의 밝기 정보를 변경할 때 사용되는 값이다.As mentioned above, the scale factor is a value that is multiplied by the brightness information of the pixel and used to change the brightness information of the pixel.

도 10에 도시된 바와 같이, 스케일 팩터 생성부는 YisHigh에 응답하여 블록별 분포도 생성부(210)로부터 출력되는 LowTotal 또는 HighTotal을 젯수값으로 선택하여 출력하는 젯수 선택부(600), 상기 젯수 선택부(600)로부터 출력되는 LowTotal 또는 HighTotal을 클럭신호(Clk)에 응답하여 래치하는 래치(602), 블록별 분포도 생성부(210)로부터 출력되는 CurrentDensity에서 UnderDensity를 감산하는 감산기(601), 상기 감산기(601)의 감산 결과값과 Yin[3:0]을 곱셈하는 곱셈기(603), 상기 곱셈기(603)의 곱셈 결과값과 UnderDensity를 가산하는가산기(605), YisMeanBlock에 응답하여 가산기(605)의 가산 결과값 또는 MeanDensity를 피젯수값으로 선택하여 출력하는 피젯수 선택부(607), 클럭 신호(Clk)에 응답하여 피젯수 선택부(607)로부터 출력되는 값을 래치하는 래치(608), 상기 래치(608)로부터 출력되는 값에서 상기 래치(602)로부터 출력되는 값을 제산하는 제산기(604) 및 클럭 신호(Clk)에 응답하여 제산기(604)의 제산 결과값을 래치한 후 스케일 팩터(Scale Factor)로 출력하는 래치(606)로 이루어진다.As illustrated in FIG. 10, the scale factor generator may include a jet number selector 600 and a jet number selector 600 configured to select LowTotal or HighTotal output from the block-by-block distribution generator 210 as jet number values in response to YisHigh. A latch 602 for latching LowTotal or HighTotal output from 600 in response to the clock signal Clk, a subtractor 601 for subtracting UnderDensity from the CurrentDensity output from the block-by-block distribution generator 210, and the subtractor 601 A multiplier 603 for multiplying the subtraction result value and Yin [3: 0], an adder 605 for adding the multiplication result value of the multiplier 603, and an UnderDensity, and an addition result of the adder 605 in response to YisMeanBlock. A pidget number selecting unit 607 that selects and outputs a value or MeanDensity as a pidget number value, a latch 608 for latching a value output from the pidget number selecting unit 607 in response to a clock signal Clk, and the latch 608 In the value output from A latch for dividing the division result of the divider 604 in response to the divider 604 and the clock signal Clk to divide the value output from the latch 602 and outputting the result as a scale factor. 606).

상기와 같이 구성되는 스케일 팩터 생성부는 YF_Mean을 기준으로 하여 YF_Mean보다 어두운 영역과 밝은 영역을 구분하고, 각각의 영역에 존재하는 픽셀 수(래치(602)의 출력)(YaTotal, YbTotal)를 기준으로 적용하는 픽셀의 밝기까지 존재하는 픽셀 수(래치(608)의 출력)(YaSub, YbSub)의 비를 스케일 팩터로 출력한다. 이러한 경우, 이론적으로 스케일 팩터가 "0"에서 "1"가지의 수가 되며 이는 디지털 로직으로 구현할 때 많은 제약을 받는다. 따라서, 본 발명에서는 제산 동작에 따른 라운딩 에러(rounding error)를 최소화하기 위해서 YaSub 또는 YbSub에 2의 정수배에 해당하는 임의의 값을 곱한 후(즉, 임의의 자리 수만큼 왼쪽으로 쉬프트한 후) 제산하고, 이를 보상하기 위해 레인지 선택부(404)의 레인지(range)와 스케일 팩터(Scale Factor)를 곱한 곱셈기(406)의 출력을 임의의 값만큼 나누어준다(즉, 임의의 자리 수만큼 오른쪽으로 쉬프트한다).The scale factor generator configured as described above distinguishes darker areas from brighter areas than YF_Mean based on YF_Mean, and applies them based on the number of pixels (output of the latch 602) (YaTotal, YbTotal) present in each area. The ratio of the number of pixels (output of the latch 608) (YaSub, YbSub) existing up to the brightness of the pixel to be output is output in a scale factor. In this case, theoretically, the scale factor ranges from "0" to "1", which is very limited when implemented in digital logic. Therefore, in the present invention, in order to minimize the rounding error caused by the division operation, multiplying YaSub or YbSub by an arbitrary value corresponding to an integer multiple of 2 (that is, after shifting to the left by an arbitrary number) In order to compensate for this, the output of the multiplier 406 multiplied by the range of the range selector 404 and the scale factor is divided by an arbitrary value (that is, shifted to the right by an arbitrary number of digits). do).

한편, 상술한 바와 같이 블록별 분포도 생성부(210)는 밝기 정보가 구분되는 모든 영역을 균등히 16등분으로 분리하여 저장하는 데, 스케일 팩터 생성 시 정확도를 높이기 위해서 감산기(601), 곱셈기(603), 가산기(605)를 통해 적용하는 픽셀이 위치하는 블록의 분포도를 선형적으로 펼쳐서 해당하는 블록에서의 적용하는 픽셀 위치정도에 따라서 누적치를 달리 적용한다. 구체적으로, 감산기(601)의 입력인 CurrentDensity는 적용하는 픽셀이 존재하는 블록까지의 모든 픽셀 수를 가지고, UnderDensity는 적용하는 픽셀이 존재하는 블록 이전까지의 모든 픽셀 수를 포함하며, 그에 따란 감산기(601)의 출력인 "CurrentDensity - UnderDensity"는 적용하는 픽셀이 존재하는 블록 안의 모든 픽셀 수가 된다. 그리고, 본 발명에서는 밝기 정보가 256으로 구분되는 8비트 데이터를 기준으로 하였기 때문에, 한 블록이 16개의 내부 블록으로 구분되며, 감산기(601)의 출력에 Yin[3:0]을 곱하면, 해당 블록에서 적용되는 픽셀이 위치하는 곳까지의 픽셀 수를 선형적으로 구할 수 있게 된다.On the other hand, as described above, the block-by-block distribution unit 210 equally divides and stores all the areas in which brightness information is divided into 16 equal parts. A subtractor 601 and a multiplier 603 to increase accuracy when generating scale factors. In addition, by linearly unfolding the distribution of the block in which the pixel to be applied through the adder 605 is located, the cumulative value is differently applied according to the degree of pixel position to be applied in the corresponding block. Specifically, CurrentDensity, which is an input of the subtractor 601, has all the number of pixels up to the block in which the applying pixel exists, and UnderDensity includes all the number of pixels up to the block in which the applying pixel exists. The output of " CurrentDensity-UnderDensity " of 601) is the number of all pixels in the block in which the pixel to be applied exists. In the present invention, since the brightness information is based on 8-bit data divided by 256, one block is divided into 16 internal blocks, and when the output of the subtractor 601 is multiplied by Yin [3: 0], The number of pixels up to where the applied pixels are located in the block can be obtained linearly.

또한, 16개의 분포도 저장 블록에서 YF_Mean을 포함하는 블록에 위치하는 픽셀의 수가 YF_Mean을 기준으로 달라지는 데, 동작을 간단히 하기 위해서, YF_Mean에 해당하는 블록은 밝기 정보로 구분되는 16개 레벨에 해당하는 모든 위치의 픽셀 수를 미리 구분하여 저장하고, MeanDensity가 그 정보를 가지고 있다. 만약, 적용하는 픽셀이 YF_Mean이 존재하는 블록에 속하면 YisMeanBlock 신호가 엑티브되고 피젯수 선택부(607)에서 MeanDensity가 선택된다.In addition, the number of pixels located in the block containing YF_Mean in the 16 distribution map storage blocks is changed based on YF_Mean. For the sake of simplicity, the block corresponding to YF_Mean has all 16 levels classified by brightness information. The number of pixels of the location is classified and stored in advance, and MeanDensity has the information. If the pixel to be applied belongs to a block in which YF_Mean exists, the YisMeanBlock signal is activated and MeanDensity is selected by the pidget number selector 607.

상기와 같이 이루어지는 본 발명은 밝기 정보가 256 레벨로 구분되는 이미지 시스템을 기준으로, 분포도를 256 레벨로 구분하여 구하지 않고 16개 블록으로 균등히 나누어 저장 장소를 줄이는 것에 관해 주로 설명하였으나, 경우에 따라서 8개 블록 혹은 64개 블록 등으로 구분하여 구현이 가능하며, 이는 구현하고자 하는 이미지 시스템의 성능에 따라서 변화 가능하다.In the present invention made as described above, based on an image system in which brightness information is divided into 256 levels, the distribution map is divided into 256 levels without obtaining distribution maps. It can be implemented by dividing into blocks or 64 blocks, and this can be changed according to the performance of the image system to be implemented.

본 발명의 기술 사상은 상기 바람직한 실시예에 따라 구체적으로 기술되었으나, 상기한 실시예는 그 설명을 위한 것이며 그 제한을 위한 것이 아님을 주의하여야 한다. 또한, 본 발명의 기술 분야의 통상의 전문가라면 본 발명의 기술 사상의 범위 내에서 다양한 실시예가 가능함을 이해할 수 있을 것이다.Although the technical idea of the present invention has been described in detail according to the above preferred embodiment, it should be noted that the above-described embodiment is for the purpose of description and not of limitation. In addition, those skilled in the art will understand that various embodiments are possible within the scope of the technical idea of the present invention.

상기와 같이 이루어지는 본 발명은, 블록으로 구분되는 일정 영역별로 각 픽셀의 밝기 정보에 대한 분포도를 저장하고, 각 픽셀의 밝기 정보에 대한 평균값을 기준 밝기 정보로 사용하며, 한 화면의 밝기 정보에 대한 평균값을 기준으로 하는 블록별 스케일 팩터를 적용하여 스케일 팩터를 생성하고, 생성된 스케일 팩터를 이용하여 분포도 평탄화함으로써 콘트라스트를 증가시켜 화질을 개선하고, 동시에 하드웨어 크기를 줄일 수 있는 탁월한 효과를 구현할 수 있다.According to the present invention made as described above, the distribution of the brightness information of each pixel for each predetermined area divided into blocks is stored, the average value of the brightness information of each pixel is used as reference brightness information, and The scale factor is generated by applying the block factor based on the average value, and the distribution factor is flattened using the generated scale factor to increase the contrast to improve image quality and at the same time to realize an excellent effect of reducing the hardware size. .

Claims (7)

이미지 신호 처리 장치에서 블록 분포도를 이용하여 분포도 평탄화를 수행하는 장치에 있어서,In the device for performing the distribution planarization using the block distribution in the image signal processing device, 클럭 신호 및 프레임동기신호에 응답하여 외부로부터 픽셀의 밝기 정보를 입력받아 한 화면에 디스플레이되는 화면의 밝기 평균을 구하는 화면의 밝기 평균값 생성 수단;Brightness average value generating means for receiving brightness information of pixels from an external device in response to a clock signal and a frame synchronization signal to obtain a brightness average of a screen displayed on one screen; 상기 밝기 평균값 생성 수단으로부터의 밝기 평균값과 상기 픽셀의 밝기 정보를 입력받아 다수의 블록으로 나누어 분포도를 생성 및 저장하고, 각 블록별 픽셀의 수, 상기 밝기 평균값 생성 수단으로부터 출력되는 밝기 평균값이 속하는 블록의 픽셀 수 및 상기 밝기 평균값의 미만과 초과하는 밝기 정보를 가진 픽셀의 수를 출력하는 블록별 분포도 생성 및 저장 수단; 및A brightness average value from the brightness average value generating means and the brightness information of the pixel are received and divided into a plurality of blocks to generate and store a distribution map, and a block to which the number of pixels for each block and the brightness average value output from the brightness average value generating means belong. Distribution block generation and storage means for outputting a number of pixels and a number of pixels having brightness information less than and exceeding the brightness average value; And 사용자에 의해 요구되는 밝기값, 상기 픽셀의 밝기 정보에 대한 다이나믹 레인지를 결정하는 제1 및 제2 팩터, 상기 픽셀의 밝기 정보, 상기 블록별 분포도 생성 및 저장 수단으로부터 출력되는 픽셀 수에 대한 정보에 응답하여 상기 밝기 평균값이 속하는 블록에 대해서는 픽셀 단위로 스케일 팩터를 생성하고, 나머지 블록에 대해서는 각 블록별로 스케일 팩터를 생성하여 한 화면에 대한 밝기 정보를 평탄화하는 평탄화 수단The brightness value required by the user, first and second factors for determining a dynamic range of the brightness information of the pixel, brightness information of the pixel, and information on the number of pixels output from the block generation and storage means for each block. And a flattening means for generating a scale factor in pixels for the block to which the brightness average value belongs, and generating a scale factor for each block for the remaining blocks to flatten the brightness information of one screen. 을 포함하여 이루어지는 이미지 신호 처리 장치에서의 분포도 평탄화 장치.Distribution planarization device in the image signal processing device comprising a. 제 1 항에 있어서, 상기 밝기 평균값 생성 수단은,The method of claim 1, wherein the brightness average value generating means, 상기 클럭 신호에 응답하여 한 화면에 대한 상기 픽셀의 밝기 정보를 차례로 입력받아 누적하는 누적 수단;Accumulating means for sequentially receiving and accumulating brightness information of the pixel on a screen in response to the clock signal; 상기 클럭 신호에 응답하여 상기 누적 수단으로부터의 누적치를 저장하는 제1 래치 수단;First latch means for storing an accumulated value from said accumulating means in response to said clock signal; 상기 클럭 신호에 응답하여 입력되는 밝기 정보의 픽셀 수를 카운팅하는 카운팅 수단;Counting means for counting the number of pixels of brightness information input in response to the clock signal; 상기 제1 래치 수단에 래치된 누적치와 상기 카운팅 수단의 카운트 결과값을 입력받아 상기 누적치에서 상기 카운트 결과값을 제산하여 상기 화면의 밝기 평균값으로 출력하는 제산 수단;Division means for receiving a cumulative value latched by the first latch means and a count result value of the counting means, dividing the count result value from the cumulative value and outputting the result as a brightness average value of the screen; 상기 제산 수단으로부터 출력되는 상기 화면의 밝기 평균값을 상기 클럭 신호에 응답하여 저장하는 제2 래치 수단; 및Second latch means for storing the average brightness value of the screen output from the dividing means in response to the clock signal; And 상기 프레임동기신호에 응답하여 상기 제1 및 제2 래치 수단과 상기 카운팅 수단의 동작을 제어하는 제어 수단Control means for controlling the operation of said first and second latch means and said counting means in response to said frame synchronization signal; 을 포함하여 이루어지는 것을 특징으로 하는 이미지 신호 처리 장치에서의 분포도 평탄화 장치.Distribution planarization device in the image signal processing apparatus comprising a. 제 1 항에 있어서, 상기 블록별 분포도 생성 및 저장 수단은,The method of claim 1, wherein the distribution map generation and storage means for each block, 제어 수단;Control means; 다수의 저장 블록 및 인크리멘터를 포함하여 상기 제어 수단의 제어에 따라 엑티브되는 상기 저장 블록을 인크리먼트하여 블록별로 분포도를 생성하는 블록 분포도 생성 수단; 및Block distribution generating means for generating a distribution for each block by incrementing the storage block which is activated under the control of the control means, including a plurality of storage blocks and an incrementer; And 상기 블록 분포도 생성 수단의 블록별 분포도와 상기 제어 수단의 제어에 응답하여 각 블록별 픽셀의 수, 상기 밝기 평균값 생성 수단으로부터 출력되는 밝기 평균값이 속하는 블록의 픽셀 수 및 상기 밝기 평균값의 미만과 초과하는 밝기 정보를 가진 픽셀의 수를 출력하는 픽셀 수 출력 수단을 포함하여 이루어지되,The number of pixels for each block, the number of pixels of the block to which the brightness average value output from the brightness average value generating means belongs, and the brightness average value exceeding the block distribution degree of the block distribution chart generating means and the control of the control means. It comprises a pixel number output means for outputting the number of pixels with brightness information, 상기 픽셀 수 출력 수단은,The pixel number output means, 상기 제어 수단으로부터 출력되는 쉬프트인에이블신호에 응답하여 엑티브된 저장 블록의 분도포를 상기 블록 분포도 생성 수단으로부터 입력받아 임의의 비트 수만큼 쉬프트하여 출력하거나 엑티브된 저장 블록에 누적된 값을 그대로 바이패스시키는 쉬프트 및 바이패스 수단;The distribution distribution of the active storage block in response to the shift enable signal output from the control means is inputted from the block distribution generating unit and shifted by an arbitrary number of bits, or the value accumulated in the active storage block is bypassed as it is. Shift and bypass means; 상기 클럭 신호 및 상기 제어 수단으로부터 출력되는 누적클리어신호에 응답하여 상기 블록 분포도 생성 수단으로부터의 분포도를 차례로 입력받아 누적하는 누적 수단;Accumulating means for receiving and accumulating a distribution diagram from said block distribution chart generation means in response to said clock signal and a cumulative clear signal output from said control means; 상기 블록별 분포도 생성 및 저장 수단의 블록수와 동일한 수의 저장 단위를 포함하여, 상기 제어 수단으로부터의 제1 쓰기선택신호에 의해 엑티브되는 저장 단위에 상기 누적 수단의 결과값을 상기 클럭 신호에 동기시켜 저장하고, 상기 제어 수단으로부터의 제1 및 제2 읽기제어신호에 의해 엑티브되는 상기 저장 단위에 저장된 픽셀 수를 현재 픽셀의 밝기 정보가 속하는 블록에 누적된 픽셀 수 및 현재 픽셀의 밝기 정보보다 어두운 밝기 영역에 속하는 블록들에 누적된 픽셀 수로 출력하는 제1 저장 수단;Synchronizing a result value of the accumulating means with the clock signal in a storage unit activated by a first write selection signal from the control means, including the same number of storage units as the number of blocks of the block generation and storage means for each block; The number of pixels stored in the storage unit activated by the first and second read control signals from the control means is darker than the number of pixels accumulated in the block to which the brightness information of the current pixel belongs and the brightness information of the current pixel. First storage means for outputting the number of pixels accumulated in blocks belonging to the brightness region; 상기 블록별 분포도 생성 및 저장 수단의 블록수와 동일한 수의 저장 단위를 포함하여, 상기 제어 수단으로부터의 제2 쓰기선택신호에 의해 엑티브되는 저장 단위에 상기 누적 수단의 결과값을 상기 클럭 신호에 동기시켜 저장하고, 상기 제어 수단으로부터의 제3 읽기제어신호에 의해 엑티브되는 저장 단위에 저장된 픽셀 수를 상기 밝기 평균값 생성 수단으로부터 출력되는 밝기 평균값이 속하는 블록에 누적된 픽셀 수로 출력하는 제2 저장 수단; 및Synchronizing a result value of the accumulating means to the clock signal in a storage unit activated by a second write selection signal from the control means, including the same number of storage units as the number of blocks of the block generation and storage means for each block; Second storage means for storing the number of pixels stored in the storage unit activated by the third read control signal from the control means as the number of pixels accumulated in the block to which the brightness average value output from the brightness average value generating means belongs; And 상기 제어 수단으로부터의 제1 쓰기제어신호에 응답하여 상기 누적 수단의 결과값을 상기 클럭 신호에 동기시켜 저장하고, 저장된 값을 상기 밝기 평균값의 미만인 밝기 정보를 가진 픽셀의 수로 출력하며, 상기 제어 수단으로부터의 제2 쓰기제어신호에 응답하여 상기 누적 수단의 결과값을 상기 클럭 신호에 동기시켜 저장한 후 상기 밝기 평균값을 초과하는 밝기 정보를 가진 픽셀의 수로 출력하는 제3 저장 수단을 포함하고,In response to a first write control signal from the control means to store the result value of the accumulating means in synchronization with the clock signal, output the stored value as the number of pixels having brightness information less than the brightness average value, and the control means Third storage means for storing the resultant value of the accumulating means in synchronization with the clock signal in response to a second write control signal from and outputting the number of pixels having brightness information exceeding the brightness average value, 상기 제어 수단은,The control means, 상기 프레임동기신호가 디스플레이 시간을 나타낼 때, 상기 픽셀의 밝기 정보와 상기 밝기 평균값 생성 수단으로부터 출력되는 밝기 평균값 간의 비교값 및 각각의 디코딩 결과에 응답하여 상기 블록 분포도 생성 수단 내 해당 저장 블록의 값을 인크리먼트시키는 인크리먼트인에이블신호를 출력하고, 상기 제1 및 제2 읽기제어신호를 상기 클럭 신호에 응답하여 출력하며,When the frame synchronization signal indicates a display time, a comparison value between the brightness information of the pixel and the brightness average value output from the brightness average value generating means, and the value of the corresponding storage block in the block distribution chart generating means in response to each decoding result. Outputs an increment enable signal for incrementing; and outputs the first and second read control signals in response to the clock signal, 상기 프레임동기신호가 디스플레이되지 않는 시간을 나타낼 때, 상기 누적클리어신호를 엑티브시키고, 상기 디스플레이 시간 동안에 저장된 상기 블록 분포도 생성 수단 내 해당 저장 블록의 값을 읽어내기 위한 제4 읽기제어신호를 엑티브시키며, 상기 제1 및 제2 쓰기선택신호와 상기 제1 및 제2 쓰기제어신호를 엑티브시키는 것을 특징으로 하는 이미지 신호 처리 장치에서의 분포도 평탄화 장치.Activate the cumulative clear signal when the frame synchronization signal is not displayed, and activate a fourth read control signal for reading a value of the corresponding storage block in the block distribution chart generating means stored during the display time, And activating the first and second write selection signals and the first and second write control signals. 제 3 항에 있어서, 상기 제어 수단은,The method of claim 3, wherein the control means, 상기 픽셀의 밝기 정보 및 상기 밝기 평균값 생성 수단으로부터 출력되는 밝기 평균값을 입력받아 비교하는 비교 수단;Comparing means for receiving and comparing brightness information of the pixels and brightness average values output from the brightness average value generating means; 상기 픽셀의 밝기 정보 중 소정 크기의 상위 비트들을 디코딩하여 상기 블록 분포도 생성 수단 내의 저장 블록 중 어느 한 블록을 선택하기 위한 제1 블록선택신호로 출력하는 제1 디코딩 수단;First decoding means for decoding upper bits of a predetermined size among the brightness information of the pixel and outputting the first bits as a first block selection signal for selecting any one of the storage blocks in the block distribution chart generation means; 상기 픽셀의 밝기 정보 중 상기 상위 비트를 제외한 나머지 하위 비트들을 디코딩하여 상기 밝기 평균값이 속하는 저장 블록 내의 서브 블록들 중 어느 한 서브 블록을 선택하기 위한 제2 블록선택신호로 출력하는 제2 디코딩 수단;Second decoding means for decoding the remaining lower bits except the upper bits of the brightness information of the pixel and outputting the second lower bit selection signal for selecting any one of the sub blocks in the storage block to which the brightness average value belongs; 디스플레이 시간 동안에 상기 제1 및 제2 디코딩 수단으로부터 출력되는 제1 및 제2 블록선택신호에 응답하여 상기 인크리먼트인에이블신호, 상기 제1 내지 제3 읽기제어신호를 생성하는 제1 제어신호 생성 수단;First control signal generating means for generating said increment enable signal and said first to third read control signals in response to first and second block selection signals output from said first and second decoding means during a display time; ; 상기 밝기 평균값에 응답하여 상기 블록 분포도 생성 수단 내의 저장 블록 중 어느 한 블록을 선택하기 위한 제1 어드레스 신호 및 상기 밝기 평균값이 속하는 저장 블록 내의 서브 블록들 중 어느 한 서브 블록을 선택하기 위한 제2 어드레스 신호를 생성하는 어드레스 생성 수단;A first address signal for selecting any one of the storage blocks in the block distribution chart generating means and a second address for selecting any one of the subblocks in the storage block to which the brightness average value belongs, in response to the brightness average value Address generating means for generating a signal; 상기 어드레스 생성 수단으로부터의 제1 및 제2 어드레스 신호에 응답하여 상기 제4 읽기제어신호, 상기 제1 및 제2 쓰기선택신호, 상기 제1 및 제2 쓰기제어신호를 생성하는 제2 제어신호 생성 수단; 및Generating a second control signal for generating the fourth read control signal, the first and second write selection signals, and the first and second write control signals in response to first and second address signals from the address generating means; Way; And 상기 프레임동기신호, 상기 클럭신호 및 상기 밝기 평균값 생성 수단으로부터 출력되는 밝기 평균값의 유효함을 나타내는 유효신호에 응답하여 상기 어드레스 생성 수단, 제1 및 제2 제어신호 생성 수단의 동작 타이밍을 제어하는 다수의 타이밍 제어 신호를 출력하는 타이밍 제어 수단A plurality of controlling the operation timings of the address generating means, the first and second control signal generating means in response to a valid signal indicating the validity of the brightness value of the frame synchronization signal, the clock signal and the brightness average value generating means; Timing control means for outputting a timing control signal of a 을 포함하여 이루어지는 것을 특징으로 하는 이미지 신호 처리 장치에서의 분포도 평탄화 장치.Distribution planarization device in the image signal processing apparatus comprising a. 제 4 항에 있어서, 상기 평탄화 수단은,The method of claim 4, wherein the planarization means, 상기 프레임동기신호를 소정 시간 지연시키기 위한 제1 래치 수단;First latch means for delaying the frame synchronization signal for a predetermined time; 상기 비교 수단의 출력 신호를 래치하기 위한 제2 래치 수단;Second latching means for latching an output signal of said comparing means; 상기 사용자에 의해 요구되는 밝기값, 상기 제1 및 제2 팩터에 응답하여 상기 비교 수단의 출력 신호에 의해 해당 픽셀의 밝기 정보 위치가 상기 밝기 평균값보다 밝기 영역에 있는 지 어두운 영역에 있는 지에 따라 레인지를 선택하는 레인지 선택 수단;Range depending on the brightness value required by the user and the output signal of the comparing means in response to the first and second factors, depending on whether the position of the brightness information of the corresponding pixel is in the brightness region or in the dark region than the brightness average value. Range selection means for selecting a; 픽셀의 밝기 정보의 변경 시 사용되는 스케일 팩터를 생성하는 스케일 팩터 생성 수단;Scale factor generating means for generating a scale factor used when the brightness information of the pixel is changed; 상기 레인지 선택 수단으로부터 출력되는 레인지와 상기 스케일 팩터 생성 수단으로부터 출력되는 스케일 팩터를 곱하는 제1 곱셈 수단;First multiplication means for multiplying a range output from said range selection means with a scale factor output from said scale factor generating means; 상기 제2 래치 수단에 상기 비교 수단의 출력 신호에 응답하여 상기 사용자에 의해 요구되는 밝기값 또는 상기 제1 팩터를 선택적으로 출력하는 옵셋 선택 수단; 및Offset selection means for selectively outputting a brightness value or the first factor required by the user in response to an output signal of the comparison means to the second latch means; And 상기 제1 곱셈 수단으로부터의 곱셈 결과값과 상기 옵셋 선택 수단의 출력값을 가산하여 상기 픽셀의 밝기 정보에 대해 평탄화된 밝기 정보를 최종 출력하는 제1 가산 수단First adding means for finally outputting flattened brightness information with respect to the brightness information of the pixel by adding a multiplication result value from the first multiplication means and an output value of the offset selecting means 을 포함하여 이루어지는 것을 특징으로 하는 이미지 신호 처리 장치에서의 분포도 평탄화 장치.Distribution planarization device in the image signal processing apparatus comprising a. 제 5 항에 있어서, 상기 레인지 선택 수단은,The method of claim 5, wherein the range selection means, 상기 비교 수단의 출력 신호에 응답하여 상기 제2 팩터 또는 상기 사용자에 의해 요구되는 밝기값을 상한 경계값으로 선택하여 출력하는 상한 경계 선택 수단;Upper limit boundary selecting means for selecting and outputting a brightness value required by the second factor or the user as an upper limit threshold value in response to an output signal of the comparing means; 상기 비교 수단의 출력 신호에 응답하여 상기 사용자에 의해 요구되는 밝기값 또는 상기 제1 팩터를 하한 경계값으로 선택하여 출력하는 하한 경계 선택 수단; 및Lower limit boundary selecting means for selecting and outputting a brightness value or the first factor required by the user as a lower limit threshold value in response to an output signal of the comparing means; And 상기 상한 경계 선택 수단으로부터의 상한 경계값에서 상기 하한 경계 선택 수단으로부터의 하한 경계값을 감산하는 감산 수단Subtraction means for subtracting the lower limit boundary value from the lower limit boundary selecting means from the upper limit boundary value from the upper limit boundary selecting means. 을 포함하여 이루어지는 것을 특징으로 하는 이미지 신호 처리 장치에서의 분포도 평탄화 장치.Distribution planarization device in the image signal processing apparatus comprising a. 제 5 항에 있어서, 상기 스케일 팩터 생성 수단은,The method of claim 5, wherein the scale factor generating means, 상기 비교 수단의 출력 신호에 응답하여 상기 제3 저장 수단으로부터 출력되는 상기 밝기 평균값의 미만인 밝기 정보를 가진 픽셀의 수 또는 상기 밝기 평균값을 초과하는 밝기 정보를 가진 픽셀의 수를 젯수값으로 선택하여 출력하는 젯수 선택 수단;In response to the output signal of the comparing means, the number of pixels having brightness information less than the brightness average value output from the third storage means or the number of pixels having brightness information exceeding the brightness average value is selected and output as the jet number value. Jet number selecting means for performing; 상기 젯수 선택 수단으로부터 출력되는 신호를 상기 클럭신호에 응답하여 래치하는 제3 래치 수단;Third latch means for latching a signal output from the jet number selecting means in response to the clock signal; 상기 제1 저장 수단으로부터 출력되는 현재 픽셀의 밝기 정보가 속하는 블록에 누적된 픽셀 수에서 현재 픽셀의 밝기 정보보다 어두운 밝기 영역에 속하는 블록들에 누적된 픽셀 수를 감산하는 감산 수단;Subtraction means for subtracting the number of pixels accumulated in blocks belonging to a brightness region darker than the brightness information of the current pixel from the number of pixels accumulated in the block to which the brightness information of the current pixel output from the first storage means belongs; 상기 감산 수단의 감산 결과값과 상기 픽셀의 밝기 정보의 상기 하위 비트들을 곱셈하는 제2 곱셈 수단;Second multiplication means for multiplying the subtraction result value of the subtraction means with the lower bits of the brightness information of the pixel; 상기 제2 곱셈 수단의 곱셈 결과값과 현재 픽셀의 밝기 정보보다 어두운 밝기 영역에 속하는 블록들에 누적된 픽셀 수를 가산하는 제2 가산 수단;Second addition means for adding the number of pixels accumulated in blocks belonging to a brightness region darker than the multiplication result value of the second multiplication means and the brightness information of the current pixel; 상기 밝기 평균값과 상기 픽셀의 밝기 정보 중 상기 상위 비트를 비교하여 같을 경우에 인에이블되는 상기 비교 수단의 출력 신호에 응답하여 상기 제2 가산 수단의 가산 결과값 또는 상기 제2 저장 수단으로부터 출력되는 밝기 평균값이 속하는 블록에 누적된 픽셀 수를 피젯수값으로 선택하여 출력하는 피젯수 선택 수단;The brightness result output from the second adding means or the brightness output from the second storage means in response to an output signal of the comparison means enabled when the brightness average value and the higher bits of the brightness information of the pixel are equal to each other. Pidget number selecting means for selecting and outputting the number of pixels accumulated in the block to which the average value belongs as the pidget value; 상기 클럭 신호에 응답하여 상기 피젯수 선택 수단으로부터 출력되는 값을 래치하는 제4 래치 수단; 및Fourth latch means for latching a value output from said pidget number selecting means in response to said clock signal; And 상기 제4 래치 수단으로부터 출력되는 값에서 상기 제3 래치 수단으로부터 출력되는 값을 제산하고, 제산된 결과값을 상기 클럭 신호에 응답하여 상기 스케일 팩터로 출력하는 제산 수단Division means for dividing the value output from the third latch means from the value output from the fourth latch means, and outputting the divided result in the scale factor in response to the clock signal. 을 포함하여 이루어지는 것을 특징으로 하는 이미지 신호 처리 장치에서의 분포도 평탄화 장치.Distribution planarization device in the image signal processing apparatus comprising a.
KR10-2000-0026384A 2000-05-17 2000-05-17 Histogram Equalization device using block histogram in image signal processor KR100377181B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2000-0026384A KR100377181B1 (en) 2000-05-17 2000-05-17 Histogram Equalization device using block histogram in image signal processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2000-0026384A KR100377181B1 (en) 2000-05-17 2000-05-17 Histogram Equalization device using block histogram in image signal processor

Publications (2)

Publication Number Publication Date
KR20010105678A true KR20010105678A (en) 2001-11-29
KR100377181B1 KR100377181B1 (en) 2003-03-26

Family

ID=19668912

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2000-0026384A KR100377181B1 (en) 2000-05-17 2000-05-17 Histogram Equalization device using block histogram in image signal processor

Country Status (1)

Country Link
KR (1) KR100377181B1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100425312B1 (en) * 2001-12-11 2004-03-30 삼성전자주식회사 Apparatus and method for controlling brightness and/or contrast gain automatically
KR100425324B1 (en) * 2002-02-09 2004-03-30 삼성전자주식회사 Method for processing the contrast of a video signal
KR100466785B1 (en) * 2002-01-18 2005-01-17 (주)플렛디스 Apparatus and Method Of Controlling Picture Quality In Flat Display Panel
KR100619699B1 (en) * 2004-10-28 2006-09-13 엘지전자 주식회사 Method for adjusting camera brightness by frame division
KR100705619B1 (en) * 2003-07-22 2007-04-11 비오이 하이디스 테크놀로지 주식회사 Method of driving for liquid crystal display and circuit thereof
KR100722449B1 (en) * 2005-08-09 2007-05-28 주식회사 대우일렉트로닉스 Method for processing image of television
KR100743758B1 (en) * 2005-09-05 2007-07-30 엘지전자 주식회사 Apparatus and Method for controlling dynamic contrast ratio using peak level
KR100765775B1 (en) * 2005-04-25 2007-10-12 삼성전자주식회사 Method and apparatus for adjusting brightness of an image

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100425312B1 (en) * 2001-12-11 2004-03-30 삼성전자주식회사 Apparatus and method for controlling brightness and/or contrast gain automatically
KR100466785B1 (en) * 2002-01-18 2005-01-17 (주)플렛디스 Apparatus and Method Of Controlling Picture Quality In Flat Display Panel
KR100425324B1 (en) * 2002-02-09 2004-03-30 삼성전자주식회사 Method for processing the contrast of a video signal
KR100705619B1 (en) * 2003-07-22 2007-04-11 비오이 하이디스 테크놀로지 주식회사 Method of driving for liquid crystal display and circuit thereof
KR100619699B1 (en) * 2004-10-28 2006-09-13 엘지전자 주식회사 Method for adjusting camera brightness by frame division
KR100765775B1 (en) * 2005-04-25 2007-10-12 삼성전자주식회사 Method and apparatus for adjusting brightness of an image
KR100722449B1 (en) * 2005-08-09 2007-05-28 주식회사 대우일렉트로닉스 Method for processing image of television
KR100743758B1 (en) * 2005-09-05 2007-07-30 엘지전자 주식회사 Apparatus and Method for controlling dynamic contrast ratio using peak level

Also Published As

Publication number Publication date
KR100377181B1 (en) 2003-03-26

Similar Documents

Publication Publication Date Title
US6219447B1 (en) Method and circuit for extracting histogram and cumulative distribution function for image enhancement apparatus
US5966116A (en) Method and logic system for the rotation of raster-scan display images
US8411987B2 (en) Method and apparatus for contrast enhancement
JP5355024B2 (en) Liquid crystal display device and stereoscopic image display device
WO1999053469A1 (en) A system and method for performing blending using an over sampling buffer
US20080158212A1 (en) Display Device and Display System
US6175659B1 (en) Method and apparatus for image scaling using adaptive edge enhancement
US5953015A (en) Determining the level of detail for texture mapping in computer graphics
KR100377181B1 (en) Histogram Equalization device using block histogram in image signal processor
US5883984A (en) Method and apparatus for contrast enhancement of color images
CN102054423B (en) Image processing apparatus and control method thereof
KR100377179B1 (en) Histogram Equalization device using block histogram in image signal processor
KR980003999A (en) Histogram equalization circuit based on CDF computation domain and its method
JPH0651009A (en) Method and apparatus for measuring noise
CN110874816B (en) Image processing method, device, mobile terminal and storage medium
JP2002015327A (en) Image type discrimination device, image processor using the same, and image type discrimination method
JP5820213B2 (en) Image processing apparatus and method, and imaging apparatus
JPH11203467A (en) Display and its method
JP2008523680A (en) Electronic image processing method and apparatus using connected random generators
CN113766205B (en) Tone mapping circuit and image processing apparatus
KR102151612B1 (en) Digital gamma correction circuit and display apparatus having the same
JP2001128061A (en) Method and device for conversion processing of video size
US5727086A (en) Device and method for picture processing including contraction of toned image
CN101431637B (en) Frame data processing apparatus and method
JP4767568B2 (en) Error diffusion circuit

Legal Events

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

Payment date: 20130227

Year of fee payment: 11

FPAY Annual fee payment

Payment date: 20140227

Year of fee payment: 12

FPAY Annual fee payment

Payment date: 20150227

Year of fee payment: 13

LAPS Lapse due to unpaid annual fee