KR101638498B1 - Method and device for readjusting image, and non-temporary computer-readable medium storing instructions for executing the same method - Google Patents

Method and device for readjusting image, and non-temporary computer-readable medium storing instructions for executing the same method Download PDF

Info

Publication number
KR101638498B1
KR101638498B1 KR1020140147659A KR20140147659A KR101638498B1 KR 101638498 B1 KR101638498 B1 KR 101638498B1 KR 1020140147659 A KR1020140147659 A KR 1020140147659A KR 20140147659 A KR20140147659 A KR 20140147659A KR 101638498 B1 KR101638498 B1 KR 101638498B1
Authority
KR
South Korea
Prior art keywords
image
variable
partial
reference image
display
Prior art date
Application number
KR1020140147659A
Other languages
Korean (ko)
Other versions
KR20160049887A (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 KR1020140147659A priority Critical patent/KR101638498B1/en
Publication of KR20160049887A publication Critical patent/KR20160049887A/en
Application granted granted Critical
Publication of KR101638498B1 publication Critical patent/KR101638498B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/18Image warping, e.g. rearranging pixels individually
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • 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/20112Image segmentation details
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20212Image combination

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Image Processing (AREA)

Abstract

본 발명은, 얼굴이 포함된 사람의 형상이 피사체인 이미지를 신장하거나 축소하는 재편집 과정에 있어서, 이미지를 복수개의 부분 영역 으로 분할하여 일부를 신장 또는 수축시킴과 동시에 특정 부분에서 발생할 수 있는 왜곡현상을 보정해 주어 보다 자연스러운 결과물을 생성하는 이미지 재조정 방법과 장치 및 상기 방법을 실행하기 위한 프로그램을 기록한 비일시적 기계 판독가능 저장 매체에 관한 것이다.The present invention relates to a method and an apparatus for dividing an image into a plurality of partial regions so as to stretch or contract a part of the image, The present invention relates to an image re-adjustment method and apparatus for correcting a phenomenon to produce a more natural result, and a non-transitory machine-readable storage medium recording a program for executing the method.

Description

이미지 재조정 방법, 이미지 재조정 장치, 및 상기 방법을 실행시키기 위한 명령어들을 기록한 비일시적 기계 판독가능 저장 매체{Method and device for readjusting image, and non-temporary computer-readable medium storing instructions for executing the same method}BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image re-arrangement method, an image re-arrangement apparatus, and a non-transitory machine-readable storage medium storing instructions for executing the method,

본 발명은 이미지를 복수개의 부분 영역으로 분할하여 일부를 신장 또는 수축시켜 자연스럽게 재조정할 수 있는 방법, 장치 및 상기 방법을 실행하기 위한 명령어들을 기록한 비일시적 기계 판독가능 저장 매체에 관한 것이다.The present invention relates to a non-transitory machine-readable storage medium having recorded thereon a method, an apparatus and an instruction for executing the method, wherein an image can be divided into a plurality of subregions so that a part can be stretched or contracted and readjusted naturally.

보다 구체적으로, 본 발명은 얼굴이 포함된 사람의 형상이 피사체인 이미지를 복수개의 부분 영역으로 분할하여 일부를 신장 또는 수축시키고, 특정 부분에서 발생할 수 있는 왜곡현상을 보정해 주어 보다 자연스러운 결과물을 생성하는 이미지 재조정 방법과 장치 및 상기 방법을 실행하기 위한 프로그램을 기록한 비일시적 기계 판독가능 저장 매체에 관한 것이다.More specifically, the present invention divides an image of a person whose face includes a subject into a plurality of partial regions to stretch or contract a part, correct distortion that may occur in a specific portion, and produce a more natural result To a non-transitory machine-readable storage medium having recorded thereon a program for carrying out the method.

기존의 이미지는 그림이나 사진과 같은 아날로그 형식의 이미지가 보편적이었으나, 컴퓨터, 태블릿PC, 스마트폰과 같은 디지털 장치의 보급과 발전으로 디지털 장치에서 창조, 편집이 가능하고 출력이 가능한 디지털 이미지가 보편적인 것이 되었다.Conventional images are analogue images such as pictures and photographs. However, digital images such as computers, tablet PCs, and smartphones have been popularized and developed, and digital images that can be created, edited, .

디지털 이미지는 디지털 장치에서 창조가 수월하므로 이미지를 창조하는데 드는 비용 및 시간을 더 단축할 수 있으며, 출력 또한 디지털 장치에서 가능하므로 생성된 디지털 이미지의 보급 또한 용이하다. 또한, 창조된 디지털 이미지를 디지털 전자장치에서 재편집하여 새로운 디지털 이미지를 얻기가 수월하다는 점에서 경제적인 기여도 상당하다.Digital images are easier to create in digital devices, which can further reduce the cost and time required to create images, and output can also be done in digital devices, making it easier to distribute the generated digital images. It is also economically significant in that it is easy to re-edit the created digital image in a digital electronic device to obtain a new digital image.

이러한 디지털 이미지의 재편집은 디지털 '일러스트레이터' 나 '포토샵'과 같은 전문적인 프로그램을 통해서 편집이 가능하다. 이러한 전문적인 프로그램은 뛰어난 결과물을 생성할 수 있으므로 이미지를 취급하는 디자인분야나 사진분야 등에서 널리 이용되고 있다.Such re-editing of digital images can be done through professional programs such as Digital 'Illustrator' or 'Photoshop'. These specialized programs can produce outstanding results and are therefore widely used in design and image photography.

하지만 디지털 이미지의 재편집을 위한 전문적인 프로그램은 전문적인 지식이 필요하므로 사용하기 위해선 많은 훈련이 필요하여 모든 사람들이 보편적으로 사용하지 못한다는 문제점이 있다.However, professional programs for re-editing of digital images require professional knowledge, which means that a lot of training is needed to use them, which means that not everyone can use them universally.

이와 같은 문제점으로 인해 스마트폰의 어플리케이션 시장에서 디지털 이미지를 쉽게 편집할 수 있는 어플리케이션이 많이 출시되고 있으며, 기존에 출시된 이미지를 편집할 수 있는 어플리케이션은 전문지식이 없어도 쉽게 이미지를 편집할 수 있다는 장점이 있다.Due to these problems, many applications are available for easy editing of digital images in the smartphone application market. Applications that can edit existing images can easily edit images without expert knowledge .

하지만, 편집하는 디지털 이미지의 피사체가 얼굴이 포함된 사람의 형상일 경우, 디지털 이미지를 가로방향으로 신장하거나 수축할 때 디지털 이미지에 표시된 사람의 형상이 더 날씬해지거나 더 뚱뚱하게 표시되면서 사람의 얼굴 부분이 사람의 몸의 신장 또는 수축된 비율과 동일하게 신장 또는 수축됨으로써 기존의 일반적인 사람의 얼굴 형상이 아닌 부자연스럽게 좌우로 신장되거나 수축된 얼굴을 지닌 사람의 형상을 표시하게 된다는 문제점이 있다.However, when the subject of the digital image to be edited is a person with a face, when the digital image is stretched or shrunk in the lateral direction, the shape of the person displayed in the digital image becomes thinner or more obscured, There is a problem that the shape of a person having a face that is elongated or contracted unnaturally left and right is displayed instead of a conventional face shape of a general person by being stretched or contracted in the same manner as the elongation or contraction ratio of the body of the person.

본 발명의 주된 목적은 얼굴이 포함된 사람의 형상이 피사체인 디지털 이미지를 가로방향으로 신장하거나 수축하는 재편집 과정에 있어서, 보다 자연스러운 결과물의 생성 및 결과물의 파손을 방지할 수 있는 이미지 재조정 방법과 장치 및 상기 방법을 실행하기 위한 명령어들을 기록한 비일시적 기계 판독가능 저장 매체를 제공하는 것이다.The main object of the present invention is to provide an image re-adjustment method capable of preventing generation of a more natural result and destruction of an object in a re-editing process of expanding or contracting a digital image in which a shape of a person including a face is a subject, And a non-transitory machine-readable storage medium having recorded thereon instructions for executing the method.

또한, 디지털 이미지를 신장하거나 수축하는 재편집 과정에 있어서, 전문적인 지식 없이도 쉽고 간편하게 이미지를 재편집할 수 있는 이미지 재조정 방법과 장치 및 상기 방법을 실행하기 위한 프로그램을 기록한 비일시적 기계 판독가능 저장 매체를 제공하는 것을 그 과제로 한다.In addition, it is an object of the present invention to provide an image re-adjustment method and apparatus capable of re-editing an image easily and easily without relying on expert knowledge in a re-editing process of expanding or contracting a digital image and a non-transitory machine readable storage medium To be provided.

상기한 목적을 달성하기 위하여, 본 발명은, 전자장치의 디스플레이상에 표시된 얼굴이 포함된 사람 이미지를 재조정하는 방법에 있어서, 원본 이미지를 로딩하는 로딩단계, 상기 원본 이미지를 비트맵 형식의 제 1변환 이미지로 변환하고, 상기 제 1변환 이미지를 상기 전자장치의 메모리에 저장하며 상기 전자장치의 디스플레이에 출력하는 이미지 변환단계, 상기 디스플레이상에 복수개의 기준선과 상기 사람 이미지 중 일부분을 포함하는 기준영역을 표시하며, 상기 복수개의 기준선 중 인접한 두 개의 기준선 사이에 상기 사람 이미지가 표시되고, 상기 기준영역이 상기 사람 이미지 중 얼굴 부분을 포함하는 경우, 상기 기준영역을 포함하는 기준 이미지를 생성하고, 상기 제 1변환 이미지를 상기 복수개의 기준선을 기준으로 분할하여 상기 기준영역을 포함하는 제 1부분 이미지 및 상기 기준영역을 포함하지 않는 복수개의 제 2부분 이미지를 생성하고, 상기 기준이미지, 상기 제 1부분 이미지 및 상기 복수개의 제 2부분 이미지로 구성된 제 1부분 이미지 그룹을 상기 메모리에 저장하는 이미지 분할단계, 상기 제 1부분 이미지 및 상기 기준 이미지를 가로방향으로 소정의 비율만큼 수축 또는 신장하여 가변 부분 이미지 및 가변 기준 이미지를 생성하며, 상기 가변 부분 이미지, 상기 가변 기준 이미지 및 상기 복수개의 제 2부분 이미지로 구성된 제 2부분 이미지 그룹을 상기 디스플레이에 출력하는 이미지 가변단계, 상기 제 2부분 이미지 그룹을 결합하여 하나의 가변 이미지를 생성하고, 상기 가변 이미지를 상기 메모리에 저장하고 상기 디스플레이에 출력하는 이미지 변환단계를 포함하며, 상기 이미지 가변단계에서, 상기 기준 이미지를 수축 또는 신장하여 상기 가변 기준 이미지를 생성하기 전에, 상기 기준 이미지가 수축 또는 신장 되어 가변되는 것과 반대로 신장 또는 수축되는 변형을 하여, 상기 기준이미지를 변형할 수 있다.According to an aspect of the present invention, there is provided a method of re-adjusting a human image including a face displayed on a display of an electronic device, the method comprising: a loading step of loading an original image; Transforming the first transformed image into a transformed image, storing the first transformed image in a memory of the electronic device and outputting the transformed image to a display of the electronic device, a reference area including a plurality of baselines and a portion of the human image on the display, Generating a reference image including the reference region when the reference region includes a face portion of the human image; and displaying the reference image including the reference region, The first transformed image is divided by the plurality of reference lines, And a plurality of second partial images that do not include the reference region and generate a first partial image group composed of the reference image, the first partial image, and the plurality of second partial images, Wherein the first partial image and the reference image are generated by contracting or stretching the first partial image and the reference image in a horizontal direction by a predetermined ratio to generate a variable partial image and a variable reference image, And outputting a second partial image group composed of the plurality of second partial images to the display, combining the second partial image groups to generate one variable image, storing the variable image in the memory And outputting the image to the display, In the unknown variable step, the reference image may be deformed by stretching or contracting deformation as opposed to contraction or extension before the reference image is deformed, before contraction or extension of the reference image to produce the variable reference image .

또한, 상기 이미지 분할단계는, 구성되는 각각의 변이 상기 기준영역을 구성하는 적어도 하나 이상의 점과 접촉하며 상기 기준영역을 내측에 포함하는 사각형 형태의 기준구역을 분할하여, 상기 기준 이미지를 생성할 수 있다.The image segmentation step may divide the rectangular reference area into at least one or more points constituting the reference area, each of the sides including the reference area, and generate the reference image have.

그리고, 상기 이미지 가변단계는, 상기 제 1부분 이미지가 가로방향으로 소정의 비율만큼 수축되어 상기 가변 부분 이미지를 생성할 경우, 상기 기준 이미지가 수축되기 전에, 상기 기준 이미지를 신장 변형하여 신장 기준 이미지를 생성하는 워핑단계를 더 포함하며, 상기 신장 기준 이미지, 상기 제 1부분 이미지 및 상기 복수개의 제 2부분 이미지는 상기 제 1부분 이미지 그룹을 구성할 수 있다.The image modifying step includes the steps of, when the first partial image is contracted by a predetermined ratio in the horizontal direction to generate the variable partial image, before the reference image is contracted, And the warped reference image, the first partial image, and the plurality of second partial images may constitute the first partial image group.

여기서, 상기 워핑단계는, 상기 기준 이미지상에 가상의 격자구조를 형성시키며, 상기 기준 이미지에서 상기 격자구조를 구성하는 복수개의 격자점에 대응되는 상기 기준 이미지의 픽셀들을 상기 기준 이미지가 수축 또는 신장되는 방향과 수직한 방향으로 상기 기준 이미지의 중심점과 가까워지게 이동시키고, 상기 기준 이미지가 신장되는 방향과 동일한 상방향으로 상기 기준 이미지의 중심점과 멀어지게 이동시켜서, 상기 기준 이미지를 신장 변형하여 상기 신장 기준 이미지를 생성할 수 있으며, 상기 픽셀들 각각의 이동 거리는 상기 중심점과 상기 픽셀들 각각의 이격 거리에 따라 상이하며, 상기 이격 거리가 더 클수록 상기 이동 거리가 커질 수 있다.The warping step may include forming a virtual lattice structure on the reference image and replacing pixels of the reference image corresponding to a plurality of lattice points constituting the lattice structure in the reference image with contraction or extension The reference image is moved in the direction perpendicular to the reference image so as to be closer to the center point of the reference image and moved away from the center point of the reference image in the same upward direction as the extending direction of the reference image, And the moving distance of each of the pixels is different according to the distance between the center point and each of the pixels. The larger the distance, the larger the moving distance.

이 경우, 상기 이미지 가변단계는, 상기 제 1부분 이미지가 가로방향으로 소정의 비율만큼 신장되어 상기 가변 부분 이미지를 생성할 경우, 상기 기준 이미지가 신장되기 전에, 상기 기준 이미지를 수축 변형하여 수축 기준 이미지를 생성하는 워핑단계를 더 포함하며, 상기 수축 기준이미지, 상기 제 1부분 이미지 및 상기 복수개의 제 2부분 이미지는 상기 제 1부분 이미지 그룹을 구성할 수 있다.In this case, when the first partial image is stretched by a predetermined ratio in the horizontal direction to generate the variable partial image, the image variable step is a step of contracting and deforming the reference image before the reference image is stretched, Wherein the shrinking reference image, the first partial image, and the plurality of second partial images may constitute the first partial image group.

또한, 상기 워핑단계는, 상기 기준 이미지상에 가상의 격자구조를 형성시키며, 상기 기준 이미지에서 상기 격자구조를 구성하는 복수개의 격자점에 대응되는 상기 기준 이미지의 픽셀들을 상기 기준 이미지가 수축 또는 신장되는 방향과 수직한 방향으로 상기 기준 이미지의 중심점과 멀어지게 이동시키고, 상기 기준 이미지가 수축되는 방향과 동일한 방향으로 상기 기준 이미지의 중심점과 가까워지게 이동시켜서, 상기 기준 이미지를 수축 변형하여 상기 수축 기준 이미지를 생성할 수 있으며, 상기 픽셀들 각각의 이동 거리는 상기 중심점과 상기 픽셀들 각각의 이격 거리에 따라 상이하며, 상기 이격 거리가 더 클수록 상기 이동 거리가 커질 수 있다. The warping step may include forming a virtual lattice structure on the reference image and dividing pixels of the reference image corresponding to a plurality of lattice points constituting the lattice structure in the reference image into contraction or extension The reference image is shifted away from the center point of the reference image in a direction perpendicular to the reference image and is moved in the same direction as the direction in which the reference image is contracted so as to approach the center point of the reference image, The moving distance of each of the pixels is different according to the distance between the center point and each of the pixels. The larger the distance, the larger the moving distance.

그리고, 상기 워핑단계는, 상기 기준 이미지의 테두리에 해당하는 상기 격자점을 고정시키고, 상기 테두리 내의 상기 격자점을 이동시킬 수 있다.The warping step may fix the lattice point corresponding to the rim of the reference image and move the lattice point in the rim.

또한, 전자장치의 디스플레이상에 표시된 얼굴이 포함된 사람 이미지를 재조정하는 방법에 있어서, 원본 이미지를 로딩하는 로딩단계, 상기 원본 이미지를 비트맵 형식의 제 1변환 이미지로 변환하고, 상기 제 1변환 이미지를 상기 전자장치의 메모리에 저장하며 상기 전자장치의 디스플레이에 출력하는 이미지 변환단계, 상기 디스플레이상에 복수개의 기준선과 상기 사람 이미지 중 일부분을 포함하는 기준영역을 표시하며, 상기 복수개의 기준선 중 인접한 두 개의 기준선 사이에 상기 사람 이미지가 표시되고, 상기 기준영역이 상기 사람 이미지 중 얼굴 부분을 포함하는 경우, 상기 기준영역을 포함하는 기준이미지를 생성하고, 상기 제 1변환 이미지를 상기 복수개의 기준선을 기준으로 분할하여 상기 기준영역을 포함하는 제 1부분 이미지 및 상기 기준영역을 포함하지 않는 복수개의 제 2부분 이미지를 생성하고, 상기 기준이미지, 상기 제 1부분 이미지 및 상기 복수개의 제 2부분 이미지로 구성된 제 1부분 이미지 그룹을 상기 메모리에 저장하는 이미지 분할단계, 상기 제 1부분 이미지 및 상기 기준 이미지를 가로방향으로 소정의 비율만큼 수축 또는 신장하여 가변 부분 이미지 및 가변 기준 이미지를 생성하며, 상기 가변 부분 이미지, 상기 가변 기준 이미지 및 상기 복수개의 제 2부분 이미지로 구성된 제 2부분 이미지 그룹을 상기 디스플레이에 출력하는 이미지 가변단계, 상기 제 2부분 이미지 그룹을 결합하여 하나의 가변 이미지를 생성하고, 상기 가변 이미지를 상기 메모리에 저장하고 상기 디스플레이에 출력하는 이미지 변환단계를 포함하며, 상기 이미지 가변단계에서, 상기 가변 기준 이미지를, 상기 가변 기준 이미지가 수축 또는 신장되어 가변된 것과 반대로 신장 또는 수축되는 변형을 하여, 상기 가변 기준 이미지를 변형할 수 있다.A method of re-adjusting a human image including a face displayed on a display of an electronic device, the method comprising: loading an original image; converting the original image into a first converted image in a bitmap format; An image conversion step of storing an image in a memory of the electronic device and outputting the image to a display of the electronic device, displaying a reference area including a plurality of reference lines and a part of the human image on the display, Wherein the human image is displayed between two reference lines, and when the reference area includes a face part of the human image, a reference image including the reference area is generated, and the first converted image is displayed on the plurality of reference lines A first partial image including the reference region and a second partial image including the reference region, An image segmentation step of generating a plurality of second partial images that do not include a sub-region and storing a first partial image group composed of the reference image, the first partial image and the plurality of second partial images in the memory, The first partial image and the reference image are contracted or elongated by a predetermined ratio in the horizontal direction to generate a variable partial image and a variable reference image, and the variable partial image, the variable reference image, and the plurality of second partial images An image transforming step of combining the second partial image groups to generate a single variable image, storing the variable image in the memory and outputting it to the display, Wherein, in the image variable step, the variable reference If the variable reference image is contracted or elongated by the strain to be opposed to stretching or contraction as a variable, it is possible to transform the said variable reference image.

그리고, 상기 이미지 분할단계는, 구성되는 각각의 변이 상기 기준영역을 구성하는 적어도 하나 이상의 점과 접촉하고, 상기 기준영역을 내측에 포함하는 사각형 형태의 기준구역을 분할하며, 분할된 상기 기준구역을, 상기 기준구역과 동일한 형태의 도형이 상기 제 1부분 이미지의 가로 길이만큼 연장되고 투명한 투명구역상에서 생성하여, 상기 기준구역 및 상기 투명구역으로 구성된 상기 기준이미지를 생성할 수 있다.The image segmentation step divides a rectangular reference area in which each of the constituent sides is in contact with at least one point constituting the reference area and includes the reference area inside, , A figure of the same type as the reference zone extends by the transverse length of the first partial image and is produced on a transparent transparent zone to generate the reference image composed of the reference zone and the transparent zone.

여기서, 상기 기준구역은, 상기 투명구역상에서, 상기 기준구역이 상기 제 1부분 이미지상에 위치해 있던 것과 동일한 가로좌표상에 생성될 수 있다.Here, the reference zone may be created on the same horizontal axis as the reference zone was located on the first partial image, on the transparent zone.

이 경우, 상기 이미지 가변단계는, 상기 기준 이미지가 가로방향으로 소정의 비율만큼 수축되어 상기 가변 부분이미지를 생성한 경우, 상기 가변 기준 이미지를 신장 변형하여 신장 가변 기준 이미지를 생성하는 워핑단계를 더 포함하며, 상기 신장 가변 기준 이미지, 상기 가변 이미지 및 상기 복수개의 제 2부분 이미지는 상기 제 2부분 이미지 그룹을 구성할 수 있다.In this case, the image variable step may further include a warping step of, when the reference image is contracted by a predetermined ratio in the horizontal direction to generate the variable partial image, expanding and deforming the variable reference image to generate an elongation variable reference image Wherein the variable-magnification reference image, the variable image, and the plurality of second partial images may constitute the second partial image group.

또한, 상기 워핑단계는, 상기 가변 기준 이미지상에서 상기 투명구역을 제외한 영역에 가상의 격자구조를 형성시키고, 상기 가변 기준이미지에서 상기 격자구조를 구성하는 복수개의 격자점에 대응되는 상기 기준 이미지의 픽셀들을 상기 가변 기준 이미지가 수축 또는 신장되는 방향과 수직한 방향으로 상기 가변 기준 이미지의 중심점과 가까워지게 이동시키고, 상기 가변 기준이미지가 신장되는 방향과 동일한 상방향으로 상기 가변 기준이미지의 중심점과 멀어지게 이동시켜서, 상기 가변 기준 이미지를 신장 변형하여, 상기 신장 가변 기준 이미지를 생성할 수 있으며, 상기 픽셀들 각각의 이동 거리는 상기 중심점과 상기 픽셀들 각각의 이격 거리에 따라 상이하며, 상기 이격 거리가 더 클수록 상기 이동 거리가 커질 수 있다.The warping step may include forming a virtual lattice structure on the variable reference image excluding the transparent area and generating a pixel value of the reference image corresponding to a plurality of lattice points constituting the lattice structure in the variable reference image, Of the variable reference image in a direction perpendicular to a direction in which the variable reference image is contracted or elongated, and moving the variable reference image away from the center point of the variable reference image in the same upward direction as the extending direction of the variable reference image Wherein the moving distance of each of the pixels is different according to the separation distance between the center point and each of the pixels, and the separation distance is greater than the separation distance, The larger the distance, the larger the moving distance can be.

그리고, 상기 이미지 가변단계는, 상기 제 1부분 이미지가 가로방향으로 소정의 비율만큼 신장되어 상기 가변 부분 이미지를 생성한 경우, 상기 가변 기준 이미지를 수축 변형하여 수축 가변 기준 이미지를 생성하는 워핑단계를 더 포함하며, 상기 수축 가변 기준 이미지, 상기 가변 이미지 및 상기 복수개의 제 2부분 이미지는 상기 제 2부분 이미지 그룹을 구성할 수 있다.The image variable step may include a warping step of generating a contraction variable reference image by contracting and deforming the variable reference image when the first partial image is extended in a horizontal direction by a predetermined ratio to generate the variable partial image Wherein the contraction variable reference image, the variable image, and the plurality of second partial images may constitute the second partial image group.

여기서, 상기 워핑단계는, 상기 가변 기준 이미지상에서 상기 투명구역을 제외한 영역에 가상의 격자구조를 형성시키고, 상기 가변 기준이미지에서 상기 격자구조를 구성하는 복수개의 격자점에 대응되는 상기 기준 이미지의 픽셀들을 상기 가변 기준 이미지가 수축 또는 신장되는 방향과 수직한 방향으로 상기 가변 기준 이미지의 중심점과 멀어지게 이동시키고, 상기 가변 기준이미지가 수축되는 방향과 동일한 방향으로 상기 가변 기준이미지의 중심점과 가까워지게 이동시켜서, 상기 가변 기준 이미지를 신장 변형하여, 상기 신장 가변 기준 이미지를 생성할 수 있다.Here, the warping step may include: forming a virtual lattice structure on the variable reference image excluding the transparent area, and generating a pixel of the reference image corresponding to a plurality of lattice points constituting the lattice structure in the variable reference image, Of the variable reference image are shifted away from the center point of the variable reference image in a direction perpendicular to the direction in which the variable reference image is contracted or elongated and moving toward the center point of the variable reference image in the same direction as the direction in which the variable reference image is contracted , And thereby stretch-deform the variable reference image to generate the elongation-variable reference image.

이 경우, 상기 워핑단계는, 상기 가변 기준 이미지의 테두리에 해당하는 상기 격자점을 고정시키고, 상기 테두리 내의 상기 격자점에 대응되는 상기 픽셀들을 이동시킬 수 있다.In this case, the warping step may fix the grid point corresponding to the border of the variable reference image, and move the pixels corresponding to the grid point in the border.

또한, 상기 이미지 분할단계는 상기 기준선을 상기 제 1변환 이미지의 세로 방향과 평행이 되도록 표시하며, 상기 기준선의 위치를 상기 전자장치를 사용하는 사용자의 입력에 따라 변경하여 상기 제 1변환 이미지상에 표시할 수 있다.In addition, the image segmentation step may display the reference line so as to be parallel to the longitudinal direction of the first transformed image, change the position of the reference line according to a user's input using the electronic device, Can be displayed.

그리고, 상기 이미지 분할단계는 상기 기준영역의 크기 및 위치를 상기 사용자의 입력에 따라 변경하여 상기 제 1부분 이미지상에 표시할 수 있다.The image segmenting step may change the size and position of the reference area according to the input of the user and display the same on the first partial image.

여기서, 상기 이미지 가변단계는 상기 제 1변환 이미지 및 상기 기준 이미지의 신장 또는 수축 정도를 상기 사용자의 입력에 따라 결정할 수 있다.Here, the image variable step may determine the degree of extension or contraction of the first transformed image and the reference image according to the input of the user.

이 경우, 상기 이미지 합성단계는 상기 전자장치를 사용하는 사용자의 입력에 따라 상기 제 2부분 이미지 그룹을 결합하여 상기 가변 이미지를 생성할 수 있다.In this case, the image synthesizing step may combine the second partial image group according to a user's input using the electronic device to generate the variable image.

또한, 디스플레이 및 저장매체를 구비하며, 얼굴이 포함된 사람 이미지를 재조정 하기 위한 장치에 있어서, 원본 이미지를 로딩하는 로딩부, 상기 원본 이미지를 비트맵 형식의 제 1변환 이미지로 변환하고, 상기 제 1변환 이미지를 상기 장치의 메모리에 저장하며 상기 디스플레이에 출력하는 이미지 변환부, 상기 디스플레이상에 복수개의 기준선과 상기 사람 이미지 중 일부분을 포함하는 기준영역을 표시하며, 상기 복수개의 기준선 중 인접한 두 개의 기준선 사이에 상기 사람 이미지가 표시되고, 상기 기준영역이 상기 사람 이미지 중 얼굴 부분을 포함하는 경우, 상기 기준영역을 포함하는 기준 이미지를 생성하고, 상기 제 1변환 이미지를 상기 복수개의 기준선을 기준으로 분할하여 상기 기준영역을 포함하는 제 1부분 이미지 및 상기 기준영역을 포함하지 않는 복수개의 제 2부분 이미지를 생성하고, 상기 기준이미지, 상기 제 1부분 이미지 및 상기 복수개의 제 2부분 이미지로 구성된 제 1부분 이미지 그룹을 상기 메모리에 저장하는 이미지 분할부, 상기 제 1부분 이미지 및 상기 기준 이미지를 가로방향으로 소정의 비율만큼 수축 또는 신장하여 가변 부분 이미지 및 가변 기준 이미지를 생성하며, 상기 가변 부분 이미지, 상기 가변 기준 이미지 및 상기 복수개의 제 2부분 이미지로 구성된 제 2부분 이미지 그룹을 상기 디스플레이에 출력하는 이미지 가변부, 상기 제 2부분 이미지 그룹을 결합하여 하나의 가변 이미지를 생성하고, 상기 가변 이미지를 상기 메모리에 저장하고 상기 디스플레이에 출력하는 이미지 변환부를 포함하며, 상기 이미지 가변부에서, 상기 기준 이미지를 수축 또는 신장하여 상기 가변 기준 이미지를 생성하기 전에, 상기 기준 이미지가 수축 또는 신장 되어 가변되는 것과 반대로 신장 또는 수축되는 변형을 하여, 상기 기준이미지를 변형할 수 있다.The apparatus includes a display and a storage medium. The apparatus includes a loading unit for loading an original image, a conversion unit for converting the original image into a first converted image in bitmap format, 1 converted image to a memory of the apparatus and outputting the transformed image to the display; a reference area including a plurality of reference lines and a part of the human image on the display; Wherein the human image is displayed between the reference lines, and when the reference area includes a face part of the human image, a reference image including the reference area is generated, and the first converted image is displayed on the basis of the plurality of reference lines A first partial image including the reference region and a second partial image including the reference region And storing the first partial image group composed of the reference image, the first partial image, and the plurality of second partial images in the memory, and an image dividing section for storing the first partial image, Wherein the first reference image and the second reference image are generated by contracting or stretching the partial image and the reference image by a predetermined ratio in the horizontal direction to generate a variable partial image and a variable reference image, And an image conversion unit for combining the second partial image groups to generate one variable image, storing the variable image in the memory, and outputting the variable image to the display, In the image variable portion, the reference image is contracted or stretched Before generating the variable reference image, the reference image may be deformed by stretching or contraction, as opposed to being deformed by contraction or elongation, thereby deforming the reference image.

그리고, 상기 이미지 분할부는, 구성되는 각각의 변이 상기 기준영역을 구성하는 적어도 하나 이상의 점과 접촉하며 상기 기준영역을 내측에 포함하는 사각형 형태의 기준구역을 분할하여, 상기 기준 이미지를 생성할 수 있다.The image dividing unit may generate the reference image by dividing a rectangular reference area in which each of the constituent sides is in contact with at least one point constituting the reference area and includes the reference area inside .

여기서, 상기 이미지 가변부는, 상기 제 1부분 이미지가 가로방향으로 소정의 비율만큼 수축되어 상기 가변 부분 이미지를 생성할 경우, 상기 기준 이미지가 수축되기 전에, 상기 기준 이미지를 신장 변형하여 신장 기준 이미지를 생성하는 워핑부를 더 포함하며, 상기 신장 기준 이미지, 상기 제 1부분 이미지 및 상기 복수개의 제 2부분 이미지는 상기 제 1부분 이미지 그룹을 구성할 수 있다.Here, when the first partial image is contracted by a predetermined ratio in the horizontal direction to generate the variable partial image, the image varying unit may expand and contract the reference image to reduce the height of the reference image, Wherein the extension reference image, the first partial image, and the plurality of second partial images may constitute the first partial image group.

이 경우, 상기 워핑부는, 상기 기준 이미지상에 가상의 격자구조를 형성시키며, 상기 기준 이미지에서 상기 격자구조를 구성하는 복수개의 격자점에 대응되는 상기 기준 이미지의 픽셀들을 상기 기준 이미지가 수축 또는 신장되는 방향과 수직한 방향으로 상기 기준 이미지의 중심점과 가까워지게 이동시키고, 상기 기준 이미지가 신장되는 방향과 동일한 상방향으로 상기 기준 이미지의 중심점과 멀어지게 이동시켜서, 상기 기준 이미지를 신장 변형하여 상기 신장 기준 이미지를 생성할 수 있다. In this case, the warping unit may form a virtual lattice structure on the reference image, and the pixels of the reference image corresponding to the plurality of lattice points constituting the lattice structure in the reference image may be referred to as shrinkage or elongation The reference image is moved in the direction perpendicular to the reference image so as to be closer to the center point of the reference image and moved away from the center point of the reference image in the same upward direction as the extending direction of the reference image, A reference image can be generated.

또한, 상기 이미지 가변부는, 상기 제 1부분 이미지가 가로방향으로 소정의 비율만큼 신장되어 상기 가변 부분 이미지를 생성할 경우, 상기 기준 이미지가 신장되기 전에, 상기 기준 이미지를 수축 변형하여 수축 기준 이미지를 생성하는 워핑부를 더 포함하며, 상기 수축 기준이미지, 상기 제 1부분 이미지 및 상기 복수개의 제 2부분 이미지는 상기 제 1부분 이미지 그룹을 구성할 수 있다. When the first partial image is stretched in the horizontal direction by a predetermined ratio to generate the variable partial image, the image variable portion may contract and deform the reference image before the reference image is stretched, Wherein the shrinking reference image, the first partial image, and the plurality of second partial images may constitute the first partial image group.

또한, 상기 워핑부는, 상기 기준 이미지상에 가상의 격자구조를 형성시키며, 상기 기준 이미지에서 상기 격자구조를 구성하는 복수개의 격자점에 대응되는 상기 기준 이미지의 픽셀들을 상기 기준 이미지가 수축 또는 신장되는 방향과 수직한 방향으로 상기 기준 이미지의 중심점과 멀어지게 이동시키고, 상기 기준 이미지가 수축되는 방향과 동일한 방향으로 상기 기준 이미지의 중심점과 가까워지게 이동시켜서, 상기 기준 이미지를 수축 변형하여 상기 수축 기준 이미지를 생성할 수 있다.The warping unit forms a virtual lattice structure on the reference image, and the pixels of the reference image corresponding to a plurality of lattice points constituting the lattice structure in the reference image are arranged such that the reference image is contracted or elongated The reference image is moved in a direction perpendicular to the reference image so as to be closer to the center point of the reference image in the same direction as the direction in which the reference image is contracted to shrink and deform the reference image, Lt; / RTI >

그리고, 상기 워핑부는, 상기 기준 이미지의 테두리에 해당하는 상기 격자점을 고정시키고, 상기 테두리 내의 상기 격자점을 이동시킬 수 있다.The warping unit may fix the grid point corresponding to the rim of the reference image and move the grid point within the rim.

또한, 디스플레이 및 저장매체를 구비하며, 얼굴이 포함된 사람 이미지를 재조정 하기 위한 장치에 있어서, 원본 이미지를 로딩하는 로딩부, 상기 원본 이미지를 비트맵 형식의 제 1변환 이미지로 변환하고, 상기 제 1변환 이미지를 상기 장치의 메모리에 저장하며 상기 디스플레이에 출력하는 이미지 변환부, 상기 디스플레이상에 복수개의 기준선과 상기 사람 이미지 중 일부분을 포함하는 기준영역을 표시하며, 상기 복수개의 기준선 중 인접한 두 개의 기준선 사이에 상기 사람 이미지가 표시되고, 상기 기준영역이 상기 사람 이미지 중 얼굴 부분을 포함하는 경우, 상기 기준영역을 포함하는 기준이미지를 생성하고, 상기 제 1변환 이미지를 상기 복수개의 기준선을 기준으로 분할하여 상기 기준영역을 포함하는 제 1부분 이미지 및 상기 기준영역을 포함하지 않는 복수개의 제 2부분 이미지를 생성하고, 상기 기준이미지, 상기 제 1부분 이미지 및 상기 복수개의 제 2부분 이미지로 구성된 제 1부분 이미지 그룹을 상기 메모리에 저장하는 이미지 분할부, 상기 제 1부분 이미지 및 상기 기준 이미지를 가로방향으로 소정의 비율만큼 수축 또는 신장하여 가변 부분 이미지 및 가변 기준 이미지를 생성하며, 상기 가변 부분 이미지, 상기 가변 기준 이미지 및 상기 복수개의 제 2부분 이미지로 구성된 제 2부분 이미지 그룹을 상기 디스플레이에 출력하는 이미지 가변부, 상기 제 2부분 이미지 그룹을 결합하여 하나의 가변 이미지를 생성하고, 상기 가변 이미지를 상기 메모리에 저장하고 상기 디스플레이에 출력하는 이미지 변환부를 포함하며, 상기 이미지 가변부에서, 상기 가변 기준 이미지를, 상기 가변 기준 이미지가 수축 또는 신장되어 가변된 것과 반대로 신장 또는 수축되는 변형을 하여, 상기 가변 기준 이미지를 변형할 수 있다.The apparatus includes a display and a storage medium. The apparatus includes a loading unit for loading an original image, a conversion unit for converting the original image into a first converted image in bitmap format, 1 converted image to a memory of the apparatus and outputting the transformed image to the display; a reference area including a plurality of reference lines and a part of the human image on the display; Wherein the human image is displayed between the reference lines, and when the reference area includes a face part of the human image, a reference image including the reference area is generated, and the first converted image is displayed on the basis of the plurality of reference lines A first partial image including the reference region and a second partial image including the reference region, And storing the first partial image group composed of the reference image, the first partial image, and the plurality of second partial images in the memory, and an image dividing section for storing the first partial image, Wherein the first reference image and the second reference image are generated by contracting or stretching the partial image and the reference image by a predetermined ratio in the horizontal direction to generate a variable partial image and a variable reference image, And an image conversion unit for combining the second partial image groups to generate one variable image, storing the variable image in the memory, and outputting the variable image to the display, In the image variable section, the variable reference image is transformed to a variable reference The variable reference image can be deformed by deforming the image by stretching or contraction as opposed to being deformed by contraction or elongation of the image.

그리고, 상기 이미지 분할부는, 구성되는 각각의 변이 상기 기준영역을 구성하는 적어도 하나 이상의 점과 접촉하고, 상기 기준영역을 내측에 포함하는 사각형 형태의 기준구역을 분할하며, 분할된 상기 기준구역을, 상기 기준구역과 동일한 형태의 도형이 상기 제 1부분 이미지의 가로 길이만큼 연장되고 투명한 투명구역상에서 생성하여, 상기 기준구역 및 상기 투명구역으로 구성된 상기 기준 이미지를 생성할 수 있다.The image dividing unit may divide a rectangular reference area including each of the sides constituting the reference area and at least one point constituting the reference area and including the reference area inside, A figure of the same shape as the reference area may extend over the transverse extent of the first partial image and create on the transparent area to generate the reference image composed of the reference area and the transparent area.

여기서, 상기 기준구역은, 상기 투명구역상에서, 상기 기준구역이 상기 제 1부분 이미지상에 위치해 있던 것과 동일한 가로좌표상에 생성될 수 있다.Here, the reference zone may be created on the same horizontal axis as the reference zone was located on the first partial image, on the transparent zone.

이 경우, 상기 이미지 가변부는, 상기 기준 이미지가 가로방향으로 소정의 비율만큼 수축되어 상기 가변 부분이미지를 생성한 경우, 상기 가변 기준 이미지를 신장 변형하여 신장 가변 기준 이미지를 생성하는 워핑부를 더 포함하며, 상기 신장 가변 기준 이미지, 상기 가변 이미지 및 상기 복수개의 제 2부분 이미지는 상기 제 2부분 이미지 그룹을 구성할 수 있다.In this case, the image changing unit may further include a warping unit that generates an elongated variable reference image by stretching and deforming the variable reference image when the reference image is contracted by a predetermined ratio in the horizontal direction to generate the variable partial image , The elongation variable reference image, the variable image, and the plurality of second partial images may constitute the second partial image group.

또한, 상기 워핑부는, 상기 가변 기준 이미지상에서 상기 투명구역을 제외한 영역에 가상의 격자구조를 형성시키고, 상기 가변 기준이미지에서 상기 격자구조를 구성하는 복수개의 격자점에 대응되는 상기 기준 이미지의 픽셀들을 상기 가변 기준 이미지가 수축 또는 신장되는 방향과 수직한 방향으로 상기 가변 기준 이미지의 중심점과 가까워지게 이동시키고, 상기 가변 기준이미지가 신장되는 방향과 동일한 상방향으로 상기 가변 기준이미지의 중심점과 멀어지게 이동시켜서, 상기 가변 기준 이미지를 신장 변형하여, 상기 신장 가변 기준 이미지를 생성할 수 있다.The warping unit may be configured to form a virtual lattice structure on the variable reference image except for the transparent area, and to display pixels of the reference image corresponding to a plurality of lattice points constituting the lattice structure in the variable reference image, Moving the variable reference image so as to approach the center point of the variable reference image in a direction perpendicular to a direction in which the variable reference image is contracted or elongated and moving it away from a center point of the variable reference image in the same upward direction as the extending direction of the variable reference image , And thereby stretch-deform the variable reference image to generate the elongation-variable reference image.

그리고, 상기 이미지 가변부는, 상기 제 1부분 이미지가 가로방향으로 소정의 비율만큼 신장되어 상기 가변 부분 이미지를 생성한 경우, 상기 가변 기준 이미지를 수축 변형하여 수축 가변 기준 이미지를 생성하는 워핑부를 더 포함하며, 상기 수축 가변 기준 이미지, 상기 가변 이미지 및 상기 복수개의 제 2부분 이미지는 상기 제 2부분 이미지 그룹을 구성할 수 있다.The image variable unit may further include a warping unit that generates a contraction variable reference image by contraction and deformation of the variable reference image when the first partial image is extended in a horizontal direction by a predetermined ratio to generate the variable partial image And the contraction variable reference image, the variable image, and the plurality of second partial images may constitute the second partial image group.

여기서, 상기 워핑부는, 상기 가변 기준 이미지상에서 상기 투명구역을 제외한 영역에 가상의 격자구조를 형성시키고, 상기 가변 기준이미지에서 상기 격자구조를 구성하는 복수개의 격자점에 대응되는 상기 기준 이미지의 픽셀들을 상기 가변 기준 이미지가 수축 또는 신장되는 방향과 수직한 방향으로 상기 가변 기준 이미지의 중심점과 멀어지게 이동시키고, 상기 가변 기준이미지가 수축되는 방향과 동일한 방향으로 상기 가변 기준이미지의 중심점과 가까워지게 이동시켜서, 상기 가변 기준 이미지를 신장 변형하여, 상기 신장 가변 기준 이미지를 생성할 수 있다.The warping unit may form a virtual lattice structure in the region excluding the transparent region on the variable reference image and may further include pixels of the reference image corresponding to a plurality of lattice points constituting the lattice structure in the variable reference image, The variable reference image is shifted away from the center point of the variable reference image in a direction perpendicular to the direction in which the variable reference image is contracted or elongated and is moved in the same direction as the direction in which the variable reference image is contracted to approach the center point of the variable reference image , The stretched variable reference image may be generated by stretching the variable reference image.

이 경우, 상기 워핑부는, 상기 가변 기준 이미지의 테두리에 해당하는 상기 격자점을 고정시키고, 상기 테두리 내의 상기 격자점에 대응되는 상기 픽셀들을 이동시킬 수 있다.In this case, the warping unit may fix the grid point corresponding to the edge of the variable reference image, and move the pixels corresponding to the grid point in the edge.

또한, 상기 이미지 분할부는 상기 기준선을 상기 제 1변환 이미지의 세로 방향과 평행이 되도록 표시하며, 상기 기준선의 위치를 상기 장치를 사용하는 사용자의 입력에 따라 변경하여 상기 제 1변환 이미지상에 표시할 수 있다.Also, the image dividing unit may display the reference line so as to be parallel to the longitudinal direction of the first transformed image, change the position of the reference line according to an input of a user using the apparatus, and display the reference line on the first transformed image .

그리고, 상기 이미지 분할부는 상기 기준영역의 크기 및 위치를 상기 사용자의 입력에 따라 변경하여 상기 제 1부분 이미지상에 표시할 수 있다.The image dividing unit may change the size and position of the reference area according to the input of the user and display the same on the first partial image.

여기서, 상기 이미지 가변부는 상기 제 1변환 이미지 및 상기 기준 이미지의 신장 또는 수축 정도를 상기 사용자의 입력에 따라 결정할 수 있다.Here, the image variable unit may determine the degree of extension or contraction of the first transformed image and the reference image according to the input of the user.

이 경우, 상기 이미지 합성부는 상기 장치를 사용하는 사용자의 입력에 따라 상기 제 2부분 이미지 그룹을 결합하여 상기 가변 이미지를 생성할 수 있다.In this case, the image combining unit may combine the second partial image group according to an input of a user using the apparatus to generate the variable image.

그리고, 상기 전자장치의 디스플레이상에 표시된 이미지를 재조정하는 방법을 실행시키기 위한 명령어들을 기록한 비일시적 기계 판독가능 저장 매체를 제공할 수 있다.And provide a non-volatile machine-readable storage medium having recorded thereon instructions for executing a method of resizing an image displayed on a display of the electronic device.

본 발명의 일 실시예에 따르면, 얼굴이 포함된 사람의 형상이 피사체인 디지털 이미지를 신장하거나 수축하는 재조정 과정에 있어서, 상기 이미지를 상기 사람의 형상이 표시된 이미지와 표시되지 않은 부분 이미지로 구분하여 분할하고 상기 사람의 얼굴의 형상을 포함하는 기준 영역을 설정하여, 상기 사람의 형상이 표시된 이미지만을 신장 또는 수축하면서 상기 사람의 얼굴 형상이 표시된 상기 기준 영역이 신장 또는 수축됨에 따라 발생하는 왜곡현상을 보정해주어, 상기 사람의 얼굴 형상의 왜곡이 없이 사용자의 의도에 따라 상기 사람의 형상을 자연스럽게 더 날씬해지거나 더 뚱뚱해지게 하여 상기 디지털 이미지를 재조정 할 수 있다.According to an embodiment of the present invention, in a process of re-adjusting a digital image in which a shape of a person including a face is a subject, the image is divided into an image in which the shape of the person is displayed and a non- And a reference region including the shape of the face of the person is set so that a distortion phenomenon that occurs as the reference region indicated by the face shape of the person is stretched or contracted while only the image in which the shape of the person is displayed is stretched or contracted The digital image can be readjusted by making the shape of the person naturally thinner or more fattened according to the intention of the user without distortion of the face shape of the person.

도 1은 본 발명의 일 실시에에 따른 이미지 재조정 방법의 순서도를 도시한다.
도 2는 본 발명의 일 실시예에 따른 원본 이미지의 변환을 도시한다.
도 3은 본 발명의 일 실시예에 따른 제 1변환 이미지의 분할을 도시한다.
도 4는 본 발명의 일 실시예에 따른 기준 이미지의 생성을 도시한다.
도 5는 본 발명의 일 실시예에 따른 제 1부분 이미지 및 기준 이미지의 수축을 도시한다.
도 6은 본 발명의 일 실시예에 따른 제 1부분 이미지 및 기준 이미지의 신장을 도시한다.
도 7는 본 발명의 일 실시예에 따른 기준 이미지의 변형을 도시한다.
도 8은 본 발명의 일 실시예에 따른 이미지 가변단계에서 사용자의 입력에 따라 신장량 또는 수축량이 조절되어 가변된 제 2부분 이미지 그룹을 디스플레이의 출력상태로 도시한다.
도 9는 본 발명의 일 실시예에 따른 가변 이미지의 생성을 도시한다.
도 10은 본 발명의 다른 실시예에 따른 제 1변환 이미지의 분할을 도시한다.
도 11은 본 발명의 다른 실시예에 따른 투명구역을 포함하는 기준 이미지의 생성을 도시한다.
도 12는 본 발명의 일 실시예에 따른 제 1부분 이미지 및 투명 구역을 포함하는 기준 이미지의 수축을 도시한다.
도 13은 본 발명의 일 실시예에 따른 제 1부분 이미지 및 투명 구역을 포함하는 기준 이미지의 수축을 도시한다.
도 14는 본 발명의 일 실시예에 따른 가변 기준 이미지의 변형을 도시한다.
도 15는 본 발명의 일 실시예에 따른 이미지 재조정 장치의 구성을 도시한다.
Fig. 1 shows a flow chart of an image reordering method according to an embodiment of the present invention.
Figure 2 illustrates the transformation of an original image in accordance with an embodiment of the present invention.
Figure 3 illustrates the partitioning of the first transformed image according to one embodiment of the present invention.
4 illustrates generation of a reference image in accordance with an embodiment of the present invention.
Figure 5 illustrates contraction of a first partial image and a reference image in accordance with an embodiment of the present invention.
Figure 6 illustrates elongation of a first partial image and a reference image in accordance with an embodiment of the present invention.
Figure 7 illustrates a variation of a reference image in accordance with an embodiment of the present invention.
FIG. 8 illustrates a second partial image group in which an amount of expansion or contraction is adjusted according to a user's input in an image variable step according to an exemplary embodiment of the present invention, as an output state of a display.
Figure 9 shows the generation of a variable image according to an embodiment of the present invention.
Figure 10 shows a segmentation of a first transformed image according to another embodiment of the present invention.
Figure 11 illustrates the generation of a reference image comprising a transparent region according to another embodiment of the present invention.
12 illustrates contraction of a reference image including a first partial image and a transparent region in accordance with an embodiment of the present invention.
FIG. 13 illustrates contraction of a reference image including a first partial image and a transparent region in accordance with an embodiment of the present invention.
Figure 14 shows a variation of a variable reference image according to an embodiment of the invention.
15 shows a configuration of an image rebalancing apparatus according to an embodiment of the present invention.

본 발명은 다양한 변경을 가할 수 있고 여러가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 이를 상세한 설명을 통해 상세히 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함할 수 있다.While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, but, on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the invention. It should be understood, however, that the invention is not to be limited to the specific embodiments, but includes all changes, equivalents, and alternatives falling within the spirit and scope of the invention.

본 발명을 설명함에 있어서, 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략할 수 있다. 또한, 본 명세서의 설명 과정에서 이용되는 숫자(예를 들어, 제1 제2등)는 하나의 구성요소를 다른 구성요소와 구분하기 위한 식별기호일 수 있다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS In the following description of the present invention, detailed description of related arts will be omitted when it is determined that the gist of the present invention may be unnecessarily blurred. In addition, numbers used in the description process of the present invention (e.g., first second, etc.) may be identifier signals for distinguishing one component from another.

이하에서는 첨부한 도면을 참조하여 본 발명의 바람직한 실시예에 따른 이미지 재조정 방법에 대해서 상세하게 설명할 수 있다.Hereinafter, an image re-adjustment method according to a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 일 실시예에 따른 이미지 재조정 방법의 순서도를 도시한다.Figure 1 shows a flow diagram of an image reordering method according to an embodiment of the present invention.

도 1을 참조하면, 본 발명의 일 실시예에 따른 이미지 재조정 방법(1000)은 이미지 로딩단계(S100), 이미지 변환단계(S200), 이미지 분할단계(S300), 이미지 가변단계(S400) 및 이미지 합성단계(S500)를 포함할 수 있다. 하지만, 도 1에 도시된 구성요소들을 갖거나 그보다 적은 구성요소들을 갖는 이미지 재조정 방법(1000)이 구현될 수 도 있다.Referring to FIG. 1, an image resampling method 1000 according to an exemplary embodiment of the present invention includes an image loading step S100, an image conversion step S200, an image dividing step S300, an image variable step S400, Synthesis step S500. However, an image reshaping method 1000 having the components shown in FIG. 1 or fewer components may be implemented.

또한, 상기 이미지 재조정 방법(1000)은 스마트폰, 컴퓨터 및 태블릿PC와 같은 전자장치에서 구현 가능하다. 하지만 상기 언급한 장치에 한정하지 않고 이미지 출력이 가능하고 상기 이미지 재조정 방법을 구현하여 상기 이미지를 재조정 할 수 있는 장치라면 어떠한 것이라도 가능하다.In addition, the image re-sizing method 1000 may be implemented in electronic devices such as smart phones, computers, and tablet PCs. However, the present invention is not limited to the above-mentioned apparatus, and any device capable of outputting an image and realizing the image re-adjustment method and realigning the image can be used.

본 발명의 일 실시예에 따른 이미지 재조정 방법은 상기한 바와 같은 전자장치에서 출력이 가능한 어떠한 디지털 이미지에도 적용이 가능하나, 본 발명의 주된 목적은 얼굴이 포함된 사람이 피사체인 디지털 이미지의 자연스러운 재조정 이므로, 후술하는 이미지 재조정 방법은, 얼굴이 포함된 사람 이미지에 적용하는 이미지 재조정 방법인 것으로 한다.The image re-adjustment method according to an embodiment of the present invention can be applied to any digital image outputable by the electronic device as described above, but the main object of the present invention is to provide a method and apparatus for re- , The image re-adjustment method described later is an image re-adjustment method applied to a human image including a face.

우선, 상기 이미지 로딩단계(S100)를 살펴보면, 상기 이미지 로딩단계(S100)는 상기 전자장치에서 원본 이미지를 로딩할 수 있다. 상기 "로딩"은 필요한 데이터를 보조 기억 장치나 입력 장치로부터 주기억 장치로 옮기는 것으로서, 본 발명의 일 실시예에 따른 이미지 재조정 방법(1000)에서는 상기 "로딩"을 상기 전자장치에 포함된 보조 기억 장치에 저장되어 있는 상기 원본 이미지를 상기 이미지 재조정 방법을 시행할 수 있도록 불러오는 것으로 정의한다.First, referring to the image loading step S100, the image loading step S100 may load an original image in the electronic device. The "loading" is to move necessary data from the auxiliary storage device or the input device to the main storage device. In the image re-adjustment method 1000 according to the embodiment of the present invention, The original image stored in the image storage unit is referred to as the image reordering method.

여기서, 상기 전자장치에 로딩되는 상기 원본 이미지는 상기 전자장치에 기존에 저장되어 있던 이미지이거나 상기 전자장치에 구비된 카메라에 의해 촬영되어 생성된 이미지 일 수 있다.Here, the original image loaded on the electronic device may be an image previously stored in the electronic device or an image generated by a camera provided in the electronic device.

이어서, 로딩된 원본 이미지를 비트맵 형식의 제1 변환 이미지로 변환하고, 이를 상기 전자장치에 구비된 메모리에 저장하고 또한 상기 전자장치에 구비된 디스플레이에 출력할 수 있다(S200).Subsequently, the loaded original image may be converted into a first converted image in a bitmap format, stored in a memory provided in the electronic device, and output to a display provided in the electronic device (S200).

도 2는 본 발명의 일 실시예에 따른 원본 이미지의 변환을 도시한다.Figure 2 illustrates the transformation of an original image in accordance with an embodiment of the present invention.

상기 이미지 변환단계(S200)는 로딩된 상기 원본 이미지(10)를 비트맵 형식의 제 1변환 이미지(20)로 변환할 수 있다. 또한, 상기 제 1변환 이미지(20)를 상기 전자장치에 구비된 메모리에 저장하며 상기 전자장치의 디스플레이부(2)에 표시할 수 있다. 도 2를 참조하면, 상기 원본 이미지(10)가 제 1변환 이미지(20)로 변환되어 상기 디스플레이부(2)의 표시영역에 표시된 것을 볼 수 있다. 상기 메모리는 상기 전자장치에 구비된 내부기억장치로서 상기 전자장치에 의해 직접적인 제어를 받는 주기억 장치를 의미하며, 본 발명의 일 실시예에 따른 이미지 재조정 방법(1000)에 있어서는 상기 이미지 재조정 방법(1000)에서 발생하는 모든 기록사항이 저장될 수 있다.The image conversion step S200 may convert the loaded original image 10 into a first converted image 20 of bitmap format. In addition, the first converted image 20 may be stored in a memory provided in the electronic apparatus and displayed on the display unit 2 of the electronic apparatus. Referring to FIG. 2, the original image 10 is converted into a first transformed image 20 and is displayed in the display area of the display unit 2. In the image re-adjustment method 1000 according to an exemplary embodiment of the present invention, the image re-adjustment method 1000 ) Can be stored.

여기서, 상기 디스플레이부(2)는 상기 전자장치에서 출력되는 상기 원본 이미지(10), 제 1변환 이미지(20)를 포함한 모든 종류의 디지털 이미지를 출력할 수 있다. 본 발명의 일 실시예에 따른 이미지 재조정 방법(1000)에 있어서, 상기 디스플레이부(2)는 출력기능과 동시에 선택이 가능한 터치 패널(touch panel) 또는 터치 스크린(touch screen)형태로 구현될 수 있다. 예를 들어, 상기 디스플레이부(2)와 상기 사용자가 입력한 터치 동작을 감지하는 센서가 상호 레이어 구조를 이루는 경우에, 상기 디스플레이부(2)는 출력 장치 이외에 입력 장치로도 사용될 수 있다. 본 발명의 일 실시예에 따른 이미지 재조정 방법에 있어서, 상기 디스플레이부(2)는 출력과 입력을 병행하는 기능을 가질 수 있다.Here, the display unit 2 may output all kinds of digital images including the original image 10 and the first converted image 20 output from the electronic device. In the image re-adjustment method 1000 according to an exemplary embodiment of the present invention, the display unit 2 may be implemented as a touch panel or a touch screen capable of simultaneously selecting an output function . For example, when the display unit 2 and the sensor for sensing the touch operation input by the user have a mutual layer structure, the display unit 2 may be used as an input device in addition to the output device. In the image re-adjustment method according to an embodiment of the present invention, the display unit 2 may have a function of concurrently outputting and inputting.

다음으로, 기준선 및 기준영역을 따라 제 1변환 이미지(20)를 복수개의 부분 이미지로 분할할 수 있으며, 기준 이미지를 생성할 수 있다(S300).Next, the first transformed image 20 may be divided into a plurality of partial images along the reference line and the reference area, and a reference image may be generated (S300).

도 3은 본 발명의 일 실시예에 따른 제 1변환 이미지의 분할을 도시한다.Figure 3 illustrates the partitioning of the first transformed image according to one embodiment of the present invention.

도 3을 참조하면, 상기 이미지 분할단계(S300)는 상기 디스플레이부(2) 상에 복수개의 기준선(l1, l2)과 상기 사람 이미지 중 일부분을 포함하는 기준영역(a)을 표시할 수 있다. 구체적으로, 상기 이미지 분할단계(S300)는 두 개의 기준선(l1, l2)을 상기 디스플레이부(2) 상에 표시할 수 있으며, 상기 두 개의 기준선(l1, l2) 사이에 상기 사람의 이미지가 표시되도록 위치시킬 수 있다. 또한, 상기 두 개의 기준선(l1, l2) 사이에 위치하여 표시된 상기 사람 이미지의 얼굴 부분에 상기 기준영역(a)을 위치시켜, 상기 기준영역을 포함하여 사람 이미지 중 얼굴 부분이 표시되는 기준 이미지(f1)를 생성하고, 상기 제 1변환 이미지(20)를 상기 두 개의 기준선(l1, l2)을 기준으로 분할하여 상기 기준영역을 포함하는 제 1부분 이미지(i) 및 상기 기준영역을 포함하지 않는 복수개의 제 2부분 이미지(m1, m2)를 생성할 수 있다. 여기서, 상기 기준 이미지(f1), 상기 제 1변환 이미지(i) 및 상기 복수개의 제 2부분 이미지(m1, m2)는 제 1부분 이미지 그룹(30)으로 구성될 수 있으며, 상기 제 1부분 이미지 그룹(30)은 상기 메모리에 저장될 수 있다.Referring to FIG. 3, the image segmenting step S300 may display a plurality of reference lines 11 and 12 on the display unit 2 and a reference area a including a part of the human image. Specifically, the image segmenting step S300 may display two reference lines 11 and 12 on the display unit 2, and the image of the person is displayed between the two reference lines 11 and 12 Respectively. In addition, the reference region (a) is positioned on the face portion of the human image displayed between the two reference lines (11, 12), and a reference image (i) dividing the first transformed image (20) with respect to the two reference lines (11, 12) to generate a first partial image (i) including the reference region and a second partial image A plurality of second partial images m1 and m2 may be generated. Here, the reference image f1, the first transformed image i, and the plurality of second partial images m1, m2 may be composed of a first partial image group 30, The group 30 may be stored in the memory.

상기 기준선(l1, l2)은 일부에 기준선 조절표시(110)을 포함하여 상기 디스플레이부(2) 상에 표시될 수 있다. 상기 기준선(l1, l2)은 상기 디스플레이부(2)에 출력된 상기 제 1변환 이미지(20)의 세로 방향과 평행이 되도록 표시되며, 복수개의 상기 기준선(l1, l2)은 서로 이격되어 표시되고, 상기 전자장치를 사용하는 사용자의 입력에 따라 위치를 변경하여 표시될 수 있다. 도 3(a) 및 도 3(b)를 참조하면, 상기 사용자는 상기 복수개의 기준선(l1, l2) 각각에 포함된 상기 기준선 조절표시(11)를 드래그하여 상기 제 1변환 이미지(20)상의 원하는 위치에 상기 복수개의 기준선(l1, l2)의 위치를 결정할 수 있다.The reference lines 11 and 12 may be partially displayed on the display unit 2 including the reference line adjustment indication 110. The reference lines 11 and 12 are displayed so as to be parallel to the longitudinal direction of the first converted image 20 output to the display unit 2 and the plurality of reference lines 11 and 12 are displayed apart from each other , And may be displayed by changing the position according to the input of the user using the electronic device. 3 (a) and 3 (b), the user drags the reference line adjustment indication 11 included in each of the plurality of reference lines 11 and 12, The positions of the plurality of reference lines 11 and 12 can be determined at desired positions.

예를 들면, 도 3의 (b)에 도시된 바와 같이 사용자는 기준선(l1)을 상기 사람 이미지의 좌측 측면과 근접한 거리에 배치할 수 있으며, 기준선(l2)을 상기 사람 이미지의 우측 측면과 근접한 거리에 배치할 할 수 있다. 따라서, 두 개의 상기 기준선(l1, l2)사이에 상기 사람 이미지가 위치하여 표시될 수 있다.For example, as shown in FIG. 3 (b), the user may place the reference line 11 at a distance close to the left side of the human image, and the reference line 12 may be located close to the right side of the human image You can place it on the street. Therefore, the human image can be positioned and displayed between the two reference lines (11, 12).

또한, 상기 기준영역(a)은 일부에 기준영역 조절표시(115)를 포함하여 상기 디스플레이부(2) 상에 표시될 수 있다. 상기 기준영역(a)은 상기 디스플레이부(2)에 출력된 상기 제 1변환 이미지(20)상의 일부분에, 바람직하게는, 사람 이미지를 사이에 두고 표시된 인접한 두 개의 상기 기준선(l1, l2)사이에 표시될 수 있으며, 상기 전자장치를 사용하는 사용자의 입력에 따라 위치와 크기가 변경되어 표시될 수 있다. 도 3(a) 및 도 3(b)를 참조하면, 상기 사용자는 상기 기준영역(a)의 중심부를 드래그하여 상기 제 1변환 이미지(20)상의 원하는 위치에 상기 기준영역(a)을 위치시킬 수 있으며, 상기 기준영역(a)에 포함된 상기 기준영역 조절표시(115)를 상기 기준영역(a)의 중심부방향 또는 그 반대방향으로 드래그하여 상기 기준영역(a)을 원하는 크기로 축소시키거나 확대시킬 수 있다.Also, the reference area (a) may be displayed on the display unit 2 including a reference area adjustment indication 115 in part. The reference region a is preferably provided on a portion of the first transformed image 20 output to the display unit 2, preferably between two adjacent reference lines 11, 12, And may be displayed in a changed position and size according to a user's input using the electronic device. 3 (a) and 3 (b), the user drags the center portion of the reference region a to position the reference region a at a desired position on the first transformed image 20 And dragging the reference area adjustment indication 115 included in the reference area a in the direction of the center of the reference area a or in the opposite direction to reduce the reference area a to a desired size Can be enlarged.

예를 들면, 도 3의 (b)에 도시된 바와 같이 사용자는 기준영역(a)의 중심부를 드래그하여, 상기 기준영역(a)을 상기 사람 이미지의 얼굴 부분에 배치할 수 있으며, 상기 기준영역 조절표시(115)를 드래그하여 상기 사람 이미지의 얼굴 부분을 근접한 간격으로 포함할 수 있도록 상기 기준영역(a)의 크기를 조절할 수 있다.For example, as shown in FIG. 3 (b), the user can drag the center portion of the reference region (a) to place the reference region (a) in the face portion of the human image, The size of the reference area (a) may be adjusted so that the adjustment indicator 115 may be dragged to include the face portion of the human image at a close interval.

상기 이미지 분할단계(S300)에서, 상기 제 1부분 이미지 그룹(30)을 구성하는 상기 기준 이미지(f1), 상기 제 1변환 이미지(i) 및 상기 복수개의 제 2부분 이미지(m1, m2)는 각각 상기 디스플레이부(2)에 출력될 수 있으나, 상기 사용자는 상기 제 1부분 이미지 그룹(30)이 분할된 형태로 표시되지 않고 마치 결합되어 표시된 것으로 인식할 수 있다. 도 3을 참조하면, 상기 이미지 분할단계(S300)는 상기 제 1변환 이미지(20)를 분할하여 상기 기준 이미지(f1), 상기 제 1변환 이미지(i) 및 상기 복수개의 제 2부분 이미지(m1, m2)를 생성하여 상기 제 1부분 이미지 그룹(30)을 구성하고, 상기 제 1부분 이미지 그룹(30)을 상기 메모리에 저장(도 3(c)) 할 수 있으며, 상기 디스플레이부(2)의 표시영역상에는 마치 상기 제 1부분 이미지 그룹(30)이 결합된 것처럼 표시(도 3(d))할 수 있다. 하지만 상기 디스플레이부(2)에 표시된 상기 제 1부분 이미지 그룹(30)은 상기 제 1부분 이미지 그룹(30)을 구성하는 상기 기준 이미지(f1), 상기 제 1변환 이미지(i) 및 상기 복수개의 제 2부분 이미지(m1, m2)가 각각 표시된 것이며, 상기 사용자는 상기 제 1부분 이미지 그룹(30)이 분할된 상기 기준 이미지(f1), 상기 제 1변환 이미지(i) 및 상기 복수개의 제 2부분 이미지(m1, m2)로 구성된 것을 인식하지 못하고 마치 결합된 하나의 것으로 인식할 수 있다. 이는 상기 사용자의 편의 및 편집의 용이성을 고려한 것일 수 있다.In the image segmentation step S300, the reference image f1, the first transformed image i, and the plurality of second partial images m1, m2, which constitute the first partial image group 30, Can be output to the display unit 2, but the user can recognize that the first partial image group 30 is not displayed in a divided form, but is displayed in a combined manner. Referring to FIG. 3, the image segmenting step S300 includes dividing the first transformed image 20 to obtain the reference image f1, the first transformed image i, and the plurality of second partial images m1 the first partial image group 30 and the second partial image group 30 may be stored in the memory by using the first partial image group 30 and the second partial image group 30, (FIG. 3 (d)) as if the first partial image group 30 were combined on the display region of the first partial image group 30. FIG. However, the first partial image group 30 displayed on the display unit 2 includes the reference image f1 constituting the first partial image group 30, the first transformed image i, The first partial image group 30 is divided into the reference image f1 divided into the first converted image i and the second divided image m2, It can be recognized as a combined one without recognizing that it is composed of partial images (m1, m2). This may be considering the convenience of the user and the ease of editing.

여기서, 상기 기준 이미지(f1)는, 상기 제 1변환 이미지(i) 및 상기 복수개의 제 2부분 이미지(m1, m2)가 상기 디스플레이부(2) 상에 표시된 이미지 상에 중첩되어 표시될 수 있으며, 상기 제 1변환 이미지(i)상에 표시된 사람 이미지 중 얼굴 부분에 상기 기준 이미지(f1)에 표시된 사람의 얼굴 부분이 중첩되게 하여 표시할 수 있다. 하지만, 상기 이미지 분할단계(S300)에서는, 전술한 바와 같이 상기 제 1변환 이미지(i) 및 상기 복수개의 제 2부분 이미지(m1, m2)가 상기 디스플레이부(2) 상에 표시된 이미지 상에 상기 기준 이미지(f1)를 표시한다고 해도, 상기 제 1부분 이미지(i) 및 상기 기준 이미지(f1)에서 사람 얼굴 부분의 모양 및 크기는 변함이 없으므로, 상기 제 1변환 이미지(i) 및 상기 복수개의 제 2부분 이미지(m1, m2)가 상기 디스플레이부(2) 상에 표시된 이미지 상에 상기 기준 이미지(f1)를 중첩되게 표시하지 않고, 상기 제 1변환 이미지(i) 및 상기 복수개의 제 2부분 이미지(m1, m2) 만을 상기 디스플레이부(2)에 표시할 수 있다.Here, the reference image f1 may be displayed so that the first transformed image i and the plurality of second partial images m1, m2 are superimposed on the image displayed on the display unit 2 , The face portion of the person image displayed on the first converted image (i) can be displayed so as to overlap the face portion of the person displayed in the reference image f1. However, in the image segmenting step S300, the first transformed image i and the plurality of second partial images m1 and m2 are displayed on the image displayed on the display unit 2, The shape and size of the human face portion in the first partial image i and the reference image f1 do not change even if the reference image f1 is displayed, The first partial image m1 and the second partial image m1 do not overlap the reference image f1 on the image displayed on the display unit 2, Only the images m1 and m2 can be displayed on the display unit 2. [

여기서, 상기 기준 이미지(f1)는 상기 기준영역(a)을 구성하는 적어도 하나 이상의 점과 접촉하고 상기 기준영역(a)을 내측에 포함하는 사각형 형태의 기준구역이 분할되어 형성된 것일 수 있다.Here, the reference image f1 may be formed by dividing a rectangular reference area in contact with at least one point constituting the reference area a and including the reference area a inside.

도 4는 본 발명의 일 실시예에 따른 기준 이미지의 생성을 도시한다.4 illustrates generation of a reference image in accordance with an embodiment of the present invention.

도 4를 참조하면, 상기 디스플레이부(2) 상에 표시된 제 1부분 이미지(30) 중 상기 제 1부분 이미지(i)가 표시하는 얼굴 부분에 상기 기준구역(a)이 표시되고, 상기 기준구역(a)의 외측에 상기 제 1 부분 이미지(i)와 평행하고 상기 기준구역(a)과 접촉하는 4개의 변으로 이루어진 사각형 형태의 기준구역(b)이 조성될 수 있다(b). 여기서, 상기 기준영역(a)을 포함하고 있는 상기 기준구역(b)이 분할된 상기 기준 이미지(f1)가 생성될 수 있다. 상기 기준구역(b)은 상기 제 1부분 이미지(i) 중 상기 기준 이미지(f1)을 분할하여 생성하기 위한 가상의 구역이며, 따라서 상기 디스플레이부(2)에 표시되지 않을 수 있으며, 상기 기준구역(b)이 분할되어 생성된 상기 기준 이미지(f1)가 디스플레이부(2)에 출력될 때, 상기 기준영역(a) 및 상기 기준구역(b)은 표시되지 않고, 상기 기준구역(b)에 포함된 얼굴 부분을 포함한 이미지만 표시될 수 있다.4, the reference area (a) is displayed on the face part displayed by the first partial image (i) among the first partial images (30) displayed on the display part (2) (b) a rectangular reference zone (b) having four sides outside the first partial image (a) and in parallel with the first partial image (i) and in contact with the reference zone (a). Here, the reference image (f1) in which the reference region (b) including the reference region (a) is divided may be generated. The reference zone b is a virtual zone for generating the reference image f1 of the first partial image i by dividing it and may therefore not be displayed on the display unit 2, the reference area a and the reference area b are not displayed when the reference image f1 generated by dividing the reference area b is output to the display unit 2, Only images containing the included face part can be displayed.

다음으로, 상기 이미지 가변단계(S400)는 상기 제 1부분 이미지 그룹(30) 중 상기 제 1부분 이미지(i) 및 상기 기준 이미지(f1)를 가로방향으로 소정의 비율만큼 수축 또는 신장하여 가변 부분 이미지(s) 및 가변 기준 이미지(f2)를 생성하며, 상기 가변 부분 이미지(s), 상기 가변 기준 이미지(f2) 및 상기 복수개의 제 2부분 이미지(m1, m2)로 구성된 제 2부분 이미지 그룹(35)을 상기 디스플레이부(2)에 출력할 수 있다.Next, the image variable step S400 may contract or extend the first partial image (i) and the reference image (f1) of the first partial image group 30 by a predetermined ratio in the horizontal direction, And a second partial image group consisting of the variable partial image (s), the variable reference image (f2) and the plurality of second partial images (m1, m2), and generating an image (s) (35) to the display unit (2).

여기서, 상기 이미지 가변단계(S400)는 상기 제 1부분 이미지 그룹(30) 중 상기 제 1부분 이미지(i)가 가로방향으로 소정의 비율만큼 수축되거나 신장되어 상기 가변 부분 이미지(s)를 생성하기 전에, 상기 기준 이미지(f1)를 신장 변형하여 신장 기준 이미지(f'1)를 생성하거나, 수축 변형하여 수축 기준 이미지(f"1)를 생성하는 워핑단계(S450)를 더 포함할 수 있다.Herein, the image variable step S400 may be performed such that the first partial image i of the first partial image group 30 is contracted or elongated by a predetermined ratio in the horizontal direction to generate the variable partial image s The method may further include a warping step (S450) of generating the contraction reference image (f "1) by stretching the reference image (f1) to generate or shrinkage the extension reference image (f'1).

도 5는 본 발명의 일 실시예에 따른 제 1부분 이미지 및 기준 이미지의 수축을 도시한다.Figure 5 illustrates contraction of a first partial image and a reference image in accordance with an embodiment of the present invention.

도 5를 참조하여, 상기 이미지 가변단계(S400)에서 상기 제 1부분 이미지 그룹(30) 중 상기 제 1부분 이미지(i)가 가로방향으로 소정의 비율만큼 수축되어 상기 가변 부분 이미지(s)를 생성하기 전에, 상기 기준 이미지(f1)를 신장 변형하여 신장 기준 이미지(f'1)를 생성하는 워핑단계(S450)에 대해 살펴보기로 한다.Referring to FIG. 5, in the image variable step S400, the first partial image (i) of the first partial image group 30 is contracted in a horizontal direction by a predetermined ratio to form the variable partial image (s) Before generation, the warping step S450 of generating the extension reference image f'1 by stretching the reference image f1 will be described.

상기 워핑단계(S450)는, 상기 제 1부분 이미지 그룹(30) 중 상기 제 1부분 이미지(i)가 가로 방향으로 소정 비율만큼 수축될 경우, 상기 제 1부분 이미지(i)가 수축되기 전에, 상기 기준 이미지(f1)를 신장 변형하여 신장 기준 이미지(f'1)를 생성(도 5(b))할 수 있으며, 상기 제 1부분 이미지(i), 상기 신장 기준 이미지(f'1) 및 상기 복수개의 제 2부분 이미지(m1, m2)는 상기 제 1부분 이미지 그룹을 구성할 수 있다. 여기서, 상기 기준 이미지(f1)는 테두리 부분은 변형되지 않고 상기 기준 이미지(f1)의 내측에 표시된 이미지만 변형될 수 있다. 따라서 상기 기준 이미지(f1)가 신장 변형되어 신장 기준 이미지(f'1)가 생성되어도 전체적인 크기는 변하지 않고 오로지 상기 기준 이미지(f1)가 표시하는 내측의 영역만 신장되어 표시될 수 있다.The warping step S450 may include a step of, when the first partial image i of the first partial image group 30 is contracted by a predetermined ratio in the horizontal direction, before the first partial image i is contracted, 5 (b)), and the first partial image (i), the extension reference image (f'1), and the second reference image The plurality of second partial images m1 and m2 may constitute the first partial image group. Here, the reference image f1 may be deformed only in the image displayed inside the reference image f1 without deforming the rim portion. Therefore, even if the reference image f1 is elongated and the extension reference image f'1 is generated, the entire size does not change, and only the inner region displayed by the reference image f1 can be extended and displayed.

구체적으로, 상기 워핑단계(S450)는, 상기 기준 이미지(f1)를 신장하여 상기 신장 기준 이미지(f'1)를 생성할 때, 상기 기준 이미지(f1)가 표시하는 이미지를 상하로 수축되게, 그리고 좌우로 신장되게 변형하여 상기 신장 기준 이미지(f'1)를 생성할 수 있다. 상기 신장 기준 이미지(f'1)는 상기 기준 이미지(f1)가 수축되게, 그리고 신장되게 변형되어 생성되지만, 상기 신장 기준 이미지(f'1)로 명칭을 붙인 이유는, 상기 기준 이미지(f1)는 상기 제 1부분 이미지(i)가 좌우로 수축 또는 신장되어 가변되는 것과 반대로 좌우로 신장 또는 수축되는 변형을 하기 때문에, 상기 제 1부분 이미지(i)가 좌우로 가변되는 방향을 기준으로 하여 반대로 가변되는 방향에 중점을 두어 명칭을 붙였기 때문이다.More specifically, the warping step S450 may include a step of expanding the reference image f1 to generate the extension reference image f'1, the image displayed by the reference image f1 being contracted up and down, And can be deformed laterally to generate the elongation reference image f'1. The reference image f'1 is generated because the reference image f1 is contracted and elongated. The reason why the reference image f'1 is named as the reference image f'1 is that the reference image f ' Since the first partial image (i) undergoes a deformation that stretches or contracts to the left or to the right as opposed to the first partial image (i) being contracted or elongated to the left or to the right, This is because they are named with emphasis on the variable direction.

이어서, 상기 신장 기준 이미지(f'1)는 상기 제 1부분 이미지(i)상에 중첩될 수 있다(도 5(c)). 따라서, 상기 제 1부분 이미지(i)상에 표시되었던 사람 이미지 중 얼굴 부분은, 그 자리에 상기 신장 기준 이미지(f'1)가 표시됨으로써 가려져 사라지게 되며, 상기 제 1부분 이미지(i)의 사람 이미지에서 표시되었던 얼굴 부분이, 기존에 형상보다, 좌우로 신장되고 상하로 수축된 형태가 될 수 있다.The stretch reference image f'1 may then be superimposed on the first partial image i (Fig. 5 (c)). Thus, the face portion of the human image that has been displayed on the first partial image (i) is obscured by the display of the extension reference image (f'1) in its place, and the face of the person The face portion displayed in the image may be a shape that is elongated to the left and right and contracted up and down rather than the existing shape.

다음으로, 상기 제 1부분 이미지(i) 및 상기 제 1부분 이미지(i) 상에 중첩된 상기 신장 기준 이미지(f'1)를 가로방향으로 소정의 비율만큼 수축하여, 상기 가변 부분 이미지(s) 및 상기 가변 부분 이미지(s)상에 중첩된 상기 가변 기준 이미지(f2)를 생성(도 5(d))할 수 있으며, 상기 가변 부분 이미지(s), 상기 가변 부분 이미지(s) 및 상기 복수개의 제 2부분 이미지(m1, m2)로 구성된 상기 제 2부분 이미지 그룹(35)을 상기 디스플레이부(2)에 출력할 수 있다.Next, the first partial image (i) and the extension reference image (f'1) superimposed on the first partial image (i) are contracted in the horizontal direction by a predetermined ratio, and the variable partial image s ) And the variable reference image f2 superimposed on the variable portion image s (Fig. 5 (d)), and the variable portion image s, the variable portion image s, It is possible to output the second partial image group 35 composed of the plurality of second partial images m1 and m2 to the display unit 2. [

이에 따라, 이미지 가변단계(S400)에서 상기 제 1부분 이미지(i) 및 상기 기준 이미지(f1)를 가로방향으로 수축하기 전에, 상기 기준 이미지(f1)를 좌우로 신장시키고, 상하로 수축시킴으로써, 상기 기준 이미지(f1)를 좌우로 수축하였을 때, 상기 기준 이미지(f1)에 표시된 얼굴 부분이 좌우로 수축되어 길쭉해지는 왜곡현상을 방지하여, 수축되더라도 기존의 자연스러운 형태를 유지하여 수축할 수 있다.Accordingly, before the first partial image (i) and the reference image (f1) are contracted in the horizontal direction in the image variable step (S400), the reference image (f1) is stretched laterally and contracted up and down, When the reference image f1 is contracted to the left or right, the face portion displayed on the reference image f1 is contracted to the left or to the right to prevent the distortion of the image, and even if the reference image f1 is contracted, the existing natural shape can be maintained and shrunk.

도 6은 본 발명의 일 실시예에 따른 제 1부분 이미지 및 기준 이미지의 신장을 도시한다.Figure 6 illustrates elongation of a first partial image and a reference image in accordance with an embodiment of the present invention.

본 발명의 일 실시예에 따른 이미지 재조정 방법은 얼굴이 포함된 사람 이미지의 자연스러운 수축을 통해, 더욱 날씬한 사람 이미지를 얻는 것이 주된 목적이나, 사용자의 의도에 따라 더욱 뚱뚱한 사람 이미지를 얻을 수 도 있기 때문에, 사람 이미지의 자연스러운 신장을 설명하도록 한다.The image re-adjustment method according to an embodiment of the present invention is mainly intended to obtain a slimmer human image through natural shrinkage of a human image including a face, but a fat human image can be obtained according to a user's intention Describe the natural height of the human image.

도 6를 참조하여, 상기 이미지 가변단계(S400)에서 상기 제 1부분 이미지 그룹(30) 중 상기 제 1부분 이미지(i)가 가로방향으로 소정의 비율만큼 신장되어 상기 가변 부분 이미지(s)를 생성하기 전에, 상기 기준 이미지(f1)를 수축 변형하여 수축 기준 이미지(f"1)를 생성하는 워핑단계(S450)에 대해 살펴보기로 한다.Referring to FIG. 6, in the image variable step S400, the first partial image (i) of the first partial image group 30 is extended in a horizontal direction by a predetermined ratio to form the variable partial image (s) A warping step S450 of generating a contraction reference image f "1 by contracting and deforming the reference image f1 will be described.

상기 워핑단계(S450)는, 상기 제 1부분 이미지 그룹(30) 중 상기 제 1부분 이미지(i)가 가로 방향으로 소정 비율만큼 신장될 경우, 상기 제 1부분 이미지(i)가 신장되기 전에, 상기 기준 이미지(f1)를 수축 변형하여 수축 기준 이미지(f"1)를 생성(도 6(b))할 수 있으며, 상기 제 1부분 이미지(i), 상기 수축 기준 이미지(f"1) 및 상기 복수개의 제 2부분 이미지(m1, m2)는 상기 제 1부분 이미지 그룹을 구성할 수 있다. 여기서, 상기 기준 이미지(f1)는 테두리 부분은 변형되지 않고 상기 기준 이미지(f1)의 내측에 표시된 이미지만 변형될 수 있다. 따라서 상기 기준 이미지(f1)가 수축 변형되어 수축 기준 이미지(f"1)가 생성되어도 전체적인 크기는 변하지 않고 오로지 상기 기준 이미지(f1)가 표시하는 내측의 영역만 수축되어 표시될 수 있다.The warping step S450 may be performed before the first partial image i is stretched when the first partial image i of the first partial image group 30 is stretched by a predetermined ratio in the horizontal direction, The first partial image i, the contraction reference image f "1 and the contraction reference image f" 1 may be generated by contraction and deformation of the reference image f1, The plurality of second partial images m1 and m2 may constitute the first partial image group. Here, the reference image f1 may be deformed only in the image displayed inside the reference image f1 without deforming the rim portion. Therefore, even if the reference image f1 is shrunk and deformed to generate the shrinkage reference image f '1, the entire size does not change, and only the inner region displayed by the reference image f1 can be contracted and displayed.

구체적으로, 상기 워핑단계(S450)는, 상기 기준 이미지(f1)를 수축하여 상기 수축 기준 이미지(f"1)를 생성할 때, 상기 기준 이미지(f1)가 표시하는 이미지를 상하로 신장되게, 그리고 좌우로 수축되게 변형하여 상기 수축 기준 이미지(f"1)를 생성할 수 있다.Specifically, in the warping step S450, when the shrinkage reference image f '1 is generated by shrinking the reference image f1, the image displayed by the reference image f1 is stretched up and down, Then, the contraction reference image (f "1) can be generated by being deformed to be contracted to the left and right.

이어서, 상기 수축 기준 이미지(f"1)는 상기 제 1부분 이미지(i)상에 중첩될 수 있다(도 6(c)). 따라서, 상기 제 1부분 이미지(i)상에 표시되었던 사람 이미지 중 얼굴 부분은, 그 자리에 상기 수축 기준 이미지(f"1)가 표시됨으로써 가려져 사라지게 되며, 상기 제 1부분 이미지(i)의 사람 이미지에서 표시되었던 얼굴 부분이, 기존에 형상보다, 좌우로 수축되고 상하로 신장된 형태가 될 수 있다.6 (c)). Thus, the shrinking reference image f "1 can be superimposed on the first partial image i (FIG. 6 (c) The face portion of the first partial image i is hidden by the display of the shrinkage reference image (f "1) on its place, and the face portion displayed in the human image of the first partial image (i) And can be formed into an elongated shape.

다음으로, 상기 제 1부분 이미지(i) 및 상기 제 1부분 이미지(i) 상에 중첩된 상기 수축 기준 이미지(f"1)를 가로방향으로 소정의 비율만큼 수축하여, 상기 가변 부분 이미지(s) 및 상기 가변 부분 이미지(s)상에 중첩된 상기 가변 기준 이미지(f2)를 생성(도 6(d))할 수 있으며, 상기 가변 부분 이미지(s), 상기 가변 부분 이미지(s) 및 상기 복수개의 제 2부분 이미지(m1, m2)로 구성된 상기 제 2부분 이미지 그룹(35)을 상기 디스플레이부(2)에 출력할 수 있다.Next, the first partial image (i) and the contraction reference image (f "1) superimposed on the first partial image (i) are contracted in the horizontal direction by a predetermined ratio, ) And the variable reference image f2 superimposed on the variable portion image s (Fig. 6 (d)), and the variable portion image s, the variable portion image s, It is possible to output the second partial image group 35 composed of the plurality of second partial images m1 and m2 to the display unit 2. [

이에 따라, 이미지 가변단계(S400)에서 상기 제 1부분 이미지(i) 및 상기 기준 이미지(f1)를 가로방향으로 신장하기 전에, 상기 기준 이미지(f1)를 좌우로 수축시키고, 상하로 신장시킴으로써, 상기 기준 이미지(f1)를 좌우로 신장하였을 때, 상기 기준 이미지(f1)에 표시된 얼굴 부분이 좌우로 신장되어 넓적해지는 왜곡현상을 방지하여, 신장되더라도 기존의 자연스러운 형태를 유지하여 신장할 수 있다.Accordingly, in the image variable step S400, before the first partial image (i) and the reference image (f1) are stretched in the horizontal direction, the reference image (f1) is contracted to the left and right and stretched upward and downward, When the reference image f1 is stretched to the left and right, the face portion displayed on the reference image f1 is stretched to the left and right to prevent a distortion phenomenon that is enlarged, and the stretched image can be maintained while maintaining the existing natural shape even if stretched.

상기 워핑단계(S450)는, 상기 기준 이미지상(f1)에 가상의 격자구조를 형성시키며, 상기 기준 이미지(f1)에서 상기 격자구조를 구성하는 복수개의 격자점에 대응되는 상기 기준 이미지의 픽셀들을 이동시켜 상기 기준 이미지(f1)를 변형할 수 있다. 상기 픽셀들 각각의 이동 거리는 상기 중심점과 상기 픽셀들 각각의 이격 거리에 따라 상이하며, 상기 이격 거리가 더 클수록 상기 이동 거리가 커진다. 즉, 상기 기준 이미지의 중심점에서 멀리 떨어진 픽셀의 이동거리가 상기 기준 이미지의 중심점에서 더 가까운 픽셀의 이동거리보다 더 크다. In the warping step S450, a virtual lattice structure is formed on the reference image f1, and the pixels of the reference image corresponding to a plurality of lattice points constituting the lattice structure in the reference image f1 So that the reference image f1 can be transformed. The moving distance of each of the pixels differs depending on the distance between the center point and each of the pixels, and the moving distance becomes larger as the distance is larger. That is, the moving distance of the pixel far from the center point of the reference image is larger than the moving distance of the pixel closer to the center point of the reference image.

도 7는 본 발명의 일 실시예에 따른 기준 이미지의 변형을 도시한다.Figure 7 illustrates a variation of a reference image in accordance with an embodiment of the present invention.

도 7을 참조하면, 상기 워핑단계(S450)는, 상기 기준 이미지(f1) 상에 가상의 격자구조(g)를 생성(도 7 (a))시키며, 상기 기준 이미지(f1)에서 상기 격자구조(g)를 구성하는 복수개의 격자점(gp)에 해당하는 픽셀들을 상기 기준 이미지(f1)가 수축 또는 신장되는 방향과 수직한 방향으로 상기 기준 이미지(f1)의 중심점(p)과 가까워지게 이동(도 7 (b))시키고, 상기 기준 이미지(f1)가 신장되는 방향과 동일한 상방향으로 상기 기준 이미지의 중심점(p)과 멀어지게 이동(도 7 (c))시켜서, 상기 기준 이미지를 신장 변형하여 상기 신장 기준 이미지(f'1)를 생성(도 7 (d))할 수 있다.Referring to FIG. 7, the warping step S450 generates a virtual lattice structure g on the reference image f1 (FIG. 7 (a)). In the reference image f1, (p) of the reference image f1 in a direction perpendicular to the direction in which the reference image f1 contracts or elongates, pixels corresponding to a plurality of grid points gp constituting the reference image f1, (Fig. 7 (b)) and moves away from the center point p of the reference image in the same upward direction as the direction in which the reference image f1 is stretched (Fig. 7 (c) (Fig. 7 (d)) by modifying the stretched reference image f'1.

여기서, 상기 워핑단계(S450)는 상기 기준 이미지(f1)의 테두리에 해당하는 상기 격자점들은 이동시키지 않고 고정시키며, 상기 테두리 내의 상기 격자점들을 이동시켜서 상기 기준 이미지(f1)를 변형할 수 있다.The warping step S450 may fix the grid points corresponding to the rim of the reference image f1 without moving them and move the grid points in the rim to deform the reference image f1 .

전술한 바에 따르면 상기 워핑단계(S450)는, 상기 기준 이미지(f1)에서 상기 격자점(gp)에 해당하는 픽셀들을 상기 기준 이미지(f1)가 수축 또는 신장되는 방향과 수직한 방향으로 상기 기준 이미지(f1)의 중심점(p)과 가까워지게 이동시킨 후에, 상기 기준 이미지(f1)가 신장되는 방향과 동일한 상방향으로 상기 기준 이미지의 중심점(p)과 멀어지게 이동시키는 순서로, 상기 기준 이미지(f1)를 신장 변형하여 상기 신장 기준 이미지(f'1)를 생성하지만, 그 순서는 변경될 수 있으며, 또한 동시에 일어날 수도 있다.The warping step S450 may include shifting the pixels corresponding to the grid point gp in the reference image f1 to the reference image f1 in the direction perpendicular to the direction in which the reference image f1 is contracted or elongated, (p) of the reference image (f1) after the reference image (f1) is moved closer to the center point (p) of the reference image (f1) f1) to produce the elongation reference image (f'1), but the order may change and may also occur at the same time.

그리고, 상기 워핑단계(S450)는, 상기 기준 이미지(f1) 상에 가상의 격자구조(g)를 생성시키며, 상기 기준 이미지(f1)에서 상기 격자구조(g)를 구성하는 복수개의 격자점(gp)에 해당하는 픽셀들을 상기 기준 이미지(f1)가 수축 또는 신장되는 방향과 수직한 방향으로 상기 기준 이미지(f1)의 중심점(p)과 멀어지게 이동시키고, 상기 기준 이미지(f1)가 신장되는 방향과 동일한 상방향으로 상기 기준 이미지의 중심점(p)과 가까워지게 이동시켜서, 상기 기준 이미지를 수축 변형하여 상기 수축 기준 이미지(f"1)를 생성할 수 있다.The warping step S450 generates a virtual lattice structure g on the reference image f1 and generates a plurality of lattice points constituting the lattice structure g in the reference image f1 gp are moved away from the center point p of the reference image f1 in a direction perpendicular to the direction in which the reference image f1 contracts or elongates and the reference image f1 is stretched The reference image can be contracted and deformed to generate the contraction reference image f "1 by moving the reference image in the same upward direction as the center point p of the reference image.

다음으로, 상기 이미지 가변단계(S400)는 상기 제 1변환 이미지(i) 및 상기 기준 이미지(f1)의 수축 정도를 상기 사용자의 입력에 따라 결정할 수 있다.Next, the image variable step S400 may determine the degree of contraction of the first transformed image i and the reference image f1 according to the input of the user.

도 8은 본 발명의 일 실시예에 따른 이미지 가변단계에서 사용자의 입력에 따라 신장량 또는 수축량이 조절되어 가변된 제 2부분 이미지 그룹을 디스플레이의 출력상태로 도시한다.FIG. 8 illustrates a second partial image group in which an amount of expansion or contraction is adjusted according to a user's input in an image variable step according to an exemplary embodiment of the present invention, as an output state of a display.

도 8을 참조하면, 상기 사용자는 상기 디스플레이부(2) 상에 표시된 가변 조절 표시(135)를 상기 디스플레이부(2)의 좌우 방향으로 드래그 하여 상기 제 1부분 이미지 그룹(30) 중 일부를 신장하거나 수축할 수 있다. 구체적으로, 도 8(a) 내지 도 8(c)를 참조하여 살펴보면, 상기 가변 조절 표시(135)는 상기 디스플레이부(2) 상에 가로 방향으로 위치하는 가변바(130)상에서 상기 사용자의 드래그에 따라 우측으로 이동하며, 상기 가변 조절 표시(135)가 우측으로 이동하는 비율에 따라서 상기 제 1부분 이미지(i) 및 상기 신장 기준 이미지(f'1)가 수축될 수 있다. 반대로, 도 8(d)를 참조하여 살펴보면, 상기 가변 조절 표시(135)가 상기 디스플레이부(2) 상에서 상기 사용자의 드래그에 따라 좌측으로 이동할 경우, 상기 가변 조절 표시(135)가 좌측으로 이동하는 비율에 따라서 상기 제 1부분 이미지(i) 및 상기 수축 기준 이미지(f"1)가 신장될 수 있다.8, the user drags the variable adjustment display 135 displayed on the display unit 2 in the left and right directions of the display unit 2 to extend a part of the first partial image group 30 Or shrink. 8 (a) to 8 (c), the variable adjustment display 135 displays the user's drag on the variable bar 130 positioned on the display unit 2 in the horizontal direction, , And the first partial image (i) and the extension reference image (f'1) may be retracted according to the rate at which the variable adjustment indicator 135 moves to the right. 8 (d), when the variable adjustment indicator 135 moves to the left according to the drag of the user on the display unit 2, the variable adjustment indicator 135 moves to the left The first partial image (i) and the contraction reference image (f "1) may be stretched according to the ratio.

이어서, 상기 이미지 합성단계(S500)는 상기 전자장치를 사용하는 사용자의 입력에 따라 상기 제 2부분 이미지 그룹(35)을 결합하여 상기 가변 이미지(40)를 생성할 수 있으며, 상기 가변 이미지(40)를 상기 메모리에 저장하고 상기 디스플레이부(2)에 표시할 수 있다.Subsequently, the image synthesis step S500 may combine the second partial image group 35 according to an input of a user using the electronic device to generate the variable image 40, and the variable image 40 ) Can be stored in the memory and displayed on the display unit (2).

도 9는 본 발명의 일 실시예에 따른 가변 이미지의 생성을 도시한다.Figure 9 shows the generation of a variable image according to an embodiment of the present invention.

도 9를 참조하면, 상기 이미지 합성단계(S500)는 상기 사용자가 상기 디스플레이부(2) 상에 표시된 확인 표시(140)을 터치하면 상기 제 2부분 이미지 그룹(35)을 결합하여 상기 제 1가변 이미지(40)를 생성하고, 상기 가변 이미지(40)를 상기 디스플레이부(2)에 표시하고, 상기 가변 이미지(40)가 표시된 상기 디스플레이부(2) 상에 상기 이미지 분할단계(S300)에서 표시되었던 상기 복수개의 기준선(l1, l2) 및 상기 기준영역(a)을 표시할 수 있다.Referring to FIG. 9, in the image synthesis step S500, when the user touches the confirmation mark 140 displayed on the display unit 2, the second partial image group 35 is combined with the first variable (40) is displayed on the display unit (2), and the variable image (40) is displayed on the display unit (2) displayed in the image dividing step (S300) The plurality of reference lines (11, 12) and the reference area (a), which have been displayed, can be displayed.

이상에서, 본 발명의 일 실시예에 따른 이미지 재조정 방법(1000)에 대해서 살펴보았다. In the foregoing, an image re-adjustment method 1000 according to an exemplary embodiment of the present invention has been described.

전술한 이미지 재조정 방법(1000)은 상기 이미지 재조정 방법(1000)을 진행함에 있어서, 상기 이미지 가변단계(S400)에서, 상기 기준 이미지(f1)를 수축 또는 신장하여 상기 가변 기준 이미지(f2)를 생성하기 전에, 상기 기준 이미지(i)가 수축 또는 신장되어 가변 되는 것과 반대로 신장 또는 수축되는 변형을 하여, 상기 신장 기준 이미지(f'1) 또는 수축 기준 이미지(f"1)를 생성하는 워핑단계(S450)를 더 포함하는 것을 살펴보았다.In the image resampling method 1000, the image reshaping method 1000 may further include generating the variable reference image f2 by contraction or extension of the reference image f1 in the image variable step S400 (F '1) or a contraction reference image (f' 1) by performing a stretching or contracting deformation, as opposed to the reference image (i) S450). ≪ / RTI >

하지만, 상기 워핑단계(S450)는 상기 제 1부분 이미지(i) 및 상기 기준 이미지(f1)가 가변됨에 따라 발생하는 상기 기준 이미지(f1)가 표시하는 사람 이미지 중 얼굴 부분이 왜곡되어 부자연스러운 결과물을 얻게되는 문제점을 방지하기 위함이기 때문에, 상기 워핑단계(S450)는 다른 방법으로도 상기 이미지 재조정 방법(1000)에 적용될 수 있다.However, in the warping step S450, the face portion of the human image displayed by the first partial image (i) and the reference image f1 generated as the reference image f1 is varied may distort the unnatural result The warping step S450 may be applied to the image re-adjustment method 1000 by other methods as well.

이하에서는 본 발명에 따른 다른 실시예의 워핑단계(S450)를 포함한 이미지 재조정 방법(1000)을 살펴본다.Hereinafter, an image re-adjustment method 1000 including a warping step S450 according to another embodiment of the present invention will be described.

본 발명에 따른 다른 실시예의 워핑단계(S450)를 포함한 이미지 재조정 방법(1000)은 이미지 로딩단계(S100), 이미지 변환단계(S200), 이미지 분할단계(S300), 이미지 가변단계(S400) 및 이미지 합성단계(S500)를 포함할 수 있다.An image re-adjustment method 1000 including warping step S450 of another embodiment according to the present invention includes an image loading step S100, an image transformation step S200, an image segmentation step S300, an image variable step S400, Synthesis step S500.

상기 이미지 로딩단계(S100) 및 상기 이미지 변환단계(S200)는 전술한 첫번째 실시예와 동일하므로, 그 자세한 설명을 생략한다.Since the image loading step S100 and the image converting step S200 are the same as the first embodiment, a detailed description thereof will be omitted.

도 10은 본 발명의 다른 실시예에 따른 제 1변환 이미지의 분할을 도시한다.Figure 10 shows a segmentation of a first transformed image according to another embodiment of the present invention.

도 10을 참조하면, 상기 이미지 분할단계(S300)는 상기 디스플레이부(2) 상에 복수개의 기준선(l1, l2)과 상기 사람 이미지 중 일부분을 포함하는 기준영역(a)을 표시할 수 있다. 구체적으로, 상기 이미지 분할단계(S300)는 두 개의 기준선(l1, l2)을 상기 디스플레이부(2) 상에 표시할 수 있으며, 상기 두 개의 기준선(l1, l2) 사이에 상기 사람의 이미지가 표시되도록 위치시킬 수 있다. 또한, 상기 두 개의 기준선(l1, l2) 사이에 위치하여 표시된 상기 사람 이미지의 얼굴 부분에 상기 기준영역(a)을 위치시켜, 상기 기준영역을 포함하여 사람 이미지 중 얼굴 부분이 표시되는 기준 이미지(f1)를 생성하고, 상기 제 1변환 이미지(20)를 상기 두 개의 기준선(l1, l2)을 기준으로 분할하여 상기 기준영역을 포함하는 제 1부분 이미지 (i) 및 상기 기준영역을 포함하지 않는 복수개의 제 2부분 이미지(m1, m2)를 생성할 수 있다. 여기서, 상기 기준 이미지(f1), 상기 제 1변환 이미지(i) 및 상기 복수개의 제 2부분 이미지(m1, m2)는 제 1부분 이미지 그룹(30)으로 구성될 수 있으며, 상기 제 1부분 이미지 그룹(30)은 상기 메모리에 저장될 수 있다.Referring to FIG. 10, the image segmentation step S300 may display a plurality of reference lines 11 and 12 on the display unit 2 and a reference area a including a part of the human image. Specifically, the image segmenting step S300 may display two reference lines 11 and 12 on the display unit 2, and the image of the person is displayed between the two reference lines 11 and 12 Respectively. In addition, the reference region (a) is positioned on the face portion of the human image displayed between the two reference lines (11, 12), and a reference image (i) dividing the first transformed image (20) with respect to the two reference lines (11, 12) to generate a first partial image (i) including the reference region and a second partial image A plurality of second partial images m1 and m2 may be generated. Here, the reference image f1, the first transformed image i, and the plurality of second partial images m1, m2 may be composed of a first partial image group 30, The group 30 may be stored in the memory.

상기 기준선(l1, l2)은 일부에 기준선 조절표시(110)을 포함하여 상기 디스플레이부(2) 상에 표시될 수 있다. 상기 기준선(l1, l2)은 상기 디스플레이부(2)에 출력된 상기 제 1변환 이미지(20)의 세로 방향과 평행이 되도록 표시되며, 복수개의 상기 기준선(l1, l2)은 서로 이격되어 표시되고, 상기 전자장치를 사용하는 사용자의 입력에 따라 위치를 변경하여 표시될 수 있다. 도 10(a) 및 도 10(b)를 참조하면, 상기 사용자는 상기 복수개의 기준선(l1, l2) 각각에 포함된 상기 기준선 조절표시(11)를 드래그하여 상기 제 1변환 이미지(20)상의 원하는 위치에 상기 복수개의 기준선(l1, l2)의 위치를 결정할 수 있다.The reference lines 11 and 12 may be partially displayed on the display unit 2 including the reference line adjustment indication 110. The reference lines 11 and 12 are displayed so as to be parallel to the longitudinal direction of the first converted image 20 output to the display unit 2 and the plurality of reference lines 11 and 12 are displayed apart from each other , And may be displayed by changing the position according to the input of the user using the electronic device. 10 (a) and 10 (b), the user drags the reference line adjustment indication 11 included in each of the plurality of reference lines 11 and 12, The positions of the plurality of reference lines 11 and 12 can be determined at desired positions.

예를 들면, 도 10의 (b)에 도시된 바와 같이 사용자는 기준선(l1)을 상기 사람 이미지의 좌측 측면과 근접한 거리에 배치할 수 있으며, 기준선(l2)을 상기 사람 이미지의 우측 측면과 근접한 거리에 배치할 할 수 있다. 따라서, 두 개의 상기 기준선(l1, l2)사이에 상기 사람 이미지가 위치하여 표시될 수 있다.For example, as shown in FIG. 10 (b), the user may place the reference line 11 at a distance close to the left side of the human image, and the reference line 12 may be positioned close to the right side of the human image You can place it on the street. Therefore, the human image can be positioned and displayed between the two reference lines (11, 12).

또한, 상기 기준영역(a)은 일부에 기준영역 조절표시(115)를 포함하여 상기 디스플레이부(2) 상에 표시될 수 있다. 상기 기준영역(a)은 상기 디스플레이부(2)에 출력된 상기 제 1변환 이미지(20)상의 일부분에, 바람직하게는, 사람 이미지를 사이에 두고 표시된 인접한 두 개의 상기 기준선(l1, l2)사이에 표시될 수 있으며, 상기 전자장치를 사용하는 사용자의 입력에 따라 위치와 크기가 변경되어 표시될 수 있다. 도 10(a) 및 도 10(b)를 참조하면, 상기 사용자는 상기 기준영역(a)의 중심부를 드래그하여 상기 제 1변환 이미지(20)상의 원하는 위치에 상기 기준영역(a)을 위치시킬 수 있으며, 상기 기준영역(a)에 포함된 상기 기준영역 조절표시(115)를 상기 기준영역(a)의 중심부방향 또는 그 반대방향으로 드래그하여 상기 기준영역(a)을 원하는 크기로 축소시키거나 확대시킬 수 있다.Also, the reference area (a) may be displayed on the display unit 2 including a reference area adjustment indication 115 in part. The reference region a is preferably provided on a portion of the first transformed image 20 output to the display unit 2, preferably between two adjacent reference lines 11, 12, And may be displayed in a changed position and size according to a user's input using the electronic device. 10A and 10B, the user drags a center portion of the reference region a to position the reference region a at a desired position on the first transformed image 20 And dragging the reference area adjustment indication 115 included in the reference area a in the direction of the center of the reference area a or in the opposite direction to reduce the reference area a to a desired size Can be enlarged.

예를 들면, 도 10의 (b)에 도시된 바와 같이 사용자는 기준영역(a)의 중심부를 드래그하여, 상기 기준영역(a)을 상기 사람 이미지의 얼굴 부분에 배치할 수 있으며, 상기 기준영역 조절표시(115)를 드래그하여 상기 사람 이미지의 얼굴 부분을 근접한 간격으로 포함할 수 있도록 상기 기준영역(a)의 크기를 조절할 수 있다.For example, as shown in Fig. 10 (b), the user can drag the center portion of the reference region (a) to place the reference region (a) in the face portion of the human image, The size of the reference area (a) may be adjusted so that the adjustment indicator 115 may be dragged to include the face portion of the human image at a close interval.

상기 이미지 분할단계(S300)에서, 상기 제 1부분 이미지 그룹(30)을 구성하는 상기 기준 이미지(f1), 상기 제 1변환 이미지(i) 및 상기 복수개의 제 2부분 이미지(m1, m2)는 각각 상기 디스플레이부(2)에 출력될 수 있으나, 상기 사용자는 상기 제 1부분 이미지 그룹(30)이 분할된 형태로 표시되지 않고 마치 결합되어 표시된 것으로 인식할 수 있다. 도 10을 참조하면, 상기 이미지 분할단계(S300)는 상기 제 1변환 이미지(20)를 분할하여 상기 기준 이미지(f1), 상기 제 1변환 이미지(i) 및 상기 복수개의 제 2부분 이미지(m1, m2)를 생성하여 상기 제 1부분 이미지 그룹(30)을 구성하고, 상기 제 1부분 이미지 그룹(30)을 상기 메모리에 저장(도 10(c)) 할 수 있으며, 상기 디스플레이부(2)의 표시영역상에는 마치 상기 제 1부분 이미지 그룹(30)이 결합된 것처럼 표시(도 10(d))할 수 있다. 하지만 상기 디스플레이부(2)에 표시된 상기 제 1부분 이미지 그룹(30)은 상기 제 1부분 이미지 그룹(30)을 구성하는 상기 기준 이미지(f1), 상기 제 1변환 이미지(i) 및 상기 복수개의 제 2부분 이미지(m1, m2)가 각각 표시된 것이며, 상기 사용자는 상기 제 1부분 이미지 그룹(30)이 분할된 상기 기준 이미지(f1), 상기 제 1변환 이미지(i) 및 상기 복수개의 제 2부분 이미지(m1, m2)로 구성된 것을 인식하지 못하고 마치 결합된 하나의 것으로 인식할 수 있다. 이는 상기 사용자의 편의 및 편집의 용이성을 고려한 것일 수 있다.In the image segmentation step S300, the reference image f1, the first transformed image i, and the plurality of second partial images m1, m2, which constitute the first partial image group 30, Can be output to the display unit 2, but the user can recognize that the first partial image group 30 is not displayed in a divided form, but is displayed in a combined manner. 10, the image segmentation step S300 may divide the first transformed image 20 to obtain the reference image f1, the first transformed image i, and the plurality of second partial images m1 the first partial image group 30 and the second partial image group 30 can be stored in the memory 10 as shown in FIG. (FIG. 10 (d)) as if the first partial image group 30 were combined on the display region of the first partial image group 30. However, the first partial image group 30 displayed on the display unit 2 includes the reference image f1 constituting the first partial image group 30, the first transformed image i, The first partial image group 30 is divided into the reference image f1 divided into the first converted image i and the second divided image m2, It can be recognized as a combined one without recognizing that it is composed of partial images (m1, m2). This may be considering the convenience of the user and the ease of editing.

여기서, 상기 기준 이미지(f1)는, 상기 제 1변환 이미지(i) 및 상기 복수개의 제 2부분 이미지(m1, m2)가 상기 디스플레이부(2) 상에 표시된 이미지 상에 중첩되어 표시될 수 있으며, 더 자세하게는, 상기 제 1변환 이미지(i)상에 표시된 사람 이미지 중 얼굴 부분에 상기 기준 이미지(f1)에 표시된 사람의 얼굴 부분이 중첩되게 하여 표시할 수 있다. 이 경우, 상기 제 1변환 이미지(f1)에 포함된 기준구역(b)이 나타내는 이미지만 상기 디스플레이상에서 표시되며, 상기 투명구역(b)은 투명하므로 표시되지 아니한다.Here, the reference image f1 may be displayed so that the first transformed image i and the plurality of second partial images m1, m2 are superimposed on the image displayed on the display unit 2 , More specifically, the face portion of the person image displayed on the first converted image (i) can be displayed so that the face portion of the person displayed in the reference image f1 is superimposed on the face portion. In this case, only the image represented by the reference region (b) included in the first transformed image (f1) is displayed on the display, and the transparent region (b) is not displayed because it is transparent.

하지만, 상기 이미지 분할단계(S300)에서는, 전술한 바와 같이 상기 제 1변환 이미지(i) 및 상기 복수개의 제 2부분 이미지(m1, m2)가 상기 디스플레이부(2) 상에 표시된 이미지 상에 상기 기준 이미지(f1)를 표시한다고 해도, 상기 제 1부분 이미지(i) 및 상기 기준 이미지(f1)에서 사람 얼굴 부분의 모양 및 크기는 변함이 없으므로, 상기 제 1변환 이미지(i) 및 상기 복수개의 제 2부분 이미지(m1, m2)가 상기 디스플레이부(2) 상에 표시된 이미지 상에 상기 기준 이미지(f1)를 중첩되게 표시하지 않고, 상기 제 1변환 이미지(i) 및 상기 복수개의 제 2부분 이미지(m1, m2) 만을 상기 디스플레이부(2)에 표시할 수 있다.However, in the image segmenting step S300, the first transformed image i and the plurality of second partial images m1 and m2 are displayed on the image displayed on the display unit 2, The shape and size of the human face portion in the first partial image i and the reference image f1 do not change even if the reference image f1 is displayed, The first partial image m1 and the second partial image m1 do not overlap the reference image f1 on the image displayed on the display unit 2, Only the images m1 and m2 can be displayed on the display unit 2. [

여기서, 상기 기준 이미지(f1)는 상기 기준영역(a)을 구성하는 적어도 하나 이상의 점과 접촉하고 상기 기준영역(a)을 내측에 포함하는 사각형 형태의 기준구역이 분할되어 형성된 것일 수 있다.Here, the reference image f1 may be formed by dividing a rectangular reference area in contact with at least one point constituting the reference area a and including the reference area a inside.

도 11은 본 발명의 일 실시예에 따른 투명구역을 포함하는 기준 이미지의 생성을 도시한다.Figure 11 illustrates the generation of a reference image including a transparent region in accordance with an embodiment of the present invention.

도 11을 참조하면, 상기 디스플레이부(2) 상에 표시된 제 1부분 이미지(30) 중 상기 제 1부분 이미지(i)가 표시하는 얼굴 부분에 상기 기준구역(a)이 표시되고, 상기 기준구역(a) 외측에 상기 제 1부분 이미지(i)와 평행하고 상기 기준구역(a)과 접촉하는 4개의 변으로 이루어진 사각형 형태의 기준구역(b)을, 상기 기준구역(b)과 동일한 형태의 도형이 상기 제 1부분 이미지(i)의 가로 갈이만큼 연장되고 투명한 투명구역(t)상에서 생성하여, 상기 기준구역(b) 및 상기 투명구역(t)으로 구성된 상기 기준 이미지(f1)를 생성할 수 있다. 여기서, 상기 기준구역(b)은, 상기 투명구역(t)상에서, 상기 기준구역(b)이 상기 제 1부분 이미지(i)상에 위치해 있던 것과 동일한 가로좌표상에 생성될 수 있다.11, the reference region (a) is displayed on the face portion displayed by the first partial image (i) of the first partial image 30 displayed on the display unit 2, (b) having the same shape as the reference area (b) and having a rectangular shape and having four sides outside the first partial image (i) and in contact with the reference area (a) A graphic form is generated on the transparent transparent area (t) extending by a distance of the first partial image (i) to generate the reference image (f1) consisting of the reference area (b) and the transparent area . Here, the reference zone (b) can be created on the same horizontal axis as the reference zone (b) was located on the first partial image (i) on the transparent zone (t).

상기 기준구역(b) 및 상기 투명구역(t)은 상기 제 1부분 이미지(i) 중 상기 기준 이미지(f1)을 분할하여 생성하고, 그 영역의 범위를 정해주기 위한 가상의 구역이며, 따라서 상기 디스플레이부(2)에 표시되지 않을 수 있으며, 상기 기준구역(b) 및 상기 투명구역(t)을 포함하는 상기 기준 이미지(f1)가 상기 디스플레이부(2)에 출력될 때, 상기 기준영역(a), 상기 기준구역(b) 및 상기 투명구역(t)은 표시되지 않고, 상기 기준구역(b)에 포함된 얼굴 부분을 포함한 이미지만 표시될 수 있다.The reference region b and the transparent region t are virtual regions for dividing the reference image f1 among the first partial images i and defining the range of the reference image f1, When the reference image f1 including the reference region b and the transparent region t is output to the display unit 2, the reference region f1 may not be displayed on the display region 2, the reference region b and the transparent region t are not displayed and only the image including the face portion included in the reference region b may be displayed.

다음으로, 상기 이미지 가변단계(S400)는 상기 제 1부분 이미지 그룹(30) 중 상기 제 1부분 이미지(i) 및 상기 기준 이미지(f1)를 가로방향으로 소정의 비율만큼 수축 또는 신장하여 가변 부분 이미지(s) 및 가변 기준 이미지(f2)를 생성할 수 있다.Next, the image variable step S400 may contract or extend the first partial image (i) and the reference image (f1) of the first partial image group 30 by a predetermined ratio in the horizontal direction, An image s and a variable reference image f2.

여기서, 상기 이미지 가변단계(S400)는 상기 제 1부분 이미지 그룹(30) 중 상기 제 1부분 이미지(i) 및 상기 기준 이미지(f1)를 가로방향으로 소정의 비율만큼 수축되거나 신장하여 상기 가변 부분 이미지(s) 및 상기 가변 기준 이미지(f2)를 생성한 후에, 상기 가변 기준 이미지(f2)를 신장 변형하여 가변 신장 기준 이미지(f'2)를 생성하거나, 수축 변형하여 가변 수축 기준 이미지(f"2)를 생성하는 워핑단계(S450)를 더 포함할 수 있다.Here, the image variable step S400 may include contraction or expansion of the first partial image (i) and the reference image (f1) of the first partial image group 30 by a predetermined ratio in the horizontal direction, After generating the image s and the variable reference image f2, the variable reference image f2 is expanded and deformed to generate a variable-height reference image f'2 or shrunk and deformed to generate the variable shrunk reference image f "2) < / RTI >

도 12는 본 발명의 일 실시예에 따른 제 1부분 이미지 및 투명 구역을 포함하는 기준 이미지의 수축을 도시한다.12 illustrates contraction of a reference image including a first partial image and a transparent region in accordance with an embodiment of the present invention.

도 12를 참조하여, 상기 가변 기준 이미지(f2)를 신장 변형하여 상기 가변 신장 기준 이미지(f'2)를 생성하는 워핑단계(S450)에 대해 살펴보기로 한다.Referring to FIG. 12, a warping step (S450) of generating the variable-stretched reference image f'2 by expanding and deforming the variable reference image f2 will be described.

상기 워핑단계(S450)는, 상기 이미지 가변단계(S400)에서 상기 제 1부분 이미지 그룹(30) 중 상기 제 1부분 이미지(i) 및 상기 기준 이미지(f1)가 가로 방향으로 소정 비율만큼 수축되어 상기 가변 부분 이미지(s) 및 상기 가변 기준 이미지(f2)가 생성된 후, 상기 가변 기준 이미지(f2)를 신장 변형하여 가변 신장 기준 이미지(f'2)를 생성(도 12(c))할 수 있으며, 상기 가변 부분 이미지(s), 상기 가변 신장 기준 이미지(f'2) 및 상기 복수개의 제 2부분 이미지(m1, m2)는 상기 제 2부분 이미지 그룹을 구성할 수 있다. 여기서, 상기 가변 기준 이미지(f2)는 테두리 부분은 변형되지 않고 상기 가변 기준 이미지(f2)의 내측에 표시된 이미지만 변형될 수 있다. 따라서 상기 가변 기준 이미지(f2)가 변형되어 상기 가변 신장 기준 이미지(f'2)가 생성되어도 전체적인 크기는 변하지 않고 오로지 상기 가변 기준 이미지(f2)가 표시하는 내측의 영역만 신장되어 표시될 수 있다.The warping step S450 may be performed such that the first partial image i and the reference image f1 of the first partial image group 30 are contracted by a predetermined ratio in the horizontal direction in the image variable step S400 After the variable partial image s and the variable reference image f2 are generated, the variable reference image f2 is stretched and deformed to generate a variable-height reference image f'2 (Fig. 12 (c)) , And the variable portion image (s), the variable stretch reference image (f'2), and the plurality of second partial images (m1, m2) may constitute the second partial image group. Here, the variable reference image f2 may be deformed only in the image displayed inside the variable reference image f2 without modifying the rim portion. Therefore, even if the variable reference image f2 is deformed to generate the variable-height reference image f'2, the entire size does not change, and only the inner region displayed by the variable reference image f2 can be extended and displayed .

구체적으로, 상기 워핑단계(S450)는, 상기 가변 기준 이미지(f2)를 신장하여 상기 가변 신장 기준 이미지(f'2)를 생성할 때, 상기 가변 기준 이미지(f2)가 표시하는 이미지를 상하로 수축되게, 그리고 좌우로 신장되게 변형하여 상기 가변 신장 기준 이미지(f'2)를 생성할 수 있다.More specifically, the warping step S450 may include shifting the image displayed by the variable reference image f2 up and down when generating the variable-height reference image f2 by extending the variable reference image f2 To be contracted, and to be laterally and laterally deformed to produce the variable stretch reference image f'2.

이어서, 상기 가변 신장 기준 이미지(f'2)는 상기 제 2부분 이미지(s)상에 중첩될 수 있다(도 12(d)). 따라서, 상기 제 2부분 이미지(s)상에 표시되었던 사람 이미지 중 얼굴 부분은, 그 자리에 상기 가변 신장 기준 이미지(f'2)가 표시됨으로써 가려져 사라지게 되며, 상기 제 2부분 이미지(s)의 사람 이미지에서 표시되었던 얼굴 부분이, 기존에 형상보다, 좌우로 신장되고 상하로 수축된 형태가 될 수 있다. 이 경우, 상기 가변 신장 기준 이미지(f'2)에 포함된 투명구역(b)에 해당하는 이미지는 투명하므로 상기 디스플레이에(2)에 출력된 상기 제 2부분 이미지(s)상에 아무런 영향을 미치지 못한다. 여기서, 상기 가변 신장 기준 이미지(f'2), 상기 제 2부분 이미지(s) 및 상기 복수개의 제 2부분 이미지(m1, m2)는 상기 제 2부분 이미지 그룹(35)을 구성하여 상기 디스플레이부(2)에 출력할 수 있다.Subsequently, the variable stretch reference image f'2 may be superimposed on the second partial image s (Fig. 12 (d)). Thus, the face portion of the human image that has been displayed on the second partial image s is obscured and disappears by displaying the variable-fiducial reference image f'2 in its place, and the face of the second partial image (s) The face portion displayed in the human image can be a shape that is elongated to the left and right and contracted up and down rather than the existing shape. In this case, since the image corresponding to the transparent region (b) included in the variable stretch reference image (f '2) is transparent, it has no influence on the second partial image (s) I can not go crazy. Here, the variable stretch reference image (f'2), the second partial image (s) and the plurality of second partial images (m1, m2) constitute the second partial image group (35) (2).

이에 따라, 이미지 가변단계(S400)에서 상기 제 1부분 이미지(i) 및 상기 기준 이미지(f1)를 가로방향으로 수축하여, 상기 제 2부분 이미지(s) 및 상기 가변 기준 이미지(f2)를 생성한 후에, 상기 가변 기준 이미지(f2)를 좌우로 신장시키고, 상하로 수축시킴으로써, 상기 기준 이미지(f1)가 좌우로 수축되어 길쭉해진 상기 가변 기준 이미지(f2)의 왜곡현상을 보정해 주어, 보다 자연스러운 형태의 결과를 얻을 수 있다.Accordingly, in the image variable step S400, the first partial image (i) and the reference image (f1) are contracted in the horizontal direction to generate the second partial image (s) and the variable reference image (f2) The reference image f1 is contracted to the left and right to correct the distortion of the variable reference image f2 which is elongated and becomes longer, A natural form result can be obtained.

도 13은 본 발명의 일 실시예에 따른 제 1부분 이미지 및 투명 구역을 포함하는 기준 이미지의 수축을 도시한다.FIG. 13 illustrates contraction of a reference image including a first partial image and a transparent region in accordance with an embodiment of the present invention.

도 13을 참조하여, 상기 가변 기준 이미지(f2)를 수축 변형하여 상기 가변 수축 기준 이미지(f"2)를 생성하는 워핑단계(S450)에 대해 살펴보기로 한다.Referring to FIG. 13, a warping step S450 of generating the variable shrink reference image f "2 by shrinking and deforming the variable reference image f2 will be described.

상기 워핑단계(S450)는, 상기 이미지 가변단계(S400)에서 상기 제 1부분 이미지 그룹(30) 중 상기 제 1부분 이미지(i) 및 상기 기준 이미지(f1)가 가로 방향으로 소정 비율만큼 신장되어 상기 가변 부분 이미지(s) 및 상기 가변 기준 이미지(f2)가 생성된 후, 상기 가변 기준 이미지(f2)를 수축 변형하여 가변 수축 기준 이미지(f"2)를 생성(도 13(c))할 수 있으며, 상기 가변 부분 이미지(s), 상기 가변 수축 기준 이미지(f"2) 및 상기 복수개의 제 2부분 이미지(m1, m2)는 상기 제 2부분 이미지 그룹(35)을 구성할 수 있다. 여기서, 상기 가변 기준 이미지(f2)는 테두리 부분은 변형되지 않고 상기 가변 기준 이미지(f2)의 내측에 표시된 이미지만 변형될 수 있다. 따라서 상기 가변 기준 이미지(f2)가 변형되어 상기 가변 수축 기준 이미지(f"2)가 생성되어도 전체적인 크기는 변하지 않고 오로지 상기 가변 기준 이미지(f2)가 표시하는 내측의 영역만 수축되어 표시될 수 있다.The warping step S450 may be performed such that the first partial image i and the reference image f1 of the first partial image group 30 are extended in the horizontal direction by a predetermined ratio in the image variable step S400 After the variable partial image s and the variable reference image f2 are generated, the variable reference image f2 is contracted and deformed to generate the variable shrink reference image f "2 (FIG. 13 (c)) And the variable contraction image (s), the variable shrinkage reference image (f '2), and the plurality of second partial images (m1, m2) may constitute the second partial image group 35. Here, the variable reference image f2 may be deformed only in the image displayed inside the variable reference image f2 without modifying the rim portion. Therefore, even if the variable reference image f2 is deformed to generate the variable shrink reference image f "2, the entire size does not change, and only the inner region displayed by the variable reference image f2 is contracted and displayed .

구체적으로, 상기 워핑단계(S450)는, 상기 가변 기준 이미지(f2)를 신장하여 상기 가변 수축 기준 이미지(f"2)를 생성할 때, 상기 가변 기준 이미지(f2)가 표시하는 이미지를 상하로 신장되게, 그리고 좌우로 수축되게 변형하여 상기 가변 수축 기준 이미지(f"2)를 생성할 수 있다.More specifically, the warping step S450 may include shifting the image displayed by the variable reference image f2 up and down when generating the variable shrink reference image f "2 by extending the variable reference image f2 (F "2) by being deformed to be stretched, contracted, and expanded laterally.

이어서, 상기 가변 수축 기준 이미지(f"2)는 상기 제 2부분 이미지(s)상에 중첩될 수 있다(도 13(d)). 따라서, 상기 제 2부분 이미지(s)상에 표시되었던 사람 이미지 중 얼굴 부분은, 그 자리에 상기 가변 수축 기준 이미지(f"2)가 표시됨으로써 가려져 사라지게 되며, 상기 제 2부분 이미지(s)의 사람 이미지에서 표시되었던 얼굴 부분이, 기존에 형상보다, 좌우로 수축되고 상하로 신장된 형태가 될 수 있다. 이 경우, 상기 가변 수축 기준 이미지(f"2)에 포함된 투명구역(b)에 해당하는 이미지는 투명하므로 상기 디스플레이에(2)에 출력된 상기 제 2부분 이미지(s)상에 아무런 영향을 미치지 못한다. 여기서, 상기 가변 수축 기준 이미지(f"2), 상기 제 2부분 이미지(s) 및 상기 복수개의 제 2부분 이미지(m1, m2)는 상기 제 2부분 이미지 그룹(35)을 구성하여 상기 디스플레이부(2)에 출력할 수 있다.The variable shrink reference image f '2 may then be superimposed on the second partial image s (Fig. 13 (d)). Thus, the person who was displayed on the second partial image s The face portion of the image is obscured and disappears by displaying the variable shrinkage reference image f "2 in its place, and the face portion displayed in the human image of the second partial image s is smaller than the shape And can be in the form of being stretched up and down. In this case, since the image corresponding to the transparent region (b) included in the variable shrinkage reference image (f '2) is transparent, it has no influence on the second partial image (s) The variable shrink reference image f '2, the second partial image s and the plurality of second partial images m1 and m2 constitute the second partial image group 35 To the display unit 2.

이에 따라, 이미지 가변단계(S400)에서 상기 제 1부분 이미지(i) 및 상기 기준 이미지(f1)를 가로방향으로 신장하여, 상기 제 2부분 이미지(s) 및 상기 가변 기준 이미지(f2)를 생성한 후에, 상기 가변 기준 이미지(f2)를 좌우로 수축시키고, 상하로 신장시킴으로써, 상기 기준 이미지(f1)가 좌우로 신장되어 넓적해진 상기 가변 기준 이미지(f2)의 왜곡현상을 보정해 주어, 보다 자연스러운 형태의 결과를 얻을 수 있다.Thereby, in the image variable step S400, the first partial image i and the reference image f1 are extended in the horizontal direction to generate the second partial image s and the variable reference image f2 The variable reference image f2 is contracted to the left and right and stretched vertically to correct the distortion of the variable reference image f2 in which the reference image f1 is stretched to the left and right, A natural form result can be obtained.

상기 워핑단계(S450)는, 상기 가변 기준 이미지(f2)에서 투명구역을 제외한 부분에 가상의 격자구조를 형성시키며, 상기 가변 기준 이미지(f2)에서 상기 격자구조를 구성하는 복수개의 격자점에 대응되는 상기 기준 이미지의 픽셀들을 이동시켜서 상기 가변 기준 이미지(f2)를 변형할 수 있다.In the warping step S450, a virtual lattice structure is formed in a portion of the variable reference image f2 excluding the transparent region, and a plurality of lattice points constituting the lattice structure in the variable reference image f2 The variable reference image f2 can be transformed by moving the pixels of the reference image.

도 14는 본 발명의 일 실시예에 따른 가변 기준 이미지의 변형을 도시한다.Figure 14 shows a variation of a variable reference image according to an embodiment of the invention.

도 14을 참조하면, 상기 워핑단계(S450)는, 상기 가변 기준 이미지(f2)에서 투명구역(b)을 제외한 부분에 가상의 격자구조(g)를 생성(도 14(a))시키며, 상기 가변 기준 이미지(f2)에서 상기 격자구조(g)를 구성하는 복수개의 격자점(gp)에 해당하는 픽셀들을 상기 가변 기준 이미지(f2)가 수축 또는 신장되는 방향과 수직한 방향으로 상기 가변 기준 이미지(f2)의 중심점(p)과 가까워지게 이동(도 14(b))시키고, 상기 가변 기준 이미지(f2)가 신장되는 방향과 동일한 상방향으로 상기 가변 기준 이미지(f2)의 중심점(p)과 멀어지게 이동(도 14 (c))시켜서, 상기 가변 기준 이미지(f2)를 신장 변형하여 상기 가변 신장 기준 이미지(f'2)를 생성(도 14(d))할 수 있다.14, the warping step S450 generates a virtual lattice structure g in a portion excluding the transparent region b in the variable reference image f2 (Fig. 14 (a)), In the variable reference image f2, pixels corresponding to a plurality of lattice points gp constituting the lattice structure g in the direction perpendicular to the direction in which the variable reference image f2 is contracted or elongated, (p) of the variable reference image f2 in the same upward direction as the direction in which the variable reference image f2 is extended, and the center point p of the variable reference image f2 is moved (Fig. 14 (c)), and the variable reference image f2 is expanded and deformed to generate the variable-height reference image f'2 (Fig. 14 (d)).

여기서, 상기 워핑단계(S450)는 상기 가변 기준 이미지(f2)에서 투명구역(b)을 제외한 부분의 테두리에 해당하는 상기 격자점들은 이동시키지 않고 고정시키며, 상기 가변 기준 이미지(f2)에서 투명구역(b)을 제외한 부분의 내측의 상기 격자점들을 이동시켜서 상기 가변 기준 이미지(f2)를 변형할 수 있다.The warping step S450 fixes the grid points corresponding to the border of the portion excluding the transparent region b in the variable reference image f2 without moving them, the variable reference image f2 can be deformed by moving the grid points inside the portion except for (b).

전술한 바에 따르면 상기 워핑단계(S450)는, 상기 가변 기준 이미지(f2)에서 상기 투명구역(b)을 제외한 부분에 생성된 상기 격자점(gp)에 해당하는 픽셀들을 상기 가변 기준 이미지(f2)가 수축 또는 신장되는 방향과 수직한 방향으로 상기 가변 기준 이미지(f2)의 중심점(p)과 가까워지게 이동시킨 후에, 상기 가변 기준 이미지(f2)가 신장되는 방향과 동일한 상방향으로 상기 가변 기준 이미지(f2)의 중심점(p)과 멀어지게 이동시키는 순서로, 상기 가변 기준 이미지(f2)를 신장 변형하여 상기 가변 신장 기준 이미지(f'2)를 생성하지만, 그 순서는 변경될 수 있으며, 또한 동시에 일어날 수도 있다.The warping step S450 may include shifting pixels corresponding to the grid point gp generated in the portion excluding the transparent region b in the variable reference image f2 to the variable reference image f2, (F2) of the variable reference image (f2) in the same direction as the direction in which the variable reference image (f2) is elongated after moving the variable reference image (f2) by stretching and deforming the variable reference image (f2) in the order of moving away from the center point (p) of the reference image (f2) It may happen at the same time.

그리고, 상기 워핑단계(S450)는, 상기 가변 기준 이미지(f2)에서 투명구역(b)을 제외한 부분에 가상의 격자구조(g)를 생성시키며, 상기 가변 기준 이미지(f2)에서 상기 격자구조(g)를 구성하는 복수개의 격자점(gp)에 해당하는 픽셀들을 상기 가변 기준 이미지(f2)가 수축 또는 신장되는 방향과 수직한 방향으로 상기 가변 기준 이미지(f2)의 중심점(p)과 멀어지게 이동(도 14(b))시키고, 상기 가변 기준 이미지(f2)가 수축되는 방향과 동일한 방향으로 상기 가변 기준 이미지(f2)의 중심점(p)과 가까워지게 이동시켜서, 상기 가변 기준 이미지(f2)를 수축 변형하여 상기 가변 신장 기준 이미지(f'2)를 생성할 수 있다.In the warping step S450, a virtual lattice structure g is generated in a portion of the variable reference image f2 excluding the transparent region b, the pixels corresponding to the plurality of lattice points gp constituting the variable reference image f2 are spaced apart from the center point p of the variable reference image f2 in a direction perpendicular to the direction in which the variable reference image f2 is contracted or elongated The variable reference image f2 is shifted so as to approach the center point p of the variable reference image f2 in the same direction as the direction in which the variable reference image f2 is contracted, To generate the variable-stretch reference image f'2.

이어서, 상기 이미지 합성단계(S500)는 상기 전자장치를 사용하는 사용자의 입력에 따라 상기 제 2부분 이미지 그룹(35)을 결합하여 상기 가변 이미지(40)를 생성할 수 있으며, 상기 가변 이미지(40)를 상기 메모리에 저장하고 상기 디스플레이부(2)에 표시할 수 있다.Subsequently, the image synthesis step S500 may combine the second partial image group 35 according to an input of a user using the electronic device to generate the variable image 40, and the variable image 40 ) Can be stored in the memory and displayed on the display unit (2).

상기 이미지 합성단계(S500)에 관한 부가적인 설명은 전술한 첫번째 실시예와 동일하므로, 그 자세한 설명을 생략한다.
Additional description about the image synthesis step (S500) is the same as the first embodiment described above, so a detailed description thereof will be omitted.

이상에서 본 발명의 일 실시예에 따른 이미지 재조정 방법(1000)에 대해 살펴보았다. The image reshaping method 1000 according to an embodiment of the present invention has been described above.

전술한 본 발명의 실시예에 따른 이미지 재조정 방법은, 상기 전자장치에 기본적으로 설치된 애플리케이션(이는 단말기에 기본적으로 탑재된 플랫폼이나 운영체제 등에 포함된 프로그램을 포함할 수 있음)에 의해 실행될 수 있고, 사용자가 애플리케이션 스토어 서버, 애플리케이션 또는 해당 서비스와 관련된 웹 서버 등의 애플리케이션 제공 서버를 통해 단말기에 직접 설치한 애플리케이션(즉, 프로그램)에 의해 실행될 수도 있다. 이러한 의미에서, 전술한 본 발명의 일 실시예에 따른 이미지 재조정 방법(1000)은 상기 이미지 재조정 방법(1000)을 실행시키기 위한 명령어들을 기록한 비일시적 기계 판독가능 저장 매체에 기록될 수 있다.The image reordering method according to the embodiment of the present invention described above can be executed by an application installed in the electronic device (which may include a program included in a platform or an operating system basically installed in the terminal) May be executed by an application (i.e., a program) installed directly on the terminal via an application providing server such as an application store server, an application, or a web server associated with the service. In this regard, an image re-sizing method 1000 according to an embodiment of the present invention described above may be recorded in a non-volatile machine-readable storage medium having stored thereon instructions for executing the image re-sizing method 1000. [

이하에서는 본 발명의 일 실시예에 따른 이미지 재조정 방법(1000)을 구현할 수 있는 이미지 재조정 장치에 대해 살펴볼 수 있다.Hereinafter, an image rebalancing apparatus capable of implementing the image re-adjustment method 1000 according to an embodiment of the present invention will be described.

전술하였던 본 발명의 일 실시예에 따른 이미지 재조정 방법(1000)의 설명에서 참조한 도 1내지 도 14를 참조하여 본 발명에 따른 이미지 재조정 장치에 대해 살펴볼 수 있다.The image re-arrangement apparatus according to the present invention can be described with reference to FIGS. 1 to 14, which are referred to in the description of the image re-arrangement method 1000 according to an embodiment of the present invention.

상기 이미지 재조정 장치는 디스플레이부(2) 및 저장매체를 구비할 수 있다.The image rebalancing apparatus may include a display unit 2 and a storage medium.

상기 디스플레이부(2)는 모든 종류의 디지털 이미지를 출력할 수 있으며, 액정 디스플레이(Liquid crystal display, LCD), 박막 트랜지스터 액정 디스플레이(thin film transistor-liquid crystal display, TFT LCD), 유기 발광 다이오드(organic light-0emitting diode, OLED), 플렉시블 디스플레이(Flexible display)중 어느 하나일 수 있다.The display unit 2 is capable of outputting all kinds of digital images and may be a liquid crystal display (LCD), a thin film transistor-liquid crystal display (TFT LCD), an organic light emitting diode a light-emitting diode (OLED), and a flexible display.

나아가, 본 실시예에 따른 디스플레이부(2)는 정보 및/또는 이미지를 표시함과 동시에 선택이 가능한 터치 패널(touch panel)또는 터치 스크린(touch screen)형태로 구현될 수 있다. 예를 들어, 상기 디스플레이부(2)와 터치 동작을 감지하는 센서가 상호 레이어 구조를 이루는 경우에, 상기 디스플레이부(2)는 출력 장치 이외에 입력 장치로도 사용될 수 있다. 본 발명에 다른 이미지 재조정 방법에 있어서, 상기 디스플레이부(2)는 출력과 입력을 병행하는 기능을 갖는 것으로 한다.Furthermore, the display unit 2 according to the present embodiment may be implemented as a touch panel or a touch screen, which can display and simultaneously display information and / or images. For example, when the display unit 2 and the sensor for sensing the touch operation form a mutual layer structure, the display unit 2 may be used as an input device in addition to the output device. In the image re-adjustment method according to the present invention, the display unit 2 has a function of concurrently outputting and inputting.

상기 저장매체는 하드디스크, 시디롬, 이동식디스크, DVD, 외장하드디스크 중 적어도 하나일 수 있으며, 상기 디지털 이미지를 포함한 각종 데이터를 저장할 수 있다.The storage medium may be at least one of a hard disk, a CD-ROM, a removable disk, a DVD, and an external hard disk, and may store various data including the digital image.

도 15는 본 발명의 일 실시예에 따른 이미지 재조정 장치의 구성을 도시한다.15 shows a configuration of an image rebalancing apparatus according to an embodiment of the present invention.

상기 이미지 재조정 장치(2000)는 로딩부(100), 변환부(200), 분할부(300), 가변부(400) 및 합성부(500)를 포함할 수 있다. 하지만, 도 15에 도시된 구성요소들을 갖거나 그보다 적은 구성요소들을 갖는 이미지 재조정 장치(2000)가 구현될 수 있다.The image re-arrangement apparatus 2000 may include a loading unit 100, a transform unit 200, a dividing unit 300, a variable unit 400, and a combining unit 500. However, an image rebalancing apparatus 2000 having components shown in FIG. 15 or fewer components can be implemented.

상기 이미지 재조정 장치(2000)는 스마트폰, 컴퓨터 및 태블릿PC와 같은 장치일 수 있다. 하지만 상기 언급한 장치에 한정하지 않고 디지털 이미지가 출력 가능하고, 디지털 이미지를 재조정 할 수 있는 장치라면 어떠한 것이라도 가능하다.The image rebalancing apparatus 2000 may be a device such as a smart phone, a computer, and a tablet PC. However, the present invention is not limited to the above-mentioned device, but any device capable of outputting a digital image and capable of realigning a digital image can be used.

본 발명에 따른 이미지 재조정 장치는 상기한 바와 같은 장치에서 출력이 가능한 어떠한 디지털 이미지에도 적용이 가능하나, 본 발명의 가장 주된 목적은 얼굴이 포함된 사람이 피사체인 디지털 이미지의 자연스러운 재조정 이므로, 후술하는 이미지 재조정 장치는, 얼굴이 포함된 사람 이미지에 적용하는 이미지 재조정 장치인 것으로 한다.The image rebalancing apparatus according to the present invention can be applied to any digital image outputable by the above-described apparatus. However, since the main object of the present invention is a natural re-adjustment of a digital image in which a person including a face is a subject, It is assumed that the image rebalancing apparatus is an image rebalancing apparatus applied to a human image including a face.

우선, 상기 로딩부(100)를 살펴보면, 상기 로딩부(100)는 상기 저장매체에서 원본 이미지를 로딩할 수 있다. 상기 "로딩"은 필요한 데이터를 보조 기억 장치나 입력 장치로부터 주기억 장치로 옮기는 것으로서, 본 발명에 따른 이미지 재조정 장치(2000)에서는 상기 "로딩"을 상기 저장매체에 저장되어 있는 상기 원본 이미지를 상기 이미지 재조정 장치를 시행할 수 있도록 불러오는 것으로 정의한다.First, referring to the loading unit 100, the loading unit 100 may load an original image on the storage medium. In the image re-arrangement apparatus 2000 according to the present invention, the "loading" is an operation for transferring the original image stored in the storage medium to the image < It is defined as recall so that the reconditioning device can be carried out.

여기서, 상기 장치에 로딩되는 상기 원본 이미지는 상기 장치에 기존에 저장되어 있던 이미지이거나 상기 장치에 구비된 카메라에 의해 촬영되어 생성된 이미지 일 수 있다.Here, the original image loaded on the apparatus may be an image previously stored in the apparatus or an image generated by a camera provided in the apparatus.

이어서, 로딩된 원본 이미지를 비트맵 형식의 제1 변환 이미지로 변환하고, 이를 상기 장치에 구비된 메모리에 저장하고 또한 상기 장치에 구비된 디스플레이에 출력할 수 있다(200).The loaded original image may then be converted into a first transformed image in bitmap form, stored in a memory provided in the device, and output to a display provided in the device.

상기 변환부(200)는 로딩된 상기 원본 이미지(10)를 비트맵 형식의 제 1변환 이미지(20)로 변환할 수 있다. 또한, 상기 제 1변환 이미지(20)를 상기 장치에 구비된 메모리에 저장하며 상기 장치의 디스플레이부(2)에 표시할 수 있다. 상기 원본 이미지(10)가 제 1변환 이미지(20)로 변환되어 상기 디스플레이부(2)의 표시영역에 표시된 것을 볼 수 있다. 상기 메모리는 상기 장치에 구비된 내부기억장치로서 상기 장치에 의해 직접적인 제어를 받는 주기억 장치를 의미하며, 본 발명에 따른 이미지 재조정 장치(2000)에 있어서는 상기 이미지 재조정 장치(2000)에서 발생하는 모든 기록사항이 저장될 수 있다.The conversion unit 200 may convert the loaded original image 10 into a first converted image 20 of bitmap format. Also, the first converted image 20 may be stored in a memory provided in the apparatus and displayed on the display unit 2 of the apparatus. The original image 10 is converted into the first converted image 20 and is displayed in the display area of the display unit 2. [ In the image re-arrangement apparatus 2000 according to the present invention, all of the records (not shown) generated in the image re-arrangement apparatus 2000 are stored in the memory, Can be stored.

다음으로, 기준선 및 기준영역을 따라 제 1변환 이미지(20)를 복수개의 부분 이미지로 분할할 수 있으며, 기준 이미지를 생성할 수 있다.Next, the first transformed image 20 can be divided into a plurality of partial images along the reference line and the reference area, and a reference image can be generated.

상기 분할부(300)는 상기 디스플레이부(2) 상에 복수개의 기준선(l1, l2)과 상기 사람 이미지 중 일부분을 포함하는 기준영역(a)을 표시할 수 있다. 구체적으로, 상기 분할부(300)는 두 개의 기준선(l1, l2)을 상기 디스플레이부(2) 상에 표시할 수 있으며, 상기 두 개의 기준선(l1, l2) 사이에 상기 사람의 이미지가 표시되도록 위치시킬 수 있다. 또한, 상기 두 개의 기준선(l1, l2) 사이에 위치하여 표시된 상기 사람 이미지의 얼굴 부분에 상기 기준영역(a)을 위치시켜, 상기 기준영역을 포함하여 사람 이미지 중 얼굴 부분이 표시되는 기준 이미지(f1)를 생성하고, 상기 제 1변환 이미지(20)를 상기 두 개의 기준선(l1, l2)을 기준으로 분할하여 상기 기준영역을 포함하는 제 1부분 이미지 (i) 및 상기 기준영역을 포함하지 않는 복수개의 제 2부분 이미지(m1, m2)를 생성할 수 있다. 여기서, 상기 기준 이미지(f1), 상기 제 1변환 이미지(i) 및 상기 복수개의 제 2부분 이미지(m1, m2)는 제 1부분 이미지 그룹(30)으로 구성될 수 있으며, 상기 제 1부분 이미지 그룹(30)은 상기 메모리에 저장될 수 있다.The dividing unit 300 may display a plurality of reference lines 11 and 12 on the display unit 2 and a reference area a including a part of the human image. Specifically, the dividing unit 300 may display two reference lines 11 and 12 on the display unit 2, and display the image of the person between the two reference lines 11 and 12 . In addition, the reference region (a) is positioned on the face portion of the human image displayed between the two reference lines (11, 12), and a reference image (i) dividing the first transformed image (20) with respect to the two reference lines (11, 12) to generate a first partial image (i) including the reference region and a second partial image A plurality of second partial images m1 and m2 may be generated. Here, the reference image f1, the first transformed image i, and the plurality of second partial images m1, m2 may be composed of a first partial image group 30, The group 30 may be stored in the memory.

상기 기준선(l1, l2)은 일부에 기준선 조절표시(110)을 포함하여 상기 디스플레이부(2) 상에 표시될 수 있다. 상기 기준선(l1, l2)은 상기 디스플레이부(2)에 출력된 상기 제 1변환 이미지(20)의 세로 방향과 평행이 되도록 표시되며, 복수개의 상기 기준선(l1, l2)은 서로 이격되어 표시되고, 상기 장치를 사용하는 사용자의 입력에 따라 위치를 변경하여 표시될 수 있다. 상기 사용자는 상기 복수개의 기준선(l1, l2) 각각에 포함된 상기 기준선 조절표시(11)를 드래그하여 상기 제 1변환 이미지(20)상의 원하는 위치에 상기 복수개의 기준선(l1, l2)의 위치를 결정할 수 있다.The reference lines 11 and 12 may be partially displayed on the display unit 2 including the reference line adjustment indication 110. The reference lines 11 and 12 are displayed so as to be parallel to the longitudinal direction of the first converted image 20 output to the display unit 2 and the plurality of reference lines 11 and 12 are displayed apart from each other , And can be displayed by changing the position according to the input of the user using the apparatus. The user drags the reference line adjustment indication 11 included in each of the plurality of reference lines 11 and 12 to determine a position of the plurality of reference lines 11 and 12 at a desired position on the first transformed image 20 You can decide.

예를 들면, 사용자는 기준선(l1)을 상기 사람 이미지의 좌측 측면과 근접한 거리에 배치할 수 있으며, 기준선(l2)을 상기 사람 이미지의 우측 측면과 근접한 거리에 배치할 할 수 있다. 따라서, 두 개의 상기 기준선(l1, l2)사이에 상기 사람 이미지가 위치하여 표시될 수 있다.For example, the user can place the reference line 11 at a distance close to the left side of the human image, and the reference line 12 at a distance close to the right side of the human image. Therefore, the human image can be positioned and displayed between the two reference lines (11, 12).

또한, 상기 기준영역(a)은 일부에 기준영역 조절표시(115)를 포함하여 상기 디스플레이부(2) 상에 표시될 수 있다. 상기 기준영역(a)은 상기 디스플레이부(2)에 출력된 상기 제 1변환 이미지(20)상의 일부분에, 바람직하게는, 사람 이미지를 사이에 두고 표시된 인접한 두 개의 상기 기준선(l1, l2)사이에 표시될 수 있으며, 상기 장치를 사용하는 사용자의 입력에 따라 위치와 크기가 변경되어 표시될 수 있다. 상기 사용자는 상기 기준영역(a)의 중심부를 드래그하여 상기 제 1변환 이미지(20)상의 원하는 위치에 상기 기준영역(a)을 위치시킬 수 있으며, 상기 기준영역(a)에 포함된 상기 기준영역 조절표시(115)를 상기 기준영역(a)의 중심부방향 또는 그 반대방향으로 드래그하여 상기 기준영역(a)을 원하는 크기로 축소시키거나 확대시킬 수 있다.Also, the reference area (a) may be displayed on the display unit 2 including a reference area adjustment indication 115 in part. The reference region a is preferably provided on a portion of the first transformed image 20 output to the display unit 2, preferably between two adjacent reference lines 11, 12, And may be displayed in a changed position and size according to an input of a user using the apparatus. The user can drag the center portion of the reference region a to position the reference region a at a desired position on the first transformed image 20, The reference area a can be reduced or enlarged to a desired size by dragging the adjustment indication 115 in the direction of the center of the reference area a or the opposite direction.

예를 들면, 사용자는 기준영역(a)의 중심부를 드래그하여, 상기 기준영역(a)을 상기 사람 이미지의 얼굴 부분에 배치할 수 있으며, 상기 기준영역 조절표시(115)를 드래그하여 상기 사람 이미지의 얼굴 부분을 근접한 간격으로 포함할 수 있도록 상기 기준영역(a)의 크기를 조절할 수 있다.For example, the user can drag the center portion of the reference region (a) to place the reference region (a) in the face portion of the human image, and drag the reference region adjustment indication (115) The size of the reference area a can be adjusted so that the face area of the reference area a can be included at close intervals.

상기 분할부(300)에서, 상기 제 1부분 이미지 그룹(30)을 구성하는 상기 기준 이미지(f1), 상기 제 1변환 이미지(i) 및 상기 복수개의 제 2부분 이미지(m1, m2)는 각각 상기 디스플레이부(2)에 출력될 수 있으나, 상기 사용자는 상기 제 1부분 이미지 그룹(30)이 분할된 형태로 표시되지 않고 마치 결합되어 표시된 것으로 인식할 수 있다. 상기 분할부(300)는 상기 제 1변환 이미지(20)를 분할하여 상기 기준 이미지(f1), 상기 제 1변환 이미지(i) 및 상기 복수개의 제 2부분 이미지(m1, m2)를 생성하여 상기 제 1부분 이미지 그룹(30)을 구성하고, 상기 제 1부분 이미지 그룹(30)을 상기 메모리에 저장할 수 있으며, 상기 디스플레이부(2)의 표시영역상에는 마치 상기 제 1부분 이미지 그룹(30)이 결합된 것처럼 표시할 수 있다. 하지만 상기 디스플레이부(2)에 표시된 상기 제 1부분 이미지 그룹(30)은 상기 제 1부분 이미지 그룹(30)을 구성하는 상기 기준 이미지(f1), 상기 제 1변환 이미지(i) 및 상기 복수개의 제 2부분 이미지(m1, m2)가 각각 표시된 것이며, 상기 사용자는 상기 제 1부분 이미지 그룹(30)이 분할된 상기 기준 이미지(f1), 상기 제 1변환 이미지(i) 및 상기 복수개의 제 2부분 이미지(m1, m2)로 구성된 것을 인식하지 못하고 마치 결합된 하나의 것으로 인식할 수 있다. 이는 상기 사용자의 편의 및 편집의 용이성을 고려한 것일 수 있다.In the division unit 300, the reference image f1, the first transformed image i, and the plurality of second partial images m1, m2 constituting the first partial image group 30 are The user can recognize that the first partial image group 30 is not displayed in a divided form but is displayed in a combined manner. The dividing unit 300 divides the first transformed image 20 to generate the reference image f1, the first transformed image i, and the plurality of second partial images m1 and m2, The first partial image group 30 can be stored in the memory and the first partial image group 30 can be stored on the display area of the display unit 2. [ It can be displayed as combined. However, the first partial image group 30 displayed on the display unit 2 includes the reference image f1 constituting the first partial image group 30, the first transformed image i, The first partial image group 30 is divided into the reference image f1 divided into the first converted image i and the second divided image m2, It can be recognized as a combined one without recognizing that it is composed of partial images (m1, m2). This may be considering the convenience of the user and the ease of editing.

여기서, 상기 기준 이미지(f1)는, 상기 제 1변환 이미지(i) 및 상기 복수개의 제 2부분 이미지(m1, m2)가 상기 디스플레이부(2) 상에 표시된 이미지 상에 중첩되어 표시될 수 있으며, 상기 제 1변환 이미지(i)상에 표시된 사람 이미지 중 얼굴 부분에 상기 기준 이미지(f1)에 표시된 사람의 얼굴 부분이 중첩되게 하여 표시할 수 있다. 하지만, 상기 분할부(300)에서는, 전술한 바와 같이 상기 제 1변환 이미지(i) 및 상기 복수개의 제 2부분 이미지(m1, m2)가 상기 디스플레이부(2) 상에 표시된 이미지 상에 상기 기준 이미지(f1)를 표시한다고 해도, 상기 제 1부분 이미지(i) 및 상기 기준 이미지(f1)에서 사람 얼굴 부분의 모양 및 크기는 변함이 없으므로, 상기 제 1변환 이미지(i) 및 상기 복수개의 제 2부분 이미지(m1, m2)가 상기 디스플레이부(2) 상에 표시된 이미지 상에 상기 기준 이미지(f1)를 중첩되게 표시하지 않고, 상기 제 1변환 이미지(i) 및 상기 복수개의 제 2부분 이미지(m1, m2) 만을 상기 디스플레이부(2)에 표시할 수 있다.Here, the reference image f1 may be displayed so that the first transformed image i and the plurality of second partial images m1, m2 are superimposed on the image displayed on the display unit 2 , The face portion of the person image displayed on the first converted image (i) can be displayed so as to overlap the face portion of the person displayed in the reference image f1. However, in the division unit 300, as described above, the first converted image i and the plurality of second partial images m1 and m2 are displayed on the image displayed on the display unit 2, The shape and size of the human face portion in the first partial image i and the reference image f1 do not change even if the image f1 is displayed, The two partial images m1 and m2 do not display the reference image f1 superimposed on the image displayed on the display unit 2 and the first transformed image i and the plurality of second partial images f1, (m1, m2) can be displayed on the display unit 2 only.

여기서, 상기 기준 이미지(f1)는 상기 기준영역(a)을 구성하는 적어도 하나 이상의 점과 접촉하고 상기 기준영역(a)을 내측에 포함하는 사각형 형태의 기준구역이 분할되어 형성된 것일 수 있다.Here, the reference image f1 may be formed by dividing a rectangular reference area in contact with at least one point constituting the reference area a and including the reference area a inside.

상기 디스플레이부(2) 상에 표시된 제 1부분 이미지(30) 중 상기 제 1부분 이미지(i)가 표시하는 얼굴 부분에 상기 기준구역(a)이 표시되고, 상기 기준구역(a)의 외측에 상기 제 1 부분 이미지(i)와 평행하고 상기 기준구역(a)과 접촉하는 4개의 변으로 이루어진 사각형 형태의 기준구역(b)이 조성될 수 있다. 여기서, 상기 기준영역(a)을 포함하고 있는 상기 기준구역(b)이 분할된 상기 기준 이미지(f1)가 생성될 수 있다. 상기 기준구역(b)은 상기 제 1부분 이미지(i) 중 상기 기준 이미지(f1)을 분할하여 생성하기 위한 가상의 구역이며, 따라서 상기 디스플레이부(2)에 표시되지 않을 수 있으며, 상기 기준구역(b)이 분할되어 생성된 상기 기준 이미지(f1)가 디스플레이부(2)에 출력될 때, 상기 기준영역(a) 및 상기 기준구역(b)은 표시되지 않고, 상기 기준구역(b)에 포함된 얼굴 부분을 포함한 이미지만 표시될 수 있다.(A) is displayed on a face portion displayed by the first partial image (i) among the first partial images (30) displayed on the display unit (2), and the reference region A reference zone b in the form of a rectangle having four sides parallel to the first partial image i and in contact with the reference zone a may be formed. Here, the reference image (f1) in which the reference region (b) including the reference region (a) is divided may be generated. The reference zone b is a virtual zone for generating the reference image f1 of the first partial image i by dividing it and may therefore not be displayed on the display unit 2, the reference area a and the reference area b are not displayed when the reference image f1 generated by dividing the reference area b is output to the display unit 2, Only images containing the included face part can be displayed.

다음으로, 상기 가변부(400)는 상기 제 1부분 이미지 그룹(30) 중 상기 제 1부분 이미지(i) 및 상기 기준 이미지(f1)를 가로방향으로 소정의 비율만큼 수축 또는 신장하여 가변 부분 이미지(s) 및 가변 기준 이미지(f2)를 생성하며, 상기 가변 부분 이미지(s), 상기 가변 기준 이미지(f2) 및 상기 복수개의 제 2부분 이미지(m1, m2)로 구성된 제 2부분 이미지 그룹(35)을 상기 디스플레이부(2)에 출력할 수 있다.Next, the variable portion 400 contracts or expands the first partial image (i) and the reference image (f1) of the first partial image group 30 by a predetermined ratio in the horizontal direction, (s1), the variable reference image (f2), and the plurality of second partial images (m1, m2) to generate a variable reference image (s) and a variable reference image 35) to the display unit 2. [0064]

여기서, 상기 가변부(400)는 상기 제 1부분 이미지 그룹(30) 중 상기 제 1부분 이미지(i)가 가로방향으로 소정의 비율만큼 수축되거나 신장되어 상기 가변 부분 이미지(s)를 생성하기 전에, 상기 기준 이미지(f1)를 신장 변형하여 신장 기준 이미지(f'1)를 생성하거나, 수축 변형하여 수축 기준 이미지(f"1)를 생성하는 워핑부(450)를 더 포함할 수 있다.Here, the variable portion 400 may be configured such that the first partial image (i) of the first partial image group 30 is contracted or elongated by a predetermined ratio in the horizontal direction to generate the variable partial image (s) , And a warping unit 450 for generating an extension reference image f'1 by stretching and deforming the reference image f1 or generating a contraction reference image f "1 by shrinkage transformation.

이하에서는, 상기 가변부(400)에서 상기 제 1부분 이미지 그룹(30) 중 상기 제 1부분 이미지(i)가 가로방향으로 소정의 비율만큼 수축되어 상기 가변 부분 이미지(s)를 생성하기 전에, 상기 기준 이미지(f1)를 신장 변형하여 신장 기준 이미지(f'1)를 생성하는 워핑부(450)에 대해 살펴보기로 한다.Hereinafter, in the variable portion 400, before the first partial image (i) of the first partial image group 30 is contracted in the horizontal direction by a predetermined ratio to generate the variable partial image (s) The warping unit 450, which generates the extension reference image f'1 by stretching the reference image f1, will be described.

상기 워핑부(450)는, 상기 제 1부분 이미지 그룹(30) 중 상기 제 1부분 이미지(i)가 가로 방향으로 소정 비율만큼 수축될 경우, 상기 제 1부분 이미지(i)가 수축되기 전에, 상기 기준 이미지(f1)를 신장 변형하여 신장 기준 이미지(f'1)를 생성할 수 있으며, 상기 제 1부분 이미지(i), 상기 신장 기준 이미지(f'1) 및 상기 복수개의 제 2부분 이미지(m1, m2)는 상기 제 1부분 이미지 그룹을 구성할 수 있다. 여기서, 상기 기준 이미지(f1)는 테두리 부분은 변형되지 않고 상기 기준 이미지(f1)의 내측에 표시된 이미지만 변형될 수 있다. 따라서 상기 기준 이미지(f1)가 신장 변형되어 신장 기준 이미지(f'1)가 생성되어도 전체적인 크기는 변하지 않고 오로지 상기 기준 이미지(f1)가 표시하는 내측의 영역만 신장되어 표시될 수 있다.The warping unit 450 may be configured to warp the first partial image (i) before the first partial image (i) is contracted when the first partial image (i) is contracted by a predetermined ratio in the horizontal direction, The reference image f1 may be stretch deformed to produce a stretch reference image f'1, and the first partial image i, the stretch reference image f'1, (m1, m2) may constitute the first partial image group. Here, the reference image f1 may be deformed only in the image displayed inside the reference image f1 without deforming the rim portion. Therefore, even if the reference image f1 is elongated and the extension reference image f'1 is generated, the entire size does not change, and only the inner region displayed by the reference image f1 can be extended and displayed.

구체적으로, 상기 워핑부(450)는, 상기 기준 이미지(f1)를 신장하여 상기 신장 기준 이미지(f'1)를 생성할 때, 상기 기준 이미지(f1)가 표시하는 이미지를 상하로 수축되게, 그리고 좌우로 신장되게 변형하여 상기 신장 기준 이미지(f'1)를 생성할 수 있다. 상기 신장 기준 이미지(f'1)는 상기 기준 이미지(f1)가 수축되게, 그리고 신장되게 변형되어 생성되지만, 상기 신장 기준 이미지(f'1)로 명칭을 붙인 이유는, 상기 기준 이미지(f1)는 상기 제 1부분 이미지(i)가 좌우로 수축 또는 신장되어 가변되는 것과 반대로 좌우로 신장 또는 수축되는 변형을 하기 때문에, 상기 제 1부분 이미지(i)가 좌우로 가변되는 방향을 기준으로 하여 반대로 가변되는 방향에 중점을 두어 명칭을 붙였기 때문이다.Specifically, when the reference image f1 is generated by stretching the reference image f1, the warping unit 450 may cause the image displayed by the reference image f1 to contract up and down, And can be deformed laterally to generate the elongation reference image f'1. The reference image f'1 is generated because the reference image f1 is contracted and elongated. The reason why the reference image f'1 is named as the reference image f'1 is that the reference image f ' Since the first partial image (i) undergoes a deformation that stretches or contracts to the left or to the right as opposed to the first partial image (i) being contracted or elongated to the left or to the right, This is because they are named with emphasis on the variable direction.

이어서, 상기 신장 기준 이미지(f'1)는 상기 제 1부분 이미지(i)상에 중첩될 수 있다. 따라서, 상기 제 1부분 이미지(i)상에 표시되었던 사람 이미지 중 얼굴 부분은, 그 자리에 상기 신장 기준 이미지(f'1)가 표시됨으로써 가려져 사라지게 되며, 상기 제 1부분 이미지(i)의 사람 이미지에서 표시되었던 얼굴 부분이, 기존에 형상보다, 좌우로 신장되고 상하로 수축된 형태가 될 수 있다.The stretch reference image f'1 may then be superimposed on the first partial image i. Thus, the face portion of the human image that has been displayed on the first partial image (i) is obscured by the display of the extension reference image (f'1) in its place, and the face of the person The face portion displayed in the image may be a shape that is elongated to the left and right and contracted up and down rather than the existing shape.

다음으로, 상기 제 1부분 이미지(i) 및 상기 제 1부분 이미지(i) 상에 중첩된 상기 신장 기준 이미지(f'1)를 가로방향으로 소정의 비율만큼 수축하여, 상기 가변 부분 이미지(s) 및 상기 가변 부분 이미지(s)상에 중첩된 상기 가변 기준 이미지(f2)를 생성할 수 있으며, 상기 가변 부분 이미지(s), 상기 가변 부분 이미지(s) 및 상기 복수개의 제 2부분 이미지(m1, m2)로 구성된 상기 제 2부분 이미지 그룹(35)을 상기 디스플레이부(2)에 출력할 수 있다.Next, the first partial image (i) and the extension reference image (f'1) superimposed on the first partial image (i) are contracted in the horizontal direction by a predetermined ratio, and the variable partial image s ) And the variable reference image (f2) superimposed on the variable portion image (s), wherein the variable partial image (s), the variable partial image (s) and the plurality of second partial images m1, m2) to the display unit 2. In this case,

이에 따라, 가변부(400)에서 상기 제 1부분 이미지(i) 및 상기 기준 이미지(f1)를 가로방향으로 수축하기 전에, 상기 기준 이미지(f1)를 좌우로 신장시키고, 상하로 수축시킴으로써, 상기 기준 이미지(f1)를 좌우로 수축하였을 때, 상기 기준 이미지(f1)에 표시된 얼굴 부분이 좌우로 수축되어 길쭉해지는 왜곡현상을 방지하여, 수축되더라도 기존의 자연스러운 형태를 유지하여 수축할 수 있다.Accordingly, before the first partial image (i) and the reference image (f1) are contracted in the horizontal direction by the variable portion 400, the reference image (f1) is elongated left and right and contracted up and down, When the reference image f1 is contracted to the left or right, the face portion displayed on the reference image f1 is contracted to the left or right to prevent the distortion of the image.

본 발명에 따른 이미지 재조정 장치는 얼굴이 포함된 사람 이미지의 자연스러운 수축을 통해, 더욱 날씬한 사람 이미지를 얻는 것이 주된 목적이나, 사용자의 의도에 따라 더욱 뚱뚱한 사람 이미지를 얻을 수 도 있기 때문에, 사람 이미지의 자연스러운 신장을 설명하도록 한다.The image rebalancing apparatus according to the present invention can obtain a more obtrusive human image through natural contraction of a human image including a face or a more obtuse human image according to a user's intention, Describe the natural height.

이하에서는, 상기 가변부(400)에서 상기 제 1부분 이미지 그룹(30) 중 상기 제 1부분 이미지(i)가 가로방향으로 소정의 비율만큼 신장되어 상기 가변 부분 이미지(s)를 생성하기 전에, 상기 기준 이미지(f1)를 수축 변형하여 수축 기준 이미지(f"1)를 생성하는 워핑부(450)에 대해 살펴보기로 한다.Hereinafter, in the variable portion 400, before the first partial image (i) of the first partial image group 30 is extended in the horizontal direction by a predetermined ratio to generate the variable partial image (s) The warping unit 450 that shrinks and deforms the reference image f1 to generate a contraction reference image f "1 will now be described.

상기 워핑부(450)는, 상기 제 1부분 이미지 그룹(30) 중 상기 제 1부분 이미지(i)가 가로 방향으로 소정 비율만큼 신장될 경우, 상기 제 1부분 이미지(i)가 신장되기 전에, 상기 기준 이미지(f1)를 수축 변형하여 수축 기준 이미지(f"1)를 생성할 수 있으며, 상기 제 1부분 이미지(i), 상기 수축 기준 이미지(f"1) 및 상기 복수개의 제 2부분 이미지(m1, m2)는 상기 제 1부분 이미지 그룹을 구성할 수 있다. 여기서, 상기 기준 이미지(f1)는 테두리 부분은 변형되지 않고 상기 기준 이미지(f1)의 내측에 표시된 이미지만 변형될 수 있다. 따라서 상기 기준 이미지(f1)가 수축 변형되어 수축 기준 이미지(f"1)가 생성되어도 전체적인 크기는 변하지 않고 오로지 상기 기준 이미지(f1)가 표시하는 내측의 영역만 수축되어 표시될 수 있다.The warping unit 450 may be arranged such that when the first partial image (i) of the first partial image group 30 is stretched by a predetermined ratio in the horizontal direction, before the first partial image (i) The shrink reference image f "1 and the shrink reference image f" 1 can be generated by shrinking and deforming the reference image f1, (m1, m2) may constitute the first partial image group. Here, the reference image f1 may be deformed only in the image displayed inside the reference image f1 without deforming the rim portion. Therefore, even if the reference image f1 is shrunk and deformed to generate the shrinkage reference image f '1, the entire size does not change, and only the inner region displayed by the reference image f1 can be contracted and displayed.

구체적으로, 상기 워핑부(450)는, 상기 기준 이미지(f1)를 수축하여 상기 수축 기준 이미지(f"1)를 생성할 때, 상기 기준 이미지(f1)가 표시하는 이미지를 상하로 신장되게, 그리고 좌우로 수축되게 변형하여 상기 수축 기준 이미지(f"1)를 생성할 수 있다.Specifically, when the shrinkage reference image f '1 is generated by contracting the reference image f1, the warping unit 450 may extend the image displayed by the reference image f1 up and down, Then, the contraction reference image (f "1) can be generated by being deformed to be contracted to the left and right.

이어서, 상기 수축 기준 이미지(f"1)는 상기 제 1부분 이미지(i)상에 중첩될 수 있다. 따라서, 상기 제 1부분 이미지(i)상에 표시되었던 사람 이미지 중 얼굴 부분은, 그 자리에 상기 수축 기준 이미지(f"1)가 표시됨으로써 가려져 사라지게 되며, 상기 제 1부분 이미지(i)의 사람 이미지에서 표시되었던 얼굴 부분이, 기존에 형상보다, 좌우로 수축되고 상하로 신장된 형태가 될 수 있다.Then, the contraction reference image f "1 can be superimposed on the first partial image i. Thus, the face portion of the human image that has been displayed on the first partial image i can be superimposed on the position And the face portion displayed in the human image of the first partial image i is shrunk to the left and to the right than the conventional shape, .

다음으로, 상기 제 1부분 이미지(i) 및 상기 제 1부분 이미지(i) 상에 중첩된 상기 수축 기준 이미지(f"1)를 가로방향으로 소정의 비율만큼 수축하여, 상기 가변 부분 이미지(s) 및 상기 가변 부분 이미지(s)상에 중첩된 상기 가변 기준 이미지(f2)를 생성할 수 있으며, 상기 가변 부분 이미지(s), 상기 가변 부분 이미지(s) 및 상기 복수개의 제 2부분 이미지(m1, m2)로 구성된 상기 제 2부분 이미지 그룹(35)을 상기 디스플레이부(2)에 출력할 수 있다.Next, the first partial image (i) and the contraction reference image (f "1) superimposed on the first partial image (i) are contracted in the horizontal direction by a predetermined ratio, ) And the variable reference image (f2) superimposed on the variable portion image (s), wherein the variable partial image (s), the variable partial image (s) and the plurality of second partial images m1, m2) to the display unit 2. In this case,

이에 따라, 가변부(400)에서 상기 제 1부분 이미지(i) 및 상기 기준 이미지(f1)를 가로방향으로 신장하기 전에, 상기 기준 이미지(f1)를 좌우로 수축시키고, 상하로 신장시킴으로써, 상기 기준 이미지(f1)를 좌우로 신장하였을 때, 상기 기준 이미지(f1)에 표시된 얼굴 부분이 좌우로 신장되어 넓적해지는 왜곡현상을 방지하여, 신장되더라도 기존의 자연스러운 형태를 유지하여 신장할 수 있다.Thus, before the first partial image (i) and the reference image (f1) are stretched in the transverse direction, the reference image (f1) is contracted to the right and left in the variable portion 400, When the reference image f1 is stretched to the left and right, the face portion displayed on the reference image f1 is stretched to the left and right to prevent the distortion, which is caused by the enlargement of the face image.

상기 워핑부(450)는, 상기 기준 이미지상(f1)에 가상의 격자구조를 형성시키며, 상기 기준 이미지(f1)에서 상기 격자구조를 구성하는 복수개의 격자점(gp)에 해당하는 픽셀들을 이동시켜 상기 기준 이미지(f1)를 변형할 수 있다.The warping unit 450 forms a virtual lattice structure on the reference image f1 and moves pixels corresponding to a plurality of lattice points gp constituting the lattice structure in the reference image f1 To deform the reference image f1.

상기 워핑부(450)는, 상기 기준 이미지(f1) 상에 가상의 격자구조(g)를 생성(도 7 (a))시키며, 상기 기준 이미지(f1)에서 상기 격자구조(g)를 구성하는 복수개의 격자점(gp)에 해당하는 픽셀들을 상기 기준 이미지(f1)가 수축 또는 신장되는 방향과 수직한 방향으로 상기 기준 이미지(f1)의 중심점(p)과 가까워지게 이동시키고, 상기 기준 이미지(f1)가 신장되는 방향과 동일한 상방향으로 상기 기준 이미지의 중심점(p)과 멀어지게 이동시켜서, 상기 기준 이미지를 신장 변형하여 상기 신장 기준 이미지(f'1)를 생성할 수 있다.The warping unit 450 generates a virtual lattice structure g on the reference image f1 (Fig. 7 (a)) and forms the lattice structure g on the reference image f1 Moving the pixels corresponding to the plurality of grid points gp closer to the center point p of the reference image f1 in a direction perpendicular to the direction in which the reference image f1 contracts or elongates, f1 may be moved away from the center point p of the reference image in the same upward direction as the extending direction to generate the extension reference image f'1 by stretching the reference image.

여기서, 상기 워핑부(450)는 상기 기준 이미지(f1)의 테두리에 해당하는 상기 격자점(gp)들은 이동시키지 않고 고정시키며, 상기 테두리 내의 상기 격자점(gp)들을 이동시켜서 상기 기준 이미지(f1)를 변형할 수 있다.The warping unit 450 fixes the grid points gp corresponding to the rim of the reference image f1 without moving them and moves the grid points gp in the rim to move the reference image f1 ) Can be modified.

전술한 바에 따르면 상기 워핑부(450)는, 상기 기준 이미지(f1)에서 상기 격자점(gp)에 해당하는 픽셀들을 상기 기준 이미지(f1)가 수축 또는 신장되는 방향과 수직한 방향으로 상기 기준 이미지(f1)의 중심점(p)과 가까워지게 이동시킨 후에, 상기 기준 이미지(f1)가 신장되는 방향과 동일한 방향으로 상기 기준 이미지의 중심점(p)과 멀어지게 이동시키는 순서로, 상기 기준 이미지(f1)를 신장 변형하여 상기 신장 기준 이미지(f'1)를 생성하지만, 그 순서는 변경될 수 있으며, 또한 동시에 일어날 수도 있다.The warping unit 450 may divide the pixels corresponding to the grid point gp in the reference image f1 into the reference image f1 in the direction perpendicular to the direction in which the reference image f1 is contracted or elongated, (p1) of the reference image (f1) in the same direction as the reference image (f1) in the same direction as the reference image (f1) ) To produce said elongation reference image (f'1), but the order may change and may also occur at the same time.

그리고, 상기 워핑부(450)는, 상기 기준 이미지(f1) 상에 가상의 격자구조(g)를 생성시키며, 상기 기준 이미지(f1)에서 상기 격자구조(g)를 구성하는 복수개의 격자점(gp)에 해당하는 픽셀들을 상기 기준 이미지(f1)가 수축 또는 신장되는 방향과 수직한 방향으로 상기 기준 이미지(f1)의 중심점(p)과 멀어지게 이동시키고, 상기 기준 이미지(f1)가 신장되는 방향으로 상기 기준 이미지의 중심점(p)과 가까워지게 이동시켜서, 상기 기준 이미지를 수축 변형하여 상기 수축 기준 이미지(f"1)를 생성할 수 있다.The warping unit 450 generates a virtual lattice structure g on the reference image f1 and generates a plurality of lattice points constituting the lattice structure g in the reference image f1 gp are moved away from the center point p of the reference image f1 in a direction perpendicular to the direction in which the reference image f1 contracts or elongates and the reference image f1 is stretched (F "1) by moving the reference image so that it approaches the center point (p) of the reference image in the direction of the reference image.

다음으로, 상기 가변부(400)는 상기 제 1변환 이미지(i) 및 상기 기준 이미지(f1)의 수축 정도를 상기 사용자의 입력에 따라 결정할 수 있다.Next, the variable portion 400 may determine the degree of contraction of the first transformed image (i) and the reference image (f1) according to the input of the user.

상기 사용자는 상기 디스플레이부(2) 상에 표시된 가변 조절 표시(135)를 상기 디스플레이부(2)의 좌우 방향으로 드래그 하여 상기 제 1부분 이미지 그룹(30) 중 일부를 신장하거나 수축할 수 있다. 구체적으로, 상기 가변 조절 표시(135)는 상기 디스플레이부(2) 상에 가로 방향으로 위치하는 가변바(130)상에서 상기 사용자의 드래그에 따라 우측으로 이동하며, 상기 가변 조절 표시(135)가 우측으로 이동하는 비율에 따라서 상기 제 1부분 이미지(i) 및 상기 신장 기준 이미지(f'1)가 수축될 수 있다. 반대로, 상기 가변 조절 표시(135)가 상기 디스플레이부(2) 상에서 상기 사용자의 드래그에 따라 좌측으로 이동할 경우, 상기 가변 조절 표시(135)가 좌측으로 이동하는 비율에 따라서 상기 제 1부분 이미지(i) 및 상기 수축 기준 이미지(f"1)가 신장될 수 있다.The user can extend or contract a part of the first partial image group 30 by dragging the variable adjustment indicator 135 displayed on the display unit 2 in the left and right directions of the display unit 2. [ More specifically, the variable adjustment indicator 135 moves to the right according to the drag of the user on the variable bar 130 positioned in the horizontal direction on the display unit 2, and the variable adjustment indicator 135 is moved to the right The first partial image (i) and the elongation reference image (f'1) may be retracted according to the rate of movement to the second partial image (i). On the contrary, when the variable adjustment indicator 135 moves to the left according to the drag of the user on the display unit 2, the first partial image i ) And the contraction reference image (f "1) may be stretched.

이어서, 상기 합성부(500)는 상기 장치를 사용하는 사용자의 입력에 따라 상기 제 2부분 이미지 그룹(35)을 결합하여 상기 가변 이미지(40)를 생성할 수 있으며, 상기 가변 이미지(40)를 상기 메모리에 저장하고 상기 디스플레이부(2)에 표시할 수 있다.The combining unit 500 may generate the variable image 40 by combining the second partial image group 35 according to an input of a user using the apparatus, Can be stored in the memory and can be displayed on the display unit (2).

상기 합성부(500)는 상기 사용자가 상기 디스플레이부(2) 상에 표시된 확인 표시(140)을 터치하면 상기 제 2부분 이미지 그룹(35)을 결합하여 상기 제 1가변 이미지(40)를 생성하고, 상기 가변 이미지(40)를 상기 디스플레이부(2)에 표시하고, 상기 가변 이미지(40)가 표시된 상기 디스플레이부(2) 상에 상기 분할부(300)에서 표시되었던 상기 복수개의 기준선(l1, l2) 및 상기 기준영역(a)을 표시할 수 있다.The combining unit 500 combines the second partial image group 35 to generate the first variable image 40 when the user touches the check mark 140 displayed on the display unit 2 And displays the variable image 40 on the display unit 2 and displays the variable image 40 on the display unit 2 on which the plurality of reference lines 11, 12) and the reference area (a).

이상에서, 본 발명에 따른 이미지 재조정 장치(2000)에 대해서 살펴보았다. The image re-arrangement apparatus 2000 according to the present invention has been described above.

전술한 이미지 재조정 장치(2000)은 상기 이미지 재조정 장치(2000)을 구성함에 있어서, 상기 가변부(400)에서, 상기 기준 이미지(f1)를 수축 또는 신장하여 상기 가변 기준 이미지(f2)를 생성하기 전에, 상기 기준 이미지(i)가 수축 또는 신장되어 가변 되는 것과 반대로 신장 또는 수축되는 변형을 하여, 상기 신장 기준 이미지(f'1) 또는 수축 기준 이미지(f"1)를 생성하는 워핑부(450)를 더 포함하는 것을 살펴보았다.In the image re-arrangement apparatus 2000, the image re-arrangement apparatus 2000 may be configured such that in the variable unit 400, the reference image f1 is contracted or elongated to generate the variable reference image f2 A warping unit 450 (see FIG. 4) that generates a stretch reference image f '1 or a shrink reference image f' 1 by performing a stretch or contraction deformation before the reference image i is contracted or stretched, ).

하지만, 상기 워핑부(450)는 상기 제 1부분 이미지(i) 및 상기 기준 이미지(f1)가 가변됨에 따라 발생하는 상기 기준 이미지(f1)가 표시하는 사람 이미지 중 얼굴 부분이 왜곡되어 부자연스러운 결과물을 얻게되는 문제점을 방지하기 위함이기 때문에, 상기 워핑부(450)는 다른 형식으로도 상기 이미지 재조정 장치(2000)에 적용될 수 있다.However, the warping unit 450 may distort the face part of the human image displayed by the first partial image (i) and the reference image f1 generated as the reference image f1 varies, The warping unit 450 can be applied to the image re-sizing apparatus 2000 in a different format.

이하에서는 본 발명에 따른 다른 실시예의 워핑부(450)를 포함한 이미지 재조정 장치(2000)을 살펴본다.Hereinafter, an image re-arrangement apparatus 2000 including a warping unit 450 according to another embodiment of the present invention will be described.

본 발명에 따른 다른 실시예의 워핑부(450)를 포함한 이미지 재조정 장치(2000)은 로딩부(100), 변환부(200), 분할부(300), 가변부(400) 및 합성부(500)를 포함할 수 있다.The image re-arrangement apparatus 2000 including the warping unit 450 according to another embodiment of the present invention includes a loading unit 100, a conversion unit 200, a division unit 300, a variable unit 400, . ≪ / RTI >

상기 로딩부(100) 및 상기 변환부(200)는 전술한 첫번째 실시예와 동일하므로, 그 자세한 설명을 생략한다.The loading unit 100 and the converting unit 200 are the same as those of the first embodiment, and detailed description thereof will be omitted.

상기 분할부(300)는 상기 디스플레이부(2) 상에 복수개의 기준선(l1, l2)과 상기 사람 이미지 중 일부분을 포함하는 기준영역(a)을 표시할 수 있다. 구체적으로, 상기 분할부(300)는 두 개의 기준선(l1, l2)을 상기 디스플레이부(2) 상에 표시할 수 있으며, 상기 두 개의 기준선(l1, l2) 사이에 상기 사람의 이미지가 표시되도록 위치시킬 수 있다. 또한, 상기 두 개의 기준선(l1, l2) 사이에 위치하여 표시된 상기 사람 이미지의 얼굴 부분에 상기 기준영역(a)을 위치시켜, 상기 기준영역을 포함하여 사람 이미지 중 얼굴 부분이 표시되는 기준 이미지(f1)를 생성하고, 상기 제 1변환 이미지(20)를 상기 두 개의 기준선(l1, l2)을 기준으로 분할하여 상기 기준영역을 포함하는 제 1부분 이미지 (i) 및 상기 기준영역을 포함하지 않는 복수개의 제 2부분 이미지(m1, m2)를 생성할 수 있다. 여기서, 상기 기준 이미지(f1), 상기 제 1변환 이미지(i) 및 상기 복수개의 제 2부분 이미지(m1, m2)는 제 1부분 이미지 그룹(30)으로 구성될 수 있으며, 상기 제 1부분 이미지 그룹(30)은 상기 메모리에 저장될 수 있다.The dividing unit 300 may display a plurality of reference lines 11 and 12 on the display unit 2 and a reference area a including a part of the human image. Specifically, the dividing unit 300 may display two reference lines 11 and 12 on the display unit 2, and display the image of the person between the two reference lines 11 and 12 . In addition, the reference region (a) is positioned on the face portion of the human image displayed between the two reference lines (11, 12), and a reference image (i) dividing the first transformed image (20) with respect to the two reference lines (11, 12) to generate a first partial image (i) including the reference region and a second partial image A plurality of second partial images m1 and m2 may be generated. Here, the reference image f1, the first transformed image i, and the plurality of second partial images m1, m2 may be composed of a first partial image group 30, The group 30 may be stored in the memory.

상기 기준선(l1, l2)은 일부에 기준선 조절표시(110)을 포함하여 상기 디스플레이부(2) 상에 표시될 수 있다. 상기 기준선(l1, l2)은 상기 디스플레이부(2)에 출력된 상기 제 1변환 이미지(20)의 세로 방향과 평행이 되도록 표시되며, 복수개의 상기 기준선(l1, l2)은 서로 이격되어 표시되고, 상기 장치를 사용하는 사용자의 입력에 따라 위치를 변경하여 표시될 수 있다. 상기 사용자는 상기 복수개의 기준선(l1, l2) 각각에 포함된 상기 기준선 조절표시(11)를 드래그하여 상기 제 1변환 이미지(20)상의 원하는 위치에 상기 복수개의 기준선(l1, l2)의 위치를 결정할 수 있다.The reference lines 11 and 12 may be partially displayed on the display unit 2 including the reference line adjustment indication 110. The reference lines 11 and 12 are displayed so as to be parallel to the longitudinal direction of the first converted image 20 output to the display unit 2 and the plurality of reference lines 11 and 12 are displayed apart from each other , And can be displayed by changing the position according to the input of the user using the apparatus. The user drags the reference line adjustment indication 11 included in each of the plurality of reference lines 11 and 12 to determine a position of the plurality of reference lines 11 and 12 at a desired position on the first transformed image 20 You can decide.

예를 들면, 사용자는 기준선(l1)을 상기 사람 이미지의 좌측 측면과 근접한 거리에 배치할 수 있으며, 기준선(l2)을 상기 사람 이미지의 우측 측면과 근접한 거리에 배치할 할 수 있다. 따라서, 두 개의 상기 기준선(l1, l2)사이에 상기 사람 이미지가 위치하여 표시될 수 있다.For example, the user can place the reference line 11 at a distance close to the left side of the human image, and the reference line 12 at a distance close to the right side of the human image. Therefore, the human image can be positioned and displayed between the two reference lines (11, 12).

또한, 상기 기준영역(a)은 일부에 기준영역 조절표시(115)를 포함하여 상기 디스플레이부(2) 상에 표시될 수 있다. 상기 기준영역(a)은 상기 디스플레이부(2)에 출력된 상기 제 1변환 이미지(20)상의 일부분에, 바람직하게는, 사람 이미지를 사이에 두고 표시된 인접한 두 개의 상기 기준선(l1, l2)사이에 표시될 수 있으며, 상기 장치를 사용하는 사용자의 입력에 따라 위치와 크기가 변경되어 표시될 수 있다. 상기 사용자는 상기 기준영역(a)의 중심부를 드래그하여 상기 제 1변환 이미지(20)상의 원하는 위치에 상기 기준영역(a)을 위치시킬 수 있으며, 상기 기준영역(a)에 포함된 상기 기준영역 조절표시(115)를 상기 기준영역(a)의 중심부방향 또는 그 반대방향으로 드래그하여 상기 기준영역(a)을 원하는 크기로 축소시키거나 확대시킬 수 있다.Also, the reference area (a) may be displayed on the display unit 2 including a reference area adjustment indication 115 in part. The reference region a is preferably provided on a portion of the first transformed image 20 output to the display unit 2, preferably between two adjacent reference lines 11, 12, And may be displayed in a changed position and size according to an input of a user using the apparatus. The user can drag the center portion of the reference region a to position the reference region a at a desired position on the first transformed image 20, The reference area a can be reduced or enlarged to a desired size by dragging the adjustment indication 115 in the direction of the center of the reference area a or the opposite direction.

예를 들면, 사용자는 기준영역(a)의 중심부를 드래그하여, 상기 기준영역(a)을 상기 사람 이미지의 얼굴 부분에 배치할 수 있으며, 상기 기준영역 조절표시(115)를 드래그하여 상기 사람 이미지의 얼굴 부분을 근접한 간격으로 포함할 수 있도록 상기 기준영역(a)의 크기를 조절할 수 있다.For example, the user can drag the center portion of the reference region (a) to place the reference region (a) in the face portion of the human image, and drag the reference region adjustment indication (115) The size of the reference area a can be adjusted so that the face area of the reference area a can be included at close intervals.

상기 분할부(300)에서, 상기 제 1부분 이미지 그룹(30)을 구성하는 상기 기준 이미지(f1), 상기 제 1변환 이미지(i) 및 상기 복수개의 제 2부분 이미지(m1, m2)는 각각 상기 디스플레이부(2)에 출력될 수 있으나, 상기 사용자는 상기 제 1부분 이미지 그룹(30)이 분할된 형태로 표시되지 않고 마치 결합되어 표시된 것으로 인식할 수 있다. 상기 분할부(300)는 상기 제 1변환 이미지(20)를 분할하여 상기 기준 이미지(f1), 상기 제 1변환 이미지(i) 및 상기 복수개의 제 2부분 이미지(m1, m2)를 생성하여 상기 제 1부분 이미지 그룹(30)을 구성하고, 상기 제 1부분 이미지 그룹(30)을 상기 메모리에 저장할 수 있으며, 상기 디스플레이부(2)의 표시영역상에는 마치 상기 제 1부분 이미지 그룹(30)이 결합된 것처럼 표시할 수 있다. 하지만 상기 디스플레이부(2)에 표시된 상기 제 1부분 이미지 그룹(30)은 상기 제 1부분 이미지 그룹(30)을 구성하는 상기 기준 이미지(f1), 상기 제 1변환 이미지(i) 및 상기 복수개의 제 2부분 이미지(m1, m2)가 각각 표시된 것이며, 상기 사용자는 상기 제 1부분 이미지 그룹(30)이 분할된 상기 기준 이미지(f1), 상기 제 1변환 이미지(i) 및 상기 복수개의 제 2부분 이미지(m1, m2)로 구성된 것을 인식하지 못하고 마치 결합된 하나의 것으로 인식할 수 있다. 이는 상기 사용자의 편의 및 편집의 용이성을 고려한 것일 수 있다.In the division unit 300, the reference image f1, the first transformed image i, and the plurality of second partial images m1, m2 constituting the first partial image group 30 are The user can recognize that the first partial image group 30 is not displayed in a divided form but is displayed in a combined manner. The dividing unit 300 divides the first transformed image 20 to generate the reference image f1, the first transformed image i, and the plurality of second partial images m1 and m2, The first partial image group 30 can be stored in the memory and the first partial image group 30 can be stored on the display area of the display unit 2. [ It can be displayed as combined. However, the first partial image group 30 displayed on the display unit 2 includes the reference image f1 constituting the first partial image group 30, the first transformed image i, The first partial image group 30 is divided into the reference image f1 divided into the first converted image i and the second divided image m2, It can be recognized as a combined one without recognizing that it is composed of partial images (m1, m2). This may be considering the convenience of the user and the ease of editing.

여기서, 상기 기준 이미지(f1)는, 상기 제 1변환 이미지(i) 및 상기 복수개의 제 2부분 이미지(m1, m2)가 상기 디스플레이부(2) 상에 표시된 이미지 상에 중첩되어 표시될 수 있으며, 더 자세하게는, 상기 제 1변환 이미지(i)상에 표시된 사람 이미지 중 얼굴 부분에 상기 기준 이미지(f1)에 표시된 사람의 얼굴 부분이 중첩되게 하여 표시할 수 있다. 이 경우, 상기 제 1변환 이미지(f1)에 포함된 기준구역(b)이 나타내는 이미지만 상기 디스플레이상에서 표시되며, 상기 투명구역(b)은 투명하므로 표시되지 아니한다.Here, the reference image f1 may be displayed so that the first transformed image i and the plurality of second partial images m1, m2 are superimposed on the image displayed on the display unit 2 , More specifically, the face portion of the person image displayed on the first converted image (i) can be displayed so that the face portion of the person displayed in the reference image f1 is superimposed on the face portion. In this case, only the image represented by the reference region (b) included in the first transformed image (f1) is displayed on the display, and the transparent region (b) is not displayed because it is transparent.

하지만, 상기 분할부(300)에서는, 전술한 바와 같이 상기 제 1변환 이미지(i) 및 상기 복수개의 제 2부분 이미지(m1, m2)가 상기 디스플레이부(2) 상에 표시된 이미지 상에 상기 기준 이미지(f1)를 표시한다고 해도, 상기 제 1부분 이미지(i) 및 상기 기준 이미지(f1)에서 사람 얼굴 부분의 모양 및 크기는 변함이 없으므로, 상기 제 1변환 이미지(i) 및 상기 복수개의 제 2부분 이미지(m1, m2)가 상기 디스플레이부(2) 상에 표시된 이미지 상에 상기 기준 이미지(f1)를 중첩되게 표시하지 않고, 상기 제 1변환 이미지(i) 및 상기 복수개의 제 2부분 이미지(m1, m2) 만을 상기 디스플레이부(2)에 표시할 수 있다.However, in the division unit 300, as described above, the first converted image i and the plurality of second partial images m1 and m2 are displayed on the image displayed on the display unit 2, The shape and size of the human face portion in the first partial image i and the reference image f1 do not change even if the image f1 is displayed, The two partial images m1 and m2 do not display the reference image f1 superimposed on the image displayed on the display unit 2 and the first transformed image i and the plurality of second partial images f1, (m1, m2) can be displayed on the display unit 2 only.

여기서, 상기 기준 이미지(f1)는 상기 기준영역(a)을 구성하는 적어도 하나 이상의 점과 접촉하고 상기 기준영역(a)을 내측에 포함하는 사각형 형태의 기준구역이 분할되어 형성된 것일 수 있다.Here, the reference image f1 may be formed by dividing a rectangular reference area in contact with at least one point constituting the reference area a and including the reference area a inside.

상기 디스플레이부(2) 상에 표시된 제 1부분 이미지(30) 중 상기 제 1부분 이미지(i)가 표시하는 얼굴 부분에 상기 기준구역(a)이 표시되고, 상기 기준구역(a) 외측에 상기 제 1부분 이미지(i)와 평행하고 상기 기준구역(a)과 접촉하는 4개의 변으로 이루어진 사각형 형태의 기준구역(b)을, 상기 기준구역(b)과 동일한 형태의 도형이 상기 제 1부분 이미지(i)의 가로 갈이만큼 연장되고 투명한 투명구역(t)상에서 생성하여, 상기 기준구역(b) 및 상기 투명구역(t)으로 구성된 상기 기준 이미지(f1)를 생성할 수 있다. 여기서, 상기 기준구역(b)은, 상기 투명구역(t)상에서, 상기 기준구역(b)이 상기 제 1부분 이미지(i)상에 위치해 있던 것과 동일한 가로좌표상에 생성될 수 있다.Wherein the reference region (a) is displayed on a face portion of the first partial image (30) displayed on the display unit (2) and the first partial image (i) A reference zone b in the form of a quadrangle consisting of four sides in parallel with the first partial image i and in contact with the reference zone a is arranged such that a figure of the same shape as the reference zone b, A reference image f1 consisting of the reference region b and the transparent region t may be generated on the transparent transparent region t which is extended as far as the width of the image i. Here, the reference zone (b) can be created on the same horizontal axis as the reference zone (b) was located on the first partial image (i) on the transparent zone (t).

상기 기준구역(b) 및 상기 투명구역(t)은 상기 제 1부분 이미지(i) 중 상기 기준 이미지(f1)을 분할하여 생성하고, 그 영역의 범위를 정해주기 위한 가상의 구역이며, 따라서 상기 디스플레이부(2)에 표시되지 않을 수 있으며, 상기 기준구역(b) 및 상기 투명구역(t)을 포함하는 상기 기준 이미지(f1)가 상기 디스플레이부(2)에 출력될 때, 상기 기준영역(a), 상기 기준구역(b) 및 상기 투명구역(t)은 표시되지 않고, 상기 기준구역(b)에 포함된 얼굴 부분을 포함한 이미지만 표시될 수 있다.The reference region b and the transparent region t are virtual regions for dividing the reference image f1 among the first partial images i and defining the range of the reference image f1, When the reference image f1 including the reference region b and the transparent region t is output to the display unit 2, the reference region f1 may not be displayed on the display region 2, the reference region b and the transparent region t are not displayed and only the image including the face portion included in the reference region b may be displayed.

다음으로, 상기 가변부(400)는 상기 제 1부분 이미지 그룹(30) 중 상기 제 1부분 이미지(i) 및 상기 기준 이미지(f1)를 가로방향으로 소정의 비율만큼 수축 또는 신장하여 가변 부분 이미지(s) 및 가변 기준 이미지(f2)를 생성할 수 있다.Next, the variable portion 400 contracts or expands the first partial image (i) and the reference image (f1) of the first partial image group 30 by a predetermined ratio in the horizontal direction, (s) and variable reference image f2.

여기서, 상기 가변부(400)는 상기 제 1부분 이미지 그룹(30) 중 상기 제 1부분 이미지(i) 및 상기 기준 이미지(f1)를 가로방향으로 소정의 비율만큼 수축되거나 신장하여 상기 가변 부분 이미지(s) 및 상기 가변 기준 이미지(f2)를 생성한 후에, 상기 가변 기준 이미지(f2)를 신장 변형하여 가변 신장 기준 이미지(f'2)를 생성하거나, 수축 변형하여 가변 수축 기준 이미지(f"2)를 생성하는 워핑부(450)를 더 포함할 수 있다.Here, the variable portion 400 contracts or extends the first partial image (i) and the reference image (f1) of the first partial image group 30 by a predetermined ratio in the horizontal direction, (f2) by stretching the variable reference image f2 to generate a variable reference image f2 after generating the variable reference image f2 and generating the variable reference image f2, 2 to generate a warping unit 450. [

이하에서는, 상기 가변 기준 이미지(f2)를 신장 변형하여 상기 가변 신장 기준 이미지(f'2)를 생성하는 워핑부(450)에 대해 살펴보기로 한다.Hereinafter, a description will be made of a warping unit 450 that generates the variable stretch reference image f'2 by stretching the variable reference image f2.

상기 워핑부(450)는, 상기 가변부(400)에서 상기 제 1부분 이미지 그룹(30) 중 상기 제 1부분 이미지(i) 및 상기 기준 이미지(f1)가 가로 방향으로 소정 비율만큼 수축되어 상기 가변 부분 이미지(s) 및 상기 가변 기준 이미지(f2)가 생성된 후, 상기 가변 기준 이미지(f2)를 신장 변형하여 가변 신장 기준 이미지(f'2)를 생성할 수 있으며, 상기 가변 부분 이미지(s), 상기 가변 신장 기준 이미지(f'2) 및 상기 복수개의 제 2부분 이미지(m1, m2)는 상기 제 2부분 이미지 그룹을 구성할 수 있다. 여기서, 상기 가변 기준 이미지(f2)는 테두리 부분은 변형되지 않고 상기 가변 기준 이미지(f2)의 내측에 표시된 이미지만 변형될 수 있다. 따라서 상기 가변 기준 이미지(f2)가 변형되어 상기 가변 신장 기준 이미지(f'2)가 생성되어도 전체적인 크기는 변하지 않고 오로지 상기 가변 기준 이미지(f2)가 표시하는 내측의 영역만 신장되어 표시될 수 있다.The warping unit 450 may be configured such that the first partial image i and the reference image f1 of the first partial image group 30 in the variable unit 400 are contracted by a predetermined ratio in the horizontal direction, After generating the variable partial image (s) and the variable reference image (f2), the variable reference image (f2) may be expanded and deformed to generate a variable height reference image (f'2) s, the variable stretch reference image f'2, and the plurality of second partial images m1 and m2 may constitute the second partial image group. Here, the variable reference image f2 may be deformed only in the image displayed inside the variable reference image f2 without modifying the rim portion. Therefore, even if the variable reference image f2 is deformed to generate the variable-height reference image f'2, the entire size does not change, and only the inner region displayed by the variable reference image f2 can be extended and displayed .

구체적으로, 상기 워핑부(450)는, 상기 가변 기준 이미지(f2)를 신장하여 상기 가변 신장 기준 이미지(f'2)를 생성할 때, 상기 가변 기준 이미지(f2)가 표시하는 이미지를 상하로 수축되게, 그리고 좌우로 신장되게 변형하여 상기 가변 신장 기준 이미지(f'2)를 생성할 수 있다.More specifically, when the variable reference image f2 is generated by extending the variable reference image f2, the warping unit 450 may shift the image displayed by the variable reference image f2 up and down To be contracted, and to be laterally and laterally deformed to produce the variable stretch reference image f'2.

이어서, 상기 가변 신장 기준 이미지(f'2)는 상기 제 2부분 이미지(s)상에 중첩될 수 있다. 따라서, 상기 제 2부분 이미지(s)상에 표시되었던 사람 이미지 중 얼굴 부분은, 그 자리에 상기 가변 신장 기준 이미지(f'2)가 표시됨으로써 가려져 사라지게 되며, 상기 제 2부분 이미지(s)의 사람 이미지에서 표시되었던 얼굴 부분이, 기존에 형상보다, 좌우로 신장되고 상하로 수축된 형태가 될 수 있다. 이 경우, 상기 가변 신장 기준 이미지(f'2)에 포함된 투명구역(b)에 해당하는 이미지는 투명하므로 상기 디스플레이에(2)에 출력된 상기 제 2부분 이미지(s)상에 아무런 영향을 미치지 못한다. 여기서, 상기 가변 신장 기준 이미지(f'2), 상기 제 2부분 이미지(s) 및 상기 복수개의 제 2부분 이미지(m1, m2)는 상기 제 2부분 이미지 그룹(35)을 구성하여 상기 디스플레이부(2)에 출력할 수 있다.Subsequently, the variable stretch reference image f'2 may be superimposed on the second partial image s. Thus, the face portion of the human image that has been displayed on the second partial image s is obscured and disappears by displaying the variable-fiducial reference image f'2 in its place, and the face of the second partial image (s) The face portion displayed in the human image can be a shape that is elongated to the left and right and contracted up and down rather than the existing shape. In this case, since the image corresponding to the transparent region (b) included in the variable stretch reference image (f '2) is transparent, it has no influence on the second partial image (s) I can not go crazy. Here, the variable stretch reference image (f'2), the second partial image (s) and the plurality of second partial images (m1, m2) constitute the second partial image group (35) (2).

이에 따라, 가변부(400)에서 상기 제 1부분 이미지(i) 및 상기 기준 이미지(f1)를 가로방향으로 수축하여, 상기 제 2부분 이미지(s) 및 상기 가변 기준 이미지(f2)를 생성한 후에, 상기 가변 기준 이미지(f2)를 좌우로 신장시키고, 상하로 수축시킴으로써, 상기 기준 이미지(f1)가 좌우로 수축되어 길쭉해진 상기 가변 기준 이미지(f2)의 왜곡현상을 보정해 주어, 보다 자연스러운 형태의 결과를 얻을 수 있다.Thus, in the variable portion 400, the first partial image (i) and the reference image (f1) are contracted in the horizontal direction to generate the second partial image (s) and the variable reference image (f2) The variable reference image f2 is stretched in the horizontal direction and the vertical reference image f1 is contracted in the vertical direction to correct the distortion of the variable reference image f2 in which the reference image f1 is contracted to the left and right, The result of the form can be obtained.

이하에서는, 상기 가변 기준 이미지(f2)를 수축 변형하여 상기 가변 수축 기준 이미지(f"2)를 생성하는 워핑부(450)에 대해 살펴보기로 한다.Hereinafter, the warping unit 450 that shrinks and deforms the variable reference image f2 to generate the variable shrink reference image f '' 2 will be described.

상기 워핑부(450)는, 상기 가변부(400)에서 상기 제 1부분 이미지 그룹(30) 중 상기 제 1부분 이미지(i) 및 상기 기준 이미지(f1)가 가로 방향으로 소정 비율만큼 신장되어 상기 가변 부분 이미지(s) 및 상기 가변 기준 이미지(f2)가 생성된 후, 상기 가변 기준 이미지(f2)를 수축 변형하여 가변 수축 기준 이미지(f"2)를 생성할 수 있으며, 상기 가변 부분 이미지(s), 상기 가변 수축 기준 이미지(f"2) 및 상기 복수개의 제 2부분 이미지(m1, m2)는 상기 제 2부분 이미지 그룹(35)을 구성할 수 있다. 여기서, 상기 가변 기준 이미지(f2)는 테두리 부분은 변형되지 않고 상기 가변 기준 이미지(f2)의 내측에 표시된 이미지만 변형될 수 있다. 따라서 상기 가변 기준 이미지(f2)가 변형되어 상기 가변 수축 기준 이미지(f"2)가 생성되어도 전체적인 크기는 변하지 않고 오로지 상기 가변 기준 이미지(f2)가 표시하는 내측의 영역만 수축되어 표시될 수 있다.The warping unit 450 may be configured such that the first partial image i and the reference image f1 of the first partial image group 30 are extended in the horizontal direction by a predetermined ratio in the variable unit 400, After generating the variable partial image s and the variable reference image f2, the variable reference image f2 may be contracted and deformed to generate the variable shrink reference image f "2, s), the variable shrinkage reference image (f '' 2) and the plurality of second partial images (m1, m2) may constitute the second partial image group (35). Here, the variable reference image f2 may be deformed only in the image displayed inside the variable reference image f2 without modifying the rim portion. Therefore, even if the variable reference image f2 is deformed to generate the variable shrink reference image f "2, the entire size does not change, and only the inner region displayed by the variable reference image f2 is contracted and displayed .

구체적으로, 상기 워핑부(450)는, 상기 가변 기준 이미지(f2)를 신장하여 상기 가변 수축 기준 이미지(f"2)를 생성할 때, 상기 가변 기준 이미지(f2)가 표시하는 이미지를 상하로 신장되게, 그리고 좌우로 수축되게 변형하여 상기 가변 수축 기준 이미지(f"2)를 생성할 수 있다.Specifically, when the variable reference image f2 is generated by expanding the variable reference image f2, the warping unit 450 may shift the image displayed by the variable reference image f2 up and down (F "2) by being deformed to be stretched, contracted, and expanded laterally.

이어서, 상기 가변 수축 기준 이미지(f"2)는 상기 제 2부분 이미지(s)상에 중첩될 수 있다. 따라서, 상기 제 2부분 이미지(s)상에 표시되었던 사람 이미지 중 얼굴 부분은, 그 자리에 상기 가변 수축 기준 이미지(f"2)가 표시됨으로써 가려져 사라지게 되며, 상기 제 2부분 이미지(s)의 사람 이미지에서 표시되었던 얼굴 부분이, 기존에 형상보다, 좌우로 수축되고 상하로 신장된 형태가 될 수 있다. 이 경우, 상기 가변 수축 기준 이미지(f"2)에 포함된 투명구역(b)에 해당하는 이미지는 투명하므로 상기 디스플레이에(2)에 출력된 상기 제 2부분 이미지(s)상에 아무런 영향을 미치지 못한다. 여기서, 상기 가변 수축 기준 이미지(f"2), 상기 제 2부분 이미지(s) 및 상기 복수개의 제 2부분 이미지(m1, m2)는 상기 제 2부분 이미지 그룹(35)을 구성하여 상기 디스플레이부(2)에 출력할 수 있다.Then, the variable shrink reference image f "2 may be superimposed on the second partial image s. Thus, the face part of the person image that was displayed on the second partial image s And the face portion displayed in the human image of the second partial image s is shrunk to the left and to the right than the conventional shape and is stretched up and down Can be a form. In this case, since the image corresponding to the transparent region (b) included in the variable shrinkage reference image (f '2) is transparent, it has no influence on the second partial image (s) The variable shrink reference image f '2, the second partial image s and the plurality of second partial images m1 and m2 constitute the second partial image group 35 To the display unit 2.

이에 따라, 가변부(400)에서 상기 제 1부분 이미지(i) 및 상기 기준 이미지(f1)를 가로방향으로 신장하여, 상기 제 2부분 이미지(s) 및 상기 가변 기준 이미지(f2)를 생성한 후에, 상기 가변 기준 이미지(f2)를 좌우로 수축시키고, 상하로 신장시킴으로써, 상기 기준 이미지(f1)가 좌우로 신장되어 넓적해진 상기 가변 기준 이미지(f2)의 왜곡현상을 보정해 주어, 보다 자연스러운 형태의 결과를 얻을 수 있다.Thus, in the variable portion 400, the first partial image (i) and the reference image (f1) are extended in the horizontal direction to generate the second partial image (s) and the variable reference image (f2) The reference image f1 is stretched laterally to compensate for the distortion of the variable reference image f2 which is enlarged so as to be more natural The result of the form can be obtained.

상기 워핑부(450)는, 상기 가변 기준 이미지(f2)에서 투명구역을 제외한 부분에 가상의 격자구조를 형성시키며, 상기 가변 기준 이미지(f2)에서 상기 격자구조를 구성하는 복수개의 격자점(gp)에 해당하는 픽셀들을 이동시켜서 상기 가변 기준 이미지(f2)를 변형할 수 있다.The warping unit 450 forms a virtual lattice structure in a portion of the variable reference image f2 excluding the transparent region and generates a plurality of lattice points gp ) Can be moved to transform the variable reference image f2.

상기 워핑부(450)는, 상기 가변 기준 이미지(f2)에서 투명구역(b)을 제외한 부분에 가상의 격자구조(g)를 생성시키며, 상기 가변 기준 이미지(f2)에서 상기 격자구조(g)를 구성하는 복수개의 격자점(gp)에 해당하는 픽셀들을 상기 가변 기준 이미지(f2)가 수축 또는 신장되는 방향과 수직한 방향으로 상기 가변 기준 이미지(f2)의 중심점(p)과 가까워지게 이동시키고, 상기 가변 기준 이미지(f2)가 신장되는 방향과 동일한 방향으로 상기 가변 기준 이미지(f2)의 중심점(p)과 멀어지게 이동시켜서, 상기 가변 기준 이미지(f2)를 신장 변형하여 상기 가변 신장 기준 이미지(f'2)를 생성할 수 있다.The warping unit 450 generates a virtual lattice structure g in a portion excluding the transparent region b in the variable reference image f2 and generates the lattice structure g in the variable reference image f2, (P) of the variable reference image f2 in a direction perpendicular to the direction in which the variable reference image f2 is contracted or elongated by moving the pixels corresponding to the plurality of grid points gp constituting the variable reference image f2 (P2) of the variable reference image (f2) in the same direction as the direction in which the variable reference image (f2) is stretched to stretch and deform the variable reference image (f2) (f'2).

여기서, 상기 워핑부(450)는 상기 가변 기준 이미지(f2)에서 투명구역(b)을 제외한 부분의 테두리에 해당하는 상기 격자점(gp)들은 이동시키지 않고 고정시키며, 상기 가변 기준 이미지(f2)에서 투명구역(b)을 제외한 부분의 내측의 상기 격자점(gp)들을 이동시켜서 상기 가변 기준 이미지(f2)를 변형할 수 있다.The warping unit 450 fixes the grid points gp corresponding to the frame except the transparent region b in the variable reference image f2 without moving the variable reference image f2, The variable reference image f2 can be deformed by moving the grid points gp inside the portion excluding the transparent region b.

전술한 바에 따르면 상기 워핑부(450)는, 상기 가변 기준 이미지(f2)에서 상기 투명구역(b)을 제외한 부분에 생성된 상기 격자점(gp)에 해당하는 픽셀들을 상기 가변 기준 이미지(f2)가 수축 또는 신장되는 방향과 수직한 방향으로 상기 가변 기준 이미지(f2)의 중심점(p)과 가까워지게 이동시킨 후에, 상기 가변 기준 이미지(f2)가 신장되는 방향과 동일한 방향으로 상기 가변 기준 이미지(f2)의 중심점(p)과 멀어지게 이동시키는 순서로, 상기 가변 기준 이미지(f2)를 신장 변형하여 상기 가변 신장 기준 이미지(f'2)를 생성하지만, 그 순서는 변경될 수 있으며, 또한 동시에 일어날 수도 있다.The warping unit 450 may divide the pixels corresponding to the grid point gp generated in the portion excluding the transparent region b from the variable reference image f2 into the variable reference image f2, (F2) in the same direction as the direction in which the variable reference image (f2) is elongated after moving the variable reference image (f2) so as to approach the center point (p) of the variable reference image f2) by stretching and deforming the variable reference image (f2) in the order that they are moved away from the center point (p) of the reference image (f2) It may happen.

그리고, 상기 워핑부(450)는, 상기 가변 기준 이미지(f2)에서 투명구역(b)을 제외한 부분에 가상의 격자구조(g)를 생성시키며, 상기 가변 기준 이미지(f2)에서 상기 격자구조(g)를 구성하는 복수개의 격자점(gp)에 해당하는 픽셀들을 상기 가변 기준 이미지(f2)가 수축 또는 신장되는 방향과 수직한 방향으로 상기 가변 기준 이미지(f2)의 중심점(p)과 멀어지게 이동시키고, 상기 가변 기준 이미지(f2)가 수축되는 방향과 동일한 방향으로 상기 가변 기준 이미지(f2)의 중심점(p)과 가까워지게 이동시켜서, 상기 가변 기준 이미지(f2)를 수축 변형하여 상기 가변 신장 기준 이미지(f'2)를 생성할 수 있다.The warping unit 450 generates a virtual lattice structure g in a portion excluding the transparent region b in the variable reference image f2 and generates the virtual lattice structure g in the variable reference image f2, the pixels corresponding to the plurality of lattice points gp constituting the variable reference image f2 are spaced apart from the center point p of the variable reference image f2 in a direction perpendicular to the direction in which the variable reference image f2 is contracted or elongated (F2) in the same direction as the direction in which the variable reference image (f2) is contracted so as to contract the variable reference image (f2) To generate a reference image f'2.

이어서, 상기 합성부(500)는 상기 장치를 사용하는 사용자의 입력에 따라 상기 제 2부분 이미지 그룹(35)을 결합하여 상기 가변 이미지(40)를 생성할 수 있으며, 상기 가변 이미지(40)를 상기 메모리에 저장하고 상기 디스플레이부(2)에 표시할 수 있다.The combining unit 500 may generate the variable image 40 by combining the second partial image group 35 according to an input of a user using the apparatus, Can be stored in the memory and can be displayed on the display unit (2).

상기 합성부(500)에 관한 부가적인 설명은 전술한 첫번째 실시예와 동일하므로, 그 자세한 설명을 생략한다.Additional descriptions of the combining unit 500 are the same as those of the first embodiment, and detailed description thereof will be omitted.

이상의 설명은 본 발명의 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다.The foregoing description is merely illustrative of the technical idea of the present invention, and various changes and modifications may be made by those skilled in the art without departing from the essential characteristics of the present invention.

따라서, 본 발명에 개시된 실시 예들은 본 발명의 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시 예에 의하여 본 발명의 기술 사상의 범위가 한정되는 것은 아니다.Therefore, the embodiments disclosed in the present invention are intended to illustrate rather than limit the scope of the present invention, and the scope of the technical idea of the present invention is not limited by these embodiments.

본 발명의 보호 범위는 아래의 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 발명의 권리범위에 포함되는 것으로 해석되어야 할 것이다.The scope of protection of the present invention should be construed according to the following claims, and all technical ideas within the scope of equivalents should be construed as falling within the scope of the present invention.

10: 원본 이미지 20: 제 1변환 이미지
30: 제 1부분 이미지 그룹 35: 제 2부분 이미지 그룹
40: 가변 이미지
10: original image 20: first conversion image
30: First partial image group 35: Second partial image group
40: Variable image

Claims (39)

전자장치의 디스플레이상에 표시된 얼굴이 포함된 사람 이미지를 재조정하는 방법에 있어서,
원본 이미지를 로딩하는 로딩단계;
상기 원본 이미지를 비트맵 형식의 제 1변환 이미지로 변환하고, 상기 제 1변환 이미지를 상기 전자장치의 메모리에 저장하며 상기 전자장치의 디스플레이에 출력하는 이미지 변환단계;
상기 디스플레이상에 복수개의 기준선과 상기 사람 이미지 중 일부분을 포함하는 기준영역을 표시하며, 상기 복수개의 기준선 중 인접한 두 개의 기준선 사이에 상기 사람 이미지가 표시되고, 상기 기준영역이 상기 사람 이미지 중 얼굴 부분을 포함하는 경우, 상기 기준영역을 포함하는 기준 이미지를 생성하고, 상기 제 1변환 이미지를 상기 복수개의 기준선을 기준으로 분할하여 상기 기준영역을 포함하는 제 1부분 이미지 및 상기 기준영역을 포함하지 않는 복수개의 제 2부분 이미지를 생성하고, 상기 기준이미지, 상기 제 1부분 이미지 및 상기 복수개의 제 2부분 이미지로 구성된 제 1부분 이미지 그룹을 상기 메모리에 저장하는 이미지 분할단계;
상기 제 1부분 이미지 및 상기 기준 이미지를 가로방향으로 소정의 비율만큼 수축 또는 신장하여 가변 부분 이미지 및 가변 기준 이미지를 생성하며, 상기 가변 부분 이미지, 상기 가변 기준 이미지 및 상기 복수개의 제 2부분 이미지로 구성된 제 2부분 이미지 그룹을 상기 디스플레이에 출력하는 이미지 가변단계;
상기 제 2부분 이미지 그룹을 결합하여 하나의 가변 이미지를 생성하고, 상기 가변 이미지를 상기 메모리에 저장하고 상기 디스플레이에 출력하는 이미지 합성단계;를 포함하며,
상기 이미지 가변단계에서, 상기 기준 이미지를 수축 또는 신장하여 상기 가변 기준 이미지를 생성하기 전에, 상기 기준 이미지가 수축 또는 신장 되어 가변되는 것과 반대로 신장 또는 수축되는 변형을 하여, 상기 기준이미지를 변형하고,
상기 이미지 분할단계는, 구성되는 각각의 변이 상기 기준영역을 구성하는 적어도 하나 이상의 점과 접촉하며 상기 기준영역을 내측에 포함하는 사각형 형태의 기준구역을 분할하여, 상기 기준 이미지를 생성하며,
상기 이미지 가변단계는, 상기 제 1부분 이미지가 가로방향으로 소정의 비율만큼 수축되어 상기 가변 부분 이미지를 생성할 경우, 상기 기준 이미지가 수축되기 전에, 상기 기준 이미지를 신장 변형하여 신장 기준 이미지를 생성하는 워핑단계를 더 포함하며, 상기 신장 기준 이미지, 상기 제 1부분 이미지 및 상기 복수개의 제 2부분 이미지는 상기 제 1부분 이미지 그룹을 구성할 수 있고,
상기 워핑단계는, 상기 기준 이미지상에 가상의 격자구조를 형성시키며, 상기 기준 이미지에서 상기 격자구조를 구성하는 복수개의 격자점에 대응되는 상기 기준 이미지의 픽셀들을 상기 기준 이미지가 수축 또는 신장되는 방향과 수직한 방향으로 상기 기준 이미지의 중심점과 가까워지게 이동시키고, 상기 기준 이미지가 신장되는 방향과 동일한 상방향으로 상기 기준 이미지의 중심점과 멀어지게 이동시켜서, 상기 기준 이미지를 신장 변형하여 상기 신장 기준 이미지를 생성하며, 상기 픽셀들 각각의 이동 거리는 상기 중심점과 상기 픽셀들 각각의 이격 거리에 따라 상이하며, 상기 이격 거리가 더 클수록 상기 이동 거리가 커지며,
상기 워핑단계는, 상기 기준 이미지의 테두리에 해당하는 상기 격자점을 고정시키고, 상기 테두리 내의 상기 격자점에 대응되는 상기 픽셀들을 이동시키는 것을 특징으로 하는 이미지 재조정 방법.
A method of re-adjusting a human image including a face displayed on a display of an electronic device,
A loading step of loading an original image;
An image conversion step of converting the original image into a first converted image in a bitmap format, storing the first converted image in a memory of the electronic device, and outputting the first converted image to a display of the electronic device;
Wherein the display unit displays a plurality of reference lines on the display and a reference area including a portion of the human image, the human image is displayed between two adjacent reference lines of the plurality of reference lines, A first partial image including the reference region, and a second partial image including the reference region, wherein the first partial image includes the reference region, An image dividing step of generating a plurality of second partial images and storing a first partial image group composed of the reference image, the first partial image and the plurality of second partial images in the memory;
The first partial image and the reference image are contracted or elongated by a predetermined ratio in the horizontal direction to generate a variable partial image and a variable reference image, and the variable partial image, the variable reference image, and the plurality of second partial images An image variable step of outputting to the display a second group of partial images composed;
And combining the second partial image group to generate one variable image, storing the variable image in the memory, and outputting the variable image to the display,
In the image variable step, before the variable reference image is generated by contracting or stretching the reference image, the reference image is deformed by stretching or contraction as opposed to being contracted or stretched to deform the reference image,
The image segmentation step divides a rectangular reference area in which each of the constituent sides is in contact with at least one point constituting the reference area and includes the reference area inside,
Wherein the image modifying step includes the steps of: when the first partial image is contracted by a predetermined ratio in the horizontal direction to generate the variable partial image, before the reference image is contracted, Wherein the extension reference image, the first partial image, and the plurality of second partial images may constitute the first partial image group,
Wherein the warping step forms a virtual lattice structure on the reference image and divides the pixels of the reference image corresponding to the plurality of lattice points constituting the lattice structure in the reference image into a direction in which the reference image is contracted or elongated The reference image is moved in a direction perpendicular to the center of the reference image so as to be close to the center point of the reference image and moved away from the center point of the reference image in the same upward direction as the direction in which the reference image is stretched, Wherein the moving distance of each of the pixels is different according to the distance between the center point and each of the pixels, and the moving distance increases as the distance is larger,
Wherein the warping step fixes the grid point corresponding to the rim of the reference image and moves the pixels corresponding to the grid point in the rim.
삭제delete 삭제delete 삭제delete 청구항 5은(는) 설정등록료 납부시 포기되었습니다.Claim 5 has been abandoned due to the setting registration fee. 전자장치의 디스플레이상에 표시된 얼굴이 포함된 사람 이미지를 재조정하는 방법에 있어서,
원본 이미지를 로딩하는 로딩단계;
상기 원본 이미지를 비트맵 형식의 제 1변환 이미지로 변환하고, 상기 제 1변환 이미지를 상기 전자장치의 메모리에 저장하며 상기 전자장치의 디스플레이에 출력하는 이미지 변환단계;
상기 디스플레이상에 복수개의 기준선과 상기 사람 이미지 중 일부분을 포함하는 기준영역을 표시하며, 상기 복수개의 기준선 중 인접한 두 개의 기준선 사이에 상기 사람 이미지가 표시되고, 상기 기준영역이 상기 사람 이미지 중 얼굴 부분을 포함하는 경우, 상기 기준영역을 포함하는 기준 이미지를 생성하고, 상기 제 1변환 이미지를 상기 복수개의 기준선을 기준으로 분할하여 상기 기준영역을 포함하는 제 1부분 이미지 및 상기 기준영역을 포함하지 않는 복수개의 제 2부분 이미지를 생성하고, 상기 기준이미지, 상기 제 1부분 이미지 및 상기 복수개의 제 2부분 이미지로 구성된 제 1부분 이미지 그룹을 상기 메모리에 저장하는 이미지 분할단계;
상기 제 1부분 이미지 및 상기 기준 이미지를 가로방향으로 소정의 비율만큼 수축 또는 신장하여 가변 부분 이미지 및 가변 기준 이미지를 생성하며, 상기 가변 부분 이미지, 상기 가변 기준 이미지 및 상기 복수개의 제 2부분 이미지로 구성된 제 2부분 이미지 그룹을 상기 디스플레이에 출력하는 이미지 가변단계;
상기 제 2부분 이미지 그룹을 결합하여 하나의 가변 이미지를 생성하고, 상기 가변 이미지를 상기 메모리에 저장하고 상기 디스플레이에 출력하는 이미지 합성단계;를 포함하며,
상기 이미지 가변단계에서, 상기 기준 이미지를 수축 또는 신장하여 상기 가변 기준 이미지를 생성하기 전에, 상기 기준 이미지가 수축 또는 신장 되어 가변되는 것과 반대로 신장 또는 수축되는 변형을 하여, 상기 기준이미지를 변형하고,
상기 이미지 분할단계는, 구성되는 각각의 변이 상기 기준영역을 구성하는 적어도 하나 이상의 점과 접촉하며 상기 기준영역을 내측에 포함하는 사각형 형태의 기준구역을 분할하여, 상기 기준 이미지를 생성하며,
상기 이미지 가변단계는, 상기 제 1부분 이미지가 가로방향으로 소정의 비율만큼 신장되어 상기 가변 부분 이미지를 생성할 경우, 상기 기준 이미지가 신장되기 전에, 상기 기준 이미지를 수축 변형하여 수축 기준 이미지를 생성하는 워핑단계를 더 포함하며, 상기 수축 기준이미지, 상기 제 1부분 이미지 및 상기 복수개의 제 2부분 이미지는 상기 제 1부분 이미지 그룹을 구성할 수 있고,
상기 워핑단계는, 상기 기준 이미지상에 가상의 격자구조를 형성시키며, 상기 기준 이미지에서 상기 격자구조를 구성하는 복수개의 격자점에 대응되는 상기 기준 이미지의 픽셀들을 상기 기준 이미지가 수축 또는 신장되는 방향과 수직한 방향으로 상기 기준 이미지의 중심점과 멀어지게 이동시키고, 상기 기준 이미지가 수축되는 방향과 동일한 방향으로 상기 기준 이미지의 중심점과 가까워지게 이동시켜서, 상기 기준 이미지를 수축 변형하여 상기 수축 기준 이미지를 생성하며, 상기 픽셀들 각각의 이동 거리는 상기 중심점과 상기 픽셀들 각각의 이격 거리에 따라 상이하며, 상기 이격 거리가 더 클수록 상기 이동 거리가 커지며,
상기 워핑단계는, 상기 기준 이미지의 테두리에 해당하는 상기 격자점을 고정시키고, 상기 테두리 내의 상기 격자점에 대응되는 상기 픽셀들을 이동시키는 것을 특징으로 하는 이미지 재조정 방법.
A method of re-adjusting a human image including a face displayed on a display of an electronic device,
A loading step of loading an original image;
An image conversion step of converting the original image into a first converted image in a bitmap format, storing the first converted image in a memory of the electronic device, and outputting the first converted image to a display of the electronic device;
Wherein the display unit displays a plurality of reference lines on the display and a reference area including a portion of the human image, the human image is displayed between two adjacent reference lines of the plurality of reference lines, A first partial image including the reference region, and a second partial image including the reference region, wherein the first partial image includes the reference region, An image dividing step of generating a plurality of second partial images and storing a first partial image group composed of the reference image, the first partial image and the plurality of second partial images in the memory;
The first partial image and the reference image are contracted or elongated by a predetermined ratio in the horizontal direction to generate a variable partial image and a variable reference image, and the variable partial image, the variable reference image, and the plurality of second partial images An image variable step of outputting to the display a second group of partial images composed;
And combining the second partial image group to generate one variable image, storing the variable image in the memory, and outputting the variable image to the display,
In the image variable step, before the variable reference image is generated by contracting or stretching the reference image, the reference image is deformed by stretching or contraction as opposed to being contracted or stretched to deform the reference image,
The image segmentation step divides a rectangular reference area in which each of the constituent sides is in contact with at least one point constituting the reference area and includes the reference area inside,
Wherein the image modifying step includes the steps of: contraction-modifying the reference image to generate a contraction reference image when the first partial image is stretched by a predetermined ratio in the horizontal direction to generate the variable partial image; Wherein the shrinking reference image, the first partial image, and the plurality of second partial images may constitute the first partial image group,
Wherein the warping step forms a virtual lattice structure on the reference image and divides the pixels of the reference image corresponding to the plurality of lattice points constituting the lattice structure in the reference image into a direction in which the reference image is contracted or elongated The reference image is shifted away from the center point of the reference image in the direction perpendicular to the reference image and moved in the same direction as the reference image in the same direction as the reference image is contracted to shrink and deform the reference image, Wherein the moving distance of each of the pixels differs according to the distance between the center point and each of the pixels, and the moving distance increases as the distance is larger,
Wherein the warping step fixes the grid point corresponding to the rim of the reference image and moves the pixels corresponding to the grid point in the rim.
삭제delete 삭제delete 청구항 8은(는) 설정등록료 납부시 포기되었습니다.Claim 8 has been abandoned due to the setting registration fee. 전자장치의 디스플레이상에 표시된 얼굴이 포함된 사람 이미지를 재조정하는 방법에 있어서,
원본 이미지를 로딩하는 로딩단계;
상기 원본 이미지를 비트맵 형식의 제 1변환 이미지로 변환하고, 상기 제 1변환 이미지를 상기 전자장치의 메모리에 저장하며 상기 전자장치의 디스플레이에 출력하는 이미지 변환단계;
상기 디스플레이상에 복수개의 기준선과 상기 사람 이미지 중 일부분을 포함하는 기준영역을 표시하며, 상기 복수개의 기준선 중 인접한 두 개의 기준선 사이에 상기 사람 이미지가 표시되고, 상기 기준영역이 상기 사람 이미지 중 얼굴 부분을 포함하는 경우, 상기 기준영역을 포함하는 기준이미지를 생성하고, 상기 제 1변환 이미지를 상기 복수개의 기준선을 기준으로 분할하여 상기 기준영역을 포함하는 제 1부분 이미지 및 상기 기준영역을 포함하지 않는 복수개의 제 2부분 이미지를 생성하고, 상기 기준이미지, 상기 제 1부분 이미지 및 상기 복수개의 제 2부분 이미지로 구성된 제 1부분 이미지 그룹을 상기 메모리에 저장하는 이미지 분할단계;
상기 제 1부분 이미지 및 상기 기준 이미지를 가로방향으로 소정의 비율만큼 수축 또는 신장하여 가변 부분 이미지 및 가변 기준 이미지를 생성하며, 상기 가변 부분 이미지, 상기 가변 기준 이미지 및 상기 복수개의 제 2부분 이미지로 구성된 제 2부분 이미지 그룹을 상기 디스플레이에 출력하는 이미지 가변단계;
상기 제 2부분 이미지 그룹을 결합하여 하나의 가변 이미지를 생성하고, 상기 가변 이미지를 상기 메모리에 저장하고 상기 디스플레이에 출력하는 이미지 합성단계;를 포함하며,
상기 이미지 가변단계에서, 상기 가변 기준 이미지를, 상기 가변 기준 이미지가 수축 또는 신장되어 가변된 것과 반대로 신장 또는 수축되는 변형을 하여, 상기 가변 기준 이미지를 변형하며,
상기 이미지 분할단계는,
구성되는 각각의 변이 상기 기준영역을 구성하는 적어도 하나 이상의 점과 접하고 상기 기준영역을 내측에 포함하는 사각형 형태의 기준구역을 분할하며,
상기 기준구역과 동일한 형태의 도형이 상기 제 1부분 이미지의 가로 길이만큼 연장되고 투명한 투명구역상에 분할된 상기 기준구역을 생성하여, 상기 기준구역 및 상기 투명구역으로 구성된 상기 기준이미지를 생성하고,
상기 기준구역은, 상기 투명구역상에서, 상기 기준구역이 상기 제 1부분 이미지상에 위치해 있던 것과 동일한 가로좌표상에 생성되며,
상기 이미지 가변단계는, 상기 기준 이미지가 가로방향으로 소정의 비율만큼 수축되어 상기 가변 부분이미지를 생성한 경우, 상기 가변 기준 이미지를 신장 변형하여 신장 가변 기준 이미지를 생성하는 워핑단계를 더 포함하며, 상기 신장 가변 기준 이미지, 상기 가변 이미지 및 상기 복수개의 제 2부분 이미지는 상기 제 2부분 이미지 그룹을 구성할 수 있으며,
상기 워핑단계는, 상기 가변 기준 이미지상에서 상기 투명구역을 제외한 영역에 가상의 격자구조를 형성시키고, 상기 가변 기준이미지에서 상기 격자구조를 구성하는 복수개의 격자점에 대응되는 상기 기준 이미지의 픽셀들을 상기 가변 기준 이미지가 수축 또는 신장되는 방향과 수직한 방향으로 상기 가변 기준 이미지의 중심점과 가까워지게 이동시키고, 상기 가변 기준이미지가 신장되는 방향과 동일한 상방향으로 상기 가변 기준이미지의 중심점과 멀어지게 이동시켜서, 상기 가변 기준 이미지를 신장 변형하여, 상기 신장 가변 기준 이미지를 생성하며, 상기 픽셀들 각각의 이동 거리는 상기 중심점과 상기 픽셀들 각각의 이격 거리에 따라 상이하며, 상기 이격 거리가 더 클수록 상기 이동 거리가 커지며,
상기 워핑단계는, 상기 가변 기준 이미지의 테두리에 해당하는 상기 격자점을 고정시키고, 상기 테두리 내의 상기 격자점에 대응되는 상기 픽셀들을 이동시키는 것을 특징으로 하는 이미지 재조정 방법.
A method of re-adjusting a human image including a face displayed on a display of an electronic device,
A loading step of loading an original image;
An image conversion step of converting the original image into a first converted image in a bitmap format, storing the first converted image in a memory of the electronic device, and outputting the first converted image to a display of the electronic device;
Wherein the display unit displays a plurality of reference lines on the display and a reference area including a portion of the human image, the human image is displayed between two adjacent reference lines of the plurality of reference lines, A first partial image including the reference region, and a second partial image including the reference region, wherein the first partial image includes the reference region, An image dividing step of generating a plurality of second partial images and storing a first partial image group composed of the reference image, the first partial image and the plurality of second partial images in the memory;
The first partial image and the reference image are contracted or elongated by a predetermined ratio in the horizontal direction to generate a variable partial image and a variable reference image, and the variable partial image, the variable reference image, and the plurality of second partial images An image variable step of outputting to the display a second group of partial images composed;
And combining the second partial image group to generate one variable image, storing the variable image in the memory, and outputting the variable image to the display,
In the image variable step, deforming the variable reference image by deforming the variable reference image such that the variable reference image is stretched or contracted contrary to the variable reference image which is deformed by contraction or extension,
Wherein the image segmentation step comprises:
Each of the constituent sides being divided into a rectangular reference area which is in contact with at least one point constituting the reference area and contains the reference area inside,
Generating a reference image that is formed of the reference area and the transparent area by creating a reference area divided by a figure of the same shape as the reference area by a width of the first partial image and on a transparent transparent area,
Wherein the reference zone is created on the same horizontal axis as the reference zone was located on the first partial image,
Wherein the image variable step further comprises a warping step of, when the reference image is contracted by a predetermined ratio in the horizontal direction to generate the variable partial image, expanding and deforming the variable reference image to generate an elongated variable reference image, The variable-length reference image, the variable image, and the plurality of second partial images may constitute the second partial image group,
Wherein the warping step comprises the steps of: forming a virtual lattice structure on the variable reference image excluding the transparent area, and forming pixels of the reference image corresponding to a plurality of lattice points constituting the lattice structure in the variable reference image, Moving the variable reference image so as to approach the center point of the variable reference image in a direction perpendicular to the direction in which the variable reference image is contracted or elongated and moving it away from the center point of the variable reference image in the same upward direction as the extending direction of the variable reference image Wherein the moving distance of each of the pixels is different according to the distance between the center point and each of the pixels, and as the distance is larger, the moving distance Lt; / RTI >
Wherein the warping step fixes the lattice points corresponding to the rim of the variable reference image and moves the pixels corresponding to the lattice points in the rim.
삭제delete 삭제delete 삭제delete 삭제delete 청구항 13은(는) 설정등록료 납부시 포기되었습니다.Claim 13 has been abandoned due to the set registration fee. 전자장치의 디스플레이상에 표시된 얼굴이 포함된 사람 이미지를 재조정하는 방법에 있어서,
원본 이미지를 로딩하는 로딩단계;
상기 원본 이미지를 비트맵 형식의 제 1변환 이미지로 변환하고, 상기 제 1변환 이미지를 상기 전자장치의 메모리에 저장하며 상기 전자장치의 디스플레이에 출력하는 이미지 변환단계;
상기 디스플레이상에 복수개의 기준선과 상기 사람 이미지 중 일부분을 포함하는 기준영역을 표시하며, 상기 복수개의 기준선 중 인접한 두 개의 기준선 사이에 상기 사람 이미지가 표시되고, 상기 기준영역이 상기 사람 이미지 중 얼굴 부분을 포함하는 경우, 상기 기준영역을 포함하는 기준이미지를 생성하고, 상기 제 1변환 이미지를 상기 복수개의 기준선을 기준으로 분할하여 상기 기준영역을 포함하는 제 1부분 이미지 및 상기 기준영역을 포함하지 않는 복수개의 제 2부분 이미지를 생성하고, 상기 기준이미지, 상기 제 1부분 이미지 및 상기 복수개의 제 2부분 이미지로 구성된 제 1부분 이미지 그룹을 상기 메모리에 저장하는 이미지 분할단계;
상기 제 1부분 이미지 및 상기 기준 이미지를 가로방향으로 소정의 비율만큼 수축 또는 신장하여 가변 부분 이미지 및 가변 기준 이미지를 생성하며, 상기 가변 부분 이미지, 상기 가변 기준 이미지 및 상기 복수개의 제 2부분 이미지로 구성된 제 2부분 이미지 그룹을 상기 디스플레이에 출력하는 이미지 가변단계;
상기 제 2부분 이미지 그룹을 결합하여 하나의 가변 이미지를 생성하고, 상기 가변 이미지를 상기 메모리에 저장하고 상기 디스플레이에 출력하는 이미지 합성단계;를 포함하며,
상기 이미지 가변단계에서, 상기 가변 기준 이미지를, 상기 가변 기준 이미지가 수축 또는 신장되어 가변된 것과 반대로 신장 또는 수축되는 변형을 하여, 상기 가변 기준 이미지를 변형하며,
상기 이미지 분할단계는,
구성되는 각각의 변이 상기 기준영역을 구성하는 적어도 하나 이상의 점과 접하고 상기 기준영역을 내측에 포함하는 사각형 형태의 기준구역을 분할하며,
상기 기준구역과 동일한 형태의 도형이 상기 제 1부분 이미지의 가로 길이만큼 연장되고 투명한 투명구역상에 분할된 상기 기준구역을 생성하여, 상기 기준구역 및 상기 투명구역으로 구성된 상기 기준이미지를 생성하고,
상기 기준구역은, 상기 투명구역상에서, 상기 기준구역이 상기 제 1부분 이미지상에 위치해 있던 것과 동일한 가로좌표상에 생성되며,
상기 이미지 가변단계는, 상기 제 1부분 이미지가 가로방향으로 소정의 비율만큼 신장되어 상기 가변 부분 이미지를 생성한 경우, 상기 가변 기준 이미지를 수축 변형하여 수축 가변 기준 이미지를 생성하는 워핑단계를 더 포함하며, 상기 수축 가변 기준 이미지, 상기 가변 이미지 및 상기 복수개의 제 2부분 이미지는 상기 제 2부분 이미지 그룹을 구성할 수 있으며,
상기 워핑단계는, 상기 가변 기준 이미지상에서 상기 투명구역을 제외한 영역에 가상의 격자구조를 형성시키고, 상기 가변 기준이미지에서 상기 격자구조를 구성하는 복수개의 격자점에 대응되는 상기 기준 이미지의 픽셀들을 상기 가변 기준 이미지가 수축 또는 신장되는 방향과 수직한 방향으로 상기 가변 기준 이미지의 중심점과 멀어지게 이동시키고, 상기 가변 기준이미지가 수축되는 방향과 동일한 방향으로 상기 가변 기준이미지의 중심점과 가까워지게 이동시켜서, 상기 가변 기준 이미지를 신장 변형하여, 신장 가변 기준 이미지를 생성하며, 상기 픽셀들 각각의 이동 거리는 상기 중심점과 상기 픽셀들 각각의 이격 거리에 따라 상이하며, 상기 이격 거리가 더 클수록 상기 이동 거리가 커지며,
상기 워핑단계는, 상기 가변 기준 이미지의 테두리에 해당하는 상기 격자점을 고정시키고, 상기 테두리 내의 상기 격자점에 대응되는 상기 픽셀들을 이동시키는 것을 특징으로 하는 이미지 재조정 방법.
A method of re-adjusting a human image including a face displayed on a display of an electronic device,
A loading step of loading an original image;
An image conversion step of converting the original image into a first converted image in a bitmap format, storing the first converted image in a memory of the electronic device, and outputting the first converted image to a display of the electronic device;
Wherein the display unit displays a plurality of reference lines on the display and a reference area including a portion of the human image, the human image is displayed between two adjacent reference lines of the plurality of reference lines, A first partial image including the reference region, and a second partial image including the reference region, wherein the first partial image includes the reference region, An image dividing step of generating a plurality of second partial images and storing a first partial image group composed of the reference image, the first partial image and the plurality of second partial images in the memory;
The first partial image and the reference image are contracted or elongated by a predetermined ratio in the horizontal direction to generate a variable partial image and a variable reference image, and the variable partial image, the variable reference image, and the plurality of second partial images An image variable step of outputting to the display a second group of partial images composed;
And combining the second partial image group to generate one variable image, storing the variable image in the memory, and outputting the variable image to the display,
In the image variable step, deforming the variable reference image by deforming the variable reference image such that the variable reference image is stretched or contracted contrary to the variable reference image which is deformed by contraction or extension,
Wherein the image segmentation step comprises:
Each of the constituent sides being divided into a rectangular reference area which is in contact with at least one point constituting the reference area and contains the reference area inside,
Generating a reference image that is formed of the reference area and the transparent area by creating a reference area divided by a figure of the same shape as the reference area by a width of the first partial image and on a transparent transparent area,
Wherein the reference zone is created on the same horizontal axis as the reference zone was located on the first partial image,
The image variable step further includes a warping step of generating a contraction variable reference image by contracting and deforming the variable reference image when the first partial image is stretched by a predetermined ratio in the horizontal direction to generate the variable partial image Wherein the contraction variable reference image, the variable image, and the plurality of second partial images may constitute the second partial image group,
Wherein the warping step comprises the steps of: forming a virtual lattice structure on the variable reference image excluding the transparent area, and forming pixels of the reference image corresponding to a plurality of lattice points constituting the lattice structure in the variable reference image, Moving the variable reference image away from the center point of the variable reference image in a direction perpendicular to the direction in which the variable reference image is contracted or elongated and moving the same in the same direction as the direction in which the variable reference image is contracted, Wherein the moving distance of each of the pixels is different according to the distance between the center point and each of the pixels, and the moving distance becomes larger as the distance is larger, ,
Wherein the warping step fixes the lattice points corresponding to the rim of the variable reference image and moves the pixels corresponding to the lattice points in the rim.
삭제delete 삭제delete 청구항 16은(는) 설정등록료 납부시 포기되었습니다.Claim 16 has been abandoned due to the setting registration fee. 제 1항에 있어서,
상기 이미지 분할단계는 상기 기준선을 상기 제 1변환 이미지의 세로 방향과 평행이 되도록 표시하며, 상기 기준선의 위치를 상기 전자장치를 사용하는 사용자의 입력에 따라 변경하여 상기 제 1변환 이미지상에 표시하는 것을 특징으로 하는 이미지 재조정 방법.
The method according to claim 1,
Wherein the image segmenting step displays the reference line in parallel with the longitudinal direction of the first transformed image and changes the position of the reference line in accordance with a user's input using the electronic device and displays the changed reference line on the first transformed image Wherein the image reconstruction method comprises the steps of:
청구항 17은(는) 설정등록료 납부시 포기되었습니다.Claim 17 has been abandoned due to the setting registration fee. 제 16항에 있어서,
상기 이미지 분할단계는 상기 기준영역의 크기 및 위치를 상기 사용자의 입력에 따라 변경하여 상기 제 1부분 이미지상에 표시하는 것을 특징으로 하는 이미지 재조정 방법.
17. The method of claim 16,
Wherein the image segmentation step changes the size and position of the reference area according to the input of the user and displays the same on the first partial image.
청구항 18은(는) 설정등록료 납부시 포기되었습니다.Claim 18 has been abandoned due to the setting registration fee. 제 1항에 있어서,
상기 이미지 가변단계는 상기 제 1변환 이미지 및 상기 기준 이미지의 신장 또는 수축 정도를 사용자의 입력에 따라 결정하는 것을 특징으로 하는 이미지 재조정 방법.
The method according to claim 1,
Wherein the image variable step determines the degree of extension or contraction of the first transformed image and the reference image according to a user's input.
청구항 19은(는) 설정등록료 납부시 포기되었습니다.Claim 19 is abandoned in setting registration fee. 제 1항에 있어서,
상기 이미지 합성단계는 상기 전자장치를 사용하는 사용자의 입력에 따라 상기 제 2부분 이미지 그룹을 결합하여 상기 가변 이미지를 생성하는 것을 특징으로 하는 이미지 재조정 방법.
The method according to claim 1,
Wherein the image combining step combines the second partial image group according to an input of a user using the electronic device to generate the variable image.
청구항 20은(는) 설정등록료 납부시 포기되었습니다.Claim 20 has been abandoned due to the setting registration fee. 디스플레이 및 저장매체를 구비하며, 얼굴이 포함된 사람 이미지를 재조정 하기 위한 장치에 있어서,
원본 이미지를 로딩하는 로딩부;
상기 원본 이미지를 비트맵 형식의 제 1변환 이미지로 변환하고, 상기 제 1변환 이미지를 상기 장치의 메모리에 저장하며 상기 디스플레이에 출력하는 이미지 변환부;
상기 디스플레이상에 복수개의 기준선과 상기 사람 이미지 중 일부분을 포함하는 기준영역을 표시하며, 상기 복수개의 기준선 중 인접한 두 개의 기준선 사이에 상기 사람 이미지가 표시되고, 상기 기준영역이 상기 사람 이미지 중 얼굴 부분을 포함하는 경우, 상기 기준영역을 포함하는 기준 이미지를 생성하고, 상기 제 1변환 이미지를 상기 복수개의 기준선을 기준으로 분할하여 상기 기준영역을 포함하는 제 1부분 이미지 및 상기 기준영역을 포함하지 않는 복수개의 제 2부분 이미지를 생성하고, 상기 기준이미지, 상기 제 1부분 이미지 및 상기 복수개의 제 2부분 이미지로 구성된 제 1부분 이미지 그룹을 상기 메모리에 저장하는 이미지 분할부;
상기 제 1부분 이미지 및 상기 기준 이미지를 가로방향으로 소정의 비율만큼 수축 또는 신장하여 가변 부분 이미지 및 가변 기준 이미지를 생성하며, 상기 가변 부분 이미지, 상기 가변 기준 이미지 및 상기 복수개의 제 2부분 이미지로 구성된 제 2부분 이미지 그룹을 상기 디스플레이에 출력하는 이미지 가변부;
상기 제 2부분 이미지 그룹을 결합하여 하나의 가변 이미지를 생성하고, 상기 가변 이미지를 상기 메모리에 저장하고 상기 디스플레이에 출력하는 이미지 합성부;를 포함하며,
상기 이미지 가변부에서, 상기 기준 이미지를 수축 또는 신장하여 상기 가변 기준 이미지를 생성하기 전에, 상기 기준 이미지가 수축 또는 신장 되어 가변되는 것과 반대로 신장 또는 수축되는 변형을 하여, 상기 기준이미지를 변형하고,
상기 이미지 분할부는, 구성되는 각각의 변이 상기 기준영역을 구성하는 적어도 하나 이상의 점과 접촉하며 상기 기준영역을 내측에 포함하는 사각형 형태의 기준구역을 분할하여, 상기 기준 이미지를 생성하며,
상기 이미지 가변부는, 상기 제 1부분 이미지가 가로방향으로 소정의 비율만큼 수축되어 상기 가변 부분 이미지를 생성할 경우, 상기 기준 이미지가 수축되기 전에, 상기 기준 이미지를 신장 변형하여 신장 기준 이미지를 생성하는 워핑부를 더 포함하며, 상기 신장 기준 이미지, 상기 제 1부분 이미지 및 상기 복수개의 제 2부분 이미지는 상기 제 1부분 이미지 그룹을 구성할 수 있으며,
상기 워핑부는, 상기 기준 이미지상에 가상의 격자구조를 형성시키며, 상기 기준 이미지에서 상기 격자구조를 구성하는 복수개의 격자점에 대응되는 상기 기준 이미지의 픽셀들을 상기 기준 이미지가 수축 또는 신장되는 방향과 수직한 방향으로 상기 기준 이미지의 중심점과 가까워지게 이동시키고, 상기 기준 이미지가 신장되는 방향과 동일한 상방향으로 상기 기준 이미지의 중심점과 멀어지게 이동시켜서, 상기 기준 이미지를 신장 변형하여 상기 신장 기준 이미지를 생성하고,
상기 워핑부는, 상기 기준 이미지의 테두리에 해당하는 상기 격자점을 고정시키고, 상기 테두리 내의 상기 격자점을 이동시키는 것을 특징으로 하는 이미지 재조정 장치.
An apparatus for resizing a human image including a face and a storage medium, the apparatus comprising:
A loading unit for loading an original image;
An image converting unit converting the original image into a first converted image in a bitmap format, storing the first converted image in a memory of the apparatus and outputting the converted image to the display;
Wherein the display unit displays a plurality of reference lines on the display and a reference area including a portion of the human image, the human image is displayed between two adjacent reference lines of the plurality of reference lines, A first partial image including the reference region, and a second partial image including the reference region, wherein the first partial image includes the reference region, An image divider generating a plurality of second partial images and storing a first partial image group composed of the reference image, the first partial image and the plurality of second partial images in the memory;
The first partial image and the reference image are contracted or elongated by a predetermined ratio in the horizontal direction to generate a variable partial image and a variable reference image, and the variable partial image, the variable reference image, and the plurality of second partial images An image variant for outputting to the display a second group of partial images composed;
And combining the second partial image groups to generate one variable image, storing the variable image in the memory, and outputting the variable image to the display,
In the image variable portion, before the variable reference image is generated by contracting or stretching the reference image, the reference image is deformed by stretching or contraction as opposed to being contracted or elongated to deform the reference image,
Wherein the image dividing unit divides a rectangular reference area in which each of the constituent sides is in contact with at least one point constituting the reference area and includes the reference area inside,
Wherein the image modifying unit is configured to expand and deform the reference image to generate a renal reference image when the first partial image is contracted by a predetermined ratio in the horizontal direction to generate the variable partial image before the reference image is contracted The apparatus of claim 1, further comprising a warping portion, wherein the extension reference image, the first partial image, and the plurality of second partial images may constitute the first partial image group,
Wherein the warping unit forms a virtual lattice structure on the reference image and sets the pixels of the reference image corresponding to a plurality of lattice points constituting the lattice structure in the reference image to a direction in which the reference image is contracted or stretched The reference image is moved in the vertical direction so as to be closer to the center point of the reference image and moved away from the center point of the reference image in the same upward direction as the extending direction of the reference image, Generate,
Wherein the warping unit fixes the grid point corresponding to the rim of the reference image and moves the grid point within the rim.
삭제delete 삭제delete 삭제delete 청구항 24은(는) 설정등록료 납부시 포기되었습니다.Claim 24 is abandoned in setting registration fee. 디스플레이 및 저장매체를 구비하며, 얼굴이 포함된 사람 이미지를 재조정 하기 위한 장치에 있어서,
원본 이미지를 로딩하는 로딩부;
상기 원본 이미지를 비트맵 형식의 제 1변환 이미지로 변환하고, 상기 제 1변환 이미지를 상기 장치의 메모리에 저장하며 상기 디스플레이에 출력하는 이미지 변환부;
상기 디스플레이상에 복수개의 기준선과 상기 사람 이미지 중 일부분을 포함하는 기준영역을 표시하며, 상기 복수개의 기준선 중 인접한 두 개의 기준선 사이에 상기 사람 이미지가 표시되고, 상기 기준영역이 상기 사람 이미지 중 얼굴 부분을 포함하는 경우, 상기 기준영역을 포함하는 기준 이미지를 생성하고, 상기 제 1변환 이미지를 상기 복수개의 기준선을 기준으로 분할하여 상기 기준영역을 포함하는 제 1부분 이미지 및 상기 기준영역을 포함하지 않는 복수개의 제 2부분 이미지를 생성하고, 상기 기준이미지, 상기 제 1부분 이미지 및 상기 복수개의 제 2부분 이미지로 구성된 제 1부분 이미지 그룹을 상기 메모리에 저장하는 이미지 분할부;
상기 제 1부분 이미지 및 상기 기준 이미지를 가로방향으로 소정의 비율만큼 수축 또는 신장하여 가변 부분 이미지 및 가변 기준 이미지를 생성하며, 상기 가변 부분 이미지, 상기 가변 기준 이미지 및 상기 복수개의 제 2부분 이미지로 구성된 제 2부분 이미지 그룹을 상기 디스플레이에 출력하는 이미지 가변부;
상기 제 2부분 이미지 그룹을 결합하여 하나의 가변 이미지를 생성하고, 상기 가변 이미지를 상기 메모리에 저장하고 상기 디스플레이에 출력하는 이미지 합성부;를 포함하며,
상기 이미지 가변부에서, 상기 기준 이미지를 수축 또는 신장하여 상기 가변 기준 이미지를 생성하기 전에, 상기 기준 이미지가 수축 또는 신장 되어 가변되는 것과 반대로 신장 또는 수축되는 변형을 하여, 상기 기준이미지를 변형하고,
상기 이미지 분할부는, 구성되는 각각의 변이 상기 기준영역을 구성하는 적어도 하나 이상의 점과 접촉하며 상기 기준영역을 내측에 포함하는 사각형 형태의 기준구역을 분할하여, 상기 기준 이미지를 생성하며,
상기 이미지 가변부는, 상기 제 1부분 이미지가 가로방향으로 소정의 비율만큼 신장되어 상기 가변 부분 이미지를 생성할 경우, 상기 기준 이미지가 신장되기 전에, 상기 기준 이미지를 수축 변형하여 수축 기준 이미지를 생성하는 워핑부를 더 포함하며, 상기 수축 기준이미지, 상기 제 1부분 이미지 및 상기 복수개의 제 2부분 이미지는 상기 제 1부분 이미지 그룹을 구성할 수 있으며,
상기 워핑부는, 상기 기준 이미지상에 가상의 격자구조를 형성시키며, 상기 기준 이미지에서 상기 격자구조를 구성하는 복수개의 격자점에 대응되는 상기 기준 이미지의 픽셀들을 상기 기준 이미지가 수축 또는 신장되는 방향과 수직한 방향으로 상기 기준 이미지의 중심점과 멀어지게 이동시키고, 상기 기준 이미지가 수축되는 방향과 동일한 방향으로 상기 기준 이미지의 중심점과 가까워지게 이동시켜서, 상기 기준 이미지를 수축 변형하여 상기 수축 기준 이미지를 생성하고,
상기 워핑부는, 상기 기준 이미지의 테두리에 해당하는 상기 격자점을 고정시키고, 상기 테두리 내의 상기 격자점을 이동시키는 것을 특징으로 하는 이미지 재조정 장치.
An apparatus for resizing a human image including a face and a storage medium, the apparatus comprising:
A loading unit for loading an original image;
An image converting unit converting the original image into a first converted image in a bitmap format, storing the first converted image in a memory of the apparatus and outputting the converted image to the display;
Wherein the display unit displays a plurality of reference lines on the display and a reference area including a portion of the human image, the human image is displayed between two adjacent reference lines of the plurality of reference lines, A first partial image including the reference region, and a second partial image including the reference region, wherein the first partial image includes the reference region, An image divider generating a plurality of second partial images and storing a first partial image group composed of the reference image, the first partial image and the plurality of second partial images in the memory;
The first partial image and the reference image are contracted or elongated by a predetermined ratio in the horizontal direction to generate a variable partial image and a variable reference image, and the variable partial image, the variable reference image, and the plurality of second partial images An image variant for outputting to the display a second group of partial images composed;
And combining the second partial image groups to generate one variable image, storing the variable image in the memory, and outputting the variable image to the display,
In the image variable portion, before the variable reference image is generated by contracting or stretching the reference image, the reference image is deformed by stretching or contraction as opposed to being contracted or elongated to deform the reference image,
Wherein the image dividing unit divides a rectangular reference area in which each of the constituent sides is in contact with at least one point constituting the reference area and includes the reference area inside,
Wherein the image modifying unit generates the shrinking reference image by contracting and deforming the reference image before the reference image is stretched when the first partial image is stretched by a predetermined ratio in the horizontal direction to generate the variable partial image Wherein the shrinking reference image, the first partial image, and the plurality of second partial images may constitute the first partial image group,
Wherein the warping unit forms a virtual lattice structure on the reference image and sets the pixels of the reference image corresponding to a plurality of lattice points constituting the lattice structure in the reference image to a direction in which the reference image is contracted or stretched The reference image is shifted away from the center point of the reference image in the vertical direction and moved in the same direction as the reference image in the same direction as the reference image, and,
Wherein the warping unit fixes the grid point corresponding to the rim of the reference image and moves the grid point within the rim.
삭제delete 삭제delete 청구항 27은(는) 설정등록료 납부시 포기되었습니다.Claim 27 is abandoned due to the setting registration fee. 디스플레이 및 저장매체를 구비하며, 얼굴이 포함된 사람 이미지를 재조정 하기 위한 장치에 있어서,
원본 이미지를 로딩하는 로딩부;
상기 원본 이미지를 비트맵 형식의 제 1변환 이미지로 변환하고, 상기 제 1변환 이미지를 상기 장치의 메모리에 저장하며 상기 디스플레이에 출력하는 이미지 변환부;
상기 디스플레이상에 복수개의 기준선과 상기 사람 이미지 중 일부분을 포함하는 기준영역을 표시하며, 상기 복수개의 기준선 중 인접한 두 개의 기준선 사이에 상기 사람 이미지가 표시되고, 상기 기준영역이 상기 사람 이미지 중 얼굴 부분을 포함하는 경우, 상기 기준영역을 포함하는 기준이미지를 생성하고, 상기 제 1변환 이미지를 상기 복수개의 기준선을 기준으로 분할하여 상기 기준영역을 포함하는 제 1부분 이미지 및 상기 기준영역을 포함하지 않는 복수개의 제 2부분 이미지를 생성하고, 상기 기준이미지, 상기 제 1부분 이미지 및 상기 복수개의 제 2부분 이미지로 구성된 제 1부분 이미지 그룹을 상기 메모리에 저장하는 이미지 분할부;
상기 제 1부분 이미지 및 상기 기준 이미지를 가로방향으로 소정의 비율만큼 수축 또는 신장하여 가변 부분 이미지 및 가변 기준 이미지를 생성하며, 상기 가변 부분 이미지, 상기 가변 기준 이미지 및 상기 복수개의 제 2부분 이미지로 구성된 제 2부분 이미지 그룹을 상기 디스플레이에 출력하는 이미지 가변부;
상기 제 2부분 이미지 그룹을 결합하여 하나의 가변 이미지를 생성하고, 상기 가변 이미지를 상기 메모리에 저장하고 상기 디스플레이에 출력하는 이미지 합성부;를 포함하며,
상기 이미지 가변부에서, 상기 가변 기준 이미지를, 상기 가변 기준 이미지가 수축 또는 신장되어 가변된 것과 반대로 신장 또는 수축되는 변형을 하여, 상기 가변 기준 이미지를 변형하고,
상기 이미지 분할부는, 구성되는 각각의 변이 상기 기준영역을 구성하는 적어도 하나 이상의 점과 접촉하고, 상기 기준영역을 내측에 포함하는 사각형 형태의 기준구역을 분할하며, 분할된 상기 기준구역을, 상기 기준구역과 동일한 형태의 도형이 상기 제 1부분 이미지의 가로 길이만큼 연장되고 투명한 투명구역상에서 생성하여, 상기 기준구역 및 상기 투명구역으로 구성된 상기 기준 이미지를 생성하며,
상기 기준구역은, 상기 투명구역상에서, 상기 기준구역이 상기 제 1부분 이미지상에 위치해 있던 것과 동일한 가로좌표상에 생성되며,
상기 이미지 가변부는, 상기 기준 이미지가 가로방향으로 소정의 비율만큼 수축되어 상기 가변 부분이미지를 생성한 경우, 상기 가변 기준 이미지를 신장 변형하여 신장 가변 기준 이미지를 생성하는 워핑부를 더 포함하며, 상기 신장 가변 기준 이미지, 상기 가변 이미지 및 상기 복수개의 제 2부분 이미지는 상기 제 2부분 이미지 그룹을 구성할 수 있고,
상기 워핑부는, 상기 가변 기준 이미지상에서 상기 투명구역을 제외한 영역에 가상의 격자구조를 형성시키고, 상기 가변 기준이미지에서 상기 격자구조를 구성하는 복수개의 격자점에 대응되는 상기 기준 이미지의 픽셀들을 상기 가변 기준 이미지가 수축 또는 신장되는 방향과 수직한 방향으로 상기 가변 기준 이미지의 중심점과 가까워지게 이동시키고, 상기 가변 기준이미지가 신장되는 방향과 동일한 상방향으로 상기 가변 기준이미지의 중심점과 멀어지게 이동시켜서, 상기 가변 기준 이미지를 신장 변형하여, 상기 신장 가변 기준 이미지를 생성하며,
상기 워핑부는, 상기 가변 기준 이미지의 테두리에 해당하는 상기 격자점을 고정시키고, 상기 테두리 내의 상기 격자점에 대응되는 상기 픽셀들을 이동시키는 것을 특징으로 하는 이미지 재조정 장치.
An apparatus for resizing a human image including a face and a storage medium, the apparatus comprising:
A loading unit for loading an original image;
An image converting unit converting the original image into a first converted image in a bitmap format, storing the first converted image in a memory of the apparatus and outputting the converted image to the display;
Wherein the display unit displays a plurality of reference lines on the display and a reference area including a portion of the human image, the human image is displayed between two adjacent reference lines of the plurality of reference lines, A first partial image including the reference region, and a second partial image including the reference region, wherein the first partial image includes the reference region, An image divider generating a plurality of second partial images and storing a first partial image group composed of the reference image, the first partial image and the plurality of second partial images in the memory;
The first partial image and the reference image are contracted or elongated by a predetermined ratio in the horizontal direction to generate a variable partial image and a variable reference image, and the variable partial image, the variable reference image, and the plurality of second partial images An image variant for outputting to the display a second group of partial images composed;
And combining the second partial image groups to generate one variable image, storing the variable image in the memory, and outputting the variable image to the display,
Wherein in the image variable section, the variable reference image is deformed such that the variable reference image is stretched or contracted contrary to the contraction or extension of which the variable reference image is varied, thereby deforming the variable reference image,
Wherein the image dividing unit divides a rectangular reference area in which each of the constituent sides is in contact with at least one point constituting the reference area and includes the reference area inside, Wherein a figure of the same type as the zone extends by the transverse length of the first partial image and is created on the transparent zone to generate the reference image consisting of the reference zone and the transparent zone,
Wherein the reference zone is created on the same horizontal axis as the reference zone was located on the first partial image,
Further comprising a warping unit that generates an elongation variable reference image by stretching and deforming the variable reference image when the reference image is contracted by a predetermined ratio in the horizontal direction to generate the variable partial image, The variable reference image, the variable image, and the plurality of second partial images may constitute the second partial image group,
Wherein the warping unit forms an imaginary lattice structure in an area excluding the transparent area on the variable reference image and arranges pixels of the reference image corresponding to a plurality of lattice points constituting the lattice structure in the variable reference image, Moving the reference image to be closer to the center point of the variable reference image in a direction perpendicular to the direction in which the reference image is contracted or elongated and moving away from the center point of the variable reference image in the same upward direction as the direction in which the variable reference image extends, Stretching the variable reference image to generate the elongated variable reference image,
Wherein the warping unit fixes the grid point corresponding to the edge of the variable reference image and moves the pixels corresponding to the grid point in the edge.
삭제delete 삭제delete 삭제delete 삭제delete 청구항 32은(는) 설정등록료 납부시 포기되었습니다.Claim 32 is abandoned due to the set registration fee. 디스플레이 및 저장매체를 구비하며, 얼굴이 포함된 사람 이미지를 재조정 하기 위한 장치에 있어서,
원본 이미지를 로딩하는 로딩부;
상기 원본 이미지를 비트맵 형식의 제 1변환 이미지로 변환하고, 상기 제 1변환 이미지를 상기 장치의 메모리에 저장하며 상기 디스플레이에 출력하는 이미지 변환부;
상기 디스플레이상에 복수개의 기준선과 상기 사람 이미지 중 일부분을 포함하는 기준영역을 표시하며, 상기 복수개의 기준선 중 인접한 두 개의 기준선 사이에 상기 사람 이미지가 표시되고, 상기 기준영역이 상기 사람 이미지 중 얼굴 부분을 포함하는 경우, 상기 기준영역을 포함하는 기준이미지를 생성하고, 상기 제 1변환 이미지를 상기 복수개의 기준선을 기준으로 분할하여 상기 기준영역을 포함하는 제 1부분 이미지 및 상기 기준영역을 포함하지 않는 복수개의 제 2부분 이미지를 생성하고, 상기 기준이미지, 상기 제 1부분 이미지 및 상기 복수개의 제 2부분 이미지로 구성된 제 1부분 이미지 그룹을 상기 메모리에 저장하는 이미지 분할부;
상기 제 1부분 이미지 및 상기 기준 이미지를 가로방향으로 소정의 비율만큼 수축 또는 신장하여 가변 부분 이미지 및 가변 기준 이미지를 생성하며, 상기 가변 부분 이미지, 상기 가변 기준 이미지 및 상기 복수개의 제 2부분 이미지로 구성된 제 2부분 이미지 그룹을 상기 디스플레이에 출력하는 이미지 가변부;
상기 제 2부분 이미지 그룹을 결합하여 하나의 가변 이미지를 생성하고, 상기 가변 이미지를 상기 메모리에 저장하고 상기 디스플레이에 출력하는 이미지 합성부;를 포함하며,
상기 이미지 가변부에서, 상기 가변 기준 이미지를, 상기 가변 기준 이미지가 수축 또는 신장되어 가변된 것과 반대로 신장 또는 수축되는 변형을 하여, 상기 가변 기준 이미지를 변형하고,
상기 이미지 분할부는, 구성되는 각각의 변이 상기 기준영역을 구성하는 적어도 하나 이상의 점과 접촉하고, 상기 기준영역을 내측에 포함하는 사각형 형태의 기준구역을 분할하며, 분할된 상기 기준구역을, 상기 기준구역과 동일한 형태의 도형이 상기 제 1부분 이미지의 가로 길이만큼 연장되고 투명한 투명구역상에서 생성하여, 상기 기준구역 및 상기 투명구역으로 구성된 상기 기준 이미지를 생성하며,
상기 기준구역은, 상기 투명구역상에서, 상기 기준구역이 상기 제 1부분 이미지상에 위치해 있던 것과 동일한 가로좌표상에 생성되며,
상기 이미지 가변부는, 상기 제 1부분 이미지가 가로방향으로 소정의 비율만큼 신장되어 상기 가변 부분 이미지를 생성한 경우, 상기 가변 기준 이미지를 수축 변형하여 수축 가변 기준 이미지를 생성하는 워핑부를 더 포함하며, 상기 수축 가변 기준 이미지, 상기 가변 이미지 및 상기 복수개의 제 2부분 이미지는 상기 제 2부분 이미지 그룹을 구성할 수 있으며,
상기 워핑부는, 상기 가변 기준 이미지상에서 상기 투명구역을 제외한 영역에 가상의 격자구조를 형성시키고, 상기 가변 기준이미지에서 상기 격자구조를 구성하는 복수개의 격자점에 대응되는 상기 기준 이미지의 픽셀들을 상기 가변 기준 이미지가 수축 또는 신장되는 방향과 수직한 방향으로 상기 가변 기준 이미지의 중심점과 멀어지게 이동시키고, 상기 가변 기준이미지가 수축되는 방향과 동일한 방향으로 상기 가변 기준이미지의 중심점과 가까워지게 이동시켜서, 상기 가변 기준 이미지를 신장 변형하여, 신장 가변 기준 이미지를 생성하고,
상기 워핑부는, 상기 가변 기준 이미지의 테두리에 해당하는 상기 격자점을 고정시키고, 상기 테두리 내의 상기 격자점에 대응되는 상기 픽셀들을 이동시키는 것을 특징으로 하는 이미지 재조정 장치.
An apparatus for resizing a human image including a face and a storage medium, the apparatus comprising:
A loading unit for loading an original image;
An image converting unit converting the original image into a first converted image in a bitmap format, storing the first converted image in a memory of the apparatus and outputting the converted image to the display;
Wherein the display unit displays a plurality of reference lines on the display and a reference area including a portion of the human image, the human image is displayed between two adjacent reference lines of the plurality of reference lines, A first partial image including the reference region, and a second partial image including the reference region, wherein the first partial image includes the reference region, An image divider generating a plurality of second partial images and storing a first partial image group composed of the reference image, the first partial image and the plurality of second partial images in the memory;
The first partial image and the reference image are contracted or elongated by a predetermined ratio in the horizontal direction to generate a variable partial image and a variable reference image, and the variable partial image, the variable reference image, and the plurality of second partial images An image variant for outputting to the display a second group of partial images composed;
And combining the second partial image groups to generate one variable image, storing the variable image in the memory, and outputting the variable image to the display,
Wherein in the image variable section, the variable reference image is deformed such that the variable reference image is stretched or contracted contrary to the contraction or extension of which the variable reference image is varied, thereby deforming the variable reference image,
Wherein the image dividing unit divides a rectangular reference area in which each of the constituent sides is in contact with at least one point constituting the reference area and includes the reference area inside, Wherein a figure of the same type as the zone extends by the transverse length of the first partial image and is created on the transparent zone to generate the reference image consisting of the reference zone and the transparent zone,
Wherein the reference zone is created on the same horizontal axis as the reference zone was located on the first partial image,
Wherein the image modifying unit further comprises a warping unit for generating a shrinking variable reference image by contracting and deforming the variable reference image when the first partial image is extended in a horizontal direction by a predetermined ratio to generate the variable partial image, The contraction variable reference image, the variable image, and the plurality of second partial images may constitute the second partial image group,
Wherein the warping unit forms an imaginary lattice structure in an area excluding the transparent area on the variable reference image and arranges pixels of the reference image corresponding to a plurality of lattice points constituting the lattice structure in the variable reference image, Moving the reference image away from the central point of the variable reference image in a direction perpendicular to the direction in which the reference image is contracted or elongated and moving the reference image in the same direction as the direction in which the variable reference image is contracted, Stretching the variable reference image to generate an elongated variable reference image,
Wherein the warping unit fixes the grid point corresponding to the edge of the variable reference image and moves the pixels corresponding to the grid point in the edge.
삭제delete 삭제delete 청구항 35은(는) 설정등록료 납부시 포기되었습니다.Claim 35 has been abandoned due to the setting registration fee. 제 20항에 있어서,
상기 이미지 분할부는 상기 기준선을 상기 제 1변환 이미지의 세로 방향과 평행이 되도록 표시하며, 상기 기준선의 위치를 상기 장치를 사용하는 사용자의 입력에 따라 변경하여 상기 제 1변환 이미지상에 표시하는 것을 특징으로 하는 이미지 재조정 장치.
21. The method of claim 20,
Wherein the image dividing unit displays the reference line so as to be parallel to the longitudinal direction of the first transformed image and changes the position of the reference line according to an input of a user using the apparatus and displays the same on the first transformed image The image reconstruction device.
청구항 36은(는) 설정등록료 납부시 포기되었습니다.Claim 36 is abandoned in setting registration fee. 제 35항에 있어서,
상기 이미지 분할부는 상기 기준영역의 크기 및 위치를 상기 사용자의 입력에 따라 변경하여 상기 제 1부분 이미지상에 표시하는 것을 특징으로 하는 이미지 재조정 장치.
36. The method of claim 35,
Wherein the image dividing unit changes the size and position of the reference area according to an input of the user and displays the same on the first partial image.
청구항 37은(는) 설정등록료 납부시 포기되었습니다.Claim 37 is abandoned in setting registration fee. 제 20항에 있어서,
상기 이미지 가변부는 상기 제 1변환 이미지 및 상기 기준 이미지의 신장 또는 수축 정도를 사용자의 입력에 따라 결정하는 것을 특징으로 하는 이미지 재조정 장치.
21. The method of claim 20,
Wherein the image modifying unit determines the degree of extension or contraction of the first transformed image and the reference image according to a user's input.
청구항 38은(는) 설정등록료 납부시 포기되었습니다.Claim 38 is abandoned in setting registration fee. 제 20항에 있어서,
상기 이미지 합성부는 상기 장치를 사용하는 사용자의 입력에 따라 상기 제 2부분 이미지 그룹을 결합하여 상기 가변 이미지를 생성하는 것을 특징으로 하는 이미지 재조정 장치.
21. The method of claim 20,
Wherein the image combining unit combines the second partial image group according to an input of a user using the apparatus to generate the variable image.
청구항 39은(는) 설정등록료 납부시 포기되었습니다.Claim 39 is abandoned in setting registration fee. 제 1항, 제 5항, 제 8항, 제 13항, 및 제 16항 내지 제 19항 중 어느 한 항의 방법을 실행시키기 위한 명령어들을 기록한 비일시적 기계 판독가능 저장 매체.19. A non-transitory machine-readable storage medium having recorded thereon instructions for executing the method of any one of claims 1, 5, 8, 13, and 16-19.
KR1020140147659A 2014-10-28 2014-10-28 Method and device for readjusting image, and non-temporary computer-readable medium storing instructions for executing the same method KR101638498B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020140147659A KR101638498B1 (en) 2014-10-28 2014-10-28 Method and device for readjusting image, and non-temporary computer-readable medium storing instructions for executing the same method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140147659A KR101638498B1 (en) 2014-10-28 2014-10-28 Method and device for readjusting image, and non-temporary computer-readable medium storing instructions for executing the same method

Publications (2)

Publication Number Publication Date
KR20160049887A KR20160049887A (en) 2016-05-10
KR101638498B1 true KR101638498B1 (en) 2016-07-22

Family

ID=56021000

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140147659A KR101638498B1 (en) 2014-10-28 2014-10-28 Method and device for readjusting image, and non-temporary computer-readable medium storing instructions for executing the same method

Country Status (1)

Country Link
KR (1) KR101638498B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022030699A1 (en) * 2020-08-03 2022-02-10 (주)위링 System and method for converting image according to behavior of user

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014164343A (en) * 2013-02-21 2014-09-08 Ricoh Co Ltd Image processing apparatus, image processing system, and program

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014164343A (en) * 2013-02-21 2014-09-08 Ricoh Co Ltd Image processing apparatus, image processing system, and program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
웹사이트/블로그*

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022030699A1 (en) * 2020-08-03 2022-02-10 (주)위링 System and method for converting image according to behavior of user

Also Published As

Publication number Publication date
KR20160049887A (en) 2016-05-10

Similar Documents

Publication Publication Date Title
US10656811B2 (en) Animation of user interface elements
EP3929867A2 (en) Image fusion method and portable terminal
CN108876718B (en) Image fusion method and device and computer storage medium
US9824431B2 (en) Image synthesis apparatus, image synthesis method, and recording medium
JP4940050B2 (en) Image processing method, program, and recording medium for correcting distortion aberration for image data
JP2010181637A5 (en)
US10984570B2 (en) Picture marking method and apparatus, computer device, and computer readable storage medium
JP2008015698A (en) Display system, display method, and program
CN105511712A (en) Method and device for showing picture
KR101638498B1 (en) Method and device for readjusting image, and non-temporary computer-readable medium storing instructions for executing the same method
JP5512903B1 (en) Image processing apparatus, image processing method, information storage medium, and program
JP2009237650A (en) Image processor and imaging device
JP2015015699A (en) Image processing system, information processing method and program
JP2012118832A (en) Information processor, information processing method and program
CN102592261A (en) Vector diagram showing method and system
JP7023688B2 (en) Programs, information processing equipment, and information processing methods
KR20170093466A (en) Apparatus and method for providing contents, and computer program recorded on computer readable recording medium for executing the method
KR20160034640A (en) Method and device for readjusting image, and non-temporary computer-readable medium storing instructions for executing the same method
JP5756558B2 (en) Movie output device, movie output method, and program
CN112634426B (en) Method for displaying multimedia data, electronic equipment and computer storage medium
JP6285657B2 (en) Image processing apparatus, image processing method, and program
CN111553842B (en) Spliced picture display method and device, electronic equipment and storage medium
KR20170055906A (en) A data prcessing device, data processing method and computer readable storage medium
JP2012133459A (en) Apparatus, method and program for estimating image, and computer-readable recording medium storing the program
JP7206739B2 (en) Acquisition equipment and program

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

Year of fee payment: 4