KR102342283B1 - Image processing apparatus, image processing method, and computer readable medium thereof - Google Patents

Image processing apparatus, image processing method, and computer readable medium thereof Download PDF

Info

Publication number
KR102342283B1
KR102342283B1 KR1020170153968A KR20170153968A KR102342283B1 KR 102342283 B1 KR102342283 B1 KR 102342283B1 KR 1020170153968 A KR1020170153968 A KR 1020170153968A KR 20170153968 A KR20170153968 A KR 20170153968A KR 102342283 B1 KR102342283 B1 KR 102342283B1
Authority
KR
South Korea
Prior art keywords
reflection component
image
diffuse reflection
pixel
specular reflection
Prior art date
Application number
KR1020170153968A
Other languages
Korean (ko)
Other versions
KR20180060989A (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
Priority claimed from JP2017171392A external-priority patent/JP2018092597A/en
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to PCT/KR2017/013596 priority Critical patent/WO2018097677A1/en
Priority to EP17874192.2A priority patent/EP3488412B1/en
Priority to US15/824,487 priority patent/US10497106B2/en
Publication of KR20180060989A publication Critical patent/KR20180060989A/en
Application granted granted Critical
Publication of KR102342283B1 publication Critical patent/KR102342283B1/en

Links

Images

Classifications

    • G06T5/70
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/001Image restoration
    • G06T5/002Denoising; Smoothing
    • 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
    • G06K9/4661
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/50Image enhancement or restoration by the use of more than one image, e.g. averaging, subtraction
    • G06T5/75
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/60Extraction of image or video features relating to illumination properties, e.g. using a reflectance or lighting model
    • 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/20024Filtering details
    • 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/20212Image combination
    • G06T2207/20224Image subtraction

Abstract

단일 입력 화상으로부터 확산 반사 성분 또는 경면 반사 성분을 고정밀도로 산출하는 화상 처리 장치 등을 제공한다.
화상 처리 장치(1)는 입력 화상의 화소마다 확산 반사 성분과 경면 반사 성분을 산출하는 성분 산출부(20, 30); 확산 반사 성분 화상, 경면 반사 성분 화상 및 입력 화상에 각각 필터 처리를 수행하는 필터 처리부(40); 필터 처리한 확산 반사 성분 화상과, 필터 처리한 경면 반사 성분 화상을 결합하여 결합 화상을 생성하는 성분 결합부(50); 및 결합 화상과, 필터 처리한 입력 화상에 기초하여, 확산 반사 성분 또는 경면 반사 성분의 분리 정밀도를 평가하는 평가부(60, 70);을 구비한다.
An image processing apparatus and the like for calculating a diffuse reflection component or a specular reflection component from a single input image with high precision are provided.
The image processing apparatus 1 includes: component calculating units 20 and 30 for calculating a diffuse reflection component and a specular reflection component for each pixel of an input image; a filter processing unit 40 for performing filter processing on the diffuse reflection component image, the specular reflection component image, and the input image, respectively; a component combining unit 50 for generating a combined image by combining the filtered diffuse reflection component image and the filtered specular reflection component image; and evaluation units (60, 70) for evaluating the separation accuracy of the diffuse reflection component or the specular reflection component based on the combined image and the filter-processed input image.

Description

화상 처리 장치, 화상 처리 방법 및 화상 처리 방법이 기록된 컴퓨터 판독가능 기록 매체{Image processing apparatus, image processing method, and computer readable medium thereof}An image processing apparatus, an image processing method, and a computer readable recording medium on which the image processing method is recorded

다양한 실시예들은 화상 처리 장치, 화상 처리 방법 및 화상 처리 방법이 기록된 컴퓨터 판독가능 기록 매체에 관한 것이다.Various embodiments relate to an image processing apparatus, an image processing method, and a computer-readable recording medium on which the image processing method is recorded.

3차원 형상 복원 등을 위한, 음영이나 색을 이용하는 화상 계측에서는 화상에 경면 반사 성분이 없는 것이 전제가 되는 경우가 있다. 이 경우, 확산 반사 성분과 경면 반사 성분을 고정밀도 분리하여 경면 반사 성분을 제거하는 것이 고정밀도 계측을 위해 필요하다. In image measurement using shading or color for three-dimensional shape restoration or the like, it is sometimes a premise that the image does not have a specular reflection component. In this case, it is necessary for high-precision measurement to separate the diffuse reflection component and the specular reflection component with high precision to remove the specular reflection component.

또한, 화상 인식에서는 경면 반사 성분이 재질의 특징이 되기 때문에, 경면 반사 성분을 검출하여 인식에 이용할 수 있다. Moreover, in image recognition, since the specular reflection component becomes a characteristic of a material, a specular reflection component can be detected and used for recognition.

또한, 화상 처리에서는 광택감을 향상시키는 경우, 입력 화상으로부터 제어 대상이 되는 경면 반사 성분의 범위를 추출하는 것이 필요하다. In addition, in image processing, when improving glossiness, it is necessary to extract the range of the specular reflection component to be controlled from the input image.

확산 반사 성분과 경면 반사 성분을 분리하기 위해서는 크게 2가지 방법이 있다. In order to separate the diffuse reflection component and the specular reflection component, there are mainly two methods.

하나는, 복수의 화상으로부터 분리하는 방법으로서, 예컨대, 포토메트릭 스테레오(Photometric Stereo)나 편광 필터를 이용하는 방법이다. 그러나, 이러한 방법으로는 복수의 화상을 촬상하여 이용할 필요가 있고, 디스플레이 등의 장치의 화질 개선에 응용할 수 없다. One is a method of separating from a plurality of images, for example, a method of using photometric stereo or a polarization filter. However, in this method, it is necessary to capture and use a plurality of images, and it cannot be applied to image quality improvement of devices such as displays.

또 하나는, 단일 화상으로부터 분리하는 방법으로서, 노이즈에 의한 색상 변동의 모델이나, 물체색은 표면에서는 매끄럽게 변화한다고 하는 가정을 이용하는 방법이다. 예컨대, 일본특허공개 2013-065215호 공보 에는, 화상의 노이즈에 영향을 받지 않고, 대상 화소의 확산 반사 성분을 계산하는 방법이 기재되어 있고, 동일 표면이라면 반사광의 색상은 동일하다고 하는 가정에 기초하여 노이즈에 의한 색상의 변동을 모델화하고, 당해 모델에 의해 확산 반사 성분의 분리 정밀도의 향상을 꾀하고 있다. Another method of separating from a single image is a method using a model of color fluctuation due to noise and an assumption that object colors change smoothly on the surface. For example, Japanese Patent Application Laid-Open No. 2013-065215 discloses a method for calculating the diffuse reflection component of a target pixel without being affected by image noise, based on the assumption that the colors of the reflected light are the same if they are the same surface. Color variations due to noise are modeled, and the accuracy of separation of diffuse reflection components is improved by using the model.

그러나, 단일 화상으로부터 확산 반사 성분과 경면 반사 성분을 분리하는 방법은, 물체의 경계와 같은 2색 경계가 되는 부분이나, 채도가 0이 되는 화소값에서 실패하는 경우가 있고, 복수의 화상으로부터 분리하는 방법과 비교하여 분리 정밀도가 낮아져 버린다. 예컨대, 일본특허공개 2013-065215호 공보 에 기재된 방법으로는 노이즈 모델에 맞지 않는 노이즈에 대해서는 분리 정밀도가 낮아지는 경우가 있다. However, the method of separating the diffuse reflection component and the specular reflection component from a single image may fail at a portion that becomes a two-color boundary such as an object boundary or a pixel value where saturation becomes 0, and is separated from a plurality of images. Separation precision is lowered compared with the method. For example, with the method described in Japanese Patent Laid-Open No. 2013-065215, the separation accuracy may be lowered for noise that does not fit the noise model.

그리고, 시각 효과를 얻을 목적으로, 분리 정밀도가 낮은 확산 반사 성분 및 경면 반사 성분에 대해 각각 필터 처리 등의 화상 처리를 한 경우, 아티팩트(artifact)가 발생하여 화질이 악화되기도 한다. In addition, when image processing such as filter processing is performed on each of the diffuse reflection component and the specular reflection component with low separation precision for the purpose of obtaining a visual effect, artifacts may occur and image quality may deteriorate.

도 19는 종래 기술에 따른, 확산 반사 성분과 경면 반사 성분의 분리 정밀도가 낮은 경우의 화상이다. 도 19의 1910은 입력 화상을 나타내고, 백색의 배경에, 적색의 토마토와, 연보라색 토마토의 그림자가 비치고 있다. 또한, 토마토의 녹색 꼭지 주변에는 광택이 나 있다. 19 is an image according to the prior art in a case where the separation precision between the diffuse reflection component and the specular reflection component is low. 1910 of FIG. 19 shows an input image, and the shadow of a red tomato and a light purple tomato are reflected on a white background. Also, there is a luster around the green stems of the tomatoes.

도 19의 1920은 확산 반사 성분의 화상을 나타내고, 토마토는 적색인 상태지만, 배경이 흑색이 되고, 토마토의 윤곽 부분(경계면), 광택이 있던 부분 및 그림자 부분이 복숭아색으로 되어 있다. 그리고, 토마토의 경계면 부근에서 확산 반사 성분의 분리에 실패하였음을 알 수 있다. 1920 in Fig. 19 shows the image of the diffuse reflection component, the tomato is in a red state, but the background is black, and the outline part (boundary surface), the glossy part, and the shadow part of the tomato are pink. And, it can be seen that the separation of the diffuse reflection component has failed in the vicinity of the interface of the tomato.

도 19의 1930은 1920의 확산 반사 성분에 기초하여 경면 반사 성분을 구하고, 입력 화상에서 경면 반사 성분을 1.8배로 강조한 화상을 나타내고, 입력 화상과 비교하였을 때, 토마토의 경계면이었던 부분, 광택이 있던 부분, 그림자가 있던 부분 등에 아티팩트가 발생하였음을 알 수 있다. 1930 of FIG. 19 shows an image in which the specular reflection component is obtained based on the diffuse reflection component of 1920, the specular reflection component is emphasized by 1.8 times in the input image, and when compared with the input image, the portion that was the boundary of the tomato, the glossy portion , it can be seen that artifacts have occurred in the shadowed area, etc.

본 발명은 이러한 문제를 해결하기 위해 이루어진 것으로, 단일 입력 화상으로부터 확산 반사 성분 또는 경면 반사 성분을 고정밀도로 산출할 수 있는 화상 처리 장치, 화상 처리 방법 및 화상 처리 프로그램을 제공하는 것을 목적으로 한다. The present invention has been made to solve such a problem, and an object of the present invention is to provide an image processing apparatus, an image processing method, and an image processing program capable of calculating a diffuse reflection component or a specular reflection component from a single input image with high accuracy.

일 실시예에 따른 화상 처리 장치는, 입력 화상의 화소마다 확산 반사 성분과 경면 반사 성분을 산출하는 성분 산출부; 확산 반사 성분 화상, 경면 반사 성분 화상 및 입력 화상에 각각 필터 처리를 수행하는 필터 처리부; 필터 처리한 확산 반사 성분 화상과, 필터 처리한 경면 반사 성분 화상을 결합하여 결합 화상을 생성하는 성분 결합부; 및 결합 화상과, 필터 처리한 입력 화상에 기초하여, 확산 반사 성분 또는 경면 반사 성분의 분리 정밀도를 평가하는 평가부;를 구비하는 것이다. An image processing apparatus according to an exemplary embodiment includes: a component calculator configured to calculate a diffuse reflection component and a specular reflection component for each pixel of an input image; a filter processing unit that performs filter processing on the diffuse reflection component image, the specular reflection component image, and the input image, respectively; a component combining unit for generating a combined image by combining the filtered diffuse reflection component image and the filtered specular reflection component image; and an evaluation unit that evaluates the separation precision of the diffuse reflection component or the specular reflection component based on the combined image and the filter-processed input image.

일 실시예에 따라, 평가부는, 결합 화상과, 필터 처리한 입력 화상과의 차분값을 화소마다 산출하고, 차분값과 소정의 문턱값을 비교하여 분리 정밀도를 평가할 수 있다. According to an embodiment, the evaluation unit may calculate a difference value between the combined image and the filtered input image for each pixel, and evaluate the separation precision by comparing the difference value with a predetermined threshold value.

일 실시예에 따라 화상 처리 장치는 평가부가 확산 반사 성분 또는 경면 반사 성분을 수정하는 것으로 판단한 화소마다 확산 반사 성분 또는 상기 경면 반사 성분의 수정값을 산출하는 수정값 산출부; 및 수정값을 이용하여 확산 반사 성분 또는 경면 반사 성분을 수정하는 성분 수정부;를 더 구비하고, 성분 산출부는 입력 화상, 수정한 경면 반사 성분 또는 수정한 확산 반사 성분에 기초하여 확산 반사 성분 및 경면 반사 성분을 산출하고, 평가부는 차분값이 소정의 문턱값 이상의 화소의 확산 반사 성분 또는 경면 반사 성분을 수정하는 것으로 판단할 수 있다. According to an exemplary embodiment, an image processing apparatus includes: a correction value calculator configured to calculate a correction value of a diffuse reflection component or a specular reflection component for each pixel that the evaluation unit determines to correct the diffuse reflection component or the specular reflection component; and a component correction unit that corrects the diffuse reflection component or the specular reflection component by using the correction value, wherein the component calculating unit includes a diffuse reflection component and a specular reflection component based on the input image, the corrected specular reflection component or the corrected diffuse reflection component. The reflection component is calculated, and the evaluation unit may determine that the diffuse reflection component or the specular reflection component of the pixel having a difference value equal to or greater than a predetermined threshold is corrected.

일 실시예에 따라 평가부는, 필터 처리한 확산 반사 성분 화상 또는 필터 처리한 경면 반사 성분 화상의 각 화소값이 부 인지 여부에 따라 분리 정밀도를 평가할 수 있다. According to an embodiment, the evaluation unit may evaluate the separation precision according to whether each pixel value of the filtered diffuse reflection component image or the filter-processed specular reflection component image is negative.

일 실시예에 따라 평가부가 확산 반사 성분 또는 경면 반사 성분을 수정하는 것으로 판단한 화소마다 확산 반사 성분 또는 경면 반사 성분의 수정값을 산출하는 수정값 산출부; 및 수정값을 이용하여 확산 반사 성분 또는 경면 반사 성분을 수정하는 성분 수정부;를 더 구비하고, 성분 산출부는 상기 입력 화상, 수정한 경면 반사 성분 또는 수정한 확산 반사 성분에 기초하여 확산 반사 성분 및 경면 반사 성분을 산출하고, 평가부는 필터 처리한 확산 반사 성분 화상 또는 필터 처리한 경면 반사 성분 화상의 화소값이 부인 화소의 확산 반사 성분 또는 경면 반사 성분을 수정하는 것으로 판단할 수 있다. According to an embodiment, a correction value calculating unit for calculating a correction value of the diffuse reflection component or the specular reflection component for each pixel that the evaluation unit determines to correct the diffuse reflection component or the specular reflection component; and a component correction unit that corrects the diffuse reflection component or the specular reflection component using the correction value, wherein the component calculating unit includes a diffuse reflection component and a modified diffuse reflection component based on the input image, the corrected specular reflection component or the corrected diffuse reflection component The specular reflection component is calculated, and the evaluation unit may determine that the diffuse reflection component or the specular reflection component of the pixel in which the pixel value of the filtered diffuse reflection component image or the filtered specular reflection component image is negative is corrected.

일 실시예에 따라 수정값 산출부는, 수정하는 것으로 판단한 화소의 주변 화소 중 소정의 조건을 충족하는 주변 화소의 확산 반사 성분 또는 경면 반사 성분을 수정값으로서 산출할 수 있다. According to an exemplary embodiment, the correction value calculator may calculate a diffuse reflection component or a specular reflection component of a neighboring pixel satisfying a predetermined condition among neighboring pixels of the pixel determined to be corrected as a correction value.

일 실시예에 따라, 소정의 조건은, 입력 화상에 있어서의 수정하는 것으로 판단한 화소의 화소값과 주변 화소의 화소값과의 차분, 및 주변 화소에 있어서의 필터 처리한 입력 화상의 화소값과 결합 화상의 화소값과의 차분에 각각 소정의 계수를 곱한 값의 합계가 가장 작은 것일 수 있다. According to an embodiment, the predetermined condition is combined with the difference between the pixel value of the pixel determined to be corrected in the input image and the pixel value of the neighboring pixel, and the pixel value of the filtered input image in the neighboring pixel A sum of values obtained by multiplying a difference with a pixel value of an image by a predetermined coefficient may be the smallest.

일 실시예에 따라 수정전 화소수가 소정값 이상, 또는 수정후 화소수가 소정값 이하의 경우, 성분 산출부에 의한 처리를 반복하게 하는 반복 판정부를 더 구비할 수 있다. According to an embodiment, when the number of pixels before correction is greater than or equal to a predetermined value or the number of pixels after correction is less than or equal to a predetermined value, the repeat determination unit may further include a repeat determination unit configured to repeat the processing by the component calculating unit.

일 실시예에 따라 평가부는, 결합 화상과, 필터 처리한 입력 화상과의 PSNR값을 산출하고, PSNR값과 소정의 문턱값을 비교하여 분리 정밀도를 평가할 수 있다. According to an exemplary embodiment, the evaluation unit may calculate a PSNR value between the combined image and the filtered input image, and may evaluate the separation precision by comparing the PSNR value with a predetermined threshold value.

일 실시예에 따라 화상 처리 장치는 PSNR값이 소정의 문턱값 보다 작을 때, 필터 처리부에서 이용하는 필터의 강도를 변경하여 PSNR값을 다시 산출하도록 판정하는 반복 판정부를 더 구비하고, 평가부는, 필터의 강도를 소정값 이상으로 하더라도, PSNR값이 소정의 문턱값 보다 작을 때, 상기 분리 정밀도가 낮다고 평가할 수 있다. According to an embodiment, the image processing apparatus further includes an iterative determination unit that determines to re-calculate the PSNR value by changing the intensity of the filter used in the filter processing unit when the PSNR value is less than a predetermined threshold, and the evaluation unit includes: Even if the intensity is greater than or equal to a predetermined value, when the PSNR value is less than a predetermined threshold, the separation precision can be evaluated to be low.

일 실시예에 따라 필터 처리부는, 필터 처리에 고주파 강조 필터를 이용할 수 있다. According to an embodiment, the filter processing unit may use a high frequency enhancement filter for filter processing.

일 실시예 따라 화상 처리 장치는 입력 화상과, 확산 반사 성분 화상 또는 경면 반사 성분 화상에 주파수 해석을 수행하고, 각각의 화상의 주파수 특성을 산출하는 해석부; 및 입력 화상의 주파수 특성과, 확산 반사 성분 화상 또는 경면 반사 성분 화상의 주파수 특성에 기초하여, 분리 정밀도를 평가하는 제2의 평가부;를 더 구비할 수 있다. According to an embodiment, an image processing apparatus includes: an analysis unit configured to perform frequency analysis on an input image, a diffuse reflection component image or a specular reflection component image, and calculate frequency characteristics of each image; and a second evaluation unit that evaluates the separation accuracy based on the frequency characteristics of the input image and the frequency characteristics of the diffuse reflection component image or the specular reflection component image.

일 실시예에 따라 필터 처리부는, 확산 반사 성분 화상 또는 경면 반사 성분 화상의 주파수 특성과, 필터 처리에 이용하는 필터의 강도를 미리 대응시켜 복수개 기억하고, 해석부가 산출한 확산 반사 성분 화상 또는 경면 반사 성분 화상의 주파수 특성에 기초하여 필터 처리에 이용하는 필터의 강도를 결정할 수 있다. According to an embodiment, the filter processing unit stores the frequency characteristics of the diffuse reflection component image or the specular reflection component image and the intensity of the filter used for the filter processing in advance and stores a plurality of them, and the diffuse reflection component image or the specular reflection component calculated by the analysis unit It is possible to determine the strength of the filter used for the filter processing based on the frequency characteristic of the image.

일 실시예에 따른 화상 처리 장치는, 입력 화상의 화소마다 확산 반사 성분 또는 경면 반사 성분을 산출하는 성분 산출부; 확산 반사 성분 화상 또는 경면 반사 성분 화상에 필터 처리를 수행하는 필터 처리부; 및 필터 처리한 확산 반사 성분 화상 또는 필터 처리한 경면 반사 성분 화상의 각 화소값이 부(負)인지 여부에 따라 확산 반사 성분 또는 경면 반사 성분의 분리 정밀도를 평가하는 평가부;를 구비하는 것이다. An image processing apparatus according to an embodiment includes: a component calculator configured to calculate a diffuse reflection component or a specular reflection component for each pixel of an input image; a filter processing unit that performs filter processing on the diffuse reflection component image or the specular reflection component image; and an evaluation unit that evaluates the separation accuracy of the diffuse reflection component or the specular reflection component according to whether each pixel value of the filtered diffuse reflection component image or the filtered specular reflection component image is negative.

또한, 일 실시예에 따른 화상 처리 장치는, 입력 화상의 화소마다 확산 반사 성분 또는 경면 반사 성분을 산출하는 성분 산출부; 입력 화상과, 확산 반사 성분 화상 또는 경면 반사 성분 화상에 주파수 해석을 수행하고, 각각의 주파수 특성을 산출하는 해석부; 및 입력 화상의 주파수 특성과, 확산 반사 성분 화상 또는 경면 반사 성분 화상의 주파수 특성에 기초하여, 확산 반사 성분 또는 경면 반사 성분의 분리 정밀도를 평가하는 평가부;를 구비하는 것이다. In addition, an image processing apparatus according to an embodiment includes: a component calculator configured to calculate a diffuse reflection component or a specular reflection component for each pixel of an input image; an analysis unit that performs frequency analysis on the input image and the diffuse reflection component image or the specular reflection component image, and calculates respective frequency characteristics; and an evaluation unit that evaluates the separation accuracy of the diffuse reflection component or the specular reflection component based on the frequency characteristic of the input image and the frequency characteristic of the diffuse reflection component image or the specular reflection component image.

또한, 일 실시예에 따른 화상 처리 방법은, 입력 화상의 화소마다 확산 반사 성분과 경면 반사 성분을 산출하는 동작; 확산 반사 성분 화상, 경면 반사 성분 화상 및 입력 화상에 각각 필터 처리를 수행하는 동작; 필터 처리한 확산 반사 성분 화상과, 필터 처리한 경면 반사 성분 화상을 결합하여 결합 화상을 생성하는 동작; 및 결합 화상과, 필터 처리한 입력 화상에 기초하여, 확산 반사 성분 또는 경면 반사 성분의 분리 정밀도를 평가하는 동작;을 갖는 것이다. In addition, an image processing method according to an embodiment may include calculating a diffuse reflection component and a specular reflection component for each pixel of an input image; performing filter processing on the diffuse reflection component image, the specular reflection component image, and the input image, respectively; combining the filtered diffuse reflection component image and the filtered specular reflection component image to generate a combined image; and an operation of evaluating the separation precision of the diffuse reflection component or the specular reflection component based on the combined image and the filtered input image.

또한, 일 실시예에 따라 화상 처리 방법을 수행하는 프로그램이 저장된 기록 매체를 포함하는 컴퓨터 프로그램 제품은, 상기 화상 처리 방법으로서, 입력 화상의 화소마다 확산 반사 성분과 경면 반사 성분을 산출하는 동작; 확산 반사 성분 화상, 경면 반사 성분 화상 및 상기 입력 화상에 각각 필터 처리를 수행하는 동작; 상기 필터 처리한 확산 반사 성분 화상과, 상기 필터 처리한 경면 반사 성분 화상을 결합하여 결합 화상을 생성하는 동작; 및 상기 결합 화상과, 상기 필터 처리한 입력 화상에 기초하여, 상기 확산 반사 성분 또는 상기 경면 반사 성분의 분리 정밀도를 평가하는 동작;을 포함한다. In addition, according to an embodiment, a computer program product including a recording medium storing a program for performing an image processing method, the image processing method includes: calculating a diffuse reflection component and a specular reflection component for each pixel of an input image; performing filter processing on each of the diffuse reflection component image, the specular reflection component image and the input image; generating a combined image by combining the filtered diffuse reflection component image and the filtered specular reflection component image; and evaluating the separation precision of the diffuse reflection component or the specular reflection component based on the combined image and the filter-processed input image.

본 발명에 의해, 단일 입력 화상으로부터 확산 반사 성분 또는 경면 반사 성분을 고정밀도로 산출하는 화상 처리 장치, 화상 처리 방법 및 화상 처리 방법이 기록된 컴퓨터 판독가능 기록 매체를 제공할 수 있다.According to the present invention, it is possible to provide an image processing apparatus for calculating a diffuse reflection component or a specular reflection component from a single input image with high precision, an image processing method, and a computer-readable recording medium on which the image processing method is recorded.

도 1은 실시의 형태 1에 따른 화상 처리 방법의 동작을 나타내는 도면이다.
도 2는 실시의 형태 1에 따른 화상 처리 장치(1)의 개략 구성을 나타내는 블록도이다.
도 3은 실시의 형태 1에 따른 화상 처리 방법의 처리 순서를 나타내는 흐름도이다.
도 4는 실시의 형태 1에 따른 확산 반사 성분 및 경면 반사 성분의 산출 방법 및 산출 결과를 설명하기 위한 도면이다.
도 5는 실시의 형태 1에 따른 차분 처리 및 차분 화상을 설명하기 위한 도면이다.
도 6은 실시의 형태 1에 따른 분리 정밀도의 개선 효과를 나타내는 도면이다.
도 7은 실시의 형태 1에 따른 분리 정밀도의 개선 효과를 나타내는 별도의 도면이다.
도 8은 실시의 형태 1에 따른 분리 정밀도의 개선 효과를 나타내는 별도의 도면이다.
도 9는 실시의 형태 1에 따른 화상의 화질 및 질감의 개선 효과를 나타내는 도면이다.
도 10은 실시의 형태 2에 다른 화상 처리 방법의 동작을 나타내는 도면이다.
도 11은 실시의 형태 2에 따른 화상 평가 장치(2)의 개략 구성을 나타내는 블록도이다.
도 12는 실시의 형태 2에 따른 필터를 설명하기 위한 도면이다.
도 13은 PSNR값과 아티팩트와의 관계를 설명하기 위한 도면이다.
도 14는 실시의 형태 3에 따른 화상 처리 방법의 동작을 나타내는 도면이다.
도 15는 실시의 형태 3에 따른 화상 평가 장치(3)의 개략 구성을 나타내는 블록도이다.
도 16은 일 실시예에 따라 계수 저장부에 저장되는 파워 스펙트럼 파라미터-필터 계수 쌍을 나타내는 도면이다.
도 17은 실시의 형태 3에 따른 파워 스펙트럼을 설명하기 위한 도면이다.
도 18은 실시의 형태 3에 따른 파워 스펙트럼을 설명하기 위한 별도의 도면이다.
도 19는 종래 기술에 따른 확산 반사 성분과 경면 반사 성분의 분리 정밀도가 낮은 경우의 화상이다.
BRIEF DESCRIPTION OF THE DRAWINGS It is a figure which shows the operation|movement of the image processing method which concerns on Embodiment 1. FIG.
2 is a block diagram showing a schematic configuration of the image processing apparatus 1 according to the first embodiment.
3 is a flowchart showing a processing sequence of the image processing method according to the first embodiment.
FIG. 4 is a diagram for explaining a method for calculating a diffuse reflection component and a specular reflection component and a calculation result according to the first embodiment.
5 is a diagram for explaining a difference processing and a difference image according to the first embodiment.
6 is a diagram showing the effect of improving separation precision according to the first embodiment.
7 is another diagram showing the effect of improving the separation precision according to the first embodiment.
Fig. 8 is another diagram showing the effect of improving the separation precision according to the first embodiment.
9 is a diagram showing the effect of improving image quality and texture according to the first embodiment.
Fig. 10 is a diagram showing the operation of the image processing method according to the second embodiment.
11 is a block diagram showing a schematic configuration of the image evaluation apparatus 2 according to the second embodiment.
12 is a diagram for explaining a filter according to the second embodiment.
13 is a diagram for explaining a relationship between a PSNR value and an artifact.
14 is a diagram showing the operation of the image processing method according to the third embodiment.
15 is a block diagram showing a schematic configuration of the image evaluation apparatus 3 according to the third embodiment.
16 is a diagram illustrating a power spectrum parameter-filter coefficient pair stored in a coefficient storage unit according to an exemplary embodiment.
17 is a diagram for explaining a power spectrum according to the third embodiment.
18 is a separate diagram for explaining a power spectrum according to the third embodiment.
Fig. 19 is an image in the case where the separation precision of the diffuse reflection component and the specular reflection component according to the prior art is low.

(실시의 형태 1) (Embodiment 1)

본 실시의 형태 1에 따른 화상 처리 장치 및 화상 처리 방법은, 단일 화상으로부터 확산 반사 성분, 경면 반사 성분을 각각 산출하고, 확산 반사 성분, 경면 반사 성분에 필터 처리 등을 수행하여 확산 반사 성분과 경면 반사 성분의 분리 정밀도를 화소마다 평가하고, 또한 독자적으로 정의한 에너지 함수 등으로 산출한 수정값을 이용해서 분리 정밀도가 낮은 확산 반사 성분을 수정하여 확산 반사 성분, 경면 반사 성분의 분리 정밀도를 화소마다 향상시키는 것이다. The image processing apparatus and image processing method according to the first embodiment calculates a diffuse reflection component and a specular reflection component from a single image, respectively, and performs filter processing etc. on the diffuse reflection component and the specular reflection component to obtain a diffuse reflection component and a specular reflection component The separation precision of the reflection component is evaluated for each pixel, and the diffuse reflection component with low separation accuracy is corrected using the correction value calculated by the independently defined energy function, etc., thereby improving the separation accuracy of the diffuse reflection component and the specular reflection component for each pixel will make it

이하, 도면을 참조하여 본 실시의 형태 1에 따른 화상 처리 장치 및 화상 처리 방법에 대해 설명한다. Hereinafter, an image processing apparatus and an image processing method according to the first embodiment will be described with reference to the drawings.

먼저, 도 1은 본 실시의 형태 1에 따른 화상 처리 방법의 동작의 일 예를 나타낸다. First, FIG. 1 shows an example of the operation of the image processing method according to the first embodiment.

도 1을 참조하면, 스텝 S110에서, 화상 처리 장치는 입력 화상의 화소마다 확산 반사 성분과 경면 반사 성분을 산출할 수 있다. Referring to FIG. 1 , in step S110, the image processing apparatus may calculate a diffuse reflection component and a specular reflection component for each pixel of an input image.

스텝 S120에서, 화상 처리 장치는 산출된 확산 반사 성분으로 구성된 확산 반사 성분 화상, 산출된 경면 반사 성분으로 구성된 경면 반사 성분 화상 및 입력 화상에 각각 필터 처리를 수행할 수 있다. In step S120, the image processing apparatus may perform filter processing on the diffuse reflection component image composed of the calculated diffuse reflection component, the specular reflection component image composed of the calculated specular reflection component, and the input image, respectively.

스텝 S130에서, 화상 처리 장치는 필터 처리한 확산 반사 성분 화상과, 필터 처리한 경면 반사 성분 화상을 결합하여 결합 화상을 생성할 수 있다. In step S130, the image processing apparatus may generate a combined image by combining the filtered diffuse reflection component image and the filtered specular reflection component image.

스텝 S140에서, 화상 처리 장치는, 결합 화상과, 필터 처리한 입력 화상에 기초하여, 확산 반사 성분 또는 상기 경면 반사 성분의 분리 정밀도를 평가할 수 있다. In step S140, the image processing apparatus can evaluate the separation precision of the diffuse reflection component or the specular reflection component based on the combined image and the filtered input image.

본 실시의 형태 1에 따른 화상 처리 장치의 구성에 대해 설명한다. The configuration of the image processing apparatus according to the first embodiment will be described.

도 2는, 본 실시의 형태 1에 따른 화상 처리 장치(1)의 개략 구성을 나타내는 블록도이다. 2 is a block diagram showing a schematic configuration of the image processing apparatus 1 according to the first embodiment.

화상 처리 장치(1)는 화상 입력부(10), 확산 반사 성분 산출부(20), 경면 반사 성분 산출부(30), 필터 처리부(40), 성분 결합부(50), 차분 산출부(60), 수정 판단부(70), 수정값 산출부(80), 성분 수정부(90), 반복 판정부(100) 등을 구비하고 있다. 또한 확산 반사 성분 산출부(20)와 경면 반사 성분 산출부(30)를 조합하여 성분 산출부로서 구성할 수도 있고, 차분 산출부(60)와 수정 판단부(70)를 조합하여 평가부로서 구성할 수도 있다. The image processing apparatus 1 includes an image input unit 10 , a diffuse reflection component calculation unit 20 , a specular reflection component calculation unit 30 , a filter processing unit 40 , a component combining unit 50 , and a difference calculation unit 60 . , a correction determination unit 70 , a correction value calculation unit 80 , a component correction unit 90 , a repetition determination unit 100 , and the like. In addition, the diffuse reflection component calculation unit 20 and the specular reflection component calculation unit 30 may be combined to form a component calculation unit, or the difference calculation unit 60 and correction determination unit 70 may be combined to form an evaluation unit. You may.

화상 입력부(10)는, 예컨대, 화상 처리 장치(1)의 외부로부터 화상을 입력받고, 이 입력 화상을 확산 반사 성분 산출부(20), 경면 반사 성분 산출부(30), 필터 처리부(40), 수정값 산출부(80) 등으로 출력한다. The image input unit 10 receives, for example, an image from the outside of the image processing apparatus 1 , and converts the input image to a diffuse reflection component calculation unit 20 , a specular reflection component calculation unit 30 , and a filter processing unit 40 . , and output to the correction value calculating unit 80 or the like.

확산 반사 성분 산출부(20)는 단일 입력 화상으로부터 확산 반사 성분을 화소마다 산출하고, 경면 반사 성분 산출부(30), 필터 처리부(40), 수정값 산출부(80), 성분 수정부(90) 등으로 출력한다. The diffuse reflection component calculation unit 20 calculates a diffuse reflection component for each pixel from a single input image, and the specular reflection component calculation unit 30 , the filter processing unit 40 , the correction value calculation unit 80 , and the component correction unit 90 . ), etc.

경면 반사 성분 산출부(30)는 쉐이퍼(Shafer)의 이색성 반사 모델을 이용하여 입력 화상으로부터 경면 반사 성분을 화소마다 산출하고, 필터 처리부(40) 등으로 출력한다. 이색성 반사 모델을 이용한 경면 반사 성분의 산출 방법에 대해서는 후술한다. The specular reflection component calculating unit 30 calculates a specular reflection component for each pixel from the input image by using the dichroic reflection model of Shaper, and outputs it to the filter processing unit 40 or the like. A method of calculating the specular reflection component using the dichroic reflection model will be described later.

필터 처리부(40)는 입력 화상, 확산 반사 성분으로 구성되는 확산 반사 성분 화상, 및 경면 반사 성분으로 구성되는 경면 반사 성분 화상에 대해, 언샤프 마스크 등의 고주파 강조 필터 또는 고주파 필터를 이용한 필터 처리를 각각 수행하고, 그 결과를 성분 결합부(50), 차분 산출부(60), 수정값 산출부(80) 등으로 출력한다. The filter processing unit 40 filters the input image, the diffuse reflection component image composed of the diffuse reflection component, and the specular reflection component image composed of the specular reflection component using a high-frequency enhancement filter such as an unsharp mask or a high-frequency filter. Each is performed, and the result is output to the component combining unit 50 , the difference calculating unit 60 , the correction value calculating unit 80 , and the like.

성분 결합부(50)는 전술한 이색성 반사 모델을 이용하여 필터 처리한 확산 반사 성분 화상과, 필터 처리한 경면 반사 성분 화상을 결합하여 결합 화상을 생성하고, 차분 산출부(60), 수정값 산출부(80) 등으로 출력한다. The component combining unit 50 generates a combined image by combining the filter-processed diffuse reflection component image and the filtered specular reflection component image using the above-described dichroic reflection model, the difference calculating unit 60 and the correction value output to the calculation unit 80 or the like.

차분 산출부(60)는 필터 처리한 입력 화상과, 생성한 결합 화상과의 화소값의 차분을 화소마다 산출하고, 수정 판단부(70)로 출력한다. The difference calculating unit 60 calculates the difference between the pixel values of the filter-processed input image and the generated combined image for each pixel, and outputs it to the correction determination unit 70 .

수정 판단부(70)는 화소값의 차분과 소정의 문턱값을 화소마다 비교하여, 차분이 문턱값 보다 큰 화소의 확산 반사 성분을 수정하는 것으로 판단하고, 차분이 문턱값 이하인 화소의 확산 반사 성분을 수정하지 않는 것으로 판단하고, 판단 결과를 수정값 산출부(80)로 출력한다. 여기서, 차분이 문턱값 보다 큰 화소는 확산 반사 성분과 경면 반사 성분의 분리 정밀도가 낮은 화소이다. The correction determination unit 70 compares the pixel value difference with a predetermined threshold value for each pixel, determines that the diffuse reflection component of the pixel whose difference is greater than the threshold value is corrected, and the diffuse reflection component of the pixel whose difference is equal to or less than the threshold value is determined not to be corrected, and the determination result is output to the correction value calculating unit 80 . Here, the pixel having a difference greater than the threshold is a pixel having low separation precision between the diffuse reflection component and the specular reflection component.

수정값 산출부(80)는 확산 반사 성분을 수정하는 것으로 판단한 화소에 대해, 확산 반사 성분의 수정값을 산출하고, 성분 수정부(90)로 출력한다. 확산 반사 성분의 수정값 산출 방법에 대해서도 후술한다. The correction value calculating unit 80 calculates a correction value of the diffuse reflection component for the pixel determined to be corrected for the diffuse reflection component, and outputs it to the component correction unit 90 . A method of calculating the correction value of the diffuse reflection component will also be described later.

성분 수정부(90)는 확산 반사 성분을 수정하는 것으로 판단한 화소에 대해, 확산 반사 성분을 그 수정값으로 치환하여 반복 판정부(100)로 출력한다. The component correction unit 90 replaces the diffuse reflection component with the correction value for the pixel determined to be corrected for the diffuse reflection component, and outputs it to the repetition determination unit 100 .

반복 판정부(100)는 화상의 확산 반사 성분의 수정 레벨이 소정의 조건을 충족하고 있는지를 판정하고, 확산 반사 성분의 수정 레벨이 소정의 조건을 충족하지 않은 경우에는, 성분 수정부(90)에 의한 수정 결과를 경면 반사 성분 산출부(30)의 입력으로서 이용하여 다시 경면 반사 성분을 산출한다. 또한, 화상의 확산 반사 성분의 수정 레벨이 소정의 조건을 충족하고 있는 경우에는, 각 화소에 대해 산출한 확산 반사 성분과 경면 반사 성분을, 또는 수정한 확산 반사 성분과 경면 반사 성분을 화상 처리 장치(1)의 외부로 출력한다. The repetition determination unit 100 determines whether the correction level of the diffuse reflection component of the image satisfies a predetermined condition, and if the correction level of the diffuse reflection component does not satisfy the predetermined condition, the component correction unit 90 The specular reflection component is calculated again by using the result of correction by , as an input to the specular reflection component calculating unit 30 . In addition, when the correction level of the diffuse reflection component of the image satisfies a predetermined condition, the diffuse reflection component and the specular reflection component calculated for each pixel, or the corrected diffuse reflection component and the specular reflection component are applied to the image processing apparatus It is output to the outside of (1).

또한 본 실시의 형태 1에 따른 화상 처리 장치(1)에서는, 화상 입력부(10), 확산 반사 성분 산출부(20) 등의 각 구성 요소는, 예컨대, 컴퓨터인 화상 처리 장치(1)가 구비하는 프로세서 등의 연산 장치(미도시)의 제어에 의해 프로그램을 실행시킴으로써 실현될 수 있다. Further, in the image processing apparatus 1 according to the first embodiment, each component such as the image input unit 10 and the diffuse reflection component calculation unit 20 is provided in the image processing apparatus 1 which is, for example, a computer. It can be realized by executing a program under the control of an arithmetic device (not shown) such as a processor.

보다 구체적으로, 화상 처리 장치(1)는 기억부(미도시)에 격납된 프로그램을 주기억 장치(미도시)에 로딩하고, 프로세서 등의 연산 장치의 제어에 의해 프로그램을 실행하여 실현된다. 또한, 각 구성 요소는 프로그램에 의한 소프트웨어에서 실현하는 것에 한정하지 않고, 하드웨어, 펌 웨어 및 소프트웨어 중 몇개의 조합에 의해 실현할 수도 있다. More specifically, the image processing apparatus 1 is realized by loading a program stored in a storage unit (not shown) into a main storage device (not shown) and executing the program under the control of an arithmetic device such as a processor. In addition, each component is not limited to realization by software by a program, and can also be implemented by some combination of hardware, firmware, and software.

또한, 화상 처리 장치(1)는 TV, 스마트폰, 태블릿 PC, 웨어러블 카메라, HMD, 오토모빌 디스플레이 등의 영상 표시장치에 이용될 수 있다. In addition, the image processing apparatus 1 may be used in an image display apparatus such as a TV, a smart phone, a tablet PC, a wearable camera, an HMD, and an automobile display.

상술한 프로그램은 다양한 타입의 기록 미디어, 즉 비일시적인 컴퓨터 가독 매체(non-transitory computer readable medium)를 이용하여 격납되고, 화상 처리 장치(1)로 공급할 수 있다. 비일시적인 컴퓨터 가독 매체는 다양한 타입의 실체가 있는 기록 매체(tangible storage medium)를 포함한다. 여기서, '비일시적'은 저장매체가 신호(signal)를 포함하지 않으며 실재(tangible)한다는 것을 의미할 뿐 데이터가 저장매체에 반영구적 또는 임시적으로 저장됨을 구분하지 않는다. The above-described program can be stored using various types of recording media, that is, a non-transitory computer readable medium, and supplied to the image processing apparatus 1 . Non-transitory computer-readable media includes various types of tangible storage media. Here, 'non-transitory' means that the storage medium does not include a signal and is tangible, and does not distinguish that data is semi-permanently or temporarily stored in the storage medium.

비일시적인 컴퓨터 가독 매체의 예는 자기 기록 매체(예컨대, flexible disk, 자기 테이프, 하드 디스크 드라이브), 광자기 기록 매체(예컨대, 광학 자기 디스크), CD-ROM(Read Only Memory), CD-R, CD-R/W, 반도체 메모리(예컨대, 마스크 ROM, PROM(Programmable ROM), EPROM(Erasable PROM), 플래시 ROM, RAM(random access memory))를 포함한다. Examples of non-transitory computer-readable media include magnetic recording media (eg, flexible disk, magnetic tape, hard disk drive), magneto-optical recording media (eg, optical magnetic disk), CD-ROM (Read Only Memory), CD-R, CD-R/W, semiconductor memory (eg, mask ROM, PROM (Programmable ROM), EPROM (Erasable PROM), Flash ROM, RAM (random access memory)).

또한, 프로그램은 다양한 타입의 일시적인 컴퓨터 가독 매체(transitory computer readable medium)에 의해 화상 처리 장치(1)로 공급될 수도 있다. 일시적인 컴퓨터 가독 매체의 예는 전기 신호, 광신호 및 전자파를 포함한다. 일시적인 컴퓨터 가독 매체는 전선 및 광섬유 등의 유선 통신로, 또는 무선 통신로를 통해 프로그램을 화상 처리 장치(1)로 공급할 수 있다. Further, the program may be supplied to the image processing apparatus 1 by various types of transitory computer readable media. Examples of transitory computer-readable media include electrical signals, optical signals, and electromagnetic waves. The temporary computer readable medium may supply the program to the image processing apparatus 1 through a wired communication path such as an electric wire and optical fiber, or a wireless communication path.

또한, 개시된 실시예들에 따른 화상 처리 장치 또는 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 S/W 프로그램, S/W 프로그램이 저장된 컴퓨터로 읽을 수 있는 저장 매체를 포함할 수 있다. In addition, the image processing apparatus or method according to the disclosed embodiments may be provided as included in a computer program product. Computer program products may be traded between sellers and buyers as commodities. The computer program product may include a S/W program and a computer-readable storage medium in which the S/W program is stored.

이어서, 본 실시의 형태 1에 따른 화상 처리 장치(1)의 동작, 즉, 화상 처리 방법에 대해 보다 구체적으로 설명한다. Next, the operation of the image processing apparatus 1 according to the first embodiment, ie, an image processing method, will be described in more detail.

도 3은 본 실시의 형태 1에 따른 화상 처리 방법의 처리 순서를 나타내는 흐름도이다. 3 is a flowchart showing a processing procedure of the image processing method according to the first embodiment.

화상 처리 장치(1)가 동작을 개시하면, 화상 입력부(10)가 화상을 입력받고(스텝 S10), 확산 반사 성분 산출부(20)가 입력 화상의 확산 반사 성분을 화소마다 산출한다(스텝 S20). 확산 반사 성분 산출부(20)는, 종래의 방법을 이용하여 각 확산 반사 성분을 산출한다. When the image processing apparatus 1 starts operation, the image input unit 10 receives an image (step S10), and the diffuse reflection component calculation unit 20 calculates a diffuse reflection component of the input image for each pixel (step S20). ). The diffuse reflection component calculating unit 20 calculates each diffuse reflection component using a conventional method.

이어서, 경면 반사 성분 산출부(30)가 쉐이퍼(Shafer)의 이색성 반사 모델을 이용하여 입력 화상으로부터 경면 반사 성분을 화소마다 산출한다(스텝 S30). Next, the specular reflection component calculating unit 30 calculates a specular reflection component for each pixel from the input image using the dichroic reflection model of Shaper (step S30).

구체적으로 경면 반사 성분 산출부(30)는 수학식(1)에 나타낸 바와 같이, 이색성 반사 모델에 있어서, 입력 화상의 화소값 P 및 확산 반사 성분 α*D 를 입력하여 경면 반사 성분 β*S를 산출한다. Specifically, the specular reflection component calculating unit 30 inputs the pixel value P and the diffuse reflection component α*D of the input image in the dichroic reflection model as shown in Equation (1), and the specular reflection component β*S to calculate

Figure 112017114563833-pat00001
Figure 112017114563833-pat00001

여기서, α는 확산 반사 강도 계수(diffuse reflection intensity coefficient), β는 경면 반사 강도 계수(specular reflection intensity coefficient), D는 확산 반사 색도(diffuse reflection chromaticity), S는 경면 반사 색도(specular reflection chromaticity)를 나타낸다. Here, α is a diffuse reflection intensity coefficient, β is a specular reflection intensity coefficient, D is a diffuse reflection chromaticity, S is a specular reflection chromaticity indicates.

도 4는, 본 실시의 형태 1에 따른 확산 반사 성분 및 경면 반사 성분의 산출 방법 및 산출 결과를 설명하기 위한 도면이다. 토마토의 입력 화상(410)으로부터 확산 반사 성분 및 경면 반사 성분을 산출하고 있다. FIG. 4 is a diagram for explaining a method of calculating a diffuse reflection component and a specular reflection component and a calculation result according to the first embodiment. A diffuse reflection component and a specular reflection component are calculated from the input image 410 of the tomato.

도 4에 도시한 확산 반사 성분 화상(420)에 있어서, 토마토는 적색인 상태지만, 배경이 흑색이 되고, 토마토의 윤곽 부분(경계면), 광택 부분 및 그림자가 복숭아색으로 되어 있다. 또한, 경면 반사 성분 화상(430)에서는 배경 및 광택 부분이 회색이 되고, 토마토, 꼭지 및 토마토의 그림자가 흑색으로 되어 있다. In the diffuse reflection component image 420 shown in Fig. 4, the tomato is in a red state, but the background is black, and the outline part (boundary surface), the glossy part, and the shadow of the tomato are peach. In addition, in the specular reflection component image 430, the background and the glossy part are gray, and the tomato, the stem, and the tomato's shadow are black.

이어서, 필터 처리부(40)가 입력 화상, 확산 반사 성분 화상 및 경면 반사 성분 화상에 대해 고주파 강조 필터, 고주파 필터 등을 이용하여 각각 필터 처리를 수행한다(스텝 S40). 고주파 강조 필터 등의 필터 처리에 의해, 분리 정밀도가 낮은 화소의 확산 반사 성분 또는 경면 반사 성분이 강조된다. Next, the filter processing unit 40 performs filter processing on the input image, the diffuse reflection component image, and the specular reflection component image, respectively, using a high-frequency enhancement filter, a high-frequency filter, or the like (step S40). The diffuse reflection component or specular reflection component of a pixel with low separation precision is emphasized by filter processing, such as a high frequency enhancement filter.

이어서, 성분 결합부(50)가 이색성 반사 모델을 이용하여 필터 처리한 확산 반사 성분 화상과, 필터 처리한 경면 반사 성분 화상을 선형 결합하여 결합 화상을 생성한다(스텝 S50). Next, the component combining unit 50 linearly combines the filtered diffuse reflection component image and the filtered specular reflection component image using the dichroic reflection model to generate a combined image (step S50).

이어서, 차분 산출부(60)가 필터 처리한 입력 화상과, 생성한 결합 화상과의 화소값의 차분을 화소마다 산출한다(스텝 S60). Next, the difference calculation unit 60 calculates the difference between the pixel values of the filter-processed input image and the generated combined image for each pixel (step S60).

도 5는 본 실시의 형태 1에 따른 차분 처리 및 차분 화상을 설명하기 위한 도면이다. 여기서는 필터 처리에 언샤프 마스크(Unsharp masking) 또는 고주파 필터링을 이용하고, 필터 처리한 입력 화상(510)과 결합 화상(520)의 화소값 차분을 차분 화상(530)으로서 산출하고 있다. 또한 도 5에 도시한 차분 화상에서는 차분값이 소정의 문턱값 보다 큰 화소만을 나타내고 있다. 5 is a diagram for explaining difference processing and a difference image according to the first embodiment. Here, unsharp masking or high-frequency filtering is used for the filter processing, and the pixel value difference between the filtered input image 510 and the combined image 520 is calculated as the difference image 530 . In the difference image shown in Fig. 5, only pixels having a difference value greater than a predetermined threshold are shown.

결합 화상(520)에서는 적색 토마토의 경계면, 꼭지, 그림자의 일부 등이 백색으로 되어 있고, 차분 화상(530)에서는 당해 백색 부분 등이 차분이 큰 화소로서 나타나 있다. 전술한 바와 같이, 차분이 문턱값 보다 큰 화소는 확산 반사 성분과 경면 반사 성분의 분리 정밀도가 낮은 화소이다. In the combined image 520 , a part of the interface, apex, and shadow of the red tomato is colored white, and in the difference image 530 , the white part and the like are shown as pixels with a large difference. As described above, a pixel having a difference greater than the threshold is a pixel having a low separation precision between the diffuse reflection component and the specular reflection component.

이어서, 수정 판단부(70)가 화소값의 차분과 소정의 문턱값을 화소마다 비교하고, 차분이 문턱값 보다 큰 화소를 확산 반사 성분 또는 경면 반사 성분의 분리 정밀도가 낮은 화소로 판정하고, 당해 화소의 확산 반사 성분을 수정하는 것으로 판단한다. 또한, 수정 판단부(70)가 당해 차분이 문턱값 이하의 화소를 확산 반사 성분과 경면 반사 성분의 분리 정밀도가 높은 화소로 판정하고, 당해 화소의 확산 반사 성분을 수정하지 않는 것으로 판단한다(스텝 S70). Next, the correction determination unit 70 compares the pixel value difference with a predetermined threshold value for each pixel, and determines the pixel having a difference greater than the threshold value as a pixel with low separation accuracy of the diffuse reflection component or the specular reflection component, and the It is determined that the diffuse reflection component of the pixel is corrected. Further, the correction determination unit 70 determines that the pixel whose difference is equal to or less than the threshold is a pixel with high separation precision between the diffuse reflection component and the specular reflection component, and determines that the diffuse reflection component of the pixel is not corrected (step S70).

이러한 판정, 판단은 각 반사 성분 화상에 필터 처리를 하여 결합한 결합 화상과, 입력 화상에 동일한 필터 처리를 하여 얻어진 화상은 동일한 화상이 될 것이라는 가정에 기초하고 있다. Such judgment and judgment are based on the assumption that a combined image combined by applying a filter process to each reflection component image and an image obtained by subjecting an input image to the same filter process will become the same image.

수정 판단부(70)는 화소값의 차분과, 소정의 문턱값을 비교한 결과로서, 예컨대, 도 5에 도시한 차분 화상에서의 차분값이 큰 화소의 확산 반사 성분을 수정하는 것으로 판단한다. As a result of comparing the pixel value difference with a predetermined threshold, the correction determination unit 70 determines that the diffuse reflection component of the pixel having a large difference value in the difference image shown in FIG. 5 is corrected, for example.

그리고, 수정 판단부(70)가 확산 반사 성분을 수정하는(스텝 S70의 YES) 것으로 판단한 화소(이하, "주목 화소"라 함)에 대해서는 수정값 산출부(80)가 주목 화소의 주변 화소 중 소정의 조건을 충족하는 주변 화소의 확산 반사 성분을 주목 화소의 확산 반사 성분의 수정값으로서 산출한다(스텝 S80). Then, with respect to the pixel (hereinafter, referred to as a “pixel of interest”) that the correction determination unit 70 has determined to correct the diffuse reflection component (YES in step S70), the correction value calculating unit 80 selects one of the pixels surrounding the pixel of interest. The diffuse reflection component of the peripheral pixel satisfying the predetermined condition is calculated as a correction value of the diffuse reflection component of the pixel of interest (step S80).

구체적으로 수정값 산출부(80)는 목적 함수로서의 에너지 함수(Energy function)(또는 유사도 함수, 코스트 함수라고도 함)를 수학식(2)와 같이 정의하고, 에너지 함수의 값이 가장 작아지는 주변 화소의 확산 반사 성분을 주목 화소의 수정값으로 한다(A, B는 가중 계수). Specifically, the correction value calculator 80 defines an energy function (or similarity function, also called a cost function) as an objective function as in Equation (2), and the neighboring pixel having the smallest value of the energy function A diffuse reflection component of is taken as the correction value of the pixel of interest (A and B are weighting coefficients).

Figure 112017114563833-pat00002
Figure 112017114563833-pat00002

즉, 수정값 산출부(80)는, 예컨대 RGB 화상인 입력 화상에서 주목 화소의 색과 동일한 색 또는 유사한 색을 가지고, 또한, 확산 반사 성분과 경면 반사 성분과의 분리 정밀도가 높은 화소를 주변 화소 중에서 탐색하고, 당해 주변 화소의 확산 반사 성분을 주목 화소의 수정값으로 결정한다. That is, the correction value calculating unit 80 selects, in an input image, e.g., an RGB image, a pixel having the same color or a color similar to the color of the pixel of interest, and having a high separation precision between the diffuse reflection component and the specular reflection component, as a peripheral pixel. search is performed, and the diffuse reflection component of the neighboring pixel is determined as the correction value of the pixel of interest.

또한 수정값 산출부(80)는 가중 계수 A, B의 일방을 0으로 설정하여 주변 화소를 탐색할 수도 있다. Also, the correction value calculator 80 may set one of the weighting coefficients A and B to 0 to search for neighboring pixels.

또한, 수정값 산출부(80)은 주변 화소를 탐색하는 범위를, 경면 반사 성분이 소정의 문턱값 보다 크고, 경면 반사 성분을 갖는 것으로 간주할 수 있는 화소의 수에 의해 산출한 범위로 한정할 수도 있다. 이 때의 문턱값으로는, 예컨대, 경면 반사 성분에 대한 화상 전체의 평균값, 오츠(Otsu)의 문턱값 결정법에서 피셔비(판별비)를 최대로 하는 값, 키틀러(Kittler)의 문턱값 결정법에서 평균 오식별율에 관한 기준을 최소로 하는 값 등을 이용할 수 있다. In addition, the correction value calculating unit 80 may limit the range of searching for surrounding pixels to a range calculated by the number of pixels having a specular reflection component greater than a predetermined threshold and can be regarded as having a specular reflection component. may be As the threshold value at this time, for example, the average value of the entire image for the specular reflection component, the value that maximizes the Fisher ratio (discrimination ratio) in Otsu's threshold value determination method, Kittler's threshold value determination method A value that minimizes the standard for the average misidentification rate can be used.

이어서, 성분 수정부(90)가 주목 화소의 확산 반사 성분을 수정값에 의해 치환한다(스텝 S90). Next, the component correction unit 90 replaces the diffuse reflection component of the pixel of interest with the correction value (step S90).

이어서, 반복 판정부(100)가 화상의 확산 반사 성분의 수정 레벨이 소정의 조건, 예컨대 확산 반사 성분의 분리 정밀도가 낮은 화소의 수가 소정값 이하이거나, 확산 반사 성분의 수정 회수가 소정값 이상인 등의 조건을 충족하는지 여부에 따라 확산 반사 성분의 수정 처리를 반복할지 여부를 판정한다(스텝 S100). Next, the repetition determination unit 100 determines that the correction level of the diffuse reflection component of the image is a predetermined condition, for example, the number of pixels with low separation precision of the diffuse reflection component is less than or equal to a predetermined value, or the number of corrections of the diffuse reflection component is greater than or equal to a predetermined value, etc. It is determined whether or not to repeat the correction process of the diffuse reflection component according to whether the condition of is satisfied (step S100).

그리고, 반복 판정부(100)는 화상의 확산 반사 성분의 수정 레벨이 소정의 조건을 충족하지 않아, 수정 처리를 반복한다고 판정한 경우(스텝 S100의 YES)에는, 예컨대 스텝 S30으로 돌아와, 확산 반사 성분 수정 처리(스텝 S90)의 출력을 경면 반사 성분 산출 처리(스텝 S30)의 입력으로서 이용하여 경면 반사 성분을 다시 산출한다. Then, if the repetition determination unit 100 determines that the correction process is repeated because the correction level of the diffuse reflection component of the image does not satisfy the predetermined condition (YES in step S100), for example, it returns to step S30 and returns to the diffuse reflection The specular reflection component is calculated again by using the output of the component correction processing (step S90) as an input of the specular reflection component calculation processing (step S30).

또한, 반복 판정부(100)는 화상의 확산 반사 성분의 수정 레벨이 소정의 조건을 충족하고 있어, 수정 처리를 반복하지 않는다고 판정한 경우(스텝 S100의 NO)에는, 각 화소에 대해 스텝 S20, 30에서 산출한 확산 반사 성분, 경면 반사 성분 또는 스텝 S90에서 수정한 확산 반사 성분을 화상 처리 장치(1)의 외부로 출력하고, 화상 처리를 종료한다. In addition, when it is determined that the correction level of the diffuse reflection component of the image satisfies the predetermined condition and the correction process is not repeated (NO in step S100), the repetition determination unit 100 performs steps S20, The diffuse reflection component calculated in step 30, the specular reflection component, or the diffuse reflection component corrected in step S90 are output to the outside of the image processing apparatus 1, and the image processing is terminated.

또한 수정 판단부(70)가 어떤 화소의 확산 반사 성분을 수정하지 않는 것으로 판단(스텝 S70의 NO)하였을 때는 스텝 S100으로 진행되고, 반복 판정부(100)가 확산 반사 성분의 수정 처리를 반복할지 여부를 판정한다. In addition, when the correction determining unit 70 determines that the diffuse reflection component of a certain pixel is not to be corrected (NO in step S70), the process proceeds to step S100, and the repetition determination unit 100 repeats the diffuse reflection component correction process. determine whether

또한, 본 실시의 형태 1에 따른 화상 처리 방법에서는 확산 반사 성분의 수정 처리의 반복 회수가 많을수록, 확산 반사 성분과 경면 반사 성분의 분리 정밀도의 향상을 기대할 수 있다. Further, in the image processing method according to the first embodiment, as the number of repetitions of the correction processing for the diffuse reflection component increases, the separation accuracy between the diffuse reflection component and the specular reflection component can be expected to be improved.

도 6은 본 실시의 형태 1에 따른 분리 정밀도의 개선 효과를 나타내는 도면이다. 입력 화상에는 검은 배경에, 빨강 및 초록의 체크무늬를 갖는 구(球)가 그려진 컴퓨터 그래픽(CG) 화상을 이용하고 있다. 도 6의 610, 620는 각각 확산 반사 성분을 나타내는 화상이고, 도 6의 630, 640는 각각 경면 반사 성분을 나타내는 화상이다. 또한, 도 6의 610, 630은 각각 분리 정밀도 개선 전의 화상을 나타내고, 도 6의 620, 640는 각각 분리 정밀도 개선 후의 화상을 나타낸다. 6 is a diagram showing the effect of improving the separation precision according to the first embodiment. A computer graphic (CG) image in which a sphere having red and green checkered patterns is drawn on a black background is used as the input image. 610 and 620 of FIG. 6 are images each representing a diffuse reflection component, and 630 and 640 of FIG. 6 are images representing a specular reflection component, respectively. In addition, 610 and 630 in FIG. 6 each indicate an image before separation precision improvement, and 620 and 640 in FIG. 6 each indicate an image after separation precision improvement.

이러한 화상에 있어서, 그라운드 트루스(ground truth) 또는 참값(true value)에 대한 피크 신호대 노이즈비(PSNR)에 대해 확산 반사 성분에서는 4.5dB, 경면 반사 성분에서는 9.51dB의 개선을 각각 확인할 수 있었다. In these images, with respect to the peak signal-to-noise ratio (PSNR) to ground truth or true value, 4.5 dB in the diffuse reflection component and 9.51 dB in the specular reflection component were confirmed, respectively.

그리고, 상기한 바와 같이 산출하거나 또는 수정한 확산 반사 성분 및 경면 반사 성분에 대해 독립적으로 필터 처리 등의 화상 처리를 수행하면, 디스플레이 등에 표시하는 화상의 화질, 특히 질감, 광택감 등을 향상시킬 수 있다. In addition, if image processing such as filter processing is performed independently on the diffuse reflection component and the specular reflection component calculated or corrected as described above, the image quality, particularly the texture, glossiness, etc. of the image displayed on a display or the like can be improved. .

도 7은 본 실시의 형태 1에 따른 분리 정밀도의 개선 효과를 나타내는 별도의 도면이다. 도 7의 710, 720, 730은 각각 입력 화상, 개선 전의 경면 반사 성분 강조 화상, 개선 후의 경면 반사 성분 강조 화상을 나타낸다. 7 is another diagram showing the effect of improving the separation precision according to the first embodiment. 710, 720, and 730 in Fig. 7 denote an input image, a specular reflection component enhancement image before enhancement, and a specular reflection component enhancement image after enhancement, respectively.

분리 정밀도 개선 후의 경면 반사 성분 강조 화상은, 입력 화상과 비교하여 광택감이 향상되어 있고, 또한 개선 전의 경면 반사 성분 강조 화상과 비교하여 토마토 경계 근처의 아티팩트가 감소되어 있음을 알 수 있다. It can be seen that the specular reflection component-emphasized image after the separation precision improvement has improved gloss compared to the input image, and the artifacts near the tomato boundary are reduced compared with the specular reflection component-emphasized image before the improvement.

도 8은 본 실시의 형태 1에 따른 분리 정밀도의 개선 효과를 나타내는 다른 도면이다. 도 8의 810, 820는 개선 전의 경면 반사 성분 강조 화상, 도 8의 830, 840는개선 후의 경면 반사 성분 강조 화상을 나타낸다. 또한, 도 8의 820, 840는 각각 도 8의 810, 830의 일부를 확대한 화상이다. 입력 화상에는 도 6과 같은 CG 화상을 이용하고 있다. Fig. 8 is another view showing the effect of improving the separation precision according to the first embodiment. Reference numerals 810 and 820 in Fig. 8 denote specular reflection component enhanced images before improvement, and 830 and 840 in Fig. 8 denote specular reflection component enhanced images after improvement. In addition, 820 and 840 of FIG. 8 are partially enlarged images of 810 and 830 of FIG. 8 , respectively. A CG image as shown in Fig. 6 is used for the input image.

분리 정밀도 개선 전의 경면 반사 성분 강조 화상에서는 체크무늬의 빨강과 초록의 경계 부분에 아티팩트가, 예컨대, 흑색의 선으로 나타나 있는데, 분리 정밀도 개선 후의 경면 반사 성분 강조 화상에서는 당해 아티팩트가 감소되어 있음을 알 수 있다. In the specular reflection component-emphasized image before separation precision improvement, artifacts, such as black lines, appear at the boundary between red and green in a checkered pattern. can

도 9는 본 실시의 형태 1에 따른 화상의 화질 및 질감 개선 효과를 나타내는 도면이다. 도 9의 910은 입력 화상을 나타내고, 도 9의 920는 확산 반사 성분 및 경면 반사 성분에 개별적으로 화상 처리를 수행한 화상을 나타낸다. 어떤 화상에도 적자색의 꽃잎과, 그 중심에 있는 황색 또는 황녹색의 꽃받침이 찍혀 있는데, 도 9의 920의 화상 처리 후의 화상에서는 광택감이 향상되어 꽃잎 및 꽃받침 하나하나가 명확해져 있음을 알 수 있다. Fig. 9 is a view showing the image quality and texture improvement effect of the image according to the first embodiment. Reference numeral 910 in Fig. 9 denotes an input image, and reference numeral 920 in Fig. 9 denotes an image in which image processing is separately performed on the diffuse reflection component and the specular reflection component. In any image, red-purple petals and a yellow or yellow-green calyx in the center are stamped, but in the image after image processing in 920 of FIG.

또한 본 실시의 형태 1에 따른 화상 처리 장치(1) 또는 화상 처리 방법에서는 다양한 변형이 가능하다. In addition, various modifications are possible in the image processing apparatus 1 or the image processing method according to the first embodiment.

예컨대, 본 실시의 형태 1에 따른 화상 처리 장치(1)에서는, 수정값 산출부(80)가 에너지 함수에 기초하여 주목 화소의 확산 반사 성분의 수정값을 산출하고, 성분 수정부(90)가 주목 화소의 확산 반사 성분을 수정하였지만, 수정값 산출부(80) 및 성분 수정부(90)가 주목 화소를 중심으로 하는 영역에 미디언 필터 등의 필터 처리를 수행하여 주목 화소의 확산 반사 성분을 수정하게 할 수도 있다. 이 경우, 예컨대, 미디언 필터에서 산출한 중앙값이 확산 반사 성분의 수정값이 된다. For example, in the image processing apparatus 1 according to the first embodiment, the correction value calculating unit 80 calculates the correction value of the diffuse reflection component of the pixel of interest based on the energy function, and the component correction unit 90 Although the diffuse reflection component of the pixel of interest is corrected, the correction value calculating unit 80 and the component correction unit 90 perform a filter process such as a median filter on the area centered on the pixel of interest to obtain the diffuse reflection component of the pixel of interest. You can also make it editable. In this case, for example, the median value calculated by the median filter becomes the correction value of the diffuse reflection component.

또한, 본 실시의 형태 1에 따른 화상 처리 장치(1)에서는, 수정 판단부(70)가 화소마다 확산 반사 성분을 수정하는 것으로 판단하여 이후의 처리에서 당해 확산 반사 성분을 수정하였지만, 수정 판단부(70)가 화소마다 경면 반사 성분을 수정하는 것으로 판단하고, 수정값 산출부(80)가 경면 반사 성분의 수정값을 산출하고, 성분 수정부(90)가 경면 반사 성분을 수정하는 것으로 판단한 화소에 대해, 경면 반사 성분을 그 수정값으로 치환하게 할 수도 있다. 이 경우, 수정한 경면 반사 성분을 이용하여 확산 반사 성분을 다시 산출할 수 있다. Further, in the image processing apparatus 1 according to the first embodiment, the correction determining unit 70 determines that the diffuse reflection component is to be corrected for each pixel, and corrects the diffuse reflection component in the subsequent processing. However, the correction determination unit 70 A pixel that 70 determines that the specular reflection component is corrected for each pixel, the correction value calculating unit 80 calculates a correction value of the specular reflection component, and the component correction unit 90 determines that the specular reflection component is corrected , the specular reflection component may be substituted with its correction value. In this case, the diffuse reflection component can be calculated again using the corrected specular reflection component.

또한, 본 실시의 형태 1에 따른 화상 처리 장치(1)에서는, 수정 판단부(70)가 필터 처리한 입력 화상과 결합 화상과의 차분에 기초하여 화소마다 확산 반사 성분 또는 경면 반사 성분의 분리 정밀도를 평가하였지만, 수정 판단부(70)가 필터 처리한 확산 반사 성분 화상 또는 필터 처리한 경면 반사 성분 화상의 각 화소에 대해 화소값이 부(負)인지 아닌지를 판정하여 화소마다 확산 반사 성분 또는 경면 반사 성분의 분리 정밀도를 평가할 수도 있다. Further, in the image processing apparatus 1 according to the first embodiment, the separation precision of the diffuse reflection component or the specular reflection component for each pixel based on the difference between the input image and the combined image filtered by the correction determination unit 70 was evaluated, but the correction determination unit 70 determines whether the pixel value is negative for each pixel of the filtered diffuse reflection component image or the filter-processed specular reflection component image, It is also possible to evaluate the separation precision of the reflection component.

구체적으로 수정 판단부(70)는 필터 처리한 확산 반사 성분 화상 또는 필터 처리한 경면 반사 성분 화상의 화소값, 즉, R, G, B의 6개의 값 중 어느 하나가 부(負)인 화소는 이색성 반사 모델과 모순되는 화소값을 가지고 있어 확산 반사 성분 또는 경면 반사 성분의 산출 또는 분리에 실패한 것으로 간주하여 당해 화소의 확산 반사 성분 또는 경면 반사 성분을 수정하는 것으로 판단한다. Specifically, the correction determination unit 70 determines that the pixel value of the filtered diffuse reflection component image or the filter-processed specular reflection component image, that is, a pixel in which any one of six values of R, G, and B is negative, is It is determined that the calculation or separation of the diffuse reflection component or the specular reflection component has failed because it has a pixel value that contradicts the dichroic reflection model, and the diffuse reflection component or the specular reflection component of the pixel is corrected.

이 때도, 수정값 산출부(80)는 별도 산출하는 필터 처리 후의 입력 화상 화소값과 결합 화상 화소값의 차분 등으로부터, 수학식 (2)에 나타낸 에너지 함수를 이용하여 당해 화소의 수정값을 산출할 수 있다. Also in this case, the correction value calculation unit 80 calculates the correction value of the pixel by using the energy function shown in Equation (2) from the difference between the pixel value of the input image and the pixel value of the combined image after filter processing, which is calculated separately. can do.

또한, 수정 판단부(70)가 필터 처리한 입력 화상과 결합 화상의 차분에 근거하는 분리 정밀도의 평가와, 필터 처리한 각 반사 성분 화상의 화소값에 근거하는 분리 정밀도의 평가를 병용하고, 어느 일방의 평가에 기초하여 화소의 확산 반사 성분 또는 경면 반사 성분을 수정하는 것으로 판단하고, 수정값 산출부(80)가 수학식(2)에 나타낸 에너지 함수를 이용하여 수정값을 산출할 수도 있다. In addition, evaluation of the separation precision based on the difference between the input image and the combined image filtered by the correction determination unit 70 and evaluation of the separation precision based on the pixel values of each reflective component image subjected to the filter process are used together, Based on one evaluation, it is determined that the diffuse reflection component or the specular reflection component of the pixel is to be corrected, and the correction value calculating unit 80 may calculate a correction value using the energy function shown in Equation (2).

또한, 본 실시의 형태 1에 따른 화상 처리 장치(1) 또는 화상 처리 방법을 확산 반사 성분 또는 경면 반사 성분의 분리 정밀도를 평가하는 화상 평가 장치, 화상 평가 방법 등으로서 구성할 수도 있다. 예컨대, 화상 평가 장치로서 구성하는 경우에는, 본 실시의 형태 1에 따른 수정 판단부(70), 수정값 산출부(80), 성분 수정부(90), 반복 판정부(100) 대신에, 후술하는 실시의 형태 2와 같이, 분리 정밀도의 평가부와 같은 것을 설치할 수 있다. In addition, the image processing apparatus 1 or the image processing method according to the first embodiment may be configured as an image evaluation apparatus, an image evaluation method, or the like for evaluating the separation accuracy of a diffuse reflection component or a specular reflection component. For example, in the case of configuring as an image evaluation apparatus, the correction determination unit 70 , the correction value calculation unit 80 , the component correction unit 90 , and the repetition determination unit 100 according to the first embodiment will be described later instead of the As in the second embodiment to be described, the same thing as an evaluation unit for separation accuracy can be provided.

이상, 설명한 바와 같이, 본 실시의 형태 1에 따른 화상 처리 장치(1)는 입력 화상의 화소마다 확산 반사 성분과 경면 반사 성분을 산출하는 성분 산출부(20, 30)와, 확산 반사 성분 화상, 경면 반사 성분 화상 및 입력 화상에 각각 필터 처리를 수행하는 필터 처리부(40)와, 필터 처리한 확산 반사 성분 화상과, 필터 처리한 경면 반사 성분 화상을 결합하여 결합 화상을 생성하는 성분 결합부(50)와, 결합 화상과, 필터 처리한 입력 화상에 기초하여, 확산 반사 성분 또는 경면 반사 성분의 분리 정밀도를 평가하는 평가부(60, 70)를 구비하는 것이다. As described above, the image processing apparatus 1 according to the first embodiment includes the component calculating units 20 and 30 for calculating the diffuse reflection component and the specular reflection component for each pixel of the input image, the diffuse reflection component image, A filter processing unit 40 that performs filter processing on the specular reflection component image and the input image, respectively, and a component combining unit 50 that combines the filtered diffuse reflection component image and the filtered specular reflection component image to generate a combined image ) and evaluation units (60, 70) for evaluating the separation accuracy of the diffuse reflection component or the specular reflection component based on the combined image and the filtered input image.

이러한 구성에 의해, 단일 입력 화상으로부터 산출한 확산 반사 성분 또는 경면 반사 성분의 분리 정밀도를 적절히 평가하여 확산 반사 성분 또는 경면 반사 성분을 고정밀도로 산출할 수 있다. With this configuration, it is possible to appropriately evaluate the separation precision of the diffuse reflection component or the specular reflection component calculated from a single input image, and calculate the diffuse reflection component or the specular reflection component with high accuracy.

또한, 본 실시의 형태 1에 따른 화상 처리 장치(1)에 있어서, 평가부(60, 70)는 결합 화상과, 필터 처리한 입력 화상의 차분값을 화소마다 산출하고, 차분값과 소정의 문턱값을 비교하여 확산 반사 성분 또는 경면 반사 성분의 분리 정밀도를 평가하는 것이 바람직하다. Further, in the image processing apparatus 1 according to the first embodiment, the evaluation units 60 and 70 calculate a difference value between the combined image and the filtered input image for each pixel, and calculate the difference value and the predetermined threshold. It is preferable to compare the values to evaluate the separation precision of the diffuse reflection component or the specular reflection component.

이러한 구성에 의해, 화소마다 확산 반사 성분 또는 경면 반사 성분의 분리 정밀도를 평가할 수 있다. With this configuration, it is possible to evaluate the separation accuracy of the diffuse reflection component or the specular reflection component for each pixel.

또한, 본 실시의 형태 1에 따른 화상 처리 장치(1)는 평가부(60, 70)가 확산 반사 성분 또는 경면 반사 성분을 수정하는 것으로 판단한 화소마다 확산 반사 성분 또는 경면 반사 성분의 수정값을 산출하는 수정값 산출부(80)와, 수정값을 이용하여 확산 반사 성분 또는 경면 반사 성분을 수정하는 성분 수정부(90)를 더 구비하고, 성분 산출부(20, 30)는 입력 화상, 수정한 경면 반사 성분 또는 수정한 확산 반사 성분에 기초하여 확산 반사 성분 및 경면 반사 성분을 산출하고, 평가부(60, 70)는 차분값이 소정의 문턱값 이상의 화소의 확산 반사 성분 또는 경면 반사 성분을 수정하는 것으로 판단하는 것이 바람직하다. Further, the image processing apparatus 1 according to the first embodiment calculates the correction value of the diffuse reflection component or the specular reflection component for each pixel determined by the evaluation units 60 and 70 to correct the diffuse reflection component or the specular reflection component. and a component correction unit 90 for correcting a diffuse reflection component or a specular reflection component using the correction value, wherein the component calculation units 20 and 30 are The diffuse reflection component and the specular reflection component are calculated based on the specular reflection component or the corrected diffuse reflection component, and the evaluation units 60 and 70 correct the diffuse reflection component or the specular reflection component of the pixel whose differential value is equal to or greater than a predetermined threshold. It is preferable to judge that

이러한 구성에 의해, 화소마다 확산 반사 성분 또는 경면 반사 성분을 수정할 수 있다. With this configuration, it is possible to correct the diffuse reflection component or the specular reflection component for each pixel.

또한, 본 실시의 형태 1에 따른 화상 처리 장치(1)는 평가부(70)가 필터 처리한 확산 반사 성분 화상 또는 필터 처리한 경면 반사 성분 화상의 값이 부인지 여부에 따라 확산 반사 성분 또는 경면 반사 성분의 분리 정밀도를 평가하는 것이 바람직하다. In addition, the image processing apparatus 1 according to the first embodiment is configured according to whether the value of the diffuse reflection component image filtered by the evaluation unit 70 or the specular reflection component image subjected to the filter processing is negative depending on whether the diffuse reflection component or the specular reflection component image is negative. It is desirable to evaluate the separation precision of the reflection component.

이러한 구성에 의해, 화소마다 확산 반사 성분 또는 경면 반사 성분의 분리 정밀도를 보다 간단하게 평가할 수 있다. With this configuration, it is possible to more simply evaluate the separation accuracy of the diffuse reflection component or the specular reflection component for each pixel.

또한, 본 실시의 형태 1에 따른 화상 처리 장치(1)는 평가부(70)가 확산 반사 성분 또는 경면 반사 성분을 수정하는 것으로 판단한 화소마다 확산 반사 성분 또는 경면 반사 성분의 수정값을 산출하는 수정값 산출부(80)와, 수정값을 이용하여 확산 반사 성분 또는 경면 반사 성분을 수정하는 성분 수정부(90)를 더 구비하고, 성분 산출부(20, 30)는 입력 화상, 수정한 경면 반사 성분 또는 수정한 확산 반사 성분에 기초하여 확산 반사 성분 및 경면 반사 성분을 산출하고, 평가부(70)는 필터 처리한 확산 반사 성분 화상 또는 필터 처리한 경면 반사 성분 화상의 화소값이 부인 화소의 확산 반사 성분 또는 경면 반사 성분을 수정하는 것으로 판단하는 것이 바람직하다. In addition, the image processing apparatus 1 according to the first embodiment is a correction that calculates a correction value of the diffuse reflection component or the specular reflection component for each pixel determined by the evaluation unit 70 to correct the diffuse reflection component or the specular reflection component It further includes a value calculating unit 80 and a component correcting unit 90 for correcting a diffuse reflection component or a specular reflection component using the correction value, and the component calculation units 20 and 30 include the input image and the corrected specular reflection. The diffuse reflection component and the specular reflection component are calculated based on the component or the corrected diffuse reflection component, and the evaluation unit 70 diffuses the pixels whose pixel values of the filtered diffuse reflection component image or the filtered specular reflection component image are negative. It is preferable to judge that the reflection component or the specular reflection component is corrected.

이러한 구성에 의해, 화소마다 확산 반사 성분 또는 경면 반사 성분을 간단하게 수정할 수 있다. With this configuration, it is possible to easily correct the diffuse reflection component or the specular reflection component for each pixel.

또한, 본 실시의 형태 1에 따른 화상 처리 장치(1)에 있어서, 수정값 산출부(80)는 수정하는 것으로 판단한 화소의 주변 화소 중 소정의 조건을 충족하는 주변 화소의 확산 반사 성분 또는 경면 반사 성분을 수정값으로서 산출하는 것이 바람직하다. Further, in the image processing apparatus 1 according to the first embodiment, the correction value calculating unit 80 is a diffuse reflection component or specular reflection of a neighboring pixel satisfying a predetermined condition among neighboring pixels of the pixel determined to be corrected. It is preferable to calculate the component as a correction value.

이러한 구성에 의해, 간단하게 확산 반사 성분 또는 경면 반사 성분의 수정값을 산출할 수 있다. With this configuration, it is possible to easily calculate the correction value of the diffuse reflection component or the specular reflection component.

또한, 본 실시의 형태 1에 따른 화상 처리 장치(1)에 있어서, 소정의 조건은 입력 화상에서의 수정하는 것으로 판단한 화소의 화소값과 주변 화소의 화소값의 차분, 및 주변 화소에 있어서의, 필터 처리한 입력 화상의 화소값과 결합 화상의 화소값의 차분에 각각 소정의 계수를 곱한 값의 합계가 가장 작은 것이 바람직하다. Further, in the image processing apparatus 1 according to the first embodiment, the predetermined condition is the difference between the pixel value of the pixel determined to be corrected in the input image and the pixel value of the neighboring pixel, and the It is preferable that the sum of the values obtained by multiplying the difference between the pixel values of the filtered input image and the pixel values of the combined image by a predetermined coefficient is the smallest.

이러한 구성에 의해, 확산 반사 성분 또는 경면 반사 성분의 수정값을 보다 적절히 산출할 수 있다. With such a configuration, the correction value of the diffuse reflection component or the specular reflection component can be more appropriately calculated.

또한, 본 실시의 형태 1에 따른 화상 처리 장치(1)는 수정전 화소수가 소정값 이상, 또는 수정후 화소수가 소정값 이하인 경우, 성분 산출부(20, 30)에 의한 처리를 반복하게 하는 반복 판정부(100)를 더 구비하는 것이 바람직하다. Further, in the image processing apparatus 1 according to the first embodiment, when the number of pixels before correction is equal to or greater than a predetermined value or the number of pixels after correction is less than or equal to a predetermined value, the repeating plate for repeating the processing by the component calculation units 20 and 30 It is preferable to further include the government (100).

이러한 구성에 의해, 확산 반사 성분 또는 경면 반사 성분을 보다 고정밀도로 산출할 수 있다. With such a configuration, the diffuse reflection component or the specular reflection component can be calculated more accurately.

또한, 본 실시의 형태 1에 따른 화상 처리 장치(1)에 있어서, 필터 처리부(40)는 필터 처리에 고주파 강조 필터를 이용하는 것이 바람직하다. Further, in the image processing apparatus 1 according to the first embodiment, the filter processing unit 40 preferably uses a high-frequency enhancement filter for the filter processing.

이러한 구성에 의해, 확산 반사 성분 또는 경면 반사 성분의 분리 정밀도를 보다 적절히 평가할 수 있다.With such a configuration, it is possible to more appropriately evaluate the separation accuracy of the diffuse reflection component or the specular reflection component.

또한, 본 실시의 형태 1에 따른 화상 처리 장치(1)는 입력 화상의 화소마다 확산 반사 성분 또는 경면 반사 성분을 산출하는 성분 산출부(20, 30); 확산 반사 성분 화상 또는 경면 반사 성분 화상에 필터 처리를 수행하는 필터 처리부(40); 필터 처리한 확산 반사 성분 화상 또는 필터 처리한 경면 반사 성분 화상의 각 화소값이 부인지 여부에 따라 확산 반사 성분 또는 경면 반사 성분의 분리 정밀도를 평가하는 평가부(70);를 구비하는 것이다. Further, the image processing apparatus 1 according to the first embodiment includes: component calculating units 20 and 30 for calculating a diffuse reflection component or a specular reflection component for each pixel of an input image; a filter processing unit 40 that performs filter processing on the diffuse reflection component image or the specular reflection component image; and an evaluation unit 70 that evaluates the separation accuracy of the diffuse reflection component or the specular reflection component according to whether each pixel value of the filtered diffuse reflection component image or the filtered specular reflection component image is negative.

이러한 구성에 의해, 확산 반사 성분 또는 경면 반사 성분의 분리 정밀도를 간단하게 평가할 수 있다. With such a configuration, it is possible to easily evaluate the separation accuracy of the diffuse reflection component or the specular reflection component.

또한, 본 실시의 형태 1에 따른 화상 처리 방법은 입력 화상의 화소마다 확산 반사 성분과 경면 반사 성분을 산출하는 스텝 S20, S30; 확산 반사 성분 화상, 경면 반사 성분 화상 및 입력 화상에 각각 필터 처리를 수행하는 스텝 S40; 필터 처리한 확산 반사 성분 화상과, 필터 처리한 경면 반사 성분 화상을 결합하여 결합 화상을 생성하는 스텝 S50; 결합 화상과, 필터 처리한 입력 화상에 기초하여, 확산 반사 성분 또는 경면 반사 성분의 분리 정밀도를 평가하는 스텝 S60, S70;을 갖는 것이다. Further, the image processing method according to the first embodiment includes steps S20 and S30 of calculating a diffuse reflection component and a specular reflection component for each pixel of the input image; step S40 of performing filter processing on the diffuse reflection component image, the specular reflection component image, and the input image, respectively; a step S50 of generating a combined image by combining the filtered diffuse reflection component image and the filtered specular reflection component image; It has steps S60 and S70 of evaluating the separation precision of the diffuse reflection component or the specular reflection component based on the combined image and the filter-processed input image.

이러한 구성에 의해, 단일 입력 화상으로부터 산출한 확산 반사 성분 또는 경면 반사 성분의 분리 정밀도를 적절히 평가하여 확산 반사 성분 또는 경면 반사 성분을 고정밀도로 산출할 수 있다. With this configuration, it is possible to appropriately evaluate the separation precision of the diffuse reflection component or the specular reflection component calculated from a single input image, and calculate the diffuse reflection component or the specular reflection component with high accuracy.

또한, 본 실시의 형태 1에 따른 화상 처리 프로그램은 컴퓨터에 입력 화상의 화소마다 확산 반사 성분과 경면 반사 성분을 산출하는 순서; 확산 반사 성분 화상, 경면 반사 성분 화상 및 입력 화상에 각각 필터 처리를 수행하는 순서; 필터 처리한 확산 반사 성분 화상과, 필터 처리한 경면 반사 성분 화상을 결합하여 결합 화상을 생성하는 순서; 결합 화상과, 필터 처리한 입력 화상에 기초하여, 확산 반사 성분 또는 경면 반사 성분의 분리 정밀도를 평가하는 순서;를 실행시키기 위한 것이다. Further, the image processing program according to the first embodiment includes a procedure for calculating a diffuse reflection component and a specular reflection component for each pixel of an input image to a computer; an order of performing filter processing on the diffuse reflection component image, the specular reflection component image, and the input image, respectively; a procedure of generating a combined image by combining the filtered diffuse reflection component image and the filtered specular reflection component image; This is for executing a procedure of evaluating the separation precision of the diffuse reflection component or the specular reflection component based on the combined image and the input image subjected to the filtering process.

이러한 구성에 의해, 단일 입력 화상으로부터 산출한 확산 반사 성분 또는 경면 반사 성분의 분리 정밀도를 적절히 평가하여 확산 반사 성분 또는 경면 반사 성분을 고정밀도로 산출할 수 있다. With this configuration, it is possible to appropriately evaluate the separation precision of the diffuse reflection component or the specular reflection component calculated from a single input image, and calculate the diffuse reflection component or the specular reflection component with high accuracy.

(실시의 형태 2) (Embodiment 2)

실시의 형태 1에 따른 화상 처리 장치(1) 또는 화상 처리 방법은 필터 처리한 입력 화상과 결합 화상과의 차분에 기초하여 화소 마다의 확산 반사 성분 또는 경면 반사 성분의 분리 정밀도를 평가하였지만, 본 실시의 형태 2에 따른 화상 평가 장치 또는 화상 평가 방법은 필터 처리한 입력 화상과 결합 화상과의 사이의 PSNR값에 기초하여 화상 전체의 확산 반사 성분 또는 경면 반사 성분의 분리 정밀도를 평가하는 것이다. The image processing apparatus 1 or the image processing method according to the first embodiment evaluated the separation precision of the diffuse reflection component or the specular reflection component for each pixel based on the difference between the filtered input image and the combined image. The image evaluation apparatus or image evaluation method according to aspect 2 of is to evaluate the separation precision of the diffuse reflection component or the specular reflection component of the whole image based on the PSNR value between the filter-processed input image and the combined image.

이하, 본 실시의 형태 2에 따른 화상 평가 장치 및 화상 평가 방법에 대해 화상 평가 장치의 구성에 입각하여 설명한다. Hereinafter, the image evaluation apparatus and image evaluation method which concern on this Embodiment 2 are demonstrated based on the structure of an image evaluation apparatus.

먼저, 도 10은 본 실시의 형태 2에 따른 화상 처리 방법의 동작의 일 예를 나타낸다. First, Fig. 10 shows an example of the operation of the image processing method according to the second embodiment.

도 10을 참조하면, 스텝 S1010에서, 화상 처리 장치는 입력 화상의 화소마다 확산 반사 성분 또는 경면 반사 성분을 산출할 수 있다. Referring to FIG. 10 , in step S1010, the image processing apparatus may calculate a diffuse reflection component or a specular reflection component for each pixel of an input image.

스텝 S1020에서, 화상 처리 장치는 산출된 확산 반사 성분에 기초한 확산 반사 성분 화상, 산출된 경면 반사 성분, 및 입력 화상에 각각 필터 처리를 수행할 수 있다. In step S1020, the image processing apparatus may perform filter processing on each of the diffuse reflection component image based on the calculated diffuse reflection component, the calculated specular reflection component, and the input image.

스텝 S1030에서, 화상 처리 장치는, 필터 처리한 확산 반사 성분 화상과 필터 처리한 경면 반사 성분 화상을 결합하여 결합 화상을 생성할 수 있다. In step S1030, the image processing apparatus may generate a combined image by combining the filtered diffuse reflection component image and the filtered specular reflection component image.

스텝 S1040에서, 화상 처리 장치는 결합 화상의 PSNR 과 필터처리한 입력 화상의 PSNR에 기초하여 확산 반사 성분 또는 경면 반사 성분의 분리 정밀도를 평가할 수 있다. In step S1040, the image processing apparatus can evaluate the separation precision of the diffuse reflection component or the specular reflection component based on the PSNR of the combined image and the PSNR of the filtered input image.

실시의 형태 2에 따른 화상 평가 장치에서는 우선 입력 화상에 기존 방법 등을 이용하여 반사 성분 분리한다. 그 후, 언샤프 마스킹(unsharp masking)의 계수 k을 어떤 값(예:초기치=1)으로 설정한다. 그리고 설정한 계수 k를 이용하여 확산 반사 성분과 경면 반사 성분으로 각각 언샤프 마스킹(unsharp masking) 필터링을 하고 그 결과를 2색 성 반사 모델에 근거하여 선형 결합한다. 그 결과와 입력 화상을 같은 계수 k을 이용하여 언샤프 마스킹(unsharp masking)를 건 화상과 Peak signal-to-noise Ratio(PSNR)의 계산을 수행한다. 그 PSNR이 어떤 한계 이상이면 반사 성분 분리가 정밀하게 계산 가능했다고 하자. 그 이유는 각 반사 성분에 언샤프 마스킹(unsharp masking)을 걸고 결합한 화상과 입력 화상에 언샤프 마스킹(unsharp masking)를 건 화상은 같아질 거라는 가정하에 있다. 만약 PSNR이 어떤 역치 이하인 경우, 언샤프 마스킹(unsharp masking)의 계수 k을 (k=k+1)로 변경하고, 같은 계산을 반복한다. 만약 k가 어떤 값까지 PSNR이 있는 한계를 넘지 않는 경우는 반사 성분 분리가 정확하게 이뤄지지 않고 있다고 한다. In the image evaluation apparatus according to the second embodiment, first, a reflection component is separated into an input image by using an existing method or the like. After that, the coefficient k of unsharp masking is set to a certain value (eg, initial value = 1). Then, using the set coefficient k, unsharp masking filtering is performed with the diffuse reflection component and the specular reflection component, respectively, and the results are linearly combined based on the dichroic reflection model. Using the same coefficient k as the result and the input image, the image subjected to unsharp masking and the peak signal-to-noise ratio (PSNR) are calculated. Assume that the reflection component separation is precisely calculable if its PSNR is above a certain limit. The reason is based on the assumption that an image combined with unsharp masking applied to each reflection component and an image applied with unsharp masking applied to the input image will be the same. If the PSNR is less than or equal to a certain threshold, the coefficient k of unsharp masking is changed to (k=k+1), and the same calculation is repeated. If k does not exceed the limit of PSNR up to a certain value, it is said that the reflection component separation is not performed correctly.

도 11은 본 실시의 형태 2에 따른 화상 평가 장치(2)의 개략 구성을 나타내는 블록도이다. 11 is a block diagram showing a schematic configuration of the image evaluation apparatus 2 according to the second embodiment.

화상 평가 장치(2)는 화상 입력부(110), 확산 반사 성분 산출부(120), 경면 반사 성분 산출부(130), 계수 결정부(140), 필터 처리부(150), 성분 결합부(160), PSNR 산출부(170), 정밀도 평가부(180), 반복 판정부(190) 등을 구비하고 있다. The image evaluation apparatus 2 includes an image input unit 110 , a diffuse reflection component calculation unit 120 , a specular reflection component calculation unit 130 , a coefficient determination unit 140 , a filter processing unit 150 , and a component combining unit 160 . , a PSNR calculation unit 170 , a precision evaluation unit 180 , a repetition determination unit 190 , and the like.

또한 화상 평가 장치(2)에서는 PSNR 산출부(170)와, 정밀도 평가부(180)를 조합하여 평가부로 구성할 수도 있고, 계수 결정부(140)를 필터 처리부(150)에 포함시킬 수도 있다. Also, in the image evaluation apparatus 2 , the PSNR calculation unit 170 and the precision evaluation unit 180 may be combined to constitute an evaluation unit, and the coefficient determining unit 140 may be included in the filter processing unit 150 .

화상 입력부(110)는, 예컨대, 화상 평가 장치(2)의 외부로부터 화상을 입력받고, 이 입력 화상을 확산 반사 성분 산출부(120), 경면 반사 성분 산출부(130), 필터 처리부(150) 등으로 출력한다. The image input unit 110 receives, for example, an image from the outside of the image evaluation device 2 , and converts the input image into a diffuse reflection component calculation unit 120 , a specular reflection component calculation unit 130 , and a filter processing unit 150 . output, etc.

확산 반사 성분 산출부(120), 경면 반사 성분 산출부(130)는 실시의 형태 1의 확산 반사 성분 산출부(20), 경면 반사 성분 산출부(30)와 마찬가지로, 단일 입력 화상으로부터 확산 반사 성분, 경면 반사 성분을 각각 산출하고, 필터 처리부(150) 등으로 출력한다. The diffuse reflection component calculation unit 120 and the specular reflection component calculation unit 130, similarly to the diffuse reflection component calculation unit 20 and the specular reflection component calculation unit 30 of the first embodiment, extract a diffuse reflection component from a single input image. , specular reflection components are calculated, respectively, and output to the filter processing unit 150 or the like.

계수 결정부(140)는 필터 처리부(150)에서 이용하는 필터의 계수 k를, 예컨대, 그 초기값으로서 "1"로 결정하고, 필터 처리부(150), 반복 판정부(190) 등으로 출력한다. 필터의 계수 k에 대해서는 후술한다. The coefficient determining unit 140 determines, for example, the coefficient k of the filter used by the filter processing unit 150 as "1" as its initial value, and outputs it to the filter processing unit 150 , the iteration determination unit 190 , or the like. The coefficient k of the filter will be described later.

필터 처리부(150)는 입력 화상, 확산 반사 성분 화상, 경면 반사 성분 화상에 대해 각각 실시의 형태 1과 마찬가지로 고주파 강조 필터 또는 고주파 필터를 이용한 선예화(鮮化) 처리를 수행하고, 그 결과를 성분 결합부(160), PSNR 산출부(170) 등으로 출력한다. The filter processing unit 150 performs sharpening processing using a high-frequency enhancement filter or a high-frequency filter on the input image, the diffuse reflection component image, and the specular reflection component image, respectively, as in the first embodiment, and converts the result to the component image. It is output to the combining unit 160 , the PSNR calculating unit 170 , and the like.

도 12는 본 실시의 형태 2에 따른 필터를 설명하기 위한 도면이다. 12 is a diagram for explaining a filter according to the second embodiment.

본 실시의 형태 2에서는 필터 처리에, 예컨대, 언샤프 마스크 프로세싱을 이용하여 각 화상의 콘트래스트를 강조하는 선예화 처리를 하고 있고, 여기서는 원화상 (1210)과 평활화 화상(1220)의 차분 화상에 대해 필터 계수 k를 승산하여 언샤프 마스크 화상(1230)을 생성하고 있다. In the second embodiment, in the filter processing, for example, sharpening processing for emphasizing the contrast of each image is performed using unsharp mask processing, in this case, the difference image between the original image 1210 and the smoothed image 1220 . is multiplied by the filter coefficient k to generate an unsharp mask image 1230 .

성분 결합부(160)는 실시의 형태 1과 마찬가지로, 이색성 반사 모델을 이용하여 필터 처리한 확산 반사 성분 화상과, 필터 처리한 경면 반사 성분 화상을 선형 결합하여 결합 화상을 생성하고, PSNR 산출부(170)로 출력한다. As in the first embodiment, the component combining unit 160 linearly combines the filtered diffuse reflection component image and the filtered specular reflection component image using the dichroic reflection model to generate a combined image, and a PSNR calculating unit output as (170).

PSNR 산출부(170)는 필터 처리한 입력 화상과, 생성한 결합 화상과의 사이의 PSNR값을 산출하고, 정밀도 평가부(180)로 출력한다. PSNR값의 산출에는 종래 기술을 이용할 수 있다. The PSNR calculation unit 170 calculates a PSNR value between the filter-processed input image and the generated combined image, and outputs it to the precision evaluation unit 180 . A conventional technique can be used for calculation of a PSNR value.

정밀도 평가부(180)는 PSNR값과 소정의 문턱값(예컨대, 40dB)을 비교하고, 그 결과를 반복 판정부(190)로 출력한다. 정밀도 평가부(180)는 PSNR값이 소정의 문턱값 이상일 때, 확산 반사 성분과 경면 반사 성분이 고정밀도로 분리되어 있는 것으로 판정하고, PSNR값이 소정의 문턱값 미만일 때, 확산 반사 성분과 경면 반사 성분이 고정밀도로 분리되지 않은 것으로 판정한다. The precision evaluation unit 180 compares the PSNR value with a predetermined threshold value (eg, 40 dB), and outputs the result to the repetition determination unit 190 . The precision evaluation unit 180 determines that the diffuse reflection component and the specular reflection component are separated with high precision when the PSNR value is equal to or greater than a predetermined threshold value, and when the PSNR value is less than the predetermined threshold value, the diffuse reflection component and the specular reflection component It is judged that the components are not separated with high precision.

예를 들어, PSNR이 40dB 이상이면, 반사성분이 고정도로 분리되어 있는 것으로 한다. 그 이유는, PSNR이 40dB 이상이면, 화상의 차이를 육안에 의해 판정하는 것이 곤란해지기 때문이다. 즉, 반사 성분 분리가 고정도로 행해지고 그 상태에서 경면 반사 성분의 강조를 행하고, 광택감의 향상을 행해도, 육안에 의해서는 화상에 아티팩트가 생성되지 않는 것으로 고려할 수 있기 때문이다. For example, if the PSNR is 40 dB or more, it is assumed that the reflection components are separated with high precision. The reason is that if the PSNR is 40 dB or more, it becomes difficult to visually determine the difference between the images. That is, even if the reflection component separation is performed with high precision and the specular reflection component is emphasized and glossiness is improved in that state, it can be considered that no artifacts are generated in the image with the naked eye.

도 13은 PSNR값과 아티팩트와의 관계를 설명하기 위한 도면이다. 13 is a diagram for explaining a relationship between a PSNR value and an artifact.

도 13의 1300A는 PSNR 이 낮아서 분리가 실패한 예를 나타내는 것으로, 1300A1은 필터 처리 후의 입력 화상, 1300A2는 결합 화상, 1300A3는 입력 화상에 있어서 경면 반사 성분을 1.8배로 강조한 화상을 나타내고 있다. 1300A in Fig. 13 shows an example in which separation fails due to low PSNR, 1300A1 is an input image after filter processing, 1300A2 is a combined image, and 1300A3 is an image in which the specular reflection component is emphasized by 1.8 times in the input image.

도 13의 1300A1에는 경면성 바닥면 상에 투명한 구가 비쳐 있는 전체적으로 푸르스름한 화상이고, 바닥면에는 구나 배경이 비쳐 있고, 구에도 배경이 비쳐 있다. 확산 반사 성분과 경면 반사 성분과의 분리 정밀도는 낮고, PSNR값은 15.37dB이다. 필터 처리 후의 입력 화상 1300A1과 결합 화상 1300A2은 크게 달라져 있고, 경면 반사 성분 강조 화상 1300A3에서는 많은 아티팩트가 발생하고 있다. 1300A1 of FIG. 13 is an overall bluish image in which a transparent sphere is reflected on the specular bottom surface, the sphere or background is reflected in the bottom surface, and the background is also reflected in the sphere. The separation precision between the diffuse reflection component and the specular reflection component is low, and the PSNR value is 15.37 dB. The input image 1300A1 after the filter processing and the combined image 1300A2 are significantly different, and many artifacts are generated in the specular reflection component enhanced image 1300A3.

도 13의 1100B는 PSNR 이 높아서 분리가 실패한 예를 나타내는 것으로, 1300B1은 필터 처리 후의 입력 화상, 1300B2는 결합 화상, 1300B3는 입력 화상에 있어서 경면 반사 성분을 1.8배로 강조한 화상을 나타내고 있다. 1100B in FIG. 13 shows an example in which separation fails due to high PSNR, 1300B1 is an input image after filter processing, 1300B2 is a combined image, and 1300B3 shows an image in which the specular reflection component is emphasized by 1.8 times in the input image.

도 13의 1300B는 흑색 배경에 갈색의 인물의 얼굴이 그려진 화상이다. 확산 반사 성분과 경면 반사 성분과의 분리 정밀도는 높고, PSNR값은 41.08dB이다. 필터 처리 후의 입력 화상 1300B1과 결합 화상 1300B2과의 차이는 작으며, 경면 반사 성분 강조 화상 1300B3에서도 아티팩트를 발생시키지 않고, 이마 및 뺨 주변의 광택이 강조되어 있다. 1300B in FIG. 13 is an image in which a brown face is drawn on a black background. The separation precision between the diffuse reflection component and the specular reflection component is high, and the PSNR value is 41.08 dB. The difference between the input image 1300B1 after the filter processing and the combined image 1300B2 is small, and no artifacts are generated even in the specular reflection component enhanced image 1300B3, and the gloss around the forehead and cheeks is emphasized.

도 13에서 보이는 바와 같이, PSNR이 40dB 이상의 화상에서는, 경면 반사 성분을 1.8배 강조한 경우에도 아티팩트가 생성되지 않는 것을 알 수 있다. As shown in Fig. 13, in an image having a PSNR of 40 dB or more, it can be seen that no artifacts are generated even when the specular reflection component is enhanced by 1.8 times.

반복 판정부(190)는 PSNR값이 소정의 문턱값 이상일 때는 확산 반사 성분과 경면 반사 성분을 화상 평가 장치(2)의 외부로 출력한다. 또한, 반복 판정부(190)는 PSNR값이 소정의 문턱값 미만일 때, 필터의 계수 k를 변경하고, 한번 더 계수 결정부(140)로부터 정밀도 평가부(180)까지의 처리, 즉 PSNR값을 산출하여 분리 정밀도를 평가하는 처리를 수행하도록 필터 계수 k를 변경하라는 지시를 계수 결정부(140)로 출력한다. The repetition determination unit 190 outputs the diffuse reflection component and the specular reflection component to the outside of the image evaluation apparatus 2 when the PSNR value is equal to or greater than a predetermined threshold. In addition, when the PSNR value is less than a predetermined threshold, the iteration determination unit 190 changes the coefficient k of the filter, and once more the processing from the coefficient determination unit 140 to the precision evaluation unit 180, that is, the PSNR value. An instruction to change the filter coefficient k so as to calculate and evaluate the separation precision is output to the coefficient determining unit 140 .

그리고, 계수 결정부(140)는 필터의 계수 k를 초기값인 "1"로부터 필터의 강도, 여기서는 선예화 처리의 강조도를 변경하기 위해, 예컨대, "2"로 1만큼 증가시켜 필터 처리부(150)로 출력한다. 그 후의 필터 처리부(150)로부터 반복 판정부(190)까지의 처리는 상술한 바와 같다. Then, the coefficient determining unit 140 increases the filter coefficient k by 1 to, for example, “2” in order to change the intensity of the filter, in this case, the intensity of the sharpening process from “1”, which is the initial value, to “2” to increase the filter processing unit ( 150) is output. Subsequent processing from the filter processing unit 150 to the repetition determination unit 190 is as described above.

반복 판정부(190)는 필터 계수 k가 소정값, 예컨대, 20이 될 때까지, PSNR값을 산출하여 분리 정밀도를 평가하는 처리를 반복하더라도, PSNR값이 소정의 문턱값 이상이 되지 않을 때는 확산 반사 성분과 경면 반사 성분이 고정밀도로 분리되지 않은 것으로 판정하고, 그 사실을 화상 평가 장치(2)의 외부로 출력한다. The repetition determination unit 190 repeats the process of calculating the PSNR value and evaluating the separation precision until the filter coefficient k becomes a predetermined value, for example, 20, but when the PSNR value does not exceed the predetermined threshold value, the diffusion It is determined that the reflection component and the specular reflection component are not separated with high precision, and the fact is output to the outside of the image evaluation device 2 .

또한, 반복 판정부(190)는 필터 계수 k가 소정값이 되어도 PSNR값이 소정의 문턱값 이상이 되지 않을 때, 확산 반사 성분 및 경면 반사 성분을 다시 산출하는 것으로 하고, 확산 반사 성분 산출부(120) 및 경면 반사 성분 산출부(130)에 그러한 지시를 출력할 수도 있다. In addition, the repetition determination unit 190 calculates the diffuse reflection component and the specular reflection component again when the PSNR value does not exceed a predetermined threshold value even when the filter coefficient k becomes a predetermined value, and the diffuse reflection component calculation unit ( 120) and the specular reflection component calculating unit 130 may output such an indication.

또한 본 실시의 형태 2에 있어서, 계수 결정부(140)는 필터의 계수 k의 초기값을 입력 화상의 휘도에 기초하여 결정할 수도 있다. 예컨대, 입력 화상 전체의 평균 휘도값을 이용하여 평균 휘도값이 0일 때, 계수 k를 0으로 하고, 평균 휘도값이 255일 때, 계수 k를 10으로 하도록 결정할 수도 있다. Also, in the second embodiment, the coefficient determining unit 140 may determine the initial value of the coefficient k of the filter based on the luminance of the input image. For example, by using the average luminance value of the entire input image, it may be determined that the coefficient k is 0 when the average luminance value is 0, and the coefficient k is 10 when the average luminance value is 255.

또한, 본 실시의 형태 2에 따른 화상 평가 장치(2), 화상 평가 방법을 화상 처리 장치, 화상 처리 방법으로서 구성할 수도 있다. Moreover, the image evaluation apparatus 2 and image evaluation method which concern on this Embodiment 2 can also be comprised as an image processing apparatus and an image processing method.

또한, 본 실시의 형태 2에 따른 화상 평가 장치(2)에서는 실시의 형태 1과 마찬가지로, 에너지 함수 등을 이용하여 분리 정밀도가 나쁜 화소의 확산 반사 성분 또는 경면 반사 성분을, 분리 정밀도가 좋은 화소의 확산 반사 성분 또는 경면 반사 성분으로 치환할 수도 있다. Further, in the image evaluation apparatus 2 according to the second embodiment, as in the first embodiment, the diffuse reflection component or the specular reflection component of the pixel with poor separation accuracy is separated from the pixel with good separation accuracy using an energy function or the like. It may be substituted with a diffuse reflection component or a specular reflection component.

또한, 본 실시의 형태 2에 따른 화상 평가 장치(2)를 화상 처리 장치로서 구성하고, 실시의 형태 1에 따른 화상 처리 장치(1)와 조합하여 이용할 수도 있다. 확산 반사 성분 또는 경면 반사 성분의 분리 정밀도를 실시의 형태 1에 따른 화상 처리 장치(1)에 의해 화소 단위로 평가하고, 본 실시의 형태 2에 따른 화상 처리 장치에 의해 화상 전체로 평가함으로써, 보다 적절히 분리 정밀도를 평가할 수 있다. Further, the image evaluation apparatus 2 according to the second embodiment may be configured as an image processing apparatus, and may be used in combination with the image processing apparatus 1 according to the first embodiment. By evaluating the separation precision of the diffuse reflection component or the specular reflection component on a pixel-by-pixel basis by the image processing apparatus 1 according to the first embodiment and evaluating the entire image by the image processing apparatus according to the second embodiment, more Separation precision can be appropriately evaluated.

이상, 설명한 바와 같이, 본 실시의 형태 2에 따른 화상 처리 장치(2)는 평가부(170, 180)는 결합 화상과, 필터 처리한 입력 화상과의 PSNR값을 산출하고, PSNR값과 소정의 문턱값을 비교하여 확산 반사 성분 또는 경면 반사 성분의 분리 정밀도를 평가하는 것이 바람직하다. As described above, in the image processing apparatus 2 according to the second embodiment, in the image processing apparatus 2 according to the second embodiment, the evaluation units 170 and 180 calculate the PSNR value of the combined image and the filter-processed input image, the PSNR value and the predetermined value It is preferable to compare the threshold values to evaluate the separation precision of the diffuse reflection component or the specular reflection component.

이러한 구성에 의해, 화상 전체의 확산 반사 성분 또는 경면 반사 성분의 분리 정밀도를 평가할 수 있다. With this configuration, it is possible to evaluate the separation accuracy of the diffuse reflection component or the specular reflection component of the entire image.

또한, 본 실시의 형태 2에 따른 화상 처리 장치(2)는 PSNR값이 소정의 문턱값 보다 작을 때, 필터 처리부에서 이용하는 필터의 강도를 변경하여 PSNR값을 다시 산출하도록 판정하는 반복 판정부(190)를 더 구비하고, 평가부(170, 180)는 필터의 강도를 소정값 이상으로 하더라도, PSNR값이 소정의 문턱값 보다 작을 때, 확산 반사 성분 또는 경면 반사 성분의 분리 정밀도가 나쁘다고 평가하는 것이 바람직하다. Further, in the image processing apparatus 2 according to the second embodiment, when the PSNR value is smaller than a predetermined threshold, the repetition determination unit 190 determines to calculate the PSNR value again by changing the intensity of the filter used in the filter processing unit. ), and the evaluation units 170 and 180 evaluate that the separation precision of the diffuse reflection component or the specular reflection component is poor when the PSNR value is less than a predetermined threshold value, even if the filter intensity is greater than or equal to a predetermined value. desirable.

이러한 구성에 의해, 화상 전체의 확산 반사 성분 또는 경면 반사 성분의 분리 정밀도를 보다 적절히 평가할 수 있다. With such a configuration, it is possible to more appropriately evaluate the separation accuracy of the diffuse reflection component or the specular reflection component of the entire image.

(실시의 형태 3) (Embodiment 3)

실시의 형태 1, 2에 따른 화상 처리 장치, 화상 평가 장치 등은 필터 처리한 입력 화상과 결합 화상에 기초하여 확산 반사 성분 또는 경면 반사 성분의 분리 정밀도를 평가하였지만, 본 실시의 형태 3에 따른 화상 평가 장치 또는 화상 평가 방법은 입력 화상과 확산 반사 성분 화상 또는 경면 반사 성분 화상을 주파수 해석하여 확산 반사 성분 또는 경면 반사 성분의 분리 정밀도를 평가하는 것이다. The image processing apparatus, the image evaluation apparatus, etc. according to the first and second embodiments evaluated the separation precision of the diffuse reflection component or the specular reflection component based on the filter-processed input image and the combined image, but the image according to the third embodiment An evaluation apparatus or image evaluation method evaluates the separation precision of a diffuse reflection component or a specular reflection component by frequency-analyzing an input image and a diffuse reflection component image or a specular reflection component image.

이하, 본 실시의 형태 3에 따른 화상 평가 장치 및 화상 평가 방법에 대해 화상 평가 장치의 구성에 입각하여 설명한다. Hereinafter, the image evaluation apparatus and image evaluation method which concern on this Embodiment 3 are demonstrated based on the structure of an image evaluation apparatus.

먼저, 도 14는 본 실시의 형태 3에 따른 화상 처리 방법의 동작의 일 예를 나타낸다. First, Fig. 14 shows an example of the operation of the image processing method according to the third embodiment.

도 14를 참조하면, 스텝 S1410에서, 화상 처리 장치는 입력 화상의 화소마다 확산 반사 성분 또는 경면 반사 성분을 산출할 수 있다. Referring to FIG. 14 , in step S1410, the image processing apparatus may calculate a diffuse reflection component or a specular reflection component for each pixel of an input image.

스텝 S1420에서, 화상 처리 장치는, 입력 화상과, 산출된 확산 반사 성분에 기초한 확산 반사 성분 화상 및 산출된 경면 반사 성분에 기초한 경면 반사 성분 화상에 주파수 해석을 수행하고, 각각의 주파수 특성을 산출할 수 있다. In step S1420, the image processing apparatus performs frequency analysis on the input image, the diffuse reflection component image based on the calculated diffuse reflection component, and the specular reflection component image based on the calculated specular reflection component, and calculates each frequency characteristic. can

스텝 S1430에서, 화상 처리 장치는, 입력 화상의 주파수 특성, 확산 반사 성분 화상의 주파수 특성 및 경면 반사 성분 화상의 주파수 특성에 기초하여, 확산 반사 성분 또는 경면 반사 성분의 분리 정밀도를 평가할 수 있다. In step S1430, the image processing apparatus can evaluate the separation precision of the diffuse reflection component or the specular reflection component based on the frequency characteristic of the input image, the frequency characteristic of the diffuse reflection component image, and the frequency characteristic of the specular reflection component image.

도 15는 본 실시의 형태 3에 따른 화상 평가 장치(3)의 개략 구성을 나타내는 블록도이다. 15 is a block diagram showing a schematic configuration of the image evaluation apparatus 3 according to the third embodiment.

화상 평가 장치(3)는 화상 입력부(210), 성분 산출부(220), 해석부(230), 정밀도 평가부(240) 등을 구비하고 있다. The image evaluation device 3 includes an image input unit 210 , a component calculation unit 220 , an analysis unit 230 , a precision evaluation unit 240 , and the like.

화상 입력부(210)는 화상 평가 장치(3)의 외부 등으로부터 화상을 입력받고, 이 입력 화상을 성분 산출부(220) 등으로 출력한다. The image input unit 210 receives an image from the outside of the image evaluation device 3 or the like, and outputs the input image to the component calculating unit 220 or the like.

성분 산출부(220)는 단일 입력 화상으로부터 확산 반사 성분 또는 경면 반사 성분을 산출하고, 해석부(230) 등으로 출력한다. 확산 반사 성분 또는 경면 반사 성분의 산출은 실시의 형태 1, 2와 동일하게 수행할 수 있다. The component calculating unit 220 calculates a diffuse reflection component or a specular reflection component from a single input image, and outputs it to the analysis unit 230 or the like. Calculation of the diffuse reflection component or the specular reflection component may be performed in the same manner as in the first and second embodiments.

해석부(230)는 입력 화상과 확산 반사 성분 화상 또는 경면 반사 성분 화상에 각각 2차원 고속 푸리에 변환(FFT:Fast Fourier Transform)을 수행하고, 그 결과를 파워 스펙트럼화하여 정밀도 평가부(240)로 출력한다. The analysis unit 230 performs two-dimensional Fast Fourier Transform (FFT) on the input image and the diffuse reflection component image or the specular reflection component image, respectively, and converts the result into a power spectrum to the precision evaluation unit 240 . print out

도 17은 본 실시의 형태 3에 따른 파워 스펙트럼을 설명하기 위한 도면이다. 17 is a diagram for explaining a power spectrum according to the third embodiment.

도 17의 1700A에서, 1710은 입력 화상, 1720은 입력 화상의 FFT 화상 및 1730은 파워 스펙트럼을 나타내고, 도 17의 1700B에서, 1740은 확산 반사 성분 화상, 1750은 확산 반사 성분 화상의 FFT 화상 및 1760은 파워 스펙트럼을 나타낸다. 또한, 파워 스펙트럼의 횡축은 주파수를 나타내고, 종축은 파워값을 나타낸다. In 1700A of Fig. 17, reference numeral 1710 denotes an input image, 1720 denotes an FFT image of the input image, and 1730 denotes a power spectrum, in 1700B in Fig. 17, 1740 denotes a diffuse reflection component image, 1750 denotes an FFT image of the diffuse reflection component image, and 1760 denotes an FFT image and 1760 of the diffuse reflection component image. represents the power spectrum. In addition, the horizontal axis of the power spectrum indicates the frequency, and the vertical axis indicates the power value.

확산 반사 성분 화상 1740의 파워 스펙트럼 1760은 입력 화상 1710의 파워 스펙트럼 1730과 비교하면, 피크수가 많고, 또한 대부분의 주파수에서 파워값이 크기 때문에, 확산 반사 성분 화상이 입력 화상 보다 많은 고주파 성분을 포함하고 있음을 알 수 있다. 이는 당해 확산 반사 성분의 분리 정밀도가 좋지 않음을 나타낸다. Compared with the power spectrum 1730 of the input image 1710, the power spectrum 1760 of the diffuse reflection component image 1740 has a large number of peaks and a large power value at most frequencies, so that the diffuse reflection component image contains more high-frequency components than the input image, It can be seen that there is This indicates that the separation precision of the diffuse reflection component is not good.

정밀도 평가부(240)는 입력 화상에 기초한 파워 스펙트럼과 확산 반사 성분 화상 또는 경면 반사 성분 화상에 기초한 파워 스펙트럼을 비교하여 확산 반사 성분 또는 경면 반사 성분의 분리 정밀도를 평가하고, 그 결과를 화상 평가 장치(3)의 외부로 출력한다. 이 때, 정밀도 평가부(240)는 상술한 바와 같이, 파워 스펙트럼의 피크수(파워 스펙트럼의 형상), 파워값 등에 기초하여 분리 정밀도를 평가한다. The precision evaluation unit 240 compares the power spectrum based on the input image and the power spectrum based on the diffuse reflection component image or the specular reflection component image to evaluate the separation precision of the diffuse reflection component or the specular reflection component, and the result is used in the image evaluation apparatus (3) is output to the outside. At this time, as described above, the precision evaluation unit 240 evaluates the separation precision based on the number of peaks in the power spectrum (shape of the power spectrum), the power value, and the like.

또한 본 실시의 형태 3에 따른 화상 평가 장치(3), 화상 평가 방법을 화상 처리 장치, 화상 처리 방법으로서 구성할 수도 있다. Moreover, the image evaluation apparatus 3 and the image evaluation method which concern on this Embodiment 3 can also be comprised as an image processing apparatus and an image processing method.

또한, 본 실시의 형태 3에 따른 화상 평가 장치(3)에서는 실시의 형태 1과 마찬가지로, 확산 반사 성분, 경면 반사 성분의 양측 모두를 각각 산출할 수도 있고, 에너지 함수 등을 이용하여 분리 정밀도가 나쁜 화소의 확산 반사 성분 또는 경면 반사 성분을, 분리 정밀도가 좋은 화소의 확산 반사 성분 또는 경면 반사 성분으로 치환할 수도 있다. Further, in the image evaluation apparatus 3 according to the third embodiment, similarly to the first embodiment, both of the diffuse reflection component and the specular reflection component can be respectively calculated, and the separation accuracy is poor using an energy function or the like. The diffuse reflection component or the specular reflection component of the pixel may be substituted with the diffuse reflection component or the specular reflection component of a pixel with good separation accuracy.

또한, 본 실시의 형태 3에 따른 화상 평가 장치(3)를 화상 처리 장치로서 구성하고, 실시의 형태 1에 따른 화상 처리 장치(1) 또는 실시의 형태 2에 따른 화상 처리 장치의 적어도 하나와 조합하여 이용할 수도 있다. 확산 반사 성분 또는 경면 반사 성분의 분리 정밀도를, 실시의 형태 1에 따른 화상 처리 장치(1)에 의해 화소 단위로 평가하고, 본 실시의 형태 2, 3에 따른 화상 처리 장치에 의해 화상 전체로 평가함으로써, 보다 적절히 분리 정밀도를 평가할 수 있다. Further, the image evaluation apparatus 3 according to the third embodiment is configured as an image processing apparatus, and combined with at least one of the image processing apparatus 1 according to the first embodiment or the image processing apparatus according to the second embodiment can also be used. The separation accuracy of the diffuse reflection component or the specular reflection component is evaluated pixel by pixel by the image processing apparatus 1 according to the first embodiment, and the image processing apparatus according to the second and third embodiments evaluates the entire image By doing so, separation precision can be evaluated more appropriately.

이 때, 당해 조합한 화상 처리 장치는 확산 반사 성분 화상 또는 경면 반사 성분 화상에 기초한 파워 스펙트럼의 피크수, 파워값 등의 파워 스펙트럼 파라미터와 당해 화상에 대해 필터 처리하는데 적합한 필터의 계수 k(또는 필터 강도)를 대응지어 파워 스펙트럼 파라미터-필터 계수 쌍(251)을 계수 저장부(250)에 미리 복수개 기억해 둘 수도 있다. 계수 저장부(250)는 예를 들어 계수 결정부(140) 의 일부 일 수 있다. 도 16을 참조하면, 파워 스펙트럼 파라미터-필터 계수 쌍 (251)은 파워 스펙트럼의 피크수, 파워 스펙트럼의 파워값, 및 필터 계수를 포함한다. 이 파워 스펙트럼 파라미터-필터 계수 쌍(251)은, 예컨대, 실험적으로 구할 수 있다. At this time, the combined image processing apparatus includes power spectrum parameters such as the number of peaks and power values of the power spectrum based on the diffuse reflection component image or the specular reflection component image, and the coefficient k of a filter suitable for filtering the image (or filter). Intensity), a plurality of power spectrum parameter-filter coefficient pairs 251 may be stored in advance in the coefficient storage unit 250 . The coefficient storage unit 250 may be, for example, a part of the coefficient determination unit 140 . Referring to FIG. 16 , the power spectrum parameter-filter coefficient pair 251 includes the number of peaks of the power spectrum, the power value of the power spectrum, and filter coefficients. This power spectrum parameter-filter coefficient pair 251 can be obtained experimentally, for example.

그리고, 새로운 화상을 입력하였을 때, 해석부가 당해 입력 화상의 확산 반사 성분 화상 또는 경면 반사 성분 화상에 기초한 파워 스펙트럼을 산출하고, 계수 결정부(140)가 산출한 파워 스펙트럼의 피크수, 파워값 등과 유사한 피크수, 파워값 등을 대응지은 파워 스펙트럼 파라미터-필터계수 쌍(251) 중에서 검색하여 당해 확산 반사 성분 화상 또는 경면 반사 성분 화상에 적절한 필터의 계수 k를 결정하게 할 수도 있다. Then, when a new image is input, the analysis unit calculates a power spectrum based on the diffuse reflection component image or specular reflection component image of the input image, and the number of peaks, power values, etc. of the power spectrum calculated by the coefficient determination unit 140 It is also possible to determine the coefficient k of a filter suitable for the diffuse reflection component image or the specular reflection component image in question by searching among the power spectral parameter-filter coefficient pairs 251 to which a similar number of peaks, power values, and the like are associated.

도 18은 본 실시의 형태 3에 따른 파워 스펙트럼을 설명하기 위한 별도의 도면이다. 18 is a separate diagram for explaining a power spectrum according to the third embodiment.

도 18의 1800A의 1810은 제1입력 화상, 1820은 제1입력 화상의 FFT 화상 및 1830은 파워 스펙트럼을 나타낸다. 도 18의 1800B의 1840은 제2입력 화상, 1850은 제2입력 화상의 FFT 화상 및 1860은 파워 스펙트럼을 나타낸다. 1810 of 1800A of FIG. 18 denotes a first input image, 1820 denotes an FFT image of the first input image, and 1830 denotes a power spectrum. In FIG. 18, reference numeral 1840 of 1800B denotes a second input image, reference numeral 1850 denotes an FFT image of the second input image, and reference numeral 1860 denotes a power spectrum.

도 18의 제1입력 화상의 파워 스펙트럼 1830은 제2입력 화상의 스펙트럼 1860보다 피크수가 많고, 또한 전체적으로 파워값이 높으며, 고주파 성분이 많으므로, 계수 결정부(140)는 파워 스펙트럼 파라미터-필터 계수 쌍 (251)에 기초하여 도 14의 제1입력 화상에 대해서는 고주파 성분을 너무 강조하지 않는 필터의 계수 k를 작게 결정하고, 도 14의 제2입력 화상에 대해서는 고주파 성분을 강조하는 필터의 계수 k를 크게 결정한다. The power spectrum 1830 of the first input image of FIG. 18 has a higher number of peaks than the spectrum 1860 of the second input image, and has a higher overall power value and many high-frequency components. Based on the pair 251, for the first input image of Fig. 14, a coefficient k of a filter that does not emphasize high-frequency components too much is determined to be small, and for the second input image of Fig. 14, a coefficient k of a filter that does not emphasize high-frequency components is determined to be small. largely determines

이상, 설명한 바와 같이, 본 실시의 형태 3에 따른 화상 처리 장치(3)는 입력 화상과 확산 반사 성분 화상 또는 경면 반사 성분 화상에 주파수 해석을 수행하고, 각각의 화상의 주파수 특성을 산출하는 해석부(230)와, 입력 화상의 주파수 특성과, 확산 반사 성분 화상 또는 경면 반사 성분 화상의 주파수 특성에 기초하여, 확산 반사 성분 또는 경면 반사 성분의 분리 정밀도를 평가하는 제2의 평가부(240)를 구비하는 것이 바람직하다. As described above, the image processing apparatus 3 according to the third embodiment performs frequency analysis on an input image and a diffuse reflection component image or a specular reflection component image, and an analysis unit that calculates frequency characteristics of each image (230) and a second evaluation unit 240 for evaluating the separation accuracy of the diffuse reflection component or the specular reflection component based on the frequency characteristic of the input image and the frequency characteristic of the diffuse reflection component image or the specular reflection component image; It is preferable to have

이러한 구성에 의해, 화상 전체의 확산 반사 성분 또는 경면 반사 성분의 분리 정밀도를 간단하게 평가할 수 있다. With such a configuration, it is possible to easily evaluate the separation accuracy of the diffuse reflection component or the specular reflection component of the entire image.

또한, 본 실시의 형태 3에 따른 화상 처리 장치(3)는 필터 처리부(140, 150)는 확산 반사 성분 화상 또는 경면 반사 성분 화상의 주파수 특성과, 필터 처리에 이용하는 필터의 강도를 미리 대응시켜 복수개 기억하고, 해석부(230)가 산출한 확산 반사 성분 화상 또는 경면 반사 성분 화상의 주파수 특성에 기초하여 필터 처리에 이용하는 필터의 강도를 결정하는 것이 바람직하다. In addition, in the image processing apparatus 3 according to the third embodiment, the filter processing units 140 and 150 associate the frequency characteristics of the diffuse reflection component image or the specular reflection component image with the intensity of the filter used for the filter processing in advance, so that a plurality of It is preferable to memorize and determine the intensity of the filter used for the filter processing based on the frequency characteristics of the diffuse reflection component image or the specular reflection component image calculated by the analysis unit 230 .

이러한 구성에 의해, 확산 반사 성분 화상, 경면 반사 성분 화상 등에 필터 처리할 때의 필터의 강도를 간단하게 결정할 수 있다. With such a configuration, it is possible to easily determine the strength of the filter when filtering the diffuse reflection component image, the specular reflection component image, or the like.

또한, 본 실시의 형태 3에 따른 화상 처리 장치(3)는 입력 화상의 화소마다 확산 반사 성분 또는 경면 반사 성분을 산출하는 성분 산출부(220)와, 입력 화상과 확산 반사 성분 화상 또는 경면 반사 성분 화상에 주파수 해석을 수행하고, 각각의 주파수 특성을 산출하는 해석부(230)와, 입력 화상의 주파수 특성과, 확산 반사 성분 화상 또는 경면 반사 성분 화상의 주파수 특성에 기초하여 확산 반사 성분 또는 경면 반사 성분의 분리 정밀도를 평가하는 평가부(240)를 구비한다. In addition, the image processing apparatus 3 according to the third embodiment includes a component calculating unit 220 that calculates a diffuse reflection component or a specular reflection component for each pixel of the input image, and the input image and the diffuse reflection component image or specular reflection component. An analysis unit 230 that performs frequency analysis on an image and calculates respective frequency characteristics, and a diffuse reflection component or specular reflection based on the frequency characteristic of the input image and the frequency characteristic of the diffuse reflection component image or the specular reflection component image An evaluation unit 240 for evaluating the separation accuracy of components is provided.

이러한 구성에 의해, 확산 반사 성분 또는 경면 반사 성분의 분리 정밀도를 간단하게 평가할 수 있다. With such a configuration, it is possible to easily evaluate the separation accuracy of the diffuse reflection component or the specular reflection component.

이상에서 실시예들에 대하여 상세하게 설명하였지만 본 발명의 권리범위는 이에 한정되는 것은 아니고 다음의 청구범위에서 정의하고 있는 본 발명의 기본 개념을 이용한 당업자의 여러 변형 및 개량 형태 또한 본 발명의 권리범위에 속한다.Although the embodiments have been described in detail above, the scope of the present invention is not limited thereto, and various modifications and improvements by those skilled in the art using the basic concept of the present invention as defined in the following claims are also included in the scope of the present invention. belongs to

Claims (23)

화상 처리 장치에 있어서,
하나 이상의 인스트럭션을 저장하는 메모리, 및
상기 하나 이상의 인스트럭션을 실행하는 적어도 하나의 프로세서를 포함하고,
상기 적어도 하나의 프로세서는 상기 하나 이상의 인스트럭션을 실행함으로써,
입력 화상의 화소마다 확산 반사 성분과 경면 반사 성분을 획득하고,
상기 획득된 확산 반사 성분에 기초한 확산 반사 성분 화상 및 상기 획득된 경면 반사 성분에 기초한 경면 반사 성분 화상에 대해서 제1필터를 이용하여 필터 처리를 수행하고, 상기 입력 화상에 상기 제1필터 를 이용하여 필터 처리를 수행하고, 상기 필터 처리한 확산 반사 성분 화상과, 상기 필터 처리한 경면 반사 성분 화상을 결합하여 결합 화상을 생성하고,
상기 결합 화상과, 상기 필터 처리한 입력 화상에 기초하여, 상기 확산 반사 성분 또는 상기 경면 반사 성분의 분리 정밀도를 평가하고,
상기 분리 정밀도 평가 결과에 기초하여, 상기 입력 화상의 화소의 확산 반사 성분과 경면 반사 성분 중 적어도 하나를 수정할지를 결정하는, 화상 처리 장치.
An image processing apparatus comprising:
memory for storing one or more instructions, and
at least one processor executing the one or more instructions;
The at least one processor by executing the one or more instructions,
obtaining a diffuse reflection component and a specular reflection component for each pixel of the input image;
Filter processing is performed using a first filter on the diffuse reflection component image based on the obtained diffuse reflection component and the specular reflection component image based on the obtained specular reflection component, and the first filter is applied to the input image. performing filter processing, combining the filtered diffuse reflection component image and the filtered specular reflection component image to generate a combined image;
evaluating the separation precision of the diffuse reflection component or the specular reflection component based on the combined image and the filter-processed input image;
and determining whether to correct at least one of a diffuse reflection component and a specular reflection component of a pixel of the input image based on the separation precision evaluation result.
제1항에 있어서,
상기 적어도 하나의 프로세서는,
상기 결합 화상과, 상기 필터 처리한 입력 화상과의 차분값을 상기 화소마다 산출하고,
상기 차분값과 소정의 문턱값을 비교하여 상기 분리 정밀도를 평가하는 화상 처리 장치.
According to claim 1,
the at least one processor,
calculating a difference value between the combined image and the filter-processed input image for each pixel;
An image processing apparatus for evaluating the separation precision by comparing the difference value with a predetermined threshold value.
제2항에 있어서,
상기 적어도 하나의 프로세서는,
상기 소정의 문턱값 보다 큰 차분값을 가지는 제1화소의 상기 확산 반사 성분 또는 상기 경면 반사 성분을 수정하는 것으로 결정하고, 상기 제1화소의 상기 확산 반사 성분 또는 상기 경면 반사 성분의 수정값을 산출하고, 상기 수정값을 이용하여 상기 제1화소의 상기 확산 반사 성분 또는 상기 경면 반사 성분을 수정하는, 화상 처리 장치.
3. The method of claim 2,
the at least one processor,
It is determined that the diffuse reflection component or the specular reflection component of the first pixel having a difference value greater than the predetermined threshold is corrected, and a correction value of the diffuse reflection component or the specular reflection component of the first pixel is calculated and correcting the diffuse reflection component or the specular reflection component of the first pixel by using the correction value.
제1항에 있어서,
상기 적어도 하나의 프로세서는,
상기 필터 처리한 확산 반사 성분 화상 또는 상기 필터 처리한 경면 반사 성분 화상의 각 화소값이 네가티브 (negative) 인지 여부에 따라 상기 분리 정밀도를 평가하는 화상 처리 장치.
According to claim 1,
the at least one processor,
an image processing apparatus for evaluating the separation precision according to whether each pixel value of the filtered diffuse reflection component image or the filtered specular reflection component image is negative.
제4항에 있어서,
상기 적어도 하나의 프로세서는,
상기 필터 처리한 확산 반사 성분 화상 또는 상기 필터 처리한 경면 반사 성분 화상의 화소값이 네가티브인 제2 화소의 상기 확산 반사 성분 또는 상기 경면 반사 성분을 수정하는 것으로 판단하고,
제2화소의 상기 확산 반사 성분 또는 상기 경면 반사 성분의 수정값을 획득하고,
상기 수정값을 이용하여 상기 제2화소의 상기 확산 반사 성분 또는 상기 경면 반사 성분을 수정하는 화상 처리 장치.
5. The method of claim 4,
the at least one processor,
It is determined that the diffuse reflection component or the specular reflection component of a second pixel having a negative pixel value of the filtered diffuse reflection component image or the filtered specular reflection component image is corrected;
obtaining a correction value of the diffuse reflection component or the specular reflection component of a second pixel;
An image processing apparatus for correcting the diffuse reflection component or the specular reflection component of the second pixel by using the correction value.
제3항 에 있어서,
상기 적어도 하나의 프로세서는,
상기 제1화소의 주변 화소 중 소정의 조건을 충족하는 주변 화소의 상기 확산 반사 성분 또는 상기 경면 반사 성분을 상기 수정값으로서 획득하는 화상 처리 장치.
4. The method of claim 3,
the at least one processor,
an image processing apparatus for obtaining, as the correction value, the diffuse reflection component or the specular reflection component of a peripheral pixel of the first pixel that satisfies a predetermined condition among the peripheral pixels.
제6항에 있어서,
상기 소정의 조건은,
상기 입력 화상에 있어서의 상기 제1화소의 화소값과 상기 주변 화소의 화소값과의 차분, 및
상기 주변 화소에 있어서의 상기 필터 처리한 입력 화상의 화소값과 상기 결합 화상의 화소값과의 차분에 각각 소정의 계수를 곱한 값의 합계가 가장 작은 것인 화상 처리 장치.
7. The method of claim 6,
The predetermined condition is
a difference between the pixel value of the first pixel and the pixel value of the neighboring pixels in the input image, and
and a sum of values obtained by multiplying a difference between a pixel value of the filtered input image and a pixel value of the combined image in the surrounding pixels by a predetermined coefficient is the smallest.
제3항 에 있어서,
상기 적어도 하나의 프로세서는,
상기 입력 화상, 상기 수정한 경면 반사 성분 또는 상기 수정한 확산 반사 성분에 기초하여 새로운 확산 반사 성분 및 새로운 경면 반사 성분을 산출하고, 상기 수정값을 이용하여 상기 확산 반사 성분 또는 상기 경면 반사 성분이 수정되기 전 화소들의 수가 소정의 제1값 이상, 또는 상기 수정값을 이용하여 상기 확산 반사 성분 또는 상기 경면 반사 성분이 수정된 화소들의 수가 소정의 제2값 이하의 경우, 상기 확산 반사 성분 및 상기 경면 반사 성분을 산출 처리를 반복하게 하는 화상 처리 장치.
4. The method of claim 3,
the at least one processor,
A new diffuse reflection component and a new specular reflection component are calculated based on the input image, the corrected specular reflection component, or the modified diffuse reflection component, and the diffuse reflection component or the specular reflection component is corrected using the correction value. When the number of pixels before being changed is equal to or greater than a predetermined first value, or when the number of pixels for which the diffuse reflection component or the specular reflection component is corrected using the correction value is less than or equal to a predetermined second value, the diffuse reflection component and the specular surface An image processing apparatus that repeats a reflection component calculation process.
제1항에 있어서,
상기 적어도 하나의 프로세서는,
상기 결합 화상과, 상기 필터 처리한 입력 화상과의 PSNR값을 산출하고,
상기 PSNR값과 소정의 문턱값을 비교하여 상기 분리 정밀도를 평가하는 화상 처리 장치.
According to claim 1,
the at least one processor,
calculating a PSNR value between the combined image and the filter-processed input image;
and comparing the PSNR value with a predetermined threshold value to evaluate the separation precision.
제9항에 있어서,
상기 적어도 하나의 프로세서는,
상기 PSNR값이 상기 소정의 문턱값 보다 작을 때, 상기 필터 처리에서 이용하는 상기 제1필터의 강도를 변경하여 PSNR값을 다시 산출하도록 판정하고,
상기 변경된 필터 강도에 기반하여 획득된 새로운 PSNR값에 기반하여, 상기 분리 정밀도를 평가하는 화상 처리 장치.
10. The method of claim 9,
the at least one processor,
when the PSNR value is smaller than the predetermined threshold, determining to recalculate the PSNR value by changing the strength of the first filter used in the filter processing;
and evaluating the separation precision based on a new PSNR value obtained based on the changed filter strength.
제1항에 있어서,
상기 적어도 하나의 프로세서는,
상기 필터 처리에 이용되는 상기 제1필터는 고주파 강조 필터를 포함하는 화상 처리 장치.
According to claim 1,
the at least one processor,
and the first filter used for the filter processing includes a high-frequency enhancement filter.
제1항에 있어서,
상기 적어도 하나의 프로세서는,
상기 입력 화상과, 상기 확산 반사 성분 화상 또는 상기 경면 반사 성분 화상에 주파수 해석을 수행하고, 각각의 화상의 주파수 특성을 산출하고,
상기 입력 화상의 주파수 특성과, 상기 확산 반사 성분 화상 또는 상기 경면 반사 성분 화상의 주파수 특성에 기초하여, 상기 분리 정밀도를 평가하는 화상 처리 장치.
According to claim 1,
the at least one processor,
frequency analysis is performed on the input image and the diffuse reflection component image or the specular reflection component image, and frequency characteristics of each image are calculated;
an image processing apparatus for evaluating the separation precision based on a frequency characteristic of the input image and a frequency characteristic of the diffuse reflection component image or the specular reflection component image.
제12항에 있어서,
상기 적어도 하나의 프로세서는, 상기 확산 반사 성분 화상 또는 상기 경면 반사 성분 화상의 주파수 특성과, 상기 필터 처리에 이용하는 상기 제1필터의 강도를 미리 대응시켜 복수개 기억하고,
상기 확산 반사 성분 화상 또는 상기 경면 반사 성분 화상의 주파수 특성에 기초하여 상기 필터 처리에 이용하는 상기 제1필터의 강도를 결정하는 화상 처리 장치.
13. The method of claim 12,
the at least one processor stores a plurality of pre-associated frequency characteristics of the diffuse reflection component image or the specular reflection component image with the intensity of the first filter used for the filter processing;
An image processing apparatus for determining an intensity of the first filter used for the filter processing based on a frequency characteristic of the diffuse reflection component image or the specular reflection component image.
화상 처리 방법에 있어서,
입력 화상의 화소마다 확산 반사 성분과 경면 반사 성분을 획득하는 동작,
상기 획득된 확산 반사 성분에 기초한 확산 반사 성분 화상 및 상기 획득된 경면 반사 성분에 기초한 경면 반사 성분 화상에 대해서 제1필터를 이용하여 필터 처리를 수행하고, 상기 입력 화상에 상기 제1필터 를 이용하여 필터 처리를 수행하고, 상기 필터 처리한 확산 반사 성분 화상과, 상기 필터 처리한 경면 반사 성분 화상을 결합하여 결합 화상을 생성하는 동작,
상기 결합 화상과, 상기 필터 처리한 입력 화상에 기초하여, 상기 확산 반사 성분 또는 상기 경면 반사 성분의 분리 정밀도를 평가하는 동작, 및
상기 분리 정밀도 평가 결과에 기초하여, 상기 입력 화상의 화소의 확산 반사 성분과 경면 반사 성분 중 적어도 하나를 수정할지를 결정하는 동작을 포함하는 화상 처리 방법.
An image processing method comprising:
obtaining a diffuse reflection component and a specular reflection component for each pixel of the input image;
Filter processing is performed using a first filter on the diffuse reflection component image based on the obtained diffuse reflection component and the specular reflection component image based on the obtained specular reflection component, and the first filter is applied to the input image. performing filter processing and combining the filtered diffuse reflection component image and the filtered specular reflection component image to generate a combined image;
evaluating the separation precision of the diffuse reflection component or the specular reflection component based on the combined image and the filter-processed input image; and
and determining whether to correct at least one of a diffuse reflection component and a specular reflection component of a pixel of the input image based on the separation precision evaluation result.
제14항에 있어서,
상기 평가하는 동작은,
상기 결합 화상과, 상기 필터 처리한 입력 화상과의 차분값을 상기 화소마다 산출하는 동작, 및
상기 차분값과 소정의 문턱값을 비교하여 상기 분리 정밀도를 평가하는 동작을 포함하는, 화상 처리 방법.
15. The method of claim 14,
The evaluation operation is
calculating a difference value between the combined image and the filter-processed input image for each pixel; and
and evaluating the separation precision by comparing the difference value with a predetermined threshold value.
제15항에 있어서,
상기 차분값이 상기 소정의 문턱값보다 큰 제1화소의 상기 확산 반사 성분 또는 상기 경면 반사 성분을 수정할지를 판단하는 동작,
상기 제1화소의 상기 확산 반사 성분 또는 상기 경면 반사 성분의 수정값을 산출하는 동작; 및
상기 수정값을 이용하여 상기 제1화소의 상기 확산 반사 성분 또는 상기 경면 반사 성분을 수정하는 동작을 더 포함하는, 화상 처리 방법.
16. The method of claim 15,
determining whether to correct the diffuse reflection component or the specular reflection component of a first pixel in which the difference value is greater than the predetermined threshold value;
calculating a correction value of the diffuse reflection component or the specular reflection component of the first pixel; and
and correcting the diffuse reflection component or the specular reflection component of the first pixel by using the correction value.
삭제delete 삭제delete 삭제delete 제14항에 있어서,
상기 필터 처리한 확산 반사 성분 화상 또는 상기 필터 처리한 경면 반사 성분 화상의 각 화소값이 네가티브 (negative) 인지 여부에 따라 상기 분리 정밀도를 평가하는 동작을 더 포함하는, 화상 처리 방법.
15. The method of claim 14,
and evaluating the separation precision according to whether each pixel value of the filtered diffuse reflection component image or the filtered specular reflection component image is negative.
제20항에 있어서,
상기 필터 처리한 확산 반사 성분 화상 또는 상기 필터 처리한 경면 반사 성분 화상의 화소값이 네가티브인 제2 화소의 상기 확산 반사 성분 또는 상기 경면 반사 성분을 수정하는 것으로 판단하는 동작,
제2화소의 상기 확산 반사 성분 또는 상기 경면 반사 성분의 수정값을 획득하는 동작, 및
상기 수정값을 이용하여 상기 제2화소의 상기 확산 반사 성분 또는 상기 경면 반사 성분을 수정하는 동작을 더 포함하는, 화상 처리 방법.
21. The method of claim 20,
determining that the diffuse reflection component or the specular reflection component of a second pixel having a negative pixel value of the filtered diffuse reflection component image or the filtered specular reflection component image is corrected;
obtaining a correction value of the diffuse reflection component or the specular reflection component of a second pixel; and
and correcting the diffuse reflection component or the specular reflection component of the second pixel by using the correction value.
제16항에 있어서,
상기 제1화소의 주변 화소 중 소정의 조건을 충족하는 주변 화소의 상기 확산 반사 성분 또는 상기 경면 반사 성분을 상기 수정값으로서 획득하는 동작을 더 포함하는, 화상 처리 방법.
17. The method of claim 16,
and obtaining, as the correction value, the diffuse reflection component or the specular reflection component of a peripheral pixel that satisfies a predetermined condition among the peripheral pixels of the first pixel.
제22항에 있어서,
상기 소정의 조건은,
상기 입력 화상에 있어서의 상기 제1화소의 화소값과 상기 주변 화소의 화소값과의 차분, 및
상기 주변 화소에 있어서의 상기 필터 처리한 입력 화상의 화소값과 상기 결합 화상의 화소값과의 차분에 각각 소정의 계수를 곱한 값의 합계가 가장 작은 것인, 화상 처리 방법.
23. The method of claim 22,
The predetermined condition is
a difference between the pixel value of the first pixel and the pixel value of the neighboring pixels in the input image, and
and a sum of values obtained by multiplying a predetermined coefficient by a difference between a pixel value of the filtered input image and a pixel value of the combined image in the neighboring pixels is the smallest.
KR1020170153968A 2016-11-28 2017-11-17 Image processing apparatus, image processing method, and computer readable medium thereof KR102342283B1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
PCT/KR2017/013596 WO2018097677A1 (en) 2016-11-28 2017-11-27 Image processing apparatus, image processing method, and computer-readable recording medium thereof
EP17874192.2A EP3488412B1 (en) 2016-11-28 2017-11-27 Image processing apparatus, image processing method, and computer-readable recording medium thereof
US15/824,487 US10497106B2 (en) 2016-11-28 2017-11-28 Image processing apparatus, image processing method, and computer-readable recording medium having recorded thereon a program for performing the image processing method

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JPJP-P-2016-230013 2016-11-28
JP2016230013 2016-11-28
JP2017171392A JP2018092597A (en) 2016-11-28 2017-09-06 Image processing device, image processing method, and image processing program
JPJP-P-2017-171392 2017-09-06

Publications (2)

Publication Number Publication Date
KR20180060989A KR20180060989A (en) 2018-06-07
KR102342283B1 true KR102342283B1 (en) 2021-12-22

Family

ID=79164014

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170153968A KR102342283B1 (en) 2016-11-28 2017-11-17 Image processing apparatus, image processing method, and computer readable medium thereof

Country Status (1)

Country Link
KR (1) KR102342283B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007174689A (en) 2005-09-09 2007-07-05 Matsushita Electric Ind Co Ltd Image processing device
JP2013065215A (en) 2011-09-16 2013-04-11 Toshiba Corp Image processing device and image processing method
JP5247910B1 (en) 2012-03-30 2013-07-24 Eizo株式会社 Image display apparatus or method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7689035B2 (en) * 2005-06-17 2010-03-30 The Regents Of The University Of California Methods for identifying, separating and editing reflection components in multi-channel images and videos

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007174689A (en) 2005-09-09 2007-07-05 Matsushita Electric Ind Co Ltd Image processing device
JP2013065215A (en) 2011-09-16 2013-04-11 Toshiba Corp Image processing device and image processing method
JP5247910B1 (en) 2012-03-30 2013-07-24 Eizo株式会社 Image display apparatus or method thereof

Also Published As

Publication number Publication date
KR20180060989A (en) 2018-06-07

Similar Documents

Publication Publication Date Title
US8774503B2 (en) Method for color feature extraction
KR101518722B1 (en) Image enhancement processing method and apparatus for distortion correction by air particle like fog
US8396324B2 (en) Image processing method and apparatus for correcting distortion caused by air particles as in fog
KR101715486B1 (en) Image processing apparatus and image processing method
US8483480B2 (en) Method and system for factoring an illumination image
US9396411B2 (en) Method and system for generating intrinsic images using a single reflectance technique
US8577150B2 (en) System and method for removing specularity from an image
KR20190014275A (en) Mura detection device and detection method of mura detection device
CA3153067C (en) Picture-detecting method and apparatus
US10497106B2 (en) Image processing apparatus, image processing method, and computer-readable recording medium having recorded thereon a program for performing the image processing method
Kwok et al. Design of unsharp masking filter kernel and gain using particle swarm optimization
US9754155B2 (en) Method and system for generating intrinsic images using a single reflectance technique
KR20230146974A (en) Method and Apparatus for Enhancing Brightness of Image
KR102342283B1 (en) Image processing apparatus, image processing method, and computer readable medium thereof
JP4076777B2 (en) Face area extraction device
EP3488412B1 (en) Image processing apparatus, image processing method, and computer-readable recording medium thereof
US10534974B2 (en) Image area extraction method and storage program
Shoshin et al. Veiling glare removal: synthetic dataset generation, metrics and neural network architecture
KR101233986B1 (en) Apparatus and method of correcting purple fringing
Kriangkhajorn et al. Underwater computer vision of the ZEABUS AUV
JP5099434B2 (en) Object region extraction system and method
KR101772626B1 (en) Method for separating reflection components from a single image and image processing apparatus using the method thereof
US20240135587A1 (en) Method of learning parameter of sensor filter and apparatus for performing the same
Pavlova et al. Optimization of a motion tracking and mapping method based on images of the solar corona
KR20240051669A (en) Parameters optimizing method of sensor filter and apparatus of thereof

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