KR100220846B1 - Video signal gamma correction device - Google Patents

Video signal gamma correction device Download PDF

Info

Publication number
KR100220846B1
KR100220846B1 KR1019960072729A KR19960072729A KR100220846B1 KR 100220846 B1 KR100220846 B1 KR 100220846B1 KR 1019960072729 A KR1019960072729 A KR 1019960072729A KR 19960072729 A KR19960072729 A KR 19960072729A KR 100220846 B1 KR100220846 B1 KR 100220846B1
Authority
KR
South Korea
Prior art keywords
gamma correction
value
gamma
memory
difference
Prior art date
Application number
KR1019960072729A
Other languages
Korean (ko)
Other versions
KR19980053610A (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 KR1019960072729A priority Critical patent/KR100220846B1/en
Publication of KR19980053610A publication Critical patent/KR19980053610A/en
Application granted granted Critical
Publication of KR100220846B1 publication Critical patent/KR100220846B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/14Picture signal circuitry for video frequency region
    • H04N5/20Circuitry for controlling amplitude response
    • H04N5/202Gamma control

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Picture Signal Circuits (AREA)

Abstract

본 발명은 룩 업 테이블(Look Up Table)을 이용하여 입력되는 영상 신호를 감마 특성에 따라 보상하는 영상 신호의 감마 보정 장치에 관한 것으로, 특히 룩 업 테이블에 저장되는 데이타의 양을 줄여서 메모리의 용량을 감소시키는 영상 신호의 감마 보정 장치에 관한 것이다.The present invention relates to a gamma correction apparatus for an image signal that compensates an image signal input using a look up table according to gamma characteristics, and in particular, reduces the amount of data stored in the look up table. It relates to a gamma correction device of the video signal to reduce the.

본 발명은 영상 신호의 각 레벨에 대한 감마 보정값을 모두 맵핑하지 않고 주변 레벨에 대한 감마 보정값의 차이분만을 맵핑하여 저장되는 데이타의 크기를 줄이므로써 메모리 용량을 감소시킨다.The present invention reduces the memory capacity by reducing the size of data stored by mapping only the difference between gamma correction values for peripheral levels without mapping all gamma correction values for each level of the image signal.

Description

영상 신호의 감마 보정 장치(Video Signal Gamma Correction Device)Video Signal Gamma Correction Device

본 발명은 룩 업 테이블(Look Up Table)을 이용하여 입력되는 영상 신호를 감마 특성에 따라 보상하는 영상 신호의 감마 보정 장치에 관한 것으로, 특히 룩 업 테이블에 저장되는 데이타의 양을 줄여서 메모리의 용량을 감소시키는 영상 신호의 감마 보정 장치에 관한 것이다.The present invention relates to a gamma correction apparatus for an image signal that compensates an image signal input using a look up table according to gamma characteristics, and in particular, reduces the amount of data stored in the look up table. It relates to a gamma correction device of the video signal to reduce the.

일반적으로 감마 보정은 입력 신호에 대해서 출력 신호가 도 1에 도시한 바와 같이 지수 곡선을 만족하도록 보정하는 것으로, 텔레비젼 카메라 및 수상기에 사용되어 충실한 색 재현을 위해 송신단에서 수행된다. 즉, 수상관은 그 휘도가 입력 신호에 직선적으로 비례하지 않고 도 1에 도시한 바와 같이 비직선성을 가지고 있다.In general, gamma correction is performed for an input signal so that an output signal satisfies an exponential curve as shown in FIG. 1, and is used in a television camera and a receiver to be performed at a transmitter for faithful color reproduction. That is, the receiving tube has non-linearity as shown in Fig. 1, the luminance of which is not linearly proportional to the input signal.

이와 같은 감마 보정을 위해서 보편적으로 아날로그 방식을 적용하여 왔으나, 최근에는 신호 처리가 디지탈화되면서 이것을 DSP내에서 처리하여야 할 필요성이 생겼다.Although the analog method has been generally applied for such gamma correction, in recent years, as signal processing becomes digital, there is a need to process it in a DSP.

디지탈로 감마 보정하기 위해 종래에는 도 1의 감마 특성 곡선에 도시한 바와 같이 입력 신호에 대해서 출력 신호를 1:1 형식으로 맵핑하는 방법을 적용하게 되는데, 구체적으로는 룩 업 테이블 방법과 조합 회로를 적용하는 방법으로 나눌 수 있다.In order to digitally correct gamma, conventionally, a method of mapping an output signal in a 1: 1 format with respect to an input signal as shown in the gamma characteristic curve of FIG. 1 is applied. Specifically, a lookup table method and a combination circuit may be used. It can be divided into application methods.

종래의 조합 회로를 이용하는 방법은 메모리를 사용할 수 없을때 적용하게 되는데, 회로가 복잡해지는 단점이 있다. 또한, 종래의 룩 업 테이블을 이용하는 방법은 메모리를 사용하므로 회로가 간단하지만 메모리의 용량이 커지는 단점이 있다.The conventional method using a combination circuit is applied when the memory is not available, there is a disadvantage that the circuit becomes complicated. In addition, the conventional method using the lookup table uses a memory, but the circuit is simple, but there is a disadvantage that the capacity of the memory becomes large.

감마 보상을 위해 현재 적용되고 있는 감마값은 0.45로써 입력 신호를 감마 보정할때 소요되는 메모리의 크기는 다음의 식 1에 나타낸 바와 같다.The gamma value currently applied for gamma compensation is 0.45. The size of memory required for gamma correction of an input signal is shown in Equation 1 below.

[식 1][Equation 1]

메모리의 크기 = 입력 크기(2n) 1* 출력 비트의 수Size of memory = input size (2 n ) 1 * number of output bits

여기서 n은 입력 비트의 수로, 입력 신호가 9 비트인 신호를 8비트의 출력으로 변환한다고 가정하면 소요되는 메모리는 512바이트이고, 입력 신호가 10비트인 신호를 8비트의 출력으로 변환한다고 가정하면 소요되는 메모리는 1K 바이트가 된다.Where n is the number of input bits, assuming that the input signal converts a 9-bit signal into an 8-bit output, the memory required is 512 bytes, and the input signal is a 10-bit signal into an 8-bit output. The memory required is 1K bytes.

그러나 상기 룩업 테이블을 이용하여 감마 보정을 수행하는 방법은 일반적인 ASIC에서 별도의 메모리를 구성하기 어려우며, 별도의 메모리를 구성하더라도 많은 메모리를 내장하기 어려운 문제점이 있었다.However, a method of performing gamma correction using the lookup table is difficult to configure a separate memory in a general ASIC, and even if a separate memory is configured, it is difficult to embed many memories.

상기 문제점을 개선하기 위한 본 발명은 영상 신호의 각 레벨에 대한 감마 보정값을 모두 맵핑하지 않고 주변 레벨에 대한 감마 보정값의 차이분만을 맵핑하여 저장되는 데이타의 크기를 줄이므로써 메모리 용량을 감소시키기 위한 영상 신호의 감마 보정 장치를 제공함에 그 목적이 있다.In order to solve the problem, the present invention reduces the memory capacity by reducing the size of data stored by mapping only the difference between the gamma correction values for the peripheral levels without mapping all the gamma correction values for each level of the image signal. It is an object of the present invention to provide a gamma correction apparatus for an image signal.

도 1은 일반적인 감마 특성 곡선을 나타낸 도면1 is a diagram illustrating a general gamma characteristic curve

도 2는 본 발명에 의한 감마 보정 장치의 구성도2 is a block diagram of a gamma correction device according to the present invention

도 3은 화소값을 적용한 감마 보정의 특성을 나타낸 도면3 is a diagram illustrating characteristics of gamma correction to which pixel values are applied.

도 4는 레벨에 따른 감마 보정값의 차이값을 나타낸 도면4 is a diagram illustrating difference values of gamma correction values according to levels;

도 5는 도 2의 메모리의 맵핑 상태를 설명하기 위한 도면5 is a diagram for describing a mapping state of a memory of FIG. 2;

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

100 : 어드레스 디코더 110 : 비트 디스트리뷰터100: address decoder 110: bit distributor

120 : 메모리 130 : 래치120: memory 130: latch

140 : 가산기140: an adder

상기 목적을 달성하기 위해 본 발명에 의한 영상 신호의 감마 보정 장치는 화소 데이타 값을 일정 단위로 나눌때 나누어 떨어지는 값과 그 나머지값에 따라 감마 보정값 또는 감마 보정 차이값을 맵핑하여 저장하는 메모리; 입력되는 화소 데이타 값을 일정 단위로 나눈 몫과 그 나머지값에 따라 상위 어드레스와 하위 어드레스를 디코딩하고 상기 상위 어드레스에 따라 상기 메모리에 저장된 감마 보정값을 출력시키는 어드레스 디코더; 상기 어드레스 디코더에서 디코딩된 상기 하위 어드레스를 입력으로 상기 메모리에 저장된 감마 보정 차이값을 출력시키는 비트 디스트리뷰터; 및 상기 메모리로 부터 출력되는 상기 감마 보정값과 감마 보정 차이값을 가산하여 감마 보정된 화소 데이타을 출력하는 가산기를 포함하여 구성됨을 특징으로 한다.In order to achieve the above object, a gamma correction apparatus for an image signal according to the present invention includes: a memory configured to map and store a gamma correction value or a gamma correction difference value according to a value that is divided when a pixel data value is divided by a predetermined unit and the remaining value; An address decoder configured to decode an upper address and a lower address according to a quotient obtained by dividing an input pixel data value by a predetermined unit and the remainder thereof, and output a gamma correction value stored in the memory according to the upper address; A bit distributor configured to output a gamma correction difference value stored in the memory as the input of the lower address decoded by the address decoder; And an adder for outputting gamma-corrected pixel data by adding the gamma correction value and the gamma correction difference value output from the memory.

이하 첨부한 도면을 참조하여 본 발명의 실시예를 상세히 설명한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

본 발명에 의한 영상 신호의 감마 보정 장치는 도 2에 도시한 바와 같이 메모리(120), 어드레스 디코더(100), 비트 디스트리뷰터(Bit Distributer)(110), 가산기(140), 및 래치(130)로 구성된다.The gamma correction apparatus of an image signal according to the present invention includes a memory 120, an address decoder 100, a bit distributor 110, an adder 140, and a latch 130 as shown in FIG. It is composed.

상기 메모리(120)는 화소 데이타 값을 감마 보정한 감마 보정값과 그 감마 보정값의 차이값인 감마 보정 차이값을 맵핑하여 저장하는 것으로, 6레벨을 주기로 상기 화소 데이타 값을 감마 보정한 감마 보정값과, 나머지 5개의 화소 데이타값을 감마 보정한 값으로 부터 상기 감마 보정값을 감산한 감마 보정 차이값을 저장한다.The memory 120 maps and stores a gamma correction value obtained by gamma correction of the pixel data value and a gamma correction difference value that is a difference between the gamma correction value, and gamma correction of the pixel data value by six levels. And a gamma correction difference value obtained by subtracting the gamma correction value from the gamma correction value of the remaining five pixel data values.

여기서, 상기 감마 보정값은 9비트로 저장되며, 상기 5개의 감마 보정 차이값들은 순차적으로 18비트에 각각 3비트로 저장된다. 즉, 5개의 감마 보정 차이값들 중에서 상기 감마 보정값 다음의 2개의 화소 데이타에 해당하는 2개의 감마 보정 차이값이 상기 감마 보정값 다음의 9비트에 저장되고, 이때 처음 3비트는 비워 놓는다. 이어서 다음의 3개의 화소 데이타에 해당하는 3개의 감마 보정 차이값이 상기 2개의 감마 보정 차이값 다음의 9비트에 저장된다.Here, the gamma correction value is stored in 9 bits, and the five gamma correction difference values are sequentially stored in 18 bits in 3 bits. That is, two gamma correction difference values corresponding to two pixel data after the gamma correction value among the five gamma correction difference values are stored in 9 bits after the gamma correction value, and the first 3 bits are left blank. Subsequently, three gamma correction difference values corresponding to the next three pixel data are stored in 9 bits after the two gamma correction difference values.

상기 어드레스 디코더(100)는 입력되는 화소 데이타 값에 따라 상기 감마 보정값이 맵핑된 상위 어드레스와 상기 감마 보정 차이값이 맵핑된 하위 어드레스를 디코딩하고 상기 상위 어드레스에 따라 상기 메모리(120)에 저장된 감마 보정값을 출력시킨다.The address decoder 100 decodes an upper address to which the gamma correction value is mapped and a lower address to which the gamma correction difference is mapped according to an input pixel data value, and stores the gamma stored in the memory 120 according to the upper address. Output the correction value.

상기 비트 디스트리뷰터(110)는 상기 어드레스 디코더(100)에서 디코딩된 상기 하위 어드레스를 입력으로 상기 메모리(120)의 해당 비트에 저장된 감마 보정 차이값을 출력시킨다.The bit distributor 110 outputs a gamma correction difference value stored in the corresponding bit of the memory 120 as the input of the lower address decoded by the address decoder 100.

상기 가산기(140)는 상기 메모리(120)로 부터 출력되는 상기 감마 보정값과 감마 보정 차이값을 가산하여 감마 보정된 화소 데이타을 출력한다.The adder 140 adds the gamma correction value and the gamma correction difference value output from the memory 120 and outputs gamma corrected pixel data.

상기 래치(130)는 상기 메모리(120)로 부터 출력되는 감마 보정값과 감마 보정 차이값의 타이밍을 맞추기 위해 상기 메모리(120)로 부터 출력되는 감마 보정값을 래치하여 상기 가산기(140)로 출력한다.The latch 130 latches the gamma correction value output from the memory 120 and outputs it to the adder 140 in order to match the timing of the gamma correction value and the gamma correction difference value output from the memory 120. do.

이와 같이 구성되는 본 발명에 의한 영상 신호의 감마 보정 장치의 동작을 설명한다.The operation of the gamma correction apparatus for video signals according to the present invention configured as described above will be described.

감마 특성에 의해 보정되는 영상 처리의 특징을 도 3을 참조하여 설명하면 다음과 같다.A feature of image processing corrected by the gamma characteristic will be described with reference to FIG. 3.

일반적인 신호 처리의 폭을 8비트라고 할때 영상 신호는 도 3에 도시한 바와 같이 256 레벨로 구분되고 아래 위 각각 16레벨은 다른 목적을 위해서 사용되지 않고 있다.When the width of the general signal processing is 8 bits, the video signal is divided into 256 levels as shown in FIG. 3, and each of the 16 levels above and below is not used for other purposes.

감마 특성 곡선은 단조 증가하고 16 내지 239 레벨에서는 입력의 각 레벨 증가에 대해서 출력의 최대 변화하는 폭이 8레벨을 넘지 않는다.The gamma characteristic curve increases monotonically and at levels 16 to 239 the maximum varying width of the output for each level increase of the input does not exceed eight levels.

즉, 0, 16, 17, 18, 19, 20, 21, 22, 23, 24으로 부터 239 까지의 수를 감마 보정하면 도 4(b)에 도시한 바와 같이 0, 15, 22, 28, 32, 35, 37, 38, 41, 45가 된다. 다시말해서 1레벨인 16을 감마 보정하면 15가 되고 2레벨인 17을 감마 보정하면 22가 되고, 3레벨인 18을 감마 보정하면 28이 된다.That is, if gamma correction is made for the numbers 0, 16, 17, 18, 19, 20, 21, 22, 23, 24 to 239, as shown in FIG. 4 (b), 0, 15, 22, 28, 32 , 35, 37, 38, 41, 45. In other words, a gamma correction of 16 at 1 level is 15, and a gamma correction of 17 at 2 levels is 22, and 28 is gamma correction at 18 at 3 levels.

그런데 각 레벨 사이에 변화하는 차이, 즉 감마 보정된 값의 차이는 도 4(c)에 도시한 바와 같이 7, 6, 4, 3, 3, 2, 2, 2 등으로 8레벨을 넘지 않는다. 즉, 1레벨인 16과 2레벨인 17을 감마 보정한 값의 차이는 7이고, 2레벨인 17과 3레벨인 18을 감마 보정한 값의 차이는 6이고, 3레벨인 18과 4레벨인 19을 감마 보정한 값의 차이는 4가 된다.However, the difference that varies between the levels, that is, the difference between the gamma corrected values, does not exceed eight levels, such as 7, 6, 4, 3, 3, 2, 2, 2, and the like, as shown in FIG. That is, the difference between the gamma-corrected values of the first level 16 and the 17th level 17 is 7, and the difference between the gamma-corrected values of the second level 17 and 18 levels 3 is 6, and the 18th and 4th levels are 3 levels. The difference between 19 and gamma corrected is 4.

따라서 각 레벨간의 차이는 8레벨을 넘지 않으므로 감마 보정된 출력의 변화를 3비트로 나타낼 수 있다. 이것을 이용하여 도 4(d)에 도시한 바와 같이 그 차값으로 엔코딩할 수 있다. 즉, 감마 보정된 값은 8비트로 나타내고 8비트로 나타낸 값 다음의 입력 레벨에 대한 감마 보정 차이값은 3비트로 나타낼 수 있으므로, 18비트로 이루어진 2바이트에 5레벨의 입력 신호에 대한 감마 보정 차이값을 저장할 수 있다.Therefore, since the difference between the levels does not exceed eight levels, the change in the gamma corrected output can be represented by three bits. This can be used to encode the difference as shown in Fig. 4 (d). That is, since the gamma corrected value is represented by 8 bits and the gamma correction difference value for the input level following the value represented by 8 bits can be represented by 3 bits, the gamma correction difference value for the input signal of 5 levels is stored in 2 bytes of 18 bits. Can be.

다시말해서, 6레벨마다 원래의 감마 보정값을 저장하고 이후 5레벨의 감마 보정값에 대해서는 그 차이값만을 2바이트인 16비트에 각각 3비트로 표시할 수 있다.In other words, the original gamma correction value may be stored for every six levels, and only the difference value for each of the five levels of gamma correction value may be represented by three bits in 16 bits each of two bytes.

도4(d)에 나타낸 바와 같이 1레벨인 16에 대한 감마 보정값인 '15를 9비트로 저장하고, 다음의 2레벨인 17에대한 감마 보정값인 '22'를 저장하지 않고 위의 1레벨에 대한 감마 보정값과의 차이값인 '7'만을 3비트에 저장하고, 다음의 3레벨인 18에대한 감마 보정값인 '28'를 저장하지 않고 위의 2레벨에 대한 감마 보정값과의 차이값인 '6'만을 3비트에 저장한다. 이때 첫번째 9비트중 처음 3비트는 비워둔다.As shown in Fig. 4 (d), the gamma correction value '15' for the first level 16 is stored as 9 bits, and the first level above without storing the gamma correction value '22' for the next two levels 17. Only the value '7', which is the difference from the gamma correction value for, is stored in 3 bits, and the gamma correction value for the above 2 levels is not stored without storing the gamma correction value '28' for the next three levels of 18. Only the difference value '6' is stored in 3 bits. The first 3 bits of the first 9 bits are left blank.

이와 같은 방법으로 모든 입력 신호에 대한 신호를 1:1로 맵핑하는 것이 아니라 6레벨마다 하나씩 '1'개만을 9비트로 맵핑하고 나머지 5 레벨마다 3비트씩을 15비트로 표시하면 6바이트에서 3바이트로 메모리를 감소시킬 수 있다.In this way, instead of mapping signals for all input signals 1: 1, only one '1' is mapped to 9 bits for every 6 levels, and 3 bits for each remaining 5 levels are represented as 15 bits. Can be reduced.

즉, 감마 곡선이 단조 증가하고 각 단계의 변화가 최대 8단계 이상을 변화하지 않는다는 조건하에 이와 같은 메모리의 감소가 가능하다.That is, such a reduction of memory is possible under the condition that the gamma curve increases monotonically and the change of each step does not change at most 8 steps.

이와 같이 감마 보정시의 각 레벨간의 보정 차이값이 8레벨을 넘지 않아 3비트로 표시할 수 있다는 것을 이용하는 본 발명에 의한 감마 보정 장치의 동작을 세부적으로 설명한다.As described above, the operation of the gamma correction device according to the present invention using the fact that the correction difference value between the levels during gamma correction can be displayed in three bits without exceeding eight levels will be described in detail.

먼저, 메모리(120)에는 도 5에 도시한 바와 같이 화소 데이타 값을 감마 보정한 감마 보정값과 그 감마 보정값의 차이값인 감마 보정 차이값을 맵핑하여 저장한다.First, as shown in FIG. 5, the memory 120 maps and stores a gamma correction value obtained by gamma correction of a pixel data value and a gamma correction difference value that is a difference between the gamma correction values.

즉, 1레벨인 '16'을 감마 보정한 감마 보정값 '15'를 9비트로 어드레스([A0])에 저장하고, 다음 2레벨인 '17'과 1레벨인 '16'과의 감마 보정한 값의 차이값인 감마 보정 차이값 '7'을 3비트로 어드레스([A1])에 저장하고, 다음 3레벨인 '18'과 2레벨인 '17'과의 감마 보정한 값의 차이값인 감마 보정 차이값 '6'을 3비트로 어드레스([A1])에 '7'에 이어서 저장하고, 다음 4레벨인 '19'과 3레벨인 '18'과의 감마 보정한 값의 차이값인 감마 보정 차이값 '4'를 어드레스([A2])에 저장하고, 다음 5레벨인 '20'과 4레벨인 '19'와의 감마 보정한 값의 차이값인 감마 보정 차이값 '3'을 어드레스([A2])에 '4'에 이어서 저장하고, 다음 6레벨인 '21'과 5레벨인 '20'과의 감마 보정한 값의 차이값인 감마 보정 차이값 '3'을 어드레스([A2])에 '3'에 이어서 저장한다.That is, the gamma correction value '15', which is gamma corrected to '16' which is one level, is stored in the address ([A0]) with 9 bits, and gamma corrected to '17' which is the next two levels and '16' which is one level. Gamma correction difference value '7', which is the difference between the values, is stored in the address ([A1]) as 3 bits, and gamma correction value is the difference between the gamma corrected value of the next three levels of '18' and the second level of '17'. The correction difference value '6' is stored in the address ([A1]) in three bits after '7', and the gamma correction value is the difference between the next four levels of '19' and the three levels of '18'. The difference value '4' is stored in the address [A2], and the gamma correction difference value '3' which is the difference between the gamma corrected values of the next five levels of '20' and the fourth level '19' is stored in the address ([ A2]) is stored next to '4', and the gamma correction difference value '3', which is the difference between the gamma corrected values of the next six levels '21' and the fifth level '20', is addressed ([A2]). Then store '3'.

다음으로, 7레벨인 '22'를 감마 보정한 감마 보정값 '39'를 9비트로 어드레스([A3])에 저장하고, 상기 7레벨에 이어서 5레벨의 감마 보정 차이값은 어드레스([A4], [A5])에 저장된다.Next, the gamma correction value '39' obtained by gamma-correcting the seventh level '22' is stored in the address [A3] with 9 bits, and the gamma correction difference value of the fifth level is followed by the address ([A4]). , [A5]).

이와 같이 메모리(120)에 6레벨을 주기로 상기 화소 데이타 값을 감마 보정한 감마 보정값과, 나머지 5개의 화소 데이타값을 감마 보정한 값으로 부터 상기 감마 보정값을 감산한 감마 보정 차이값을 저장한후에는 감마 보정할 화소 데이타의 입력을 기다린다.The gamma correction value obtained by gamma correcting the pixel data value at six levels is stored in the memory 120 and the gamma correction difference value obtained by subtracting the gamma correction value from the gamma correction value of the remaining five pixel data values. After that, it waits for input of pixel data to be gamma corrected.

입력 데이타는 0 내지 511 영역의 임의의 화소 데이타로, 그대로 메모리의 어드레스가 된다. 단지 하위 비트에 대한 어드레스 디코딩이 필요하다. 즉, 0, 1, 2, 3, 4, 5, … 의 순서를 0, 1, 1, 2, 2, 2, … 와 같이 변화량이 들어있는 위치를 찾아주기 위한 것이다.The input data is arbitrary pixel data in the areas 0 to 511, which are addresses of memory as it is. Only address decoding is needed for the lower bits. That is, 0, 1, 2, 3, 4, 5,... The order of 0, 1, 1, 2, 2, 2,… This is to find the location of the change amount.

화소 데이타가 입력되면 어드레스 디코더(100)에서는 감마 보정값이 저장된 상위 어드레스와 감마 보정 차이값이 저장된 하위 어드레스를 디코딩한다. 이와 같이 디코딩된 상위 어드레스에 따라 메모리(120)에서는 감마 보정값이 출력된다. 출력된 감마 보상값은 비트 디스트리뷰터(110)로 부터 감마 보정 차이값이 출력될때까지 래치(130)에서 지연된다.When the pixel data is input, the address decoder 100 decodes the upper address in which the gamma correction value is stored and the lower address in which the gamma correction difference value is stored. The gamma correction value is output from the memory 120 according to the decoded upper address. The output gamma compensation value is delayed in the latch 130 until the gamma correction difference value is output from the bit distributor 110.

한편, 하위 어드레스는 비트 디스트리뷰터(110)에 입력되고 이에 따라 비트 디스크리뷰터(110)에서는 하위 어드레스에 저장된 감마 보정 차이값을 읽어들인다.On the other hand, the lower address is input to the bit distributor 110, so that the bit distributor 110 reads the gamma correction difference value stored in the lower address.

이와 같이 메모리(120)로 부터 읽어들인 감마 보정값과 감마 보정 차이값은 가산기(140)에서 가산된후 감마 보정된 화소 데이타값으로 출력된다.As such, the gamma correction value and the gamma correction difference value read from the memory 120 are added by the adder 140 and then output as gamma corrected pixel data values.

이와 같은 과정을 화소 데이타값 '18'을 감마 보정하는 경우를 예로 설명하면 다음과 같다.This process is described below as an example of gamma correction of the pixel data value '18'.

화소 데이타 값'18'이 입력되면 어드레스 디코더(100)에서는 화소 데이타값 '16'의 감마 보정값이 저장된 상위 어드레스([A0])를 출력하여 메모리(120)로 부터 어드레스([A0])에 저장된 데이타(M[0])인 '15'를 읽어와서 래치(130)에 일시 저장한다.When the pixel data value '18' is input, the address decoder 100 outputs an upper address [[A0]) in which the gamma correction value of the pixel data value '16' is stored, to the address [A0] from the memory 120. The stored data M [0] is read and temporarily stored in the latch 130.

다시 어드레스 디코더(100)에서는 하위 어드레스([A1])를 출력하고, 이에 따라 비트 디스트리뷰터(110)에서는 메모리(120)의 하위 어드레스([A1])에 저장된 데이타([D1], [D2])인 '7'과 '6'을 읽어 가산기(140)로 출력한다. 이때, 18은 16보다 2레벨이 큰 수 이므로 데이타([D1], [D2])를 2개 읽어들인다.The address decoder 100 outputs the lower address [A1], and accordingly, the bit distributor 110 stores the data ([D1], [D2]) stored in the lower address [A1] of the memory 120. '7' and '6' are read and output to the adder 140. At this time, since 18 is a number two levels larger than 16, two data ([D1] and [D2]) are read.

래치(130)에 일시 저장된 데이타인 '15'와 비트 디스트리뷰터(110)로 부터 출력되는 데이타 '7', '6'은 가산기(140)에서 가산되어 감마 보정된 화소 데이타가 출력되게 된다.The data temporarily stored in the latch 130 and the data '7' and '6' output from the bit distributor 110 are added by the adder 140 to output gamma-corrected pixel data.

이상에서 설명한 바와 같이 본 발명에 의한 영상 신호의 감마 보정 장치는 룩 업 테이블을 이용하여 디지탈적으로 영상 신호의 화소값을 감마 보정할때 소요되는 메모리의 크기를 간단하게 줄일 수 있는 효과가 있다.As described above, the gamma correction apparatus of an image signal according to the present invention has an effect of simply reducing the size of a memory required for gamma correction of a pixel value of a digital image signal using a look-up table.

Claims (5)

화소 데이타 값을 감마 보정한 감마 보정값과 그 감마 보정값의 차이값인 감마 보정 차이값을 맵핑하여 저장하는 메모리(120);A memory 120 which maps and stores a gamma correction value obtained by gamma correction of the pixel data value and a gamma correction difference value that is a difference value of the gamma correction value; 입력되는 화소 데이타 값에 따라 상기 감마 보정값이 맵핑된 상위 어드레스와 상기 감마 보정 차이값이 맵핑된 하위 어드레스를 디코딩하고 상기 상위 어드레스에 따라 상기 메모리(120)에 저장된 감마 보정값을 출력시키는 어드레스 디코더(100);An address decoder that decodes an upper address to which the gamma correction value is mapped and a lower address to which the gamma correction difference is mapped according to the input pixel data value, and outputs a gamma correction value stored in the memory 120 according to the upper address. 100; 상기 어드레스 디코더(100)에서 디코딩된 상기 하위 어드레스를 입력으로 상기 메모리(120)에 저장된 감마 보정 차이값을 출력시키는 비트 디스트리뷰터(110); 및A bit distributor (110) for outputting a gamma correction difference value stored in the memory (120) as the input of the lower address decoded by the address decoder (100); And 상기 메모리(120)로 부터 출력되는 상기 감마 보정값과 감마 보정 차이값을 가산하여 감마 보정된 화소 데이타을 출력하는 가산기(140)를 포함하여 구성됨을 특징으로 하는 영상 신호의 감마 보정 장치.And an adder (140) for outputting gamma-corrected pixel data by adding the gamma correction value and the gamma correction difference value output from the memory (120). 제 1 항에 있어서, 상기 메모리(120)로 부터 출력되는 감마 보정값과 감마 보정 차이값의 타이밍을 맞추기 위해 상기 메모리(120)로 부터 출력되는 감마 보정값을 래치하여 상기 가산기(140)로 출력하는 래치(130)를 더 포함하여 구성됨을 특징으로 하는 영상 신호의 감마 보정 장치.The gamma correction value output from the memory 120 is latched and output to the adder 140 in order to match the gamma correction value output from the memory 120 with the gamma correction difference value. Gamma correction apparatus for a video signal characterized in that it further comprises a latch (130). 제 1 항에 있어서, 상기 메모리(120)는 6레벨을 주기로 상기 화소 데이타 값을 감마 보정한 감마 보정값과, 나머지 5개의 화소 데이타값을 감마 보정한 값으로 부터 상기 감마 보정값을 감산한 감마 보정 차이값을 저장함을 특징으로 하는 영상 신호의 감마 보정 장치.2. The gamma correction device of claim 1, wherein the memory 120 gamma-corrects the gamma-correction value of the pixel data value every six levels and the gamma correction value is subtracted from the gamma-correction value of the remaining five pixel data values. A gamma correction apparatus for an image signal, characterized by storing a correction difference value. 제 3 항에 있어서, 상기 감마 보정값은 9비트로 저장됨을 특징으로 하는 영상 신호의 감마 보정 장치.The gamma correction device of claim 3, wherein the gamma correction value is stored as 9 bits. 제 3 항에 있어서, 상기 5개의 감마 보정 차이값들은 순차적으로 2바이트에 각각 3비트로 저장됨을 특징으로 하는 영상 신호의 감마 보정 장치.The gamma correction apparatus of claim 3, wherein the five gamma correction difference values are sequentially stored in two bytes in three bits.
KR1019960072729A 1996-12-27 1996-12-27 Video signal gamma correction device KR100220846B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960072729A KR100220846B1 (en) 1996-12-27 1996-12-27 Video signal gamma correction device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960072729A KR100220846B1 (en) 1996-12-27 1996-12-27 Video signal gamma correction device

Publications (2)

Publication Number Publication Date
KR19980053610A KR19980053610A (en) 1998-09-25
KR100220846B1 true KR100220846B1 (en) 1999-09-15

Family

ID=19491185

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960072729A KR100220846B1 (en) 1996-12-27 1996-12-27 Video signal gamma correction device

Country Status (1)

Country Link
KR (1) KR100220846B1 (en)

Also Published As

Publication number Publication date
KR19980053610A (en) 1998-09-25

Similar Documents

Publication Publication Date Title
KR960009763A (en) Digital Gamma Correction Circuit
US6137542A (en) Digital correction of linear approximation of gamma
US5784100A (en) Apparatus and method for performing shading correction by multiplying a differential shading correction factor and input image data
US5589889A (en) Image memory device and method of operating same
US6181368B1 (en) Electronic endoscope
US20020186223A1 (en) Image processing apparatus and image processing system
JP2005518158A (en) Gamma correction circuit
KR100220846B1 (en) Video signal gamma correction device
US4870479A (en) Video graphics memory storage reduction technique
US5898796A (en) Method of processing image having value of error data controlled based on image characteristic in region to which pixel belongs
US5930401A (en) Shade gradation correction method and apparatus
JP3402403B2 (en) Gamma correction circuit
JP2004120366A (en) Apparatus and method for image processing
US6252585B1 (en) Image display system
JP2754589B2 (en) Digital gamma correction circuit
KR20030060463A (en) Gamma Correction Device
JPH11205633A (en) Video display device
JPH05211659A (en) Gamma correcting circuit and method
JPH07131807A (en) Color correcting device
JP3214517B2 (en) Gamma correction circuit
KR910004620Y1 (en) Matrix circuit using look-up table
JP2001502491A (en) Apparatus and method for generating on-screen display message using true color mode
KR980013451A (en) Gamma Correction Circuit for Color Correction
JPH0736618B2 (en) Image signal processor
JP4285117B2 (en) Video signal processing apparatus, video signal processing method, and video display apparatus

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: 20020530

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee