KR100407488B1 - Method for processing error diffusion - Google Patents

Method for processing error diffusion Download PDF

Info

Publication number
KR100407488B1
KR100407488B1 KR1019960051856A KR19960051856A KR100407488B1 KR 100407488 B1 KR100407488 B1 KR 100407488B1 KR 1019960051856 A KR1019960051856 A KR 1019960051856A KR 19960051856 A KR19960051856 A KR 19960051856A KR 100407488 B1 KR100407488 B1 KR 100407488B1
Authority
KR
South Korea
Prior art keywords
error
diffusion
weight
color
image
Prior art date
Application number
KR1019960051856A
Other languages
Korean (ko)
Other versions
KR19980031984A (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 KR1019960051856A priority Critical patent/KR100407488B1/en
Publication of KR19980031984A publication Critical patent/KR19980031984A/en
Application granted granted Critical
Publication of KR100407488B1 publication Critical patent/KR100407488B1/en

Links

Classifications

    • 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/2007Display of intermediate tones
    • G09G3/2059Display of intermediate tones using error diffusion

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)

Abstract

PURPOSE: A method for processing error diffusion is provided to improve the quality by reducing dot patterns generated in error diffusion by applying an appropriate weight value to the diffusion error. CONSTITUTION: An input unit obtains a color image. A quantizer(3) quantizes a corrected image to be fitted for a standard of an output device, and calculates a quantization value and a quantization error at the same time. An error weight value applying unit(7) stores a look-up table for compensating a diffusion error. The error weight value applying unit stores a weight value to a spreaded diffusion error, and diffuses the error value through an appropriate weight value, thereby reducing dot patterns. An error diffusion filter(5) spreads the calculated error value by putting the weight value to the original input image.

Description

오차확산 처리방법Error diffusion processing method

본 발명은 임의의 칼라 입력 영상을 제한된 수의 칼라를 이용하는 출력장치에 있어서 오차확산을 통하여 입력색에 근접한 색을 표시하는 영상처리에 관한 것으로서, 특히 확산 오차에 대한 선택적인 가중치를 적절히 인가함으로써, 인간의 시각 특성상 민감한 부분의 도트 패턴을 감소시키기 위한 오차확산 처리방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing for displaying a color close to an input color by diffusing an error in an output device using an arbitrary color input image using a limited number of colors. In particular, by appropriately applying a selective weight for diffusion error, The present invention relates to an error diffusion processing method for reducing a dot pattern of a sensitive part due to human visual characteristics.

한정된 출력 범위와 계조를 가지는 출력장치에 있어서 적합한 색을 표시하기 위한 대표적인 방법으로 디더링(dithering)과 오차확산법이 많이 쓰인다. 디더링은 입력 영상의 단위 영역에 대하여 양자화 처리만을 수행하므로, 구현은 비교적간단하나, 입력 데이터의 정확한 표현과 해상도 저하는 보상관계(trade-off)에 있으므로 화질개선을 위해서는 표시장치에서의 해상도 저하가 불가피하다. 오차확산법은 화소단위의 처리를 하므로, 처리 후의 해상도가 디더링에 비하여 우수하고, 각 화소에 대하여 양자화한 후, 양자화 단계에서 발생하는 오차를 인접 화소에 전파함으로써, 단위영역의 입력 데이터를 비교적 정확히 표현할 수 있으나, 디더링에 비하여 처리 방법이 복잡한 단점을 가진다.Dithering and error diffusion are widely used as a representative method for displaying a suitable color in an output device having a limited output range and gradation. Since dithering only performs quantization processing on the unit region of the input image, the implementation is relatively simple. However, since the accurate representation of the input data and the resolution deterioration are in a trade-off, the resolution deterioration in the display device is not necessary for improving image quality. Inevitable Since the error diffusion method performs pixel unit processing, the resolution after processing is superior to dithering, and after quantizing each pixel, the error generated in the quantization step is propagated to adjacent pixels, thereby representing the input data of the unit region relatively accurately. However, the processing method has a disadvantage compared to dithering.

그러나, 입력색을 표현하는 과정에서, 각 입력 데이터에 대하여 채널별로 동일한 구조를 반복 처리함으로써, 도트 패턴이 발생하게 된다. 입력값에 근접하는 색을 표현하기 위한 도트 패턴의 역할은 매우 중요하다. 그러나, 근접색의 표현시 발생하는 도트 패턴의 영향으로, 영상을 보는 거리가 충분히 확보되지 않으면 오차확산의 평균효과가 나타나지 않는다. 따라서, 영상을 볼 때, 부드러운 저주파 성분이 줄어들고, 도트 패턴에 해당하는 고주파가 증가하여 화질을 저하시키는 문제점이 있다.However, in the process of expressing the input color, a dot pattern is generated by repeatedly processing the same structure for each input data for each channel. The role of the dot pattern to express the color approaching the input value is very important. However, due to the influence of the dot pattern generated when the proximity color is expressed, the average effect of the error diffusion does not appear unless the distance for viewing the image is sufficiently secured. Therefore, when viewing an image, a soft low frequency component is reduced, and a high frequency corresponding to a dot pattern is increased, thereby degrading image quality.

이를 도 1을 참조하여 좀 더 상세히 설명하면 다음과 같다. 도 1에 도시된 바와 같이, 기존의 오차확산 처리방법은 흑백 오차확산의 단순한 확장으로, 적, 녹, 청의 세 채널에 독립적으로 오차확산을 적용함으로써 발생하는 도트 패턴을 효과적으로 줄일 수 없다. 오차확산 기술의 기본 개념상 도트 패턴을 이용한 영상이 구성되기 때문이며, 이로 인한 화질의 열화를 막을 수 없다. 오차확산에서의 확산오차값을 극도로 줄이면, 단순히 양자화한 영상과 동일해진다. 한편, 단순 양자화 영상에서는 도트 패턴이 전혀 발생하지 않는다. 그러나 저주파가 많기 때문에 영상이 부드러운 느낌은 있으나, 색왜곡 및 해상도 저하 등의 문제점을 가지고 있다. 반면, 정상적인 방법으로 양자화 오차값을 그대로 전파시키는 경우, 해상도는 증가하고 색왜곡이 감소하는 장점이 있다. 그러나, 도트 패턴의 발생으로 인하여, 근거리에서는 화질이 저하되는 경향이 있다. 확산오차의 양을 조절하는 경우, 단순 양자화 영상과, 일반적인 오차확산 영상 사이에서, 각 경우의 장단점은 서로 상보관계에 있게 된다. 따라서, 확산오차에 대한 가중치를 '0'으로 하면, 단순 양자화 영상이 되고, '1'로 하면 일반적인 오차확산 영상이 된다. 각 경우의 장점과 단점은 서로 상보관계에 있기 때문에, 두가지 영상의 장점들로만 구성된, 해상도가 높고 색 왜곡이 작으며, 근거리에서도 화질이 우수한 영상을 만들기는 매우 어렵다.This will be described in more detail with reference to FIG. 1 as follows. As shown in FIG. 1, the conventional error diffusion processing method is a simple extension of the black and white error diffusion, and cannot effectively reduce the dot pattern generated by applying error diffusion to three channels of red, green, and blue independently. This is because an image using a dot pattern is constructed because of the basic concept of error diffusion technology, and thus deterioration of image quality cannot be prevented. If the diffusion error value in error diffusion is extremely reduced, it is identical to the quantized image. On the other hand, no dot pattern occurs at all in the simple quantized image. However, since there are many low frequencies, the image is soft, but there are problems such as color distortion and resolution deterioration. On the other hand, if the quantization error value is propagated as it is, the resolution increases and the color distortion decreases. However, due to the occurrence of the dot pattern, there is a tendency for the image quality to deteriorate at close range. In the case of adjusting the amount of diffusion error, between the simple quantized image and the general error diffusion image, the advantages and disadvantages of each case are complementary to each other. Therefore, if the weight for the diffusion error is '0', it becomes a simple quantized image, and if it is '1', it is a general error diffusion image. Since the advantages and disadvantages of each case are complementary to each other, it is very difficult to produce an image having high resolution, small color distortion, and excellent image quality even at a short distance, which are composed only of the advantages of the two images.

따라서 본 발명의 목적은 확산 오차에 대한 선택적인 가중치를 적절히 인가함으로써, 인간의 시각 특성상 민감한 부분의 도트 패턴을 감소시키기 위한 오차확산 처리방법을 제공하는데 있다.Accordingly, an object of the present invention is to provide an error diffusion processing method for reducing a dot pattern of a sensitive part due to human visual characteristics by appropriately applying a selective weight for diffusion error.

상기 목적을 달성하기 위하여 본 발명에 의한 오차확산 처리방법은 a) 다계조의 칼라 및 흑백 중 어느 하나의 입력영상에 전파되는 확산 오차값에 대하여, 양자화된 출력영상에 대한 시각적인 민감도를 고려하여 수치적으로 결정된 가중치를 생성하여 룩업테이블로 저장하는 단계; b) 상기 입력영상의 소정 화소에 대한 확산오차에 대하여 가중치를 인가하여 보정 오차를 생성하는 단계; 및 c) 상기 보정 오차를 상기 소정 화소의 주변 화소로 확산하는 단계를 구비하는 것을 특징으로 한다.In order to achieve the above object, the error diffusion processing method according to the present invention includes a) considering a visual sensitivity of a quantized output image with respect to a diffusion error value propagated in an input image of one of multi-tone colors and monochrome. Generating a numerically determined weight and storing the weight as a lookup table; b) generating a correction error by applying a weight to a diffusion error for a predetermined pixel of the input image; And c) diffusing the correction error to surrounding pixels of the predetermined pixel.

도 1은 종래의 오차확산 처리장치를 나타낸 구성도.1 is a block diagram showing a conventional error diffusion processing apparatus.

도 2는 본 발명에 의한 오차확산 처리방법을 실현하기 위한 구성도.2 is a block diagram for realizing the error diffusion processing method according to the present invention.

도 3은 본 발명에서 사용되는 양자화함수를 나타낸 그래프.3 is a graph showing a quantization function used in the present invention.

도 4는 본 발명에서 사용되는 확산오차 보정용 룩업테이블의 구조도.4 is a structural diagram of a lookup table for diffusion error correction used in the present invention.

도 5는 본 발명에서 사용되는 오차확산필터의 구조도.5 is a structural diagram of an error diffusion filter used in the present invention.

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 일실시예에 대하여 상세히 설명하기로 한다.Hereinafter, with reference to the accompanying drawings will be described in detail a preferred embodiment of the present invention.

도 2는 본 발명에 의한 오차확산 처리방법을 실현하기 위한 구성도로서, 입력 장치(미도시), 가산기(1), 양자화기(3), 오차확산 필터(5), 승산기(6), 확산오차 보정용 룩업테이블(look-up table;LUT)을 저장하는 오차가중치 인가부(7), 감산기(8), 출력장치(미도시) 등으로 구성된다.2 is a configuration diagram for realizing an error diffusion processing method according to the present invention, and includes an input device (not shown), an adder 1, a quantizer 3, an error diffusion filter 5, a multiplier 6, and a diffusion. And an error weighting unit 7 for storing an error correction look-up table (LUT), a subtractor 8, an output device (not shown), and the like.

도 2에 있어서, 입력장치는 칼라 영상을 획득하는 장치로서, TV, 비디오 카메라 등 임의의 아날로그 입력신호에 대해, 아날로그/디지탈(A/D) 변환을 통하여 디지탈 영상을 얻어내며, 스캐너, 카메라 등을 예로 들 수 있다. 수정영상(2)은 입력 신호값과 전파되어진 오차값을 가산기(1)에서 가산한 결과 얻어지며, 양자화기(3)의 입력으로 작용한다.In FIG. 2, the input device is a device for acquiring a color image, and obtains a digital image through an analog-to-digital (A / D) conversion on an arbitrary analog input signal such as a TV or a video camera. For example. The corrected image 2 is obtained by adding the input signal value and the propagated error value by the adder 1 and serves as an input of the quantizer 3.

양자화기(3)는 수정영상(2)에 대하여, 출력장치의 규격에 맞도록 양자화를 실행하는 부분으로, 양자화 값과 양자화 오차를 동시에 계산할 수 있는 구조를 가진다.The quantizer 3 is a part that performs quantization on the modified image 2 in accordance with the standard of the output device. The quantizer 3 has a structure capable of simultaneously calculating a quantization value and a quantization error.

출력장치는 양자화기(3)의 출력을 표시하는 장치로서, 모니터, 프린터 등을 예로 들 수 있다.The output device is a device for displaying the output of the quantizer 3, and examples thereof include a monitor and a printer.

확산오차 보정용 룩업테이블(LUT)을 저장하는 오차가중치 인가부(7)는 전파되는 확산 오차값에 대한 가중치를 저장하는 부분으로, 적절한 가중치를 통한 오차값을 확산시킴으로써, 발생하는 도트 패턴을 줄여, 근거리에서도 화질이 저하되는단점을 개선할 수 있다.The error weight applying unit 7 storing the diffusion error correction lookup table (LUT) stores a weight for the spreading error value propagated, and reduces the dot pattern generated by spreading the error value through an appropriate weight. It is possible to improve the disadvantage that the image quality deteriorates even in the near field.

오차확산 필터(5)는 계산된 오차값을 원래의 입력영상에 가중치를 두어 전파시키는 역할을 하는 부분으로, 가산기(1)의 입력으로 작용하여, 수정영상(2)이 생성되게 한다.The error diffusion filter 5 serves to propagate the calculated error value by weighting the original input image. The error diffusion filter 5 serves as an input of the adder 1 to generate the corrected image 2.

본 발명의 동작원리는 기존의 오차확산 알고리즘에, 확산오차 보정용 LUT를 추가하여 발생하는 도트 패턴을 줄이는 것이다.The operation principle of the present invention is to reduce the dot pattern generated by adding a diffusion error correction LUT to the existing error diffusion algorithm.

입력영상(Iij)은 칼라 벡터로 구성된 영상으로서, 각 화소당 3개 이상의 엘리먼트를 가지고, (i,j)는 입력영상 내부에서의 i행, j열을 의미한다. 수정영상(Mij;2)은 원래의 입력영상(Iij)와 현재 처리될 중심화소에 대하여 전파되어진 오차 E"ij의 합으로서, 가산기(1)에서 출력되며 다음 수학식 1과 같이 나타낼 수 있다.The input image I ij is an image composed of color vectors and has three or more elements for each pixel, and (i, j) means i rows and j columns in the input image. The corrected image M ij ; 2 is the sum of the original input image I ij and the error E ″ ij propagated with respect to the center pixel to be processed, which is output from the adder 1 and can be expressed as Equation 1 below. have.

[수학식 1][Equation 1]

Mij= Iij+ E"ij M ij = I ij + E " ij

수정영상(Mij;2)은 출력장치의 출력규격에 맞도록 양자화기(3)에 의해 양자화 처리되며, 양자화기(3)의 전달함수 Qij는 다음 수학식 2와 도 3에 나타낸 바와 같다.The modified image (M ij ; 2) is quantized by the quantizer 3 so as to meet the output standard of the output device, and the transfer function Q ij of the quantizer 3 is as shown in Equation 2 and FIG. .

[수학식 2][Equation 2]

Q(mij) = q × Q (m ij ) = q ×

여기서, mij는 Mij칼라 벡터의 한 개의 엘리먼트이며, 모든 엘리먼트에 대해서 동일한 방식의 양자화가 이루어진다. q는 양자화 간격이고, (1+p)는 원하는 출력 레벨의 개수, u(.)는 단위계단함수, d는 한 개 레벨의 폭을 의미한다.Here, m ij is one element of the M ij color vector, and quantization is performed in the same manner for all elements. q is the quantization interval, (1 + p) is the number of desired output levels, u (.) is the unit step function, d is the width of one level.

이와 같이 양자화된 데이터(Qij)는 출력영상 버퍼(미도시)에 저장되어 출력장치로 전송된다. 동시에 양자화 오차(Eij)도 계산되고, 감산기(8)에 입력되어 전체 오차계산에 쓰이며 다음 수학식 3과 같다.The quantized data Q ij is stored in an output image buffer (not shown) and transmitted to the output device. At the same time, the quantization error Eij is also calculated and input to the subtractor 8 to be used for the overall error calculation.

[수학식 3][Equation 3]

Eij= Mij- Qij E ij = M ij -Q ij

양자화된 데이터(Qij)는 확산오차 보정용 LUT에 입력되어, 확산오차에 적용할 가중치에 대한 인덱스로 쓰인다. 확산오차 보정값(E'ij)은 가중치(Sij)와 확산오차(Eij)를 곱하여 얻어지며, 다음 수학식 4와 같이 표현된다.The quantized data Q ij is input to a diffusion error correction LUT and used as an index for a weight to be applied to the diffusion error. The diffusion error correction value E ' ij is obtained by multiplying the weight S ij by the diffusion error E ij and is expressed as in Equation 4 below.

[수학식 4][Equation 4]

E'ij= Sij× Eij E ' ij = S ij × E ij

여기서, Sij는 Qij에 대한 양자화 오차에 적용할 가중치값을 나타낸다. E'ij는 Qij값과 그에 따른 확산오차 가중치인 Sij에 의해 결정되므로, Qij에 대한 확산오차 보정 가중치를 미리 계산하여 기록해둠으로써, 실제 화소별 처리시에는 별도의계산을 필요로 하진 않는다.Here, S ij represents a weight value to be applied to the quantization error for Q ij . Since E ' ij is determined by the value of Q ij and its corresponding diffusion error weight S ij , it is necessary to calculate and record the diffusion error correction weight for Q ij in advance. Do not.

한편, 확산오차 가중치인 Sij의 계산은 다음과 같다. 오차확산 처리된 영상을 관찰할 때, 관찰 거리는 매우 중요하다. 충분히 먼 거리가 확보되면, 오차확산 처리의 원래 개념대로 평균화 현상이 일어나, 도트 패턴이 보이지 않고 우수한 화질의 영상으로 보인다. 그러나 관찰거리가 가까운 경우에는, 도트 패턴이 평균화되지 않고, 그대로 나타나 보이기 때문에, 화질 저하의 원인이 된다. 인간시각 특성상, 시각적으로 민감한 부분에서 도트 패턴이 발생하는 경우, 왜곡의 효과가 두드러지고, 둔감한 부분에서는 발생하여도 거의 느끼지 못하는 경향이 있다. 이러한 현상을 이용하여 시각적으로 민감한 부분에서는 도트 패턴의 발생을 억제하고, 둔감한 부분에서는 발생을 유지시켜, 최대한 화질의 열화를 막으면서 오차확산에 충실한 방법을 구성할 수 있다. 확산오차에 대한 가중치는 각 양자화 값에 대하여, 해당색의 민감도를 바탕으로 하여 계산할 수 있다. 한 예로, 해당색의 밝기값인 Y를 기준으로 하여, Y 값이 크면 도트 패턴이 발생하였을 때 민감하게 보이므로, 확산오차값을 줄이는 방법으로 가중치를 정한다. Y 값이 작으면, 가중치를 크게 하여, 오차확산 방법에 충실하도록 처리할 수 있다. 즉, 가중치는 해당색의 밝기값에 반비례하도록 결정한다. 그 외에도, Y 뿐만 아니라 해당색의 칼라에 대한 민감도를 결정하고, 정해진 민감도에 따라 적절한 가중치를 인가함으로써 도트 패턴을 줄일 수 있다. 즉, 가중치는 해당색에 대한 칼라 속성을 고려하여 파장 및 강도에 대한 민감도를 계산하여 결정한다. Y 값을 이용한 한 예로 확산 오차가중치가 저장된 확산오차 보정 LUT를 도 4에 나타내었다. 도 4에 있어서, 입력영상이 칼라영상인 경우에는 확산오차 보정용 룩업테이블은 칼라 인덱스와 해당 가중치로 이루어지고, 입력영상이 흑백영상인 경우에는 확산오차 보정용 룩업테이블은 계조 인덱스와 해당 가중치로 이루어진다.On the other hand, the calculation of the diffusion error weight S ij is as follows. When observing an error-diffused image, the viewing distance is very important. If a sufficiently long distance is secured, the averaging phenomenon occurs according to the original concept of the error diffusion process, so that the dot pattern is not seen, and the image is of excellent image quality. However, when the observation distance is close, the dot pattern is not averaged and appears as it is, which causes deterioration of image quality. Due to human visual characteristics, when a dot pattern occurs in a visually sensitive portion, the effect of distortion is prominent, and even in the insensitive portion, it tends to be hardly felt. By using this phenomenon, it is possible to construct a method faithful to error diffusion while preventing the occurrence of dot patterns in the visually sensitive areas and maintaining the occurrence in the insensitive areas, while preventing deterioration of image quality as much as possible. The weight of the diffusion error can be calculated based on the sensitivity of the corresponding color for each quantization value. For example, based on the brightness value Y of the corresponding color, if the value of Y is large, it is sensitive when the dot pattern is generated, and the weight is determined by reducing the diffusion error value. If the Y value is small, the weight can be increased, and the processing can be performed to be faithful to the error diffusion method. That is, the weight is determined to be inversely proportional to the brightness value of the corresponding color. In addition, it is possible to reduce the dot pattern by determining the sensitivity for the color of the color as well as Y, and applying an appropriate weight according to the determined sensitivity. That is, the weight is determined by calculating the sensitivity to the wavelength and the intensity in consideration of the color property of the corresponding color. As an example of using the Y value, a diffusion error correction LUT storing a diffusion error weight value is shown in FIG. 4. In FIG. 4, when the input image is a color image, the lookup table for diffusion error correction includes a color index and a corresponding weight, and when the input image is a black and white image, the lookup table for diffusion error correction includes a gray scale index and a corresponding weight.

전파시킬 보정오차 E'ij은 양자화 오차의 스케일이 조정된 형태이므로, 오차확산을 수행하면서, 도트 패턴의 발생을 줄이는 역할을 한다. 계산된 보정 오차 E'ij은 오차확산 필터(5)로 보내진다. 오차확산 필터(5)는 구해진 보정 오차 E'ij를 적절한 가중치를 인가하여 인접화소에 전파시키는 역할을 하며, 각 인접화소에 가산된 E"ij은 도 5와 같이 표현된다. 여기서 *기호는 현재 처리될 중심화소를 의미하고, Wi는 화소별 가중치이며이다.Since the correction error E ' ij to propagate is a form in which the scale of the quantization error is adjusted, it performs a role of reducing the occurrence of the dot pattern while performing error diffusion. The calculated correction error E ' ij is sent to the error diffusion filter 5. The error diffusion filter 5 serves to propagate the obtained correction error E ' ij to adjacent pixels by applying an appropriate weight, and E " ij added to each adjacent pixel is expressed as shown in FIG. Means the center pixel to be processed, W i is the pixel-by-pixel weight to be.

가산기(1)에서는 입력 영상의 다음 처리될 화소에 전파될 오차(E"ij)를 가산하고, 수정영상(2)을 생성함으로써, 앞에서 언급된 수학식 1에서 수학식 4의 과정이 입력영상의 전화소에 대하여 반복처리된다.The adder 1 adds an error E " ij to be propagated to a pixel to be processed next in the input image and generates a corrected image 2, whereby the process of Equation 4 in Equation 1 mentioned above Iterate over the telephone office.

본 발명의 오차확산 처리과정을 통하여, 기존의 양자화 오차 확산 뿐만 아니라 확산오차에 가중치를 인가하여 도트 패턴을 감소시킴으로써 화질 개선의 결과를 얻을 수 있다. 이때, 인접화소로 분배되는 보정오차에 대한 가중치는 Floyd & Steinberg가 제안한 것을 사용하였다.Through the error diffusion process of the present invention, the result of image quality improvement can be obtained by reducing the dot pattern by applying a weight to the diffusion error as well as the existing quantization error diffusion. At this time, Floyd & Steinberg proposed the weight for the correction error distributed to adjacent pixels.

상기 수학식 1∼4의 과정중, 사용되는 변수의 차원을 1로 제한하면, 흑백영상에 대한 오차확산이 적용되는 것으로 볼 수 있으며, 도트 패턴의 감소효과 또한 유지된다.During the process of Equations 1 to 4, if the dimension of the variable used is limited to 1, it can be seen that error diffusion is applied to the black and white image, and the effect of reducing the dot pattern is also maintained.

본 발명은 칼라 프린터, 칼라 LCD, 칼라 모니터 등의 칼라 출력장치에서 사용한다.The present invention is used in color output devices such as color printers, color LCDs, color monitors and the like.

상술한 바와 같이, 본 발명은 기존의 오차확산 처리방법에 확산오차에 대한 가중치의 적용으로, 오차확산시 발생하는 도트 패턴을 줄임으로써 화질의 개선이 가능하며, 근거리에서의 화질 저하를 막을 수 있는 장점이 있다. 본 발명은 칼라CRT 모니터, LCD, 프린터, LED 표시소자 등의 시스템에 응용될 수 있다.As described above, the present invention can improve the image quality by reducing the dot pattern generated during error diffusion by applying the weight of the diffusion error to the existing error diffusion processing method, and can prevent the image degradation at a short distance. There is an advantage. The present invention can be applied to systems such as color CRT monitors, LCDs, printers, LED display elements, and the like.

Claims (5)

a) 다계조의 칼라 및 흑백 중 어느 하나의 입력영상에 전파되는 확산 오차값에 대하여, 양자화된 출력영상에 대한 시각적인 민감도를 고려하여 수치적으로 결정된 가중치를 생성하여 룩업테이블로 저장하는 단계;a) generating a numerically determined weight value based on a visual sensitivity of the quantized output image with respect to a diffusion error value propagated in one of the multi-color color and the black and white image, and storing the weight as a lookup table; b) 상기 입력영상의 소정 화소에 대한 확산오차에 대하여 가중치를 인가하여 보정 오차를 생성하는 단계; 및b) generating a correction error by applying a weight to a diffusion error for a predetermined pixel of the input image; And c) 상기 보정 오차를 상기 소정 화소의 주변 화소로 확산하는 단계를 구비하는 것을 특징으로 하는 오차확산 처리방법.and c) diffusing the correction error to surrounding pixels of the predetermined pixel. 제1 항에 있어서, 상기 입력영상이 칼라인 경우, 상기 룩업테이블은 칼라 이덱스와 해당 가중치로 이루어지는 것을 특징으로 하는 오차확산 처리방법.The error diffusion processing method according to claim 1, wherein when the input image is a color, the lookup table includes a color index and a corresponding weight. 제2 항에 있어서, 상기 가중치는 해당색의 밝기값에 반비례하도록 설정하는 것을 특징으로 하는 오차확산 처리방법.The error diffusion processing method according to claim 2, wherein the weight is set in inverse proportion to a brightness value of a corresponding color. 제2 항에 있어서, 상기 가중치는 해당색에 대한 칼라 속성을 고려하여 파장 및 강도에 대한 민감도를 계산하여 결정하는 것을 특징으로 하는 오차확산 처리방법.The error diffusion processing method of claim 2, wherein the weight is determined by calculating sensitivity to wavelength and intensity in consideration of color attributes of a corresponding color. 제1 항에 있어서, 상기 입력영상이 흑백인 경우, 상기 룩업테이블은 계조 인덱스와 가중치로 이루어지는 것을 특징으로 하는 오차확산 처리방법.The error diffusion processing method of claim 1, wherein when the input image is black and white, the lookup table includes a gray scale index and a weight.
KR1019960051856A 1996-10-31 1996-10-31 Method for processing error diffusion KR100407488B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960051856A KR100407488B1 (en) 1996-10-31 1996-10-31 Method for processing error diffusion

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960051856A KR100407488B1 (en) 1996-10-31 1996-10-31 Method for processing error diffusion

Publications (2)

Publication Number Publication Date
KR19980031984A KR19980031984A (en) 1998-07-25
KR100407488B1 true KR100407488B1 (en) 2004-03-20

Family

ID=37422758

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960051856A KR100407488B1 (en) 1996-10-31 1996-10-31 Method for processing error diffusion

Country Status (1)

Country Link
KR (1) KR100407488B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101457896B1 (en) * 2013-03-21 2014-11-04 삼성전자주식회사 Method and apparatus for processing to improve detail of image

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3912633B2 (en) * 1998-01-23 2007-05-09 ソニー株式会社 Image processing method and apparatus
KR100713530B1 (en) * 2006-04-25 2007-05-02 삼성전자주식회사 Apparatus and method for processing a image for preventing lower in a image quality on conveting a image bitmap format

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101457896B1 (en) * 2013-03-21 2014-11-04 삼성전자주식회사 Method and apparatus for processing to improve detail of image
US9332280B2 (en) 2013-03-21 2016-05-03 Samsung Electronics Co., Ltd. Image processing method and apparatus for improving detail of image

Also Published As

Publication number Publication date
KR19980031984A (en) 1998-07-25

Similar Documents

Publication Publication Date Title
US5377041A (en) Method and apparatus employing mean preserving spatial modulation for transforming a digital color image signal
KR100314097B1 (en) Method and apparatus for generating white component and for controlling the brightness in display devices
JP3737149B2 (en) Color image generation system and method
US4992862A (en) Color conversion display apparatus and method
KR100528938B1 (en) Display system and method for extending bit-depth of display system
EP0606993B1 (en) Colour gamut clipping
US5742405A (en) Method and system for forming multi-level halftone images from an input digital image
KR100525337B1 (en) Image processing method and apparatus
KR100657339B1 (en) Methods and system for combining luminance preserving quantization and halftoning
EP0725533B1 (en) Processing halftone color images
Daly et al. Bit-depth extension using spatiotemporal microdither based on models of the equivalent input noise of the visual system
KR100407488B1 (en) Method for processing error diffusion
US7236269B2 (en) System and method for dithering with reduced memory
EP0606994B1 (en) Noise quenching method and apparatus for a colour display system
KR100335621B1 (en) Error spreading device in color image output system
Thurnhofer et al. Nonlinear detail enhancement of error-diffused images
KR100335614B1 (en) Method and apparatus for spreading error in color reproducing system
KR100268336B1 (en) Error diffusion method using variable threshold value
AU676419B2 (en) Reduction of luminance noise in colour dithering
KR0155799B1 (en) Color-control device using masking function
KR100561453B1 (en) Adaptive color halftoning processing method for 4-color printing in printer
KR100522589B1 (en) Adaptive Color Error Diffusion Method
JPS6139778A (en) Image binary-coding processing method
JPH1127521A (en) Color image-processing unit
KR20000066828A (en) Error diffusion method based on the random-replacement of a portion of modifying target pixel value

Legal Events

Date Code Title Description
A201 Request for examination
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: 20061027

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee