KR20160034640A - 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 PDFInfo
- Publication number
- KR20160034640A KR20160034640A KR1020140125836A KR20140125836A KR20160034640A KR 20160034640 A KR20160034640 A KR 20160034640A KR 1020140125836 A KR1020140125836 A KR 1020140125836A KR 20140125836 A KR20140125836 A KR 20140125836A KR 20160034640 A KR20160034640 A KR 20160034640A
- Authority
- KR
- South Korea
- Prior art keywords
- image
- partial
- variable
- display
- partial image
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 85
- 230000007423 decrease Effects 0.000 claims description 25
- 238000006243 chemical reaction Methods 0.000 claims description 16
- 230000008602 contraction Effects 0.000 claims description 13
- 238000003709 image segmentation Methods 0.000 claims description 12
- 238000010606 normalization Methods 0.000 claims description 10
- 210000003423 ankle Anatomy 0.000 claims description 7
- 230000015572 biosynthetic process Effects 0.000 claims description 7
- 238000003786 synthesis reaction Methods 0.000 claims description 7
- 210000004197 pelvis Anatomy 0.000 claims description 4
- 230000001131 transforming effect Effects 0.000 claims description 2
- 238000001514 detection method Methods 0.000 description 16
- 230000003247 decreasing effect Effects 0.000 description 11
- 210000002683 foot Anatomy 0.000 description 9
- 230000008859 change Effects 0.000 description 8
- 238000012790 confirmation Methods 0.000 description 6
- 210000002414 leg Anatomy 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000004513 sizing Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 230000002194 synthesizing effect Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000001815 facial effect Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000008707 rearrangement Effects 0.000 description 2
- 230000011218 segmentation Effects 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- 238000012952 Resampling Methods 0.000 description 1
- 244000309466 calf Species 0.000 description 1
- 230000006378 damage Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 239000010409 thin film Substances 0.000 description 1
- 238000012549 training Methods 0.000 description 1
- 210000000689 upper leg Anatomy 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/18—Image warping, e.g. rearranging pixels individually
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20112—Image segmentation details
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20212—Image 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
Description
본 발명은 이미지를 복수개의 부분 영역으로 분할하여 일부를 신장 또는 축소시켜 자연스럽게 재조정할 수 있는 방법, 장치 및 상기 방법을 실행하기 위한 명령어들을 기록한 비일시적 기계 판독가능 저장 매체에 관한 것이다.The present invention relates to a non-volatile machine-readable storage medium having recorded thereon a method, an apparatus and an instruction for executing the method, by which an image can be divided into a plurality of sub-regions and a portion can be stretched or shrunk to naturally readjust.
기존의 이미지는 그림이나 사진과 같은 아날로그 형식의 이미지가 보편적이었으나, 컴퓨터, 태블릿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, there are many applications that can easily edit digital images in the smartphone application market. Applications that can edit existing images can easily edit images without expert knowledge There are advantages.
하지만 이미지를 편집하는 과정에서 이미지를 늘리거나 줄일 때 결과물이 부자연스러워진다는 단점과 과도하게 늘렸을 경우 이미지가 파손될 수 있다는 문제점이 있다.However, there is a disadvantage that when the image is enlarged or reduced in the process of editing the image, the result becomes unnatural, and if the number is increased excessively, the image may be damaged.
본 발명의 주된 목적은 디지털 이미지를 신장하거나 축소하는 재편집 과정에 있어서, 보다 자연스러운 결과물의 생성 및 결과물의 파손을 방지할 수 있는 이미지 재조정 방법과 장치 및 상기 방법을 실행하기 위한 명령어들을 기록한 비일시적 기계 판독가능 저장 매체를 제공하는 것을 그 과제로 한다.The main object of the present invention is to provide an image re-adjustment method and apparatus capable of preventing generation of a more natural result and destruction of a result in a re-editing process of expanding or reducing a digital image, And to provide a machine-readable storage medium.
또한, 디지털 이미지를 신장하거나 축소하는 재편집 과정에 있어서, 전문적인 지식 없이도 쉽고 간편하게 이미지를 재편집할 수 있는 이미지 재조정 방법과 장치 및 상기 방법을 실행하기 위한 프로그램을 기록한 비일시적 기계 판독가능 저장 매체를 제공하는 것을 그 과제로 한다.In addition, it is an object of the present invention to provide an image re-adjustment method and apparatus capable of easily and re-editing an image without expert knowledge in a re-editing process of expanding or reducing a digital image, and a non-transitory machine readable storage medium storing a program for executing the method To be provided.
상기한 목적을 달성하기 위하여, 본발명은, 전자장치의 디스플레이상에 표시된 이미지를 재조정하는 방법에 있어서, 원본 이미지를 로딩하는 로딩단계, 상기 원본 이미지를 비트맵 형식의 제 1변환 이미지로 변환하고, 상기 제 1변환 이미지를 상기 전자장치의 메모리에 저장하며 상기 전자장치의 디스플레이에 출력하는 이미지 변환단계, 상기 디스플레이상에 적어도 하나 이상의 기준선을 표시하고, 상기 기준선을 기준으로 하여 상기 제 1변환 이미지를 복수개의 부분 이미지로 분할하며, 상기 복수개의 부분 이미지로 구성된 제 1부분 이미지 그룹을 상기 메모리에 저장하는 이미지 분할단계, 상기 제 1부분 이미지 그룹 중 일부 상기 부분 이미지를 상기 부분 이미지의 세로방향으로 소정의 비율만큼 신장 또는 수축하여 적어도 하나 이상의 가변 부분 이미지를 생성하고, 적어도 하나 이상의 상기 가변 부분 이미지와 상기 제 1부분 이미지 그룹 중 신장 또는 수축되지 않은 적어도 하나 이상의 상기 부분 이미지로 구성된 제 2부분 이미지 그룹을 상기 디스플레이에 표시하는 이미지 가변단계, 상기 제 2부분 이미지 그룹을 결합하여 하나의 제 1가변 이미지를 생성하고, 상기 제 1가변 이미지를 상기 디스플레이에 표시하는 이미지 합성단계를 포함할 수 있다.According to an aspect of the present invention, there is provided a method of re-adjusting an image displayed on a display of an electronic device, the method comprising the steps of: loading an original image; converting the original image into a first converted image in bitmap format An image conversion step of storing the first converted image in a memory of the electronic device and outputting it to a display of the electronic device; displaying at least one baseline on the display; Dividing the first partial image group into a plurality of partial images and storing a first partial image group composed of the plurality of partial images in the memory; Stretching or contracting by a predetermined ratio to form at least one or more variable portions An image variable step of displaying on the display a second partial image group consisting of at least one or more of the variable partial images and at least one or more partial images that are not stretched or contracted among the first partial image group, And combining the two partial image groups to generate one first variable image and displaying the first variable image on the display.
또한, 상기 원본 이미지는 상기 전자장치에 이미 저장되어 있는 저장 이미지이거나 상기 전자장치에 구비된 카메라에 의해 촬영된 촬영 이미지일 수 있다.Also, the original image may be a stored image already stored in the electronic device, or may be a captured image captured by a camera provided in the electronic device.
그리고, 상기 이미지 변환단계는, 상기 원본 이미지를 상기 제 1변환 이미지로 변환하기 전에, 상기 원본 이미지의 해상도가 상기 디스플레이의 해상도를 초과하거나 소정 해상도 이하인지 여부를 판별하는 단계를 더 포함하며, 상기 원본 이미지가 상기 디스플레이의 상기 해상도를 초과하거나 상기 소정 해상도 이하인 것으로 판별되는 경우, 상기 원본 이미지를 상기 디스플레이의 상기 해상도 내의 범위 내로 축소 또는 확대하여 상기 제 1변환 이미지로 변환할 수 있다.The image conversion step may further include determining whether the resolution of the original image exceeds the resolution of the display or is lower than a predetermined resolution before converting the original image into the first converted image, If the original image is determined to be greater than or equal to the resolution of the display, the original image may be reduced or enlarged to within the range of the resolution of the display and converted to the first converted image.
여기서, 상기 이미지 변환단계는, 상기 원본 이미지를 상기 제 1변환 이미지로 변환하기 전에, 상기 원본 이미지가 상기 비트맵 형식인 경우, 상기 원본 이미지를 상기 제 1변환 이미지로 결정하는 파일형식 판별단계를 더 포함할 수 있다.Here, the image converting step may include a file type determining step of determining the original image as the first converted image, when the original image is in the bitmap format, before converting the original image into the first converted image .
이 경우, 상기 이미지 분할단계는 상기 기준선을 상기 제 1변환 이미지의 가로 방향과 평행이 되도록 표시하며, 상기 기준선의 위치를 상기 전자장치를 사용하는 사용자의 입력에 따라 변경하여 상기 제 1변환 이미지상에 표시할 수 있다.In this case, the image segmentation step may display the reference line so as to be parallel to the horizontal direction of the first transformed image, change the position of the reference line according to an input of a user using the electronic device, Can be displayed.
또한, 상기 이미지 분할단계는 상기 기준선이 복수개인 경우 상기 복수개의 기준선을 서로 이격되게 표시하고, 상기 사용자의 입력에 따라 상기 복수개의 기준선의 표시 순서를 변경하여 표시할 수 있다.The image segmenting step may display the plurality of reference lines spaced apart from each other when the plurality of reference lines exist, and change the display order of the plurality of reference lines according to the input of the user.
그리고, 상기 복수개의 기준선은 상기 제 1변환 이미지를 3개의 상기 부분 이미지로 분할하는 상부 기준선 및 하부 기준선이거나, 상기 상부 기준선과 상기 하부 기준선 사이에 N개의 중앙 기준선을 더 포함하여 상기 제 1변환 이미지를 N+3개의 상기 부분 이미지로 분할할 수 있다.The plurality of reference lines may be an upper reference line and a lower reference line dividing the first transformed image into three partial images or further include N central reference lines between the upper reference line and the lower reference line, Can be divided into N + 3 partial images.
여기서, 상기 이미지 분할단계는 상기 제 1부분 이미지 그룹을 상기 디스플레이상에 표시하되, 상기 제 1부분 이미지 그룹 중 최하단에 위치하는 상기 부분 이미지가 상기 제 1변환 이미지가 표시되었던 위치보다 아래에 위치하도록 표시할 수 있다.Wherein the image segmentation step displays the first partial image group on the display such that the partial image located at the bottom of the first partial image group is positioned below the position at which the first transformed image was displayed Can be displayed.
이 경우, 상기 이미지 가변단계는 상기 제 1부분 이미지 그룹 중 상기 하부 기준선 아래에 위치하는 상기 부분 이미지를 기준으로 상기 상부 기준선 및 상기 하부 기준선 사이에 있는 적어도 하나 이상의 상기 부분 이미지를 상하 방향으로 신장 또는 수축하여 적어도 하나 이상의 상기 가변 부분 이미지를 생성할 수 있다.In this case, the image modifying step may include at least one or more partial images between the upper reference line and the lower reference line based on the partial image positioned below the lower reference line of the first partial image group, And generate at least one or more of the variable partial images.
또한, 상기 부분 이미지의 신장 또는 수축 정도는 상기 사용자의 입력에 따라 결정될 수 있다.Further, the degree of extension or contraction of the partial image may be determined according to the input of the user.
그리고, 상기 제 1변환 이미지가 사람을 피사체로 하는 경우, 상기 이미지 분할단계는 상기 제 1변환 이미지상에 표시된 상기 사람의 이미지 중 어깨부위에 상기 상부 기준선을 표시하고, 발목부위에 상기 하부 기준선을 표시하며, 골반부위에 상기 중간 기준선을 표시하여, 상기 상부 기준선, 상기 하부 기준선 및 상기 중간 기준선을 기준으로 하여 상기 제 1변환 이미지를 4개의 부분 이미지로 분할하고, 상기 4개의 부분 이미지로 구성된 제 1부분 이미지 그룹을 상기 메모리에 저장할 수 있다.When the first transformed image is a human subject, the image segmenting step displays the upper baseline on the shoulder of the image of the person displayed on the first transformed image, and the lower baseline on the ankle And displaying the intermediate reference line on the pelvis region, dividing the first transformed image into four partial images with reference to the upper reference line, the lower reference line, and the intermediate reference line, One partial image group may be stored in the memory.
여기서, 상기 이미지 가변단계는 상기 상부 기준선과 상기 중간 기준선 사이에 있는 상기 부분 이미지 및 상기 중간 기준선과 상기 하부 기준선 사이에 있는 상기 부분 이미지를 각각 소정의 비율로 상하로 신장 또는 수축하여 2개의 상기 가변 부분 이미지를 생성하고, 2개의 상기 가변 부분 이미지와 상기 제 1부분 이미지 그룹 중 상기 상부 기준선 위에 위치한 상기 부분 이미지 및 상기 하부 기준선 아래에 위치한 상기 부분 이미지로 구성된 제 2부분 이미지 그룹을 상기 디스플레이에 표시할 수 있다.The image modifying step may include expanding or contracting the partial image between the upper reference line and the intermediate reference line and the partial image between the intermediate reference line and the lower reference line up and down at a predetermined ratio, And displaying a second partial image group composed of the two variable partial images and the partial image positioned below the lower baseline and the partial image positioned above the upper reference line among the first partial image group on the display can do.
이 경우, 상기 이미지 가변단계는 상기 중간 기준선과 상기 하부 기준선 사이에 있는 상기 부분 이미지를 상기 상부 기준선과 상기 하부 기준선 사이에 있는 상기 부분 이미지보다 더 큰 비율로 신장 또는 수축할 수 있다.In this case, the image modifying step may extend or contract the partial image between the intermediate reference line and the lower reference line at a greater rate than the partial image between the upper reference line and the lower reference line.
또한, 상기 이미지 합성단계는 상기 제 2부분 이미지 그룹을 구성하는 4개의 상기 부분 이미지를 결합하여 상기 제 1가변 이미지를 생성하고, 상기 제 1가변 이미지를 상기 디스플레이에 표시할 수 있다.The image combining step may combine the four partial images constituting the second partial image group to generate the first variable image and display the first variable image on the display.
그리고, 상기 이미지 가변단계는, 상기 제 1부분 이미지 그룹의 세로 픽셀수를 검출하는 픽셀 검출단계, 상기 제 1부분 이미지 그룹중 일부 부분 이미지의 세로 픽셀수가 가변될 수 있는 최대 가변 픽셀량을 설정하는 최대 가변 픽셀량 설정단계, 상기 전자장치를 사용하는 사용자의 입력값 범위를 표준화하는 입력값 범위 표준화단계, 상기 일부 부분 이미지의 세로 픽셀수가 가변되는 가변 픽셀량을 상기 최대 가변 픽셀량 내에서 상기 사용자에 의해 입력된 입력값에 따라 결정하는 가변 픽셀량 산출단계, 상기 산출된 가변 픽셀량을 상기 일부 부분 이미지에 적용하여 상기 일부 부분 이미지의 세로 픽셀수를 증가 또는 감소시켜 적어도 하나 이상의 상기 가변 부분 이미지를 생성하는 가변 픽셀량 적용단계, 적어도 하나 이상의 상기 가변 부분 이미지와 상기 제 1부분 이미지 그룹 중 신장 또는 수축되지 않은 적어도 하나 이상의 상기 부분 이미지로 구성된 제 2부분 이미지 그룹을 상기 디스플레이에 표시하는 출력단계를 포함할 수 있다.The image variable step may include a pixel detection step of detecting the number of vertical pixels of the first partial image group, a step of setting a maximum variable pixel amount in which the number of vertical pixels of some partial images in the first partial image group can be varied A step of standardizing an input value range of a user using the electronic device, a step of normalizing an input value range of the user using the electronic device, A variable pixel amount calculation step of applying the calculated variable pixel amount to the partial partial image so as to increase or decrease the number of vertical pixels of the partial partial image so as to generate at least one variable partial image A variable pixel amount applying step of generating at least one variable partial image The first can be a second partial image of the group consisting of 1 part of the image at least one of the partial images that do not stretch or shrinkage of the group comprising an output step of displaying on said display.
그리고, 상기 최대 가변 픽셀량 설정단계는, 상기 제 1부분 이미지의 세로 픽셀수에 기설정된 소정의 비율을 곱하여 상기 최대 가변 픽셀량을 산출할 수 있다.The maximum variable pixel amount setting step may calculate the maximum variable pixel amount by multiplying the number of vertical pixels of the first partial image by a predetermined ratio.
여기서, 상기 이미지 가변단계는, 상기 제 1부분 이미지 그룹 중 일부 부분 이미지의 세로 픽셀수를 검출하는 픽셀 검출단계, 상기 일부 부분 이미지의 세로 픽셀수가 가변될 수 있는 최대 가변 픽셀량을 설정하는 최대 가변 픽셀량 설정단계, 상기 전자장치를 사용하는 사용자의 입력값 범위를 표준화하는 입력값 범위 표준화단계, 상기 일부 부분 이미지의 세로 픽셀수가 가변되는 가변 픽셀량을 상기 최대 가변 픽셀량 내에서 상기 사용자에 의해 입력된 입력값에 따라 결정하는 가변 픽셀량 산출단계, 상기 산출된 가변 픽셀량을 상기 일부 부분 이미지에 적용하여 상기 일부 부분 이미지의 세로 픽셀수를 증가 또는 감소시켜 적어도 하나 이상의 상기 가변 부분 이미지를 생성하는 가변 픽셀량 적용단계, 적어도 하나 이상의 상기 가변 부분 이미지와 상기 제 1부분 이미지 그룹 중 신장 또는 수축되지 않은 적어도 하나 이상의 상기 부분 이미지로 구성된 제 2부분 이미지 그룹을 상기 디스플레이에 표시하는 출력단계를 포함할 수 있다.The image variable step may include a pixel detection step of detecting the number of vertical pixels of the partial image of the partial image of the first partial image group, a step of detecting a maximum variable pixel amount that sets the maximum variable pixel number An input value range normalization step of normalizing an input value range of a user using the electronic device, a variable pixel amount variable in which the number of vertical pixels of the partial image is variable is set by the user within the maximum variable pixel amount A variable pixel amount calculation step of calculating a variable pixel amount based on the inputted input value and applying the calculated variable pixel amount to the partial partial image to increase or decrease the number of vertical pixels of the partial partial image to generate at least one variable partial image A variable pixel amount application step of applying a variable pixel amount to at least one of the variable partial images, The group may be a second part of a group of images consisting of one image portion of at least one of the partial images that do not stretch or shrinkage of the group comprising an output step of displaying on said display.
이 경우, 상기 최대 가변 픽셀량 설정단계는, 상기 일부 부분 이미지의 세로 픽셀수에 기설정된 소정의 비율을 곱하여 상기 최대 가변 픽셀량을 산출할 수 있다.In this case, the maximum variable pixel amount setting step may calculate the maximum variable pixel amount by multiplying the number of vertical pixels of the partial partial image by a predetermined ratio.
또한, 상기 가변 픽셀량 산출단계는, 상기 최대 가변 픽셀량에 상기 사용자에 의해 입력된 입력값을 곱하여 상기 일부 부분 이미지의 세로 픽셀수가 가변되는 가변 픽셀량을 산출할 수 있다.The variable pixel amount calculating step may calculate a variable pixel amount in which the number of vertical pixels of the partial partial image is varied by multiplying the maximum variable pixel amount by the input value input by the user.
그리고, 상기 제 1가변 이미지는 상기 이미지 분할단계, 상기 이미지 가변단계 및 상기 이미지 합성단계를 통해 N차 재조정되어 N+1차 제 1가변 이미지가 될 수 있다.The first variable image may be N-th order readjusted through the image segmentation step, the image variable step and the image synthesis step to become an (N + 1) th first variable image.
여기서, 상기 이미지 합성단계는 상기 전자장치를 사용하는 사용자의 입력에 따라 상기 제 2부분 이미지 그룹을 결합하여 상기 제 1가변 이미지를 생성할 수 있다.Here, the image synthesizing step may combine the second partial image group according to a user's input using the electronic device to generate the first variable image.
이 경우, 상기 이미지 합성단계는 상기 원본 이미지를 로딩하여 비트맵 이미지로 변환하여 제 2변환 이미지를 생성하고, 상기 제 2변환 이미지를 상기 제 1가변 이미지가 상기 제 1변환 이미지에서 가변된 것과 동일한 비율로 가변하여 제 2가변 이미지를 생성하여 상기 전자장치에 저장하는 이미지 저장단계를 더 포함할 수 있다.In this case, the image compositing step may include loading the original image and converting the original image into a bitmap image to generate a second transformed image, and transforming the second transformed image into the same transformed first modified image as the first transformed image And a second variable image is generated and stored in the electronic device.
또한, 상기 이미지 저장단계는 상기 제 2가변 이미지를 상기 전자장치에 저장할 때, 상기 제 2가변 이미지를 상기 원본 이미지와 동일한 파일형식이거나 상기 제 2가변 이미지와 동일하지 않은 파일형식으로 변환하여 상기 전자장치에 저장할 수 있다.The image storing step may include storing the second variable image in the electronic device by converting the second variable image into a file format that is the same as the original image or is not the same as the second variable image, Device.
그리고, 디스플레이 및 저장매체를 구비하며, 이미지를 재조정 하기 위한 장치에 있어서, 원본 이미지를 로딩하는 로딩부, 상기 원본 이미지를 비트맵 형식의 제 1변환 이미지로 변환하고, 상기 제 1변환 이미지를 상기 장치의 메모리에 저장하며 상기 디스플레이에 출력하는 변환부, 상기 디스플레이상에 적어도 하나 이상의 기준선을 표시하고, 상기 기준선을 기준으로 하여 상기 제 1변환 이미지를 복수개의 부분 이미지로 분할하며, 상기 복수개의 부분 이미지로 구성된 제 1부분 이미지 그룹을 상기 메모리에 저장하는 분할부, 상기 제 1부분 이미지 그룹 중 일부 상기 부분 이미지를 상기 부분 이미지의 세로방향으로 소정의 비율만큼 신장 또는 수축하여 적어도 하나 이상의 가변 부분 이미지를 생성하고, 적어도 하나 이상의 상기 가변 부분 이미지와 상기 제 1부분 이미지 그룹 중 신장 또는 수축되지 않은 적어도 하나 이상의 상기 부분 이미지로 구성된 제 2부분 이미지 그룹을 상기 디스플레이에 표시하는 가변부, 상기 제 2부분 이미지 그룹을 결합하여 하나의 제 1가변 이미지를 생성하고, 상기 제 1가변 이미지를 상기 디스플레이에 표시하는 합성부를 포함할 수 있다.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 a bitmap format, A display unit for displaying at least one reference line on the display and dividing the first converted image into a plurality of partial images with reference to the reference line, A partial image storage unit configured to store a partial image of the first partial image group in a predetermined ratio in a longitudinal direction of the partial image to store at least one variable partial image And at least one of the variable partial images A variable portion displaying on the display a second partial image group composed of at least one or more partial images of the first partial image group that have not been stretched or contracted, And displaying the first variable image on the display.
여기서, 상기 저장매체는 이미지를 저장하고, 상기 이미지는 상기 로딩부에 의해 로딩되어 상기 원본 이미지가 될 수 있다.Here, the storage medium may store an image, and the image may be loaded by the loading unit to be the original image.
이 경우, 피사체를 촬영하여 촬영 이미지를 생성하는 카메라를 더 포함하고, 상기 촬영 이미지는 상기 저장매체에 저장되고 상기 로딩부에 의해 로딩되어 상기 원본 이미지가 될 수 있다.In this case, the image processing apparatus may further include a camera for photographing a subject to generate a photographed image, wherein the photographed image is stored in the storage medium and can be loaded by the loading section to become the original image.
또한, 상기 변환부는 상기 원본 이미지를 상기 제 1변환 이미지로 변환하기 전에, 상기 원본 이미지의 해상도가 상기 디스플레이의 해상도를 초과하거나 소정 해상도 이하인 경우, 상기 원본 이미지를 상기 디스플레이의 해상도 내의 범위에서 축소 또는 확대하는 해상도 판별부를 더 포함할 수 있다.Also, the converting unit may reduce or reduce the original image in the range of the resolution of the display, before the original image is converted into the first converted image, if the resolution of the original image exceeds the resolution of the display or below the predetermined resolution. And may further include a resolution determining unit.
그리고, 상기 변환부는 상기 원본 이미지를 상기 제 1변환 이미지로 변환하기 전에, 상기 원본 이미지가 상기 비트맵 형식인 경우, 상기 원본 이미지를 상기 제 1변환 이미지로 결정하는 파일형식 판별부를 더 포함할 수 있다.The converting unit may further include a file type determining unit that determines the original image as the first converted image when the original image is in the bitmap format before converting the original image into the first converted image have.
여기서, 상기 분할부는 상기 기준선을 상기 제 1변환 이미지의 가로 방향과 평행이 되도록 표시하며, 상기 기준선의 위치를 상기 사용자의 입력에 따라 변경하여 상기 제 1변환 이미지상에 표시할 수 있다.Herein, the dividing unit may display the reference line so as to be parallel to the horizontal direction of the first transformed image, and may change the position of the reference line according to the input of the user, and may display the first transformed image.
이 경우, 상기 분할부는 상기 기준선이 복수개인 경우 상기 복수개의 기준선을 서로 이격되게 표시하고, 상기 사용자의 입력에 따라 그 순서를 변경하여 표시할 수 있다.In this case, when there are a plurality of the reference lines, the dividing unit may display the plurality of reference lines so as to be spaced apart from each other, and change the order according to the input of the user.
또한, 상기 복수개의 기준선은 상기 제 1변환 이미지를 3개의 상기 부분 이미지로 분할하는 상부 기준선 및 하부 기준선이거나, 상기 상부 기준선과 상기 하부 기준선 사이에 N개의 중앙 기준선을 더 포함하여 상기 제 1변환 이미지를 N+3개의 상기 부분 이미지로 분할할 수 있다.The plurality of reference lines may be an upper reference line and a lower reference line that divide the first transformed image into three partial images or further include N central reference lines between the upper reference line and the lower reference line, Can be divided into N + 3 partial images.
그리고, 상기 분할부는 상기 제 1부분 이미지 그룹을 상기 디스플레이상에 표시하되, 상기 제 1부분 이미지 그룹 중 최하단에 위치하는 상기 부분 이미지가 상기 제 1변환 이미지가 표시되었던 위치보다 아래에 위치하도록 표시할 수 있다.The division unit displays the first partial image group on the display so that the partial image positioned at the lowermost one of the first partial image groups is positioned below the position at which the first transformed image was displayed .
여기서, 상기 가변부는 상기 제 1부분 이미지 그룹 중 상기 하부 기준선 아래에 위치하는 상기 부분 이미지를 기준으로 상기 상부 기준선 및 상기 하부 기준선 사이에 있는 적어도 하나의 이상의 상기 부분 이미지를 상하 방향으로 신장 또는 수축하여 적어도 하나 이상의 상기 가변 부분 이미지를 생성할 수 있다.Here, the variable unit may extend or contract at least one or more of the partial images between the upper reference line and the lower reference line based on the partial image positioned below the lower reference line among the first partial image groups And may generate at least one or more of the variable partial images.
이 경우, 상기 부분 이미지의 신장 또는 수축 정도는 사용자의 입력에 따라 결정될 수 있다.In this case, the degree of extension or contraction of the partial image may be determined according to a user's input.
또한, 상기 가변부는, 상기 제 1부분 이미지 그룹의 세로 픽셀수를 검출하는 픽셀 검출부, 상기 제 1부분 이미지 그룹중 일부 부분 이미지의 세로 픽셀수가 가변될 수 있는 최대 가변 픽셀량을 설정하는 최대 가변 픽셀량 설정부, 상기 전자장치를 사용하는 사용자의 입력값 범위를 표준화하는 입력값 범위 표준화부, 상기 일부 부분 이미지의 세로 픽셀수가 가변되는 가변 픽셀량을 상기 최대 가변 픽셀량 내에서 상기 사용자에 의해 입력된 입력값에 따라 결정하는 가변 픽셀량 산출부, 상기 산출된 가변 픽셀량을 상기 일부 부분 이미지에 적용하여 상기 일부 부분 이미지의 세로 픽셀수를 증가 또는 감소시켜 적어도 하나 이상의 상기 가변 부분 이미지를 생성하는 가변 픽셀량 적용부, 적어도 하나 이상의 상기 가변 부분 이미지와 상기 제 1부분 이미지 그룹 중 신장 또는 수축되지 않은 적어도 하나 이상의 상기 부분 이미지로 구성된 제 2부분 이미지 그룹을 상기 디스플레이에 표시하는 출력부를 포함할 수 있다.The variable portion may include a pixel detection unit for detecting the number of vertical pixels of the first partial image group, a maximum variable pixel setting unit for setting a maximum variable pixel amount, An input value range normalizing unit for normalizing an input value range of a user using the electronic device, a variable pixel amount variable unit for changing the number of vertical pixels of the partial image to be input by the user in the maximum variable pixel amount, A variable pixel amount calculation unit for determining the number of vertical pixels of the partial image based on the inputted input value, and applying the calculated variable pixel amount to the partial image to increase or decrease the number of vertical pixels of the partial image, A variable pixel amount application unit, at least one variable portion image, And an output unit for displaying on the display a second partial image group composed of at least one or more of the partial images that are not stretched or contracted among the groups.
그리고, 상기 가변부는, 상기 제 1부분 이미지 그룹 중 일부 부분 이미지의 세로 픽셀수를 검출하는 픽셀 검출부, 상기 일부 부분 이미지의 세로 픽셀수가 가변될 수 있는 최대 가변 픽셀량을 설정하는 최대 가변 픽셀량 설정부, 상기 전자장치를 사용하는 사용자의 입력값 범위를 표준화하는 입력값 범위 표준화부, 상기 일부 부분 이미지의 세로 픽셀수가 가변되는 가변 픽셀량을 상기 최대 가변 픽셀량 내에서 상기 사용자에 의해 입력된 입력값에 따라 결정하는 가변 픽셀량 산출부, 상기 산출된 가변 픽셀량을 상기 일부 부분 이미지에 적용하여 상기 일부 부분 이미지의 세로 픽셀수를 증가 또는 감소시켜 적어도 하나 이상의 상기 가변 부분 이미지를 생성하는 가변 픽셀량 적용부, 적어도 하나 이상의 상기 가변 부분 이미지와 상기 제 1부분 이미지 그룹 중 신장 또는 수축되지 않은 적어도 하나 이상의 상기 부분 이미지로 구성된 제 2부분 이미지 그룹을 상기 디스플레이에 표시하는 출력부를 포함할 수 있다.The variable unit includes a pixel detection unit for detecting the number of vertical pixels of a partial image of the first partial image group, a maximum variable pixel amount setting unit for setting a maximum variable pixel amount, An input value range normalization unit for normalizing an input value range of a user using the electronic device, a variable pixel amount variable unit for changing the number of vertical pixels of the partial image to a value input by the user within the maximum variable pixel amount, A variable pixel amount calculating unit for calculating a variable pixel amount based on the calculated variable pixel amount, and a variable pixel amount calculating unit for applying the calculated variable pixel amount to the partial partial image to increase or decrease the number of vertical pixels of the partial partial image, Amount application portion, at least one of the variable partial image and the first partial image It is possible to an output unit to display a second portion of the image group on the display consists of at least one of the partial image that is not stretched or contracted group.
여기서, 상기 합성부는 상기 장치를 사용하는 사용자의 입력에 따라 상기 제 2부분 이미지 그룹을 결합하여 상기 제 1가변 이미지를 생성할 수 있다. Here, the combining unit may combine the second partial image group according to an input of a user using the apparatus to generate the first variable image.
이 경우, 상기 합성부는 상기 원본 이미지를 로딩하여 비트맵 이미지로 변환하여 제 2변환 이미지를 생성하고, 상기 제 2변환 이미지를 상기 제 1가변 이미지가 상기 제 1변환 이미지에서 가변된 것과 동일한 비율로 가변하여 제 2가변 이미지를 생성하여 상기 저장매체에 저장하는 저장부를 더 포함할 수 있다.In this case, the compositing unit may load the original image and convert the original image into a bitmap image to generate a second transformed image, and convert the second transformed image into a first transformed image at a rate the same as that of the first transformed image And generating a second variable image and storing the second variable image in the storage medium.
또한, 상기 저장부는 상기 제 2가변 이미지를 상기 저장매체에 저장할 때, 상기 제 2가변 이미지를 상기 원본 이미지와 동일한 파일형식이거나 상기 제 2가변 이미지와 동일하지 않은 파일형식으로 변환하여 상기 저장매체에 저장할 수 있다.When the second variable image is stored in the storage medium, the storage unit may convert the second variable image into a file format that is the same as the original image or is not the same as the second variable image, Can be stored.
그리고, 상기 전자장치의 디스플레이상에 표시된 이미지를 재조정하는 방법을 실행시키기 위한 명령어들을 기록한 비일시적 기계 판독가능 저장 매체를 제공할 수 있다.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, there is provided a method of reconstructing an image of a human being, the method comprising: dividing the image into a plurality of partial images, It is possible to readjust the image by stretching or contracting a partial image except for the partial image so that the key is naturally increased or decreased according to the intention of the user without distortion.
또한, 상기 이미지를 신장 또는 수축할 때 최대 신장량 및 최대 수축량을 설정하여 상기 이미지가 너무 과하게 신장되거나 수축되는 것을 방지할 수 있다.In addition, when the image is stretched or shrunk, the maximum elongation and the maximum shrinkage amount can be set to prevent the image from being excessively stretched or contracted.
그리고, 전문적인 지식 없이도 쉽고 간편하게 이미지를 신장 또는 수축하여 재조정할 수 있다.And, without professional knowledge, it is easy and easy to stretch or shrink the image and readjust it.
도 1은 본 발명의 일 실시예에 따른 이미지 재조정 방법의 순서도를 도시한다.
도 2는 본 발명의 일 실시예에 따른 원본 이미지의 변환을 도시한다.
도 3은 본 발명의 일 실시예에 따른 원본 이미지의 크기 조절을 도시한다.
도 4는 본 발명의 일 실시에에 따른 제 1변환 이미지의 분할을 도시한다.
도 5는 본 발명의 일 실시예에 따른 기준선의 표시에 의해 3개 또는 4개로 분할된 제 1변환 이미지를 도시한다.
도 6은 본 발명의 일 실시예에 따른 제 2부분 이미지 그룹의 생성을 도시한다.
도 7은 본 발명의 일 실시예에 따른 제 2부분 이미지 그룹의 생성을 디스플레이의 출력상태로 도시한다.
도 8은 본 발명의 일 실시예에 따른 이미지 가변단계에서 사용자의 입력에 따라 신장량 또는 수축량이 조절되어 신장 또는 수축되어 생성된 제 2부분 이미지 그룹의 생성을 디스플레이의 표시 상태에서 도시한다.
도 9는 본 발명의 일 실시예에 따른 제 1부분 이미지 그룹의 세로 픽셀수를 검출하고 최대 가변량을 설정하여 제 2부분 이미지 그룹을 생성하는 것을 도시한다.
도 10은 본 발명의 일 실시예에 따른 제 1부분 이미지 그룹 중 일부 부분 이미지의 세로 픽셀수를 검출하고 최대 가변량을 설정하여 제 2부분 이미지 그룹을 생성하는 것을 도시한다.
도 11은 본 발명의 일 실시예에 따른 제 2부분 이미지 그룹의 생성에 따른 기준점의 이동을 도시한다.
도 12는 본 발명의 일 실시예에 따른 제 1가변 이미지의 생성을 도시한다.
도 13는 본 발명의 일 실시예에 따른 N+1차 제 1가변 이미지의 생성을 나타낸 순서도를 도시한다.
도 14는 본 발명의 일 실시예에 따른 이미지 저장단계가 포함된 이미지 합성단계의 순서도를 도시한다.
도 15는 본 발명의 일 실시예에 따른 이미지 재조정 장치의 구성을 도시한다.Figure 1 shows a flow diagram 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.
FIG. 3 illustrates size adjustment of an original image according to an embodiment of the present invention.
Fig. 4 shows a segmentation of a first transformed image according to one embodiment of the present invention.
Figure 5 shows a first transformed image divided into three or four by an indication of a baseline according to an embodiment of the invention.
6 illustrates generation of a second partial image group according to an embodiment of the present invention.
Figure 7 shows the generation of a second partial image group according to an embodiment of the invention in the output state of the display.
FIG. 8 illustrates generation of a second partial image group generated by stretching or contraction by adjusting an amount of extension or contraction according to a user's input in an image variable step according to an exemplary embodiment of the present invention.
FIG. 9 illustrates the generation of a second partial image group by detecting the number of vertical pixels of a first partial image group and setting a maximum variable amount according to an embodiment of the present invention.
FIG. 10 shows the generation of a second partial image group by detecting the number of vertical pixels of a partial partial image of a first partial image group according to an embodiment of the present invention and setting a maximum variable amount.
11 illustrates movement of a reference point according to the generation of a second partial image group according to an embodiment of the present invention.
12 illustrates generation of a first variable image according to an embodiment of the present invention.
13 shows a flowchart illustrating the generation of an N + 1 < th > order first variable image according to an embodiment of the present invention.
FIG. 14 shows a flowchart of an image synthesizing step including an image storing step according to an embodiment of the present 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, a copyright management system 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
또한, 상기 이미지 재조정 방법(1000)은 스마트폰, 컴퓨터 및 태블릿PC와 같은 전자장치에서 구현 가능하다. 하지만 상기 언급한 전자장치에 한정하지 않고 이미지 출력이 가능하고 상기 이미지 재조정 방법을 구현하여 상기 이미지를 재조정 할 수 있는 장치라면 어떠한 것이라도 가능하다.In addition, the
우선, 상기 이미지 로딩 단계(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. In the
여기서, 상기 전자장치에 로딩되는 상기 원본 이미지는 상기 전자장치에 기존에 저장되어 있던 이미지이거나 상기 전자장치에 구비된 카메라에 의해 촬영되어 생성된 이미지 일 수 있다.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, and output to a display (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
여기서, 상기 디스플레이(2)는 상기 전자장치에서 출력되는 상기 원본 이미지(10), 제 1변환 이미지(20)를 포함한 모든 종류의 디지털 이미지를 출력할 수 있다. 본 발명의 일 실시예에 따른 이미지 재조정 방법(1000)에 있어서, 상기 디스플레이(2)는 출력기능과 동시에 선택이 가능한 터치 패널(touch panel) 또는 터치 스크린(touch screen)형태로 구현될 수 있다. 예를 들어, 상기 디스플레이부(2)와 상기 사용자가 입력한 터치 동작을 감지하는 센서가 상호 레이어 구조를 이루는 경우에, 상기 디스플레이(2)는 출력 장치 이외에 입력 장치로도 사용될 수 있다. 본 발명에 따른 이미지 재조정 방법에 있어서, 상기 디스플레이(2)는 출력과 입력을 병행하는 기능을 갖는 것으로 한다.Here, the
또한, 상기 이미지 변환단계(S200)는 상기 원본 이미지(10)를 상기 제 1변환 이미지(20)로 변환하기 전에, 상기 원본 이미지(10)의 해상도를 판별하여, 상기 원본 이미지(10)의 크기를 확대하거나 축소할 수 있다(S205).Also, the image conversion step S200 may determine the resolution of the
도 3은 본 발명의 일 실시예에 따른 원본 이미지의 크기 조절을 도시한다.FIG. 3 illustrates size adjustment of an original image according to an embodiment of the present invention.
도 3을 참조하면, 상기 이미지 변환단계(S200)는 상기 원본 이미지(10)를 상기 제 1변환 이미지(20)로 변환하기 전에, 상기 원본 이미지(10)의 해상도가 상기 디스플레이(2)의 해상도를 초과하거나 소정 해상도 이하인지 여부를 판별하는 단계(S205)를 더 포함하여, 상기 원본 이미지(10)가 상기 디스플레이(2)의 해상도를 초과하여 상기 원본 이미지(10)에서 변환된 상기 제 1변환 이미지(20)가 상기 디스플레이(2)의 표시영역에서 정상적으로 출력이 불가능할 때 상기 원본 이미지(10)의 크기를 상기 디스플레이(2)의 해상도 범위 내에서 축소시켜 상기 제 1변환 이미지(20)가 상기 디스플레이(2)에서 정상적으로 출력이 가능하게 할 수 있다. 또한, 상기 원본 이미지(10)의 해상도가 소정 해상도 이하이거나 상기 원본 이미지(10)가 변환된 상기 제 1변환 이미지(20)가 상기 디스플레이(2)에서 정상적인 인지가 불가능할 때, 상기 원본 이미지(10)를 상기 디스플레이(2)의 해상도 범위 내에서 확대시켜, 상기 제 1변환 이미지(20)가 상기 디스플레이(2)상에서 정상적인 인지가 가능하게 할 수 있다.Referring to FIG. 3, the image conversion step S200 may convert the resolution of the
또한, 상기 이미지 변환단계(S200)는 상기 원본 이미지(10)를 상기 제 1변환 이미지(20)로 변환하기 전에 파일형식 판별단계(S206)를 더 포함할 수 있다. 예를 들어, 상기 파일형식 판별단계(S206)는 상기 원본 이미지(10)의 파일형식을 판별하여 비트맵 형식인 경우 상기 원본 이미지(10)를 상기 제 1변환 이미지(20)로 사용하도록 결정하며, 상기 원본 이미지(10)의 파일형식이 비트맵 형식이 아닌 경우 상기 원본 이미지(10)를 비트맵 형식으로 변환하는 것을 결정할 수 있다.In addition, the image conversion step S200 may further include a file type determination step S206 before converting the
다음으로, 기준선을 따라 제 1 변환 이미지(20)를 복수 개의 부분 이미지로 분할할 수 있다(S300). Next, the first transformed
도 4는 본 발명의 일 실시에에 따른 제 1변환 이미지의 분할을 도시한다. Fig. 4 shows a segmentation of a first transformed image according to one embodiment of the present invention.
도 4를 참조하면, 상기 이미지 분할 단계(S300)는 상기 제 1변환 이미지(20)가 출력된 상기 디스플레이(2)상에 적어도 하나 이상의 기준선(f1 내지 f3)을 표시할 수 있고, 상기 사용자가 상기 디스플레이(2)상에 표시된 기준선 확정 표시(120)를 터치하여 선택하면 상기 기준선(f1 내지 f3)을 기준으로 하여 상기 제 1변환 이미지(20)를 복수개의 부분 이미지(i1 내지 i4)로 분할할 수 있으며, 상기 복수개의 부분 이미지(i1 내지 i4)는 제 1부분 이미지 그룹(30)을 구성할 수 있다.Referring to FIG. 4, the image segmentation step S300 may display at least one reference line f1 to f3 on the
상기 기준선(f1 내지 f3)은 일부에 기준선 조절 표시(110)를 포함하여 상기 디스플레이(2)상에 표시될 수 있다. 상기 기준선(f1 내지 f3)은 상기 디스플레이(2)에 출력된 상기 제 1변환 이미지(20)의 가로 방향과 평행이 되도록 표시되며, 복수개의 상기 기준선(f1 내지 f3)은 서로 이격되어 표시되고, 상기 전자장치를 사용하는 사용자의 입력에 따라 위치를 변경하여 표시될 수 있다. 도 4(a) 및 4(b)를 참조하면, 상기 사용자는 상기 복수개의 기준선(f1 내지 f3) 각각에 포함된 상기 기준선 조절 표시(110)를 드래그하여 상기 제 1변환 이미지(20)상의 원하는 위치에 상기 복수개의 기준선(f1 내지 f3)의 위치를 결정할 수 있다.The reference lines f1 to f3 may be displayed on the
예를 들면, 도 4의 (b)에 도시된 바와 같이 제1 변환 이미지(20)가 사람의 이미지를 포함하고 있는 경우, 사용자는 기준선(f1)을 머리와 가슴의 경계인 목에 배치하고, 기준선(f2)을 가슴과 하체의 경계인 골반에 배치하며, 기준선(f3)을 다리와 발의 경계인 발목에 배치할 수 있다. For example, if the first transformed
이에 따라, 이미지 분할 단계에서 도 4의 (c)에서와 같이 기준선(f1, f2, f3)을 기준으로 제 1변환 이미지(20)는 4개의 부분 이미지 즉, 머리를 표시하는 부분 이미지(i1), 상체를 표시하는 부분 이미지(i2), 다리를 표시하는 부분 이미지(i3), 및 발을 표시하는 부분 이미지(i4)로 분할될 수 있다. 이미지 가변 단계에서는 상체를 표시하는 부분 이미지(i2)와 다리를 표시하는 부분 이미지(i3)만을 신장 또는 수축하여 자연스럽게 피사체인 사람의 키가 커지는 것과 같은 효과를 얻을 수 있다. 이에 대해서는 후술한다. Accordingly, in the image segmentation step, the first transformed
또한, 복수개의 상기 기준선(f1 내지 f3)은 상기 사용자의 입력에 의해 그 순서를 변경하여 표시할 수 있다. 예를 들어, 복수개의 상기 기준선(f1 내지 f3)은 상부 기준선(f1), 중간 기준선(f2) 및 하부 기준선(f3)로 구분할 수 있으며, 상기 상부 기준선(f1), 상기 중간 기준선(f2) 및 상기 하부 기준선(f3) 중 최하단에 표시되는 상기 하부 기준선(f3)은 상기 사용자가 상기 하부 기준선(f3)에 포함된 상기 기준선 조절 표시(110)를 상기 디스플레이(2)의 상부 방향으로 드래그 하여 기존에 최상단에 위치하고 있던 상기 상부 기준선(f1)보다 더 상부로 이동하여 위치할 수 있다.Also, the plurality of reference lines f1 to f3 can be displayed by changing the order thereof by the user's input. For example, the plurality of the reference lines f1 to f3 can be divided into an upper reference line f1, an intermediate reference line f2 and an lower reference line f3, and the upper reference line f1, the middle reference line f2, The lower reference line f3 displayed at the lowermost end of the lower reference line f3 may be formed by dragging the reference
여기서, 상기 이미지 분할단계(S300)에서 상기 제 1부분 이미지 그룹(30)은 상기 메모리에 저장될 수 있으며, 상기 디스플레이(2)에 표시될 수 있다.Here, in the image segmenting step S300, the first
상기 제 1부분 이미지 그룹(30)을 구성하는 상기 복수개의 부분 이미지(i1 내지 i4)는 각각 상기 디스플레이(2)에 출력될 수 있으나, 상기 사용자는 상기 상기 제 1부분 이미지 그룹(30)이 분할된 형태로 표시되지 않고 마치 결합되어 표시된 것으로 인식할 수 있다. 도 4를 참조하면, 상기 이미지 분할단계(S300)는 상기 제 1변환 이미지(20)를 분할하여 상기 복수개의 부분 이미지(i1 내지 i4)를 생성하여 상기 제 1부분 이미지 그룹(30)을 구성하고, 상기 제 1부분 이미지 그룹(30)을 상기 메모리에 저장 (도 4(c)) 할 수 있으며, 상기 디스플레이(2)의 표시영역상에는 마치 상기 제 1부분 이미지 그룹(30)이 결합된 것처럼 표시(도 4(d))할 수 있다. 하지만 상기 디스플레이(2)에 표시된 상기 제 1부분 이미지 그룹(30)은 상기 제 1부분 이미지 그룹(30)을 구성하는 상기 복수개의 부분 이미지(i1 내지 i4)가 각각 표시된 것이며, 상기 사용자는 상기 제 1부분 이미지 그룹(30)이 분할된 상기 복수개의 부분 이미지(i1 내지 i4)로 구성된 것을 인식하지 못하고 마치 결합된 하나의 것으로 인식할 수 있다. 이는 상기 사용자의 편의 및 편집의 용이성을 고려한 것일 수 있다.The plurality of partial images i1 to i4 constituting the first
또한, 상기 이미지 분할단계(S300)는 상기 제 1부분 이미지 그룹(30)을 상기 디스플레이(2)상에 표시하되, 상기 제 1변환 이미지(20)가 표시되었던 위치보다 아래에 위치하도록 표시할 수 있다. 상기 도 4(b) 내지 도 4(d)를 참조하면, 상기 디스플레이(2)에 표시된 상기 기준선 확정 표시(120)를 상기 사용자가 터치하면, 상기 제 1변환 이미지(20)는 분할되어 제 1부분 이미지 그룹(30)이 되고(도 4(c)), 상기 제 1부분 이미지 그룹(30)중 최하단에 위치한 부분 이미지(i4)의 하단은 상기 제 1변환 이미지(20)가 상기 디스플레이(2)상에 표시되었던 위치보다 소정 거리(g) 아래로 이동(도 4(d))하여 고정될 수 있다.In addition, the image segmenting step S300 may display the first
이와 같이, 상기 제 1부분 이미지 그룹(30)은 상기 디스플레이(2) 상에서 상기 제 1변환 이미지(20)가 표시된 위치보다 더 아래쪽에 표시됨으로써 상기 제 1부분 이미지 그룹(30)이 상으로 더 많은 여유 공간을 가지게 되는바, 부분 이미지가 신장될 공간을 확보할 수 있다.As such, the first
예를 들어, 도 4(b) 및 도 4(d)를 참조하면, 상기 디스플레이(2)에 표시된 상기 제 1변환 이미지(20)의 최하단은 상기 디스플레이(2) 표시영역의 최하단과 g1만큼의 간격을 사이에 두고 위치하며, 최상단은 상기 디스플레이(2) 표시영역의 최상단과 g2만큼의 간격을 사이에 두고 위치할 수 있다. 여기서, 상기 사용자가 상기 기준선 확정 표시(120)를 클릭하여 상기 제 1변환 이미지(20)가 분할되어 상기 제 1부분 이미지 그룹(30)이 상기 디스플레이(2)에 표시되면, 상기 제 1부분 이미지 그룹(30)은 상기 제 1변환 이미지(20)가 상기 디스플레이(2)에 표시되었던 것 보다 g만큼의 거리를 아래로 이동하여 표시될 수 있다. 따라서, 상기 제 1부분 이미지 그룹(30)의 최하단은 상기 디스플레이(2) 표시영역의 최하단과 g1-g만큼의 간격을 두고 위치할 수 있고, 상기 제 1부분 이미지 그룹(30)의 최상단은 상기 디스플레이(2) 표시영역의 최상단과 g1+g만큼의 간격을 두고 위치할 수 있으며, 상기 제 1부분 이미지 그룹(30)의 최하단은 상기 디스플레이(2)에서 이동된 위치에 고정될 수 있다.4 (b) and 4 (d), the lowermost end of the first
따라서, 상기 제 1부분 이미지 그룹(30)이 상기 제 1변환 이미지(20)보다 상기 디스플레이(2) 표시영역에서 상으로 g만큼의 거리의 여유공간을 더 확보할 수 있으므로, 상기 이미지 가변단계(S400)는 상기 디스플레이(2)에서 상기 제 1부분 이미지 그룹(30)이 신장 또는 수축되는 것을 표시할 때, 고정된 상기 제 1부분 이미지 그룹(30)의 최하단을 기준으로 하여 상부 방향으로 신장 또는 수축하여 표시할 수 있다. 이에 대한 자세한 설명은에 대해서는 후술한다.Thus, since the first
또한, 상기 이미지 분할단계(S300)는 상기 디스플레이(2)에 상기 기준선(f1 내지 f3)을 2개 또는 4개 표시하여 상기 제 1변환 이미지(20)를 3개 또는 5개로 분할하여 상기 제 1부분 이미지 그룹(30)을 구성할 수 있다.The image segmentation step S300 may display two or four reference lines f1 to f3 on the
도 5는 본 발명의 일 실시예에 따른 기준선의 표시에 의해 3개 또는 4개로 분할된 제 1변환 이미지를 도시한다.Figure 5 shows a first transformed image divided into three or four by an indication of a baseline according to an embodiment of the invention.
도 5(a)를 참조하면, 상기 이미지 분할단계(S300)는 상기 제 1변환 이미지(20)가 출력된 상기 디스플레이(2)에 상기 상부 기준선(f1) 및 상기 하부 기준선(f3)을 표시하여 상기 제 1변환 이미지(20)를 3개로 분할하여 제 1부분 이미지(i'1), 제 2부분 이미지(i'2) 및 제 3부분 이미지(i'3)로 구성된 제 1부분 이미지 그룹(30)을 생성할 수 있다. 일 예로서, 도 5(a)에 도시된 바와 같이 제 1변환 이미지(20)가 사람인 경우, 상기 상부 기준선(f1)은 머리와 상체의 경계인 목 부위에 위치할 수 있고, 상기 하부 기준선(f3)은 하체와 발의 경계인 발목 부위에 위치할 수 있으며, 이에 따라 상기 제 1부분 이미지(i'1)는 사람의 머리 부분의 이미지를 포함하며, 상기 제 2부분 이미지(i'2)는 사람의 몸통 부위의 이미지를 포함하며, 상기 제 3부분 이미지(i'3)는 사람의 발목 부분의 이미지를 포함할 수 있다.5A, the image segmenting step S300 displays the upper reference line f1 and the lower reference line f3 on the
그리고, 도 5(b)를 참조하면, 상기 상부 기준선(f1)과 상기 하부 기준선(f3)사이에 2개의 상기 중간 기준선(f2)을 더 포함하여, 상기 디스플레이(2)에 출력된 상기 제 1변환 이미지(20)를 5개로 분할하여 제 1부분 이미지(i"1), 제 2부분 이미지(i"2), 제 3부분 이미지(i"3), 제 4부분 이미지(i"4) 및 제 5부분 이미지(i"5)로 구성된 제 1부분 이미지 그룹(30)을 생성할 수 있다. 일 예로서, 도 5(c)에 도시된 바와 같이 제 1변환 이미지(20)가 사람인 경우, 상부 기준선(f1)은 머리와 상체의 경계인 목 부위에 위치할 수 있고, 2개의 중간 기준선(f2)중 하나는 상체와 하체의 경게인 골반 부위에 위치할 수 있으며 또다른 하나는 허벅지와 종아리의 경계인 무릎 부위에 위치할 수 있으며, 하부 기준선(f4)은 하체와 발의 경계인 발목 부위에 위치할 수 있다. 이에 따라, 제 1부분 이미지(i"1)는 사람의 머리 부분의 이미지를 포함하며, 제 2부분 이미지(i"2)는 사람의 상체 부분의 이미지를 포함하며, 제 3부분 이미지(i"3)는 사람의 허벅지 부분의 이미지를 포함하며, 제 4부분 이미지(i"4)는 사람의 종아리 부분의 이미지를 포함할 수 있으며, 제 5부분 이미지(i"5)는 사람의 발목 부분의 이미지를 포함할 수 있다.5B, two intermediate reference lines f2 are provided between the upper reference line f1 and the lower reference line f3, The transformed
여기서, 상기 디스플레이(2)에 표시되는 상기 기준선(f1 내지 f3)의 수는 전술한 바와 같이 2개 내지 4개에 한정되지 않고, 필요에 따라 더 포함할 수 있다. 예를 들어, 상기 이미지 분할단계(S300)는 상기 디스플레이(2)상에 N개의 기준선을 표시하여 제 1변환 이미지(20)를 N+1개로 분할한 상기 제 1부분 이미지 그룹(30)을 생성할 수 있다. Here, the number of the reference lines f1 to f3 displayed on the
다음으로, 상기 이미지 가변단계(S400)는 상기 제 1부분 이미지 그룹(30) 중 일부를 신장 또는 수축할 수 있다.Next, the image variable step S400 may extend or retract a part of the first
이하에서 도 6 내지 도 11을 참조하여 상기 제 1부분 이미지 그룹(30) 중 일부가 신장 또는 수축된 제 2부분 이미지 그룹의 생성을 살펴볼 수 있다.Hereinafter, the generation of the second partial image group in which a part of the first
도 6은 본 발명의 일 실시예에 따른 제 2부분 이미지 그룹의 생성을 도시한다. 6 illustrates generation of a second partial image group according to an embodiment of the present invention.
도 6을 참조하면, 상기 제 1부분 이미지 그룹(30)은 상기 복수개의 부분 이미지(i1 내지 i4)로 구성될 수 있으며, 상기 이미지 가변단계(S400)는 상기 제 1부분 이미지 그룹(30) 중 일부 부분 이미지(i2, i3) 의 높이를 상기 제 1변환 이미지(20)의 세로 방향으로 소정의 비율만큼 신장 또는 수축하여 적어도 하나 이상의 가변 부분 이미지(s2, s3)를 생성하고, 상기 적어도 하나 이상의 가변 부분 이미지(s2, s3)와 상기 제 1부분 이미지 그룹(30) 중 신장 또는 수축되지 않은 적어도 하나 이상의 부분 이미지(i1, i4)로 구성된 제 2부분 이미지 그룹(35)을 상기 디스플레이(2)에 표시할 수 있다.6, the first
예를 들면, 도 6(a)에 도시된 바와 같이, 사람의 이미지를 포함하고 있는 상기 제 1변환 이미지(20)가 상기 3개의 기준선(f1 내지 f3)를 기준으로 하여 머리를 표시하는 부분 이미지(i1), 상체를 표시하는 부분 이미지(i2), 다리를 표시하는 부분 이미지(i3) 및 발을 표시하는 부분 이미지(i4)로 분할되어 상기 제 1부분 이미지 그룹(30)을 구성한 경우, 상기 이미지 가변단계(S400)는 상기 상체를 표시하는 부분 이미지(i2) 및 상기 다리를 표시하는 부분 이미지(i3)를 소정의 비율로 신장 또는 수축하여 각각 가변 부분 이미지(s3, s4)를 생성할 수 있으며, 상기 가변 부분 이미지(s3, s4)는 상기 가변되지 않은 나머지 부분 이미지(i1, i4)와 함께 제 2부분 이미지 그룹(35)을 구성할 수 있다.For example, as shown in Fig. 6 (a), the first transformed
도 6(a) 및 도 6(b)를 참조하면, h2의 세로 길이 값을 갖고 있는 상기 상체를 표시하는 부분 이미지(i2) 및 h3의 세로 길이 값을 갖고 있는 상기 다리를 표시하는 부분 이미지(i3)는 각각 p1 및 p2의 길이만큼 상하로 신장되어 h2+p1의 세로 길이 값을 갖는 가변 부분 이미지(s2) 및 h3+p2의 세로 길이 값을 갖는 가변 부분 이미지(s3)를 생성할 수 있으며, 상기 생성된 가변 부분 이미지(s2, s3)는 상기 제 1부분 이미지 그룹(30) 중 가변되지 않은 부분 이미지(i1, i4)와 함께 상기 제 2부분 이미지 그룹(35)을 구성하여 상기 디스플레이(2)에 표시될 수 있다.6 (a) and 6 (b), a partial image (i2) representing the upper body having the vertical length value of h2 and a partial image (i2) representing the lower side having the vertical length value of h3 i3 can generate a variable partial image s2 extending up and down by the length of p1 and p2 respectively and having a vertical length value of h2 + p1 and a variable partial image s3 having the vertical length value of h3 + p2 , The generated variable partial images s2 and s3 constitute the second
또한, 도 6(a) 및 도 6(c)를 참조하면, h2의 세로 길이 값을 갖고 있는 상기 상체를 표시하는 부분 이미지(i2) 및 h3의 세로 길이 값을 갖고 있는 상기 다리를 표시하는 부분 이미지(i3)는 각각 p1 및 p2의 길이만큼 상하로 수축되어 h2-p1의 세로 길이 값을 갖는 가변 부분 이미지(s'2) 및 h3-p2의 세로 길이 값을 갖는 가변 부분 이미지(s'3)를 생성할 수 있으며, 상기 생성된 가변 부분 이미지(s'2, s'3)는 상기 제 1부분 이미지 그룹(30) 중 가변되지 않은 부분 이미지(i1, i4)와 함께 상기 제 2부분 이미지 그룹(35)을 구성하여 상기 디스플레이(2)에 표시될 수 있다.6 (a) and 6 (c), a partial image (i2) indicating the upper body having the vertical length value of h2 and a partial image The image i3 is contracted up and down by the length of p1 and p2, respectively, to obtain a variable partial image s'2 having a vertical length value of h2-p1 and a variable partial image s'3 having a vertical length value of h3- ), And the generated variable partial images (s'2, s'3) may be generated with the unmodified partial images (i1, i4) of the first partial image group (30)
상기 이미지 가변단계(S400)는 상기 사용자의 입력에 따라 상기 디스플레이(2)상에 하부가 고정된 상기 제 1부분 이미지 그룹(30)을 고정된 지점을 기준으로 상부가 상하 방향으로 신장하거나 수축하여 생성한 상기 제 2부분 이미지 그룹(35)을 상기 디스플레이(2)에 표시할 수 있다.In the image variable step S400, the first
도 7은 본 발명의 일 실시예에 따른 제 2부분 이미지 그룹의 생성을 디스플레이의 출력상태로 도시한다.Figure 7 shows the generation of a second partial image group according to an embodiment of the invention in the output state of the display.
도 6 및 도 7을 참조하면, 상기 사용자는 상기 디스플레이(2)상에 표시된 가변 조절 표시(135)를 상기 디스플레이(2)의 상하 방향으로 드래그 하여 상기 제 1부분 이미지 그룹(30) 중 일부 부분 이미지(i2, i3)를 신장 또는 수축할 수 있다. 상기 가변 조절 표시(135)는 상기 디스플레이(2)상에 세로 방향으로 위치하는 가변바(130)상에서 상기 사용자의 드래그에 따라 상하로 이동하며, 상기 가변 조절 표시(135)가 상하로 이동하는 비율에 따라서 상기 제 1부분 이미지 그룹(30) 중 일부 부분 이미지(i2, i3)가 신장되거나 수축될 수 있다.6 and 7, the user drags the
예를 들어, 상기 사용자는 상기 디스플레이(2)상에 표시된 상기 가변 조절 표시(135)를 상기 디스플레이(2)의 상부 방향으로 드래그 하여 상기 제 1부분 이미지 그룹(30) 중 일부 부분 이미지(i2, i3)를 신장하여 생성된 상기 제 2부분 이미지 그룹(35)(도 6(b))을 상기 디스플레이(2)에 표시(도 7(b))할 수 있으며, 상기 가변 조절 표시(135)를 상기 디스플레이(2)의 하부 방향으로 드래그 하여 상기 제 1부분 이미지 그룹(30) 중 일부 부분 이미지(i2, i3)를 수축 하여 생성된 상기 제 2부분 이미지 그룹(35)(도 6(c))을 상기 디스플레이(2)에 표시(도 7(c))할 수 있다.For example, the user may drag the
상기 이미지 가변단계(S400)에서 상기 제 1부분 이미지 그룹(30)은 상기 디스플레이(2)에서 고정된 상기 제 1부분 이미지 그룹(30)의 하부가 고정되어 상부가 상하 방향으로 신장 또는 수축되는 것처럼 표시되나 상기 제 1부분 이미지 그룹(30)은 상부가 상하로 신장 또는 수축하여 가변되는 것이 아니라, 상기 제 1부분 이미지 그룹(30)중 일부 부분 이미지(i2 및 i3)가 상하로 신장 또는 수축되는 것이며, 상기 디스플레이(2)에서는 상기 사용자의 편의와 편집의 용이성을 고려하여 상기 제 1부분 이미지 그룹(30)의 상부를 상하 방향으로 신장 또는 수축하여 표시할 수 있다. In the image variable step S400, the first
따라서, 상기 이미지 가변단계(S400)는 상기 제 1부분 이미지 그룹(30)중 일부를 신장 또는 수축하여 상기 제 2부분 이미지 그룹(35)을 생성할 때, 상기 제 1부분 이미지 그룹(30) 중 일부 부분 이미지(i2 및 i3)를 상하로 신장 또는 수축하여 가변 부분 이미지(s2 및 s3)을 생성하여 이를 상기 메모리에 저장하고, 상기 디스플레이(2)에서는 상기 제 1부분 이미지 그룹(30) 중 최하단에 위치한 부분 이미지(i4)가 고정되고, 상기 제 1부분 이미지 그룹(30) 중 최하단에 위치한 부분 이미지(i4) 와 최상단에 위치한 부분 이미지(i1)의 사이에 위치한 부분 이미지(i2 및 i3)가 가변 부분 이미지(s2 및 s3)로 변화됨에 따라 제 1부분 이미지 그룹(30)이 자연스럽게 상기 디스플레이(2)의 상하 방향으로 신장 또는 수축하여 표시될 수 있다. Accordingly, when the image variable step S400 is performed to generate the second
일 예로서 제1 변환 이미지의 피사체가 사람인 경우, 상술한 바와 같이 부분 이미지(i1)은 얼굴 부분의 이미지이며, 부분 이미지(i2)는 상체 부분의 이미지이고, 부분 이미지(i3)는 하체 부분의 이미지이고, 부분 이미지(i4)는 발 부분의 이미지며, 얼굴 부분과 발 부분의 부분 이미지(i1 및 i4)은 신장 또는 축소되지 않으며, 상체와 하체를 표시하는 부분 이미지(i2 및 i3)만이 신장 또는 수축이 되어 가변 부분 이미지(s2 및 s3)가 되면서 발 부분의 부분 이미지(i4)가 고정되는바, 발 부분이 고정되고 얼굴 크기의 변화가 없이 상체와 하체가 사용자의 가변 조절 표시(135)의 조절에 따라 신장 또는 수축되어 디스플레이(2)에 표시되는바, 피사체인 사람의 이미지는 얼굴 부분의 왜곡이 없이 사용자의 의도에 따라 자연스럽게 그 키가 커지게 또는 작아지게 디스플레이(2) 상에 표시될 수 있다.As an example, when the subject of the first conversion image is a person, the partial image i1 is the image of the face part, the partial image i2 is the image of the upper body part, and the partial image i3 is the image of the lower body part And the partial images i1 and i4 of the face part and the foot part are not elongated or contracted and only the partial images i2 and i3 indicating the upper body and the lower body are extended, Or shrinking to become the variable part images s2 and s3, the partial image i4 of the foot part is fixed, the upper part and the lower part are fixed to the
상기 이미지 가변단계(S400)는 상기 사용자의 입력에 따라 상기 제 1부분 이미지 그룹(30) 중 일부의 신장량 또는 수축량을 조절할 수 있다.The image variable step S400 may adjust the amount of extension or contraction of a part of the first
도 8은 본 발명의 일 실시예에 따른 이미지 가변단계에서 사용자의 입력에 따라 신장량 또는 수축량이 조절되어 신장 또는 수축되어 생성된 제 2부분 이미지 그룹의 생성을 디스플레이의 표시 상태에서 도시한다.FIG. 8 illustrates generation of a second partial image group generated by stretching or contraction by adjusting an amount of extension or contraction according to a user's input in an image variable step according to an exemplary embodiment of the present invention.
도 8을 참조하면, 상기 디스플레이(2)에 표시된 상기 제 1부분 이미지 그룹(30)(도 8(a))은 상기 사용자가 상기 가변 조절 표시(130)를 드래그하여 신장 또는 수축 될 수 있으며 드래그하는 양에 따라서 신장량 또는 수축량이 결정되어 신장 또는 수축될 수 있다. 도 8(a) 내지 도 8(d)를 참조하면, 상기 사용자는 상기 디스플레이(2)에 표시된 상기 가변 조절 표시(130)를 상부 방향으로 드래그 하여 상기 제 1부분 이미지 그룹(30)중 일부를 신장하여 상기 제 2부분 이미지 그룹(35)을 생성하며, 상부로 드래그하는 양이 더 많아질수록 더 많이 신장된 상기 제 2부분 이미지 그룹(35)을 생성할 수 있다. 또한, 도 8(a) 및 도 8(e)를 참조하면, 상기 사용자가 상기 가변 조절 표시(130)를 하부로 드래그 하여 상기 제 1부분 이미지 그룹(30) 중 일부를 수축하여 상기 제 2 부분 이미지 그룹(35)을 생성하는 것을 도시한다. 이 경우, 상기 제 1부분 이미지 그룹(30) 중 일부를 신장할 때와 마찬가지로 상기 사용자가 상기 가변 조절 표시(130)를 하부로 드래그 하는 양에 따라 수축량이 결정될 수 있다.8, the first partial image group 30 (FIG. 8 (a)) displayed on the
상기 이미지 가변단계(S400)는 구체적으로, 픽셀 검출단계(S410), 최대 가변 픽셀량 설정단계(S420), 입력값 범위 표준화단계(S430), 가변 픽셀량 산출단계(S440), 가변 픽셀량 적용단계(S450) 및 출력단계(S460)를 포함하여 구성될 수 있다.Specifically, the image variable step S400 includes a pixel detection step S410, a maximum variable pixel amount setting step S420, an input value range normalization step S430, a variable pixel amount calculation step S440, A step S450 and an output step S460.
도 9는 본 발명의 일 실시예에 따른 제 1부분 이미지 그룹의 세로 픽셀수를 검출하고 최대 가변 픽셀량을 설정하여 제 2부분 이미지 그룹을 생성하는 것을 도시한다.9 illustrates the generation of a second partial image group by detecting the number of vertical pixels of a first partial image group and setting a maximum variable pixel amount according to an embodiment of the present invention.
도 1 및 도 9을 참조하면, 상기 픽셀 검출단계(S410)는 상기 제 1부분 이미지 그룹(30)을 구성하는 복수개의 부분 이미지(i1, i2, i3, i4) 각각의 세로 픽셀수(z1, z2, z3, z4)를 검출하고 이들의 합을 구하여, 상기 제 1부분 이미지 그룹(30)의 세로 픽셀수(z)를 파악할 수 있다. 일 예로서, 상기 제 1변환 이미지(20)가 사람 이미지를 포함하는 경우, 상기 제 1부분 이미지 그룹(30)이 얼굴 부분의 이미지(i1), 상체 부분의 이미지(i2), 하체 부분의 이미지(i3) 및 발 부분의 이미지(i4)일 수 있으며, 상기 얼굴 부분의 이미지(i1), 상체 부분의 이미지(i2), 하체 부분의 이미지(i3) 및 발 부분의 이미지(i4) 각각의 세로 픽셀수(z1, z2, z3, z4)의 합을 파악하여, 상기 제 1부분 이미지 그룹(30)의 세로 픽셀수(z)를 파악할 수 있다.Referring to FIGS. 1 and 9, the pixel detection step S410 may include detecting the number of vertical pixels z1, i2, i3, and i4 of the plurality of partial images i1, i2, i3, and i4 constituting the first
다음으로, 상기 최대 가변 픽셀량 설정단계(S420)는 상기 제 1부분 이미지 그룹(30) 중 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)가 증가하거나 감소하는 최대 가변 픽셀량(m)을 상기 제 1부분 이미지 그룹(30)의 세로 픽셀수(z)의 소정 비율로 설정할 수 있다. 즉, 상기 픽셀 검출단계(S410)에서 검출된 상기 제 1부분 이미지 그룹(30)의 세로 픽셀수(z)에 기설정된 소정의 비율을 곱하여 상기 최대 가변 픽셀량(m)을 산출할 수 있다.Next, the maximum variable pixel amount setting step S420 sets the maximum variable pixel amount Z2, z3 of the partial images i2, i3 of the first
일 예로서, 상기 제 1변환 이미지(20)가 사람이고 상기 제 1부분 이미지 그룹(30)이 얼굴 부분의 이미지(i1), 상체 부분의 이미지(i2), 하체 부분의 이미지(i3) 및 발 부분의 이미지(i4)로 구성되고, 상기 제 1부분 이미지 그룹(30)의 세로 픽셀수(z)가 1000픽셀이고, 기설정된 소정의 비율이 10%인 경우, 최대 가변 픽셀량 설정단계(S420)는 제 1부분 이미지 그룹(30)의 세로 픽셀수(z)인 1000픽셀에 기설정된 소정의 비율인 10%를 곱하여 최대 가변 픽셀량(m)인 100픽셀을 산출할 수 있다.As an example, if the first transformed
이와 같이 산출된 최대 가변 픽셀량(m)은 상기 상체 부분의 이미지(i2)와 상기 하체 부분의 이미지(i3)가 세로로 증가할 수 있는 최대 픽셀수에 해당할 수 있다. 예를 들어, 상기 상체 부분의 이미지(i2)와 상기 하체 부분의 이미지(i3)의 세로 픽셀이 200픽셀이고 상술한 바와 같이 최대 가변 픽셀량(m)이 100픽셀인 경우, 상기 상체 부분의 이미지(i2)와 상기 하체 부분의 이미지(i3)의 세로 픽셀은 최대 300픽셀까지 증가할 수 있다.The calculated maximum variable pixel amount m may correspond to a maximum number of pixels in which the image i2 of the upper body part and the image i3 of the lower body part may vertically increase. For example, when the image i2 of the upper body part and the vertical pixel of the image i3 of the lower body part are 200 pixels and the maximum variable pixel amount m is 100 pixels as described above, the image of the upper body part (i2) and the vertical pixel of the image (i3) of the lower body part can be increased up to 300 pixels.
이어서, 상기 입력값 범위 표준화단계(S430)는 상기 전자장치를 사용하는 사용자의 입력값 범위를 표준화 할 수 있다.Next, the input value range normalization step (S430) may standardize a range of input values of a user using the electronic device.
상기 사용자의 입력값은 상기 디스플레이(2)에 표시된 상기 가변 조절 표시(135)를 상기 가변바(130)상에서 상하로 드래그하여 입력될 수 있으며, 상기 가변 조절 표시(135)를 상기 가변바(130)의 상하로 드래드할 수 있는 범위가 상기 입력값 범위일 수 있다. 일 예로서, 상기 입력값 범위가 0 ~ 10인 경우, 상기 입력값 범위 내의 수치는 0을 제외하고는 모두 양의 기호(+)를 나타내며, 상기 입력값 범위 내의 양의 기호(+)를 나타내는 수치는 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)를 증가시킬 수 있다. 여기서, 상기 입력값 범위에 일정수를 빼주어 음의 기호(-)를 포함시키면, 상기 입력값 내에서 0을 제외한 임의의 한 수치는 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)를 증가시키거나 감소시킬 수 있다. 즉, 상기 0 ~ 10인 입력값 범위에서 2를 빼주면 상기 입력값 범위는 -2 ~ 8이 되고, 상기 가변 조절 표시(135)가 상기 가변바(130)상에서 최하부로 이동하였을 때 상기 입력값은 -2일 수 있으며, 최상부로 이동하였을 때 상기 입력값은 8일 수 있다. 이와 같이, 상기 입력값 범위 내에서 상기 입력값이 양의 기호(+)를 나타낼 때, 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)는 증가할 수 있고, 상기 입력값이 음의 기호(-)를 나타낼 때, 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)는 감소할 수 있으며, 상기 입력값이 0일 때, 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)는 증가하거나 감소하지 않은 상태일 수 있다.The input value of the user may be input by dragging the
상기 입력값 범위는 표준화 할 수 있다. 일 예로서, 상기 입력값 범위가 -2 ~ 8일 경우, 상기 입력값 범위를 상기 입력값 범위의 최대 값인 8로 나누어 주어 표준화된 입력값 범위인 -0.25 ~ 1을 산출할 수 있다.The input value range can be standardized. As an example, when the input value range is -2 to 8, the input value range may be divided by 8, which is the maximum value of the input value range, to calculate a standardized input value range of -0.25 to 1.
상기 표준화된 입력값 범위 내에서 검출된 표준화된 입력값은 상기 최대 가변 픽셀량(m)과 곱해주어 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)가 증가하거나 감소하는 가변 픽셀량을 연산할 수 있다. 일 예로서, 상기 최대 가변 픽셀량(m)이 100픽셀이고 상기 표준화된 입력값 범위가 -0.25 ~ 1일 경우, 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)가 증가하거나 감소하는 가변 픽셀량의 범위는 100 ~ -25픽셀일 수 있으며, 상기 사용자가 상기 가변 조절 표시(135)를 드래그하여 결정된 표준화된 입력값에 상기 최대 가변 픽셀량(m)을 곱해준 값이 상기 가변 픽셀량일 수 있다. 자세한 설명은 이하의 가변 픽셀량 산출단계(S440)에서 설명한다.Wherein the normalized input value detected within the standardized input value range is multiplied by the maximum variable pixel amount m to obtain a variable value where the number of vertical pixels z2 and z3 of the partial images i2 and i3 increases or decreases The pixel amount can be calculated. As an example, when the maximum variable pixel amount m is 100 pixels and the standardized input value range is -0.25 to 1, the number of vertical pixels z2, z3 of the partial images i2, i3 increases The range of the variable pixel amount may be 100 to -25 pixels, and the value obtained by multiplying the standardized input value determined by dragging the
상기 가변 픽셀량 산출단계(S440)는 상기 사용자의 표준화된 입력값에 따라 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)가 증가하거나 감소하는 가변 픽셀량을 산출할 수 있다. 일 예로서, 상기 최대 가변 픽셀량(m)이 100픽셀이고 상기 표준화된 입력값 범위가 -0.25 ~ 1이며, 상기 사용자가 상기 가변조절 표시(135)를 상부로 드래그하여 상기 표준화된 입력값이 0.9가 되었을 때, 상기 최대 가변 픽셀량(m)에 상기 표준화된 입력값 0.9를 곱해준 값인 90이 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)가 증가하는 픽셀수로 산출될 수 있다. 또한, 상기 사용자가 상기 가변조절 표시(135)를 하부로 드래그하여 상기 표준화된 입력값이 -0.1이 되었을 때, 상기 최대 가변 픽셀량(m)에 상기 표준화된 입력값 -0.1을 곱해준 값인 -10이 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)가 감소하는 픽셀수로 산출될 수 있다.The variable pixel amount calculation step S440 may calculate a variable pixel amount in which the number of vertical pixels z2 and z3 of the partial images i2 and i3 increases or decreases according to the standardized input value of the user . For example, if the maximum variable pixel amount m is 100 pixels and the standardized input value range is -0.25 to 1, and the user drags the
그 다음에, 상기 가변 픽셀량 적용단계(S450)는 상기 가변 픽셀량 산출단계(S440)에서 산출된 상기 가변 픽셀량을 상기 일부 부분 이미지(i2, i3)에 적용하여 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)를 증가 또는 감소시켜 적어도 하나 이상의 상기 가변 부분 이미지(s2, s3)를 생성할 수 있다. 일 예로서, 상기 가변 픽셀량 산출단계(S440)에서 산출된 가변 픽셀량이 90픽셀일 때, 상기 가변 픽셀량 적용단계(S450)는 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)를 90픽셀수 만큼 더해주어 증가시킬 수 있다. 여기서, 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)는 상기 가변 픽셀량에서 소정의 비율에 따라 각각 다른 비율로 증가하거나 감소할 수 있다. 일 예로서, 상기 부분 이미지(i2)의 세로 픽셀수(z2) 및 상기 부분 이미지(i3)의 세로 픽셀수(z3)는 30%:70%의 비율로 증가할 수 있으며, 상기 산출된 가변 픽셀량이 90일 경우 상기 부분 이미지(i2) 의 세로 픽셀수(z2)는 27픽셀만큼 증가하여 상기 가변 부분 이미지(s2)를 생성하고, 상기 부분 이미지(i3)의 세로 픽셀수(z3)는 63픽셀만큼 증가하여 상기 가변 부분 이미지(s3)를 생성할 수 있다. The variable pixel amount applying step S450 then applies the variable pixel amount calculated in the variable pixel amount calculating step S440 to the partial partial images i2 and i3 to calculate the partial partial images i2, (s2, s3) by increasing or decreasing the number of vertical pixels (z2, z3) of the variable partial images (i2, i3). When the variable pixel amount calculated in the variable pixel amount calculation step S440 is 90 pixels, the variable pixel amount application step S450 may calculate the number of vertical pixels z2 and i3 of the partial images i2 and i3, z3) by 90 pixels. Here, the number of vertical pixels (z2, z3) of the partial images (i2, i3) may be increased or decreased at different ratios according to a predetermined ratio in the variable pixel amount. As an example, the number of vertical pixels (z2) of the partial image (i2) and the number of vertical pixels (z3) of the partial image (i3) may increase by a ratio of 30%: 70% The vertical pixel number z2 of the partial image i2 is increased by 27 pixels to generate the variable partial image s2 and the vertical pixel number z3 of the partial image i3 is 63 pixels To generate the variable partial image s3.
이어서, 상기 출력단계(S460)는 상기 가변 픽셀량 적용단계(S450)에서 생성된 적어도 하나 이상의 상기 가변 부분 이미지(s2, s3)와 상기 제 1부분 이미지 그룹(30) 중 신장 또는 수축되지 않은 적어도 하나 이상의 상기 부분 이미지(i1, i4)로 구성된 제 2부분 이미지 그룹을 상기 디스플레이에 표시할 수 있다. 일 예로서, 상기 제 1부분 이미지 그룹(30)의 세로 픽셀수가 1000픽셀이고, 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)가 90픽셀 만큼 증가하여 상기 가변 부분 이미지(s2, s3)를 생성하였을 경우, 상기 가변 부분 이미지(s2, s3)는 상기 제 1부분 이미지 그룹(30) 중 가변되지 않은 부분 이미지(i1, i4)와 함께 제 2부분 이미지 그룹(35)을 구성하여 상기 디스플레이(2)에 표시될 수 있다. 이때, 상기 제 2부분 이미지 그룹(35)은 상기 제 1부분 이미지 그룹(30)보다 90픽셀만큼 세로 픽셀수가 증가하여 1090픽셀의 세로 픽셀수를 갖을 수 있다.Subsequently, the outputting step S460 is performed in such a manner that at least one of the variable partial images s2 and s3 generated in the variable pixel amount applying step S450 and at least one of the variable partial images s2 and s3, And display a second group of partial images consisting of one or more of the partial images (i1, i4) on the display. As an example, if the number of vertical pixels of the first
전술한 이미지 가변단계(S400)는 상기 픽셀 검출단계(S410) 및 상기 최대 가변 픽셀량 설정단계(S420)에서 상기 제 1부분 이미지(30)의 세로 픽셀수(z) 전체를 검출하고, 상기 제 1부분 이미지 그룹(30)의 세로 픽셀수(z)에서 소정의 비율로 최대 가변 픽셀량(m)을 설정하여, 상기 가변되는 일부 부분이미지(i2, i3)를 신장 또는 수축 하는 역할을 하지만, 본 발명에 따른 상기 이미지 가변단계(S400)의 다른 실시예 에서는, 상기 픽셀 검출단계(S410)는 가변되는 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)만 검출하고, 상기 최대 가변 픽셀량 설정단계(S420)는 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)의 합에서 소정의 비율로 최대 증가량(m) 또는 최대 감소량을 설정함으로써, 상기 가변 되는 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)의 증가량 또는 감소량을 더욱 신속하게 산출할 수 있으며 정확도를 높일 수 있다.The image variable step S400 detects the entire number z of the vertical pixels of the first
도 10은 본 발명의 일 실시예에 따른 제 1부분 이미지 그룹 중 일부 부분 이미지의 세로 픽셀수를 검출하고 최대 가변 픽셀량을 설정하여 제 2부분 이미지 그룹을 생성하는 것을 도시한다.FIG. 10 illustrates the generation of a second partial image group by detecting the number of vertical pixels of a partial partial image of the first partial image group according to an embodiment of the present invention and setting the maximum variable pixel amount.
도 1 및 도 10을 참조하면, 상기 픽셀 검출단계(S410)는 상기 제 1부분 이미지 그룹(30) 중 상기 일부 부분 이미지(i2)의 세로 픽셀수(z2)와 상기 일부 부분 이미지(i3)의 세로 픽셀수(z3) 각각을 검출하고 이들의 합을 구하여 상기 제 1부분 이미지 그룹(30) 중 가변되는 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)를 파악할 수 있다. 일 예로서, 상기 제 1변환 이미지(20)가 사람 이미지를 포함하는 경우, 상기 제 1부분 이미지 그룹(30)이 얼굴 부분의 이미지(i1), 상체 부분의 이미지(i2), 하체 부분의 이미지(i3) 및 발 부분의 이미지(i4)일 수 있으며, 상기 상체 부분의 이미지(i2) 및 하체 부분의 이미지(i3) 각각의 세로 픽셀수(z2, z3)의 합을 파악하여, 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z)를 파악할 수 있다.Referring to FIGS. 1 and 10, the pixel detection step S410 may include detecting the number of vertical pixels (z2) of the partial partial image (i2) of the first partial image group (30) (Z2, z3) of the partial partial images (i2, i3) varying among the first partial image groups (30) can be obtained by detecting each of the vertical pixel numbers (z3) As an example, when the first transformed
다음으로, 상기 최대 가변 픽셀량 설정단계(S420)는 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)가 증가하거나 감소하는 최대 가변 픽셀량(m)을 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z)의 소정 비율로 설정할 수 있다. 즉, 상기 픽셀 검출단계(S410)에서 검출된 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z)에 기설정된 소정의 비율을 곱하여 상기 최대 가변 픽셀량(m)을 산출할 수 있다.Next, the maximum variable pixel amount setting step S420 sets the maximum variable pixel amount m at which the number of vertical pixels z2 and z3 of the partial images i2 and i3 increases or decreases, , i3) of the vertical pixels (z). That is, the maximum variable pixel amount m can be calculated by multiplying the number (z) of vertical pixels of the partial partial images (i2, i3) detected in the pixel detection step (S410) by a predetermined ratio.
일 예로서, 상기 제 1변환 이미지(20)가 사람이고 상기 제 1부분 이미지 그룹(30)이 얼굴 부분의 이미지(i1), 상체 부분의 이미지(i2), 하체 부분의 이미지(i3) 및 발 부분의 이미지(i4)로 구성되고, 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z)가 500픽셀이고, 기설정된 소정의 비율이 10%인 경우, 최대 가변 픽셀량 설정단계(S420)은 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z)인 500픽셀에 기설정된 소정의 비율인 10%를 곱하여 최대 가변 픽셀량(m)인 50픽셀을 산출할 수 있다.As an example, if the first transformed
이와 같이 산출된 최대 가변 픽셀량(m)은 상기 상체 부분의 이미지(i2)와 상기 하체 부분의 이미지(i3)가 세로로 증가할 수 있는 최대 픽셀수에 해당할 수 있다. 예를 들어, 상기 상체 부분의 이미지(i2)와 상기 하체 부분의 이미지(i3)의 세로 픽셀이 500픽셀이고 상술한 바와 같이 최대 가변 픽셀량(m)이 50픽셀인 경우, 상기 상체 부분 이미지(i2) 와 상기 하체 부분 이미지(i3)의 세로 픽셀은 최대 550픽셀까지 증가할 수 있다.The calculated maximum variable pixel amount m may correspond to a maximum number of pixels in which the image i2 of the upper body part and the image i3 of the lower body part may vertically increase. For example, when the image i2 of the upper body part and the vertical pixel of the image i3 of the lower body part are 500 pixels and the maximum variable pixel amount m is 50 pixels as described above, the upper body part image i2) and the vertical pixel of the lower body part image (i3) can increase up to 550 pixels.
이어서, 상기 입력값 범위 표준화단계(S430)는 상기 전자장치를 사용하는 사용자의 입력값 범위의 수치를 환산하여 표준화 할 수 있다.상기 사용자의 입력값은 상기 디스플레이(2)에 표시된 상기 가변 조절 표시(135)를 상기 가변바(130)상에서 상하로 드래그하여 입력될 수 있으며, 상기 가변 조절 표시(135)를 상기 가변바(130)의 상하로 드래드할 수 있는 범위가 상기 입력값의 범위일 수 있다. 일 예로서, 상기 입력값 범위가 0 ~ 10인 경우, 상기 입력값 범위 내의 수치는 0을 제외하고는 모두 양의 기호(+)를 나타내며, 상기 입력값 범위 내의 양의 기호(+)를 나타내는 수치는 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)를 증가시킬 수 있다. 여기서, 상기 입력값 범위에 일정수를 빼주어 음의 기호(-)를 포함시키면, 상기 입력값 내에서 0을 제외한 임의의 한 수치는 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)를 증가시키거나 감소시킬 수 있다. 즉, 상기 0 ~ 10인 입력값 범위에서 2를 빼주면 상기 입력값 범위는 -2 ~ 8이 되고, 상기 가변 조절 표시(135)가 상기 가변바(130)상에서 최하부로 이동하였을 때 상기 입력값은 -2일 수 있으며, 최상부로 이동하였을 때 상기 입력값은 8일 수 있다. 이와 같이, 상기 입력값 범위 내에서 상기 입력값이 양의 기호(+)를 나타낼 때, 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)는 증가할 수 있고, 상기 입력값이 음의 기호(-)를 나타낼 때, 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)는 감소할 수 있으며, 상기 입력값이 0일 때, 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)는 증가하거나 감소하지 않은 상태일 수 있다.Next, the input value range normalization step (S430) may standardize the input value range of the user using the electronic device. The input value of the user may be displayed on the display (2) A range in which the
상기 입력값 범위는 수치를 환산하여 표준화 할 수 있다. 일 예로서, 상기 입력값 범위가 -2 ~ 8일 경우, 상기 입력값 범위를 상기 입력값 범위의 최대 값인 8로 나누어 주어 표준화된 입력값 범위인 -0.25 ~ 1을 산출할 수 있다.상기 표준화된 입력값 범위 내에서 검출된 표준화된 입력값은 상기 최대 가변 픽셀량(m)과 곱해주어 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)가 증가하거나 감소하는 가변 픽셀량을 연산할 수 있다. 일 예로서, 상기 최대 가변 픽셀량(m)이 50픽셀이고 상기 표준화된 입력값 범위가 -0.25 ~ 1일 경우, 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)가 증가하거나 감소하는 가변 픽셀량의 범위는 50 ~ -12.5픽셀일 수 있으며, 상기 사용자가 상기 가변 조절 표시(135)를 드래그하여 결정된 표준화된 입력에 상기 최대 가변 픽셀량(m)을 곱해준 값이 상기 사용자의 입력값의 표준화된 값일 수 있다. 자세한 설명은 이하의 가변 픽셀량 산출단계(S440)에서 설명한다.The input value range can be normalized by converting the numerical value. For example, when the input value range is -2 to 8, the input value range may be divided by the maximum value 8 of the input value range to calculate -0.25 to 1, which is a standardized input value range. The standardized input value detected within a range of input values obtained by multiplying the variable pixel amount m by the vertical pixel number z2 and z3 of the partial images i2 and i3 multiplied by the maximum variable pixel amount m Can be calculated. As an example, when the maximum variable pixel amount m is 50 pixels and the standardized input value range is -0.25 to 1, the number of vertical pixels z2 and z3 of the partial images i2 and i3 increases The range of the variable pixel amount may be from 50 to -12.5 pixels. If the user multiplies the standardized input determined by dragging the
상기 가변 픽셀량 산출단계(S440)는 상기 사용자의 표준화된 입력값에 따라 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)가 증가하거나 감소하는 가변 픽셀량을 산출할 수 있다. 일 예로서, 상기 최대 가변 픽셀량(m)이 50픽셀이고 상기 표준화된 입력값 범위가 -0.25 ~ 1이며, 상기 사용자가 상기 가변조절 표시(135)를 상부로 드래그하여 상기 표준화된 입력값이 0.9가 되었을 때, 상기 최대 가변 픽셀량(m)에 상기 표준화된 입력값 0.9를 곱해준 값인 45이 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)가 증가하는 픽셀수로 산출될 수 있다. 또한, 상기 사용자가 상기 가변조절 표시(135)를 하부로 드래그하여 상기 표준화된 입력값이 -0.1이 되었을 때, 상기 최대 가변 픽셀량(m)에 상기 표준화된 입력값 -0.1을 곱해준 값인 -5를 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)가 감소하는 픽셀수로 산출될 수 있다.The variable pixel amount calculation step S440 may calculate a variable pixel amount in which the number of vertical pixels z2 and z3 of the partial images i2 and i3 increases or decreases according to the standardized input value of the user . For example, when the maximum variable pixel amount m is 50 pixels and the standardized input value range is -0.25 to 1, the user drags the
그 다음에, 상기 가변 픽셀량 적용단계(S450)는 상기 가변 픽셀량 산출단계(S440)에서 산출된 상기 가변 픽셀량을 상기 일부 부분 이미지(i2, i3)에 적용하여 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)를 증가 또는 감소시켜 적어도 하나 이상의 상기 가변 부분 이미지(s2, s3)를 생성할 수 있다. 일 예로서, 상기 가변 픽셀량 산출단계(S440)에서 산출된 가변 픽셀량이 45픽셀일 때, 상기 가변 픽셀량 적용단계(S450)는 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)를 45픽셀수 만큼 더해주어 증가시킬 수 있다. 여기서, 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)는 상기 가변 픽셀량에서 소정의 비율에 따라 각각 다른 비율로 증가하거나 감소할 수 있다. 일 예로서, 상기 부분 이미지(i2)의 세로 픽셀수(z2) 및 상기 부분 이미지(i3)의 세로 픽셀수(z3)는 30%:70%의 비율로 증가할 수 있으며, 상기 산출된 가변 픽셀량이 45일 경우 상기 부분 이미지(i2) 의 세로 픽셀수(z2)는 13.5픽셀만큼 증가하여 상기 가변 부분 이미지(s2)를 생성하고, 상기 부분 이미지(i3)의 세로 픽셀수(z3)는 31.5픽셀만큼 증가하여 상기 가변 부분 이미지(s3)를 생성할 수 있다. The variable pixel amount applying step S450 then applies the variable pixel amount calculated in the variable pixel amount calculating step S440 to the partial partial images i2 and i3 to calculate the partial partial images i2, (s2, s3) by increasing or decreasing the number of vertical pixels (z2, z3) of the variable partial images (i2, i3). For example, when the variable pixel amount calculated in the variable pixel amount calculation step S440 is 45 pixels, the variable pixel amount application step S450 may calculate the number of vertical pixels z2 and i3 of the partial images i2 and i3, z3) by 45 pixels. Here, the number of vertical pixels (z2, z3) of the partial images (i2, i3) may be increased or decreased at different ratios according to a predetermined ratio in the variable pixel amount. As an example, the number of vertical pixels (z2) of the partial image (i2) and the number of vertical pixels (z3) of the partial image (i3) may increase by a ratio of 30%: 70% The vertical pixel number z2 of the partial image i2 is increased by 13.5 pixels to generate the variable partial image s2 and the vertical pixel number z3 of the partial image i3 is 31.5 pixels To generate the variable partial image s3.
이어서, 상기 출력단계(S460)는 상기 가변 픽셀량 적용단계(S450)에서 생성된 적어도 하나 이상의 상기 가변 부분 이미지(s2, s3)와 상기 제 1부분 이미지 그룹(30) 중 신장 또는 수축되지 않은 적어도 하나 이상의 상기 부분 이미지(i1, i4)로 구성된 제 2부분 이미지 그룹을 상기 디스플레이에 표시할 수 있다. 일 예로서, 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z)가 500픽셀이고, 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)가 45픽셀 만큼 증가하여 상기 가변 부분 이미지(s2, s3)를 생성하였을 경우, 상기 가변 부분 이미지(s2, s3)는 상기 제 1부분 이미지 그룹(30) 중 가변되지 않은 부분 이미지(i1, i4)와 함께 제 2부분 이미지 그룹(35)을 구성하여 상기 디스플레이(2)에 표시될 수 있다. 이때, 상기 제 2부분 이미지 그룹(35)은 상기 제 1부분 이미지 그룹(30)보다 45픽셀만큼 세로 픽셀수가 증가한 픽셀수를 갖을 수 있다.Subsequently, the outputting step S460 is performed in such a manner that at least one of the variable partial images s2 and s3 generated in the variable pixel amount applying step S450 and at least one of the variable partial images s2 and s3, And display a second group of partial images consisting of one or more of the partial images (i1, i4) on the display. As an example, the number of vertical pixels (z) of the partial partial images (i2, i3) is 500 pixels and the number of vertical pixels (z2, z3) of the partial partial images (i2, i3) When the variable partial images s2 and s3 are generated, the variable partial images s2 and s3 are combined with the unmodified partial images i1 and i4 of the first
전술한 상기 이미지 가변단계(S400)는 상기 제 1부분 이미지 그룹(30) 중 일부 부분 이미지(i2, i3)가 가변되어 상기 제 2부분 이미지 그룹(30)을 생성할 때, 가변되는 최대 가변 픽셀량(m)을 설정하여 제한을 두어, 너무 과하게 신장되거나 축소되는 것을 방지할 수 있다.The above-described image variable step S400 is performed when the partial image i2, i3 of the first
이상에서 본 발명의 일 실시예에 따른 이미지 가변단계(S400)의 실시예 들에 대해 살펴보았다. 본 발명은 어떠한 피사체가 표시된 이미지라도 가능하나, 이미지의 피사체가 사람일 경우 일반적으로 사람의 신체 비율은 상체보다 하체가 더 긴 비율을 갖고 있으므로, 상기 부분 이미지(i2)가 사람의 상체를 나타내고, 상기 부분 이미지(i3)가 사람의 하체를 나타낸 이미지일 경우, 상기 이미지 가변단계(S400)는 상기 사람의 하체를 나타낸 부분 이미지(i3)를 상기 사람의 상체를 나타낸 부분 이미지(i2)보다 더 큰 비율로 가변할 수 있다. 따라서, 일반적인 사람의 신체 비율과 유사한 비율로 가변하여 피사체인 사람의 키가 자연스럽게 커지거나 작아지는 것과 같은 효과를 얻을 수 있다.In the above, embodiments of the image variable step S400 according to the embodiment of the present invention have been described. The present invention is applicable to an image in which a subject is displayed, but when the subject of the image is a person, since the body ratio of a human body generally has a longer lower body than the upper body, the partial image i2 represents a human upper body, If the partial image i3 is an image representing a lower body of a person, the image variable step S400 may include a step of displaying the partial image i3 representing the lower body of the person as a larger image i2 representing the upper body of the person The ratio can be varied. Therefore, it is possible to obtain the effect that the height of a human being as a subject naturally increases or decreases by varying at a rate similar to a body proportion of a general person.
본 발명의 일 실시예에서, 상기 디스플레이(2)에 출력된 상기 제 1부분 이미지 그룹(30)은 상기 제 1부분 이미지 그룹(30) 중 어느 한 점을 기준점으로 설정할 수 있으며, 상기 제 1부분 이미지 그룹(30) 중 일부가 신장 또는 수축되어 상기 제 2부분 이미지 그룹(35)이 상기 디스플레이(2)에 표시되어 상기 제 1부분 이미지 그룹(30)의 어느 한 점이 상부 또는 하부로 이동하였을 때, 상기 기준점 또한 상기 제 1부분 이미지 그룹(30)이 이동한 만큼 이동하여 상기 제 2부분 이미지 그룹(35)상에 표시된 어느 한 점을 기준점으로 설정할 수 있다.In one embodiment of the present invention, the first
도 11은 본 발명의 일 실시예에 따른 제 2부분 이미지 그룹의 생성에 따른 기준점의 이동을 도시한다.11 illustrates movement of a reference point according to the generation of a second partial image group according to an embodiment of the present invention.
도 11을 참조하면, 상기 디스플레이(2)에 출력된 h의 세로 높이를 갖는 제 1부분 이미지 그룹(30)은 좌측 상단의 일점을 기준점으로 설정할 수 있으며, 상기 기준점은 상기 디스플레이(2)상에 (0,0)의 좌표값을 갖게 된다. 따라서 제 1부분 이미지 그룹(30)의 좌측 하단은 (0,h)의 좌표를 갖게 된다. 상기 이미지 가변단계(S400)에서 제 1부분 이미지 그룹(30)을 p의 거리만큼 상부로 신장하여 상기 제 2부분 이미지 그룹(35)을 생성하면, 상기 기준점 또한 p의 거리만큼 상부로 이동하여 (0,-p)의 좌표값을 갖게 되며 상기 제 1부분 이미지 그룹(30)의 좌측 하부의 좌표는 상기 복수개의 부분 이미지(30)가 가변될 때 고정되므로 변하지 않아 (0,h)의 좌표값을 갖게 된다. 여기서 상기 제 2부분 이미지 그룹(35)에서 상기 제 1부분 이미지 그룹(30)이 이동한 값인 p값을 더해주게 되면, 상기 제 2부분 이미지 그룹(35)의 기준점은 (0,0)이 되고 좌측 하부의 좌표값은 (0,0+h+p)가 될 수 있다.11, a first
전술한 기준점 변경은 상기 메모리에 저장되는 상기 제 1부분 이미지 그룹(30)에는 적용되지 않으며 상기 디스플레이(2)상 표시된 상기 제 1부분 이미지 그룹(30)에만 적용될 수 있다. 상기 디스플레이(2)상에서 제 1부분 이미지 그룹(30) 중 일부가 신장 또는 수축하여 상기 제 2부분 이미지 그룹(35)이 표시될 때, 상술한 바와 같이 상기 기준점 변경이 변경되는바, 상기 제 1부분 이미지 그룹(30)의 최하단에 배치되는 부분 이미지(i4)가 고정된 상태에서 부분 이미지(i4) 상에 배치되는 다른 부분 이미지들(i2, i3, i4)이 그 세로 방향으로 신장 또는 수축되도록 디스플레이(2) 상에 표시되므로, 피사체인 사람의 이미지가 자연스럽게 그 키가 커지게 또는 작아지게 표시되는 효과를 제공할 수 있다.The aforementioned reference point change does not apply to the first
다음으로, 상기 제 2부분 이미지 그룹(35)은 결합하여 하나의 이미지가 될 수 있다(S500).Next, the second
도 12는 본 발명의 일 실시예에 따른 제 1가변 이미지의 생성을 도시한다.12 illustrates generation of a first variable image according to an embodiment of the present invention.
상기 이미지 합성단계(S500)는 상기 사용자가 상기 디스플레이(2)상에 표시된 확인 표시(140)를 터치하면, 상기 제 2부분 이미지 그룹(35)을 결합하여 하나의 제 1가변 이미지(40)를 생성하여 상기 디스플레이(2)에 표시할 수 있다.In the image synthesis step S500, when the user touches the
도 12를 참조하면, 상기 이미지 합성단계(S500)는 상기 사용자가 상기 디스플레이(2)상에 표시된 확인 표시(140)를 터치하면 상기 제 2부분 이미지 그룹(35)을 결합하여 상기 제 1가변 이미지(40)를 생성하고, 상기 제 1가변 이미지(40)를 상기 디스플레이(2)에 표시하고, 상기 제 1가변 이미지(40)가 표시된 상기 디스플레이(2)상에 상기 이미지 분할단계(S300)에서 표시되었던 상기 복수개의 기준선(f1 내지 f3)을 표시할 수 있다.12, when the user touches the
여기서, 상기 제 1가변 이미지(40)가 표시된 상기 디스플레이(2)에 표시된 복수개의 기준선(f1 내지 f3)은 상기 제 1가변 이미지(40)를 다시 분할할 수 있다.The plurality of reference lines f1 to f3 displayed on the
또한, 상기 제 1가변 이미지(40)는 다시 신장 또는 수축될 수 있다.Also, the first
도 13는 본 발명의 일 실시예에 따른 N+1차 제 1가변 이미지의 생성을 나타낸 순서도를 도시한다.13 shows a flowchart illustrating the generation of an N + 1 < th > order first variable image according to an embodiment of the present invention.
도 13을 참조하면, 상기 제 1가변 이미지(40)는 상기 이미지 분할단계(S300), 상기 이미지 가변단계(S400) 및 상기 이미지 합성단계(S500)을 N차 반복하여 N+1차 제 1가변 이미지가 될 수 있다.Referring to FIG. 13, the first
이상에서 상기 이미지 합성단계(S500)에서 상기 제 1가변 이미지(40)가 생성되는 것을 살펴보았으며, 이하에서는 이미지 저장단계(S550)를 더 포함하는 상기 이미지 합성단계(S500)를 살펴볼 수 있다.Herein, the first
도 14는 본 발명의 일 실시예에 따른 이미지 저장단계가 포함된 이미지 합성단계의 순서도를 도시한다.FIG. 14 shows a flowchart of an image synthesizing step including an image storing step according to an embodiment of the present invention.
상기 이미지 합성단계(S500)는 상기 제 2부분 이미지 그룹(35)을 합성하여 제 1가변 이미지(40)를 생성함과 동시에, 상기 원본 이미지(20)를 로딩하고 비트맵 이미지로 변환하여 제 2변환 이미지(21)를 생성하고, 상기 제 2변환 이미지(21)에 상기 제 1변환 이미지(20)에서 상기 제 1가변 이미지(40)가 생성되기 까지 가변된 비율을 동일하게 적용하여 가변한 제 2가변 이미지(41)를 생성하여 상기 전자장치에 저장하는 상기 이미지 저장단계(S550)를 더 포함할 수 있다.The image synthesis step S500 may include combining the second
상기 이미지 저장단계(S550)는 상기 전자장치로부터 상기 원본 이미지(10)를 로딩하고 비트맵 형식으로 변환하여 제 2변환 이미지(21)를 생성할 수 있다. 또한, 상기 제 2변환 이미지(21)를 상기 제 1변환 이미지(20)에서 상기 제 1가변 이미지(40)가 생성되기 까지 가변된 비율을 동일하게 적용하여 가변함으로써 상기 제 2가변 이미지(41)를 생성할 수 있다.The image storage step (S550) may load the original image (10) from the electronic device and convert the original image (10) into bitmap format to generate a second converted image (21). The second
도 14를 참조하면, 상기 이미지 저장단계(S550)는 상기 제 2변환 이미지(21)를 상기 이미지 분할단계(S300)에서 상기 제 1변환 이미지(20)가 분할된 것과 동일한 비율로 분할하여 분할된 제 2변환 이미지(31)를 생성하며, 상기 분할된 제 2변환 이미지(31)를 상기 이미지 가변단계(S400)에서 제 1부분 이미지 그룹(30)이 가변된 것과 동일한 비율로 가변하여, 분할되고 일부 가변된 제 2변환 이미지(36)를 생성하며, 상기 분할되고 일부 가변된 제 2변환 이미지(36)를 결합하여 상기 제 2가변 이미지(41)를 생성하여 상기 전자장치에 저장할 수 있다.Referring to FIG. 14, the image storing step S550 includes dividing the second transformed
또한, 상기 이미지 저장단계(S550)는 상기 제 2가변 이미지(41)를 상기 저장장치에 저장할 때, 상기 제 2가변 이미지(41)를 상기 원본 이미지(10)와 동일한 파일형태로 변환하여 저장할 수 있다. 예를 들어 상기 원본 이미지(10)의 파일 형식이 비트맵 형식이 아닐 경우, 상기 이미지 저장단계(S550)는 상기 원본 이미지(10)를 로딩하여 비트맵 형식으로 변환하여 제 2변환 이미지(21)를 생성할 수 있다. 상기 제 2변환 이미지(21)는 상기 이미지 저장단계(S550)를 거쳐 상기 제 2가변 이미지(41)를 생성하므로 상기 제 2가변 이미지(41)또한 비트맵 형식일 수 있다. 따라서 상기 이미지 저장단계(S550)는 상기 제 2가변 이미지(41)를 상기 원본 이미지(10)와 동일한 파일형식으로 변환한 최종 이미지(50)를 생성하여 상기 전자장치에 저장할 수 있다.In addition, when the second
또한, 상기 이미지 저장단계(S550)는 상기 제 2가변 이미지(41)를 상기 원본 이미지(10)와 동일하지 않은 파일형식으로 변환한 상기 최종 이미지(50)를 상기 전자장치에 저장할 수 있다.In addition, the image storing step S550 may store the
이상에서 본 발명에 따른 이미지 재조정 방법(1000)에 대해 살펴보았다. 전술한 본 발명의 실시예에 따른 이미지 재조정 방법은, 상기 전자장치에 기본적으로 설치된 애플리케이션(이는 단말기에 기본적으로 탑재된 플랫폼이나 운영체제 등에 포함된 프로그램을 포함할 수 있음)에 의해 실행될 수 있고, 사용자가 애플리케이션 스토어 서버, 애플리케이션 또는 해당 서비스와 관련된 웹 서버 등의 애플리케이션 제공 서버를 통해 단말기에 직접 설치한 애플리케이션(즉, 프로그램)에 의해 실행될 수도 있다. 이러한 의미에서, 전술한 본 발명의 일 실시예에 따른 이미지 재조정 방법(1000)은 상기 이미지 재조정 방법(1000)을 실행시키기 위한 명령어들을 기록한 비일시적 기계 판독가능 저장 매체에 기록될 수 있다.The method for reshaping
이하에서는 본 발명에 따른 이미지 재조정 방법(1000)을 구현할 수 있는 이미지 재조정 장치에 대해 살펴볼 수 있다.Hereinafter, an image rebalancing apparatus capable of implementing the
전술하였던 본 발명에 따른 이미지 재조정 방법(1000)의 설명에서 참조한 도 1내지 도 14를 참조하여 본 발명에 따른 이미지 재조정 장치에 대해 살펴볼 수 있다.The image rebalancing 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
상기 이미지 재조정 장치는 디스플레이(2) 및 저장매체를 구비할 수 있다.The image rebalancing apparatus may comprise a
상기 디스플레이(2)는 모든 종류의 디지털 이미지를 출력할 수 있으며, 액정 디스플레이(Liquid crystal display, LCD), 박막 트랜지스터 액정 디스플레이(thin film transistor-liquid crystal display, TFT LCD), 유기 발광 다이오드(organic light-0emitting diode, OLED), 플렉시블 디스플레이(Flexible display)중 어느 하나일 수 있다.The
나아가, 본 실시예에 따른 디스플레이(2)는 정보 및/또는 이미지를 표시함과 동시에 선택이 가능한 터치 패널(touch panel)또는 터치 스크린(touch screen)형태로 구현될 수 있다. 예를 들어, 상기 디스플레이(2)와 터치 동작을 감지하는 센서가 상호 레이어 구조를 이루는 경우에, 상기 디스플레이(2)는 출력 장치 이외에 입력 장치로도 사용될 수 있다. 본 발명에 다른 이미지 재조정 방법에 있어서, 상기 디스플레이(2)는 출력과 입력을 병행하는 기능을 갖는 것으로 한다.Further, the
상기 저장매체는 하드디스크, 시디롬, 이동식디스크, 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)를 포함할 수 있다.The
상기 저장매체는 이미지를 저장하고, 상기 이미지는 상기 로딩부(100)에 의해 로딩되어 원본 이미지(10)가 될 수 있다.The storage medium stores an image, and the image may be loaded by the
또한, 상기 이미지 재조정 장치(2000)는 대상물을 촬영하여 촬영 이미지를 생성하는 카메라(미도시)를 더 포함할 수 있으며, 상기 촬영 이미지는 상기 저장매체에 저장되고 상기 로딩부(100)에 의해 로딩되어 원본 이미지(10)가 될 수 있다.The
상기 변환부(200)는 로딩된 상기 원본 이미지(10)를 비트맵 형식의 제 1변환 이미지(20)로 변환할 수 있다. 또한, 상기 제 1변환 이미지(20)를 상기 이미지 재조정 장치(2000)에 구비된 메모리에 저장하며 상기 디스플레이(2)에 표시할 수 있다.The
상기 변환부(200)는 상기 원본 이미지(10)를 상기 제 1변환 이미지(20)로 변환하기 전에, 상기 원본 이미지(10)의 해상도가 상기 디스플레이(2)의 해상도를 초과하거나 소정 해상도 이하인지 여부를 판별하는 해상도 판별부(205)를 더 포함하여, 상기 원본 이미지(10)가 상기 디스플레이(2)의 해상도를 초과하여 상기 원본 이미지(10)에서 변환된 상기 제 1변환 이미지(20)가 상기 디스플레이(2)의 표시영역에서 정상적으로 출력이 불가능할 때 상기 원본 이미지(10)의 크기를 상기 디스플레이(2)의 해상도 범위 내에서 축소시켜 상기 제 1변환 이미지(20)가 상기 디스플레이(2)에서 정상적으로 출력이 가능하게 할 수 있다. 또한, 상기 원본 이미지(10)의 해상도가 소정 해상도 이하이거나 상기 원본 이미지(10)가 변환된 상기 제 1변환 이미지(20)가 상기 디스플레이(2)에서 정상적인 인지가 불가능 할 때, 상기 원본 이미지(10)를 상기 디스플레이(2)의 해상도 범위 내에서 확대시켜주어, 상기 제 1변환 이미지(20)가 상기 디스플레이(2)상에서 정상적인 인지가 가능하게 할 수 있다.The
또한, 상기 변환부(200)는 상기 원본 이미지(10)를 상기 제 1변환 이미지(20)로 변환하기 전에 상기 원본 이미지(10)의 파일형식을 판별하여 비트맵 형식인 경우 상기 원본 이미지(10)를 상기 제 1변환 이미지(20)로 사용하도록 결정하며, 상기 원본 이미지(10)의 파일 형식이 비트맵 형식이 아닌 경우 상기 원본 이미지(10)를 비트맵 형식으로 변환하는 파일형식 판별부(206)를 더 포함할 수 있다.The converting
다음으로, 상기 분할부(300)를 통해 상기 제 1변환 이미지(20)를 복수개로 분할할 수 있다.Next, the first transformed
상기 분할부(300)는 상기 제 1변환 이미지(20)가 출력된 상기 디스플레이(2)상에 적어도 하나 이상의 기준선(f1 내지 f3)을 표시할 수 있고, 상기 사용자가 상기 디스플레이(2)상에 표시된 기준선 확정 표시(120)를 터치하여 선택하면 상기 기준선(f1 내지 f3)을 기준으로 하여 상기 제 1변환 이미지(20)를 복수개의 부분 이미지(i1 내지 i4)로 분할할 수 있으며, 상기 복수개의 부분 이미지(i1 내지 i4)는 제 1부분 이미지 그룹(30)을 구성할 수 있다.The dividing
또한, 상기 기준선(f1 내지 f3)은 일부에 기준선 조절 표시(110)를 포함하여 상기 디스플레이(2)상에 표시될 수 있다. 상기 기준선(f1 내지 f3)은 상기 디스플레이(2)에 출력된 상기 제 1변환 이미지(20)의 가로 방향과 평행이 되도록 표시되며, 복수개의 상기 기준선(f1 내지 f3)은 서로 이격되어 표시되고, 상기 전자장치를 사용하는 사용자의 입력에 따라 위치를 변경하여 표시될 수 있다. 상기 사용자는 상기 복수개의 기준선(f1 내지 f3) 각각에 포함된 상기 기준선 조절 표시(110)를 드래그하여 상기 제 1변환 이미지(20)상의 원하는 위치에 상기 복수개의 기준선(f1 내지 f3)의 위치를 결정할 수 있다.In addition, the reference lines f1 to f3 may be displayed on the
그리고, 복수개의 상기 기준선(f1 내지 f3)은 상기 사용자의 입력에 의해 그 순서를 변경하여 표시할 수 있다. 예를 들어, 복수개의 상기 기준선(f1 내지 f3)은 상부 기준선(f1), 중간 기준선(f2) 및 하부 기준선(f3)로 구분할 수 있으며, 상기 상부 기준선(f1), 상기 중간 기준선(f2) 및 상기 하부 기준선(f3) 중 최하단에 표시되는 상기 하부 기준선(f3)은 상기 사용자가 상기 하부 기준선(f3)에 포함된 상기 기준선 조절 표시(110)를 상기 디스플레이(2)의 상부 방향으로 드래그 하여 기존에 최상단에 위치하고 있던 상기 상부 기준선(f1)보다 더 상부로 이동하여 위치할 수 있다.The plurality of reference lines f1 to f3 can be displayed by changing the order by the user's input. For example, the plurality of the reference lines f1 to f3 can be divided into an upper reference line f1, an intermediate reference line f2 and an lower reference line f3, and the upper reference line f1, the middle reference line f2, The lower reference line f3 displayed at the lowermost end of the lower reference line f3 may be formed by dragging the reference
여기서, 상기 분할부(300)에서 상기 제 1부분 이미지 그룹(30)은 상기 메모리에 저장될 수 있으며, 상기 디스플레이(2)에 표시될 수 있다.Here, in the
상기 제 1부분 이미지 그룹(30)을 구성하는 상기 복수개의 부분 이미지(i1 내지 i4)는 각각 상기 디스플레이(2)에 출력될 수 있으나, 상기 사용자는 상기 상기 제 1부분 이미지 그룹(30)이 분할된 형태로 표시되지 않고 마치 결합되어 표시된 것으로 인식할 수 있다. 상기 분할부(300)는 상기 제 1변환 이미지(20)를 분할하여 상기 복수개의 부분 이미지(i1 내지 i4)를 생성하여 상기 제 1부분 이미지 그룹(30)을 구성하고, 상기 제 1부분 이미지 그룹(30)을 상기 메모리에 저장 할 수 있으며, 상기 디스플레이(2)의 표시영역상에는 마치 상기 제 1부분 이미지 그룹(30)이 결합된 것처럼 표시할 수 있다. 하지만 상기 디스플레이(2)에 표시된 상기 제 1부분 이미지 그룹(30)은 상기 제 1부분 이미지 그룹(30)을 구성하는 상기 복수개의 부분 이미지(i1 내지 i4)가 각각 표시된 것이며, 상기 사용자는 상기 제 1부분 이미지 그룹(30)이 분할된 상기 복수개의 부분 이미지(i1 내지 i4)로 구성된 것을 인식하지 못하고 마치 결합된 하나의 것으로 인식할 수 있다. 이는 상기 사용자의 편의 및 편집의 용이성을 고려한 것일 수 있다.The plurality of partial images i1 to i4 constituting the first
또한, 상기 분할부(300)는 상기 제 1부분 이미지 그룹(30)을 상기 디스플레이(2)상에 표시하되, 상기 제 1변환 이미지(20)가 표시되었던 위치보다 아래에 위치하도록 표시할 수 있다. 상기 디스플레이(2)에 표시된 상기 기준선 확정 표시(120)를 상기 사용자가 터치하면, 상기 제 1변환 이미지(20)는 분할되어 제 1부분 이미지 그룹(30)이 되고, 상기 제 1부분 이미지 그룹(30)중 최하단에 위치한 부분 이미지(i4)의 하단은 상기 제 1변환 이미지(20)가 상기 디스플레이(2)상에 표시되었던 위치보다 소정 거리(g) 아래로 이동하여 고정될 수 있다.The
이와 같이, 상기 제 1부분 이미지 그룹(30)은 상기 디스플레이(2) 상에서 상기 제 1변환 이미지(20)가 표시된 위치보다 더 아래쪽에 표시됨으로써 상기 제 1부분 이미지 그룹(30)이 상으로 더 많은 여유 공간을 가지게 되는바, 부분 이미지가 신장될 공간을 확보할 수 있다.As such, the first
예를 들어, 상기 디스플레이(2)에 표시된 상기 제 1변환 이미지(20)의 최하단은 상기 디스플레이(2) 표시영역의 최하단과 g1만큼의 간격을 사이에 두고 위치하며, 최상단은 상기 디스플레이(2) 표시영역의 최상단과 g2만큼의 간격을 사이에 두고 위치할 수 있다. 여기서, 상기 사용자가 상기 기준선 확정 표시(120)를 클릭하여 상기 제 1변환 이미지(20)가 분할되어 상기 제 1부분 이미지 그룹(30)이 상기 디스플레이(2)에 표시되면, 상기 제 1부분 이미지 그룹(30)은 상기 제 1변환 이미지(20)가 상기 디스플레이(2)에 표시되었던 것 보다 g만큼의 거리를 아래로 이동하여 표시될 수 있다. 따라서, 상기 제 1부분 이미지 그룹(30)의 최하단은 상기 디스플레이(2) 표시영역의 최하단과 g1-g만큼의 간격을 두고 위치할 수 있고, 상기 제 1부분 이미지 그룹(30)의 최상단은 상기 디스플레이(2) 표시영역의 최상단과 g1+g만큼의 간격을 두고 위치할 수 있으며, 상기 제 1부분 이미지 그룹(30)의 최하단은 상기 디스플레이(2)에서 이동된 위치에 고정될 수 있다.For example, the lowermost end of the first transformed
따라서, 상기 제 1부분 이미지 그룹(30)이 상기 제 1변환 이미지(20)보다 상기 디스플레이(2) 표시영역에서 상으로 g만큼의 거리의 여유공간을 더 확보할 수 있으므로, 상기 가변부(400)는 상기 디스플레이(2)에서 상기 제 1부분 이미지 그룹(30)이 신장 또는 수축되는 것을 표시할 때, 고정된 상기 제 1부분 이미지 그룹(30)의 최하단을 기준으로 하여 상부 방향으로 신장 또는 수축하여 표시할 수 있다. 이에 대한 자세한 설명은에 대해서는 후술한다.Therefore, since the first
또한, 상기 분할부(300)는 상기 디스플레이(2)에 상기 기준선(f1 내지 f3)을 2개 또는 4개 표시하여 상기 제 1변환 이미지(20)를 3개 또는 5개로 분할하여 상기 제 1부분 이미지 그룹(30)을 구성할 수 있다.The
상기 분할부(300)는 상기 제 1변환 이미지(20)가 출력된 상기 디스플레이(2)에 상기 상부 기준선(f1) 및 상기 하부 기준선(f3)을 표시하여 상기 제 1변환 이미지(20)를 3개로 분할하여 제 1부분 이미지(i'1), 제 2부분 이미지(i'2) 및 제 3부분 이미지(i'3)로 구성된 제 1부분 이미지 그룹(30)을 생성할 수 있다.The dividing
그리고, 상기 상부 기준선(f1)과 상기 하부 기준선(f3)사이에 2개의 상기 중간 기준선(f2)을 더 포함하여, 상기 디스플레이(2)에 출력된 상기 제 1변환 이미지(20)를 5개로 분할하여 제 1부분 이미지(i"1), 제 2부분 이미지(i"2), 제 3부분 이미지(i"3), 제 4부분 이미지(i"4) 및 제 5부분 이미지(i"5)로 구성된 제 1부분 이미지 그룹(30)을 생성할 수 있다.The first transformed
여기서, 상기 디스플레이(2)에 표시되는 상기 기준선(f1 내지 f3)의 수는 전술한 바와 같이 2개 내지 4개에 한정되지 않고, 필요에 따라 더 포함할 수 있다. 예를 들어, 상기 분할부(300)는 상기 디스플레이(2)상에 N개의 기준선을 표시하여 제 1변환 이미지(20)를 N+1개로 분할한 상기 제 1부분 이미지 그룹(30)을 생성할 수 있다. Here, the number of the reference lines f1 to f3 displayed on the
다음으로, 상기 가변부(400)는 상기 제 1부분 이미지 그룹(30) 중 일부를 신장 또는 수축할 수 있다.Next, the
상기 제 1부분 이미지 그룹(30)은 상기 복수개의 부분 이미지(i1 내지 i4)로 구성될 수 있으며, 상기 가변부(400)는 상기 제 1부분 이미지 그룹(30) 중 일부 부분 이미지(i2, i3) 의 높이를 상기 제 1변환 이미지(20)의 세로 방향으로 소정의 비율만큼 신장 또는 수축하여 적어도 하나 이상의 가변 부분 이미지(s2, s3)를 생성하고, 상기 적어도 하나 이상의 가변 부분 이미지(s2, s3)와 상기 제 1부분 이미지 그룹(30) 중 신장 또는 수축되지 않은 적어도 하나 이상의 부분 이미지(i1, i4)로 구성된 제 2부분 이미지 그룹(35)을 상기 디스플레이(2)에 표시할 수 있다.The first
상기 가변부(400)는 상기 사용자의 입력에 따라 상기 디스플레이(2)상에 하부가 고정된 상기 제 1부분 이미지 그룹(30)을 고정된 지점을 기준으로 상부가 상하 방향으로 신장하거나 수축하여 생성한 상기 제 2부분 이미지 그룹(35)을 상기 디스플레이(2)에 표시할 수 있다.The
상기 사용자는 상기 디스플레이(2)상에 표시된 가변 조절 표시(135)를 상기 디스플레이(2)의 상하 방향으로 드래그 하여 상기 제 1부분 이미지 그룹(30) 중 일부 부분 이미지(i2, i3)를 신장 또는 수축할 수 있다. 상기 가변 조절 표시(135)는 상기 디스플레이(2)상에 세로 방향으로 위치하는 가변바(130)상에서 상기 사용자의 드래그에 따라 상하로 이동하며, 상기 가변 조절 표시(135)가 상하로 이동하는 비율에 따라서 상기 제 1부분 이미지 그룹(30) 중 일부 부분 이미지(i2, i3)가 신장되거나 수축될 수 있다.The user may drag the
예를 들어, 상기 사용자는 상기 디스플레이(2)상에 표시된 상기 가변 조절 표시(135)를 상기 디스플레이(2)의 상부 방향으로 드래그 하여 상기 제 1부분 이미지 그룹(30) 중 일부 부분 이미지(i2, i3)를 신장하여 생성된 상기 제 2부분 이미지 그룹(35)을 상기 디스플레이(2)에 표시할 수 있으며, 상기 가변 조절 표시(135)를 상기 디스플레이(2)의 하부 방향으로 드래그 하여 상기 제 1부분 이미지 그룹(30) 중 일부 부분 이미지(i2, i3)를 수축 하여 생성된 상기 제 2부분 이미지 그룹(35)을 상기 디스플레이(2)에 표시할 수 있다.For example, the user may drag the
상기 가변부(400)에서 상기 제 1부분 이미지 그룹(30)은 상기 디스플레이(2)에서 고정된 상기 제 1부분 이미지 그룹(30)의 하부가 고정되어 상부가 상하 방향으로 신장 또는 수축되는 것처럼 표시되나 상기 제 1부분 이미지 그룹(30)은 상부가 상하로 신장 또는 수축하여 가변되는 것이 아니라, 상기 제 1부분 이미지 그룹(30)중 일부 부분 이미지(i2 및 i3)가 상하로 신장 또는 수축되는 것이며, 상기 디스플레이(2)에서는 상기 사용자의 편의와 편집의 용이성을 고려하여 상기 제 1부분 이미지 그룹(30)의 상부를 상하 방향으로 신장 또는 수축하여 표시할 수 있다. In the
따라서, 상기 가변부(400)는 상기 제 1부분 이미지 그룹(30)중 일부를 신장 또는 수축하여 상기 제 2부분 이미지 그룹(35)을 생성할 때, 상기 제 1부분 이미지 그룹(30) 중 일부 부분 이미지(i2 및 i3)를 상하로 신장 또는 수축하여 가변 부분 이미지(s2 및 s3)을 생성하여 이를 상기 메모리에 저장하고, 상기 디스플레이(2)에서는 상기 제 1부분 이미지 그룹(30) 중 최하단에 위치한 부분 이미지(i4)가 고정되고, 상기 제 1부분 이미지 그룹(30) 중 최하단에 위치한 부분 이미지(i4) 와 최상단에 위치한 부분 이미지(i1)의 사이에 위치한 부분 이미지(i2 및 i3)가 가변 부분 이미지(s2 및 s3)로 변화됨에 따라 제 1부분 이미지 그룹(30)이 자연스럽게 상기 디스플레이(2)의 상하 방향으로 신장 또는 수축하여 표시될 수 있다. Therefore, when the
상기 가변부(400)는 상기 사용자의 입력에 따라 상기 제 1부분 이미지 그룹(30) 중 일부의 신장량 또는 수축량을 조절할 수 있다.The
상기 디스플레이(2)에 표시된 상기 제 1부분 이미지 그룹(30)은 상기 사용자가 상기 가변 조절 표시(130)를 드래그하여 신장 또는 수축 될 수 있으며 드래그하는 양에 따라서 신장량 또는 수축량이 결정되어 신장 또는 수축될 수 있다. 상기 사용자는 상기 디스플레이(2)에 표시된 상기 가변 조절 표시(130)를 상부 방향으로 드래그 하여 상기 제 1부분 이미지 그룹(30)중 일부를 신장하여 상기 제 2부분 이미지 그룹(35)을 생성하며, 상부로 드래그하는 양이 더 많아질수록 더 많이 신장된 상기 제 2부분 이미지 그룹(35)을 생성할 수 있다. 또한, 상기 사용자가 상기 가변 조절 표시(130)를 하부로 드래그 하여 상기 제 1부분 이미지 그룹(30) 중 일부를 수축하여 상기 제 2 부분 이미지 그룹(35)을 생성하는 것을 도시한다. 이 경우, 상기 제 1부분 이미지 그룹(30) 중 일부를 신장할 때와 마찬가지로 상기 사용자가 상기 가변 조절 표시(130)를 하부로 드래그 하는 양에 따라 수축량이 결정될 수 있다.The first
상기 가변부(400)는 구체적으로, 픽셀 검출부(410), 최대 가변 픽셀량 설정부(420), 입력값 범위 표준화부(430), 가변 픽셀량 산출부(440), 가변 픽셀량 적용부(450) 및 출력부(460)를 포함하여 구성될 수 있다.Specifically, the
상기 픽셀 검출부(410)는 상기 제 1부분 이미지 그룹(30)을 구성하는 복수개의 부분 이미지(i1, i2, i3, i4) 각각의 세로 픽셀수(z1, z2, z3, z4)를 검출하고 이들의 합을 구하여, 상기 제 1부분 이미지 그룹(30)의 세로 픽셀수(z)를 파악할 수 있다. The
다음으로, 상기 최대 가변 픽셀량 설정부(420)는 상기 제 1부분 이미지 그룹(30) 중 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)가 증가하거나 감소하는 최대 가변 픽셀량(m)을 상기 제 1부분 이미지 그룹(30)의 세로 픽셀수(z)의 소정 비율로 설정할 수 있다. 즉, 상기 픽셀 검출부(410)에서 검출된 상기 제 1부분 이미지 그룹(30)의 세로 픽셀수(z)에 기설정된 소정의 비율을 곱하여 상기 최대 가변 픽셀량(m)을 산출할 수 있다.Next, the maximum variable pixel
이어서, 상기 입력값 범위 표준화부(430)는 상기 전자장치를 사용하는 사용자의 입력값 범위의 수치를 환산하여 표준화 할 수 있다. 여기서, 상기 사용자의 입력값은 상기 디스플레이(2)에 표시된 상기 가변 조절 표시(135)를 상기 가변바(130)상에서 상하로 드래그하여 입력될 수 있으며, 상기 가변 조절 표시(135)를 상기 가변바(130)의 상하로 드래드할 수 있는 범위가 상기 입력값의 범위일 수 있고, 상기 입력값 범위는 수치를 환산하여 퓨준화할 수 있다. 또한, 상기 표준화된 입력값 범위 내에서 검출된 표준화된 입력값은 상기 최대 가변 픽셀량(m)과 곱해주어 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)가 증가하거나 감소하는 가변 픽셀량을 연산할 수 있다. The input value
이어서, 상기 가변 픽셀량 산출부(440)는 상기 사용자의 표준화된 입력값에 따라 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)가 증가하거나 감소하는 가변 픽셀량을 산출할 수 있다.Then, the variable-pixel-
그 다음에, 상기 가변 픽셀량 적용부(450)는 상기 가변 픽셀량 산출부(440)에서 산출된 상기 가변 픽셀량을 상기 일부 부분 이미지(i2, i3)에 적용하여 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)를 증가 또는 감소시켜 적어도 하나 이상의 상기 가변 부분 이미지(s2, s3)를 생성할 수 있다.The variable pixel
이어서, 상기 출력부(460)는 상기 가변 픽셀량 적용부(450)에서 생성된 적어도 하나 이상의 상기 가변 부분 이미지(s2, s3)와 상기 제 1부분 이미지 그룹(30) 중 신장 또는 수축되지 않은 적어도 하나 이상의 상기 부분 이미지(i1, i4)로 구성된 제 2부분 이미지 그룹을 상기 디스플레이에 표시할 수 있다.The
전술한 가변부(400)는 상기 픽셀 검출부(410) 및 상기 최대 가변 픽셀량 설정부(420)에서 상기 제 1부분 이미지(30)의 세로 픽셀수(z) 전체를 검출하고, 상기 제 1부분 이미지 그룹(30)의 세로 픽셀수(z)에서 소정의 비율로 최대 가변 픽셀량(m)을 설정하여, 상기 가변되는 일부 부분이미지(i2, i3)를 신장 또는 수축 하는 역할을 하지만, 본 발명에 따른 상기 가변부(400)의 다른 실시예 에서는, 상기 픽셀 검출부(410)는 가변되는 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)만 검출하고, 상기 최대 가변 픽셀량 설정부(420)는 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)의 합에서 소정의 비율로 최대 가변 픽셀량(m)을 설정함으로써, 상기 가변 되는 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)의 증가량 또는 감소량을 더욱 신속하게 산출할 수 있으며 정확도를 높일 수 있다.The
따라서, 이하에서는 본 발명의 상기 가변부(400)의 다른 실시예를 살펴볼 수 있다.Therefore, another embodiment of the
상기 픽셀 검출부(410)는 상기 제 1부분 이미지 그룹(30) 중 상기 일부 부분 이미지(i2)의 세로 픽셀수(z2)와 상기 일부 부분 이미지(i3)의 세로 픽셀수(z3) 각각을 검출하고 이들의 합을 구하여 상기 제 1부분 이미지 그룹(30) 중 가변되는 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)를 파악할 수 있다.The
다음으로, 상기 최대 가변 픽셀량 설정부(420)는 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)가 증가하거나 감소하는 최대 가변 픽셀량(m)을 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z)의 소정 비율로 설정할 수 있다. 즉, 상기 픽셀 검출부(S410)에서 검출된 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z)에 기설정된 소정의 비율을 곱하여 상기 최대 가변 픽셀량(m)을 산출할 수 있다.Next, the maximum variable pixel
이어서, 상기 입력값 범위 표준화부(430)는 상기 전자장치를 사용하는 사용자의 입력값 범위의 수치를 환산하여 표준화 할 수 있다. 여기서, 상기 사용자의 입력값은 상기 디스플레이(2)에 표시된 상기 가변 조절 표시(135)를 상기 가변바(130)상에서 상하로 드래그하여 입력될 수 있으며, 상기 가변 조절 표시(135)를 상기 가변바(130)의 상하로 드래드할 수 있는 범위가 상기 입력값의 범위일 수 있다. 또한, 상기 입력값 범위는 수치를 환산하여 표준화 할 수 있다. 상기 표준화된 입력값 범위 내에서 검출된 표준화된 입력값은 상기 최대 가변 픽셀량(m)과 곱해주어 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)가 증가하거나 감소하는 가변 픽셀량을 연산할 수 있다.이어서, 상기 가변 픽셀량 산출부(440)는 상기 사용자의 표준화된 입력값에 따라 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)가 증가하거나 감소하는 가변 픽셀량을 산출할 수 있다.The input value
그 다음에, 상기 가변 픽셀량 적용부(450)는 상기 가변 픽셀량 산출부(440)에서 산출된 상기 가변 픽셀량을 상기 일부 부분 이미지(i2, i3)에 적용하여 상기 일부 부분 이미지(i2, i3)의 세로 픽셀수(z2, z3)를 증가 또는 감소시켜 적어도 하나 이상의 상기 가변 부분 이미지(s2, s3)를 생성할 수 있다.The variable pixel
이어서, 상기 출력부(460)는 상기 가변 픽셀량 적용부(450)에서 생성된 적어도 하나 이상의 상기 가변 부분 이미지(s2, s3)와 상기 제 1부분 이미지 그룹(30) 중 신장 또는 수축되지 않은 적어도 하나 이상의 상기 부분 이미지(i1, i4)로 구성된 제 2부분 이미지 그룹을 상기 디스플레이에 표시할 수 있다.The
전술한 상기 가변부(400)는 상기 제 1부분 이미지 그룹(30) 중 일부가 가변되어 상기 제 2부분 이미지 그룹(35)을 생성할 때, 상기 제 1부분 이미지 그룹(30)중 일부의 가변 픽셀량에 제한을 두어, 너무 과하게 신장되거나 축소되는 것을 방지할 수 있다.The
이상에서 본 발명의 일 실시예에 따른 가변부(400)의 실시예 들에 대해 살펴보았다. 본 발명은 어떠한 피사체가 표시된 이미지라도 가능하나, 이미지의 피사체가 사람일 경우 일반적으로 사람의 신체 비율은 상체보다 하체가 더 긴 비율을 갖고 있으므로, 상기 부분 이미지(i2)가 사람의 상체를 나타내고, 상기 부분 이미지(i3)가 사람의 하체를 나타낸 이미지일 경우, 상기 가변부400)는 상기 사람의 하체를 나타낸 부분 이미지(i3)를 상기 사람의 상체를 나타낸 부분 이미지(i2)보다 더 큰 비율로 가변할 수 있다. 따라서, 일반적인 사람의 신체 비율과 유사한 비율로 가변하여 피사체인 사람의 키가 커지는 것과 같은 효과를 얻을 수 있다.본 발명의 일 실시예에서, 상기 디스플레이(2)에 출력된 상기 제 1부분 이미지 그룹(30)은 상기 제 1부분 이미지 그룹(30) 중 어느 한 점을 기준점으로 설정할 수 있으며, 상기 제 1부분 이미지 그룹(30) 중 일부가 신장 또는 수축되어 상기 제 2부분 이미지 그룹(35)이 상기 디스플레이(2)에 표시되어 상기 제 1부분 이미지 그룹(30)의 어느 한 점이 상부 또는 하부로 이동하였을 때, 상기 기준점 또한 상기 제 1부분 이미지 그룹(30)이 이동한 만큼 이동하여 상기 제 2부분 이미지 그룹(35)상에 표시된 어느 한 점을 기준점으로 설정할 수 있다.The embodiments of the
상기 디스플레이(2)에 출력된 h의 세로 높이를 갖는 제 1부분 이미지 그룹(30)은 좌측 상단의 일점을 기준점으로 설정할 수 있으며, 상기 기준점은 상기 디스플레이(2)상에 (0,0)의 좌표값을 갖게 된다. 따라서 제 1부분 이미지 그룹(30)의 좌측 하단은 (0,h)의 좌표를 갖게 된다. 상기 가변부(400)에서 제 1부분 이미지 그룹(30)을 p의 거리만큼 상부로 신장하여 상기 제 2부분 이미지 그룹(35)을 생성하면, 상기 기준점 또한 p의 거리만큼 상부로 이동하여 (0,-p)의 좌표값을 갖게 되며 상기 제 1부분 이미지 그룹(30)의 좌측 하부의 좌표는 상기 복수개의 부분 이미지(30)가 가변될 때 고정되므로 변하지 않아 (0,h)의 좌표값을 갖게 된다. 여기서 상기 제 2부분 이미지 그룹(35)에서 상기 제 1부분 이미지 그룹(30)이 이동한 값인 p값을 더해주게 되면, 상기 제 2부분 이미지 그룹(35)의 기준점은 (0,0)이 되고 좌측 하부의 좌표값은 (0,0+h+p)가 될 수 있다.The first
전술한 기준점 변경은 상기 메모리에 저장되는 상기 제 1부분 이미지 그룹(30)에는 적용되지 않으며 상기 디스플레이(2)상 표시된 상기 제 1부분 이미지 그룹(30)에만 적용될 수 있다. 상기 기준점 변경은 상기 디스플레이(2)상에서 제 1부분 이미지 그룹(30) 중 일부가 신장 또는 수축하여 상기 제 2부분 이미지 그룹(35)이 표시될 때, 상기 제 1부분 이미지 그룹(30)의 최하단이 고정된 상태에서 상기 제 1부분 이미지 그룹의 최상단 중 일점에 위치한 기준점이 상하로 이동함에 따라 신장하거나 수축하여 표시되므로, 피사체인 사람의 이미지는 자연스럽게 그 키가 커지게 또는 작아지게 표시될 수 있다.The aforementioned reference point change does not apply to the first
다음으로, 상기 합성부(500)는 상기 제 2부분 이미지 그룹(35)을 하나로 결합할 수 있다.Next, the combining
상기 합성부(500)는 상기 사용자가 상기 디스플레이(2)상에 표시된 확인 표시(140)를 터치하면, 상기 제 2부분 이미지 그룹(35)을 결합하여 하나의 제 1가변 이미지(40)를 생성하여 상기 디스플레이(2)에 표시할 수 있다.When the user touches the
상기 합성부(500)는 상기 사용자가 상기 디스플레이(2)상에 표시된 확인 표시(140)를 터치하면 상기 제 2부분 이미지 그룹(35)을 결합하여 상기 제 1가변 이미지(40)를 생성하고, 상기 제 1가변 이미지(40)를 상기 디스플레이(2)에 표시하고, 상기 제 1가변 이미지(40)가 표시된 상기 디스플레이(2)상에 상기 분할부(300)에서 표시되었던 상기 복수개의 기준선(f1 내지 f3)을 표시할 수 있다.The combining
여기서, 상기 제 1가변 이미지(40)가 표시된 상기 디스플레이(2)에 표시된 복수개의 기준선(f1 내지 f3)은 상기 제 1가변 이미지(40)를 다시 분할할 수 있다.The plurality of reference lines f1 to f3 displayed on the
이상에서 상기 합성부(500)에서 상기 제 1가변 이미지(40)가 생성되는 것을 살펴보았으며, 이하에서는 저장부(550)를 더 포함하는 상기 합성부(500)를 살펴볼 수 있다.In the above, the first
상기 합성부(500)는 상기 제 2부분 이미지 그룹(35)을 합성하여 제 1가변 이미지(40)를 생성함과 동시에, 상기 원본 이미지(20)를 로딩하고 비트맵 이미지로 변환하여 제 2변환 이미지(21)를 생성하고, 상기 제 2변환 이미지(21)에 상기 제 1변환 이미지(20)에서 상기 제 1가변 이미지(40)가 생성되기 까지 가변된 비율을 동일하게 적용하여 가변한 제 2가변 이미지(41)를 생성하여 상기 전자장치에 저장하는 상기 저장부(550)를 더 포함할 수 있다.The
상기 저장부(550)는 상기 전자장치로부터 상기 원본 이미지(10)를 로딩하고 비트맵 형식으로 변환하여 제 2변환 이미지(21)를 생성할 수 있다. 또한, 상기 제 2변환 이미지(21)를 상기 제 1변환 이미지(20)에서 상기 제 1가변 이미지(40)가 생성되기 까지 가변된 비율을 동일하게 적용하여 가변함으로써 상기 제 2가변 이미지(41)를 생성할 수 있다.The
여기서, 상기 저장부(550)는 상기 제 2변환 이미지(21)를 상기 분할부(300)에서 상기 제 1변환 이미지(20)가 분할된 것과 동일한 비율로 분할하여 분할된 제 2변환 이미지(31)를 생성하며, 상기 분할된 제 2변환 이미지(31)를 상기 가변부(400)에서 제 1부분 이미지 그룹(30)이 가변된 것과 동일한 비율로 가변하여, 분할되고 일부 가변된 제 2변환 이미지(36)를 생성하며, 상기 분할되고 일부 가변된 제 2변환 이미지(36)를 결합하여 상기 제 2가변 이미지(41)를 생성하여 상기 전자장치에 저장할 수 있다.Here, the
또한, 상기 저장부(550)는 상기 제 2가변 이미지(41)를 상기 저장장치에 저장할 때, 상기 제 2가변 이미지(41)를 상기 원본 이미지(10)와 동일한 파일형태로 변환하여 저장할 수 있다. 예를 들어 상기 원본 이미지(10)의 파일 형식이 비트맵 형식이 아닐 경우, 상기 저장부(550)는 상기 원본 이미지(10)를 로딩하여 비트맵 형식으로 변환하여 제 2변환 이미지(21)를 생성할 수 있다. 상기 제 2변환 이미지(21)는 상기 저장부(550)를 거쳐 상기 제 2가변 이미지(41)를 생성하므로 상기 제 2가변 이미지(41)또한 비트맵 형식일 수 있다. 따라서 상기 저장부(550)는 상기 제 2가변 이미지(41)를 상기 원본 이미지(10)와 동일한 파일형식으로 변환한 최종 이미지(50)를 생성하여 상기 저장매체에 저장할 수 있다.When storing the second
또한, 상기 저장부(550)는 상기 제 2가변 이미지(41)를 상기 원본 이미지(10)와 동일하지 않은 파일형식으로 변환한 상기 최종 이미지(50)를 상기 저장매체에 저장할 수 있다.In addition, the
이상의 설명은 본 발명의 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다.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: 제 1가변 이미지 50: 최종 이미지10: original image 20: first conversion image
30: First partial image group 35: Second partial image group
40: first variable image 50: final image
Claims (40)
원본 이미지를 로딩하는 로딩단계;
상기 원본 이미지를 비트맵 형식의 제 1변환 이미지로 변환하고, 상기 제 1변환 이미지를 상기 전자장치의 메모리에 저장하며 상기 전자장치의 디스플레이에 출력하는 이미지 변환단계;
상기 디스플레이상에 적어도 하나 이상의 기준선을 표시하고, 상기 기준선을 기준으로 하여 상기 제 1변환 이미지를 복수개의 부분 이미지로 분할하며, 상기 복수개의 부분 이미지로 구성된 제 1부분 이미지 그룹을 상기 메모리에 저장하는 이미지 분할단계;
상기 제 1부분 이미지 그룹 중 일부 상기 부분 이미지를 상기 부분 이미지의 세로방향으로 소정의 비율만큼 신장 또는 수축하여 적어도 하나 이상의 가변 부분 이미지를 생성하고, 적어도 하나 이상의 상기 가변 부분 이미지와 상기 제 1부분 이미지 그룹 중 신장 또는 수축되지 않은 적어도 하나 이상의 상기 부분 이미지로 구성된 제 2부분 이미지 그룹을 상기 디스플레이에 표시하는 이미지 가변단계;
상기 제 2부분 이미지 그룹을 결합하여 하나의 제 1가변 이미지를 생성하고, 상기 제 1가변 이미지를 상기 디스플레이에 표시하는 이미지 합성단계; 를 포함하는 것을 특징으로 하는 이미지 재조정 방법.A method of re-adjusting an image 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;
Displaying at least one baseline on the display, dividing the first transformed image into a plurality of partial images with reference to the baseline, storing a first partial image group composed of the plurality of partial images in the memory An image segmentation step;
Generating at least one or more variable partial images by stretching or contracting some of the partial images of the first partial image group in a longitudinal direction of the partial images by a predetermined ratio to form at least one variable partial image, An image variable step of displaying on the display a second partial image group consisting of at least one or more of the partial images that have not been stretched or contracted among the groups;
Combining the second partial image groups to generate a first variable image, and displaying the first variable image on the display; Wherein the image reconstruction method comprises:
상기 원본 이미지는 상기 전자장치에 이미 저장되어 있는 저장 이미지이거나 상기 전자장치에 구비된 카메라에 의해 촬영된 촬영 이미지인 것을 특징으로 하는 이미지 재조정 방법.The method according to claim 1,
Wherein the original image is a stored image already stored in the electronic device or an image taken by a camera provided in the electronic device.
상기 이미지 변환단계는, 상기 원본 이미지를 상기 제 1변환 이미지로 변환하기 전에, 상기 원본 이미지의 해상도가 상기 디스플레이의 해상도를 초과하거나 소정 해상도 이하인지 여부를 판별하는 단계를 더 포함하며, 상기 원본 이미지가 상기 디스플레이의 상기 해상도를 초과하거나 상기 소정 해상도 이하인 것으로 판별되는 경우, 상기 원본 이미지를 상기 디스플레이의 상기 해상도 내의 범위 내로 축소 또는 확대하여 상기 제 1변환 이미지로 변환하는 것을 특징으로 하는 이미지 재조정 방법.The method according to claim 1,
Wherein the image conversion step further comprises the step of determining whether the resolution of the original image exceeds the resolution of the display or below a predetermined resolution before converting the original image into the first converted image, When the resolution of the original image is determined to be greater than or equal to the resolution of the display, the original image is reduced or enlarged to a range within the resolution of the display and converted to the first converted image.
상기 이미지 변환단계는, 상기 원본 이미지를 상기 제 1변환 이미지로 변환하기 전에, 상기 원본 이미지가 상기 비트맵 형식인 경우, 상기 원본 이미지를 상기 제 1변환 이미지로 결정하는 파일형식 판별단계를 더 포함하는 것을 특징으로 하는 이미지 재조정 방법.The method according to claim 1,
The image conversion step further includes a file type determination step of determining the original image as the first converted image when the original image is in the bitmap format before converting the original image into the first converted image Wherein the image reconstruction method comprises:
상기 이미지 분할단계는 상기 기준선을 상기 제 1변환 이미지의 가로 방향과 평행이 되도록 표시하며, 상기 기준선의 위치를 상기 전자장치를 사용하는 사용자의 입력에 따라 변경하여 상기 제 1변환 이미지상에 표시하는 것을 특징으로 하는 이미지 재조정 방법.The method according to claim 1,
Wherein the image segmenting step displays the reference line so as to be parallel to the horizontal direction of the first transformed image and changes the position of the reference line according to a user's input using the electronic device to display on the first transformed image Wherein the image reconstruction method comprises the steps of:
상기 이미지 분할단계는 상기 기준선이 복수개인 경우 상기 복수개의 기준선을 서로 이격되게 표시하고, 상기 사용자의 입력에 따라 상기 복수개의 기준선의 표시 순서를 변경하여 표시하는 것을 특징으로 하는 이미지 재조정 방법.6. The method of claim 5,
Wherein the image segmenting step displays the plurality of reference lines spaced apart from each other when the plurality of reference lines are present, and changes the display order of the plurality of reference lines according to an input of the user.
상기 복수개의 기준선은 상기 제 1변환 이미지를 3개의 상기 부분 이미지로 분할하는 상부 기준선 및 하부 기준선이거나, 상기 상부 기준선과 상기 하부 기준선 사이에 N개의 중앙 기준선을 더 포함하여 상기 제 1변환 이미지를 N+3개의 상기 부분 이미지로 분할하는 것을 특징으로 하는 이미지 재조정 방법.The method according to claim 6,
Wherein the plurality of reference lines are an upper reference line and a lower reference line that divide the first transformed image into three partial images or further include N central reference lines between the upper reference line and the lower reference line to convert the first transformed image into N And dividing the image into three partial images.
상기 이미지 분할단계는 상기 제 1부분 이미지 그룹을 상기 디스플레이상에 표시하되, 상기 제 1부분 이미지 그룹 중 최하단에 위치하는 상기 부분 이미지가 상기 제 1변환 이미지가 표시되었던 위치보다 아래에 위치하도록 표시하는 것을 특징으로 하는 이미지 재조정 방법.8. The method of claim 7,
Wherein the image segmentation step displays the first partial image group on the display such that the partial image located at the bottom of the first partial image group is positioned below the position at which the first transformed image was displayed Wherein the image reconstruction method comprises the steps of:
상기 이미지 가변단계는 상기 제 1부분 이미지 그룹 중 상기 하부 기준선 아래에 위치하는 상기 부분 이미지를 기준으로 상기 상부 기준선 및 상기 하부 기준선 사이에 있는 적어도 하나 이상의 상기 부분 이미지를 상하 방향으로 신장 또는 수축하여 적어도 하나 이상의 상기 가변 부분 이미지를 생성하는 것을 특징으로 하는 이미지 재조정 방법.9. The method according to claim 7 or 8,
Wherein the image modifying step extends or contracts at least one or more partial images between the upper reference line and the lower reference line based on the partial image positioned below the lower reference line among the first partial image groups in the vertical direction And generating one or more of the variable partial images.
상기 부분 이미지의 신장 또는 수축 정도는 상기 사용자의 입력에 따라 결정되는 것을 특징으로 하는 이미지 재조정 방법.10. The method of claim 9,
Wherein the degree of extension or contraction of the partial image is determined according to the input of the user.
상기 제 1변환 이미지가 사람을 피사체로 하는 경우,
상기 이미지 분할단계는 상기 제 1변환 이미지상에 표시된 상기 사람의 이미지 중 어깨부위에 상기 상부 기준선을 표시하고, 발목부위에 상기 하부 기준선을 표시하며, 골반부위에 상기 중간 기준선을 표시하여, 상기 상부 기준선, 상기 하부 기준선 및 상기 중간 기준선을 기준으로 하여 상기 제 1변환 이미지를 4개의 부분 이미지로 분할하고, 상기 4개의 부분 이미지로 구성된 제 1부분 이미지 그룹을 상기 메모리에 저장하는 것을 특징으로 하는 이미지 재조정 방법.11. The method of claim 10,
When the first converted image is a person as a subject,
Wherein the image segmentation step displays the upper reference line on the shoulder portion of the image of the person displayed on the first transformed image, displays the lower reference line on the ankle region, displays the intermediate reference line on the pelvis region, Divides the first transformed image into four partial images with reference to the baseline, the lower baseline, and the intermediate baseline, and stores the first partial image group composed of the four partial images in the memory Recalibration method.
상기 이미지 가변단계는 상기 상부 기준선과 상기 중간 기준선 사이에 있는 상기 부분 이미지 및 상기 중간 기준선과 상기 하부 기준선 사이에 있는 상기 부분 이미지를 각각 소정의 비율로 상하로 신장 또는 수축하여 2개의 상기 가변 부분 이미지를 생성하고, 2개의 상기 가변 부분 이미지와 상기 제 1부분 이미지 그룹 중 상기 상부 기준선 위에 위치한 상기 부분 이미지 및 상기 하부 기준선 아래에 위치한 상기 부분 이미지로 구성된 제 2부분 이미지 그룹을 상기 디스플레이에 표시하는 것을 특징으로 하는 이미지 재조정 방법.12. The method of claim 11,
Wherein the image variable step stretches or contracts the partial image between the upper reference line and the intermediate reference line and the partial image between the intermediate reference line and the lower reference line up and down at a predetermined ratio, And displaying a second partial image group composed of the two variable partial images and the partial image positioned below the lower baseline and the partial image positioned above the upper baseline of the first partial image group on the display Characterized in that the image is readjusted.
상기 이미지 가변단계는 상기 중간 기준선과 상기 하부 기준선 사이에 있는 상기 부분 이미지를 상기 상부 기준선과 상기 하부 기준선 사이에 있는 상기 부분 이미지보다 더 큰 비율로 신장 또는 수축하는 것을 특징으로 하는 이미지 재조정 방법.13. The method of claim 12,
Wherein the image modifying step stretches or contracts the partial image between the intermediate reference line and the lower reference line at a greater rate than the partial image between the upper reference line and the lower reference line.
상기 이미지 합성단계는 상기 제 2부분 이미지 그룹을 구성하는 4개의 상기 부분 이미지를 결합하여 상기 제 1가변 이미지를 생성하고, 상기 제 1가변 이미지를 상기 디스플레이에 표시하는 것을 특징으로 하는 이미지 재조정 방법.14. The method of claim 13,
Wherein the image combining step combines the four partial images constituting the second partial image group to generate the first variable image and displays the first variable image on the display.
상기 이미지 가변단계는,
상기 제 1부분 이미지 그룹의 세로 픽셀수를 검출하는 픽셀 검출단계;
상기 제 1부분 이미지 그룹중 일부 부분 이미지의 세로 픽셀수가 가변될 수 있는 최대 가변 픽셀량을 설정하는 최대 가변 픽셀량 설정단계;
상기 전자장치를 사용하는 사용자의 입력값 범위를 표준화하는 입력값 범위 표준화단계;
상기 일부 부분 이미지의 세로 픽셀수가 가변되는 가변 픽셀량을 상기 최대 가변 픽셀량 내에서 상기 사용자에 의해 입력된 입력값에 따라 결정하는 가변 픽셀량 산출단계;
상기 산출된 가변 픽셀량을 상기 일부 부분 이미지에 적용하여 상기 일부 부분 이미지의 세로 픽셀수를 증가 또는 감소시켜 적어도 하나 이상의 상기 가변 부분 이미지를 생성하는 가변 픽셀량 적용단계;
적어도 하나 이상의 상기 가변 부분 이미지와 상기 제 1부분 이미지 그룹 중 신장 또는 수축되지 않은 적어도 하나 이상의 상기 부분 이미지로 구성된 제 2부분 이미지 그룹을 상기 디스플레이에 표시하는 출력단계;를 포함하는 것을 특징으로 하는 이미지 재조정 방법.The method according to claim 1,
Wherein the image variable step comprises:
A pixel detecting step of detecting the number of vertical pixels of the first partial image group;
A maximum variable pixel amount setting step of setting a maximum variable pixel amount in which the number of vertical pixels of a partial image of the first partial image group can be varied;
An input value range standardization step of standardizing an input value range of a user using the electronic device;
A variable pixel amount calculating step of determining a variable pixel amount in which the number of vertical pixels of the partial image is variable according to an input value input by the user within the maximum variable pixel amount;
Applying the calculated variable pixel amount to the partial partial image to increase or decrease the number of vertical pixels of the partial partial image to generate at least one variable partial image;
And an output step of displaying on the display a second partial image group composed of at least one or more of the variable partial images and at least one or more partial images that have not been stretched or contracted among the first partial image group Recalibration method.
상기 최대 가변 픽셀량 설정단계는, 상기 제 1부분 이미지의 세로 픽셀수에 기설정된 소정의 비율을 곱하여 상기 최대 가변 픽셀량을 산출하는 것을 특징으로 하는 이미지 재조정 방법.16. The method of claim 15,
Wherein the maximum variable pixel amount setting step calculates the maximum variable pixel amount by multiplying the number of vertical pixels of the first partial image by a predetermined ratio set in advance.
상기 이미지 가변단계는,
상기 제 1부분 이미지 그룹 중 일부 부분 이미지의 세로 픽셀수를 검출하는 픽셀 검출단계;
상기 일부 부분 이미지의 세로 픽셀수가 가변될 수 있는 최대 가변 픽셀량을 설정하는 최대 가변 픽셀량 설정단계;
상기 전자장치를 사용하는 사용자의 입력값 범위를 표준화하는 입력값 범위 표준화단계;
상기 일부 부분 이미지의 세로 픽셀수가 가변되는 가변 픽셀량을 상기 최대 가변 픽셀량 내에서 상기 사용자에 의해 입력된 입력값에 따라 결정하는 가변 픽셀량 산출단계;
상기 산출된 가변 픽셀량을 상기 일부 부분 이미지에 적용하여 상기 일부 부분 이미지의 세로 픽셀수를 증가 또는 감소시켜 적어도 하나 이상의 상기 가변 부분 이미지를 생성하는 가변 픽셀량 적용단계;
적어도 하나 이상의 상기 가변 부분 이미지와 상기 제 1부분 이미지 그룹 중 신장 또는 수축되지 않은 적어도 하나 이상의 상기 부분 이미지로 구성된 제 2부분 이미지 그룹을 상기 디스플레이에 표시하는 출력단계;를 포함하는 것을 특징으로 하는 이미지 재조정 방법. The method according to claim 1,
Wherein the image variable step comprises:
A pixel detecting step of detecting a number of vertical pixels of a partial partial image of the first partial image group;
A maximum variable pixel amount setting step of setting a maximum variable pixel amount by which the number of vertical pixels of the partial image can be varied;
An input value range standardization step of standardizing an input value range of a user using the electronic device;
A variable pixel amount calculating step of determining a variable pixel amount in which the number of vertical pixels of the partial image is variable according to an input value input by the user within the maximum variable pixel amount;
Applying the calculated variable pixel amount to the partial partial image to increase or decrease the number of vertical pixels of the partial partial image to generate at least one variable partial image;
And an output step of displaying on the display a second partial image group composed of at least one or more of the variable partial images and at least one or more partial images that have not been stretched or contracted among the first partial image group Recalibration method.
상기 최대 가변 픽셀량 설정단계는, 상기 일부 부분 이미지의 세로 픽셀수에 기설정된 소정의 비율을 곱하여 상기 최대 가변 픽셀량을 산출하는 것을 특징으로 하는 이미지 재조정 방법.The method of claim 17,
Wherein the maximum variable pixel amount setting step calculates the maximum variable pixel amount by multiplying the number of vertical pixels of the partial partial image by a predetermined ratio.
상기 가변 픽셀량 산출단계는, 상기 최대 가변 픽셀량에 상기 사용자에 의해 입력된 입력값을 곱하여 상기 일부 부분 이미지의 세로 픽셀수가 가변되는 가변 픽셀량을 산출하는 것을 특징으로 하는 이미지 재조정 방법.18. The method according to claim 15 or 17,
Wherein the variable pixel amount calculating step calculates a variable pixel amount by which the number of vertical pixels of the partial partial image is varied by multiplying the maximum variable pixel amount by the input value input by the user.
상기 제 1가변 이미지는 상기 이미지 분할단계, 상기 이미지 가변단계 및 상기 이미지 합성단계를 통해 N차 재조정되어 N+1차 제 1가변 이미지가 되는 것을 특징으로 하는 이미지 재조정 방법.The method according to claim 1,
Wherein the first variable image is N-ary re-adjusted through the image segmentation step, the image variable step and the image synthesis step to become an N + 1-th first variable image.
상기 이미지 합성단계는 상기 전자장치를 사용하는 사용자의 입력에 따라 상기 제 2부분 이미지 그룹을 결합하여 상기 제 1가변 이미지를 생성하는 것을 특징으로 하는 이미지 재조정 방법.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 first variable image.
상기 이미지 합성단계는 상기 원본 이미지를 로딩하여 비트맵 이미지로 변환하여 제 2변환 이미지를 생성하고, 상기 제 2변환 이미지를 상기 제 1가변 이미지가 상기 제 1변환 이미지에서 가변된 것과 동일한 비율로 가변하여 제 2가변 이미지를 생성하여 상기 전자장치에 저장하는 이미지 저장단계를 더 포함하는 것을 특징으로 하는 이미지 재조정 방법.22. The method of claim 21,
Wherein the image compositing step comprises the steps of: loading the original image and converting the original image into a bitmap image to generate a second transformed image; and transforming the second transformed image into a variable image having the same ratio as that of the first transformed image Further comprising: an image storing step of generating a second variable image and storing the second variable image in the electronic device.
상기 이미지 저장단계는 상기 제 2가변 이미지를 상기 전자장치에 저장할 때, 상기 제 2가변 이미지를 상기 원본 이미지와 동일한 파일형식이거나 상기 제 2가변 이미지와 동일하지 않은 파일형식으로 변환하여 상기 전자장치에 저장하는 것을 특징으로 하는 이미지 재조정 방법.23. The method of claim 22,
Wherein the image storing step converts the second variable image into a file format that is the same as the original image or is not the same as the second variable image when the second variable image is stored in the electronic device, And storing the image data.
원본 이미지를 로딩하는 로딩부;
상기 원본 이미지를 비트맵 형식의 제 1변환 이미지로 변환하고, 상기 제 1변환 이미지를 상기 장치의 메모리에 저장하며 상기 디스플레이에 출력하는 변환부;
상기 디스플레이상에 적어도 하나 이상의 기준선을 표시하고, 상기 기준선을 기준으로 하여 상기 제 1변환 이미지를 복수개의 부분 이미지로 분할하며, 상기 복수개의 부분 이미지로 구성된 제 1부분 이미지 그룹을 상기 메모리에 저장하는 분할부;
상기 제 1부분 이미지 그룹 중 일부 상기 부분 이미지를 상기 부분 이미지의 세로방향으로 소정의 비율만큼 신장 또는 수축하여 적어도 하나 이상의 가변 부분 이미지를 생성하고, 적어도 하나 이상의 상기 가변 부분 이미지와 상기 제 1부분 이미지 그룹 중 신장 또는 수축되지 않은 적어도 하나 이상의 상기 부분 이미지로 구성된 제 2부분 이미지 그룹을 상기 디스플레이에 표시하는 가변부;
상기 제 2부분 이미지 그룹을 결합하여 하나의 제 1가변 이미지를 생성하고, 상기 제 1가변 이미지를 상기 디스플레이에 표시하는 합성부;를 포함하는 것을 특징으로 하는 이미지 재조정 장치.An apparatus for resizing an image comprising a display and a storage medium,
A loading unit for loading an original image;
A 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;
Displaying at least one baseline on the display, dividing the first transformed image into a plurality of partial images with reference to the baseline, storing a first partial image group composed of the plurality of partial images in the memory Minute division;
Generating at least one or more variable partial images by stretching or contracting some of the partial images of the first partial image group in a longitudinal direction of the partial images by a predetermined ratio to form at least one variable partial image, A variable portion displaying on the display a second partial image group composed of at least one or more partial images that are not stretched or contracted among the groups;
And combining the second partial image groups to generate a first variable image and displaying the first variable image on the display.
상기 저장매체는 이미지를 저장하고, 상기 이미지는 상기 로딩부에 의해 로딩되어 상기 원본 이미지가 되는 것을 특징으로 하는 이미지 재조정 장치.25. The method of claim 24,
Wherein the storage medium stores an image, and the image is loaded by the loading unit to become the original image.
피사체를 촬영하여 촬영 이미지를 생성하는 카메라를 더 포함하고, 상기 촬영 이미지는 상기 저장매체에 저장되고 상기 로딩부에 의해 로딩되어 상기 원본 이미지가 되는 것을 특징으로 하는 이미지 재조정 장치.25. The method of claim 24,
Further comprising a camera for photographing a subject to generate a photographed image, wherein the photographed image is stored in the storage medium and loaded by the loading section to become the original image.
상기 변환부는 상기 원본 이미지를 상기 제 1변환 이미지로 변환하기 전에, 상기 원본 이미지의 해상도가 상기 디스플레이의 해상도를 초과하거나 소정 해상도 이하인 경우, 상기 원본 이미지를 상기 디스플레이의 해상도 내의 범위에서 축소 또는 확대하는 해상도 판별부를 더 포함하는 것을 특징으로 하는 이미지 재조정 장치.25. The method of claim 24,
Wherein the converting unit reduces or enlarges the original image in a range within the resolution of the display when the resolution of the original image exceeds the resolution of the display or below the predetermined resolution before converting the original image into the first converted image Further comprising a resolution discrimination unit.
상기 변환부는 상기 원본 이미지를 상기 제 1변환 이미지로 변환하기 전에, 상기 원본 이미지가 상기 비트맵 형식인 경우, 상기 원본 이미지를 상기 제 1변환 이미지로 결정하는 파일형식 판별부를 더 포함하는 것을 특징으로 하는 이미지 재조정 장치.25. The method of claim 24,
The converting unit may further include a file type determining unit that determines the original image as the first converted image when the original image is in the bitmap format before converting the original image into the first converted image. Image remanufacturing device.
상기 분할부는 상기 기준선을 상기 제 1변환 이미지의 가로 방향과 평행이 되도록 표시하며, 상기 기준선의 위치를 상기 사용자의 입력에 따라 변경하여 상기 제 1변환 이미지상에 표시하는 것을 특징으로 하는 이미지 재조정 장치.25. The method of claim 24,
Wherein the dividing unit displays the reference line such that the reference line is parallel to the horizontal direction of the first transformed image and changes the position of the reference line according to the input of the user and displays the same on the first transformed image. .
상기 분할부는 상기 기준선이 복수개인 경우 상기 복수개의 기준선을 서로 이격되게 표시하고, 상기 사용자의 입력에 따라 그 순서를 변경하여 표시하는 것을 특징으로 하는 이미지 재조정 장치.30. The method of claim 29,
Wherein the dividing unit displays the plurality of reference lines spaced apart from each other when the plurality of reference lines exist, and changes the order of the reference lines according to an input of the user.
상기 복수개의 기준선은 상기 제 1변환 이미지를 3개의 상기 부분 이미지로 분할하는 상부 기준선 및 하부 기준선이거나, 상기 상부 기준선과 상기 하부 기준선 사이에 N개의 중앙 기준선을 더 포함하여 상기 제 1변환 이미지를 N+3개의 상기 부분 이미지로 분할하는 것을 특징으로 하는 이미지 재조정 장치.31. The method of claim 30,
Wherein the plurality of reference lines are an upper reference line and a lower reference line that divide the first transformed image into three partial images or further include N central reference lines between the upper reference line and the lower reference line to convert the first transformed image into N And divides the image into three partial images.
상기 분할부는 상기 제 1부분 이미지 그룹을 상기 디스플레이상에 표시하되, 상기 제 1부분 이미지 그룹 중 최하단에 위치하는 상기 부분 이미지가 상기 제 1변환 이미지가 표시되었던 위치보다 아래에 위치하도록 표시하는 것을 특징으로 하는 이미지 재조정 장치.32. The method of claim 31,
Wherein the dividing unit displays the first partial image group on the display so that the partial image positioned at the lowermost one of the first partial image groups is positioned below the position at which the first transformed image was displayed The image reconstruction device.
상기 가변부는 상기 제 1부분 이미지 그룹 중 상기 하부 기준선 아래에 위치하는 상기 부분 이미지를 기준으로 상기 상부 기준선 및 상기 하부 기준선 사이에 있는 적어도 하나의 이상의 상기 부분 이미지를 상하 방향으로 신장 또는 수축하여 적어도 하나 이상의 상기 가변 부분 이미지를 생성하는 것을 특징으로 하는 이미지 재조정 장치.33. The method according to claim 31 or 32,
Wherein the variable portion extends or contracts at least one or more of the partial images between the upper reference line and the lower reference line based on the partial image positioned below the lower reference line of the first partial image group, And generates the variable portion image.
상기 부분 이미지의 신장 또는 수축 정도는 사용자의 입력에 따라 결정되는 것을 특징으로 하는 이미지 재조정 장치.34. The method of claim 33,
Wherein the degree of extension or contraction of the partial image is determined according to a user's input.
상기 가변부는,
상기 제 1부분 이미지 그룹의 세로 픽셀수를 검출하는 픽셀 검출부;
상기 제 1부분 이미지 그룹중 일부 부분 이미지의 세로 픽셀수가 가변될 수 있는 최대 가변 픽셀량을 설정하는 최대 가변 픽셀량 설정부;
상기 전자장치를 사용하는 사용자의 입력값 범위를 표준화하는 입력값 범위 표준화부;
상기 일부 부분 이미지의 세로 픽셀수가 가변되는 가변 픽셀량을 상기 최대 가변 픽셀량 내에서 상기 사용자에 의해 입력된 입력값에 따라 결정하는 가변 픽셀량 산출부;
상기 산출된 가변 픽셀량을 상기 일부 부분 이미지에 적용하여 상기 일부 부분 이미지의 세로 픽셀수를 증가 또는 감소시켜 적어도 하나 이상의 상기 가변 부분 이미지를 생성하는 가변 픽셀량 적용부;
적어도 하나 이상의 상기 가변 부분 이미지와 상기 제 1부분 이미지 그룹 중 신장 또는 수축되지 않은 적어도 하나 이상의 상기 부분 이미지로 구성된 제 2부분 이미지 그룹을 상기 디스플레이에 표시하는 출력부;를 포함하는 것을 특징으로 하는 이미지 재조정 장치.25. The method of claim 24,
The variable-
A pixel detector for detecting the number of vertical pixels of the first partial image group;
A maximum variable pixel amount setting unit for setting a maximum variable pixel amount by which the number of vertical pixels of a partial image of the first partial image group can be varied;
An input value range normalization unit for standardizing an input value range of a user using the electronic device;
A variable pixel amount calculating unit for determining a variable pixel amount in which the number of vertical pixels of the partial image is variable according to an input value input by the user within the maximum variable pixel amount;
A variable pixel amount applying unit that applies the calculated variable pixel amount to the partial partial image to increase or decrease the number of vertical pixels of the partial partial image to generate at least one variable partial image;
And an output unit for displaying on the display a second partial image group composed of at least one of the variable partial image and at least one or more of the partial images not stretched or contracted out of the first partial image group. Reconditioning device.
상기 가변부는,
상기 제 1부분 이미지 그룹 중 일부 부분 이미지의 세로 픽셀수를 검출하는 픽셀 검출부;
상기 일부 부분 이미지의 세로 픽셀수가 가변될 수 있는 최대 가변 픽셀량을 설정하는 최대 가변 픽셀량 설정부;
상기 전자장치를 사용하는 사용자의 입력값 범위를 표준화하는 입력값 범위 표준화부;
상기 일부 부분 이미지의 세로 픽셀수가 가변되는 가변 픽셀량을 상기 최대 가변 픽셀량 내에서 상기 사용자에 의해 입력된 입력값에 따라 결정하는 가변 픽셀량 산출부;
상기 산출된 가변 픽셀량을 상기 일부 부분 이미지에 적용하여 상기 일부 부분 이미지의 세로 픽셀수를 증가 또는 감소시켜 적어도 하나 이상의 상기 가변 부분 이미지를 생성하는 가변 픽셀량 적용부;
적어도 하나 이상의 상기 가변 부분 이미지와 상기 제 1부분 이미지 그룹 중 신장 또는 수축되지 않은 적어도 하나 이상의 상기 부분 이미지로 구성된 제 2부분 이미지 그룹을 상기 디스플레이에 표시하는 출력부;를 포함하는 것을 특징으로 하는 이미지 재조정 장치.25. The method of claim 24,
The variable-
A pixel detector for detecting the number of vertical pixels of a partial image of the first partial image group;
A maximum variable pixel amount setting unit for setting a maximum variable pixel amount by which the number of vertical pixels of the partial image may be varied;
An input value range normalization unit for standardizing an input value range of a user using the electronic device;
A variable pixel amount calculating unit for determining a variable pixel amount in which the number of vertical pixels of the partial image is variable according to an input value input by the user within the maximum variable pixel amount;
A variable pixel amount applying unit that applies the calculated variable pixel amount to the partial partial image to increase or decrease the number of vertical pixels of the partial partial image to generate at least one variable partial image;
And an output unit for displaying on the display a second partial image group composed of at least one of the variable partial image and at least one or more of the partial images not stretched or contracted out of the first partial image group. Reconditioning device.
상기 합성부는 상기 장치를 사용하는 사용자의 입력에 따라 상기 제 2부분 이미지 그룹을 결합하여 상기 제 1가변 이미지를 생성하는 것을 특징으로 하는 이미지 재조정 장치.25. The method of claim 24,
Wherein the combining unit combines the second partial image group according to an input of a user using the apparatus to generate the first variable image.
상기 합성부는 상기 원본 이미지를 로딩하여 비트맵 이미지로 변환하여 제 2변환 이미지를 생성하고, 상기 제 2변환 이미지를 상기 제 1가변 이미지가 상기 제 1변환 이미지에서 가변된 것과 동일한 비율로 가변하여 제 2가변 이미지를 생성하여 상기 저장매체에 저장하는 저장부를 더 포함하는 것을 특징으로 하는 이미지 재조정 장치.39. The method of claim 37,
Wherein the combining unit converts the first transformed image into a bitmap image by loading the original image to generate a second transformed image, and transforms the second transformed image into a second transformed image by varying the ratio of the first variable transformed image in the first transformed image, Further comprising: a storage unit configured to generate a first variable image and to store the variable image in the storage medium.
상기 저장부는 상기 제 2가변 이미지를 상기 저장매체에 저장할 때, 상기 제 2가변 이미지를 상기 원본 이미지와 동일한 파일형식이거나 상기 제 2가변 이미지와 동일하지 않은 파일형식으로 변환하여 상기 저장매체에 저장하는 것을 특징으로 하는 이미지 재조정 장치.39. The method of claim 38,
Wherein the storage unit converts the second variable image into a file format that is the same as the original image or is not the same as the second variable image and stores the converted file in the storage medium when the second variable image is stored in the storage medium The image reconstruction apparatus comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020140125836A KR20160034640A (en) | 2014-09-22 | 2014-09-22 | 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 |
---|---|---|---|
KR1020140125836A KR20160034640A (en) | 2014-09-22 | 2014-09-22 | Method and device for readjusting image, and non-temporary computer-readable medium storing instructions for executing the same method |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20160034640A true KR20160034640A (en) | 2016-03-30 |
Family
ID=55660259
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020140125836A KR20160034640A (en) | 2014-09-22 | 2014-09-22 | 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) | KR20160034640A (en) |
-
2014
- 2014-09-22 KR KR1020140125836A patent/KR20160034640A/en active IP Right Grant
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5240795B2 (en) | Image deformation device, electronic device, image deformation method, and image deformation program | |
US9256951B2 (en) | System for rapid and accurate quantitative assessment of traumatic brain injury | |
JP2008015698A (en) | Display system, display method, and program | |
KR102228087B1 (en) | Method and apparatus for segmentation of specific cartilage in medical image | |
US20200219299A1 (en) | Picture marking method and apparatus, computer device, and computer readable storage medium | |
WO2019093457A1 (en) | Information processing device, information processing method and program | |
KR20150106330A (en) | Image display apparatus and image display method | |
CN111104837A (en) | Mobile device and related video editing method | |
EP2919187A2 (en) | Image processing apparatus and image processing method | |
KR20100006142A (en) | Image processing apparatus and image processing method | |
JPWO2014155745A1 (en) | Image processing apparatus, image processing method, information storage medium, and program | |
KR20160034640A (en) | Method and device for readjusting image, and non-temporary computer-readable medium storing instructions for executing the same method | |
JP6719945B2 (en) | Information processing apparatus, information processing method, information processing system, and program | |
JP4977243B2 (en) | Image processing apparatus, method, and program | |
JP6337680B2 (en) | Image processing system, image processing apparatus, program, and image processing method | |
US20170083761A1 (en) | Method and System for Identifying a Plurality of Reference Points in a Hand Drawing Track | |
KR101638498B1 (en) | Method and device for readjusting image, and non-temporary computer-readable medium storing instructions for executing the same method | |
JP5826966B2 (en) | Image processing apparatus, image processing method, information storage medium, and program | |
US20230046431A1 (en) | System and method for generating 3d objects from 2d images of garments | |
US9959637B2 (en) | Method and apparatus for processing border of computer figure to be merged into background image | |
KR102668161B1 (en) | Facial mesh deformation with fine wrinkles | |
Li et al. | Fast content-aware resizing of multi-layer information visualization via adaptive triangulation | |
CN111435969B (en) | Image processing apparatus, control method thereof, recording medium, and information processing system | |
KR101569861B1 (en) | Apparatus and method of adjusting scale of CAD objects | |
JP2007305139A5 (en) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E90F | Notification of reason for final refusal | ||
E701 | Decision to grant or registration of patent right |