KR20140037373A - Apparatus and method for transferring a color of image - Google Patents
Apparatus and method for transferring a color of image Download PDFInfo
- Publication number
- KR20140037373A KR20140037373A KR1020120102847A KR20120102847A KR20140037373A KR 20140037373 A KR20140037373 A KR 20140037373A KR 1020120102847 A KR1020120102847 A KR 1020120102847A KR 20120102847 A KR20120102847 A KR 20120102847A KR 20140037373 A KR20140037373 A KR 20140037373A
- Authority
- KR
- South Korea
- Prior art keywords
- region
- image
- color
- cluster
- value
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/001—Texturing; Colouring; Generation of texture or colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/23—Clustering techniques
- G06F18/232—Non-hierarchical techniques
- G06F18/2321—Non-hierarchical techniques using statistics or function optimisation, e.g. modelling of probability density functions
- G06F18/23213—Non-hierarchical techniques using statistics or function optimisation, e.g. modelling of probability density functions with fixed number of clusters, e.g. K-means clustering
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/11—Region-based segmentation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/90—Determination of colour characteristics
Abstract
Description
본 발명은 영상의 색상 변환 장치 및 방법에 관한 것으로, 더욱 상세하게는 화가의 실제 작품인 참조 영상(reference image)의 색상 대비를 이용하여 대상 영상(target image)의 색상을 변환하는 장치 및 방법에 관한 것이다.The present invention relates to an image color conversion apparatus and method, and more particularly to an apparatus and method for converting a color of a target image using a color contrast of a reference image, .
사진과 같은 2차원 영상에 사람이 직접 그림을 그린 듯한 효과를 표현하는 그래픽스 기술을 회화적 렌더링(painterly rendering)이라 한다. 회화적 렌더링(painterly rendering) 기술은 인간 친화적인 영상을 표현하고자 하는 것으로서, 광고, 영화, 포스터 등의 다양한 콘텐츠의 제작에 활용된다. 회화적 렌더링(painterly rendering) 기술은 1990년대 들어 본격적으로 연구되기 시작하였으며, 브러시의 표현, 그려지는 과정 재현, 실제 안료의 재현, 실제 예술가들의 색상 재현 등의 요소에 대해 연구가 진행되고 있다. 이중 실제 예술가들의 색상 재현은 영상의 미적인 효과측면에서 중요한 요소 중의 하나로 인식되고 있다.Painterly rendering is a graphics technique that expresses an effect that a person directly draws on a two-dimensional image such as a photograph. Painterly rendering technology is intended to express human-friendly images and is used to produce a variety of contents such as advertisements, movies, and posters. Painterly rendering techniques have been started to be studied in the 1990s, and research is being conducted on factors such as the expression of brushes, reproduction of the drawn process, reproduction of actual pigment, and color reproduction of actual artists. The color reproduction of real artists is recognized as one of the important factors in the aesthetic effect of the image.
참조 영상(reference image)에 나타나는 색상의 느낌을 대상 영상(target image)에 전이시키는 색상 변환 기법은 크게 로컬 접근 방법과 글로벌 접근 방법으로 구분된다. 글로벌 접근 방법은 영상의 영역을 구분하지 않고, 영상의 전체 영역의 색상 정보를 대상으로 평균 값, 편차 값을 구하고, 이를 기반으로 영상의 색상을 변환하는 방식이다. 이러한 글로벌 접근 방법은 사용자 입력 등과 같은 추가적인 수작업이 필요없는 장점을 가지지만, 실제 회화 작품과 같이 영역별로 명확한 구분을 가지는 영상에 사용하기에는 한계가 있다. 이에 반면, 로컬 접근 방법은 참조 영상(reference image)과 대상 영상(target image)을 영역별로 구분하고, 각 영역간 매칭 정보를 할당해 영상의 색상을 변환한다. 이러한 로컬 접근 방법은 글로벌 접근 방법에 비해 보다 나은 결과를 얻을 수 있지만, 사용자가 매칭 정보를 지정해줘야 하는 단점을 가진다.The color conversion technique for transferring the color impression appearing in the reference image to the target image is largely divided into a local approach and a global approach. In the global approach, the average value and the deviation value are obtained for the color information of the entire area of the image without discriminating the area of the image, and the color of the image is converted based on the obtained average value and the deviation value. This global approach has the advantage of not needing additional manual work such as user input, but it has a limit to be used for an image having a definite division by region like a real painting work. On the other hand, the local access method divides the reference image and the target image into regions and assigns matching information between the regions to convert the color of the image. This local approach has better results than the global approach, but has the disadvantage that the user has to specify matching information.
나아가, 실제 회화 작품을 참조 영상(reference image)으로 이용한 색상 변환 기법에 대한 연구는 진행되지 않고 있다. 색상의 대비, 제한된 색상 사용 등과 같은 화가의 스타일을 고려한 색상 변환에 대한 연구가 필요한 상황이다.Furthermore, there is no study on the color conversion technique using the actual picture as a reference image. It is necessary to study the color conversion considering the painter's style such as the contrast of color and the use of limited color.
본 발명이 이루고자 하는 기술적 과제는, 화가의 실제 작품인 참조 영상(reference image)의 색상 대비를 이용하여 대상 영상(target image)의 색상을 변환하는 영상의 색상 변환 장치 및 방법을 제공하는 데 있다.An object of the present invention is to provide an image color conversion apparatus and method for converting a color of a target image using a color contrast of a reference image, which is an actual work of an artist.
본 발명이 이루고자 하는 다른 기술적 과제는, 화가의 실제 작품인 참조 영상(reference image)의 색상 대비를 이용하여 대상 영상(target image)의 색상을 변환하는 영상의 색상 변환 방법을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록 매체를 제공하는 데 있다.According to another aspect of the present invention, there is provided a computer program for causing a computer to execute a color conversion method of an image for converting a color of a target image using a color contrast of a reference image, And an object of the present invention is to provide a computer-readable recording medium having recorded thereon a computer program.
상기의 기술적 과제를 달성하기 위한 본 발명에 따른 영상의 색상 변환 장치는, 참조 영상(reference image)의 세일리언시 정보(saliency information)를 통해 상기 참조 영상(reference image)을 복수의 클러스터 영역(cluster region)으로 구분하고, 상기 복수의 클러스터 영역(cluster region) 각각에 대한 색상 대비를 분석하는 영상 분석부; 및 대상 영상(target image)의 세일리언시 정보(saliency information)를 통해 상기 대상 영상(target image)을 복수의 세그먼트 영역(segment region)으로 구분하고, 상기 영상 분석부에 의해 상기 참조 영상(reference image)으로부터 획득된 상기 복수의 클러스터 영역(cluster region)에 대한 색상 대비 정보를 이용하여 상기 세그먼트 영역(segment region) 단위로 상기 대상 영상(target image)의 색상을 변환하는 영상 변환부;를 포함한다.According to an aspect of the present invention, there is provided an image color conversion apparatus for converting a reference image into a plurality of cluster regions through a saliency information of a reference image, an image analyzing unit for dividing the plurality of cluster regions into color regions and analyzing color contrast of each of the plurality of cluster regions; And segmenting the target image into a plurality of segment regions through saliency information of the target image and outputting the reference image And an image converting unit for converting a color of the target image in units of the segment region using color contrast information for the plurality of cluster regions obtained from the plurality of cluster regions.
상기의 기술적 과제를 달성하기 위한 본 발명에 따른 영상의 색상 변환 방법은, 참조 영상(reference image)의 세일리언시 정보(saliency information)를 통해 상기 참조 영상(reference image)을 복수의 클러스터 영역(cluster region)으로 구분하고, 상기 복수의 클러스터 영역(cluster region) 각각에 대한 색상 대비를 분석하는 단계; 및 대상 영상(target image)의 세일리언시 정보(saliency information)를 통해 상기 대상 영상(target image)을 복수의 세그먼트 영역(segment region)으로 구분하고, 상기 참조 영상(reference image)으로부터 획득된 상기 복수의 클러스터 영역(cluster region)에 대한 색상 대비 정보를 이용하여 상기 세그먼트 영역(segment region) 단위로 상기 대상 영상(target image)의 색상을 변환하는 단계;를 포함한다.According to an aspect of the present invention, there is provided a method of transforming an image, the method including converting a reference image into a plurality of cluster regions through a saliency information of a reference image, region, and analyzing color contrast for each of the plurality of cluster regions; And segmenting the target image into a plurality of segment regions through saliency information of the target image and extracting the plurality of segment images obtained from the reference image, And converting the color of the target image in units of the segment region using color contrast information for a cluster region of the target region.
상기의 기술적 과제를 달성하기 위한 본 발명에 따른 컴퓨터로 읽을 수 있는 매체는 상기한 방법 중 어느 하나를 컴퓨터에 실행시키기 위한 프로그램을 기록한다.According to an aspect of the present invention, there is provided a computer readable medium storing a program for causing a computer to execute any one of the above methods.
본 발명에 따른 영상의 색상 변환 장치 및 방법에 의하면, 참조 영상(reference image)의 색상 대비 정보를 이용하여 대상 영상(target image)의 색상을 변환함으로써, 대상 영상(target image)을 참조 영상(reference image)과 유사한 색감을 느끼도록 자동으로 색상을 변환할 수 있다.According to the image color conversion apparatus and method of the present invention, the color of the target image is converted using the color contrast information of the reference image, You can automatically convert colors to feel similar to image.
아울러, 반 고흐 등과 같은 인상파 화가가 그린 실제 작품을 참조 영상(reference image)으로 이용하면, 인상파의 색상 표현 메커니즘에 기반하여 대상 영상(target image)의 색상을 변환함으로써 대상 영상(target image)을 예술적 느낌이 나타나도록 변환할 수 있다.In addition, if a real work drawn by an impressionist painter such as Van Gogh is used as a reference image, the target image is transformed into an artistic image by converting the color of the target image based on the color rendering mechanism of the impression wave The feeling can be converted to appear.
도 1은 본 발명의 바람직한 실시예에 따른 영상의 색상 변환 장치를 설명하기 위한 블록도,
도 2는 본 발명의 바람직한 실시예에 따른 세일리언시 정보(saliency information)의 일례를 나타내는 도면,
도 3은 본 발명의 바람직한 실시예에 따른 참조 영상(reference image)의 클러스터링 과정을 설명하기 위한 도면,
도 4는 본 발명의 바람직한 실시예에 따른 색상 하모니(color harmony) 타입의 결정 과정을 설명하기 위한 도면,
도 5는 본 발명의 바람직한 실시예에 따른 대상 영상(target image)의 영역 구분의 일례를 설명하기 위한 도면,
도 6은 본 발명의 바람직한 실시예에 따른 대상 영상(target image)의 메인 세그먼트 영역(main segment region)의 색상 변환 과정을 설명하기 위한 도면,
도 7은 본 발명의 바람직한 실시예에 따른 대상 영상(target image)의 나머지 세그먼트 영역(other segment region)의 색상 변환 과정을 설명하기 위한 도면,
도 8은 본 발명의 바람직한 실시예에 따른 대상 영상(target image)의 색상 변환의 일례를 설명하기 위한 도면, 그리고,
도 9는 본 발명의 바람직한 실시예에 따른 영상의 색상 변환 방법을 설명하기 위한 흐름도이다.1 is a block diagram for explaining an image color conversion apparatus according to a preferred embodiment of the present invention.
2 is a diagram showing an example of saliency information according to a preferred embodiment of the present invention,
3 is a view for explaining a clustering process of a reference image according to a preferred embodiment of the present invention,
4 is a diagram for explaining a color harmony type determination process according to a preferred embodiment of the present invention.
5 is a view for explaining an example of region classification of a target image according to a preferred embodiment of the present invention,
6 is a diagram for explaining a color conversion process of a main segment region of a target image according to a preferred embodiment of the present invention.
7 is a diagram for explaining a color conversion process of the remaining segment region of a target image according to a preferred embodiment of the present invention,
8 is a view for explaining an example of color conversion of a target image according to a preferred embodiment of the present invention,
9 is a flowchart illustrating a color conversion method of an image according to a preferred embodiment of the present invention.
이하에서 첨부한 도면을 참조하여 본 발명에 따른 영상의 색상 변환 장치 및 방법의 바람직한 실시예에 대해 상세하게 설명한다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Reference will now be made in detail to the preferred embodiments of the present invention, examples of which are illustrated in the accompanying drawings.
도 1은 본 발명의 바람직한 실시예에 따른 영상의 색상 변환 장치를 설명하기 위한 블록도이다.1 is a block diagram for explaining an image color conversion apparatus according to a preferred embodiment of the present invention.
도 1을 참조하면, 본 발명의 바람직한 실시예에 따른 영상의 색상 변환 장치(100)는 화가의 작품인 참조 영상(reference image)의 색상 대비를 이용하여 대상 영상(target image)의 색상을 변환한다. 이를 위해, 영상의 색상 변환 장치(100)는 영상 분석부(110) 및 영상 변환부(130)를 구비한다.Referring to FIG. 1, an image
영상 분석부(110)는 참조 영상(reference image)의 색상 대비를 분석한다. 즉, 영상 분석부(110)는 참조 영상(reference image)의 세일리언시 정보(saliency information)를 통해 참조 영상(reference image)을 복수의 클러스터 영역(cluster region)으로 구분한다. 여기서, 세일리언시 정보(saliency region)는 영상(image)에서 사람의 시선이 많이 가는 곳을 추출하는 영상 세일리언시(image saliency) 기법을 통해 영상(image)에서 획득된 맵을 말한다. 본 발명에서는 Perona의 영상 세일리언시 기법(image saliency technique)을 이용한다.The
도 2는 본 발명의 바람직한 실시예에 따른 세일리언시 정보(saliency information)의 일례를 나타내는 도면이다.2 is a diagram showing an example of saliency information according to a preferred embodiment of the present invention.
도 2의 (a)는 대상 영상(target image) T를 나타내고, (b)는 대상 영상(target image)의 세일리언시 정보(saliency information) 를 나타내며, (c)는 참조 영상(reference image) S를 나타내고, (d)는 참조 영상(reference image)의 세일리언시 정보(saliency information) 를 나타낸다. 붉은 색으로 표시된 영역이 상대적으로 세일리언시(saliency)가 높은 영역을 의미한다. 세일리언시 정보(saliency information)의 각 픽셀 값은 0~1의 값을 가지며, 1에 가까울수록 세일리언시(saliency)가 높다는 것을 의미한다.2 (a) shows a target image T, (b) shows a saliency information of a target image, (C) shows the reference image S, (d) shows the saliency information of the reference image, Indicates. The area marked in red indicates a relatively high saliency area. Each pixel value of saliency information has a value of 0 to 1, and the closer to 1, the higher the saliency.
도 3은 본 발명의 바람직한 실시예에 따른 참조 영상(reference image)의 클러스터링 과정을 설명하기 위한 도면이다.FIG. 3 is a view for explaining a clustering process of a reference image according to a preferred embodiment of the present invention.
도 3을 참조하면, 참조 영상(reference image)을 대상으로 HS(Hue and Saturation) 채널에서 k-means 클러스터링을 수행한다. 즉, 참조 영상(reference image)을 K개의 색으로 칼라 양자화(color quantization)를 수행한다. 여기서, K는 실험적으로 구해지며, 본 발명에서 K는 3이다. 그 다음, 점들이 뭉쳐져 분포되어 있는 위치의 HS(Hue and Saturation) 값을 클러스터링의 초기 위치로 설정한다. 그리고, 설정된 초기 위치를 기반으로 클러스터링을 수행하여 참조 영상(reference image)을 복수의 클러스터 영역(cluster region)으로 구분한다.Referring to FIG. 3, k-means clustering is performed on a hue and saturation channel for a reference image. That is, the reference image is subjected to color quantization with K colors. Here, K is obtained experimentally, and K is 3 in the present invention. Then, the hue and saturation (HS) values of the positions where the points are clustered are set as the initial positions of clustering. The reference image is divided into a plurality of cluster regions by performing clustering based on the set initial positions.
그리고, 영상 분석부(110)는 참조 영상(reference image)의 복수의 클러스터 영역(cluster region) 각각에 대한 색상 대비를 분석한다. 즉, 영상 분석부(110)는 복수의 클러스터 영역(cluster region) 각각에서 가장 많은 빈도를 가지는 HS(Hue and Saturation) 값을 획득한다.The
보다 자세하게 설명하면, 아래의 [수학식 1] 및 [수학식 2]와 같이 정의되는 참조 영상(reference image)에 대한 클러스터 영역(cluster region) 집합 R과 클러스터 영역(cluster region)의 대표 HS(Hue and Saturation) 값으로 이루어진 집합 P를 획득한다. 여기서, 대표 HS(Hue and Saturation) 값은 클러스터 영역(cluster region)에서 가장 많은 빈도를 가지는 HS(Hue and Saturation) 값을 나타낸다.In more detail, a set of cluster regions R and a representative HS (Hue) of a cluster region for a reference image defined by Equations (1) and (2) and Saturation) values. Here, the representative hue and saturation (HS) value indicates a hue and saturation (HS) value having the highest frequency in the cluster region.
여기서, 는 i번째 클러스터 영역(cluster region)에 속하는 점들의 집합을 나타낸다.here, Represents a set of points belonging to the i-th cluster region.
여기서, 는 i번째 클러스터 영역(cluster region)의 대표 HS(Hue and Saturation) 값을 나타낸다.here, Represents a representative HS (Hue and Saturation) value of an i-th cluster region.
이때, 영상 분석부(110)는 복수의 클러스터 영역(cluster region) 중 세일리언시(saliency)의 평균값이 가장 높은 클러스터 영역(cluster region)을 메인 클러스터 영역(main cluster region)으로 선정한다. 그리고, 영상 분석부(110)는 메인 클러스터 영역(main cluster region)에서 색상의 분포 정도를 나타내는 각도 값을 획득한다.At this time, the
보다 자세하게 설명하면, 복수의 클러스터 영역(cluster region)의 세일리언시(saliency) 분포를 분석한 후, 가장 세일리언시(saliency)가 높은 영역을 메인 클러스터 영역(main cluster region)으로 선정하고, 메인 클러스터 영역(main cluster region)의 색상 대비 정보 을 획득한다. 은 아래의 [수학식 3]과 같이 정의된다.In more detail, after analyzing the saliency distribution of a plurality of cluster regions, a region having the highest saliency is selected as a main cluster region, Color contrast information in the main cluster region . Is defined as the following equation (3).
여기서, p는 메인 클러스터 영역(main cluster region)의 대표 HS(Hue and Saturation) 값을 나타내며 아래의 [수학식 4]와 같이 정의되고, 는 메인 클러스터 영역(main cluster region)에서 색상의 분포 정도를 나타내는 각도 값을 나타내며 아래의 [수학식 6]과 같이 정의된다.Here, p represents a representative HS (Hue and Saturation) value of the main cluster region and is defined as in Equation (4) below, Represents an angle value indicating the degree of color distribution in the main cluster region and is defined as shown in Equation (6) below.
여기서, 는 x에 속하는 픽셀들의 평균 세일리언시(saliency) 값을 의미하며, 아래의 [수학식 5]와 같이 정의된다.here, Denotes an average saliency value of pixels belonging to x, and is defined as Equation (5) below.
여기서, 의 범위는 0~360이다.here, Is in the range of 0 to 360.
또한, 영상 분석부(110)는 메인 클러스터 영역(main cluster region)을 제외한 나머지 클러스터 영역(other cluster region) 각각에서 메인 클러스터 영역(main cluster region)의 대표 HS(Hue and Saturation) 값을 기초로 색상 하모니(color harmony) 타입, 메인 클러스터 영역(main cluster region)의 대표 HS(Hue and Saturation) 값과 나머지 클러스터 영역(other cluster region)의 대표 HS(Hue and Saturation) 값 사이의 각도 값, 및 나머지 클러스터 영역(other cluster region)의 평균 위치 값을 획득한다.In addition, the
보다 자세하게 설명하면, 메인 클러스터 영역(main cluster region)의 색상 대비 정보 을 기초로 메인 클러스터 영역(main cluster region)을 제외한 나머지 클러스터 영역(other cluster region)의 색상 대비 정보 를 획득한다. 는 아래의 [수학식 7]과 같이 정의된다.More specifically, the color contrast information of the main cluster region The color contrast information of the remaining cluster regions (excluding the main cluster region) . Is defined as the following equation (7).
여기서, 은 메인 클러스터 영역(main cluster region)의 대표 HS(Hue and Saturation) 값을 기초로 결정된 i번째 나머지 클러스터 영역(other cluster region)의 색상 하모니(color harmony) 타입을 나타내며, 아래의 [수학식 8]과 같이 정의된다. d는 메인 클러스터 영역(main cluster region)의 대표 HS(Hue and Saturation) 값과 i번째 나머지 클러스터 영역(other cluster region)의 대표 HS(Hue and Saturation) 값 사이의 각도 값을 나타낸다. pos는 i번째 나머지 클러스터 영역(other cluster region)의 평균 위치 값을 나타내며, 아래의 [수학식 9]와 같이 정의된다.here, Represents a color harmony type of an i-th remaining cluster region determined based on a representative hue and saturation (HS) value of a main cluster region, . d represents an angle value between a representative hue and saturation value of the main cluster region and a representative hue and saturation value of the other cluster region. pos represents the average position value of the i-th remaining cluster region, and is defined as the following Equation (9).
여기서, Templete은 8개의 색상 하모니(color harmony) 타입을 나타낸다. 색상 하모니(color harmony) 타입에는 'i 타입', 'V 타입', 'L 타입', 'I 타입', 'T 타입', 'Y 타입', 'X 타입' 및 'N 타입'이 있다.Here, Templete represents eight color harmony types. There are 'i type', 'V type', 'L type', 'I type', 'T type', 'Y type', 'X type' and 'N type' for color harmony type.
여기서, n은 에 속한 픽셀의 수를 나타내고, z는 픽셀의 가로와 세로의 위치 값을 나타낸다.Here, n is And z represents the position value of the pixel in the horizontal and vertical directions.
도 4는 본 발명의 바람직한 실시예에 따른 색상 하모니(color harmony) 타입의 결정 과정을 설명하기 위한 도면이다.4 is a diagram for explaining a color harmony type determination process according to a preferred embodiment of the present invention.
도 4의 (b)를 참조하면, 색상 하모니(color harmony)는 총 8개의 타입으로 이루어진다. 도 4의 (a)를 참조하면, 은 을 기준으로 보면 색상 하모니(color harmony) 타입이 'I 타입'과 유사하고, 는 을 기준으로 보면 색상 하모니(color harmony) 타입이 'V 타입'과 유사한 것을 확인할 수 있다.Referring to FIG. 4 (b), the color harmony is composed of 8 types in total. Referring to Figure 4 (a) silver , The color harmony type is similar to the 'I type' The The color harmony type is similar to the 'V type'.
정리하면, 영상 분석부(110)는 아래의 [수학식 10]과 같이 정의되는 참조 영상(reference image) S의 색상 대비 정보를 획득한다.In summary, the
영상 변환부(130)는 영상 분석부(110)에 의해 획득된 참조 영상(reference image)의 색상 대비 정보를 이용하여 대상 영상(target image)의 색상을 변환한다. 즉, 영상 변환부(130)는 대상 영상(target image)의 세일리언시 정보(saliency information)를 통해 대상 영상(target image)을 복수의 세그먼트 영역(segment region)으로 구분한다. 보다 자세하게 설명하면, 대상 영상(target image) T를 복수의 세그먼트 영역(segment region)으로 구분한다. 여기서, 세그먼트 영역(segment region)의 개수는 참조 영상(reference image) S의 클러스터 영역(cluster region) 개수와 동일하다.The
도 5는 본 발명의 바람직한 실시예에 따른 대상 영상(target image)의 영역 구분의 일례를 설명하기 위한 도면이다. 도 5의 (a)는 대상 영상(target image)을 나타내고, (b)는 대상 영상(target image)의 세그먼트 영역(segemet region)을 나타낸다. 도 5를 참조하면, 대상 영상(target image) T는 총 3개의 세그먼트 영역(segement region)으로 구분된다.5 is a view for explaining an example of region classification of a target image according to a preferred embodiment of the present invention. 5 (a) shows a target image, and FIG. 5 (b) shows a segment region of a target image. Referring to FIG. 5, a target image T is divided into a total of three segment regions.
그리고, 영상 변환부(130)는 대상 영상(target image)의 복수의 세그먼트 영역(segment region) 각각에서 영상 변환에 이용되는 정보를 획득한다. 즉, 영상 변환부(130)는 복수의 세그먼트 영역(segment region) 각각에서 가장 많은 빈도를 가지는 대표 HS(Hue and Saturation) 값을 획득한다. 이때, 영상 변환부(130)는 복수의 세그먼트 영역(segment region) 중 세일리언시(saliency)의 평균값이 가장 높은 세그먼트 영역(segment region)을 메인 세그먼트 영역(main segment region)으로 선정한다.The
보다 자세하게 설명하면, 을 구하는 과정과 동일한 방식에 의해, 복수의 세그먼트 영역(segment region)의 세일리언시(saliency) 분포를 분석한 후, 가장 세일리언시(saliency)가 높은 영역을 메인 세그먼트 영역(main segment region) 으로 선정하고, 메인 세그먼트 영역(main segment region) 의 대표 HS(Hue and Saturation) 값을 으로 설정한다. 또한, 메인 세그먼트 영역(main segment region)을 제외한 나머지 세그먼트 영역(other segment region) 의 대표 HS(Hue and Saturation) 값을 로 설정한다.More specifically, A saliency distribution of a plurality of segment regions is analyzed in the same manner as the process of obtaining a main segment region and a region having a high saliency is divided into a main segment region, And a main segment region, (Hue and Saturation) value of the representative HS . In addition, in the other segment region excluding the main segment region, (Hue and Saturation) value of the representative HS .
그리고, 영상 변환부(130)는 메인 세그먼트 영역(main segment region)을 제외한 나머지 세그먼트 영역(other segment region) 각각에서 메인 세그먼트 영역(main segment region)의 대표 HS(Hue and Saturation) 값과 나머지 세그먼트 영역(other segment region)의 대표 HS(Hue and Saturation) 값 사이의 각도 값, 및 나머지 세그먼트 영역(other segment region)의 평균 위치 값을 획득한다.The
보다 자세하게 설명하면, 나머지 세그먼트 영역(other segment region)에서 아래의 [수학식 11]과 같이 정의되는 를 획득한다.More specifically, in the other segment region, the following equation (11) is defined as: " (11) " .
여기서, d는 메인 세그먼트 영역(main segment region)의 대표 HS(Hue and Saturation) 값과 i번째 나머지 세그먼트 영역(other segment region)의 대표 HS(Hue and Saturation) 값 사이의 각도 값을 나타내며, 아래의 [수학식 12]와 같이 정의된다. pos는 i번 째 나머지 세그먼트 영역(other segment region)의 평균 위치 값을 나타낸다.Here, d represents an angle value between a representative hue and saturation value of the main segment region and a representative hue and saturation value of the i-th remaining segment region, (12). &Quot; (12) " and pos represents the average position value of the i-th other segment region.
이후, 영상 변환부(130)는 영상 분석부(110)에 의해 참조 영상(reference image)으로부터 획득된 복수의 클러스터 영역(cluster region)에 대한 색상 대비 정보를 이용하여, 세그먼트 영역(segment region) 단위로 대상 영상(target image)의 색상을 변환한다.Thereafter, the
즉, 영상 변환부(130)는 메인 세그먼트 영역(main segment region)에서 세일리언시(saliency)의 값이 높은 순서대로 복수개의 점들을 선정하고, 선정된 복수개의 점들의 HS(Hue and Saturation) 값으로부터 평균 HS(Hue and Saturation) 값을 획득하며, 획득한 평균 HS(Hue and Saturation) 값과 메인 클러스터 영역(main cluster region)의 각도 값을 이용하여 메인 세그먼트 영역(main segment region)에 속하는 점들을 색상을 변환한다.That is, the
보다 자세하게 설명하면, 메인 세그먼트 영역(main segment region)에서 세일리언시(saliency)의 값이 높은 순서대로 n개의 픽셀들로 이루어진 집합 H를 추출한다. 집합 H는 아래의 [수학식 13]과 같이 정의된다.More specifically, a set H of n pixels is extracted in the order of higher saliency values in the main segment region. The set H is defined as: " (13) "
그리고, 집합 H에 속하는 픽셀들의 HS(Hue and Saturation) 값으로부터 평균 HS(Hue and Saturation) 값 을 획득한다. 은 아래의 [수학식 14]와 같이 정의된다.Then, an average HS (Hue and Saturation) value from the HS (Hue and Saturation) values of the pixels belonging to the set H . Is defined as the following equation (14).
이후, 획득한 평균 HS(Hue and Saturation) 값 과 메인 클러스터 영역(main cluster region)의 각도 값을 이용하여 메인 세그먼트 영역(main segment region)에 속하는 점들을 색상을 변환한다.Then, the obtained average HS (Hue and Saturation) value And an angle value of a main cluster region to convert colors of points belonging to a main segment region.
도 6은 본 발명의 바람직한 실시예에 따른 대상 영상(target image)의 메인 세그먼트 영역(main segment region)의 색상 변환 과정을 설명하기 위한 도면이다.6 is a diagram for explaining a color conversion process of a main segment region of a target image according to a preferred embodiment of the present invention.
도 6을 참조하면, 기존의 메인 세그먼트 영역(main segment region)의 대표 HS(Hue and Saturation) 값 을 획득한 평균 HS(Hue and Saturation) 값 으로 변경하고, 메인 클러스터 영역(main cluster region)의 에 설정된 각도 값 의 범위 안에서 메인 클러스터 영역(main cluster region)에 속하는 나머지 픽셀들의 색상을 쉬프트(shift)한다.Referring to FIG. 6, a representative HS (Hue and Saturation) value of an existing main segment region Average hue and saturation (HS) value obtained , And in the main cluster region (main cluster region) Angle value set in The color of the remaining pixels belonging to the main cluster region is shifted within a range of " 0 "
아울러, 영상 변환부(130)는 나머지 세그먼트 영역(other segment region)의 각도 값 및 평균 위치 값과 나머지 클러스터 영역(other cluster region)의 각도 값 및 평균 위치 값을 이용하여 나머지 세그먼트 영역(other segment region)과 나머지 클러스터 영역(other cluster region)을 일대일 매칭한다.In addition, the
보다 자세하게 설명하면, 아래의 [수학식 15]와 같이 정의되는 나머지 세그먼트 영역(other segment region) 집합 V1과 아래의 [수학식 16]과 같이 정의되는 나머지 클러스터 영역(other cluster region) 집합 V2를 아래의 [수학식 17]을 이용하여, 나머지 세그먼트 영역(other segment region)과 나머지 클러스터 영역(other cluster region)을 일대일 매칭한다.More specifically, a set V1 of the remaining segment region defined by the following equation (15) and a set V2 of the remaining cluster region defined by the following equation (16) The other segment region and the other cluster region are matched one-to-one using Equation (17).
여기서, 는 아래의 [수학식 18]과 같이 정의된다.here, Is defined as the following equation (18).
여기서, 는 아래의 [수학식 19]와 같이 정의된다.here, Is defined as the following equation (19).
여기서, 는 유클리디안 디스턴스(Euclidean distance)를 나타내며, 는 영역 X의 각도 값을 나타내고, 는 영역 X의 평균 위치 값을 나타낸다.here, Represents an Euclidean distance, Represents the angular value of the area X, Represents the average position value of the area X.
그리고, 영상 변환부(130)는 메인 세그먼트 영역(main segment region)의 색상을 변환하는 동작과 동일한 과정에 의해 나머지 세그먼트 영역(other segment region)의 색상을 매칭되는 나머지 클러스터 영역(other cluster region)의 색상 하모니(color harmony) 타입을 이용하여 변환한다.The
보다 자세하게 설명하면, 메인 세그먼트 영역(main segment region)의 색상을 변환하는 동작과 동일한 과정에 의해 나머지 세그먼트 영역(other segment region)의 색상을 매칭되는 나머지 클러스터 영역(other cluster region)의 색상 하모니(color harmony) 타입을 이용하여 변환한다.More specifically, the color of the other segment region is matched with the color harmony of the other cluster region, which is the same as the operation of converting the color of the main segment region, harmony) type.
도 7은 본 발명의 바람직한 실시예에 따른 대상 영상(target image)의 나머지 세그먼트 영역(other segment region)의 색상 변환 과정을 설명하기 위한 도면이다.FIG. 7 is a diagram for explaining the color conversion process of the remaining segment region of the target image according to the preferred embodiment of the present invention.
도 7을 참조하면, 제1나머지 세그먼트 영역(other segment region) 은 제2나머지 클러스터 영역(other cluster region) 의 색상 하모니(color harmony) 타입을 이용하여 제1나머지 세그먼트 영역(other segment region)에 속하는 픽셀들의 색상을 쉬프트(shift)한다. 그리고, 제2나머지 세그먼트 영역(other segment region) 는 제1나머지 클러스터 영역(other cluster region) 의 색상 하모니(color harmony) 타입을 이용하여 제2나머지 세그먼트 영역(other segment region)에 속하는 픽셀들의 색상을 쉬프트(shift)한다.Referring to FIG. 7, a first remaining segment region, A second cluster region < RTI ID = 0.0 > The color of the pixels belonging to the first remaining segment region is shifted by using the color harmony type of the first color. In addition, the second remaining segment region A first cluster region < RTI ID = 0.0 > The color of the pixels belonging to the second remaining segment region is shifted by using the color harmony type of the color harmony.
도 8은 본 발명의 바람직한 실시예에 따른 대상 영상(target image)의 색상 변환의 일례를 설명하기 위한 도면이다. 도 8의 (a)는 대상 영상(target image)의 원본 영상(original image)의 색상 분포를 나타내고, (b)는 대상 영상(targer image)의 색상을 변경한 결과 영상(result image)의 색상 분포를 나타낸다.8 is a diagram for explaining an example of color conversion of a target image according to a preferred embodiment of the present invention. 8A shows a color distribution of an original image of a target image, FIG. 8B shows a color distribution of a result image obtained by changing a color of a target image, .
도 8을 참조하면, 색상 변환 전후의 색상 분포가 상이함을 알 수 있다. 즉, 참조 영상(reference image)의 색상 대비와 유사하도록 대상 영상(target image)의 색상 대비가 변경된다.Referring to FIG. 8, it can be seen that the color distribution before and after the color conversion is different. That is, the color contrast of the target image is changed so as to be similar to the color contrast of the reference image.
이와 같이, 참조 영상(reference image)의 색상 대비 정보를 이용하여 대상 영상(target image)의 색상을 변환함으로써, 대상 영상(target image)을 참조 영상(reference image)과 유사한 색감을 느끼도록 자동으로 색상을 변환할 수 있다.In this way, by converting the color of the target image using the color contrast information of the reference image, the target image is automatically converted to the color Lt; / RTI >
아울러, 반 고흐 등과 같은 인상파 화가가 그린 실제 작품을 참조 영상(reference image)으로 이용하면, 인상파의 색상 표현 메커니즘에 기반하여 대상 영상(target image)의 색상을 변환함으로써 대상 영상(target image)을 예술적 느낌이 나타나도록 변환할 수 있다.In addition, if a real work drawn by an impressionist painter such as Van Gogh is used as a reference image, the target image is transformed into an artistic image by converting the color of the target image based on the color rendering mechanism of the impression wave The feeling can be converted to appear.
도 9는 본 발명의 바람직한 실시예에 따른 영상의 색상 변환 방법을 설명하기 위한 흐름도이다.9 is a flowchart illustrating a color conversion method of an image according to a preferred embodiment of the present invention.
도 9를 참조하면, 영상의 색상 변환 장치(100)는 참조 영상(reference image)의 색상 대비를 분석한다(S910). 즉, 영상의 색상 변환 장치(100)는 참조 영상(reference image)의 세일리언시 정보(saliency information)를 통해 참조 영상(reference image)을 복수의 클러스터 영역(cluster region)으로 구분한다. 그리고, 영상의 색상 변환 장치(100)는 참조 영상(reference image)의 복수의 클러스터 영역(cluster region) 각각에 대한 색상 대비를 분석한다. 다시 말하면, 영상의 색상 변환 장치(100)는 복수의 클러스터 영역(cluster region) 각각에서 대표 HS(Hue and Saturation) 값, 메인 클러스터 영역(main cluster region)의 각도 값, 나머지 클러스터 영역(other cluster region)의 색상 하모니(color harmony) 타입, 나머지 클러스터 영역(other cluster region)의 각도 값, 및 나머지 클러스터 영역(other cluster region)의 평균 위치 값을 획득한다.Referring to FIG. 9, the image
그런 다음, 영상의 색상 변환 장치(100)는 참조 영상(reference image)의 색상 대비 정보를 이용하여 대상 영상(target image)의 색상을 변환한다(S930). 즉, 영상의 색상 변환 장치(100)는 대상 영상(target image)의 세일리언시 정보(saliency information)를 통해 대상 영상(target image)을 복수의 세그먼트 영역(segment region)으로 구분한다. 그리고, 영상의 색상 변환 장치(100)는 대상 영상(target image)의 복수의 세그먼트 영역(segment region) 각각에서 영상 변환에 이용되는 정보를 획득한다. 다시 말하면, 영상의 색상 변환 장치(100)는 복수의 세그먼트 영역(segment region) 각각에서 대표 HS(Hue and Saturation) 값, 나머지 세그먼트 영역(other segment region)의 각도 값, 및 나머지 세그먼트 영역(other segment region)의 평균 위치 값을 획득한다. 이후, 영상의 색상 변환 장치(100)는 참조 영상(reference image)으로부터 획득된 복수의 클러스터 영역(cluster region)에 대한 색상 대비 정보를 이용하여, 세그먼트 영역(segment region) 단위로 대상 영상(target image)의 색상을 변환한다.Then, the image
본 발명은 또한 컴퓨터로 읽을 수 있는 기록 매체에 컴퓨터가 읽을 수 있는 코드로서 구현하는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록 매체는 컴퓨터 장치에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록 장치를 포함한다. 컴퓨터가 읽을 수 있는 기록 매체의 예로는 롬(ROM), 램(RAM), CD-ROM, 자기 테이프, 플로피 디스크, 광 데이터 저장장치 등이 있으며, 또한 캐리어 웨이브(인터넷을 통한 전송)의 형태로 구현되는 것도 포함한다. 또한, 컴퓨터가 읽을 수 있는 기록 매체는 유무선 통신망으로 연결된 컴퓨터 장치에 분산되어 분산 방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다.The present invention can also be embodied as computer-readable codes on a computer-readable recording medium. A computer-readable recording medium includes all kinds of recording apparatuses in which data that can be read by a computer apparatus is stored. Examples of the computer-readable recording medium include a ROM, a RAM, a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like in the form of a carrier wave . In addition, the computer-readable recording medium may be distributed to computer devices connected to a wired / wireless communication network, and a computer-readable code may be stored and executed in a distributed manner.
이상에서 본 발명의 바람직한 실시예에 대하여 상세하게 설명하였지만 본 발명은 상술한 특정의 바람직한 실시예에 한정되지 아니하며, 다음의 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진자라면 누구든지 다양한 변형 실시가 가능한 것은 물론이고, 그와 같은 변경은 청구범위 기재의 범위 내에 있게 된다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, but, on the contrary, It will be understood by those skilled in the art that various changes may be made and equivalents may be substituted without departing from the scope of the appended claims.
100 : 영상의 색상 변환 장치, 110 : 영상 분석부,
130 : 영상 변환부100: Image color conversion apparatus, 110: Image analysis unit,
130:
Claims (11)
대상 영상(target image)의 세일리언시 정보(saliency information)를 통해 상기 대상 영상(target image)을 복수의 세그먼트 영역(segment region)으로 구분하고, 상기 영상 분석부에 의해 상기 참조 영상(reference image)으로부터 획득된 상기 복수의 클러스터 영역(cluster region)에 대한 색상 대비 정보를 이용하여 상기 세그먼트 영역(segment region) 단위로 상기 대상 영상(target image)의 색상을 변환하는 영상 변환부;를 포함하는 것을 특징으로 하는 영상의 색상 변환 장치.A reference image is divided into a plurality of cluster regions through salience information of a reference image and a color of each of the plurality of cluster regions An image analysis unit for analyzing contrast; And
The target image is divided into a plurality of segment regions through salary information of a target image, and the reference image is analyzed by the image analyzer. And an image converter configured to convert colors of the target image in units of segment regions by using color contrast information of the plurality of cluster regions obtained from the plurality of cluster regions. Color converting apparatus for images.
상기 영상 분석부는 상기 복수의 클러스터 영역(cluster region) 각각에서 가장 많은 빈도를 가지는 대표 HS(Hue and Saturation) 값을 획득하고, 상기 복수의 클러스터 영역(cluster region) 중 세일리언시(saliency)의 평균값이 가장 높은 클러스터 영역(cluster region)을 메인 클러스터 영역(main cluster region)으로 선정하며,
상기 영상 변환부는 상기 복수의 세그먼트 영역(segment region) 각각에서 가장 많은 빈도를 가지는 대표 HS(Hue and Saturation) 값을 획득하고, 상기 복수의 세그먼트 영역(segment region) 중 세일리언시(saliency)의 평균값이 가장 높은 세그먼트 영역(segment region)을 메인 세그먼트 영역(main segment region)으로 선정하는 것을 특징으로 하는 영상의 색상 변환 장치.The method of claim 1,
The image analyzer obtains a representative Hue (Hue and Saturation) value having the highest frequency in each of the plurality of cluster regions, and averages the saliency of the plurality of cluster regions. This highest cluster region is chosen as the main cluster region.
The image converting unit obtains a representative Hue (Hue and Saturation) value having the highest frequency in each of the plurality of segment regions, and averages the saliency of the plurality of segment regions. And the highest segment region is selected as the main segment region.
상기 영상 분석부는 상기 메인 클러스터 영역(main cluster region)에서 색상의 분포 정도를 나타내는 각도 값을 획득하고, 상기 메인 클러스터 영역(main cluster region)을 제외한 나머지 클러스터 영역(other cluster region) 각각에서 상기 메인 클러스터 영역(main cluster region)의 대표 HS(Hue and Saturation) 값을 기초로 색상 하모니(color harmony) 타입, 상기 메인 클러스터 영역(main cluster region)의 대표 HS(Hue and Saturation) 값과 상기 나머지 클러스터 영역(other cluster region)의 대표 HS(Hue and Saturation) 값 사이의 각도 값, 및 상기 나머지 클러스터 영역(other cluster region)의 평균 위치 값을 획득하며,
상기 영상 변환부는 상기 메인 세그먼트 영역(main segment region)을 제외한 나머지 세그먼트 영역(other segment region) 각각에서 상기 메인 세그먼트 영역(main segment region)의 대표 HS(Hue and Saturation) 값과 상기 나머지 세그먼트 영역(other segment region)의 대표 HS(Hue and Saturation) 값 사이의 각도 값, 및 상기 나머지 세그먼트 영역(other segment region)의 평균 위치 값을 획득하는 것을 특징으로 하는 영상의 색상 변환 장치.3. The method of claim 2,
Wherein the image analyzing unit obtains an angle value indicating a degree of color distribution in the main cluster region and determines an angle value of the main cluster region in each of the remaining cluster regions other than the main cluster region, A color harmony type based on a representative hue and saturation value of a main cluster region, a representative hue and saturation value of the main cluster region, (hue and saturation) value of the other cluster region and an average position value of the remaining cluster region,
Wherein the image transformer transforms the representative HS (Hue and Saturation) values of the main segment region and the other segment region (other) of each of the other segment regions except for the main segment region, (Hue and Saturation) value of a segment region of the current segment region, and an average position value of the remaining segment region.
상기 영상 변환부는 상기 메인 세그먼트 영역(main segment region)에서 세일리언시(saliency)의 값이 높은 순서대로 복수개의 점들을 선정하고, 상기 선정된 복수개의 점들의 HS(Hue and Saturation) 값으로부터 평균 HS(Hue and Saturation) 값을 획득하며, 상기 평균 HS(Hue and Saturation) 값과 상기 메인 클러스터 영역(main cluster region)의 각도 값을 이용하여 상기 메인 세그먼트 영역(main segment region)에 속하는 점들을 색상을 변환하는 것을 특징으로 하는 영상의 색상 변환 장치.The method of claim 3, wherein
Wherein the image transformation unit selects a plurality of points in order of higher saliency values in the main segment region and calculates average HS values from the HS values of the selected plurality of points, Obtaining a hue and saturation value of the main cluster region and using the average hue and saturation value and an angle value of the main cluster region to color the points belonging to the main segment region Wherein the color conversion unit converts the color of the image into a color signal.
상기 영상 변환부는 상기 나머지 세그먼트 영역(other segment region)의 각도 값 및 평균 위치 값과 상기 나머지 클러스터 영역(other cluster region)의 각도 값 및 평균 위치 값을 이용하여 상기 나머지 세그먼트 영역(other segment region)과 상기 나머지 클러스터 영역(other cluster region)을 일대일 매칭하고, 상기 나머지 세그먼트 영역(other segment region)의 색상을 매칭되는 나머지 클러스터 영역(other cluster region)의 색상 하모니(color harmony) 타입을 이용하여 변환하는 것을 특징으로 하는 영상의 색상 변환 장치.5. The method of claim 4,
Wherein the image transformation unit transforms the other segment region and the other segment region using an angle value and an average position value of the other segment region and an angle value and an average position value of the remaining cluster region, The other cluster regions are matched one-to-one and the color of the other segment region is converted using the color harmony type of the other cluster region to be matched A color conversion device for the image.
대상 영상(target image)의 세일리언시 정보(saliency information)를 통해 상기 대상 영상(target image)을 복수의 세그먼트 영역(segment region)으로 구분하고, 상기 참조 영상(reference image)으로부터 획득된 상기 복수의 클러스터 영역(cluster region)에 대한 색상 대비 정보를 이용하여 상기 세그먼트 영역(segment region) 단위로 상기 대상 영상(target image)의 색상을 변환하는 단계;를 포함하는 것을 특징으로 하는 영상의 색상 변환 방법.A reference image is divided into a plurality of cluster regions through salience information of a reference image and a color of each of the plurality of cluster regions Analyzing contrast; And
The target image is divided into a plurality of segment regions through salary information of a target image, and the plurality of target images are obtained from the reference image. And converting a color of the target image in units of segment regions by using color contrast information of a cluster region.
상기 영상 분석 단계에서, 상기 복수의 클러스터 영역(cluster region) 각각에서 가장 많은 빈도를 가지는 대표 HS(Hue and Saturation) 값을 획득하고, 상기 복수의 클러스터 영역(cluster region) 중 세일리언시(saliency)의 평균값이 가장 높은 클러스터 영역(cluster region)을 메인 클러스터 영역(main cluster region)으로 선정하며,
상기 영상 변환 단계에서, 상기 복수의 세그먼트 영역(segment region) 각각에서 가장 많은 빈도를 가지는 대표 HS(Hue and Saturation) 값을 획득하고, 상기 복수의 세그먼트 영역(segment region) 중 세일리언시(saliency)의 평균값이 가장 높은 세그먼트 영역(segment region)을 메인 세그먼트 영역(main segment region)으로 선정하는 것을 특징으로 하는 영상의 색상 변환 방법.The method according to claim 6,
In the image analysis step, a representative HS (Hue and Saturation) value having the highest frequency in each of the plurality of cluster regions is obtained, and a saliency of the plurality of cluster regions is obtained. The cluster region having the highest average value of is selected as the main cluster region.
In the image conversion step, a representative HS (Hue and Saturation) value having the highest frequency in each of the plurality of segment regions is obtained, and a saliency of the plurality of segment regions is obtained. And selecting a segment region having the highest average value as a main segment region.
상기 영상 분석 단계에서, 상기 메인 클러스터 영역(main cluster region)에서 색상의 분포 정도를 나타내는 각도 값을 획득하고, 상기 메인 클러스터 영역(main cluster region)을 제외한 나머지 클러스터 영역(other cluster region) 각각에서 상기 메인 클러스터 영역(main cluster region)의 대표 HS(Hue and Saturation) 값을 기초로 색상 하모니(color harmony) 타입, 상기 메인 클러스터 영역(main cluster region)의 대표 HS(Hue and Saturation) 값과 상기 나머지 클러스터 영역(other cluster region)의 대표 HS(Hue and Saturation) 값 사이의 각도 값, 및 상기 나머지 클러스터 영역(other cluster region)의 평균 위치 값을 획득하며,
상기 영상 변환 단계에서, 상기 메인 세그먼트 영역(main segment region)을 제외한 나머지 세그먼트 영역(other segment region) 각각에서 상기 메인 세그먼트 영역(main segment region)의 대표 HS(Hue and Saturation) 값과 상기 나머지 세그먼트 영역(other segment region)의 대표 HS(Hue and Saturation) 값 사이의 각도 값, 및 상기 나머지 세그먼트 영역(other segment region)의 평균 위치 값을 획득하는 것을 특징으로 하는 영상의 색상 변환 방법.8. The method of claim 7,
The method of claim 1, wherein, in the image analysis step, an angle value indicating a degree of color distribution is obtained in the main cluster region, and in each of the remaining cluster regions other than the main cluster region, A color harmony type based on a representative hue and saturation value of a main cluster region, a representative hue and saturation value of the main cluster region, An angle value between a representative hue and saturation (HS) value of the other cluster region and an average position value of the remaining cluster region,
In the image conversion step, a representative HS (Hue and Saturation) value of the main segment region in each of the other segment regions except for the main segment region, an angle value between a representative hue and saturation (HS) value of the other segment region, and an average position value of the other segment region.
상기 영상 변환 단계에서, 상기 메인 세그먼트 영역(main segment region)에서 세일리언시(saliency)의 값이 높은 순서대로 복수개의 점들을 선정하고, 상기 선정된 복수개의 점들의 HS(Hue and Saturation) 값으로부터 평균 HS(Hue and Saturation) 값을 획득하며, 상기 평균 HS(Hue and Saturation) 값과 상기 메인 클러스터 영역(main cluster region)의 각도 값을 이용하여 상기 메인 세그먼트 영역(main segment region)에 속하는 점들을 색상을 변환하는 것을 특징으로 하는 영상의 색상 변환 방법.The method of claim 8,
Wherein the image transformation step comprises the steps of: selecting a plurality of points in the order of higher saliency values in the main segment region and selecting a plurality of points from the hue and saturation values of the selected plurality of points; (Hue and Saturation) value and an angle value of the main cluster region to obtain points that belong to the main segment region, And converting the color of the image.
상기 영상 변환 단계에서, 상기 나머지 세그먼트 영역(other segment region)의 각도 값 및 평균 위치 값과 상기 나머지 클러스터 영역(other cluster region)의 각도 값 및 평균 위치 값을 이용하여 상기 나머지 세그먼트 영역(other segment region)과 상기 나머지 클러스터 영역(other cluster region)을 일대일 매칭하고, 상기 나머지 세그먼트 영역(other segment region)의 색상을 매칭되는 나머지 클러스터 영역(other cluster region)의 색상 하모니(color harmony) 타입을 이용하여 변환하는 것을 특징으로 하는 영상의 색상 변환 방법.The method of claim 9,
The method of claim 1, wherein, in the image transformation step, an angle value and an average position value of the other segment region and an angle value and an average position value of the remaining cluster region are used to calculate the other segment region ) And the other cluster region in a one-to-one correspondence, and the color of the remaining segment region is transformed by using a color harmony type of the remaining cluster region to be matched And converting the color of the image into a color signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020120102847A KR101394363B1 (en) | 2012-09-17 | 2012-09-17 | Apparatus and method for transferring a color of image |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020120102847A KR101394363B1 (en) | 2012-09-17 | 2012-09-17 | Apparatus and method for transferring a color of image |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20140037373A true KR20140037373A (en) | 2014-03-27 |
KR101394363B1 KR101394363B1 (en) | 2014-05-14 |
Family
ID=50646191
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020120102847A KR101394363B1 (en) | 2012-09-17 | 2012-09-17 | Apparatus and method for transferring a color of image |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101394363B1 (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101606760B1 (en) | 2015-07-23 | 2016-03-28 | 연세대학교 산학협력단 | Apparatus and Method of Transforming Emotion of Image based on Object in Image |
KR20180074977A (en) * | 2016-12-26 | 2018-07-04 | 연세대학교 산학협력단 | Feature transfer system for image and the method thereof |
KR20190030952A (en) * | 2017-09-15 | 2019-03-25 | 전자부품연구원 | Pallet-based Image Recoloring Method and Apparatus |
KR101951433B1 (en) * | 2018-10-15 | 2019-05-21 | 조정우 | Device for drawing pictures |
KR20210060162A (en) * | 2019-11-18 | 2021-05-26 | 김남희 | Method of generating digital image basd on bigdata and apparatus performing the same |
KR102390838B1 (en) * | 2021-07-22 | 2022-04-28 | 주식회사 엘케이벤쳐스 | Apparatus and method for generating a picture frame based on images taken through a shooting room kiosk |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009153733A1 (en) * | 2008-06-17 | 2009-12-23 | Koninklijke Philips Electronics N.V. | Color adjustment |
KR101043768B1 (en) * | 2009-10-13 | 2011-06-22 | 중앙대학교 산학협력단 | Apparatus and method for painterly rendering |
-
2012
- 2012-09-17 KR KR1020120102847A patent/KR101394363B1/en active IP Right Grant
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101606760B1 (en) | 2015-07-23 | 2016-03-28 | 연세대학교 산학협력단 | Apparatus and Method of Transforming Emotion of Image based on Object in Image |
KR20180074977A (en) * | 2016-12-26 | 2018-07-04 | 연세대학교 산학협력단 | Feature transfer system for image and the method thereof |
KR101882111B1 (en) * | 2016-12-26 | 2018-07-25 | 연세대학교 산학협력단 | Feature transfer system for image and the method thereof |
KR20190030952A (en) * | 2017-09-15 | 2019-03-25 | 전자부품연구원 | Pallet-based Image Recoloring Method and Apparatus |
KR101951433B1 (en) * | 2018-10-15 | 2019-05-21 | 조정우 | Device for drawing pictures |
KR20210060162A (en) * | 2019-11-18 | 2021-05-26 | 김남희 | Method of generating digital image basd on bigdata and apparatus performing the same |
KR102390838B1 (en) * | 2021-07-22 | 2022-04-28 | 주식회사 엘케이벤쳐스 | Apparatus and method for generating a picture frame based on images taken through a shooting room kiosk |
KR20230015269A (en) * | 2021-07-22 | 2023-01-31 | 주식회사 엘케이벤쳐스 | Apparatus and method for generating a picture frame based on images taken through a shooting room kiosk |
Also Published As
Publication number | Publication date |
---|---|
KR101394363B1 (en) | 2014-05-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101394363B1 (en) | Apparatus and method for transferring a color of image | |
US10372226B2 (en) | Visual language for human computer interfaces | |
US7908547B2 (en) | Album creating apparatus, album creating method and program | |
US9196069B2 (en) | Digital image manipulation | |
CN103020965B (en) | A kind of foreground segmentation method based on significance detection | |
US9697583B2 (en) | Image processing apparatus, image processing method, and computer-readable recording medium | |
JPH09212677A (en) | Image area division method and device therefor | |
CN103632153B (en) | Region-based image saliency map extracting method | |
JP6106799B2 (en) | System and method for describing an image outline | |
KR20180074977A (en) | Feature transfer system for image and the method thereof | |
CN110111347B (en) | Image sign extraction method, device and storage medium | |
CN108985301A (en) | A kind of hyperspectral image classification method of the sub- dictionary learning of multiple features class | |
KR101028699B1 (en) | Apparatus and method for painterly rendering | |
CN112529914A (en) | Real-time hair segmentation method and system | |
US11354925B2 (en) | Method, apparatus and device for identifying body representation information in image, and computer readable storage medium | |
KR100532129B1 (en) | lip region segmentation and feature extraction method for Speech Recognition | |
KR20210049648A (en) | Image processing system and method of providing realistic photo image by synthesizing object and background image | |
CN111062862A (en) | Color-based data enhancement method and system, computer device and storage medium | |
CN108229487B (en) | Significance detection method combining space domain and frequency domain | |
Wen | RETRACTED ARTICLE: Translation analysis of English address image recognition based on image recognition | |
KR20140107999A (en) | Method and apparatus for analyzing video based on spatiotemporal patterns | |
KR20120128539A (en) | Methdo and apparatus for photorealistic enhancing of computer graphic image | |
CN105320936B (en) | The recognition methods of barrier and identification device in a kind of satellite photo | |
Liu et al. | Hole filling using joint bilateral filtering for moving object segmentation | |
Nabeel et al. | Optimizing image segmentation by selective fusion of histogram based K-means clustering |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20170327 Year of fee payment: 4 |
|
FPAY | Annual fee payment |
Payment date: 20180406 Year of fee payment: 5 |