KR20030037007A - Method for removal image noise using selective median filter - Google Patents

Method for removal image noise using selective median filter Download PDF

Info

Publication number
KR20030037007A
KR20030037007A KR1020010067967A KR20010067967A KR20030037007A KR 20030037007 A KR20030037007 A KR 20030037007A KR 1020010067967 A KR1020010067967 A KR 1020010067967A KR 20010067967 A KR20010067967 A KR 20010067967A KR 20030037007 A KR20030037007 A KR 20030037007A
Authority
KR
South Korea
Prior art keywords
value
filter
filter processing
pixel value
pixel
Prior art date
Application number
KR1020010067967A
Other languages
Korean (ko)
Other versions
KR100423561B1 (en
Inventor
전병우
박운기
Original Assignee
학교법인 성균관대학
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 학교법인 성균관대학 filed Critical 학교법인 성균관대학
Priority to KR10-2001-0067967A priority Critical patent/KR100423561B1/en
Publication of KR20030037007A publication Critical patent/KR20030037007A/en
Application granted granted Critical
Publication of KR100423561B1 publication Critical patent/KR100423561B1/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/21Circuitry for suppressing or minimising disturbance, e.g. moiré or halo
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression

Landscapes

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

Abstract

PURPOSE: A method for filtering video noise using a selective median filter is provided to selectively remove noise using a pre-processing filter that discriminates an original image from noise to filter the noise so as to improve picture quality. CONSTITUTION: An input pixel value is compared with pixel values of pixels in proximity to the input pixel, to judge whether or not filtering is carried out for the input pixel. According to the judged result, filtering is performed using the current pixel value and a predetermined number of pixel values of pixels adjacent to the current pixel. When the input pixel value becomes a maximum or minimum value for the neighboring pixel values in the judgement step, the filtering is carried out. The filtering step outputs median of the input pixel value and the predetermined number of neighboring pixel values(S30).

Description

선택적 중간값 필터를 이용한 영상잡음 제거방법{Method for removal image noise using selective median filter}Method for removal image noise using selective median filter

본 발명은 선택적 중간값 필터를 이용한 영상잡음 제거방법에 관한 것으로, 특히 원 영상과 잡음을 구별함과 동시에 임의의 화소 선택에 따른 중간값 계산량을 감소시키는 전처리 필터를 이용하여 화질선명도 향상 및 계산처리량 감소를 이룰 수 있는 선택적 중간값 필터를 이용한 영상잡음 제거방법에 관한 것이다.The present invention relates to a method for removing image noise using an optional median filter. In particular, image quality is improved and computational throughput is improved by using a preprocessing filter that distinguishes the original image from noise and reduces the median computation amount according to an arbitrary pixel selection. The present invention relates to a method for removing image noise using an optional median filter which can achieve a reduction.

영상 데이터에 포함된 잡음은 시각적인 화질을 저하시킬 뿐만 아니라, 정지영상 또는 동영상 압축 시스템의 압축 효율을 크게 떨어뜨린다. 일반적으로 잡음이 포함된 영상이 그렇지 않은 영상에 비해, 같은 압축 조건하에서의 압축효율이 잡음의 종류 또는 강도에 따라 수 배에서 수십 배까지 나빠진다. 이는 잡음에 포함되어 있는 고주파 성분 때문에 DCT(Descrete Cosine Transform) 변환과 같은 변환 부호화 후 양자화를 수행하여도 높은 주파수 성분 계수가 많이 남아 있게 되어 가변장 부호화기에 의해 발생되는 가변장 코드들의 길이가 잡음이 섞이지 않은 경우보다 상대적으로 길어지기 때문이다. 따라서 압축 부호화 수행 전에 영상에 포함되어 있는 잡음을 제거하기 위해 수행하는 전처리 필터처리는 압축효율 유지에 매우 중요하다. 하지만 그 동안 사용되어 왔던 잡음 제거를 위한 필터는 원래 영상이 갖고있는 선명도를 떨어뜨려 화면의 선명도가 낮아지는 단점을 수반하게 되는 문제가 있어 왔다. 이는 원래 영상에 포함되어 있는 화소 값과 영상에 포함된 잡음을 구별하지 않고 무분별하게 필터를 취하기 때문에 나타나는 문제이다.The noise contained in the image data not only degrades the visual quality, but also greatly reduces the compression efficiency of the still image or video compression system. In general, compared to an image with no noise, the compression efficiency under the same compression condition is worse than several to several tens of times depending on the type or intensity of the noise. Because of the high frequency components included in the noise, many high frequency component coefficients remain even after quantization after transform coding such as a DCT (Descrete Cosine Transform) transform. This is because it is relatively longer than when it is not mixed. Therefore, preprocessing filter processing to remove noise included in the image before compression coding is very important for maintaining compression efficiency. However, the noise filter used in the past has a problem that it is accompanied with the disadvantage that the sharpness of the screen is lowered by lowering the sharpness of the original image. This is a problem caused by indiscriminately filtering without distinguishing the pixel value included in the original image and the noise included in the image.

그러면 여기서 종래의 필터처리에 대해 살펴보자.Now, let's look at the conventional filter process.

도 1a 및 도 1b는 종래의 중간값 필터링 개념을 나타낸 해당 화소 및 제어블록도이다. 도 1a 및 도 1b에 도시된 바와 같이, 종래 기술에 따른 전처리 필터의 일례로 3X3 중간값(median) 필터(10)는 입력된 현재의 화소값(a)과 그 위치에 인접한 8개의 화소값(1,2,…7, 8)을 포함한 총9개의 화소값을 크기순으로 정렬한 후, 그 크기 순으로 중간에 해당하는 값으로 새롭게 대체된 화소값(a')을 출력한다. 즉, 현재의 화소값(a)이 도 1a에 나타난 3X3 윈도우 내의 화소값 중 중간값으로 대체되는 것이다. 이러한 기존의 중간값 필터의 잡음제거 방법은 특히 임펄스성의 잡음이 영상에 부가되었을 경우 우수한 성능을 발휘하는 것으로 알려져 있다. 이는 어떤 화소 위치에 잡음이 섞였을 경우 그 화소값은 그 주위에 있는 화소값과 크게 구별되어 현저한 차이가 생기게 될 여지가 많은데, 이를 3X3의 중간값(median)으로 바꾸어 주면 주변 화소(1,2,…7, 8)와의 선명도를 유지하면서도 잡음을 없앨 수 있기 때문이다. 이러한 목적으로 주위 화소값과 비교하여 가장 중간에 위치한 값으로 대체해줌으로써 눈에 띄는 잡음을 제거해주는 것이다.1A and 1B are a corresponding pixel and control block diagram illustrating a conventional median filtering concept. As shown in FIGS. 1A and 1B, as an example of a pre-processing filter according to the prior art, the 3X3 median filter 10 may include an input current pixel value a and eight pixel values adjacent to the position (a). A total of nine pixel values including 1,2, ... 7, 8) are sorted in size order, and then the pixel values a 'newly replaced by the values corresponding to the middle are outputted. In other words, the current pixel value a is replaced with the median value among the pixel values in the 3X3 window shown in FIG. 1A. The noise reduction method of the conventional median filter is known to show excellent performance, especially when impulsive noise is added to the image. When noise is mixed at a pixel position, the pixel value is greatly distinguished from the pixel value around it, and there is a lot of room for a significant difference. If it is changed to the median of 3X3, the neighboring pixels (1, 2) This is because noise can be eliminated while maintaining the sharpness with. For this purpose, it is possible to eliminate noticeable noise by substituting the middle value compared with the surrounding pixel value.

그런데 이와 같은 종래의 중간값 필터는 다음과 같은 문제점을 가지고 있다.However, such a conventional median filter has the following problems.

현재의 화소값(a)이 주변 8개(1,2,…7, 8)의 정렬된 화소값 중 최대 또는 최소가 아닌 값을 갖게 되는 경우, 즉 잡음이 아닐 확률이 높음에도 불구하고, 현재화소값(a)을 대신하여 중간값(a')을 할당하게 된다. 이럴 경우 필터링되어 얻어진 영상의 해당위치의 화소값은 원래 화소값을 잃어버렸기 때문에 잡음제거 필터가 사용된 영상은 그렇지 않은 영상에 비해 주관적으로 화면이 뭉개지는 느낌을 주게 되어 화면의 선명도를 저하시키는 문제를 야기시킨다. 이와 같이 원래의 화소값을 잃어버리는 경우에 대비하여, 입력된 현재의 화소가 잡음을 포함한 경우라도 잡음이 섞인 화소값이 그 주변 화소값들과 비교하여 최대 또는 최소가 되는 등 현저한 화소값을 갖지 않는다면 화면의 선명도 유지 측면에서 필터링 없이 그대로 두는 경우가 오히려 화질의 선명도 유지면에서 좋을 수 있다. 이는 본 잡음을 제거하기 위한 필터링이 기본적으로 저주파 통과 필터링의 성격을 갖기 때문이다.If the current pixel value a has a value which is not the maximum or minimum among the eight arranged pixels (1, 2, ..., 7, 8), that is, the probability that it is not noise is high, Instead of the pixel value a, an intermediate value a 'is assigned. In this case, since the pixel value at the corresponding position of the filtered image has lost the original pixel value, the image using the noise reduction filter has a subjective feeling of crushing of the screen compared to the image that is not. Cause. In case of losing the original pixel value as described above, even if the inputted current pixel contains noise, the pixel value with noisy noise does not have a significant pixel value such as being maximum or minimum compared with the surrounding pixel values. If not, it may be better to keep the screen clear without filtering in terms of maintaining the sharpness of the screen. This is because the filtering to remove this noise basically has the characteristics of low pass filtering.

한편, 종래 중간값 필터의 또 다른 문제점은, 주변 화소값을 크기순으로 정렬하는데 소요되는 계산량의 문제이다. 즉, 중간값 필터처리를 하기 위하여 현재 위치의 화소값(a)과 이에 이웃한 8개의 화소값(1,2,…7, 8)의 크기를 순서대로 정렬해야 하는데, 한 영상에 걸쳐 모두 수행하기 위해서는 24,708개(QCIF=176 X 144인 경우)의 화소에 대해서 이 과정을 수행해야 하고, 이를 초당 10 프레임에 적용한다고 하면 1초당 247,080번의 정렬을 수행해야 한다. 영상의 압축 부호화 이전에 잡음 제거를 위한 전처리 필터로써 이 정도의 계산량을 수행하기 곤란한 저가형 또는 간략화된 시스템에서는 계산량 문제로 인하여 가장 간단하다고 알려진 도 1b에 도시된 종래의 중간값 필터를 적용할 수 없는 문제점이 있었다.On the other hand, another problem of the conventional median filter is a problem of the amount of computation required to sort the neighboring pixel values in size order. That is, in order to perform the intermediate value filter processing, the size of the pixel value (a) of the current position and the eight pixel values (1, 2, ..., 7, 8) adjacent to each other should be arranged in order. To do this, this process should be performed for 24,708 pixels (if QCIF = 176 X 144), and if applied to 10 frames per second, 247,080 alignments should be performed per second. It is not possible to apply the conventional median filter shown in FIG. There was a problem.

따라서, 본 발명의 목적은 화질의 선명도를 향상시키기 위해 원 영상과 잡음을 판별하여 처리하는 전처리 필터를 이용하여 선택적으로 잡음을 제거하는 선택적 중간값 필터를 이용한 영상잡음 제거방법을 제공하는데 있다.Accordingly, an object of the present invention is to provide an image noise removing method using a selective median filter that selectively removes noise by using a preprocessing filter for discriminating and processing the original image and noise to improve the clarity of the image quality.

또한, 본 발명의 또 다른 목적은 인접된 화소에서 임의의 화소 선택에 따른 중간값 계산에 의해 전처리 필터의 계산량을 최소화하여 저가형 시스템 및 기존의 시스템을 활용할 수 있는 선택적 중간값 필터를 이용한 영상잡음 제거방법을 제공하는데 있다.In addition, another object of the present invention is to minimize the amount of calculation of the pre-processing filter by the median calculation according to the selection of any pixel in the adjacent pixels to remove the image noise using the low-cost system and the selective median filter that can utilize the existing system To provide a method.

도 1a 및 도 1b는 종래의 중간값 필터링 개념을 나타낸 해당 화소 및 제어블록도,1A and 1B are corresponding pixel and control block diagrams illustrating a conventional median filtering concept;

도 2는 본 발명의 선택적인 잡음 제거를 위한 전처리기를 나타낸 제어블록도,2 is a control block diagram illustrating a preprocessor for selective noise cancellation of the present invention;

도 3은 본 발명의 필터처리 판단부의 동작과정을 1차원적으로 도식화한 도면,3 is a diagram illustrating an operation process of the filter processing determination unit of the present invention in one dimension;

도 4는 본 발명의 선택적인 잡음제거 과정을 나타낸 흐름도,4 is a flowchart illustrating an optional noise reduction process of the present invention;

도 5a 및 도 5b는 본 발명의 제1 실시예에 의한 십자 모양의 중간값 필터처리 과정을 나타낸 화소 및 필터처리부의 처리블록도,5A and 5B are processing block diagrams of a pixel and filter processing unit showing a cross-shaped median filter processing process according to a first embodiment of the present invention;

도 6a 및 도 6b는 본 발명의 제2 실시예에 의한 대각선 모양의 중간값 필터처리 과정을 나타낸 화소 및 필터처리부의 처리블록도,6A and 6B are processing block diagrams of a pixel and a filter processing unit showing a diagonal value filter processing process according to a second embodiment of the present invention;

도 7은 본 발명의 제3 실시예에 의한 다른 필터처리 과정을 나타낸 필터처리부의 처리블록도이다.7 is a process block diagram of a filter processing unit showing another filter processing process according to the third embodiment of the present invention.

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

10 : 3X3 중간값 필터 20 : 필터처리 판단부10: 3X3 median filter 20: filter processing determination unit

21 : 필터처리부21: filter processing unit

상기한 본 발명의 목적을 달성하기 위한 본 발명의 선택적 중간값 필터를 이용한 영상잡음 제거방법은, 입력된 화소값과, 입력 화소위치에 인접한 소정 개수의 화소값들 간의 크기를 비교하여 상기 입력된 화소에 대해 필터처리 여부를 결정하는 필터처리 판단단계; 및 상기 필터처리 여부판단에 따라, 선택적으로 현재 화소값과 이에 인접한 소정 개수의 화소값을 이용하여 필터처리하는 필터처리단계를 포함하여 이루어진 것을 특징으로 한다.In order to achieve the object of the present invention, an image noise removing method using an optional median filter of the present invention comprises comparing the input pixel value with a predetermined number of pixel values adjacent to an input pixel position. A filter processing determining step of determining whether or not to filter the pixel; And a filter processing step of filtering using the current pixel value and a predetermined number of pixel values adjacent thereto depending on whether the filter processing is determined.

이 때, 상기 필터처리 판단단계에서는, 입력 화소에 대해 상하좌우로 인접한 4개의 인접 화소값과 비교하여 입력된 화소값이 인접 화소값에 대해 최대 또는 최소값이 될 경우에 상기 필터처리단계를 거치도록 한 것이 바람직하다.At this time, in the filter processing determination step, the filter processing step is performed when the input pixel value becomes the maximum or minimum value for the adjacent pixel value compared to four adjacent pixel values vertically, horizontally, and adjacent to the input pixel. One is preferable.

또한, 상기 필터처리단계는 입력된 화소값과 이에 상하좌우로 인접한 총 5개의 화소값의 중간값을 출력하거나, 입력된 화소값과 이에 좌상, 우상, 좌하, 우하의 인접한 총 5개의 화소값의 중간값을 출력하거나, 입력된 화소값과 이에 인접한 소정 개수의 화소값의 중간값을 출력할 수 있다.The filter processing may output an intermediate value of the input pixel value and a total of five pixel values adjacent to the top, bottom, left, and right sides, or the input pixel value and the total of five pixel values adjacent to the top, right, left, bottom, and bottom of the input pixel value. The median value may be output, or the median value of the input pixel value and a predetermined number of pixel values adjacent thereto may be output.

한편, 상기 필터처리단계는 입력된 화소값과 이에 인접한 소정 개수의 화소값에 선택적으로 부가되는 가중치의 평균값을 화소값으로 출력하는 것도 바람직할 것이다.Meanwhile, in the filter processing step, it may be preferable to output an average value of weights selectively added to input pixel values and a predetermined number of pixel values adjacent thereto as pixel values.

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

도 2는 본 발명의 선택적인 잡음 제거를 위한 전처리기를 나타낸 제어블록도이다. 도 2에 도시된 바와 같이, 본 발명의 의한 전처리기는 잡음포함 여부를 판단하는 필터처리 판단부(20)와, 상기 필터처리 판단부(20)의 판단여부에 따라 실제적인 필터처리가 이루어지는 필터처리부(21)로 구성된다.2 is a control block diagram illustrating a preprocessor for selective noise cancellation of the present invention. As shown in FIG. 2, the preprocessor according to the present invention includes a filter processing determining unit 20 that determines whether noise is included, and a filter processing unit in which actual filter processing is performed according to whether the filter processing determining unit 20 determines. It consists of 21.

상기한 본 발명의 전처리기 동작에 대해 설명한다.The preprocessor operation of the present invention described above will be described.

상기 필터처리 판단부(20)는 선택적 필터 적용을 위해 먼저 입력된 현재 화소(P)가 잡음을 포함하고 있는지 여부를 판단한다. 즉, 현재 위치의 화소(P)가 잡음을 포함하고 있다고 필터처리 판단부(20)에서 판단할 경우에는 필터처리부(21)를 통하여 필터처리하여 출력(P')하도록 하고, 현재의 화소(P)가 잡음을 포함하고 있지 않다고 판단할 경우에는 필터처리부(21)에 의한 필터처리를 생략하도록 하여 현재 화소값(P)을 그대로 유지시키게 된다. 이에 따라, 종래 방법의 문제점이었던 원래 화소값(P)을 잃어버리는 필터처리에서 발생하는 영상의 뭉개짐(Blurring) 현상을 방지할 수 있으며, 또한 잡음이 없을 경우에 원래 화소값(P)을 그래로 출력시킴으로써 필터처리부(21) 동작과정이 생략되어 계산량 감축 효과를 얻을 수 있다.The filter processing determination unit 20 determines whether or not the current pixel P, which has been previously inputted for the selective filter application, contains noise. That is, when the filter processing determination unit 20 determines that the pixel P at the current position contains noise, the filter processing unit 21 filters the output P 'and outputs the current pixel P. If it is determined that does not contain noise, the filter processing by the filter processing section 21 is omitted so that the current pixel value P is maintained as it is. Accordingly, it is possible to prevent the blurring of an image caused by the filter process that loses the original pixel value P, which was a problem of the conventional method, and to prevent the original pixel value P from being noisy. By outputting the result, the operation of the filter processor 21 may be omitted, thereby obtaining a calculation amount reduction effect.

이 때, 필터처리 판단부(20)는 현재 위치의 화소값(P)이 잡음을 포함하고 있는지 여부를 판단할 목적으로 현재 화소의 상하좌우 또는 대각선상에 위치한 4개의 화소값과 현재 화소값(P)을 비교하여 현재 화소값(P)이 주변 4개 화소값과 비교하여 최대, 또는 최소값인지 여부를 판단한다. 이는, 주변 화소에 비해 현재 화소가 현저한 차이가 있는 지 여부를 결정하기 위한 것이다. 여기서 최대, 최소를 판단하는 이유는 일반적으로 현재 화소에 잡음이 포함된 경우 그 화소값(P)이 이웃한 화소값과 극명하게 다른 값을 갖는 경우가 많기 때문이다.At this time, the filter processing determiner 20 determines the four pixel values and the current pixel values (up, down, left, right, or diagonally) of the current pixel in order to determine whether the pixel value P of the current position includes noise. By comparing P), it is determined whether the current pixel value P is the maximum or minimum value by comparing with the surrounding four pixel values. This is to determine whether there is a significant difference between the current pixel and the surrounding pixels. The reason for determining the maximum and minimum is that in general, when the current pixel includes noise, the pixel value P has a value that is clearly different from the neighboring pixel value.

도 3은 본 발명의 필터처리 판단부의 동작과정을 1차원적으로 도식화한 도면이다. 도 3에 도시된 바와 같이, 필터처리 판단부(20)는 현재의 화소값(Pcenter)이 이웃한 두개의 화소값 사이 즉, 좌우방향일 경우 Pleft, Pright, 그리고 상하방향일 경우 Pup, Pbottom에 따라 결정되는 범위에 존재하게 되면 잡음이 아니라고 판단한다.3 is a diagram schematically illustrating an operation process of the filter processing determining unit of the present invention in one dimension. As illustrated in FIG. 3, the filter processing determiner 20 may include P left , P right , and P when the current pixel value P center is between two neighboring pixel values, that is, in the left and right directions. If it is within the range determined by up and P bottom , it is determined that it is not noise.

도 4는 본 발명의 선택적인 잡음제거 과정을 나타낸 흐름도이다. 도 4에 도시된 바와 같이, 현재 화소의 좌우에 위치한 화소값(Pleft, Pright)들 사이에 현재 화소값(Pcenter)이 위치하는 지 여부를 먼저 판단하고(S10), 이에 해당이 되지 않을 경우 마찬가지로 상하에 위치한 화소값(Pup, Pbottom)들 간의 관계를 다시 고려하여 판단한다(S20). 상기 판단결과, 현재 화소값(Pcenter)이 상하좌우에 위치한 화소값(Pup, Pbottom, Pleft, Pright)들 사이에 위치하지 않을 경우에는 필터처리부에서 중간값 필터처리를 수행하고(S30), 이들 사이에 적어도 어느 하나가 위치할 경우에는 해당 현재 화소값(Pcenter)은 필터처리부를 거치지 않고 입력된 현재 화소값(Pcenter)으로 출력시키게 된다(S40).4 is a flowchart illustrating an optional noise reduction process of the present invention. As shown in FIG. 4, it is first determined whether the current pixel value P center is located between the pixel values P left and P right positioned to the left and right of the current pixel (S10). If not, it is determined by considering the relationship between the pixel values (P up , P bottom ) located above and below (S20). As a result of the determination, when the current pixel value P center is not located between the pixel values P up , P bottom , P left , and P right positioned up , down, left , and right , the filter processor performs an intermediate value filter process ( S30), if at least one position therebetween is thereby output as the current pixel value (P center) is the current pixel value (P center) the input to bypass the filter processing (S40).

본 발명의 설명은 좌우방향으로 먼저 판단한 후 상하 방향으로 판단한 예를 보이고 있으나, 그 순서를 바꾸어 상하방향을 판단한 후 좌우를 판단하는 형태로 실시할 수도 있다.Although the description of the present invention shows an example of judging in the left and right direction first and then in the up and down direction, it may be implemented in a form of judging the left and right after judging the up and down direction by changing the order.

도 5a 및 도 5b는 본 발명의 제1 실시예에 의한 십자 모양의 중간값 필터처리 과정을 나타낸 화소 및 필터처리부의 처리블록도이다. 도 5a 및 도 5b에 도시된 바와 같이, 계산처리량의 감소를 위해 3X3의 윈도우 대신 대각선 방향의 4개의 화소(1, 2, 3, 4)들을 제외한 현재 위치 화소(P)와 이에 인접한 상하좌우의 4개 화소값을 이용하여 총5개의 화소값을 크기 순서대로 정렬한 다음(50), 5개 화소의 중간값을 구한다(51). 이러한 방법은 기존의 9개의 중간값을 구하는 방법에 비해 계산량이 감소될 뿐만 아니라, 필터처리를 수행한 경우 그 결과가 기존의 방법에 비해 뭉개지는 현상이 줄어드는 개선효과가 있다.5A and 5B are processing block diagrams of a pixel and filter processing unit showing a cross-shaped intermediate value filter processing according to a first embodiment of the present invention. As shown in FIGS. 5A and 5B, in order to reduce the computational throughput, the pixel of the current position P and the adjacent top, bottom, left, and right sides except for the four pixels 1, 2, 3, and 4 in the diagonal direction instead of the window of 3 × 3 are used. A total of five pixel values are arranged in size order using four pixel values (50), and then an intermediate value of five pixels is obtained (51). This method not only reduces the amount of calculation compared to the conventional method of obtaining nine median values, but also has an improvement effect in that the result of crushing is reduced when the filter process is performed.

도 6a 및 도 6b는 본 발명의 제2 실시예에 의한 대각선 모양의 중간값 필터처리 과정을 나타낸 화소 및 필터처리부의 처리블록도이다. 도 6a 및 도 6b에 도시된 바와 같이, 도 5와 대비하여 현재 화소 상하좌우의 화소값 대신 대각선 방향의 4개의 화소(1, 2, 3, 4)와 현재 화소값(P)에 대해 동일하게 적용하고(60), 중간값을 계산(61)하도록 실현된 형태이다.6A and 6B are process block diagrams of a pixel and filter processing unit illustrating a diagonal median filter processing process according to a second embodiment of the present invention. As shown in FIGS. 6A and 6B, four pixels 1, 2, 3, and 4 in the diagonal direction are identical to the current pixel value P, instead of the pixel values of the current pixel up, down, left, and right as compared to FIG. 5. It is a form realized to apply (60) and calculate (61) an intermediate value.

도 5 및 도 6에서 제시한 중간값 계산 과정을 응용하면, 주변 8개의 화소 중에서 임의로 소정 개수의 화소만을 선택하여 현재화소와 중간값을 계산하도록 구현할 수 있음을 짐작할 수 있다. 이에 따라 계산량이 감소되고 필터처리를 수행한 경우 그 결과가 기존의 방법에 비해 뭉개지는 현상이 줄어드는 동일한 개선효과를 얻을 수 있다.By applying the intermediate value calculation process shown in FIGS. 5 and 6, it can be assumed that a predetermined number of pixels may be arbitrarily selected from the surrounding eight pixels to calculate the current pixel and the median value. As a result, when the calculation amount is reduced and the filtering process is performed, the same improvement effect as the result is reduced compared to the existing method can be obtained.

도 7은 본 발명의 제3 실시예에 의한 다른 필터처리 과정을 나타낸 필터처리부의 처리블록도이다. 도 7에 도시된 바와 같이, 중간(median)값 대신 주변 화소와의 가중 평균값을 현재 화소값으로 대체하여(70) 가중 평균치 계산값을 현재 위치의 화소값으로 대체(71)해 주는 또 다른 실시예를 보이고 있다. 이는 상기한 도 5, 도 6에서 제시한 필터처리부에 모두 적용될 수 있음은 주지의 사실이다.7 is a process block diagram of a filter processing unit showing another filter processing process according to the third embodiment of the present invention. As shown in FIG. 7, another embodiment in which a weighted average value with surrounding pixels is replaced with a current pixel value instead of a median value (70), and the weighted average calculated value is replaced with a pixel value at the current position (71). An example is shown. It is well known that this can be applied to all of the filter processing units shown in FIGS. 5 and 6.

상술한 바와 같이, 본 발명에 따른 선택적 중간값 필터를 이용한 영상잡음 제거방법은, 화소값 계산처리량의 감소와 화질의 선명도를 향상시킴으로써 향후 영상전화류의 실시간 대화형 응용, 이동망상에서의 비디오 통신, 인터넷상의 비디오 응용서비스 등의 멀티미디어 동영상 서비스의 전처리 필터로 그 활용범위가 매우 다양하게 응용될 수 있다.As described above, the video noise elimination method using the selective median filter according to the present invention provides a real-time interactive application for video telephony, video communication in mobile networks by reducing pixel value calculation throughput and improving the sharpness of image quality. As a pre-processing filter for multimedia video services such as video application service on the Internet, it can be applied to various applications.

본 발명은 상술한 실시예에 한정되지 않으며, 본 발명의 기술적 사상 내에서 당분야의 통상의 지식을 가진 자에 의하여 많은 변형이 가능함은 명백할 것이다.The present invention is not limited to the above-described embodiment, and it will be apparent that many modifications are possible by those skilled in the art within the technical spirit of the present invention.

Claims (8)

입력된 화소값과, 입력 화소위치에 인접한 소정 개수의 화소값들 간의 크기를 비교하여 상기 입력된 화소에 대해 필터처리 여부를 결정하는 필터처리 판단단계; 및A filter processing determining step of determining whether or not to filter the input pixel by comparing an input pixel value with a magnitude between a predetermined number of pixel values adjacent to an input pixel position; And 상기 필터처리 여부판단에 따라, 선택적으로 현재 화소값과 이에 인접한 소정 개수의 화소값을 이용하여 필터처리하는 필터처리단계A filter processing step of selectively filtering using the current pixel value and a predetermined number of pixel values adjacent thereto according to the determination of the filter processing; 를 포함하여 이루어진 것을 특징으로 하는 선택적 중간값 필터를 이용한 영상잡음 제거방법.Image noise removal method using a selective median filter, characterized in that made. 제 1 항에 있어서, 상기 필터처리 판단단계에서는,The method of claim 1, wherein in the filter processing determination step, 입력 화소에 대해 인접한 소정 개수의 화소값과 비교하여 입력된 화소값이 인접 화소값에 대해 최대 또는 최소값이 될 경우에 상기 필터처리단계를 거치도록 한 것을 특징으로 하는 선택적 중간값 필터를 이용한 영상잡음 제거방법.Image noise using an optional median filter characterized in that the filter processing step is performed when the input pixel value becomes the maximum or minimum value for the adjacent pixel value compared to a predetermined number of adjacent pixel values for the input pixel. How to remove. 제 1 항 또는 제 2 항에 있어서, 상기 필터처리 판단단계에서는,The method of claim 1 or 2, wherein in the filter processing determination step, 입력 화소에 대해 상하좌우로 인접한 4개의 인접 화소값과 비교하여 입력된 화소값이 인접 화소값에 대해 최대 또는 최소값이 될 경우에 상기 필터처리단계를거치도록 한 것을 특징으로 하는 선택적 중간값 필터를 이용한 영상잡음 제거방법.An optional intermediate value filter is set so that the filter processing step is performed when the input pixel value becomes the maximum or minimum value of the adjacent pixel value compared with four adjacent pixel values vertically, horizontally, and horizontally adjacent to the input pixel. Image noise reduction method using. 제 1 항 또는 제 2 항에 있어서, 상기 필터처리 판단단계에서는,The method of claim 1 or 2, wherein in the filter processing determination step, 입력 화소에 대해 좌상, 우상, 좌하, 우하로 인접한 4개의 인접 화소값과 비교하여 입력된 화소값이 인접 화소값에 대해 최대 또는 최소값이 될 경우에 상기 필터처리단계를 거치도록 한 것을 특징으로 하는 선택적 중간값 필터를 이용한 영상잡음 제거방법.Characterized in that the filter processing step is performed when the input pixel value becomes the maximum or minimum value for the adjacent pixel value compared to four adjacent pixel values adjacent to the upper left, upper right, lower left and right with respect to the input pixel. Image noise reduction method using selective median filter. 제 1 항에 있어서, 상기 필터처리단계는 입력된 화소값과 이에 상하좌우로 인접한 총 5개의 화소값의 중간값을 출력하는 것을 특징으로 하는 선택적 중간값 필터를 이용한 영상잡음 제거방법.2. The method of claim 1, wherein the filter processing step outputs a median value of an input pixel value and a total of five pixel values adjacent to each other up, down, left, and right. 제 1 항에 있어서, 상기 필터처리단계는 입력된 화소값과 이에 좌상, 우상, 좌하, 우하의 인접한 총 5개의 화소값의 중간값을 출력하는 것을 특징으로 하는 선택적 중간값 필터를 이용한 영상잡음 제거방법.The method of claim 1, wherein the filter processing step removes image noise using an optional median filter, wherein the median value of the input pixel value and a total of five pixel values adjacent to the upper left, upper right, lower left, and lower right is output. Way. 제 1 항에 있어서, 상기 필터처리단계는 입력된 화소값과 이에 인접한 소정 개수의 화소값의 중간값을 출력하는 것을 특징으로 하는 선택적 중간값 필터를 이용한 영상잡음 제거방법.2. The method of claim 1, wherein the filtering process outputs an intermediate value between an input pixel value and a predetermined number of pixel values adjacent thereto. 제 1 항 또는 제 5 항 내지 제 7 항중의 어느 한 항에 있어서, 상기 필터처리단계는 입력된 화소값과 이에 인접한 소정 개수의 화소값에 선택적으로 부가되는 가중치의 평균값을 화소값으로 출력하는 것을 특징으로 하는 선택적 중간값 필터를 이용한 영상잡음 제거방법.8. The method as claimed in any one of claims 1 to 5, wherein the filter processing includes outputting, as a pixel value, an average value of weights selectively added to an input pixel value and a predetermined number of pixel values adjacent thereto. A video noise reduction method using an optional median filter.
KR10-2001-0067967A 2001-11-01 2001-11-01 Method for removal image noise using selective median filter KR100423561B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2001-0067967A KR100423561B1 (en) 2001-11-01 2001-11-01 Method for removal image noise using selective median filter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2001-0067967A KR100423561B1 (en) 2001-11-01 2001-11-01 Method for removal image noise using selective median filter

Publications (2)

Publication Number Publication Date
KR20030037007A true KR20030037007A (en) 2003-05-12
KR100423561B1 KR100423561B1 (en) 2004-03-18

Family

ID=29567595

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2001-0067967A KR100423561B1 (en) 2001-11-01 2001-11-01 Method for removal image noise using selective median filter

Country Status (1)

Country Link
KR (1) KR100423561B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100738075B1 (en) * 2005-09-09 2007-07-12 삼성전자주식회사 Apparatus and method for encoding and decoding image

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101402494B1 (en) 2012-10-26 2014-06-03 주식회사 나노포커스레이 Method for obtaining high quality images for computed tomography scanner

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100738075B1 (en) * 2005-09-09 2007-07-12 삼성전자주식회사 Apparatus and method for encoding and decoding image

Also Published As

Publication number Publication date
KR100423561B1 (en) 2004-03-18

Similar Documents

Publication Publication Date Title
JP4455487B2 (en) Decoding device, decoding method, and program
USRE41446E1 (en) Decoding apparatus including a filtering unit configured to filter an image by application of a weighted average operation
US6807317B2 (en) Method and decoder system for reducing quantization effects of a decoded image
JP4546461B2 (en) Method and apparatus for improving video quality of low bit rate video
JP4880895B2 (en) Method and apparatus for MPEG artifact reduction
US6226050B1 (en) Signal adaptive filtering method for reducing ringing noise and signal adaptive filter
KR19980068148A (en) Loop Filtering Method and Loop Filter
EP1146748A2 (en) A method of directional filtering for post-processing compressed video
JPH08186714A (en) Noise removal of picture data and its device
JP2005142891A (en) Method and device for processing image
JP2002537735A (en) Video decoding apparatus and method using filtering step to reduce block effect
JP2001320713A (en) Image preprocessing method
JP4481868B2 (en) Prefilter
EP1927251A2 (en) Apparatus for filtering an image obtained by block based image decompression
US6999630B1 (en) Method of processing, and corresponding filtering device
JPH0714211B2 (en) Method and apparatus for removing block distortion in moving picture coding
KR100423561B1 (en) Method for removal image noise using selective median filter
JP2003018600A (en) Image decoding apparatus
JP4380498B2 (en) Block distortion reduction device
JP4065287B2 (en) Method and apparatus for removing noise from image data
KR100772402B1 (en) Content-adaptive blocking artifact removal in spatial domain
JPH0244881A (en) Moving picture encoding system
US7983505B2 (en) Performing deblocking on pixel data
US20030072377A1 (en) Method of detecting blocking artifacts
JP2010193515A (en) Image processing method

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

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee