KR100844829B1 - Mosaic image creation method and device for the same - Google Patents

Mosaic image creation method and device for the same Download PDF

Info

Publication number
KR100844829B1
KR100844829B1 KR1020060127518A KR20060127518A KR100844829B1 KR 100844829 B1 KR100844829 B1 KR 100844829B1 KR 1020060127518 A KR1020060127518 A KR 1020060127518A KR 20060127518 A KR20060127518 A KR 20060127518A KR 100844829 B1 KR100844829 B1 KR 100844829B1
Authority
KR
South Korea
Prior art keywords
tile
image
mosaic
tiles
cells
Prior art date
Application number
KR1020060127518A
Other languages
Korean (ko)
Other versions
KR20080054880A (en
Inventor
윤경현
박진완
류승택
Original Assignee
중앙대학교 산학협력단
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 중앙대학교 산학협력단 filed Critical 중앙대학교 산학협력단
Priority to KR1020060127518A priority Critical patent/KR100844829B1/en
Publication of KR20080054880A publication Critical patent/KR20080054880A/en
Application granted granted Critical
Publication of KR100844829B1 publication Critical patent/KR100844829B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/001Texturing; Colouring; Generation of texture or colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image
    • G06T3/40Scaling the whole image or part thereof
    • G06T3/4038Scaling the whole image or part thereof for image mosaicing, i.e. plane images composed of plane sub-images
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/30Determination of transform parameters for the alignment of images, i.e. image registration
    • G06T7/35Determination of transform parameters for the alignment of images, i.e. image registration using statistical methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/40Analysis of texture
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/32Indexing scheme for image data processing or generation, in general involving image mosaicing
    • 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/20228Disparity calculation for image-based rendering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes

Abstract

모자이크 이미지 생성 방법 및 모자이크 이미지 생성 장치가 개시된다. 본 발명에 따른 모자이크 이미지 생성 방법은 모자이크로 변환될 이미지를 수신하는 단계;  수신된 상기 이미지를 다수의 셀들로 분할하는 단계; 타일 데이터 베이스에 저장된 다수의 타일들로부터 상기 셀들 각각에 대응되는 타일을 결정하는 단계; 상기 결정된 타일 각각을 대응되는 셀에 배치하여 제1 타일층을 생성하는 단계; 및 상기 제1 타일층과 제1 각도 차이를 가지는 제2 타일층을 상기 제1 타일층에 쌓는 단계를 구비함으로써 원본 이미지에 가까운 모자이크 이미지를 생성할 수 있는 효과가 있다. Disclosed are a mosaic image generating method and a mosaic image generating device. Mosaic image generating method according to the invention comprises the steps of receiving an image to be converted into a mosaic; Dividing the received image into a plurality of cells; Determining a tile corresponding to each of the cells from a plurality of tiles stored in a tile database; Creating a first tile layer by placing each of the determined tiles in a corresponding cell; And stacking a second tile layer having a first angle difference with the first tile layer on the first tile layer, thereby generating a mosaic image close to the original image.

모자이크 이미지, 타일 Mosaic images, tiles

Description

모자이크 이미지 생성 방법 및 모자이크 이미지 생성 장치{Mosaic image creation method and device for the same} Mosaic image creation method and device for the same}

본 발명의 상세한 설명에서 인용되는 도면을 보다 충분히 이해하기 위하여 각 도면의 간단한 설명이 제공된다. BRIEF DESCRIPTION OF THE DRAWINGS In order to better understand the drawings cited in the detailed description of the invention, a brief description of each drawing is provided.

도 1은 본 발명의 실시예에 따른 모자이크 이미지 생성 장치의 기능 블록도이다. 1 is a functional block diagram of a mosaic image generating apparatus according to an embodiment of the present invention.

도 2는 본 발명의 실시예에 따른 모자이크 이미지 생성 방법을 나타낸다. 2 illustrates a mosaic image generating method according to an embodiment of the present invention.

도 3a와 도 3b는 본 발명의 실시예에 따른 모자이크 이미지 생성시 사용되는 회전 가능한 물체의 영상을 나타낸다. 3A and 3B illustrate images of a rotatable object used when generating a mosaic image according to an embodiment of the present invention.

도 4는 본 발명의 실시예에 따른 타일 매칭을 설명하기 위한 도면이다. 4 is a diagram for describing tile matching according to an exemplary embodiment of the present invention.

도 5는 본 발명의 실시예에 따른 타일을 결정하는 방법을 나타낸다. 5 illustrates a method of determining a tile according to an embodiment of the present invention.

도 6은 본 발명의 실시예에 따른 모자이크 이미지 생성시 사용되는 샘플링된 물체의 영상들이다. 6 are images of sampled objects used in generating a mosaic image according to an embodiment of the present invention.

도 7a와 도7b는 본 발명의 실시예에 따른 그림자 효과를 설명하기 위한 도면이다. 7A and 7B are diagrams for describing a shadow effect according to an embodiment of the present invention.

도 8a 내지 도 8c는 다층의 모자이크 영상을 생성하는 방법을 설명하기 위한 도면이다. 8A to 8C are diagrams for describing a method of generating a multilayer mosaic image.

도 9는 본 발명의 실시 예에 따른 생성된 모자이크 이미지를 나타낸다. 9 illustrates a generated mosaic image according to an embodiment of the present invention.

본 발명은 모자이크 이미지 생성 방법 및 모자이크 이미지 생성 장치에 관한 것으로, 보다 상세하게는, 회전 가능한 물체의 영상을 이용하여 다층의 모자이크 이미지를 생성하기 위한 방법 및 모자이크 이미지 생성 장치에 관한 것이다. The present invention relates to a mosaic image generating method and a mosaic image generating apparatus, and more particularly, to a method and a mosaic image generating apparatus for generating a multilayer mosaic image using an image of a rotatable object.

일반적으로 비사실적 렌더링(Non-Photorealistic Rendering)이란 사실적이지 않은 다양한 표현 방법으로 사물을 렌더링하는 기법으로서 기존의 사실적 렌더링(Photorealistic Rendering)과 상반되는 개념이다. In general, non-photorealistic rendering is a technique of rendering objects by various non-realistic rendering methods, which is a concept contrary to conventional photorealistic rendering.

예컨대, 상기 비사실적 렌더링은 다양한 미술 소재들(예컨대, 모자이크, 색 연필화, 펜화, 유화, 수채화, 목탄화, 또는 카툰(cartoon) 등)을 이용하여 사실적이지 않은 예술적인 이미지로 사물을 렌더링할 수 있다. For example, the non-realistic rendering can render an object into an unrealistic artistic image using various art materials (eg, mosaic, color pencil drawing, pen drawing, oil painting, watercolor, charcoal drawing, or cartoon). .

최근 비사실적 렌더링된 이미지들은 산업계에 반영되어 게임, 영화, 애니메이션, 광고, 의료, 건축, 또는 기계분야 등에 활용되고 있으며 상기 이미지들을 표현할 수 있는 컴퓨터 그래픽 툴이 개발되고 있다. Recently, non-realistic rendered images are reflected in the industry, and are used in game, film, animation, advertisement, medical, architecture, or mechanical fields, and computer graphic tools capable of expressing the images are being developed.

특히, 컴퓨터 그래픽 툴을 이용한 포토 모자이크 방식의 비사실적 렌더링 기법은 원본 이미지를 다수의 셀들로 나누고 상기 셀들과 색상차이가 작은 작은 이미지 형태의 타일들을 조합해서 큰 이미지의 렌더링 이미지를 만들어낸다. In particular, the photo-mosaic non-realistic rendering technique using a computer graphic tool divides the original image into a plurality of cells, and combines the cells with tiles in the form of a small image having a small color difference to produce a rendered image of a large image.

그러나 컴퓨터 그래픽 툴을 이용하여 상기 모자이크를 이용한 비사실적 렌 더링 기법을 사용할 경우, 상기 컴퓨터 그래픽 툴은 상기 셀들과 색상차이가 작은 타일을 찾기 위해 다수의 타일들을 저장하고 있는 데이터베이스를 필요로 한다. However, when using a non-realistic rendering technique using the mosaic using a computer graphics tool, the computer graphics tool needs a database storing a plurality of tiles to find a tile having a small color difference from the cells.

따라서 상기 셀들과 색상차이가 보다 작은 타일을 찾기 위해서 상기 데이터베이스의 용량은 커질 수 있으며, 용량이 커질수록 적합한 타일을 찾는 시간이 많이 소요되어 비사실적 렌더링 된 모자이크 이미지를 생성하는 시간도 길어질 수 있다. Therefore, the capacity of the database may be increased to find tiles having smaller color differences with the cells. As the capacity increases, the time required for finding a suitable tile may increase, resulting in an unrealistic rendered mosaic image.

또한, 컴퓨터 그래픽 툴이 상기 작은 이미지 형태의 타일들을 가지고 큰 이미지의 렌더링 이미지를 생성할 경우, 생성된 이미지를 구성하는 타일들 사이에 원하지 않는 여백이 형성될 수 있다. 예컨대, 상기 타일들이 동전 이미지인 경우, 인접하는 동전들 사이에 생기는 여백으로 모자이크 이미지가 왜곡될 수도 있다. In addition, when the computer graphics tool generates a large image rendered image with the tiles in the form of small images, unwanted margins may be formed between the tiles constituting the generated image. For example, when the tiles are coin images, the mosaic image may be distorted due to the margins between adjacent coins.

따라서, 적은 수의 타일을 가지고 원본 이미지에 가까운 모자이크 이미지를 생성하고, 타일들 사이에 생길 수 있는 원치않는 여백으로 인해 모자이크 이미지의 왜곡을 방지할 수 있는 컴퓨터 그래픽 툴 및 모자이크 이미지 생성방법이 필요한 실정이다. Therefore, there is a need for computer graphics tools and mosaic image generation methods that can generate a mosaic image close to the original image with a small number of tiles, and prevent distortion of the mosaic image due to unwanted margins between tiles. to be.

본 발명이 이루고자하는 기술적 과제는 적은 수의 타일을 가지고 원본 이미지에 가까운 모자이크 이미지를 생성하는 모자이크 이미지 생성 방법 및 모자이크 이미지 생성 장치를 제공하는 것이다. SUMMARY OF THE INVENTION The present invention has been made in an effort to provide a mosaic image generating method and a mosaic image generating apparatus generating a mosaic image close to an original image with a small number of tiles.

또한, 본 발명이 이루고자하는 기술적 과제는 타일들 사이의 여백을 감소시켜 원본 이미지의 왜곡을 줄일 수 있는 다층의 모자이크 이미지 생성 방법 및 모자 이크 이미지 생성 장치를 제공하는 것이다. In addition, the technical problem to be achieved by the present invention is to provide a multi-layer mosaic image generating method and a hatch image generating apparatus that can reduce the distortion of the original image by reducing the margin between the tiles.

상기 기술적 과제를 이루기 위한 모자이크 이미지 생성 방법은 모자이크로 변환될 이미지를 수신하는 단계; 및 수신된 상기 이미지를 다수의 셀들로 분할하는 단계; 타일 데이터 베이스에 저장된 다수의 타일들로부터 상기 셀들 각각에 대응되는 타일을 결정하는 단계; 상기 결정된 타일 각각을 대응되는 셀에 배치하여 제1 타일층을 생성하는 단계; 및 상기 제1 타일층과 제1 각도 차이를 가지는 제2 타일층을 상기 제1 타일층에 쌓는 단계를 구비한다. The mosaic image generating method for achieving the technical problem comprises the steps of receiving an image to be converted into a mosaic; And dividing the received image into a plurality of cells; Determining a tile corresponding to each of the cells from a plurality of tiles stored in a tile database; Creating a first tile layer by placing each of the determined tiles in a corresponding cell; And stacking a second tile layer having a first angle difference from the first tile layer on the first tile layer.

상기 제2 타일층을 상기 제1 타일층에 쌓는 단계는, 상기 다수의 셀들을 상기 제1 각도만큼 회전하는 단계; 상기 타일 데이터 베이스에 저장된 다수의 타일들로부터 상기 회전된 셀들 각각에 대응되는 타일을 결정하는 단계; 상기 결정된 타일 각각을 대응하는 회전된 셀에 배치하여 제2 타일층을 생성하는 단계를 구비할 수 있다. The stacking of the second tile layer on the first tile layer may include rotating the plurality of cells by the first angle; Determining a tile corresponding to each of the rotated cells from a plurality of tiles stored in the tile database; And arranging each of the determined tiles in a corresponding rotated cell to generate a second tile layer.

상기 모자이크 이미지 생성 방법은 상기 제2 타일층과 제2 각도 차이를 가지는 제3 타일층을 상기 제2 타일층에 쌓는 단계를 더 구비할 수 있다. The mosaic image generating method may further include stacking a third tile layer having a second angle difference from the second tile layer on the second tile layer.

상기 타일을 결정하는 단계는 각 셀들에 대하여, 해당 셀과 색상 차이가 가장 작은 타일을 찾는 단계를 구비하며, 상기 색상 차이는 타일 영상의 각 픽셀을 해당 셀의 각 픽셀과 대응시킬 때, 대응되는 각 픽셀간 Gr 차이값, Gb 차이값, 및 Gg 차이값을 누적한 값에 상응할 수 있다. The determining of the tile may include finding, for each cell, a tile having the smallest color difference from the corresponding cell, wherein the color difference corresponds when each pixel of the tile image corresponds to each pixel of the corresponding cell. It may correspond to the accumulated value of the Gr difference value, the Gb difference value, and the Gg difference value between each pixel.

상기 다수의 타일들 각각은 소정의 바운딩 써클내에서 회전 가능한 물체의 영상이고, 상기 타일을 결정하는 단계는, 상기 다수의 타일들 각각을 소정의 각도만큼 회전시키고, 회전된 타일 각각에 대해 상기 대응되는 셀의 색상과 색상 차이가 가장 작은 타일을 결정하는 단계를 구비할 수 있다. Each of the plurality of tiles is an image of an object rotatable within a predetermined bounding circle, and the determining of the tile may include rotating each of the plurality of tiles by a predetermined angle and corresponding to each of the rotated tiles. The method may include determining a tile having the smallest color and color difference of the cell.

상기 모자이크 이미지 생성 방법은 생성된 모자이크 이미지에 그림자 효과를 적용하는 단계를 더 구비할 수 있다. The mosaic image generating method may further include applying a shadow effect to the generated mosaic image.

상기 기술적 과제를 이루기 위한 이미지 생성 방법은 모자이크로 변환될 이미지를 수신하는 단계; 수신된 상기 이미지를 다수의 셀들로 분할하는 단계; 및 타일 데이터 베이스에 저장된 다수의 타일들로부터 상기 셀들 각각에 대응되는 타일을 결정하는 단계를 구비한다. 상기 셀들 각각에 대응하는 타일을 결정하는 단계는, 상기 다수의 타일들 각각을 소정의 각도만큼 회전시켜 회전된 타일들을 구하는 단계; 및 상기 회전된 타일들을 해당 셀과 각각 비교하여, 해당 셀과의 차이가 가장 작은 타일을 결정하는 단계를 구비한다. The image generating method for achieving the technical problem comprises the steps of receiving an image to be converted into a mosaic; Dividing the received image into a plurality of cells; And determining a tile corresponding to each of the cells from a plurality of tiles stored in a tile database. The determining of a tile corresponding to each of the cells may include: rotating each of the plurality of tiles by a predetermined angle to obtain rotated tiles; And comparing the rotated tiles with the corresponding cells to determine the tiles having the smallest difference from the corresponding cells.

상기 해당 셀과의 차이가 가장 작은 타일은 타일 영상의 각 픽셀을 해당 셀의 각 픽셀과 대응시킬 때, 대응되는  각 픽셀간 Gr 차이값, Gb 차이값, 및 Gg 차이값을 누적한 값이 가장 작은 타일일 수 있다. The tile having the smallest difference from the corresponding cell has the highest accumulated value of Gr difference, Gb difference, and Gg difference between the corresponding pixels when each pixel of the tile image corresponds to each pixel of the corresponding cell. It may be a small tile.

        상기 기술적 과제를 이루기 위한 모자이크 이미지 생성 장치는 모자이크로 변환될 이미지를 수신하는 이미지 수신 모듈; 다수의 타일들을 저장하는 타일 데이터 베이스; 및 상기 이미지 수신 모듈로부터 이미지를 수신하고 수신된 이미지를 다수의 셀들로 분할하고, 상기 셀들 각각에 대응되는 타일을 적어도 두 개의 타일 층들 각각에 쌓아 모자이크 이미지를 생성하는 모자이크 변환 모듈을 구비할 수 있 다. Mosaic image generating apparatus for achieving the technical problem is an image receiving module for receiving an image to be converted into a mosaic; A tile database for storing a plurality of tiles; And a mosaic conversion module configured to receive an image from the image receiving module, divide the received image into a plurality of cells, and stack a tile corresponding to each of the cells on each of at least two tile layers to generate a mosaic image. All.

상기 모자이크 변환 모듈은 상기 모자이크로 변환될 이미지를 다수의 셀들로 분할하고, 상기 다수의 타일들로부터 상기 셀들 각각에 대응되는 타일을 결정하는 타일 결정모듈; 및 상기 타일 결정모듈에 의해서 결정된 타일을 적어도 두 개의 타일 층에 쌓아 모자이크 이미지를 생성하는 이미지 처리부를 구비할 수 있다. The mosaic conversion module may include: a tile determination module which divides an image to be converted into a mosaic into a plurality of cells and determines a tile corresponding to each of the cells from the plurality of tiles; And an image processor configured to stack a tile determined by the tile determination module on at least two tile layers to generate a mosaic image.

상기 타일 결정모듈은 각 셀들에 대하여, 해당 셀과 색상 차이가 가장 작은 타일을 찾으며, 상기 색상 차이는 타일 영상의 각 픽셀을 해당 셀의 각 픽셀과 대응시킬 때, 대응되는 각 픽셀간 Gr 차이값, Gb 차이값, 및 Gg 차이값을 누적한 값에 상응할 수 있다. The tile determination module finds a tile having the smallest color difference with the corresponding cell for each cell, and the color difference corresponds to the Gr difference value between the corresponding pixels when each pixel of the tile image corresponds to each pixel of the corresponding cell. , Gb difference value, and Gg difference value may correspond to the accumulated value.

상기 이미지 처리부는 상기 타일 결정모듈에 의해서 결정된 타일 각각을 대응되는 셀에 배치하여 제1 타일층을 생성하고 상기 제1 타일층과 제1 각도 차이를 가지는 제2 타일층을 상기 제1 타일층에 쌓을 수 있다. The image processor generates a first tile layer by arranging each tile determined by the tile determination module in a corresponding cell, and a second tile layer having a first angle difference from the first tile layer is disposed on the first tile layer. Can be stacked.

상기 다수의 타일들 각각은 소정의 바운딩 써클내에서 회전 가능한 물체의 영상이고, 상기 타일 결정모듈은 상기 다수의 타일들 각각을 소정의 각도만큼 회전시키고, 회전된 타일 각각에 대해 상기 대응되는 셀의 색상과 색상 차이가 가장 작은 타일을 결정하는 단계를 구비할 수 있다. Each of the plurality of tiles is an image of an object rotatable within a predetermined bounding circle, and the tile determination module rotates each of the plurality of tiles by a predetermined angle, and the corresponding cell of each of the rotated tiles Determining a tile having the smallest color and color difference.

상기 이미지 처리부는 생성된 모자이크 이미지에 그림자 효과를 적용할 수 있다. The image processor may apply a shadow effect to the generated mosaic image.

본 발명과 본 발명의 동작상의 이점 및 본 발명의 실시에 의하여 달성되는 목적을 충분히 이해하기 해서는 본 발명의 바람직한 실시예를 예시하는 첨부 도면 및 첨부 도면에 기재된 내용을 참조하여야만 한다. DETAILED DESCRIPTION In order to fully understand the present invention, the operational advantages of the present invention, and the objects achieved by the practice of the present invention, reference should be made to the accompanying drawings which illustrate preferred embodiments of the present invention and the contents described in the accompanying drawings.

이하, 첨부한 도면을 참조하여 본 발명의 바람직한 실시예를 설명함으로써, 본 발명을 상세히 설명한다. 각 도면에 제시된 동일한 참조부호는 동일한 부재를 나타낸다. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. Like reference numerals in the drawings denote like elements.

도 1은 본 발명의 실시예에 따른 모자이크 이미지 생성 장치의 기능 블록도이고, 도 2는 본 발명의 실시예에 따른 모자이크 이미지 생성 방법을 나타낸다. 도 1과 도 2를 참조하면, 모자이크 이미지 생성 장치(10)는 이미지 수신 모듈(20), 타일 데이터 베이스(30), 및 모자이크 변환 모듈(40)을 구비한다. 1 is a functional block diagram of a mosaic image generating apparatus according to an embodiment of the present invention, Figure 2 shows a mosaic image generating method according to an embodiment of the present invention. 1 and 2, the mosaic image generating apparatus 10 includes an image receiving module 20, a tile database 30, and a mosaic transform module 40.

여기서 모자이크 이미지 생성 장치(10)는 일반적인 PC, 서버, 또는 컴퓨터 시스템을 의미하며, 하드웨어(H/W) 및/ 또는 소프트웨어(S/W)로 구현될 수 있다. Here, the mosaic image generating apparatus 10 may mean a general PC, a server, or a computer system, and may be implemented by hardware (H / W) and / or software (S / W).

상기 이미지 수신 모듈(20)은 모자이크로 변환될 이미지를 수신하고(S10), 상기 타일 데이터 베이스(30)는 다수의 타일들을 저장한다. The image receiving module 20 receives an image to be converted into a mosaic (S10), and the tile database 30 stores a plurality of tiles.

상기 다수의 타일들 각각은 모자이크 이미지 생성시 사용되는 작은 이미지 혹은 영상이며, 회전 가능한 물체의 영상이 될 수 있다. Each of the plurality of tiles may be a small image or an image used when generating a mosaic image, and may be an image of a rotatable object.

예컨대, 도 3a와 도 3b는 본 발명의 실시예에 따른 모자이크 이미지 생성시 사용되는 회전 가능한 물체의 영상을 나타내는 도면으로써 회전 가능한 물체의 영상은 지갑, 기타, 신용카드, 및 핸드폰(도 3a), 또는 망치(도 3b)등의 이미지가 될 수 있다. For example, FIGS. 3A and 3B are diagrams illustrating images of a rotatable object used when generating a mosaic image according to an embodiment of the present invention. The image of the rotatable object includes a wallet, a guitar, a credit card, a mobile phone (FIG. 3A), Or a hammer (FIG. 3B) or the like.

또한, 도 3b의 망치의 이미지와 같이 본 발명에 의한 타일 영상은 회전 변환 후에도 영상의 손실(Data loss)이 없도록 소정의 바운딩 써클(Truseable Area) 내의 이미지가 될 수도 있다. In addition, as shown in the hammer image of FIG. 3B, the tile image according to the present invention may be an image in a predetermined bounding area so that there is no data loss even after the rotation conversion.

타일 데이터 베이스(30)에 저장되는 각 타일 영상은 회전 가능한 물체의 기본 영상(회전되지 않은 영상)인 것이 바람직하다. 그러나 타일 데이터 베이스(30)에는 상기 타일 영상을 소정의 샘플링 각도로 회전시킨 다양한 타일 영상이 추가로 저장될 수 있다. Each tile image stored in the tile database 30 is preferably a basic image (unrotated image) of the rotatable object. However, the tile database 30 may further store various tile images obtained by rotating the tile image at a predetermined sampling angle.

예컨대, 상기 타일 데이터 베이스(30)에는 도 6에 도시된 바와 같이 제1 타일(기념주화 형태 이미지)와 이를 소정의 각도로 회전시킨 복수의 회전 이미지들이 저장될 수 있다. For example, as illustrated in FIG. 6, the tile database 30 may store a first tile (memorial coin form image) and a plurality of rotated images of rotating the tile at a predetermined angle.

그러나 이 경우 데이터 베이스(30)의 실제 저장 용량이 증가하므로, 실제 데이터 베이스에는 각 타일 영상의 기본 영상(회전되지 않은 영상)만을 저장하고, 타일 매칭시 기본 타일 영상을 소정의 각도로 회전시켜 다양한 회전 타일 영상을 얻어 데이터 베이스가 증가한 것과 같은 효과를 얻을 수 있다. However, in this case, since the actual storage capacity of the database 30 is increased, only the basic image (not rotated image) of each tile image is stored in the actual database, and when the tile is matched, the basic tile image is rotated at a predetermined angle to variously. You can get a rotating tile image and get the same effect as the database is increased.

상기 타일 영상을 소정의 샘플링 각도로 회전시켜 다양한 타일 이미지를 얻는 구체적인 방법은 도 5를 통하여 후술하도록 한다. A detailed method of obtaining various tile images by rotating the tile image at a predetermined sampling angle will be described later with reference to FIG. 5.

상기 모자이크 변환 모듈(40)은 모자이크로 변환된 이미지가 생성될 타일 층의 개수를 결정하고(S20), 상기 이미지 수신 모듈(20)로부터 이미지를 수신하고 수신된 이미지를 다수의 셀들로 분할한다(S30). The mosaic conversion module 40 determines the number of tile layers in which the mosaic-converted image is to be generated (S20), receives the image from the image receiving module 20, and divides the received image into a plurality of cells ( S30).

상기 타일 층의 개수는 사용자에 의해 설정될 수 있고, 미리 설정된 값이 저장될 수도 있다. The number of tile layers may be set by a user, and a preset value may be stored.

상기 셀들 각각은 분할된 이미지의 형태를 나타내는 것으로 정사각형, 다이 아몬드형, 직사각형, 원, 또는 하트 등의 이미지가 될 수 있으며 사용자가 원하는 이미지에 따라 다양하게 변형될 수 있음은 물론이다. Each of the cells represents a shape of a divided image, and may be an image of a square, diamond, rectangle, circle, or heart, and may be variously modified according to a user's desired image.

또한, 상기 모자이크 변환 모듈(40)은 상기 셀들 각각에 대응되는 타일을 결정하고(S40), 상기 결정된 타일을 해당 셀에 대응되도록 매칭시킨다(S50). In addition, the mosaic transformation module 40 determines a tile corresponding to each of the cells (S40), and matches the determined tile to correspond to the corresponding cell (S50).

상기 모자이크 변환 모듈(40)은 타일 결정모듈(42)과 이미지 처리부(44)를 구비한다. 상기 타일 결정모듈(42)은 모자이크로 변환될 이미지를 다수의 셀들로 분할하고, 상기 다수의 타일들로부터 상기 셀들 각각에 대응되는 타일을 결정한다(S30). The mosaic conversion module 40 includes a tile determination module 42 and an image processor 44. The tile determination module 42 divides the image to be converted into a mosaic into a plurality of cells, and determines a tile corresponding to each of the cells from the plurality of tiles (S30).

예컨대, 도 4는 본 발명의 실시예에 따른 타일 매칭을 설명하기 위한 도면으로서, 도 1과 도 4를 참조하면, 상기 이미지 처리부(44)는 모자이크로 변환될 이미지(IM1)를 사각형 이미지의 다수의 셀들로 분할한다. For example, FIG. 4 is a diagram illustrating tile matching according to an exemplary embodiment of the present invention. Referring to FIGS. 1 and 4, the image processor 44 may include a plurality of rectangular images of an image IM1 to be converted into a mosaic. Split into cells of.

상기 타일 결정모듈(42)은 각 셀들에 대하여, 해당 셀(예컨대, C1)과 거리차이(예컨대, 색상 차이 혹은 밝기 차이)가 가장 작은 타일을 결정하고(S40), 상기 이미지 처리부(44)는 결정된 타일을 해당 셀(예컨대, C2)에 대응되도록 매칭(maching)시킴으로써 타일층(MI1)을 생성한다(S50). The tile determination module 42 determines, for each cell, a tile having the smallest distance difference (eg, color difference or brightness difference) from the corresponding cell (eg, C1) (S40), and the image processor 44 The tile layer MI1 is generated by matching the determined tile to correspond to the corresponding cell (eg, C2) (S50).

상기 색상 차이는 타일 영상과 셀 영상을 비교시 타일 영상의 각 화소(픽셀)와 셀 영상의 대응되는 화소(픽셀)간 Gr 차이값, Gb 차이값, 및 Gg 차이값을 누적한 값에 상응할 수 있다. The color difference may correspond to a value obtained by accumulating Gr difference, Gb difference, and Gg difference between each pixel (pixel) of the tile image and the corresponding pixel (pixel) of the cell image when comparing the tile image and the cell image. Can be.

상기 Gr 차이값, Gb 차이값, 및 Gg 차이값 각각은 타일 영상의 각 화소와 셀 영상의 대응되는 화소간 빨강(red) 성분, 파랑(blue) 성분, 및 녹색(green) 성 분의 차이값을 나타낸다. Each of the Gr difference value, the Gb difference value, and the Gg difference value is a difference value between a red component, a blue component, and a green component between each pixel of the tile image and the corresponding pixel of the cell image. Indicates.

이때, 타일 영상의 크기와 셀 영상의 크기가 다를 때는 타일 영상의 크기를 셀 영상의 크기에 대응하도록 확대 또는 축소하여 타일 영상의 크기를 상기 셀 영상의 크기에 대응하도록 확대 또는 축소하여 타일 영상의 각 픽셀과 해당 셀의 각 픽셀을 대응시킨후 대응하는 픽셀 간 색상차이를 구할 수 있다. In this case, when the size of the tile image and the size of the cell image are different, the size of the tile image is enlarged or reduced to correspond to the size of the cell image, and the size of the tile image is enlarged or reduced to correspond to the size of the cell image. After mapping each pixel to each pixel of the corresponding cell, a color difference between the corresponding pixels may be obtained.

예컨대, 상기 색상 차이는 다음의 수학식 1에 의해서 계산될 수 있다. For example, the color difference may be calculated by Equation 1 below.

Figure 112006092516856-pat00001
Figure 112006092516856-pat00001

(단, Gr(i,j), Gg(i,j), 및 Gb(i,j) 각각은 모자이크로 변환될 이미지(IM1)가 i*j로 분할된 셀들 중에서 분할된 셀들 각각의 픽셀의 빨강, 초록, 및 파랑 성분을 의미하고 Tr(i,j), Tg(i,j), 및 Tb(i,j) 는 타일 층에 생성된 (i,j)셀의 빨강, 초록, 및 파랑 성분을 의미한다.)However, each of Gr (i, j), Gg (i, j), and Gb (i, j) is a pixel of each of the divided cells among cells in which the image IM1 to be converted into mosaic is divided by i * j. Red, green, and blue components, and Tr (i, j), Tg (i, j), and Tb (i, j) represent the red, green, and blue of the (i, j) cells created in the tile layer. Means ingredients.)

상기 타일 결정모듈(42)은 타일 데이터 베이스(30)에 저장된 타일을 소정의 샘플링 주기만큼 회전시키면서 회전된 이미지 각각의 색상 차이를 계산하여 상기 색상 차이가 가장 작은 이미지를 결정할 수 있다. The tile determination module 42 may determine the image having the smallest color difference by calculating the color difference of each rotated image while rotating the tile stored in the tile database 30 by a predetermined sampling period.

예컨대, 도 5는 본 발명의 실시예에 따른 타일을 결정하는 방법을 나타내고, 도 6은 본 발명의 실시예에 따른 모자이크 이미지 생성시 사용되는 샘플링된 물체의 영상들로서, 도 1과 도 3 및 도 5과 도 6을 참조하면, 상기 타일 결정모 듈(42)은 타일 데이터 베이스(30)에 저장된 제1 타일(예컨대, 도 6의 기념 주화 형태의 이미지)과 대응되는 셀(C1)과의 색상차이를 계산한다(S401). For example, FIG. 5 illustrates a method of determining a tile according to an embodiment of the present invention, and FIG. 6 is images of a sampled object used in generating a mosaic image according to an embodiment of the present invention. 5 and 6, the tile determination module 42 has a color of the cell C1 corresponding to the first tile (eg, the image of the commemorative coin of FIG. 6) stored in the tile database 30. The difference is calculated (S401).

상기 타일 결정모듈(42)은 상기 제1 타일을 소정의 샘플링 각도(예컨대, N도(N은 자연수, 30)) 만큼씩 회전시키면서, 상기 샘플링 각도 각각에 대한 색상차이를 계산한다(S403). The tile determination module 42 calculates a color difference for each of the sampling angles while rotating the first tile by a predetermined sampling angle (for example, N degrees (N is a natural number, 30)) (S403).

상기 타일 결정모듈(42)은 상기 색상차이에 기초하여, 상기 회전된 제1 타일 들중에서 색상차이가 가장 적은 타일을 결정한다(S405). The tile determination module 42 determines a tile having the smallest color difference among the rotated first tiles based on the color difference (S405).

즉, 본 발명에 의하면 상기 타일 결정모듈(42)이 타일 영상을 소정의 샘플링 주기로 회전시켜 회전된 이미지들 각각의 색상 차이에 기초하여 상기 색상 차이가 가장 적은 이미지를 결정함으로써, 타일 데이터 베이스가 증가한 것과 같은 효과를 얻을 수 있다. That is, according to the present invention, the tile determination module 42 rotates a tile image at a predetermined sampling period to determine an image having the smallest color difference based on the color difference of each rotated image, thereby increasing the tile database. The same effect can be obtained.

또한, 원본 이미지가 흑백(gray-scale) 이미지인 경우 타일 영상과 각 셀간의 색상 차이가 아니라 밝기 혹은 그레이 레벨의 차이를 구함으로써 해당 셀과의 거리차이가 작은 타일 영상을 결정할 수 있다. In addition, when the original image is a gray-scale image, a tile image having a small distance difference from the corresponding cell may be determined by obtaining a difference in brightness or gray level, not a color difference between the tile image and each cell.

상기 이미지 처리부(44)는 생성된 모자이크 이미지에 그림자 효과를 적용할 수도 있다(S60). 상기 그림자 효과 적용 단계(S60)는 생성된 모자이크 이미지에 입체감이나 무게감을 주기 위한 단계로써, 모자이크 이미지를 구성하는 타일의 에지(edge) 부분의 색상을 진하게 처리하거나, 인접된 타일 사이의 여백에 명암을 줌으로써 보다 실감나는 모자이크 영상을 생성할 수 있는 효과가 있다. The image processor 44 may apply a shadow effect to the generated mosaic image (S60). The shadow effect applying step (S60) is a step for giving a three-dimensional feeling or weight to the generated mosaic image, to process the color of the edge (edge) of the tiles constituting the mosaic image, or to contrast in the margin between adjacent tiles By providing a more realistic mosaic image can be generated.

예컨대, 도 7a와 도 7b는 본 발명의 실시예에 따른 그림자 효과를 설명하기 위한 도면으로써, 도 7a는 모자이크 영상에 그림자 효과를 적용하기 전의 그림이고,  도 7b는 모자이크 영상에 그림자 효과를 적용한 후의 그림으로서, 도 7b의 모자이크 영상은 도 7a의 모자이크 영상보다 입체감과 사실감이 더 큼을 알 수 있다. For example, FIGS. 7A and 7B are diagrams for describing a shadow effect according to an exemplary embodiment of the present invention. FIG. 7A is a diagram before applying a shadow effect to a mosaic image, and FIG. 7B is a diagram after applying a shadow effect to a mosaic image. As a figure, it can be seen that the mosaic image of FIG. 7B has a greater stereoscopic and realistic feeling than the mosaic image of FIG. 7A.

상기 이미지 처리부(44)는 상기 타일 결정모듈(42)에 의해서 결정된 타일을 적어도 두 개의 타일 층에 쌓아 모자이크 이미지를 생성한다. The image processor 44 generates a mosaic image by stacking tiles determined by the tile determination module 42 on at least two tile layers.

예컨대, 상기 이미지 처리부(44)는 현재 타일 층의 수가 지정한 타일 층의 수보다 작은지 판단하고(S70), 현재 타일 층의 수가 지정한 타일 층의 수보다 크거나 같은 경우 모자이크 이미지 생성은 종료된다. For example, the image processor 44 determines whether the number of the current tile layers is smaller than the number of the designated tile layers (S70). When the number of the current tile layers is greater than or equal to the number of the designated tile layers, the mosaic image generation is terminated.

그러나 현재 타일 층의 수가 지정한 타일 층의 수보다 작은 경우, 상기 이미지 처리부(44)는 분할된 원본 이미지(즉, 분할된 셀)를 소정의 각도로 회전시키고(S80), 회전된 셀들 각각에 대하여 다시 'S40'단계부터 모자이크 이미지 생성 방법을 진행한다. However, if the number of current tile layers is smaller than the number of tile layers specified, the image processor 44 rotates the divided original image (that is, the divided cells) at a predetermined angle (S80), for each of the rotated cells. In step S40, the mosaic image generating method is performed.

본 발명의 일 실시예에서는 회전된 셀들에 대하여 대응하는 타일들을 결정하여 제2 타일층을 생성할 수 있다. In an embodiment of the present invention, the second tile layer may be generated by determining corresponding tiles for the rotated cells.

도 8a 내지 도 8c는 다층의 모자이크 영상을 생성하는 방법을 설명하기 위한 도면이다. 도 1과 도 8a 내지 도 8c를 참조하면, 이미지 처리부(44)는 분할된 원본 이미지와 동일한 셀 갯수를 갖는 제1 타일 층(도 7a)을 생성하고, 상기 제1 타일층과 제1 각도 차이를 가지는 제2 타일층을 상기 제1 타일층에 쌓을 수 있다(도 7b). 8A to 8C are diagrams for describing a method of generating a multilayer mosaic image. 1 and 8A to 8C, the image processor 44 generates a first tile layer (FIG. 7A) having the same number of cells as the divided original image, and differs from the first tile layer by a first angle. A second tile layer having a can be stacked on the first tile layer (Fig. 7b).

또한, 이미지 처리부(44)는 상기 제2 타일층과 제2 각도 차이를 가지는 제3 타일층을 제1 타일층에 쌓여진 제2 타일층에 쌓을 수 있다(도 7c). In addition, the image processor 44 may stack a third tile layer having a second angle difference from the second tile layer on the second tile layer stacked on the first tile layer (FIG. 7C).

따라서, 본 발명에 의하면 상기 이미지 처리부(44)가 모자이크 타일층을 여러층으로 겹쳐짐으로써, 인접하는 타일 간에 생길 수 있는 빈 공간을 채울 수 있고, 보다 원본에 가까운 모자이크 이미지를 생성할 수 있다. Therefore, according to the present invention, the image processing unit 44 overlaps the mosaic tile layer in multiple layers, thereby filling empty spaces that may occur between adjacent tiles, and may generate a mosaic image closer to the original.

도 9는 본 발명의 실시 예에 따른 생성된 모자이크 이미지를 나타낸다. 도 9를 참조하면, 교복을 입은 소녀의 영상이 다수의 타일들로 구성된 모자이크 영상으로 처리되어 보다 사실적이고, 입체감 있는 영상으로 변환되었음을 알 수 있다. 9 illustrates a generated mosaic image according to an embodiment of the present invention. Referring to FIG. 9, it can be seen that an image of a girl wearing a uniform has been processed into a mosaic image composed of a plurality of tiles and thus converted into a more realistic and three-dimensional image.

본 발명은 또한 컴퓨터로 읽을 수 있는 기록매체에 컴퓨터가 읽을 수 있는 코드로서 구현하는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록장치를 포함한다.  컴퓨터가 읽을 수 있는 기록매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피디스크, 광데이터 저장장치 등이 있으며, 또한 캐리어 웨이브(예를 들어 인터넷을 통한 전송)의 형태로 구현되는 것도 포함한다. 또한 컴퓨터가 읽을 수 있는 기록매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어, 분산방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다. 그리고 본 발명을 구현하기 위한 기능적인(functional) 프로그램, 코드 및 코드 세그먼트들은 본 발명이 속하는 기술분야의 프로그래머들에 의해 용이하게 추론될 수 있다. The invention can also be embodied as computer readable code on a computer readable recording medium. The computer-readable recording medium includes all kinds of recording devices in which data that can be read by a computer system is stored. Examples of computer-readable recording media include ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage, and the like, and may also be implemented in the form of a carrier wave (for example, transmission over the Internet). Include. The computer readable recording medium can also be distributed over network coupled computer systems so that the computer readable code is stored and executed in a distributed fashion. And functional programs, codes and code segments for implementing the present invention can be easily inferred by programmers in the art to which the present invention belongs.

상술한 바와 같이 본 발명에 따른 모자이크 이미지 생성 방법 및 모자이크 이미지 생성 장치는 회전 가능한 물체의 영상을 이용하여 모자이크 이미지를 생성 함으로써, 타일 데이터베이스의 용량을 줄일 수 있고 모자이크 이미지 생성 시간도 줄어들 수 있다. As described above, the mosaic image generating method and the mosaic image generating apparatus according to the present invention can generate a mosaic image using an image of a rotatable object, thereby reducing the capacity of the tile database and reducing the mosaic image generation time.

또한, 본 발명에 따른 모자이크 이미지 생성 방법 및 모자이크 이미지 생성 장치는 다층의 모자이크 이미지를 생성함으로써 인접하는 타일간 빈 공간이 채워져서 원본 이미지에 가까운 모자이크 이미지를 생성할 수 있는 효과가 있다. In addition, the mosaic image generating method and the mosaic image generating apparatus according to the present invention have an effect of generating a mosaic image close to the original image by filling the empty space between adjacent tiles by generating a multilayer mosaic image.

Claims (15)

모자이크로 변환될 이미지를 수신하는 단계; 및 Receiving an image to be converted into a mosaic; And 수신된 상기 이미지를 다수의 셀들로 분할하는 단계; Dividing the received image into a plurality of cells; 타일 데이터 베이스에 저장된 다수의 타일들로부터 상기 셀들 각각에 대응되는 타일을 결정하는 단계; Determining a tile corresponding to each of the cells from a plurality of tiles stored in a tile database; 상기 결정된 타일 각각을 대응되는 셀에 배치하여 제1 타일층을 생성하는 단계; 및 Creating a first tile layer by placing each of the determined tiles in a corresponding cell; And 상기 제1 타일층과 제1 각도 차이를 가지는 제2 타일층을 상기 제1 타일층에 쌓는 단계를 구비하는 모자이크 이미지 생성 방법. Stacking a second tile layer having a first angle difference from the first tile layer on the first tile layer. 제1항에 있어서, 상기 제2 타일층을 상기 제1 타일층에 쌓는 단계는, The method of claim 1, wherein the stacking of the second tile layer on the first tile layer comprises: 상기 다수의 셀들을 상기 제1 각도만큼 회전하는 단계; Rotating the plurality of cells by the first angle; 상기 타일 데이터 베이스에 저장된 다수의 타일들로부터 상기 회전된 셀들 각각에 대응되는 타일을 결정하는 단계; 및 Determining a tile corresponding to each of the rotated cells from a plurality of tiles stored in the tile database; And 상기 결정된 타일 각각을 대응하는 회전된 셀에 배치하여 제2 타일층을 생성하는 단계를 구비하는 모자이크 이미지 생성 방법. Placing each of the determined tiles in a corresponding rotated cell to generate a second tile layer. 제2항에 있어서, 상기 모자이크 이미지 생성 방법은, The method of claim 2, wherein the mosaic image generating method comprises: 상기 제2 타일층과 제2 각도 차이를 가지는 제3 타일층을 상기 제2 타일층 에 쌓는 단계를 더 구비하는 모자이크 이미지 생성 방법. And stacking a third tile layer having a second angle difference from the second tile layer on the second tile layer. 제1항에 있어서, 상기 타일을 결정하는 단계는, The method of claim 1, wherein determining the tile comprises: 각 셀에 대하여, 해당 셀과 색상 차이가 가장 작은 타일을 찾는 단계를 구비하며, For each cell, finding the tile with the smallest color difference from that cell; 상기 색상 차이는 타일 영상의 각 픽셀을 해당 셀의 각 픽셀과 대응시킬 때, 대응되는 각 픽셀간 Gr 차이값, Gb 차이값, 및 Gg 차이값을 누적한 값에 상응하는 모자이크 이미지 생성 방법. The color difference corresponds to a value obtained by accumulating Gr difference values, Gb difference values, and Gg difference values between corresponding pixels when each pixel of a tile image corresponds to each pixel of a corresponding cell. 제1항에 있어서, 상기 다수의 타일들 각각은, The method of claim 1, wherein each of the plurality of tiles, 소정의 바운딩 써클내에서 회전 가능한 물체의 영상이고, Is an image of a rotatable object within a given bounding circle, 상기 타일을 결정하는 단계는, Determining the tile, 상기 다수의 타일들 각각을 소정의 각도만큼 회전시키고, 회전된 타일 각각에 대해 상기 대응되는 셀의 색상과 색상 차이가 가장 작은 타일을 결정하는 단계를 구비하는 모자이크 이미지 생성 방법. Rotating each of the plurality of tiles by a predetermined angle and determining a tile having the smallest color and color difference of the corresponding cell for each rotated tile. 제1항에 있어서, 상기 모자이크 이미지 생성 방법은, The method of claim 1, wherein the mosaic image generating method comprises: 생성된 모자이크 이미지에 그림자 효과를 적용하는 단계를 더 구비하는 모자이크 이미지 생성 방법. The method of claim 1, further comprising applying a shadow effect to the generated mosaic image. 모자이크로 변환될 이미지를 수신하는 단계; Receiving an image to be converted into a mosaic; 수신된 상기 이미지를 다수의 셀들로 분할하는 단계; 및 Dividing the received image into a plurality of cells; And 타일 데이터베이스에 저장된 다수의 타일들로부터 상기 셀들 각각에 대응되는 타일을 결정하는 단계를 구비하며, Determining a tile corresponding to each of the cells from a plurality of tiles stored in a tile database, 상기 셀들 각각에 대응하는 타일을 결정하는 단계는, Determining a tile corresponding to each of the cells, 상기 다수의 타일들 각각을 소정의 각도만큼 회전시켜 회전된 타일들을 구하는 단계; 및 Rotating each of the plurality of tiles by a predetermined angle to obtain rotated tiles; And 상기 회전된 타일들을 해당 셀과 각각 비교하여, 해당 셀과의 차이가 가장 작은 타일을 결정하는 단계를 구비하는 모자이크 이미지 생성 방법. Comparing the rotated tiles with the corresponding cells, and determining a tile having the smallest difference from the corresponding cells. 제7항에 있어서, 상기 해당 셀과의 차이가 가장 작은 타일은 The tile of claim 7, wherein the tile having the smallest difference from the corresponding cell is 타일 영상의 각 픽셀을 해당 셀의 각 픽셀과 대응시킬 때, 대응되는 각 픽셀간 Gr 차이값, Gb 차이값, 및 Gg 차이값을 누적한 값이 가장 작은 타일인 모자이크 이미지 생성 방법. A method of generating a mosaic image in which each pixel of a tile image corresponds to each pixel of a corresponding cell, wherein the accumulated Gr difference value, Gb difference value, and Gg difference value between each corresponding pixel are the smallest tiles. 제1항 내지 제8항 중의 어느 하나의 항에 기재된 방법을 수행하기 위한 프로그램을 기록한 기록매체. A recording medium having recorded thereon a program for carrying out the method according to any one of claims 1 to 8. 모자이크로 변환될 이미지를 수신하는 이미지 수신 모듈; An image receiving module for receiving an image to be converted into a mosaic; 다수의 타일들을 저장하는 타일 데이터베이스; 및 A tile database for storing a plurality of tiles; And 상기 이미지 수신 모듈로부터 이미지를 수신하고 수신된 이미지를 다수의 셀들로 분할하고, 상기 셀들 각각에 대응되는 타일을 적어도 두 개의 타일 층들 각각에 쌓아 모자이크 이미지를 생성하는 모자이크 변환 모듈을 구비하는 모자이크 이미지 생성 장치. Mosaic image generation comprising a mosaic conversion module for receiving an image from the image receiving module and partitions the received image into a plurality of cells, and generates a mosaic image by stacking tiles corresponding to each of the cells on at least two tile layers, respectively. Device. 제10항에 있어서, 상기 모자이크 변환 모듈은, The method of claim 10, wherein the mosaic conversion module, 상기 모자이크로 변환될 이미지를 다수의 셀들로 분할하고, 상기 다수의 타일들로부터 상기 셀들 각각에 대응되는 타일을 결정하는 타일 결정모듈; 및 A tile determination module for dividing an image to be converted into a mosaic into a plurality of cells and determining a tile corresponding to each of the cells from the plurality of tiles; And 상기 타일 결정모듈에 의해서 결정된 타일을 적어도 두 개의 타일 층에 쌓아 모자이크 이미지를 생성하는 이미지 처리부를 구비하는 모자이크 이미지 생성 장치. And an image processor configured to generate a mosaic image by stacking tiles determined by the tile determination module on at least two tile layers. 제11항에 있어서, 상기 타일 결정모듈은, The method of claim 11, wherein the tile determination module, 각 셀들에 대하여, 해당 셀과 색상 차이가 가장 작은 타일을 찾으며, 상기 색상 차이는 타일 영상의 각 픽셀을 해당 셀의 각 픽셀과 대응시킬 때, 대응되는 각 픽셀간 Gr 차이값, Gb 차이값, 및 Gg 차이값을 누적한 값에 상응하는 모자이크 이미지 생성 장치. For each cell, the tile having the smallest color difference from the corresponding cell is found. The color difference corresponds to the difference between Gr, Gb, And a mosaic image generating device corresponding to a value obtained by accumulating Gg difference values. 제11항에 있어서, 상기 이미지 처리부는, The method of claim 11, wherein the image processing unit, 상기 타일 결정모듈에 의해서 결정된 타일 각각을 대응되는 셀에 배치하여 제1 타일층을 생성하고 상기 제1 타일층과 제1 각도 차이를 가지는 제2 타일층을 상기 제1 타일층에 쌓는 모자이크 이미지 생성 장치. Generating a mosaic image by arranging each tile determined by the tile determination module in a corresponding cell to generate a first tile layer and stacking a second tile layer having a first angle difference with the first tile layer on the first tile layer. Device. 제11항에 있어서, 상기 다수의 타일들 각각은, The method of claim 11, wherein each of the plurality of tiles, 소정의 바운딩 써클내에서 회전 가능한 물체의 영상이고, Is an image of a rotatable object within a given bounding circle, 상기 타일 결정모듈은 상기 다수의 타일들 각각을 소정의 각도만큼 회전시키고, 회전된 타일 각각에 대해 상기 대응되는 셀의 색상과 색상 차이가 가장 작은 타일을 결정하는 단계를 구비하는 모자이크 이미지 생성 장치. And the tile determining module rotates each of the plurality of tiles by a predetermined angle and determines a tile having the smallest color and color difference of the corresponding cell for each rotated tile. 제11항에 있어서, 상기 이미지 처리부는, The method of claim 11, wherein the image processing unit, 생성된 모자이크 이미지에 그림자 효과를 적용하는 모자이크 이미지 생성 장치. Mosaic image generating device that applies a shadow effect to the generated mosaic image.
KR1020060127518A 2006-12-14 2006-12-14 Mosaic image creation method and device for the same KR100844829B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060127518A KR100844829B1 (en) 2006-12-14 2006-12-14 Mosaic image creation method and device for the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060127518A KR100844829B1 (en) 2006-12-14 2006-12-14 Mosaic image creation method and device for the same

Publications (2)

Publication Number Publication Date
KR20080054880A KR20080054880A (en) 2008-06-19
KR100844829B1 true KR100844829B1 (en) 2008-07-08

Family

ID=39801772

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060127518A KR100844829B1 (en) 2006-12-14 2006-12-14 Mosaic image creation method and device for the same

Country Status (1)

Country Link
KR (1) KR100844829B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101021173B1 (en) * 2009-07-23 2011-03-15 중앙대학교 산학협력단 Apparatus and method for creating mosaic image based on amdamento
KR101264358B1 (en) * 2011-11-02 2013-05-14 금오공과대학교 산학협력단 Method and System for Automated Photomosaic Image Generation

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11345329A (en) 1998-05-29 1999-12-14 Canon Inc Picture processor and picture processing method
JPH11345309A (en) 1998-05-29 1999-12-14 Canon Inc Picture processor and picture processing method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11345329A (en) 1998-05-29 1999-12-14 Canon Inc Picture processor and picture processing method
JPH11345309A (en) 1998-05-29 1999-12-14 Canon Inc Picture processor and picture processing method

Also Published As

Publication number Publication date
KR20080054880A (en) 2008-06-19

Similar Documents

Publication Publication Date Title
US9396530B2 (en) Low memory content aware image modification
EP1227442B1 (en) 2D image processing applied to 3D objects
US8633939B2 (en) System and method for painting 3D models with 2D painting tools
US20070262988A1 (en) Method and apparatus for using voxel mip maps and brick maps as geometric primitives in image rendering process
CN110555795A (en) High resolution style migration
US7629972B2 (en) Image-based protruded displacement mapping method and bi-layered displacement mapping method using the same
KR100971498B1 (en) Method and apparatus for 2d image transformation with various artistic effect
US7088870B2 (en) Image region filling by example-based tiling
US8712147B2 (en) Fractal method for detecting and filling data gaps within LiDAR data
US9305329B2 (en) Low memory content aware fill
US8508550B1 (en) Selective rendering of objects
US20090309877A1 (en) Soft shadow rendering
EP2523121A1 (en) Method and device for processing spatial data
JP2014071850A (en) Image processing apparatus, terminal device, image processing method, and program
US7271811B2 (en) View dependent tiled textures
EP1746542A1 (en) System and method for managing digital image layers
GB2558027A (en) Quadrangulated layered depth images
KR100844829B1 (en) Mosaic image creation method and device for the same
CN112232315B (en) Text box detection method and device, electronic equipment and computer storage medium
WO2008021839A1 (en) Interpolation according to a function represented using unevenly spaced samples of the function
KR102065632B1 (en) Device and method for acquiring 360 VR images in a game using a plurality of virtual cameras
US7136077B2 (en) System, method, and article of manufacture for shading computer graphics
CN115035231A (en) Shadow baking method, shadow baking device, electronic apparatus, and storage medium
US8436860B1 (en) Techniques for using depth maps
CN107093199A (en) Method and device for generating clue figure

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

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20140701

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20151028

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20160629

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20170801

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee