KR20100118262A - Apparatus and method of digital image processing and program recording medium for the same - Google Patents

Apparatus and method of digital image processing and program recording medium for the same Download PDF

Info

Publication number
KR20100118262A
KR20100118262A KR1020090037001A KR20090037001A KR20100118262A KR 20100118262 A KR20100118262 A KR 20100118262A KR 1020090037001 A KR1020090037001 A KR 1020090037001A KR 20090037001 A KR20090037001 A KR 20090037001A KR 20100118262 A KR20100118262 A KR 20100118262A
Authority
KR
South Korea
Prior art keywords
pixel
value
image processing
result
difference
Prior art date
Application number
KR1020090037001A
Other languages
Korean (ko)
Other versions
KR101595257B1 (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 KR1020090037001A priority Critical patent/KR101595257B1/en
Publication of KR20100118262A publication Critical patent/KR20100118262A/en
Application granted granted Critical
Publication of KR101595257B1 publication Critical patent/KR101595257B1/en

Links

Images

Classifications

    • G06T5/94
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/20Image enhancement or restoration by the use of local operators
    • G06T5/75
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10024Color image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20004Adaptive image processing
    • G06T2207/20012Locally adaptive
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20172Image enhancement details
    • G06T2207/20192Edge enhancement; Edge preservation

Abstract

PURPOSE: A digital image processing apparatus and a method thereof using a low-pass filter and a recording medium therefor are provided to obtain the processed image processed in a digital image and reduce the number of filtering by pixel. CONSTITUTION: A pixel value of a first pixel is filtered among the image consisting of a plurality of pixels(S602). The difference of the pixel value of the second pixel and pixel value of the first pixel is obtained and compares with the contrast value(S603). The difference of the pixel value of the pixel value of the second pixel in the return value of the first pixel and the first pixel difference does not bigger than the contrast value is increased and it to the return value of the second pixel(S604).

Description

디지털 영상 처리 장치 및 방법과 이를 위한 기록매체{Apparatus and method of digital image processing and program recording medium for the same}Apparatus and method of digital image processing and program recording medium for the same

본 발명은 디지털 영상 처리 장치 및 방법과 이를 위한 기록매체에 관한 것으로 보다 상세하게는 저역 통과 필터를 이용한 영상 처리시 소요 시간을 감소시킬 수 있는 영상 처리 장치 및 방법을 제공한다.The present invention relates to a digital image processing apparatus and a recording medium therefor, and more particularly, to an image processing apparatus and method capable of reducing a time required for image processing using a low pass filter.

디지털 영상 처리 장치란 전기적인 영상 신호를 처리하는 디지털 신호 처리부(Digital signal processing, DSP)를 포함하는 장치를 포괄하는 것으로서 디지털 카메라, 디지털 캠코더 및 이들 기능을 내장한 휴대폰, PDA(personal digital assistant), PMP(portable multimedia player) 등의 디지털 장치에도 적용될 수 있다.The digital image processing apparatus encompasses a device including a digital signal processing unit (DSP) for processing an electrical image signal, and includes a digital camera, a digital camcorder, a mobile phone incorporating these functions, a personal digital assistant (PDA), The present invention may also be applied to digital devices such as a portable multimedia player (PMP).

디지털 영상 처리 중에 원본 영상을 필터링 처리하여 목적에 맞는 영상을 얻기 위하여 저역 통과 필터(Low pass filter, LPF), 고역 통과 필터(High pass filter, HPF), 밴드 패스 필터(Band pass filter) 등을 거친다. 특히 저역 통과 필터는 낮은 주파수 영역을 통과 시키고 높은 주파수 영역을 차단하는 필터이다. 영상에서 저주파 영역이란 주변영역과 밝기 차이가 적은 영역을 의미하므로 원본 영 상이 저역 통과 필터를 거칠 경우 스무딩(smoothing) 이나 블러(blur) 효과가 발생하여 부드러운 느낌이 드는 흐릿한 영상을 생성한다. During the digital image processing, the original image is filtered to pass through a low pass filter (LPF), a high pass filter (HPF), and a band pass filter to obtain an image suitable for the purpose. . In particular, the low pass filter is a filter that passes the low frequency region and blocks the high frequency region. The low frequency region of the image means a region where brightness difference is small from the surrounding region, and thus, when the original image passes the low pass filter, a smoothing or blur effect occurs, thereby creating a blurry image having a soft feeling.

상술한 저역 통과 필터(Low pass filter, LPF), 고역 통과 필터(High pass filter, HPF), 밴드 패스 필터(Band pass filter) 등을 구현하는 방법의 일종으로 컨볼루션 연산을 사용하는 경우가 있다. 컨볼루션 연산을 통한 필터링은 마스크(mask)에 포함된 복수개 픽셀의 픽셀값과 마스크의 요소값 간에 컨볼루션(convolution)연산을 행하는 것이다. 이러한 영상 처리 과정은 원본 영상의 크기를 축소하여 컨볼루션 연산한 다음 본래의 크기로 확대하는 과정을 거친다. 이 경우 영상을 확대하는 단계에서 픽셀을 보충하여 가로, 세로비를 확대 보정하는 보간 처리에 상당한 시간이 소요되는 문제점이 있었다. 또한 마스크에 포함된 픽셀 하나하나마다 컨볼루션 연산을 하여 처리된 결과 픽셀값을 얻어야 하므로 대용량 영상의 경우 컨볼루션 연산에만 장시간이 요구되는 문제가 있다.In some cases, a convolution operation may be used as a method of implementing the low pass filter (LPF), the high pass filter (HPF), the band pass filter, and the like. Filtering through a convolution operation is to perform a convolution operation between pixel values of a plurality of pixels included in a mask and element values of the mask. Such an image processing process is to reduce the size of the original image by convolutional operation and then to enlarge the original image. In this case, there is a problem that a considerable time is required for the interpolation process to enlarge and correct the aspect ratio by replenishing pixels in the step of enlarging an image. In addition, since a pixel value obtained by performing a convolution operation for each pixel included in the mask must be obtained, a long time is required only for the convolution operation in the case of a large image.

저역 통과 필터 중에서 컨볼루션 연산을 사용하는 것으로 평균화 필터(mean filter), 가우시안 필터(Gaussian filter), 쌍방향 필터(bilateral filter) 등이 있으며, 컨볼루션 연산을 사용하지 않는 대표적인 저역 통과 필터는 미디언 필터(median filter) 등이 있다. 미디언 필터나 쌍방향 필터의 경우 이미지의 경계선 또는 윤곽선에 해당하는 에지(edge)를 일정량 보전하고, 면과 같이 밝기 값이 유사한 픽셀에 해당하는 부분은 강하게 스무딩(smoothing)처리하는 특징이 있다. 그러나 이러한 필터를 사용할 때 영상의 축소 및 확대 과정을 거친다면 일종의 저역 통과 필터를 처리한 것과 동일한 결과를 가지고 오므로 원하지 않는 에지의 블러 링(blurring) 효과가 발생하는 문제점이 있었다. Among the low pass filters, the convolution operation is used, such as a mean filter, Gaussian filter, and bilateral filter. A typical low pass filter that does not use the convolution operation is a median filter. (median filter). In the case of the median filter or the bidirectional filter, an edge corresponding to a boundary or contour of an image is preserved in a certain amount, and a portion corresponding to a pixel having a similar brightness value such as a surface is strongly smoothed. However, when using such a filter, if the image is reduced and enlarged, the same result as that of a kind of low pass filter is obtained, which causes blurring of unwanted edges.

도 1은 미디언 필터를 처리한 결과를 나타낸 것이며, 도 2는 쌍방향 필터를 처리한 결과를 나타낸 것이다. Figure 1 shows the result of processing the median filter, Figure 2 shows the result of processing the two-way filter.

실제로 도 1(a)의 원본 영상을 그대로 미디언 필터 처리한 결과가 도 1 (b)이고, 원본 영상을 반(1/2)으로 축소하여 미디언 필터를 거친 다음 2배 확대한 경우가 도 1 (c)의 영상이다. 같은 방법으로 도 2 (a)는 원본 영상을 그대로 쌍방향 필터 처리한 결과이고, 원본 영상을 반(1/2)으로 축소하여 쌍방향 필터를 거친 다음 2배 확대한 경우가 도 2 (c)의 영상이다. 도 1(b)와 (c), 도 2(b)와 (c)를 비교하여 보면 도 1(c) 도 2(c)만 유독 경계선이 뿌옇게 흐려진 것을 확인할 수 있는데 이는 의도하지 않은 에지의 블러링 현상이 일어난 것이다.In fact, the result of processing the median filter of the original image of FIG. 1 (a) as it is is shown in FIG. 1 (b). 1 (c) is an image. In the same manner, FIG. 2 (a) shows the result of the bidirectional filtering process of the original image as it is, and the original image is reduced in half (1/2), subjected to the bidirectional filter, and then enlarged twice. to be. Comparing Figs. 1 (b) and (c), and Figs. 2 (b) and (c), it can be seen that only the blurring lines of toxic borders are blurred in Fig. 1 (c) and Fig. 2 (c). Ring phenomenon has occurred.

본 발명은 종래의 저역 통과 필터를 사용하는 경우 발생하는 문제점을 해결하기 위한 디지털 영상 처리 장치 및 방법과 이를 위한 기록매체에 관한 것이다.The present invention relates to a digital image processing apparatus and method for solving a problem occurring when using a conventional low pass filter, and a recording medium therefor.

구체적으로 저역 통과 필터를 이용한 영상 처리시 소요 시간을 감소시키고, 원하지 않는 블러링 현상을 해소할 수 있는 영상 처리 장치 및 방법을 제공한다.In particular, the present invention provides an image processing apparatus and method for reducing the time required for image processing using a low pass filter and eliminating unwanted blurring.

본 발명에 의한 디지털 영상 처리 방법은 (a) 복수의 픽셀로 이루어진 영상 중 제1픽셀의 픽셀값을 필터링하여 제1픽셀의 결과값을 도출하는 단계; (b) 제2픽셀의 픽셀값과 상기 제1픽셀의 픽셀값의 차이를 구하여 대조값과 비교하는 단계; 및 (c) 상기 차이가 대조값보다 크지 않은 경우 상기 제1픽셀의 결과값에 상기 제2픽셀의 픽셀값과 상기 제1픽셀의 픽셀값의 차이를 더하여 상기 제2픽셀의 결과값으로 하는 단계;를 포함한다.The digital image processing method according to the present invention comprises the steps of: (a) deriving a result value of the first pixel by filtering the pixel value of the first pixel of the image consisting of a plurality of pixels; (b) obtaining a difference between the pixel value of the second pixel and the pixel value of the first pixel and comparing it with the control value; And (c) adding the difference between the pixel value of the second pixel and the pixel value of the first pixel to the result value of the second pixel when the difference is not greater than the control value. It includes;

여기서 상기 필터링은 평균화 필터(mean filter), 미디언 필터(median filter), 가우시안 필터(Gaussian filter), 쌍방향 필터(bilateral filter)등을 포함하는 저역 통과 필터링 처리하는 것을 특징으로 한다.The filtering may be performed by a low pass filtering process including a mean filter, a median filter, a Gaussian filter, a bilateral filter, and the like.

여기서 상기 필터링 시 마스크는 2X2 또는 3X3 마스크를 사용하는 것을 특징으로 한다.In the filtering, the mask may be a 2X2 or 3X3 mask.

또한 상기 (c) 단계는 상기 차이가 대조값보다 큰 경우 상기 제2픽셀의 픽셀값을 필터링하여 제2픽셀의 결과값을 도출하는 단계; 인 것을 특징으로 한다.Also, the step (c) may include the step of deriving a result value of the second pixel by filtering the pixel value of the second pixel when the difference is greater than the control value; It is characterized by that.

본 발명은 상기 디지털 영상 처리 방법을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 기록매체로 구현될 수도 있다.The present invention may be implemented as a recording medium recording a program for executing the digital image processing method on a computer.

본 발명에 따른 디지털 영상 처리 장치는 복수의 픽셀로 이루어진 영상 중 제1픽셀의 픽셀값을 필터링하여 제1픽셀의 결과값을 도출하는 필터 처리부; 제2픽셀의 픽셀값과 상기 제1픽셀의 픽셀값의 차이를 구하는 계산부; 상기 계산부에서 구한 상기 차이를 대조값과 비교하는 비교부; 및 상기 비교부의 비교 결과 상기 차이가 대조값보다 크지 않은 경우 상기 제1픽셀의 결과값에 상기 제2픽셀의 픽셀값과 상기 제1픽셀의 픽셀값의 차이를 더하여 상기 제2픽셀의 결과값으로 처리결과 도출부; 를 포함한다.In accordance with another aspect of the present invention, a digital image processing apparatus includes: a filter processor configured to filter a pixel value of a first pixel of an image including a plurality of pixels to derive a result value of the first pixel; A calculation unit for obtaining a difference between the pixel value of the second pixel and the pixel value of the first pixel; A comparison unit comparing the difference obtained by the calculation unit with a control value; And a difference between the pixel value of the second pixel and the pixel value of the first pixel by adding the difference value between the pixel value of the first pixel and the result value of the first pixel when the difference is not greater than the control value. Processing result deriving unit; It includes.

여기서 상기 필터 처리부에서 상기 필터링은 저역 통과 필터링 처리하는 것을 특징으로 하며, 상기 필터링 시 마스크는 2X2 또는 3X3 마스크를 사용하는 것을 특징으로 한다.In the filter processing unit, the filtering may be performed by low pass filtering, and the filtering may be performed using a 2X2 or 3X3 mask.

또한 상기 필터 처리부는 상기 비교부의 비교 결과 상기 차이가 대조값보다 크거나 같은 경우 상기 제2픽셀의 픽셀값을 필터링하여 제2픽셀의 결과값을 도출하는 것을 특징으로 한다.The filter processor may be further configured to derive a result value of the second pixel by filtering the pixel value of the second pixel when the difference is greater than or equal to the control value as a result of the comparison.

본 발명의 실시 예에 따르면 영상 처리를 위한 영상 축소 및 확대의 단계가 불필요하고 픽셀별로 필터링 횟수가 감소되어 빠른 시간 안에 디지털 영상 처리된 영상을 얻을 수 있는 장점이 있고, 상술한 영상 축소 및 확대의 단계를 제외시킴으로써 의도하지 않은 에지의 블러링 현상을 방지하는 특징이 있다.According to an exemplary embodiment of the present invention, an image reduction and enlargement step for image processing is unnecessary, and the number of filtering for each pixel is reduced, so that a digital image processed image can be obtained in a short time. By eliminating the step, there is a feature that prevents unintended blurring of the edges.

본 발명에 관한 디지털 영상 처리 방법 및 장치를 디지털 영상 처리부를 구비한 디지털 카메라를 일 실시 예로서 설명한다. 그러나 본 발명에 의한 디지털 영상 처리 장치가 디지털 카메라에 한정되는 것은 아니며, 카메라폰, PDA(personal digital assistant), PMP(portable multimedia player), 캠코더 등의 디지털 영상 처리가 가능한 모든 장치에도 적용될 수 있다.A digital camera having a digital image processing unit of a digital image processing method and apparatus according to the present invention will be described as an embodiment. However, the digital image processing apparatus according to the present invention is not limited to a digital camera, but may be applied to any device capable of digital image processing such as a camera phone, a personal digital assistant (PDA), a portable multimedia player (PMP), a camcorder, and the like.

도 3은 본 발명의 일 실시 예에 따른 디지털 카메라의 구성을 나타낸 블럭도이다.3 is a block diagram showing a configuration of a digital camera according to an embodiment of the present invention.

도 3을 참조하면, 상기 디지털 카메라는 피사체로부터의 광학 신호를 입력하는 광학부(11), 상기 광학부(11)를 구동하는 구동부(12), 상기 광학부(11)를 통해 입력된 광학 신호를 전기 신호로 변환하는 촬상 소자(13)를 구비한다. 또한 촬상 소자(13)로부터 제공된 전기 신호에 대해 노이즈 저감 처리, 디지털 신호로 변환 처리 등의 신호 처리를 행하는 아날로그 신호 처리부(14) 및 아날로그 신호 처리부(14)로부터 제공된 영상 데이터에 대해 영상 신호 처리를 행하는 디지털 신호 처리부(DSP; 20)를 구비한다. 상기 영상 데이터는 디지털 신호 처리부(20)에 실시간으로 입력될 수 있지만, 필요에 따라 버퍼 메모리(미도시)에 임시 저장된 후, 디지털 신호 처리부(20)에 공급될 수 있다. 그리고 상기 디지털 카메라는 영상 데이터 및 소정 정보를 저장하는 기록부(15)와 영상을 디스플레이하는 표시부(16)를 구비한다. 아울러, 각종 알고리즘 및 데이터를 저장하는 저장부(17), 사용자의 조작 신호를 입력하는 조작부(18)를 구비할 수 있다. 그리고 상기 디지털 카메라는 사용 자의 조작 신호 또는 입력된 영상에 따라 각 구성부를 전반적으로 제어하는 제어부(19)를 구비한다.Referring to FIG. 3, the digital camera includes an optical unit 11 for inputting an optical signal from a subject, a driver 12 for driving the optical unit 11, and an optical signal input through the optical unit 11. The imaging element 13 which converts into an electrical signal is provided. In addition, the video signal processing is performed on the video signal provided from the analog signal processing unit 14 and the analog signal processing unit 14 which perform signal processing such as noise reduction processing and digital signal conversion processing on the electrical signal provided from the imaging element 13. A digital signal processor (DSP) 20 is provided. The image data may be input to the digital signal processor 20 in real time, but may be temporarily stored in a buffer memory (not shown) and then supplied to the digital signal processor 20 as necessary. The digital camera includes a recording unit 15 storing image data and predetermined information, and a display unit 16 displaying an image. In addition, a storage unit 17 for storing various algorithms and data, and an operation unit 18 for inputting a user's operation signal may be provided. In addition, the digital camera includes a control unit 19 for controlling each component as a whole according to a user's manipulation signal or an input image.

상기 DSP(20)의 동작에 관하여 도 4를 함께 참조하여 더욱 상세히 설명한다.The operation of the DSP 20 will be described in more detail with reference to FIG. 4.

도 4를 참고하면 본 발명의 일 실시예에 의한 DSP(20)는 필터 처리부(21), 계산부(22), 비교부(23), 처리결과 도출부(24)를 포함한다.Referring to FIG. 4, the DSP 20 according to an exemplary embodiment of the present invention includes a filter processor 21, a calculator 22, a comparator 23, and a process result derivator 24.

필터 처리부(21)는 DSP로 입력된 복수의 픽셀로 이루어진 원본영상 중 임의의 픽셀의 픽셀값을 필터링하여 상기 임의의 픽셀의 결과값을 도출한다. 구체적으로 제1픽셀의 픽셀값에 대한 필터링 결과인 제1픽셀의 결과값을 얻을 수 있다. 또한 뒤에 설명될 계산부(22)와 비교부(23)의 수행결과에 따라 제2픽셀의 픽셀값을 필터링한 제2픽셀의 결과값을 얻을 수도 있다. 이 때 제1 픽셀 및 제2픽셀은 원본 영상에 포함된 수개의 픽셀 중 임의로 지정된 것이며, 픽셀값은 지정된 픽셀의 밝기 값이다. 픽셀을 설정하는 방법에 관해서는 계산부(22)를 먼저 설명한 다음 기술하기로 한다.The filter processing unit 21 derives a result value of the arbitrary pixel by filtering the pixel value of an arbitrary pixel of the original image composed of a plurality of pixels input to the DSP. In more detail, a result value of the first pixel, which is a filtering result of the pixel value of the first pixel, may be obtained. Also, a result value of the second pixel obtained by filtering the pixel value of the second pixel may be obtained according to the results of the calculation unit 22 and the comparison unit 23 described later. In this case, the first pixel and the second pixel are arbitrarily designated among several pixels included in the original image, and the pixel value is a brightness value of the designated pixel. The calculation unit 22 will be described first with respect to the method for setting the pixel.

필터 처리부(21)에서는 제1픽셀의 픽셀값을 평균화 필터(mean filter), 미디언 필터(median filter), 가우시안 필터(Gaussian filter), 쌍방향 필터(bilateral filter) 등과 같은 저역 통과 필터를 이용한 필터링을 하여 제1픽셀의 결과값을 획득한다. 본 발명에 의한 디지털 영상 처리 방법은 스무딩, 블러링 처리된 영상을 얻기 위한 목적이므로 사용되는 필터는 스무딩, 블러링 효과를 도출하는 저역 통과 필터라면 상기 나열된 종류 외에도 사용 가능하다. 또한 영상의 윤곽선 및 경계선을 강조하여 샤프닝(sharpening) 효과를 내는 고역 통과 필터가 원본 영상과 저역 통과 필터링 영상의 차이로 구성되는 경우에는 본 발명을 수단으로 적용할 수 있다.The filter processor 21 filters the pixel value of the first pixel using a low pass filter such as a mean filter, a median filter, a Gaussian filter, a bilateral filter, and the like. To obtain a result value of the first pixel. Since the digital image processing method according to the present invention is for obtaining a smoothed and blurred image, the filter used may be used in addition to the types listed above as long as the low pass filter derives the smoothing and blurring effect. In addition, the present invention can be applied as a means when the high pass filter that has a sharpening effect by emphasizing the outline and boundary of the image is composed of the difference between the original image and the low pass filtered image.

계산부(22)는 제2픽셀의 픽셀값과 상기 제1픽셀의 픽셀값의 차이를 구한다. 여기서 제1픽셀 및 제2픽셀은 복수개의 픽셀을 포함하는 마스크(mask) 안에서 설정된 임의의 픽셀을 지칭하는 것이다. 마스크의 크기는 제한이 없으나 마스크가 클수록 처리해야 하는 픽셀의 개수가 많아지고 본 발명에 의한 영상 처리 속도는 더욱 빨라지는 반면, 과도한 스무딩으로 영상의 질은 떨어진다. 따라서 영상 처리 속도는 빠르게 하되 영상의 질 또한 종래의 영상 처리 수준으로 유지하기 위한 마스크의 범위 설정이 필요하다. 본 발명의 일 실시예에 의하면 2X2 즉 총4개의 픽셀개수가 포함된 마스크 또는 3X3 즉 총9개의 픽셀개수가 포함된 마스크가 바람직하다.The calculator 22 calculates a difference between the pixel value of the second pixel and the pixel value of the first pixel. Here, the first pixel and the second pixel refer to any pixel set in a mask including a plurality of pixels. The size of the mask is not limited, but the larger the mask, the greater the number of pixels to be processed and the faster the image processing speed according to the present invention, while the image quality is degraded due to excessive smoothing. Therefore, it is necessary to set a range of mask to increase the image processing speed but maintain the image quality at the conventional image processing level. According to an embodiment of the present invention, a mask including a total of 4 pixels or 2X2 or a mask including a total of 9 pixels of 3X3 is preferable.

제1픽셀로 설정된 픽셀은 하나의 마스크 안에서 한 번 설정되면 마스크에 포함된 픽셀의 디지털 영상 처리가 종료될 때까지 계속 제1픽셀로 고정된다. 제1픽셀은 2X2마스크를 구성하는 픽셀 4개 중에서 임의로 설정되거나 3X3 마스크를 구성하는 픽셀 9개 중에서 임의로 설정될 수 있다, 바람직하게는 3X3 마스크를 구성하는 픽셀 9개 중에서 가운데 있는 픽셀을 제1픽셀로 정하는 것이 좋다.Once the pixel set as the first pixel is set once in one mask, the pixel is fixed to the first pixel until the digital image processing of the pixels included in the mask is completed. The first pixel may be arbitrarily set among 4 pixels constituting the 2X2 mask or arbitrarily set among 9 pixels constituting the 3X3 mask. Preferably, the first pixel of the 9 pixels constituting the 3X3 mask may be selected. It is good to set as.

제2픽셀은 제1픽셀에 인접한 픽셀을 의미하며 제1픽셀과 달리 가변한다. 일 실시예로 2X2마스크의 경우 제2픽셀로 지칭되는 픽셀은 3개가 존재하며, 가운데 있는 픽셀을 제1픽셀로 정한 3X3 마스크의 경우 제2픽셀로 지칭되는 픽셀은8개 존재한다.The second pixel means a pixel adjacent to the first pixel and is different from the first pixel. In an embodiment, three pixels are referred to as the second pixel in the case of the 2X2 mask, and eight pixels are referred to as the second pixel in the case of the 3X3 mask in which the center pixel is the first pixel.

비교부(23)는 상기 계산부(22)의 계산 결과인 원본 영상에 포함된 제2픽셀의 픽셀값과 제1픽셀의 픽셀값의 차이를 대조값과 비교한다. 대조값은 사용자에 의하여 임의로 지정될 수 있는 값이며 제조사에서 제품을 출시할 때 지정된 값을 설정할 수도 있고, 펌웨어 업그레이드에 의하여 변경될 수도 있는 값이다. 대조값에 의하여 본 발명에 의한 디지털 영상 처리 장치 및 방법을 적용할 수 있는 범위가 설정된다. 대조값의 범위와 본 발명에 의한 디지털 영상 처리 결과의 상관관계는 하기 도 5의 본 발명의 일 실시예를 통하여 설명한다.The comparison unit 23 compares the difference between the pixel value of the second pixel and the pixel value of the first pixel included in the original image, which is the calculation result of the calculation unit 22, with the control value. The control value is a value that can be arbitrarily designated by the user. The control value can be set when the product is released from the manufacturer or can be changed by firmware upgrade. The range to which the digital image processing apparatus and method according to the present invention can be applied is set by the check value. The correlation between the range of the contrast value and the digital image processing result according to the present invention will be described with reference to FIG. 5.

처리결과 도출부(24)는 상기 비교부(23)의 비교 결과 원본 영상에 포함된 제2픽셀의 픽셀값과 제1픽셀의 픽셀값의 차이가 대조값보다 크지 않은 경우 연산을 수행한다. 구체적으로 필터 처리부(21)에서 얻은 제1픽셀의 결과값에 계산부(22)에서 얻은 제2픽셀의 픽셀값과 제1픽셀의 픽셀값의 차이를 더하여 제2픽셀의 결과값으로 하며 종래 픽셀의 필터링에 의한 영상 처리보다 빠른 시간 안에 제2픽셀의 결과값을 얻을 수 있는 특징이 있다.The processing result deriving unit 24 performs an operation when the difference between the pixel value of the second pixel and the pixel value of the first pixel included in the original image is not greater than the control value as a result of the comparison by the comparing unit 23. Specifically, the difference between the pixel value of the second pixel and the pixel value of the first pixel obtained by the calculation unit 22 is added to the result value of the first pixel obtained by the filter processing unit 21 to be the result value of the second pixel. The result of the second pixel can be obtained in a faster time than the image processing by filtering.

추가적으로 상기 비교부(23)의 비교 결과 원본 영상에 포함된 제2픽셀의 픽셀값과 제1픽셀의 픽셀값의 차이가 대조값보다 큰 경우에는 제2픽셀의 픽셀값을 상기 필터 처리부(21)에서 필터링하여 제2픽셀의 결과값을 도출한다. 제2픽셀의 픽셀값과 제1픽셀의 픽셀값의 차이가 대조값과 동일한 경우도 포함한다.In addition, when the difference between the pixel value of the second pixel and the pixel value of the first pixel included in the original image is greater than the reference value as a result of the comparison by the comparator 23, the filter processor 21 may determine the pixel value of the second pixel. Filter by to derive the result of the second pixel. It also includes a case where the difference between the pixel value of the second pixel and the pixel value of the first pixel is equal to the control value.

도 5는 본 발명에 의한 일 실시예인 컨볼루션 연산을 사용한 영상 처리 과정을 나타낸 것이다.5 illustrates an image processing process using a convolution operation according to an embodiment of the present invention.

도 5를 참조하면 2X2 마스크를 기준으로 할 때 마스크를 구성하는 픽셀 중에 [y][x]의 좌표를 가지는 제1픽셀의 픽셀값인 F[y][x]를 지정하고, 수학식 1과 같이 콘볼루션 처리하여 제1픽셀의 결과값인 R[y][x]를 얻는다.Referring to FIG. 5, F [y] [x], which is a pixel value of a first pixel having a coordinate of [y] [x], is designated among pixels constituting the mask when the 2X2 mask is referred to. Similarly, convolution is performed to obtain R [y] [x], which is the result of the first pixel.

Figure 112009025762634-PAT00001
Figure 112009025762634-PAT00001

여기서 y 및 x는 영상의 픽셀 좌표, R은 처리 결과 픽셀값이며, F는 원본 영상의 픽셀값이며, M은 마스크, p는 마스크에 포함된 픽셀의 위치이고, M(p)는 위치 p에서 마스크 값, F(P)는 위치 p에서 원본 영상의 픽셀값을 의미한다.Where y and x are the pixel coordinates of the image, R is the pixel value of the processed image, F is the pixel value of the original image, M is the mask, p is the position of the pixels contained in the mask, and M (p) is at position p The mask value, F (P), means a pixel value of the original image at position p.

[y][x]의 좌표를 가지는 제1픽셀에 인접하여 [y][x+1]의 좌표를 가지는 제2픽셀의 픽셀값 F[y][x+1]을 지정한 다음 그 차이의 절대값을 구한다. Specify the pixel value F [y] [x + 1] of the second pixel with coordinates [y] [x + 1] adjacent to the first pixel with coordinates of [y] [x], and then specify the absolute value of the difference. Find the value.

이렇게 구한 차이를 대조값(T)과 비교하여 차이가 대조값(T)보다 크지 않은 경우, 제1픽셀과 제2픽셀의 밝기가 유사한 것으로 간주되며 실제 영상에서 윤곽선이나 경계선과 같은 에지가 아닌 단일의 면 등에 해당하는 부분이므로 블러링 할 수 있다. 이 경우 수학식 2와 같이 수학식 1에서 구한 제1픽셀의 필터링된 결과값 R[y][x]에 제2픽셀의 픽셀값 F[y][x+1]과 제1픽셀의 픽셀값 F[y][x]의 차이를 더하여 처리된 결과인 제2픽셀의 결과값 R[y][x+1]을 얻는다.If this difference is compared with the control value (T) and the difference is not greater than the control value (T), the brightness of the first and second pixels is considered to be similar and a single, rather than edge, such as an outline or boundary in the actual image. It is a part corresponding to the surface of, so it can be blurred. In this case, as shown in Equation 2, the pixel value F [y] [x + 1] of the second pixel and the pixel value of the first pixel in the filtered result value R [y] [x] of the first pixel obtained in Equation 1 The difference of F [y] [x] is added to obtain the result value R [y] [x + 1] of the second pixel which is the processed result.

Figure 112009025762634-PAT00002
Figure 112009025762634-PAT00003
,
Figure 112009025762634-PAT00002
Figure 112009025762634-PAT00003
,

제2픽셀의 픽셀값과 제1픽셀의 픽셀값의 차이와 대조값(T)을 비교한 결과 차이가 대조값(T)보다 크거나 같은 경우, 제1픽셀의 픽셀값과 제2픽셀의 픽셀값의 차이가 큰 것이고 이는 픽셀의 밝기가 일정 수준 이상으로 상이한 것이다. 즉 실제 영상에서 이미지의 윤곽선에 해당하는 부분, 머리카락과 같은 가는 선, 경계부분일 가능성이 크므로 블러링 할 경우 경계선이 뭉개지고 흐릿하게 보이거나 가는 선이 사라져 버리는 문제가 발생한다. 따라서 이 경우 수학식 3과 같이 픽셀 별로 컨볼루션 처리하여 표현하는 것이 바람직하다. When the difference between the pixel value of the second pixel and the pixel value of the first pixel and the contrast value T are greater than or equal to the contrast value T, the pixel value of the first pixel and the pixel of the second pixel are equal. The difference in values is large, which means that the brightness of the pixels differs by more than a certain level. That is, since the image is likely to be a part of the contour of the image, a thin line such as hair, and a boundary part, the blurring of the boundary line is crushed and blurred or the thin line disappears when blurring. Therefore, in this case, it is preferable to express by convolutional processing for each pixel as shown in Equation (3).

Figure 112009025762634-PAT00004
Figure 112009025762634-PAT00004

마스크에 포함된 픽셀 중 제1픽셀에 인접한 복수개의 픽셀 [y+1][x] 및 [y+1][x+1]에 대하여서도 동일한 과정을 반복하여 결과값 R[y+1][x] 및 R[y+1][x+1]을 얻는다. 이 과정은 상술한 [y][x]의 좌표를 가지는 픽셀의 픽셀값 F[y][x]를 이용하는 과정과 동일하므로 생략하도록 한다. 이렇게 주어진 마스크에 포함된 복수의 픽셀에 대한 디지털 영상 처리를 마치면 또 다른 마스크를 지정하여 처리를 하고 최종적으로 원본 영상 전체에 대하여 디지털 영상 처리된 결과를 얻을 수 있다.The same process is repeated for the plurality of pixels [y + 1] [x] and [y + 1] [x + 1] adjacent to the first pixel among the pixels included in the mask, and the result value R [y + 1] [ x] and R [y + 1] [x + 1]. This process is the same as the process of using the pixel value F [y] [x] of the pixel having the coordinates of [y] [x]. When the digital image processing of the plurality of pixels included in the given mask is completed, another mask may be designated and processed, and finally, the result of digital image processing on the entire original image may be obtained.

종래의 컨볼루션 연산을 통한 영상 처리 방법은 영상을 축소한 후 마스크에 포함된 픽셀마다 컨볼루션 연산을 수행한 후 영상을 확대함으로써 저역 통과 필터 링 효과를 가진 결과물을 얻을 수 있었다. 이 경우 영상을 축소 및 확대하고, 픽셀마다 컨볼루션 처리를 수행하여야 하므로 영상 처리의 소요시간이 상당하였다.In the conventional image processing method using a convolution operation, a result having a low pass filtering effect may be obtained by reducing the image and then performing the convolution operation for each pixel included in the mask and then expanding the image. In this case, the time required for image processing was considerable because the image was reduced and enlarged and the convolution processing was performed for each pixel.

그러나 본 발명에 의한 일 실시예인 영상 처리 방법은 영상의 축소 및 확대 과정을 빼고, 픽셀에 대한 컨볼루션 연산은 최소 한번만 수행한 후 마스크에 포함된 픽셀의 픽셀값 차이값를 구하여 그 차이가 크지 않은 경우 차이값만큼 더하는 간단한 연산 과정으로 종래의 저역 통과 필터링 효과를 얻음으로써 빠른 속도의 디지털 영상 처리가 가능하다.However, the image processing method according to an embodiment of the present invention removes a process of reducing and enlarging an image, performs a convolution operation on a pixel at least once, and then obtains a pixel value difference value of pixels included in a mask, and the difference is not large. It is possible to achieve high speed digital image processing by obtaining a conventional low pass filtering effect by a simple calculation process that adds the difference value.

본 발명의 또 다른 실시예인 미디언 필터를 사용한 디지털 영상 처리 과정 또한 상기 컨볼루션 연산을 통한 일 실시예와 유사하다. 다만 2X2 마스크를 기준으로 할 때 마스크를 구성하는 픽셀 중에 임의로 제1픽셀의 픽셀값인 F[y][x]를 지정하고, 미디언 필터 처리(Mid)하여 결과값인 R[y][x]를 얻는 과정만이 식 4와 같이 상이할 뿐이다. 따라서 이하의 과정은 설명을 생략한다.A digital image processing process using a median filter, which is another embodiment of the present invention, is also similar to the embodiment through the convolution operation. However, based on the 2X2 mask, among the pixels constituting the mask, F [y] [x], which is the pixel value of the first pixel, is arbitrarily designated, and the resultant R [y] [x is obtained by performing median filter processing (Mid). ] Only differs from Equation 4. Therefore, the following process will be omitted.

Figure 112009025762634-PAT00005
Figure 112009025762634-PAT00005

여기서 y 및 x는 영상의 픽셀 좌표, R은 처리 결과 픽셀값이며,

Figure 112009025762634-PAT00006
는 마스크와 동일한 위치의 원본 영상의 픽셀값이며,
Figure 112009025762634-PAT00007
은 픽셀에 대한 마스크값이다.Where y and x are the pixel coordinates of the image, R is the pixel value of the processing result,
Figure 112009025762634-PAT00006
Is the pixel value of the original image at the same position as the mask.
Figure 112009025762634-PAT00007
Is the mask value for the pixel.

도 6은 본 발명에 의한 디지털 영상 처리 방법의 일 실시예를 나타낸 흐름도 이다.6 is a flowchart illustrating an embodiment of a digital image processing method according to the present invention.

먼저 DSP에 입력된 원본영상에서 마스크를 구성하는 픽셀값 중에 임의로 제1픽셀 및 제1픽셀에 인접한 제2픽셀을 지정한다.(S601) 그 다음 제1픽셀의 픽셀값을 필터링 처리하여 제1픽셀의 결과값을 얻는다.(S602) 상기 필터링 처리된 결과값은 DSP의 내부 저장부에 저장하거나 별도의 메모리에 따로 저장할 수 있다.First, a first pixel and a second pixel adjacent to the first pixel are arbitrarily designated among pixel values constituting a mask in the original image input to the DSP. (S601) Then, the pixel value of the first pixel is filtered to process the first pixel. (S602) The filtered result may be stored in the internal storage of the DSP or separately in a separate memory.

제2픽셀의 픽셀값에서 제1픽셀의 픽셀값의 차이를 대조값과 비교한다.(S603) 여기서 대조값은 사용자에 의하여 임의로 설정될 수 있으며, 제조사에서 영상 별로 지정된 대조값을 설정할 수도 있다.The difference between the pixel value of the first pixel and the pixel value of the second pixel is compared with the contrast value (S603). The contrast value may be arbitrarily set by a user, and the manufacturer may set a contrast value specified for each image.

S603 단계에서 비교 결과 제2픽셀의 픽셀값에서 제1픽셀의 픽셀값의 차이 가 대조값보다 크지 않은 경우, 즉 제1픽셀 및 제2픽셀의 밝기의 차이가 크지 않은 경우에는 S602 단계에서 구한 제1픽셀의 결과값에 제2픽셀의 픽셀값에서 제1픽셀의 픽셀값의 차이를 더하여 제2픽셀의 결과값을 구한다.(S604) 이 단계는 종래의 저역 통과 필터를 통한 영상 처리 효과를 픽셀간의 밝기 값의 차이를 더하는 근사적인 방법으로 간단하고 빠르게 구현하는 것이다.   If the difference between the pixel values of the second pixel and the pixel value of the second pixel is not greater than the reference value as a result of the comparison in step S603, that is, if the brightness difference between the first pixel and the second pixel is not large, the first step obtained in step S602 is performed. The result value of the second pixel is obtained by adding the difference of the pixel value of the first pixel from the pixel value of the second pixel to the result value of one pixel. (S604) In this step, the image processing effect through the conventional low pass filter is applied to the pixel. It is a simple and fast implementation in an approximate way that adds the difference between the brightness values.

S603 단계에서 비교 결과 제2픽셀의 픽셀값에서 제1픽셀의 픽셀값의 차이 가 대조값보다 크거나 같은 경우, 즉 제1픽셀 및 제2픽셀 밝기가 일정 수준 이상으로 상이하므로 S603 단계와 같은 영상 처리를 수행하는 경우 이미지의 경계선이 뭉개지거나, 흐릿하게 표현되고, 가는 선이 사라져 버리는 문제가 발생한다. 따라서 이 경우 제2픽셀의 픽셀값을 별도로 필터링하여 제2픽셀의 결과값을 얻는다.(S605)If the difference between the pixel values of the second pixel and the pixel value of the first pixel is greater than or equal to the control value in step S603, that is, the brightness of the first pixel and the second pixel differs by a predetermined level or more, the same image as in step S603. When the processing is performed, the boundary lines of the image are crushed or blurred, and the thin lines disappear. Therefore, in this case, the pixel value of the second pixel is filtered separately to obtain a result value of the second pixel.

마스크에 포함된 다른 픽셀값에 대하여서도 동일한 방법을 반복하여 처리하 여 결과값을 얻는다. 주어진 마스크에 포함된 픽셀에 대한 영상 처리를 마치면 또 다른 마스크를 지정하여 영상 처리를 하고 최종적으로 원본 영상 전체에 대한 영상 처리된 결과를 얻을 수 있다.The same method is repeated for the other pixel values included in the mask to obtain the result. After image processing is performed on the pixels included in a given mask, another mask may be designated to perform image processing, and finally, an image processed result of the entire original image may be obtained.

도 7 내지 도 9는 본 발명에 의한 일 실시예인 디지털 영상 처리 방법의 결과를 종래의 영상 처리 결과와 비교한 것이다.7 to 9 compare the results of the digital image processing method according to the embodiment of the present invention with the conventional image processing results.

도 7은 원본영상(a)를 바탕으로 7X7 마스크에 포함된 픽셀에 대한 가우시안 필터링 결과를 나타낸 것인데, (b)는 종래의 가우시안 필터링 결과이며 (c)는 본 발명의 일 실시예에 의한 영상 처리 결과이다. (b)와 (c)를 비교하면 처리 결과 영상의 상태는 유사하나 (b)의 경우 0.047초가 소요된 반면, (c)는 0.015초가 소요되어 본 발명에 의하면 약 3배 정도 빠르게 영상 처리를 할 수 있는 장점이 있다.7 shows a Gaussian filtering result for pixels included in a 7X7 mask based on the original image (a), (b) shows a conventional Gaussian filtering result, and (c) shows image processing according to an embodiment of the present invention. The result is. Comparing (b) and (c), the result of the processing is similar, but (b) takes 0.047 seconds, while (c) takes 0.015 seconds, and according to the present invention, the image processing is about three times faster. There are advantages to it.

도 8은 원본영상(a)를 바탕으로 3X3 마스크에 포함된 픽셀에 대한 미디언 필터 처리한 결과를 나타낸 것인데, (b)는 종래의 미디언 필터 처리 결과이며 (c)는 본 발명의 일 실시예에 의한 영상 처리 결과이다. 이 경우 또한 유사한 화질의 처리 결과를 얻기 위하여 (b)는 0.031초 (c)는 0.016초가 소요되어 본 발명에 의한 경우 약 2배 빠르게 영상 처리가 가능하다는 것을 확인할 수 있다.FIG. 8 shows the result of the median filter processing on the pixels included in the 3X3 mask based on the original image (a), (b) shows a result of the conventional median filter processing, and (c) shows one embodiment of the present invention. Image processing result by example. In this case, it can be seen that (b) takes 0.031 seconds (c) takes 0.016 seconds in order to obtain similar image quality processing results, so that the image processing can be performed about twice as fast according to the present invention.

마지막으로 도 9는 원본영상(a)를 바탕으로 11X11 마스크에 대한 쌍방향 필터 처리한 결과로 (b)는 종래의 쌍방향 필터 처리 결과이며, (c)는 본 발명의 일 실시예에 의한 영상 처리 결과이다. 역시 유사한 화질의 영상 처리 결과에 대하여 (b)는 0.153초 (c)는 좀 더 빠른 0.107초가 소요된다. 이로부터 본 발명에 의한 영상 처리 결과 종래의 영상 처리를 위한 영상 축소 및 확대가 불필요하고, 픽셀마다 필터에 의한 연산을 할 필요가 없으므로 빠른 시간 안에 디지털 영상 처리된 영상을 얻을 수 있음을 확인할 수 있다.Finally, Figure 9 is a result of the two-way filter processing on the 11X11 mask based on the original image (a) (b) is a conventional two-way filter processing result, (c) is an image processing result according to an embodiment of the present invention to be. Also, for image processing results of similar image quality, (b) takes 0.153 seconds and (c) takes 0.107 seconds faster. From this, as a result of the image processing according to the present invention, it is not necessary to reduce and enlarge an image for conventional image processing, and it is possible to obtain a digital image processed image in a short time since there is no need to perform a calculation by a filter for each pixel. .

도 7 내지 도 9에서 확인할 수 있는 바와 같이 본 발명에 의한 영상 처리 방법은 미디언 필터(median filter), 가우시안 필터(Gaussian filter), 쌍방향 필터(bilateral filter) 등과 같은 저역 통과 필터를 사용하는 영상 처리 알고리즘에 광범위하게 사용 가능하다. 따라서 본 발명에 의한 영상 처리 방법은 특히 영상 처리 속도에 제한적인 임베디드(embedded) 시스템에서 저역 통과 필터를 사용해야 하는 경우 유용하다.As can be seen in Figures 7 to 9, the image processing method according to the present invention is an image processing method using a low pass filter such as a median filter, a Gaussian filter, a bilateral filter, and the like. It is widely available for algorithms. Therefore, the image processing method according to the present invention is particularly useful when a low pass filter should be used in an embedded system which is limited in image processing speed.

이제까지 본 발명에 대하여 그 바람직한 실시 예들을 중심으로 살펴보았다. 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 본 발명이 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 변형된 형태로 구현될 수 있음을 이해할 수 있을 것이다. 그러므로 개시된 실시 예들은 한정적인 관점이 아니라 설명적인 관점에서 고려되어야 한다. 본 발명의 범위는 전술한 설명이 아니라 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 할 것이다.So far I looked at the center of the preferred embodiment for the present invention. Those skilled in the art will appreciate that the present invention can be implemented in a modified form without departing from the essential features of the present invention. Therefore, the disclosed embodiments should be considered in descriptive sense only and not for purposes of limitation. The scope of the present invention is shown in the claims rather than the foregoing description, and all differences within the scope will be construed as being included in the present invention.

도 1 및 도 2는 종래의 기술에 의하여 미디언 필터와 쌍방향 필터를 이용한 영상 처리 결과를 나타낸 것이다.1 and 2 illustrate image processing results using a median filter and a bidirectional filter according to the related art.

도 3은 본 발명에 관한 디지털 영상 처리 장치의 일 실시 예로서, 디지털 카메라의 구성을 나타낸 블럭도이다.3 is a block diagram showing a configuration of a digital camera as an embodiment of a digital image processing apparatus according to the present invention.

도 4는 본 발명의 일 실시예로서 디지털 카메라 내부의 DSP의 구성을 나타낸 블록도이다.4 is a block diagram showing the configuration of a DSP inside a digital camera according to an embodiment of the present invention.

도 5는 본 발명에 의한 일 실시예인 컨볼루션 연산을 사용한 영상 처리 과정을 나타낸 것이다. 5 illustrates an image processing process using a convolution operation according to an embodiment of the present invention.

도 6은 본 발명에 의한 디지털 영상 처리 방법의 일 실시예를 나타낸 흐름도이다.6 is a flowchart illustrating an embodiment of a digital image processing method according to the present invention.

도 7 내지 도 9는 본 발명에 의한 일 실시예인 디지털 영상 처리 방법의 결과를 종래의 영상 처리 결과와 비교한 것이다.7 to 9 compare the results of the digital image processing method according to the embodiment of the present invention with the conventional image processing results.

Claims (9)

(a) 복수의 픽셀로 이루어진 영상 중 제1픽셀의 픽셀값을 필터링하여 제1픽셀의 결과값을 도출하는 단계;(a) deriving a result value of the first pixel by filtering the pixel value of the first pixel among an image composed of a plurality of pixels; (b) 제2픽셀의 픽셀값과 상기 제1픽셀의 픽셀값의 차이를 구하여 대조값과 비교하는 단계; 및(b) obtaining a difference between the pixel value of the second pixel and the pixel value of the first pixel and comparing it with the control value; And (c) 상기 차이가 상기 대조값보다 크지 않은 경우 상기 제1픽셀의 결과값에 상기 제2픽셀의 픽셀값과 상기 제1픽셀의 픽셀값의 차이를 더하여 상기 제2픽셀의 결과값으로 하는 단계;(c) adding the difference between the pixel value of the second pixel and the pixel value of the first pixel to the result value of the second pixel when the difference is not greater than the control value. ; 를 포함하는 디지털 영상 처리 방법.Digital image processing method comprising a. 제1항에 있어서The method of claim 1 상기 필터링은 저역 통과 필터링인 것을 특징으로 하는 디지털 영상 처리 방법.And the filtering is low pass filtering. 제2항에 있어서The method of claim 2 상기 필터링 시 마스크는 2X2 또는 3X3 마스크를 사용하는 것을 특징으로 하는 디지털 영상 처리 방법.The filtering method is a digital image processing method, characterized in that using a 2X2 or 3X3 mask. 제1항에 있어서The method of claim 1 상기 (c) 단계는 Step (c) is 상기 차이가 상기 대조값보다 크거나 같은 경우 상기 제2픽셀의 픽셀값을 필터링하여 상기 제2픽셀의 결과값을 도출하는 단계;Filtering the pixel value of the second pixel when the difference is greater than or equal to the control value to derive a result value of the second pixel; 인 것을 특징으로 하는 디지털 영상 처리 방법.Digital image processing method characterized in that. 제1항 내지 제4항 중 어느 한 항의 디지털 영상 처리 방법을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 기록매체.A recording medium on which a program for executing the digital image processing method of any one of claims 1 to 4 is recorded on a computer. 복수의 픽셀로 이루어진 영상 중 제1픽셀의 픽셀값을 필터링하여 제1픽셀의 결과값을 도출하는 필터 처리부;A filter processor configured to filter a pixel value of the first pixel among the plurality of pixels to derive a result value of the first pixel; 제2픽셀의 픽셀값과 상기 제1픽셀의 픽셀값의 차이를 구하는 계산부;A calculation unit for obtaining a difference between the pixel value of the second pixel and the pixel value of the first pixel; 상기 계산부에서 구한 상기 차이를 대조값과 비교하는 비교부; 및A comparison unit comparing the difference obtained by the calculation unit with a control value; And 상기 비교부의 비교 결과 상기 차이가 상기 대조값보다 크지 않은 경우 상기 제1픽셀의 결과값에 상기 제2픽셀의 픽셀값과 상기 제1픽셀의 픽셀값의 차이를 더하여 상기 제2픽셀의 결과값으로 하는 처리결과 도출부;When the difference is not greater than the reference value, the comparison result of the comparison unit adds the difference between the pixel value of the second pixel and the pixel value of the first pixel to the result value of the second pixel. Processing result deriving unit; 를 포함하는 디지털 영상 처리 장치.Digital image processing apparatus comprising a. 제6항에 있어서The method of claim 6 상기 필터 처리부에서In the filter processing unit 상기 필터링은 저역 통과 필터링인 것을 특징으로 하는 디지털 영상 처리 장치.And the filtering is low pass filtering. 제7항에 있어서The method of claim 7, 상기 필터 처리부에서 In the filter processing unit 상기 필터링 시 마스크는 2X2 또는 3X3 마스크를 사용하는 것을 특징으로 하는 디지털 영상 처리 장치.And the mask is a 2x2 or 3x3 mask. 제8항에 있어서The method of claim 8 상기 필터 처리부는 The filter processing unit 상기 비교부의 비교 결과 상기 차이가 상기 대조값보다 크거나 같은 경우 상기 제2픽셀의 픽셀값을 필터링하여 상기 제2픽셀의 결과값을 도출하는 것을 특징으로 하는 디지털 영상 처리 장치.And a result value of the second pixel is derived by filtering the pixel value of the second pixel when the difference is greater than or equal to the comparison value as a result of the comparison.
KR1020090037001A 2009-04-28 2009-04-28 Apparatus and method of digital image processing and program recording medium for the same KR101595257B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020090037001A KR101595257B1 (en) 2009-04-28 2009-04-28 Apparatus and method of digital image processing and program recording medium for the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020090037001A KR101595257B1 (en) 2009-04-28 2009-04-28 Apparatus and method of digital image processing and program recording medium for the same

Publications (2)

Publication Number Publication Date
KR20100118262A true KR20100118262A (en) 2010-11-05
KR101595257B1 KR101595257B1 (en) 2016-02-18

Family

ID=43404597

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020090037001A KR101595257B1 (en) 2009-04-28 2009-04-28 Apparatus and method of digital image processing and program recording medium for the same

Country Status (1)

Country Link
KR (1) KR101595257B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102011081444A1 (en) 2010-11-25 2012-06-14 Lg Display Co., Ltd. LIQUID CRYSTAL DISPLAY DEVICE

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030025276A (en) * 2001-05-17 2003-03-28 코닌클리케 필립스 일렉트로닉스 엔.브이. Segmentation unit for and method of determining a second segment and image processing apparatus
KR20060051846A (en) * 2004-09-29 2006-05-19 가부시끼가이샤 도시바 Apparatus and method for processing moving picture, and storage means for storing computer program for processing moving picture
KR20060112449A (en) * 2005-04-27 2006-11-01 삼성전자주식회사 Method and apparatus for processing bayer-pattern color digital image signal
KR20080037850A (en) * 2006-10-27 2008-05-02 주식회사 칼라짚미디어 Real-time image processing apparatus and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030025276A (en) * 2001-05-17 2003-03-28 코닌클리케 필립스 일렉트로닉스 엔.브이. Segmentation unit for and method of determining a second segment and image processing apparatus
KR20060051846A (en) * 2004-09-29 2006-05-19 가부시끼가이샤 도시바 Apparatus and method for processing moving picture, and storage means for storing computer program for processing moving picture
KR20060112449A (en) * 2005-04-27 2006-11-01 삼성전자주식회사 Method and apparatus for processing bayer-pattern color digital image signal
KR20080037850A (en) * 2006-10-27 2008-05-02 주식회사 칼라짚미디어 Real-time image processing apparatus and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102011081444A1 (en) 2010-11-25 2012-06-14 Lg Display Co., Ltd. LIQUID CRYSTAL DISPLAY DEVICE

Also Published As

Publication number Publication date
KR101595257B1 (en) 2016-02-18

Similar Documents

Publication Publication Date Title
US8837849B2 (en) Method for noise-robust color changes in digital images
US9142009B2 (en) Patch-based, locally content-adaptive image and video sharpening
KR101743861B1 (en) Methods of image fusion for image stabilization
US8947450B2 (en) Method and system for viewing and enhancing images
EP2059902B1 (en) Method and apparatus for image enhancement
US8494217B2 (en) Image processing apparatus, image processing method, and program
KR20070080973A (en) Post-processing circuit according to the frequency components of the image signal
KR20150109063A (en) electronic device for processing image and method thereof
WO2021179826A1 (en) Image processing method and related product
US20200265566A1 (en) Processing image data in a comp0site image
US10650499B1 (en) Fast and effective image inpainting for reticle removal
JP2008500757A (en) Method and system for enhancing the sharpness of a video signal
JP6542524B2 (en) IMAGE PROCESSING APPARATUS, IMAGE PROCESSING METHOD, AND PROGRAM
JP5493191B2 (en) Image restoration apparatus and image restoration method
JP7265316B2 (en) Image processing device and image processing method
JP6520920B2 (en) Image processing device
KR101595257B1 (en) Apparatus and method of digital image processing and program recording medium for the same
JP7387917B2 (en) Content-based image processing
JP6579101B2 (en) Image processing apparatus, image processing method, and program
JP5447867B2 (en) Image restoration apparatus and image restoration method
CN111416937B (en) Image processing method, image processing device, storage medium and mobile equipment
KR100905524B1 (en) An apparatus and a method of sharpening for the blurred blown-up images
CN117575969B (en) Infrared image quality enhancement method and device, electronic equipment and storage medium
KR101332030B1 (en) Method of magnifying image and computer readable medium storing the program thereof
JP4930638B2 (en) Image correction apparatus and image correction method

Legal Events

Date Code Title Description
N231 Notification of change of applicant
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
LAPS Lapse due to unpaid annual fee