KR101058043B1 - Image printing method, photo printing system and digital camera applied thereto - Google Patents
Image printing method, photo printing system and digital camera applied thereto Download PDFInfo
- Publication number
- KR101058043B1 KR101058043B1 KR1020080057017A KR20080057017A KR101058043B1 KR 101058043 B1 KR101058043 B1 KR 101058043B1 KR 1020080057017 A KR1020080057017 A KR 1020080057017A KR 20080057017 A KR20080057017 A KR 20080057017A KR 101058043 B1 KR101058043 B1 KR 101058043B1
- Authority
- KR
- South Korea
- Prior art keywords
- image
- area
- printing
- aspect ratio
- face
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Record Information Processing For Printing (AREA)
- Television Signal Processing For Recording (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
- Image Analysis (AREA)
- Studio Devices (AREA)
Abstract
본 발명에서는 이미지의 인쇄방법과, 그에 적용되는 포토 프린팅 시스템, 및 디지털 카메라가 개시된다. 상기 이미지의 인쇄방법은 인쇄대상이 되는 이미지상에 잠정적인 인쇄영역을 설정하는 단계, 페이퍼-풀 인쇄(paper-full printing) 옵션이 선택되었는지 판단하는 단계, 페이퍼-풀 옵션이 선택되었을 때, 이미지상에 촬영된 얼굴영역을 검출하는 단계, 검출된 얼굴영역이 인쇄영역 안으로 들어오는지의 여부를 판단하는 단계 및 상기 판단 결과에 따라 얼굴영역을 포함하도록 인쇄영역을 조정하는 단계;를 포함한다.
본 발명에 의하면, 인쇄대상이 되는 이미지의 화면비율과 인쇄용지 규격 간의 불일치로 인하여 이미지상에 촬영된 얼굴 영상이 짤린 상태로 인쇄되지 않도록, 이미지상에서 검출된 얼굴 영상의 위치에 기반하여 인쇄영역을 가변적으로 설정하는 것이 가능한 이미지의 인쇄방법과, 그에 적용되는 포토 프린팅 시스템, 및 디지털 카메라가 제공된다.
In the present invention, a method of printing an image, a photo printing system applied thereto, and a digital camera are disclosed. The printing method of the image may include setting a provisional print area on an image to be printed, determining whether a paper-full printing option is selected, or when the paper-full option is selected, Detecting a face area photographed on the image, determining whether the detected face area enters the print area, and adjusting the print area to include the face area according to the determination result.
According to the present invention, the printing area is based on the position of the face image detected on the image so that the face image photographed on the image is not cut out due to a mismatch between the aspect ratio of the image to be printed and the printing paper standard. Provided are a method of printing an image that can be variably set, a photo printing system applied thereto, and a digital camera.
Description
본 발명은 인쇄대상이 되는 이미지의 화면비율과 인쇄용지 규격 간의 불일치로 인하여 이미지상에 촬영된 얼굴 영상이 짤린 상태로 인쇄되지 않도록, 이미지상에서 검출된 얼굴 영상의 위치에 기반하여 인쇄영역을 가변적으로 설정하는 것이 가능한 이미지의 인쇄방법과, 그에 적용되는 포토 프린팅 시스템, 및 디지털 카메라에 관한 것이다.According to the present invention, the printing area is variably based on the position of the face image detected on the image so that the face image photographed on the image is not cut out due to a mismatch between the aspect ratio of the image to be printed and the printing paper standard. It relates to a printing method of an image which can be set, a photo printing system applied thereto, and a digital camera.
최근 잉크젯(ink jet) 방식, 열승화(dye sublimation transfer) 방식, 감열(direct thermal) 방식 등의 프린팅 기술을 적용하여, 카메라 등에서 촬영한 이미지를 인쇄하는 포토 프린터(photo printer)가 상용화되고 있다. 그런데, 카메라나 PC(Personnel Computer) 등에서는 4:3 화면비율을 갖는 이미지를 출력하는 것이 일반적인 반면, 포토 프린터는 3:2 비율의 인쇄용지를 지원하고 있어서, 카메라 등에서 촬영한 4:3 화면비율의 사진 화상을 3:2 인쇄용지상에 출력할 경우, 사진 화상과 인쇄용지의 규격 불일치(mismatch)로 인한 짤림이나 과도한 여백이 발생하게 된다.Recently, a photo printer for printing an image taken by a camera is commercially available by applying printing techniques such as an ink jet method, a dye sublimation transfer method, and a direct thermal method. However, while a camera or a personal computer (PC) generally outputs an image having a 4: 3 aspect ratio, a photo printer supports a 3: 2 aspect ratio printing paper, so a 4: 3 aspect ratio shot by a camera or the like is used. When a photographic image of 3 is printed on a 3: 2 sheet of paper, cuts or excessive margins occur due to a mismatch between the photographic image and the sheet of paper.
한편, 인쇄용지상에 이미지를 인쇄하는 옵션으로는 크게 두 가지가 있는데, 그 중 하나는 이른바 이미지-풀 인쇄(image-full printing)이고, 다른 하나는 페이퍼-풀 인쇄(paper-full printing)이다. 상기 이미지-풀 인쇄(image-full printing)에서는 이미지의 가장자리로 여백이 존재하도록 인쇄하는 방식을 말한다. 즉, 인쇄용지보다 조금 작은 사이즈로 축소하여 사진 화상을 인쇄함으로써, 이미지의 가장자리에 여백이 존재하게 되는 것이다. On the other hand, there are two main options for printing an image on printing paper, one of which is called image-full printing and the other is paper-full printing. The image-full printing refers to a method of printing such that a margin exists at the edge of the image. In other words, by printing the photographic image by reducing it to a size slightly smaller than the printing paper, a margin exists at the edge of the image.
이에 반하여, 상기 페이퍼-풀 인쇄(paper-full printing)에서는 통상 인쇄용지를 초과하는 조금 더 큰 사이즈로 확대하여 이미지를 인쇄함으로써 인쇄용지상에 여백이 존재하지 않게 된다. 상기 페이퍼-풀 인쇄(paper-full printing) 방식에서는, 이미지의 화면비율과 인쇄용지의 규격 간 불일치로 이미지의 상-하단 또는 좌-우측단으로 상당한 영상 정보가 짤리게 되므로, 특히 이미지상에 촬영된 인물의 얼굴 영상이 본의 아니게 짤리는 되는 문제가 있다.In contrast, in paper-full printing, there is no margin on the printing paper by printing the image by enlarging the image to a slightly larger size exceeding the printing paper. In the paper-full printing method, since considerable image information is cut off at the top-bottom or left-right end of the image due to a mismatch between the aspect ratio of the image and the specification of the printing paper, the image is particularly captured on the image. There is a problem that the face image of a person is cut unintentionally.
본 발명의 목적은 인쇄대상이 되는 이미지의 화면비율과 인쇄용지 규격 간의 불일치로 인하여 이미지상에 촬영된 얼굴 영상이 짤린 상태로 인쇄되지 않도록, 이미지상에서 검출된 얼굴 영상의 위치에 기반하여 인쇄영역을 가변적으로 설정하는 것이 가능한 이미지의 인쇄방법과, 그에 적용되는 포토 프린팅 시스템, 및 디지털 카메라를 제공하는 것이다.An object of the present invention is to print a print area based on the position of the face image detected on the image so that the face image photographed on the image is not printed in a cut state due to the inconsistency between the aspect ratio of the image to be printed and the printing paper standard. It is to provide a printing method of an image that can be variably set, a photo printing system applied thereto, and a digital camera.
상기와 같은 목적 및 그 밖의 목적을 달성하기 위한 이미지의 인쇄방법은, An image printing method for achieving the above and other objects,
인쇄대상이 되는 이미지상에 잠정적인 인쇄영역을 설정하는 단계;Setting a provisional print area on an image to be printed;
페이퍼-풀 인쇄(paper-full printing) 옵션이 선택되었는지 판단하는 단계;Determining whether a paper-full printing option is selected;
페이퍼-풀 옵션이 선택되었을 때, 이미지상에 촬영된 얼굴영역을 검출하는 단계;Detecting a face area captured on the image when the paper-pull option is selected;
검출된 얼굴영역이 인쇄영역 안으로 들어오는지의 여부를 판단하는 단계; 및Determining whether the detected face area enters the print area; And
상기 판단 결과에 따라 얼굴영역을 포함하도록 인쇄영역을 조정하는 단계;를 포함한다. And adjusting the print area to include the face area according to the determination result.
바람직하게, 상기 인쇄영역을 조정하는 단계는, Preferably, adjusting the print area,
a) 이미지의 형상비와 인쇄용지의 형상비 간의 대소 관계를 비교하는 단계; 및a) comparing the magnitude relationship between the aspect ratio of the image and the aspect ratio of the printing paper; And
b) 상기 대소 관계에 따라 인쇄영역을 이동시키는 단계;를 포함한다. b) moving the print area according to the magnitude relationship.
바람직하게, 상기 b) 인쇄영역을 이동시키는 단계에서는, Preferably, in the step b) moving the print area,
b-1) 이미지의 형상비 < 인쇄용지의 형상비 이면, 인쇄영역을 상방 또는 하방으로 이동시키고, b-1) If the aspect ratio of the image <the aspect ratio of the printing paper, the printing area is moved upward or downward,
b-2) 이미지의 형상비 > 인쇄용지의 형상비 이면서, 인쇄영역을 벗어난 얼굴영역이 이미지상의 좌우 어느 한 편에만 존재할 때에는 인쇄영역을 좌측 또는 우측으로 이동시키고, b-2) When the aspect ratio of the image> the aspect ratio of the printing paper and the face area outside the printing area exists only on one of the left and right sides of the image, shift the printing area to the left or right,
b-3) 이미지의 형상비 > 인쇄용지의 형상비 이면서, 인쇄영역을 벗어난 제1, 제2 얼굴영역이 이미지상의 좌우 양편에 존재할 때에는, 사용자에게 경고 메세지와 함께, 인쇄에서 배제되는 영역을 표시해준다. b-3) The aspect ratio of the image > the aspect ratio of the printing paper, when the first and second face regions outside the printing area exist on both sides of the image, the user is displayed with a warning message and an area excluded from printing.
바람직하게, 상기 b-1) 인쇄영역을 상방 또는 하방으로 이동시키는 단계에서는, 이미지로부터 검출된 얼굴영역에서 눈 영역의 제1 수직높이(Py1)와, 눈-입 영역 간의 거리(h1)와, 가중치(α)로부터 얻어지는 제2 수직높이(Py2) 상에, 인쇄영역의 상단이 일치하도록 인쇄영역을 상방으로 이동시킨다. 여기서, Py2 = Py1 + h1 x αPreferably, in the step b-1) moving the printing area upward or downward, the first vertical height Py1 of the eye area and the distance h1 between the eye-mouth area in the face area detected from the image, On the second vertical height Py2 obtained from the weight α, the print area is moved upward so that the upper end of the print area coincides. Where Py2 = Py1 + h1 x α
바람직하게, 상기 b-2) 인쇄영역을 좌측 또는 우측으로 이동시키는 단계에서는, 인쇄영역을 벗어난 얼굴영역이 존재하는 좌측 또는 우측 방향으로 인쇄영역을 이동시킨다.Preferably, in the step b-2) moving the print area to the left or right, the print area is moved to the left or right direction in which the face area outside the print area exists.
바람직하게, 상기 b-3) 사용자에게 경고 메세지를 표시하는 단계에서는, 사용자의 입력에 따라 인쇄영역을 설정한다.Preferably, in the step b-3) of displaying a warning message to the user, a print area is set according to a user input.
한편, 상기 얼굴영역을 검출하는 단계에서는, 해당 이미지에 부대하는 Exif 정보로부터 얼굴영역의 위치에 관한 정보를 추출 판독하거나, 또는 영상 처리(image processing)를 통하여 얼굴영역을 추출해낼 수 있다. In the detecting of the face region, information about the position of the face region may be extracted or read from the Exif information accompanying the corresponding image, or the face region may be extracted through image processing.
한편, 본 발명의 다른 측면에 따른 포토 프린팅 시스템은, On the other hand, the photo printing system according to another aspect of the present invention,
이미지 저장장치와 출력장치를 갖추고 이미지 저장장치로부터 수신된 데이터를 인쇄 출력하는 포토 프린팅 시스템으로서, A photo printing system having an image storage device and an output device, which prints out data received from the image storage device.
상기 이미지 저장장치는,The image storage device,
이미지상에 촬영된 얼굴영역을 검출해내는 얼굴영역 추출부;A face region extracting unit detecting a face region photographed on the image;
검출된 얼굴영역이 인쇄영역 안으로 들어오는지 여부를 판단하는 인쇄영역 적정 판단부; 및A print area proper determination unit that determines whether the detected face area enters the print area; And
상기 인쇄영역 적정 판단부의 출력에 따라 얼굴영역을 포함하도록 인쇄영역을 조정해주는 제어부;를 포함한다.And a controller configured to adjust the print area to include the face area according to the output of the print area proper determination unit.
바람직하게, 상기 포토 프린팅 시스템은 이미지의 형상비와 인쇄용지의 형상비 간의 대소 관계를 비교하는 이미지/용지 형상비 비교부를 더 구비하며, Preferably, the photo printing system further comprises an image / paper aspect ratio comparing unit for comparing the magnitude relationship between the aspect ratio of the image and the aspect ratio of the printing paper,
상기 제어부는 상기 이미지/용지 형상비 비교부의 출력에 기초하여 인쇄영역을 조정한다. The controller adjusts a print area based on the output of the image / paper aspect ratio comparator.
이때, 상기 제어부는, At this time, the control unit,
이미지의 형상비 < 인쇄용지의 형상비이면, 인쇄영역을 상방 또는 하방으로 이동시키고, If the aspect ratio of the image is <the aspect ratio of the printing paper, the printing area is moved upward or downward,
이미지의 형상비 > 인쇄용지의 형상비이면서, 인쇄영역을 벗어난 얼굴영역이 이미지상의 좌우 어느 한 편에만 존재할 때에는 인쇄영역을 좌측 또는 우측으로 이동시키며,When the aspect ratio of the image> the aspect ratio of the printing paper and the face area outside the print area exists only on one of the left and right sides of the image, the print area is moved left or right.
이미지의 형상비 > 인쇄용지의 형상비이면서, 인쇄영역을 벗어난 제1, 제2 얼굴영역이 이미지상의 좌우 양편에 존재할 때에는, 사용자에게 경고 메세지와 함께, 인쇄에서 배제되는 영역을 표시해줄 수 있다. When the first and second face areas outside the print area, which are the aspect ratio of the image> the print paper, exist on both left and right sides of the image, the user can display the area excluded from the printing along with a warning message.
본 발명의 일 실시 형태에서, 상기 출력장치는 포토 프린터이고, 상기 이미지 저장장치는 피사체의 영상을 포착하여 영상 데이터화하기 위한 구조를 갖추고, 상기 포토 프린터에 대해 저장된 이미지를 전달해주는 디지털 카메라가 된다. In one embodiment of the present invention, the output device is a photo printer, and the image storage device has a structure for capturing an image of a subject and converting the image data into a digital camera for delivering the stored image to the photo printer.
본 발명의 다른 실시 형태에서, 상기 출력장치는 공공장소에 설치되어 인쇄 출력 서비스를 제공하는 포토 키오스크이며, 상기 이미지 저장장치는 인터넷 통신망을 통하여 저장된 이미지를 전송해주는 사용자의 단말기가 된다. In another embodiment of the present invention, the output device is a photo kiosk installed in a public place to provide a print output service, and the image storage device is a user's terminal for transmitting stored images through an internet communication network.
본 발명의 또 다른 실시 형태에서, 상기 출력장치는 공공장소에 설치되어 인쇄 출력 서비스를 제공하는 포토 키오스크이며, 상기 이미지 저장장치는 인터넷 통신망을 통하여 사용자가 업로드하여 저장해둔 이미지를 전송해주는 웹 서버가 된다. In another embodiment of the present invention, the output device is a photo kiosk installed in a public place to provide a print output service, the image storage device is a web server for transmitting the image uploaded and stored by the user through an Internet communication network; do.
한편, 본 발명의 또 다른 측면에 따른 포토 프린팅 시스템은,On the other hand, the photo printing system according to another aspect of the present invention,
이미지 저장장치와 출력장치를 갖추고 이미지 저장장치에서 수신된 데이터를 인쇄 출력하는 포토 프린팅 시스템으로서, A photo printing system having an image storage device and an output device, which prints out data received from the image storage device.
상기 출력장치는,The output device,
이미지상에 촬영된 얼굴영역을 검출해내는 얼굴영역 추출부;A face region extracting unit detecting a face region photographed on the image;
검출된 얼굴영역이 인쇄영역 안으로 들어오는지 여부를 판단하는 인쇄영역 적정 판단부; 및A print area proper determination unit that determines whether the detected face area enters the print area; And
상기 인쇄영역 적정 판단부의 출력에 따라 얼굴영역을 포함하도록 인쇄영역을 조정해주는 제어부;를 포함한다. And a controller configured to adjust the print area to include the face area according to the output of the print area proper determination unit.
바람직하게, 상기 포토 프린팅 시스템은, 이미지의 형상비와 인쇄용지의 형상비 간의 대소 관계를 비교하는 이미지/용지 형상비 비교부를 더 구비하고, Preferably, the photo printing system further comprises an image / paper aspect ratio comparing unit for comparing the magnitude relationship between the aspect ratio of the image and the aspect ratio of the printing paper,
상기 제어부는 상기 이미지/용지 형상비 비교부의 출력에 기초하여, 인쇄영역을 조정한다. The controller adjusts a print area based on the output of the image / paper aspect ratio comparator.
이때, 상기 제어부는, At this time, the control unit,
이미지의 형상비 < 인쇄용지의 형상비이면, 인쇄영역을 상방 또는 하방으로 이동시키고, If the aspect ratio of the image is <the aspect ratio of the printing paper, the printing area is moved upward or downward,
이미지의 형상비 > 인쇄용지의 형상비이면서, 인쇄영역을 벗어난 얼굴영역이 이미지상의 좌우 어느 한 편에만 존재할 때에는 인쇄영역을 좌측 또는 우측으로 이동시키며, When the aspect ratio of the image> the aspect ratio of the printing paper and the face area outside the print area exists only on one of the left and right sides of the image, the print area is moved left or right.
이미지의 형상비 > 인쇄용지의 형상비이면서, 인쇄영역을 벗어난 제1, 제2 얼굴영역이 이미지상의 좌우 양편에 존재할 때에는, 사용자에게 경고 메세지와 함께, 인쇄에서 배제되는 영역을 표시해줄 수 있다. When the first and second face areas outside the print area, which are the aspect ratio of the image> the print paper, exist on both left and right sides of the image, the user can display the area excluded from the printing along with a warning message.
본 발명의 일 실시 형태에서, 상기 출력장치는 포토 프린터이고, 상기 이미지 저장장치는 피사체의 영상을 포착하여 영상 데이터화하기 위한 구조를 갖추고, 상기 포토 프린터에 대해 저장된 이미지를 전달해주는 디지털 카메라가 된다.In one embodiment of the present invention, the output device is a photo printer, and the image storage device has a structure for capturing an image of a subject and converting the image data into a digital camera for delivering the stored image to the photo printer.
본 발명의 다른 실시 형태에서, 상기 출력장치는 포토 프린터이고, 상기 이미지 저장장치는 상기 포토 프린터에 접속되어 저장된 이미지를 전송해주는 소형 메모리 디바이스가 된다. In another embodiment of the present invention, the output device is a photo printer, and the image storage device is a small memory device connected to the photo printer and transmitting the stored image.
본 발명의 또 다른 실시 형태에서, 상기 출력장치는 공공장소에 설치되어 인쇄 출력 서비스를 제공하는 포토 키오스크이고, 상기 이미지 저장장치는 인터넷 통신망을 통하여 저장된 이미지를 전송해주는 사용자의 단말기가 된다. In another embodiment of the present invention, the output device is a photo kiosk installed in a public place to provide a print output service, and the image storage device is a user terminal for transmitting stored images through an internet communication network.
본 발명의 또 다른 실시 형태에서, 상기 출력장치는 공공장소에 설치되어 인쇄 출력 서비스를 제공하는 포토 키오스크이며, 상기 이미지 저장장치는 인터넷 통 신망을 통하여 사용자가 업로드하여 저장해둔 이미지를 전송해주는 웹 서버가 된다. In another embodiment of the present invention, the output device is a photo kiosk installed in a public place to provide a print output service, the image storage device is a web server for transmitting the image uploaded and stored by the user through the Internet communication network Becomes
본 발명의 또 다른 실시 형태에서, 상기 출력장치는 공공장소에 설치되어 인쇄 출력 서비스를 제공하는 포토 키오스크이며, 상기 이미지 저장장치는 상기 포토 키오스크에 접속되어 저장된 이미지를 전송해주는 휴대용 착탈식 메모리가 된다. In another embodiment of the present invention, the output device is a photo kiosk installed in a public place to provide a print output service, and the image storage device is a portable removable memory connected to the photo kiosk to transmit stored images.
한편, 본 발명의 다른 측면에 따른 디지털 카메라는, On the other hand, the digital camera according to another aspect of the present invention,
인쇄작업을 위해 저장된 이미지를 출력장치로 전달해주는 한편으로, 이미지상에 포착된 얼굴 영상이 짤리지 않도록 인쇄영역을 조정해주는 디지털 카메라로서, It is a digital camera that transmits the stored image to the output device for printing, and adjusts the printing area so that the face image captured on the image is not cut.
이미지상에 촬영된 얼굴영역을 검출해내는 얼굴영역 추출부;A face region extracting unit detecting a face region photographed on the image;
검출된 얼굴영역이 인쇄영역 안으로 들어오는지 여부를 판단하는 인쇄영역 적정 판단부; 및A print area proper determination unit that determines whether the detected face area enters the print area; And
상기 인쇄영역 적정 판단부의 출력에 따라 얼굴영역을 포함하도록 인쇄영역을 조정해주는 제어부;를 포함한다. And a controller configured to adjust the print area to include the face area according to the output of the print area proper determination unit.
바람직하게, 상기 디지털 카메라는 이미지의 형상비와 인쇄용지의 형상비 간의 대소 관계를 비교하는 이미지/용지 형상비 비교부를 더 구비하며, Preferably, the digital camera further comprises an image / paper aspect ratio comparing unit for comparing the magnitude relationship between the aspect ratio of the image and the aspect ratio of the printing paper,
상기 제어부는 상기 이미지/용지 형상비 비교부의 출력에 기초하여 인쇄영역을 조정한다. The controller adjusts a print area based on the output of the image / paper aspect ratio comparator.
이때, 상기 제어부는, At this time, the control unit,
이미지의 형상비 < 인쇄용지의 형상비이면, 인쇄영역을 상방 또는 하방으로 이동시키고, If the aspect ratio of the image is <the aspect ratio of the printing paper, the printing area is moved upward or downward,
이미지의 형상비 > 인쇄용지의 형상비이면서, 인쇄영역을 벗어난 얼굴영역이 이미지상의 좌우 어느 한 편에만 존재할 때에는 인쇄영역을 좌측 또는 우측으로 이동시키며, When the aspect ratio of the image> the aspect ratio of the printing paper and the face area outside the print area exists only on one of the left and right sides of the image, the print area is moved left or right.
이미지의 형상비 > 인쇄용지의 형상비이면서, 인쇄영역을 벗어난 제1, 제2 얼굴영역이 이미지상의 좌우 양편에 존재할 때에는, 사용자에게 경고 메세지와 함께, 인쇄에서 배제되는 영역을 표시해줄 수 있다. When the first and second face areas outside the print area, which are the aspect ratio of the image> the print paper, exist on both left and right sides of the image, the user can display the area excluded from the printing along with a warning message.
본 발명에 의하면, 인쇄대상이 되는 이미지의 화면비율과 인쇄용지 규격 간의 불일치로 인하여 이미지상에 촬영된 얼굴 영상이 짤린 상태로 인쇄되지 않도록, 이미지상에서 검출된 얼굴 영상이 인쇄영역에 포함되는가에 따라 인쇄영역의 조정 여부를 검토하며, 구체적인 인쇄 조건에 따라 인쇄영역을 가변적으로 설정한다. 이에 따라, 인쇄대상이 되는 이미지의 화면비율과 인쇄용지 규격 간의 일치 여부나 인쇄 옵션에 무관하게 얼굴 영상의 온전한 인쇄가 보장된다. According to the present invention, according to whether the face image detected on the image is included in the print area so that the face image photographed on the image is not cut out due to a mismatch between the aspect ratio of the image to be printed and the printing paper standard. Examine whether the print area is adjusted or not and set the print area variably according to specific printing conditions. Accordingly, intact printing of the face image is ensured regardless of whether the aspect ratio of the image to be printed and the printing paper standard match or the printing option.
이하, 본 발명의 바람직한 일 실시 형태에 관한 이미지의 인쇄방법 및 이에 적용되는 포토 프린팅 시스템에 대해 설명하기로 한다. 도 1에 도시된 바와 같이, 본 발명에 따른 포토 프린팅 시스템(100)은 인쇄 출력장치로서의 포토 프린터(110)와, 인쇄대상이 되는 사진 영상을 저장하고 있는 이미지 저장장치로서의 디지털 카메라(120)를 포함한다. 상기 포토 프린터(110)와 디지털 카메라(120)는 상호 간의 통신을 위하여, USB(Universal Serial Bus, 범용직렬버스) 케이블 등의 통신수단(150)으로 서로 연결되어 있다. 이때, 상기 포토 프린터(110)와 디지털 카메라(120)의 접속에 대해서는 USB 등의 유선 접속 이외에, Bluetooth, WI-FI, wirelessLAN 등의 무선 접속도 고려하므로, 별도의 통신수단(150)이 필요하지 않을 수 있다. 한편, 상기 통신수단(150)은 인터넷 등의 네트워크 통신망으로 구성될 수 있으며, 포토 프린터(110)와 디지털 카메라(120)는 네트워크 통신망을 통하여 연결될 수 있다.Hereinafter, a method of printing an image according to a preferred embodiment of the present invention and a photo printing system applied thereto will be described. As shown in FIG. 1, the
도 2에는 도 1에 도시된 포토 프린터(110) 및 디지털 카메라(120)의 기능적 구성에 관한 블록 구성도가 도시되어 있다. 도면을 참조하면, 상기 포토 프린터(110)는 통신제어부(111), 메모리부(118), 인쇄부(119), 그리고 이들 각부를 제어하기 위해 CPU 등으로 구성되는 프린터 DSP(Digital Signal Processor,115)를 기본적으로 포함한다.FIG. 2 is a block diagram showing the functional configuration of the
상기 통신제어부(111)는 디지털 카메라(120)와 연결되는 통신 인터페이스로서, 인쇄 제어명령의 송수신과, 인쇄대상으로 선정된 영상 데이터의 전달을 매개하며, USB 포트, 카드 리더기 포트 등을 제공할 수 있고, USB 접속을 위한 디바이스 콘트롤러 또는 와이어리스(wireless) 무선 통신을 위한 무선 통신 모듈을 내장할 수 있다.The
상기 메모리부(118)는 디지털 카메라(120)로부터 수신된 인쇄데이터를 일시적으로 저장하는 한편으로, 저장된 인쇄데이터를 출력상황의 진전에 따라 인쇄부(119)로 전달해주는 일종의 버퍼링 역할을 수행한다. 상기 인쇄부(119)는 메모리 부(118)에 존재하는 예약된 인쇄 작업을 수행하는 것으로, 인쇄용지상의 발색 물질을 선택적으로 가열하여 소정화상을 표현하는 열 전사 화상형성 메커니즘, 감광드럼 상에 형성된 정전 잠상의 전위차를 이용하는 전자사진 화상형성 메커니즘, 또는 인쇄용지상에 잉크 액적을 토출 분사하는 잉크젯 화상형성 메커니즘을 포함하여, 여타의 다른 메커니즘으로 구현될 수 있다. 상기 키 입력부(113)는 사용자의 조작에 따라 소정의 명령을 생성하여 프린터 DSP(115)에 전달한다. 키 입력부(113)는 프린터(110)의 전원을 온/오프하는 전원 버튼, 인쇄 작업을 중지하는 인쇄 중지 키, 인쇄조건의 설정에 관한 설정 모드 전환 키 등을 포함할 수 있다. The
한편, 상기 디지털 카메라(120)는 포토 프린터(110)와 연결되는 통신 인터페이스로서의 통신제어부(121), 입출력 장치로서의 사용자 입력부(123)와 디스플레이 패널(124), 사진 영상을 저장하고 있는 메모리부(131), 사진 영상에 수반된 부대정보를 추출하는 Exif 정보처리부(122), 사진 영상 내에서 얼굴영역을 추출해내는 얼굴영역 추출부(128), 얼굴영역의 짤림 여부를 판단하는 인쇄영역 적정 판단부(127), 인쇄영역의 재설정을 위한 기준을 제공하는 이미지/용지 형상비 비교부(126), 그리고 이들 각부를 총괄적으로 제어하기 위한 카메라 DSP(Digital Sginal Processor,125)를 포함한다. 이외에, 상기 디지털 카메라(120)는 다수의 광학 렌즈들로 이루어진 광학 유닛(OPC)과 함께, 그 출력신호를 처리하여 사진 영상에 관한 디지털 데이터를 취득하기 위해 CCD(Charge Coupled Device) 또는 CMOS(Complementary Metal-Oxide-Semiconductor) 등의 광전 변환부(OEC), A/D 컨버터(ADC), 구동회로, 신호처리회로 등을 포함하는 화상취득부(132)를 구비한다. The
상기 카메라 DSP(125)는 사진 인쇄 절차에 관한 전반적인 제어를 담당하는데, 보다 구체적으로, 메모리부(131)에 저장된 이미지를 화면상에 표시함으로써, 인쇄대상을 선정하기 위한 사용자의 입력을 안내하고, 인쇄대상으로 선택된 이미지를 포토 프린터(110)가 인식 가능한 포멧의 인쇄데이터로 변환하여 포토 프린터(110)로 전송한다. 특히, 상기 카메라 DSP(125)는 이미지상에 포착된 얼굴 영상의 전부 또는 그 일부가 짤린 상태로 출력되지 않도록, 소정의 조건하에서 인쇄영역을 조정하는 일련의 처리과정을 수행하게 된다. 즉, 인쇄용지상에 여백을 두지 않는 페이퍼-풀 인쇄(paper-full printing) 옵션이 선택되었을 때, 통상적인 인쇄 방식에 따르면 얼굴 영상의 일부가 짤린 상태로 출력될 가능성이 높다. 상기 카메라 DSP(125)는 이미지상에 포착된 얼굴 영상을 인식하는 한편으로, 인식된 얼굴 영상을 포함하도록 인쇄영역을 이동시키게 된다. The
상기 얼굴영역 추출부(128)는 얼굴인식 알고리즘을 수행함으로써 영상 이미지 내로부터 얼굴영역을 추출하고, 추출된 얼굴영역에 대한 위치정보를 카메라 DSP(125)에 제공한다. 예를 들어, 상기 얼굴영역 추출부(128)는 입력된 대상 이미지로부터 고주파 잡음 성분을 제거하는 저주파 통과 필터링, RGB 색상정보를 YCrCb 공간으로 변환하는 컬러 스페이스 변환, 조명환경 변화에 따른 얼굴 인식률의 차이를 상쇄하기 위한 조도보정 등을 통하여 입력된 이미지를 얼굴추출에 용이한 이미지로 변환하여 인식율을 높이는 전처리 과정(preprocessing)을 수행한다. 그리고, 이렇게 전처리된 이미지로부터 에지 정보를 추출하고 얼굴인식 기법을 적용함으로써, 얼굴의 윤곽선, 눈, 코, 입 등을 포함하는 특징요소를 검출할 수 있고, 검출된 특징요소에 따라 얼굴영역을 산출해낼 수 있다. 이렇게 산출된 얼굴영역은, 디스플레이 패널(124)에 표시된 이미지상에서 사각형 프레임 형태로 표시될 수 있다. The
상기 인쇄영역 적정 판단부(127)는 추출된 얼굴영역이 1차적으로 설정된 인쇄영역 안으로 들어오는지 여부를 판단하고, 판단 결과를 카메라 DSP(125)로 출력함으로써, 인쇄영역의 재설정 여부를 결정하도록 한다. 즉, 인식된 얼굴영역이 인쇄영역을 벗어나는 것으로 판단되면, 카메라 DSP(125)는 인쇄영역에 대한 조정작업에 착수하는데, 이미지/용지 형상비 비교부(126)의 출력에 따라 서로 다른 기준을 적용하여 인쇄영역을 조정하게 된다. 상기 이미지/용지 형상비 비교부(126)는 이미지의 화면비율(폭:높이의 형상 비율)과, 인쇄용지의 규격(폭:높이의 형상 비율) 간의 상호 대소관계를 검토하여 그 결과를 카메라 DSP(125)로 출력한다. 출력된 데이터는 카메라 DSP(125)가 해당 이미지상에 인쇄영역을 어떻게 조정할 것인지에 대한 중요한 기준을 제공하는데, 이에 관한 상세한 설명은 후술하기로 한다.The print area
한편, 상기 메모리부(131)에 저장된 JPEG 포멧의 영상 데이터는 Exif 헤더 정보를 포함한다. 상기 Exif 정보는, 예를 들어, 명도, 채도, 색상 등의 색 공간 정보, 촬영일시, 플래시 작동 여부, 이미지 사이즈 등에 관한 촬영정보를 포함할 수 있으며, 특히 본 발명과 관련하여 상기 Exif 정보의 일 항목으로 얼굴인식정보를 기록해둘 수 있다. 그리고, 기록된 얼굴인식정보를 활용하면, 별도의 영상 처리(image processing)가 없이도, 정확한 얼굴영역의 위치 및 사이즈를 인식하는 것이 가능하다. 즉, Exif 정보처리부(122)를 가동하여 Exif 정보를 판독하고, 얼굴 영상의 존재 여부와, 얼굴 영상의 위치나 크기에 관한 정보를 추출하여 카메라 DSP(125)로 출력하면, 카메라 DSP(125)는 입수된 정보를 바탕으로, 얼굴 영상이 짤리지 않도록 적정의 인쇄영역을 설정할 수 있다. 한편, 상기 사용자 입력부(123)는 디지털 카메라(120)의 모드 전환을 위한 모드 선택 키와, 커서의 이동이나, 인쇄영역의 이동을 지시하기 위한 4 방향 기능 키와, 선택-확인 키 등 다수의 조작 버튼들을 포함할 수 있다. Meanwhile, the image data of the JPEG format stored in the
이하에서는 본 발명에 따른 이미지의 인쇄방법에 대해 설명하기로 하는데, 먼저 본 발명에 적용된 기술적 원리에 대해 설명하기로 한다. 도 3 및 도 4는 페이퍼-풀 인쇄(paper-full printing) 옵션에서 인쇄용지(Pa)상에 전사되는 이미지(Im)의 배치를 보여주는 도면들이다. 그 중, 도 3은 이미지(Im)의 화면비율(폭:높이)과, 인쇄용지(Pa)의 규격에 따른 형상비(폭:높이)를 비교하여, 이미지(Im)의 화면비율(예, 4:3) < 인쇄용지(Pa)의 형상비(예, 3:2)인 경우를 도시한 것이다. 도 3에서 볼 수 있듯이, 이미지(Im)와 인쇄용지(Pa) 간의 중심선(C)을 상호 정렬시키는 종래 인쇄방식에서는 이미지(Im)의 상단 부분이 인쇄용지(Pa)에서 이탈되어, 인쇄시 인물 영상의 일부가 짤리게 된다. 이것은 이미지(Im)와 인쇄용지(Pa) 간에 센터 위치를 서로 일치시켜 인쇄하는 통상의 인쇄 절차에 따른 결과이며, 인쇄용지를 상대적으로 상향 이동시킴으로써, 인물 영상에 대한 온전한 인쇄가 가능하게 된다. 이때, 인쇄용지(Pa)의 조정 범위에 관하여서는 사각형 프레임으로 표시된 얼굴영역(F) 내에서 획득된 특징요소들 간의 수직거리(h1)를 참조하여 조정 정도를 결정할 수 있다. 그 일 예로서, 눈 영역의 제1 수직높이(Py1)와, 눈-입 영역 간의 거 리(h1)와, 가중치(α)로부터 이하의 수학식 1로 얻어지는 제2 수직높이(Py2)에 인쇄용지의 상단이 일치하도록 상향 이동시킨다(즉, 인쇄용지(Pa)의 중심선을 C -> C`으로 이동).Hereinafter, a method of printing an image according to the present invention will be described. First, the technical principle applied to the present invention will be described. 3 and 4 show the arrangement of an image Im transferred onto a printing paper Pa in a paper-full printing option. Among them, FIG. 3 compares the aspect ratio (width: height) of the image Im with the aspect ratio (width: height) according to the specification of the printing paper Pa, and compares the aspect ratio (eg, 4) of the image Im. : 3) <The shape ratio of printing paper Pa (for example, 3: 2) is shown. As can be seen in Figure 3, in the conventional printing method of aligning the center line (C) between the image (Im) and the printing paper (Pa), the upper portion of the image (Im) is separated from the printing paper (Pa), the person at the time of printing Part of the video is cut off. This is a result of the usual printing procedure of printing by matching the center position between the image Im and the printing paper Pa with each other, and by moving the printing paper relatively upward, intact printing on the portrait image is possible. In this case, with respect to the adjustment range of the printing paper Pa, the degree of adjustment may be determined by referring to the vertical distance h1 between the feature elements acquired in the face area F indicated by the rectangular frame. As an example, printing is performed on the first vertical height Py1 of the eye area, the distance h1 between the eye-mouth area, and the second vertical height Py2 obtained from Equation 1 from the weight α. Move upward so that the top of the paper coincides (i.e., move the centerline of the print paper Pa to C-> C`).
통상적인 인물 형상을 고려하여, 눈~입까지의 수직거리와 눈~머리끝까지의 수직거리가 동등할 경우, 상기 가중치(α)는 1로 설정될 수 있다. In consideration of the general figure of the person, when the vertical distance from the eyes to the mouth and the vertical distance from the eyes to the head are equal, the weight α may be set to one.
이렇게 얼굴영역이 짤리지 않도록 적정의 인쇄영역(인쇄용지 Pa에 해당)이 설정되고 나면, 전체 이미지 중에서 인쇄영역을 벗어난 부분은 제거되고(trimming), 인쇄영역만을 추출하여 포토 프린터(110)로 전달함으로써 인쇄작업이 개시되도록 한다. 예시된 바와 같이 인쇄영역이 설정되었다면, 화면의 대각방향을 따라 시작점(5,0)과 끝점(395,260)으로 정의될 수 있는 인쇄영역에 관한 부분만을 추출하여 포토 프린터(110)로 전달할 수 있다. 대안으로, 전체 이미지에 대한 데이터를 전송하면서 인쇄영역에 관한 영역정보를 함께 부대시켜서 포토 프린터(110)로 전달하는 것도 고려될 수 있다. 이때, 인쇄영역에 관한 영역정보는 인쇄영역의 시작점(pX,pY)과, 상기 시작점을 기준으로 한 인쇄영역의 폭과 높이(pW,pH)에 관한 좌표값 (pX,pY,pW,pH)=(5,0,390,260)을 포함할 수 있다. After the proper print area (corresponding to the print paper Pa) is set to prevent the face area from being cut, the part out of the print area of the entire image is removed (trimming), and only the print area is extracted and transferred to the
한편, 도 4는 이미지(Im)의 화면비율(폭:높이)과, 인쇄용지(Pa)의 규격에 따른 형상비(폭:높이)를 비교하여, 이미지(Im)의 화면비율(예, 16:9) > 인쇄용지(Pa)의 형상비(예, 3:2)인 경우를 도시한 것으로, 페이퍼-풀 인쇄시 이미지(Im)의 좌측 및/또는 우측 부분이 인쇄용지(Pa)에서 이탈되어 짤리게 된다. 이때에는 인쇄용지(Pa)를 좌측 또는 우측으로 이동시킴으로써, 인물 영상에 대한 온전한 인쇄가 가능하다. 보다 구체적으로, 사각형 프레임으로 표시된 얼굴영역(F)이 인쇄용지(Pa) 안쪽으로 들어오는지에 대해 판단하고, 만일 좌측 편 얼굴영역(F)과 우측 편 얼굴영역(F) 중에서 좌/우 어느 한편만이 잘리게 된다면, 인쇄용지(Pa)를 좌/우측으로 이동시키면 된다. 만일, 좌/우 양편의 얼굴영역(F)이 모두 잘리게 된다면, 이때에는 사전에 입력된 프로세스에 따라 인쇄용지(Pa)의 이동이 자동으로 수행될 수는 없으며, 사용자에 대해 경고 메세지를 출력함과 동시에, 인쇄에서 배제되는 영역을 표시해줌으로써, 사용자의 입력에 따라 인쇄절차가 수행될 수 있다.On the other hand, Figure 4 compares the aspect ratio (width: height) of the image (Im) and the aspect ratio (width: height) according to the standard of the printing paper (Pa), the aspect ratio of the image Im (eg, 16: 9)> When the ratio of the printing paper (Pa) (e.g., 3: 2) is shown, the left and / or right portions of the image Im are separated from the printing paper (Pa) during paper-pull printing. It becomes. At this time, by moving the printing paper (Pa) to the left or right, intact printing on the person image is possible. More specifically, it is determined whether the face area F indicated by the rectangular frame enters the inside of the printing paper Pa, and if only one of the left and right face areas F and the right face area F is included, If this is to be cut, the printing paper Pa may be moved left / right. If both of the left and right face areas F are cut off, the printing paper Pa cannot be moved automatically according to a previously input process, and a warning message is output to the user. At the same time, by displaying an area excluded from printing, a printing procedure may be performed according to a user input.
한편, 본 발명에서는 인쇄대상 이미지에 대해 영상 처리(image processing)를 적용하여 얼굴영역을 추출하는 것이 가능한 한편으로, 인쇄대상이 되는 데이터에 부대한 Exif 정보로서 얼굴인식정보가 기록되어 있는 때에는 이를 판독하여 이미지상에 존재하는 얼굴 위치를 정확하게 파악할 수 있다. 즉, 얼굴영역을 추출하기 위한 영상 처리가 불필요한 것이다. 구체적으로, JPEG 포멧의 영상 데이터는 도 5에 도시된 바와 같이, Exif 헤더 영역(Exif), 썸네일 이미지 데이터 영역(Thumnail image Data), 원 이미지 데이터 영역(Original image Data), 스크린네일 이미지 데이터 영역(Screennail image Data)을 포함하는 데이터 구조를 가질 수 있다. 상기 Exif 헤더 영역에는 해당 영상에 대한 속성 정보를 기록해둘 수 있는데, 특히, 본 발명과 관련하여 얼굴인식정보를 기록해둘 수 있다. On the other hand, in the present invention, it is possible to extract the face region by applying image processing to the image to be printed, and when the face recognition information is recorded as Exif information accompanying the data to be printed, it is read out. To accurately determine the location of the face on the image. That is, image processing for extracting a face region is unnecessary. In detail, as shown in FIG. 5, the image data of the JPEG format includes an Exif header area Exif, a thumbnail image data area, an original image data area, and a screen thumbnail image data area. Screen image data). In the Exif header area, attribute information of a corresponding video may be recorded. In particular, face recognition information may be recorded in relation to the present invention.
도 6에는 Exif의 얼굴인식정보에 기록된 각 데이터 항목 및 해당 항목에 저 장되는 데이터 값이 예시되어 있다. "Face_NUM" 항목은 각 이미지 내에 촬영된 얼굴의 숫자를 의미하고, "Face_Start_Pt" 항목은 화면좌표 상에서 얼굴 시작점의 위치를 의미하는 것으로, (X1,Y1) 또는 (X2,Y2)는 화소 배열에 근거한 화면 좌표계를 기준으로 각각 시작점에 해당되는 수평 좌표값 및 수직 좌표값의 조합을 나타낸다. 그리고, "Face_Size"는 얼굴영역의 크기를 의미하는 것으로, (A1,B1) 또는 (A2,B2)은 각각 얼굴 시작점으로부터 계산된 수평길이 및 수직길이의 조합을 나타낸다. 또한, "Face_Name","Face_Mobile_Num","Face_EMail_Addr" 은 각기 얼굴이 촬영된 사람의 이름, 휴대폰 번호, 이메일 주소에 대한 세부 항목들을 의미한다.6 illustrates each data item recorded in the face recognition information of Exif and the data values stored in the item. "Face_NUM" means the number of faces taken in each image, and "Face_Start_Pt" means the position of the face starting point on the screen coordinates. (X1, Y1) or (X2, Y2) is based on the pixel array. A combination of a horizontal coordinate value and a vertical coordinate value corresponding to a starting point, respectively, is displayed based on the screen coordinate system. And "Face_Size" means the size of the face area, (A1, B1) or (A2, B2) represents the combination of the horizontal length and the vertical length calculated from the face starting point, respectively. Also, "Face_Name", "Face_Mobile_Num", and "Face_EMail_Addr" mean details of the name, mobile phone number, and email address of the person whose face is taken.
도 7은 이미지의 출력을 위해 상호 협력하는 포토 프린터(110)와 디지털 카메라(120)의 교신 내용을 개략적으로 도시한 도면이다. 먼저, 포토 프린터(110)와 디지털 카메라(120) 간의 연결동작이 이루어지며, 전송 제어 정보를 교환하고 통신 설정을 초기화한다. 다음에, 사용자의 인쇄요청을 감지한 디지털 카메라(120)는 포토 프린터(110)가 지원하는 다양한 인쇄 옵션에 관한 제반정보를 요청한다. 상기 인쇄 옵션에 관한 정보로는 해당 포토 프린터(110)가 지원할 수 있는 인쇄용지의 사이즈(ex, A3,A4,A5), 인쇄용지의 종류(ex, 일반 플레인 용지, 사진 전용지), 그리고 1 페이지의 인쇄용지를 2 분할 또는 3 분할하여 여러 페이지의 인쇄분량으로 활용하는 이른바, 2-up, 3-up 등에 관한 사항을 포함할 수 있다. 그리고, 포토 프린터(110)의 옵션 정보를 입수한 디지털 카메라(120)는 입수된 정보를 디스플레이 패널 상에 표시하여 인쇄 옵션에 관한 사용자의 선택을 안내한다. 이때, 사용자가 선택 가능한 옵션사항은 포토 프린터(110)가 지원하는 범위 이내로 제한되며 인쇄 용지의 사이즈, 인쇄용지의 종류 등을 포함하고, 특히, 본 발명과 관련하여 이미지-풀 인쇄(image-full printing) 옵션 및 페이퍼-풀 인쇄(paper-full printing)에 관한 선택지를 표시하여 옵션 선택을 안내한다. FIG. 7 is a diagram schematically showing the communication contents of the
그리고, 디지털 카메라(110)는 사용자의 입력에 따라 자신의 메모리(131)에 저장되어 있는 다수의 사진 영상들을 호출하여 디스플레이 패널(124) 상에 축소 영상의 형태로 표시할 수 있고, 사용자는 사진 영상을 조회하면서 그 전부 또는 그 중의 일부를 인쇄대상으로 선정할 수 있다. 이렇게 인쇄대상에 관한 선정이 완료되면, 디지털 카메라(120)는 인쇄대상으로 선정된 이미지에 대해 얼굴 영상이 짤리지 않도록 적정의 인쇄영역을 설정하게 된다. 보다 구체적으로 사용자가 선택한 인쇄 옵션에 따라 이미지-풀 인쇄(image-full printing)에서는 얼굴 영상의 짤림을 고려할 필요가 없으므로, 일반적인 방식에 따라 이미지와 인쇄영역의 센터가 서로 일치하도록 인쇄영역을 설정하면 된다. 그리고, 페이퍼-풀 인쇄(paper-full printing)가 선택되었으나, 이미지와 인쇄용지의 사이즈가 서로 일치한다면 얼굴 영상의 짤림을 고려할 필요가 없으며, 일반적인 방식에 따라 인쇄영역을 설정하면 된다. 그러나, 페이퍼-풀 인쇄(paper-full printing)가 선택되었고, 동시에 인쇄대상으로 선정된 이미지와 현재 설정된 인쇄용지의 사이즈가 서로 일치하지 않는다면, 디지털 카메라(120)는 이미지 내로부터 얼굴영역을 추출해내는 얼굴인식 프로세싱을 수행하고, 추출된 얼굴영역을 포함하는 적정의 인쇄영역을 설정한다. 예를 들어, 디지털 카메라(110)는 사진 영상을 표현하는 화면상에 더하여 설정된 인쇄영역을 점선 등으로 합성하여 표시해주고 사용자의 승인을 요청할 수도 있다. 그리고, 사용 자의 최종적인 인쇄명령을 감지한 디지털 카메라(120)는 이미지 중에서 인쇄영역으로 설정된 일부만을 추출하고 인쇄영역을 벗어난 부분은 제거한(trimming) 인쇄 데이터를 포토 프린터(110)로 전달할 수 있으며, 또는 인쇄 데이터로서 이미지의 전부를 전송하되 인쇄영역에 관한 정보를 부대시켜 함께 전송할 수 있다. 이때, 인쇄영역에 관한 정보는 인쇄영역의 시작점과, 상기 시작점을 기준으로 하는 인쇄영역의 폭과 높이에 관한 좌표값(pX,pY,pW,pH)을 포함할 수 있다. 마지막으로, 디지털 카메라(120)로부터 인쇄 데이터를 입수한 포토 프린터(110)는 입수된 데이터에 따라 또는 인쇄영역에 관한 부대정보를 함께 참조하여 인쇄작업을 진행할 수 있다. In addition, the
도 8은 이미지의 인쇄방법을 설명하기 위한 흐름도로서, 포토 프린터(110)와 디지털 카메라(120)의 연동환경을 갖춘 프린팅 시스템에서, 주로 카메라 DSP(125)에 의해 실행되는 알고리즘을 나타낸다. 먼저, 포토 프린터(110)에 동작 전원이 인가되면(S10), 프린터 DSP(115)는 초기화를 수행하여, 예를 들어, 포토 프린터(110)의 작동 상태를 표시하는 초기 화면을 디스플레이 창에 출력할 수 있다(S11). 다음에, 포토 프린터(110)에 대한 디지털 카메라(120)의 접속이 감지되면(S12), 전송 제어 정보를 교환하고 통신 설정을 초기화한다(S13).FIG. 8 is a flowchart illustrating a method of printing an image, and illustrates an algorithm executed mainly by the
한편, 디지털 카메라(120)는 포토 프린터(110)와의 접속을 전후하여 인쇄 모드로 전환되며, 메모리부(131)에 저장되어 있는 다수의 사진 영상들 중에서 인쇄대상에 관한 사용자의 선택을 입력받을 수 있다. 즉, 사용자의 지정에 따라 메모리(131)에 저장된 특정 폴더로부터 사진 영상들을 호출하여 디스플레이 패널(124) 상에 썸 네일 형식으로 표시하고(S14), 사용자의 조작에 따라 디스플레이 패널(124) 상에 표시된 다수의 이미지들 사이로 활성화된 커서를 이동시키며 사용자의 선택을 안내할 수 있다. 인쇄대상에 관한 사용자의 선택 신호가 입력되면(S15), 카메라 DSP(125)는 선택된 이미지 데이터를 포토 프린터(110) 측으로 전송할 준비를 한다.On the other hand, the
다음에, 카메라 DSP(125)는 이미지-풀 인쇄(image-full printing) 또는 페이퍼-풀 인쇄(paper-full printing)에 관한 옵션 선택지를 메뉴 화면상에 표시하고 사용자의 선택을 입력받는다(S16). 만일, 사용자의 인쇄 옵션이 페이퍼-풀(paper-full printing)이고, 현재 설정된 인쇄용지(A3,A4,A5 등)와 인쇄대상 이미지의 사이즈가 서로 일치하지 않는다면, 카메라 DSP(125)는 이미지의 화면비율(폭:높이의 형상비율)을 유지하면서 인쇄용지의 사이즈에 맞추어 해당 이미지를 리사이징(resizing) 한다(S18). 그리고, 이미지상에 인쇄영역을 설정하는데, 이미지와 인쇄영역의 센터가 상호 정렬되도록 1차적인 인쇄영역을 설정한다(S19).Next, the
도 9는 잠정적으로 설정된 인쇄영역에 대한 확정 또는 재설정 단계들을 설명하기 위한 플로우 차트이다. 먼저, 카메라 DSP(125)는 선택된 인쇄 옵션을 확인하고(S20), 그 결과에 따라 서로 다른 절차 흐름을 수행하게 된다. 즉, 이미지-풀(image-full printing) 옵션이 선택된 경우라면, 얼굴영역의 짤림을 고려할 필요가 없으므로 S21 이하의 흐름에 따라 1차적으로 설정된 인쇄영역을 확정하고, 사용자의 최종적인 인쇄명령이 입력되면, 그에 따라 인쇄작업을 수행하게 된다.9 is a flowchart for explaining the determination or resetting steps for a tentatively set print area. First, the
이와 달리, 페이퍼-풀 인쇄(paper-full printing)가 선택된 경우라면, 카메 라 DSP(125)는 이미지의 화면비율(aspect ratio, 폭:높이의 비율, 이하 형상비)과 인쇄용지의 형상비(aspect ratio, 폭:높이의 비율)를 상호 비교하게 된다(S22). 비교 결과, 페이퍼-풀 인쇄(paper-full printing)가 선택되었지만 이미지와 인쇄용지의 형상비가 사실상 서로 일치하는 경우라면, 얼굴영역의 짤림을 고려할 필요가 없으므로 S21이하의 단계에 따라 1차적으로 설정된 인쇄영역을 확정하고, 사용자로부터 최종적인 인쇄명령에 따라 인쇄작업을 수행하게 된다. 그러나, 페이퍼-풀 인쇄(paper-full printing)가 선택되고, 이미지와 인쇄용지의 형상비가 서로 다른 경우라면, 예를 들어, 인쇄 대상으로 선정된 이미지의 형상비가 4:3이고, 인쇄용지의 형상비가 3:2일 경우에는 이하와 같이, 얼굴인식 프로세싱이 개시된다(S23). On the other hand, if paper-full printing is selected, the
얼굴인식 프로세싱(Face Recognition Processing S23S23 ))
먼저, 카메라 DSP(125)는 Exif 정보처리부(122)를 가동하여, 영상 데이터의 Exif 헤더로부터 얼굴인식정보를 추출한다. 예를 들어, 상기 Exif 정보처리부(122)는 얼굴영역의 시작점, 가로길이, 세로길이의 좌표값(X1,Y1,A1,B1)을 추출하여 카메라 DSP(125)로 출력하게 된다. 상기 좌표값(X1,Y1,A1,B1)은, 예를 들어, 화소 배열에 근거한 화면상의 X,Y 좌표를 기준으로 할 수 있으며, 상기 (X1,Y1)는 얼굴영역의 시작점 위치를 나타내고, 상기 (A1,B1)는 시작점(X1,Y1)으로부터 계산된 얼굴영역의 폭(width) 및 높이(height)에 해당되는 값을 의미한다. First, the
상기한 바와 달리, Exif 헤더에 얼굴인식정보가 기록되어 있지 않은 경우, 예를 들어, 상기 Exif 정보처리부(122)로부터 입수된 좌표값(X1,Y1,A1,B1)=(0,0,0,0)(좌표값에 대한 입력이 없는 NULL 상태) 이면, 카메라 DSP(125)는 해당 이미지를 얼굴영역 추출부(128)로 전달한다. 얼굴영역 추출부(128)는 입력된 이미지에 대한 전처리(preprocessing)를 수행하고, 휘도신호의 분포에 근거하여 에지 요소를 추출하게 된다. 그리고, 추출된 에지 이미지에 대해 얼굴인식 기법을 적용함으로써, 얼굴영역을 추출하게 된다. 이때, 하나의 화면 이미지로부터 다수의 얼굴영역이 추출될 수도 있음은 물론이다. 이후에는 별도의 검증처리를 통하여 얼굴영역 획득의 적절성에 대해 판단할 수 있다. 설정된 얼굴영역은 예를 들어, 얼굴영역의 시작점,가로길이,세로길이의 좌표값(X1,Y1,A1,B1)으로 데이터화될 수 있으며, 화면상에서 사각형 프레임 형식으로 둘러싸여 표시될 수 있다. Unlike the above, when face recognition information is not recorded in the Exif header, for example, coordinate values (X1, Y1, A1, B1) obtained from the Exif
다음에, 상기한 얼굴인식 프로세싱(S23)에서 유효한 얼굴영역이 검출되는지 판단하고(S24), 얼굴영역이 검출되지 않았다면 얼굴영역의 짤림을 고려할 필요가 없으므로, S21 단계에 따라 1차적으로 설정된 인쇄영역을 확정하고 이후의 인쇄절차를 수행할 수 있다. 그러나, 상기 얼굴인식 프로세싱(S23)에서 유효한 얼굴영역이 검출되면, 얼굴영역과 1차적으로 설정된 인쇄영역을 상호 비교하여, 얼굴영역이 인쇄영역 내로 들어오는지를 검토한다(S25). 예를 들어, 인쇄영역 적정 판단부(125)는 얼굴영역의 시작점, 가로길이, 세로길이의 좌표값(X1,Y1,A1,B1)과, 인쇄영역의 시작점, 가로길이, 세로길이의 좌표값(pX,pY,pW,pH)을 상호 비교하여, 인쇄영역 내에 얼굴영역이 들어오는지를 확인할 수 있다. Next, in the face recognition processing (S23), it is determined whether a valid face area is detected (S24). If the face area is not detected, it is not necessary to consider the cutting of the face area. You can confirm this and perform the subsequent printing procedure. However, if a valid face area is detected in the face recognition processing (S23), the face area is compared with the firstly set print area to check whether the face area enters the print area (S25). For example, the print area
검토 결과에 따라, 1차적으로 설정된 인쇄영역 내에 얼굴영역이 존재할 때에는 S21 이하의 단계에 따라 인쇄영역을 확정하고 사용자의 최종적인 인쇄명령이 입 력되면, 그에 따라 인쇄작업을 수행하게 된다. 그러나, 상기 얼굴영역이 인쇄영역을 이탈하는 것으로 판단되면, 이미지의 형상비(폭:높이의 비율)와 인쇄용지의 형상비(폭:높이의 비율) 간의 대소관계를 검토하고(S26), 그 결과에 따라 이하와 같이 서로 다른 방법으로 인쇄영역을 조정하게 된다(S27~S33). As a result of the examination, when the face area exists in the primarily set print area, the print area is determined according to the steps S21 and below, and when the user's final print command is input, the print job is performed accordingly. However, if it is determined that the face area deviates from the print area, the magnitude relationship between the shape ratio (width: height ratio) of the image and the shape ratio (width: height ratio) of the printing paper is examined (S26), and the result is determined. Accordingly, the print area is adjusted in different ways as follows (S27 to S33).
인쇄영역의 조정(Print area adjustment S27S27 -- S33S33 ))
1) 이미지의 형상비 < 인쇄용지의 형상비이면, 예를 들어, 이미지의 형상비가 4:3이고, 인쇄용지의 형상비가 3:2이면, S27 단계에 따라 인쇄영역을 상하방향으로 소정 정도 이동시키게 된다. 이때, 이동방향에 관해서는 인쇄영역을 벗어난 얼굴영역이 존재하는 상방 또는 하방으로 인쇄영역을 이동시키면 되고, 인쇄영역의 조정 범위는 얼굴영역 내에서 획득된 특징요소들 간의 거리를 참조하여 결정될 수 있다. 즉, 도 3을 참조하여 설명된 바와 같이, 카메라 DSP(125)는 눈 영역의 제1 수직높이(Py1)와, 눈-입 영역 간의 거리(h1)와, 가중치(α)로부터 수식 1(Py2 = Py1 + h1 x α)로 얻어지는 제2 수직높이(Py2)에 인쇄영역의 상단을 일치시킴으로써 얼굴영역을 포함하는 전체적인 인물 영상이 인쇄될 수 있다. 인물 전형에 대한 형상학적 관찰로부터, 눈~입까지의 거리와 눈~머리끝까지의 거리는 동등한 정도라면, 이때, 상기 가중치(α) 는 1로 설정될 수 있다.1) If the aspect ratio of the image <the aspect ratio of the printing paper, for example, if the aspect ratio of the image is 4: 3 and the aspect ratio of the printing paper is 3: 2, the printing area is shifted by a predetermined amount in the vertical direction in step S27. . In this case, the printing direction may be moved upwards or downwards in which the face area outside the print area exists, and the adjustment range of the print area may be determined by referring to the distance between the feature elements acquired in the face area. . That is, as described with reference to FIG. 3, the
2) 이미지의 형상비 > 인쇄용지의 형상비이면, 예를 들어, 이미지의 형상비가 16:9이고, 인쇄용지의 형상비가 3:2이면, 카메라 DSP는 S28 단계에 따라 인쇄영역을 이탈하는 얼굴영역이 이미지상의 좌우 양편에 존재하는지에 대해 판단하게 된다(S28). 즉, 이미지상에서 인지된 제1, 제2 얼굴영역이 좌우 양편에 존재하고 이 들이 모두 인쇄영역을 이탈하는 것으로 판단된다면, 이때에는 카메라 DSP(125)가 인쇄영역을 좌,우 어느 일 방향으로 임의 조정할 수는 없는 것이므로, 디스플레이 패널(124) 상에 경고 메세지와 함께, 인쇄에서 배제되는 영역을 표시해준다(S29). 그런 후, 사용자의 인쇄영역 이동에 관한 입력이 감지되면, 상기 카메라 DSP(125)는 사용자의 입력에 따라 인쇄영역을 이동시키고(S30), 이하의 절차를 수행한다. 2) If the aspect ratio of the image> the aspect ratio of the printing paper, for example, if the aspect ratio of the image is 16: 9 and the aspect ratio of the printing paper is 3: 2, the camera DSP determines that the face area deviating from the printing area according to step S28. It is determined whether it exists on both sides of the image (S28). That is, if it is determined that the first and second face regions recognized in the image exist on both sides of the image and both of them are out of the print region, then the
인쇄영역을 이탈하는 얼굴영역이 좌/우 어느 일 편에만 존재할 경우, 예를 들어, 좌측 편 얼굴영역이 인쇄영역을 이탈하는 것으로 판단될 때에는(S31) 이탈된 만큼 인쇄영역을 좌측으로 이동시켜서 해당 얼굴영역 전부가 인쇄영역 내로 들어오도록 인쇄영역을 조정한다(S32). 또한, 우측 편 얼굴영역이 인쇄영역을 이탈하는 것으로 판단되면(S31), 이탈된 만큼 인쇄영역을 우측으로 이동시킴으로써 해당 얼굴영역 전부가 인쇄영역 내로 들어오도록 인쇄영역을 조정하게 된다(S33). If the face area leaving the print area exists only on one side of the left / right side, for example, when it is determined that the left face area leaves the print area (S31), the print area is moved to the left as much as it is separated. The print area is adjusted to allow all of the face area to enter the print area (S32). In addition, if it is determined that the right side face area leaves the print area (S31), the print area is adjusted to move all of the face areas into the print area by moving the print area to the right as much as the separated face area (S33).
도 10은 인쇄영역이 확정된 후에 진행되는 인쇄단계를 설명하기 위한 플로우 차트이다. 사용자의 최종적인 인쇄명령이 감지되면(S34), 인쇄대상이 되는 이미지 중에서 인쇄영역에 해당되는 일부만을 추출하고, 이를 프린터가 인식 가능한 데이터 포멧의 인쇄데이터로 변환하여 포토 프린터(100)로 전송할 수 있다(S35). 이때, 포토 프린터(110)로 전송되는 데이터로는 설정된 인쇄영역에 해당되는 이미지의 일부만을 추출하여 전송하거나, 또는 이미지의 전부를 전송하면서 인쇄영역을 지정하는 영역정보를 함께 부대시켜 전송하는 것도 가능하다. 10 is a flowchart for explaining a printing step performed after the printing area is determined. When the user's final print command is detected (S34), only a part of the image that is to be printed may be extracted from the image to be printed, converted into print data in a data format that can be recognized by the printer, and transmitted to the
다음에, 인쇄데이터의 수신에 따라 포토 프린터(110) 측의 인쇄작업이 개시되는데(S36), 구체적으로, 프린터 DSP(115)는 디지털 카메라(120)에서 수신되는 인 쇄데이터를 메모리부(118)에 일시적으로 저장하는 한편, 인쇄부(119)를 가동하여 메모리부(118)에 존재하는 인쇄데이터를 인쇄용지상에 출력한다. Next, the print job of the
앞서 디지털 카메라(120)로 구현된 이미지 저장장치는 기본적으로 사진 영상을 보관하기 위한 메모리 기능은 물론이고, 자체적인 연산제어기능(DSP 기능)과 디스플레이 기능을 갖춘 것이며, 이러한 유형의 이미지 저장장치로는 디지털 카메라, 디지털 TV 등이 예시될 수 있다. 그러나, 본 발명의 기술적 원리는 이동 착탈식 메모리와 같이 자체적인 CPU 기능이나 디스플레이 기능을 갖지 않는 소형 메모리 디바이스를 이미지 저장장치로 사용하는 때에도 동일하게 적용될 수 있는 것이며, 그 적용예에 따른 전체 시스템의 구성을 도 11에 나타내었다. The image storage device implemented by the
도시된 포토 프린팅 시스템(200)은 포토 프린터(210)와, 이미지 저장장치로 상정된 메모리 디바이스(220)를 포함하고, 상기 포토 프린터(210)와 메모리 디바이스(220)는 USB 등의 통신수단을 통하여 상호 연결될 수 있다. 도 12에는 도 11에 도시된 포토 프린터(210)와 메모리 디바이스(220)의 기능적인 구성에 관한 블록 구성도가 도시되어 있다. 도면을 참조하면, 메모리 디바이스(220)는 인쇄대상이 되는 이미지를 보관 저장하는 기능을 위주로 구성되며, 메모리 콘트롤러(225)와, 메모리부(228)를 갖추고, 통신제어부(221)를 구비한다.The illustrated
상기 포토 프린터(210)는 통신제어부(211), Exif 정보처리부(212), 얼굴영역 추출부(216), 인쇄영역 적정 판단부(217), 이미지/용지 형상비 비교부(218), 메모리부(231), 인쇄부(232), 그리고 이들 각부를 제어하기 위한 프린터 DSP(215)를 포함하며, 메모리 디바이스(220)에서 입수된 이미지를 표시하여 사용자로부터 인쇄대 상에 관한 선정을 입력받기 위해 그래픽 환경을 제공하는 디스플레이 패널(214)과 사용자 입력부(213)를 구비할 수 있다.The
도시된 포토 프린팅 시스템에 의해 수행되는 일련의 인쇄처리절차는 도 8 내지 도 10에 도시된 바와 사실상 동일하나, 도시된 대부분의 단계들이 프린터 DSP(215)에 의해 처리된다는 점에서 차이가 있다. 구체적으로 살펴보면, 포토 프린터(210)에 동작 전원이 인가되면(S10), 프린터 DSP(215)는 초기화를 수행하고, 메모리 디바이스(220)의 접속이 감지되면(S12), 통신 설정을 초기화한다(S13). 이때, 프린터 DSP(215)는 메모리 디바이스(220)에 대응되는 폴더 아이콘을 디스플레이 패널(214) 상에 표시하여 접속상태를 표시할 수 있다.The series of print processing procedures performed by the illustrated photo printing system are substantially the same as those shown in Figs. 8 to 10, except that most of the steps shown are processed by the
이어서, 사용자 입력부(213)로부터 메모리 디바이스(220)에 대응되는 폴더 아이콘에 대한 선택신호가 입력되면, 프린터 DSP(215)는 메모리 디바이스(220)에 저장되어 있는 이미지들을 호출하여 디스플레이 패널(214) 상에 표시함으로써, 사용자로부터 인쇄대상의 지정을 입력받게 된다(S15). 그리고, 프린터 DSP(215)는 사용자의 요청에 따라 인쇄 조건들을 설정하기 위한 설정 화면을 디스플레이 패널(214) 상에 표시하고, 이미지-풀 인쇄(image-full printing) 또는 페이퍼-풀(paper-full printing)의 인쇄 옵션에 대한 사용자 선택을 입력받을 수 있다(S16). 그리고, 프린터 DSP(215)는 이미지의 센터 상에 인쇄영역의 센터가 위치하도록 1차적인 인쇄영역을 설정한다(S18).Subsequently, when a selection signal for a folder icon corresponding to the
다음에, 프린터 DSP(215)는 도 9에 도시된 바와 같이, 잠정적으로 설정된 인쇄영역에 대한 확정 또는 재설정 단계들을 수행하는데, 먼저, 선택된 인쇄 옵션을 확인하고(S20), 이미지-풀 인쇄(image-full printing) 옵션이 선택된 경우라면, 얼굴영역의 짤림을 고려할 필요가 없으므로, S21 이하의 단계에 따라 1차적으로 설정된 인쇄영역을 확정하고, 사용자의 최종적인 인쇄명령에 따라 인쇄작업을 수행하게 된다. 만일, 페이퍼-풀 인쇄(paper-full printing)가 선택된 경우라면, 프린터 DSP는 인쇄용지의 형상비(aspect ratio, 폭:높이의 비율)와, 이미지의 형상비(aspect ratio, 폭:높이의 비율)를 상호 비교하게 된다(S22). 비교결과, 페이퍼-풀 인쇄(paper-full printing)가 선택되었지만, 이미지와 인쇄용지의 형상비가 서로 일치하는 경우라면 얼굴영역의 짤림을 고려할 필요가 없으므로, 1차적으로 설정된 인쇄영역을 확정하고 사용자의 최종적인 인쇄명령에 따라 인쇄작업을 수행하게 된다(S21). 그러나, 페이퍼-풀 인쇄(paper-full printing)가 선택되고, 이미지와 인쇄용지의 형상비가 서로 다른 경우라면, Exif 정보처리부(212)로부터 입수된 얼굴인식정보에 의하거나, 또는 얼굴영역 추출부(216)로부터 입수된 정보에 근거하여 얼굴영역을 검출하며(S23), 검출된 얼굴영역이 1차적으로 설정된 인쇄영역 내에 들어오는지 검토한다(S25). 검토 결과에 따라 1차적으로 설정된 인쇄영역을 확정하거나(S21), 얼굴영역이 짤리지 않도록 인쇄영역을 조정하게 된다. Next, the
프린터 DSP(210)는 인쇄영역을 조정하기 위하여, 이미지의 형상비(폭:높이의 비율)와 인쇄용지의 형상비(폭:높이의 비율) 간의 대소관계를 검토하여, 이미지의 형상비 < 인쇄용지의 형상비이면, S27 단계에 따라 인쇄영역을 상방 또는 하방으로 이동시키고, 예를 들어, 그 이동 정도에 관하여서는 수학식 1의 연산 결과에 따를 수 있다. 또한, 이미지의 형상비 > 인쇄용지의 형상비이고, 좌우 양편에 존재하는 제1, 제2 얼굴영역이 모두 인쇄영역을 이탈하는 경우라면(S28), 사용자의 선택에 따라 인쇄영역을 설정하게 된다(S29,S30). 또한, 좌우 어느 일편의 얼굴영역이 인쇄영역을 이탈하는 경우라면(S28), 좌/우측으로 인쇄영역을 이동시키게 된다(S32,S33). In order to adjust the printing area, the
얼굴영역을 포함하도록 인쇄영역이 설정된 이후에는, 사용자의 인쇄명령에 따라(S34), 프린터 DSP(215)는 인쇄대상으로 선택된 이미지 중에서 설정된 인쇄영역에 관한 인쇄데이터를 생성하고(S35), 인쇄부(232)를 가동하여 용지상에 출력한다(S36).After the print area is set to include the face area, according to the user's print command (S34), the
이상에서 설명된 바와 같이, 포토 프린터(110)로 예시된 출력장치와, 디지털 카메라(120, 또는 메모리 디바이스 220)로 예시된 이미지 저장장치는 상호 연동환경을 구축하는 한편으로 얼굴영역의 위치에 따라 적응적으로 인쇄영역을 설정한다. 그러나, 본 발명의 기술적 범위는 앞서 예시된 포토 프린터(110)와, 디지털 카메라(120)라는 형태적인 특징에 구속되지 않고 여타의 다양한 시스템에 대해서도 응용될 수 있는 것이다. 인쇄 출력에 적합한 구조를 갖는 출력장치와, 이미지 파일의 저장에 적합한 구조를 갖는 이미지 저장장치가 서로 접속 가능하게 연결된 구조라면, 본 발명의 기술적 사상은 앞서 설명된 바와 사실상 동일 또는 유사하게 적용될 수 있다. As described above, the output device exemplified by the
그 일 예로서, 사진 인쇄의 무인 자동화 서비스를 구현하기 위하여, 학교, 은행, 백화점, 대형 마트, 공항, 호텔과 같이 사람의 왕래가 잦은 공공장소에 설치된 포토 키오스크(photo kiosk)를 활용하여 본 발명을 구현한 예를 도 13에 나타내 었다. 도면에서 볼 수 있듯이, 출력장치로서의 포토 키오스크(310)와 이미지 저장장치로서의 웹 서버(320)가 인터넷 통신망을 통하여 서로 접속 가능하게 연결되어 있다. 인쇄출력을 의뢰하는 사용자는 포토 키오스크(310)를 통하여 웹 서버(320)에 접근하여 자신이 업로드하여 저장해둔 이미지를 다운받을 수 있으며, 웹 서버(320)로부터 이미지를 입수한 포토 키오스크(310)는 내장된 영상처리 알고리즘을 가동하여, 이미지 내로부터 얼굴영역을 검출해내고 검출된 얼굴영역이 짤리지 않도록 적정의 인쇄영역을 설정하는 일련의 처리를 수행할 수 있다. As an example, in order to implement an unmanned automated service of photo printing, the present invention utilizes a photo kiosk installed in public places where people are frequently visited, such as schools, banks, department stores, large marts, airports, and hotels. An example of implementing is shown in FIG. 13. As can be seen in the figure, the
도 14는 인터넷 통신망을 통하여 상호 연결되는 포토 키오스크와 웹 서버 간의 교신 내용을 개략적으로 보여주는 도면이다. 도면을 참조하면, 사진 출력 서비스를 제공하는 포토 키오스크(310)는 사용자가 지정한 이미지의 입수경로에 따라 웹 서버(320)에 접근하여 통신 상태를 설정한 후 사용자가 입력한 인증정보를 웹 서버(320)로 전달한다. 그러면, 상기 웹 서버(320)는 수신된 인증정보를 확인하여 인증결과를 리턴하고, 인증된 사용자에 대해 서버 메모리에 대한 접근을 허용한다. 사용자는 자신이 업로드하여 저장해둔 이미지를 조회하고 인쇄대상 이미지를 선정할 수 있다. 그리고, 상기 포토 키오스크(310)는 이미지를 보관하고 있는 웹 서버(320)에 대해 인쇄대상의 전송을 요청할 수 있고, 상기 웹 서버(320)는 포토 키오스크(310)의 요청에 따라 자신이 저장하고 있던 해당 이미지를 전송해주게 된다. 인쇄대상 이미지를 입수한 포토 키오스크(310)는 이미지-풀 인쇄(image-full printing) 또는 페이퍼-풀 인쇄(paper-full printing)에 관한 사용자의 옵션 선택을 입력받을 수 있고, 이미지와 인쇄영역의 센터가 서로 일치하도록 1차적인 인쇄 영역을 설정할 수 있다. 이때, 이미지-풀 인쇄(image-full printing) 옵션이 선택되거나, 또는 페이퍼-풀 인쇄(paper-full printing) 옵션이 선택되었지만 인쇄용지와 이미지의 형상비가 서로 일치하는 경우라면, 얼굴의 짤림을 고려할 필요가 없으므로, 잠정적으로 설정된 인쇄영역을 확정하고 인쇄작업을 진행하면 된다. 그러나, 페이퍼-풀 인쇄(paper-full printing) 옵션이 선택되었고, 인쇄용지와 이미지의 형상비가 서로 다른 경우라면, 얼굴인식 프로세싱을 진행하여 이미지 내로부터 얼굴영역을 추출해내고, 추출된 얼굴영역이 1차적으로 설정된 인쇄영역 내에 들어오는지를 검토하여, 1차적으로 설정된 인쇄영역을 상하좌우로 이동시켜 인쇄영역을 조정하고 최종적으로 인쇄작업을 진행한다. 14 is a diagram schematically showing communication contents between a photo kiosk and a web server interconnected through an internet communication network. Referring to the drawings, the
상기한 바와 같이 이미지 내로부터 얼굴영역을 검출해내고 얼굴영역이 짤리지 않도록 인쇄영역을 설정하는 일련의 영상처리 알고리즘은 포토 키오스크(310)에 서 수행될 수 있는 한편으로, 인증된 회원들로부터 업로드된 사진들을 관리하는 웹 서버(320)에서 수행될 수도 있으며, 이때 상기 포토 키오스크(310)는 웹 서버(320)가 설정해놓은 적정의 인쇄영역에 따라 용지상의 출력작업만을 전담할 수 있는데, 이러한 예를 도 15에 나타내었다. 도시된 바와 같이, 포토 키오스크(310)는 사용자가 지정한 이미지의 입수경로에 따라 웹 서버(320)에 접근하여 통신 상태를 설정하고, 사용자가 입력한 인증정보를 웹 서버(320)로 전달한다. 이에 따라 상기 웹 서버(320)는 수신된 인증정보를 확인하여 인증결과를 리턴하고, 인증된 사용자에 대해 서버 메모리에 대한 접근을 허용한다. 사용자는 자신이 업로드하여 저장해둔 이미지를 조회하고 인쇄대상 이미지를 선정할 수 있으며, 또한 이미지-풀 인 쇄(image-full printing) 또는 페이퍼-풀 인쇄(paper-full printing)에 대한 인쇄 옵션을 선택할 수 있다. 그러면, 상기 웹 서버(320)는 설정된 인쇄 옵션에 따라 얼굴영역이 짤리지 않도록 적정의 인쇄영역을 설정하게 되는데, 먼저 사용자가 설정한 옵션 정보(이미지-풀/페이퍼-풀)를 요청하게 된다. 그리고, 옵션 정보를 입수한 웹 서버(320)는 입수된 정보에 근거하여 이미지상에 1차적인 인쇄영역을 설정하게 된다. 이때, 이미지-풀(image-full printing) 인쇄 옵션이 선택되거나, 또는 페이퍼-풀 인쇄(paper-full printing) 옵션이 선택되었지만 인쇄용지와 이미지의 형상비가 서로 일치하는 경우라면, 얼굴영상의 짤림을 고려할 필요가 없으므로, 잠정적으로 설정된 인쇄영역을 확정한다. 그러나, 페이퍼-풀 인쇄(paper-full printing) 옵션이 선택되었고, 인쇄용지와 이미지의 형상비가 서로 다른 경우라면, 얼굴인식 프로세싱을 진행하여 이미지 내로부터 얼굴영역을 검출해내고, 검출된 얼굴영역이 1차적으로 설정된 인쇄영역 내에 들어오는지를 검토하여, 1차적으로 설정된 인쇄영역을 상하좌우로 이동시키며 인쇄영역을 조정한다. As described above, a series of image processing algorithms for detecting the face area from the image and setting the print area so that the face area is not cut can be performed in the
인쇄영역을 확정한 웹 서버(320)는 인쇄대상이 되는 이미지 중에서 인쇄영역에 해당되는 일부만을 추출하고 인쇄영역을 벗어난 부분을 제거한(trimming) 인쇄데이터를 생성하여 포토 키오스크(310)로 전송하거나, 또는 이미지의 전부를 전송하면서 인쇄영역을 지정하는 영역정보를 함께 부대시켜서 전송할 수 있다. 마지막으로 인쇄데이터를 입수한 포토 키오스크(310)는 인쇄출력을 개시하게 된다. After determining the print area, the
한편, 도 16에 도시된 바와 같이, 다양한 공공장소에 분산 배치되어 있는 키오스크(410)들은 관리서버(415)의 통괄적인 제어를 받을 수 있다. 인쇄출력을 의뢰 하는 사용자는 로컬 영역의 포토 키오스크(410)를 단말로 하고, 관리서버(415)를 경유하여 인터넷 통신망으로 연결되어 있는 웹 서버(420)로 접속하여 자신이 업로드하여 저장해둔 이미지를 다운받을 수 있으며, 이미지를 입수한 관리서버(415)는 영상처리 알고리즘을 가동하여 적정의 인쇄영역을 설정할 수 있다. 이미지상으로부터 얼굴영역을 검출해내고, 검출된 얼굴영역이 짤리지 않도록 적정의 인쇄영역을 설정하는 과정은 앞서 설명된 바와 동일하며, 예를 들어, 관리서버(415)가 설정해놓은 적정의 인쇄영역을 참조하여 상기 포토 키오스크(410)는 출력작업만을 전담할 수 있다. Meanwhile, as shown in FIG. 16, the
한편, 도 17에 도시된 바와 같이, 인쇄출력을 의뢰하는 사용자는 공공장소에 배치된 포토 키오스크(510)를 이용하여 원격지에 있는 자신의 단말기(520)에 직접 접속할 수 있고, 인터넷 통신망을 경유하여 단말기(520)에 저장해놓은 이미지를 포토 키오스크(510)로 전송하는 한편, 상기 포토 키오스크(510)는 전송된 이미지를 인쇄대상으로 하여 출력작업을 진행할 수 있다. 이러한 응용에서는 포토 키오스크(510)가 출력장치가 되고, 사용자의 단말기(520)가 이미지 저장장치가 되며, 영상처리 알고리즘을 내장하고 있는 포토 키오스크(510) 또는 단말기(520) 중 어느 한편에서 얼굴의 짤림이 없는 적정의 인쇄영역을 설정할 수 있고, 상기 포토 키오스크(520)는 설정된 인쇄영역에 따라 인쇄작업을 수행할 수 있다. On the other hand, as shown in Figure 17, a user requesting a print output can be directly connected to his terminal 520 at a remote location using a
한편, 도 18에 도시된 바와 같이 인쇄출력을 의뢰하는 사용자는 포토 키오스크(610)를 출력장치로 하고, 자신이 휴대하고 있는 착탈식 메모리(620)를 포토 키오스크(610)에 접속시키고 메모리(620)에 저장된 이미지들을 인쇄대상으로 입력시 킬 수 있다. 이러한 응용에서는, 예를 들어, 포토 키오스크(610)의 전면에 메모리 삽입용 슬롯(611)이 형성되고, 이동 착탈식 메모리(620)가 상기 삽입용 슬롯(611)에 끼워져서 인쇄대상 이미지를 제공하는 이미지 저장장치의 기능을 하게 된다. 그리고, 이동 착탈식 메모리(620)로부터 이미지를 입력받은 포토 키오스크(610)는 내장된 영상처리 알고리즘을 가동하여, 얼굴 짤림이 없는 인쇄영역을 설정할 수 있을 것이다. Meanwhile, as illustrated in FIG. 18, a user requesting a print output uses the
본 발명은 첨부된 도면에 도시된 실시예를 참고로 설명되었으나, 이는 예시적인 것에 불과하며, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 수 있을 것이다. 따라서 본 발명의 진정한 보호 범위는 첨부된 특허청구범위에 의해서 정해져야 한다.Although the present invention has been described with reference to the embodiments illustrated in the accompanying drawings, it is merely exemplary, and various modifications and equivalent other embodiments are possible from those skilled in the art to which the present invention pertains. You will understand the point. Therefore, the true scope of protection of the present invention should be defined by the appended claims.
도 1은 본 발명의 바람직한 일 실시예에 따른 포토 프린팅 시스템을 보여주는 사시도이다. 1 is a perspective view showing a photo printing system according to an embodiment of the present invention.
도 2는 도 1에 도시된 포토 프린팅 시스템의 기능적인 구성을 보여주는 블록 구성도이다. FIG. 2 is a block diagram illustrating a functional configuration of the photo printing system illustrated in FIG. 1.
도 3 및 도 4는 이미지의 화면비율과 인쇄용지의 형상비 사이의 대소 관계에 따라 인쇄영역을 설정하는 서로 다른 방식을 설명하기 위한 도면들이다. 3 and 4 are diagrams for explaining different ways of setting the print area according to the magnitude relationship between the aspect ratio of the image and the aspect ratio of the printing paper.
도 5는 JPEG 포멧의 화상데이터에 대한 데이터 구조도이다. 5 is a data structure diagram for image data in JPEG format.
도 6은 Exif 부대 정보에 포함된 얼굴인식정보의 데이터 구성의 일례를 보여주는 도면이다. 6 is a diagram illustrating an example of a data configuration of face recognition information included in Exif incident information.
도 7은 도 1에 도시된 포토 프린터와 디지털 카메라 사이의 교신 내용을 개략적으로 도시한 도면이다. FIG. 7 is a diagram schematically showing contents of communication between the photo printer and the digital camera shown in FIG.
도 8 내지 도 10은 본 발명의 바람직한 일 실시예에 따른 이미지의 인쇄방법을 설명하기 위한 플로우 차트이다. 8 to 10 are flowcharts illustrating a printing method of an image according to an exemplary embodiment of the present invention.
도 11은 본 발명의 다른 실시예에 따른 포토 프린팅 시스템을 보여주는 사시도이다. 11 is a perspective view showing a photo printing system according to another embodiment of the present invention.
도 12은 도 11에 도시된 포토 프린팅 시스템의 기능적인 블록 구성도이다. 12 is a functional block diagram of the photo printing system shown in FIG.
도 13은 본 발명의 또 다른 응용예로서, 포토 키오스크를 출력장치로 하는 실시 형태를 보여주는 도면이다. FIG. 13 is a view showing an embodiment in which a photo kiosk is an output device as another application example of the present invention.
도 14 및 도 15는 도 13에 도시된 포토 키오스크와 웹 서버 간의 교신 내용 을 개략적으로 도시한 도면이다. 14 and 15 are diagrams schematically showing communication contents between the photo kiosk and the web server shown in FIG.
도 16 내지 도 18은 본 발명의 서로 다른 응용예로서, 포토 키오스크를 출력장치로 하는 다양한 실시 형태들을 보여주는 도면들이다. 16 to 18 are diagrams illustrating various embodiments using a photo kiosk as an output device as different applications of the present invention.
<도면의 주요부분에 대한 부호의 설명> <Description of the symbols for the main parts of the drawings>
110,210 : 포토 프린터 120,220 : 디지털 카메라110,210: Photo Printer 120,220: Digital Camera
111,121,211,212,221 : 통신제어부 113 : 키 입력부111, 121, 211, 212, 221: communication control unit 113: key input unit
115,215 : 프린터 DSP 118,231 : 메모리부115,215: Printer DSP 118,231: Memory
119,232 : 인쇄부 122,212 : Exif 정보처리부119,232 Printing unit 122,212 Exif information processing unit
123, 213 : 사용자 인터페이스 124,214 : 디스플레이 패널123, 213: user interface 124,214: display panel
125 : 카메라 DSP 126,216 : 이미지/용지 형상비 비교부125: camera DSP 126,216: image / paper aspect ratio comparison unit
127,217 : 인쇄영역 적정 판단부 128,216 : 얼굴영역 추출부127,217: print area proper determination unit 128,216: face area extraction unit
131,231 : 화상데이터 저장부 132,232 : 화상취득부 131,231: image data storage unit 132,232: image acquisition unit
150,250 : 통신수단 225 : 메모리 콘트롤러150,250: communication means 225: memory controller
228 : 메모리부 310,410,510,610 : 포토 키오스크228: memory unit 310,410,510,610: photo kiosk
320,420 : 웹 서버 415 : 관리서버320,420: Web Server 415: Management Server
520 : 단말기 620 : 착탈식 메모리520: terminal 620: removable memory
Pa : 인쇄용지 Im : 이미지 Pa: Printing paper Im: Image
F : 얼굴영역F: face area
Claims (26)
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
GB0814653.2A GB2451946B (en) | 2007-08-17 | 2008-08-11 | Printing method of image and photo-printing system and digital camera adapted for the same |
US12/228,412 US8325380B2 (en) | 2007-08-17 | 2008-08-12 | Printing method of printing an image based on the position of a face area detected on the image, a photo-printing system and digital camera adapted to the method |
CN2008102104423A CN101370066B (en) | 2007-08-17 | 2008-08-15 | Printing method of image and photo-printing system and digital camera adapted for the same |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020070083004 | 2007-08-17 | ||
KR20070083004 | 2007-08-17 |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20090018568A KR20090018568A (en) | 2009-02-20 |
KR101058043B1 true KR101058043B1 (en) | 2011-08-19 |
Family
ID=40413671
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020080057017A KR101058043B1 (en) | 2007-08-17 | 2008-06-17 | Image printing method, photo printing system and digital camera applied thereto |
Country Status (2)
Country | Link |
---|---|
KR (1) | KR101058043B1 (en) |
CN (1) | CN101370066B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5605608B2 (en) * | 2010-03-30 | 2014-10-15 | ソニー株式会社 | Transmission apparatus and method, and program |
CN104915157B (en) * | 2015-03-03 | 2019-04-16 | 珠海奔图电子有限公司 | Processing method, printing driving device, printing device and the system of file to be printed |
CN107515745A (en) * | 2017-07-31 | 2017-12-26 | 努比亚技术有限公司 | A kind of picture mark position self-adapting regulation method and equipment |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100648017B1 (en) | 2005-12-09 | 2006-11-23 | 삼성전자주식회사 | Photographing apparatus and method for accomplishing cutting prevention function |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3890222B2 (en) * | 2001-11-22 | 2007-03-07 | キヤノン株式会社 | Imaging apparatus, printing system, image processing method, computer-readable storage medium, and computer program |
KR100980915B1 (en) * | 2002-08-30 | 2010-09-07 | 소니 주식회사 | Image Processing Apparatus and Method, and Photographic Apparatus |
-
2008
- 2008-06-17 KR KR1020080057017A patent/KR101058043B1/en active IP Right Grant
- 2008-08-15 CN CN2008102104423A patent/CN101370066B/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100648017B1 (en) | 2005-12-09 | 2006-11-23 | 삼성전자주식회사 | Photographing apparatus and method for accomplishing cutting prevention function |
Also Published As
Publication number | Publication date |
---|---|
CN101370066B (en) | 2013-07-24 |
CN101370066A (en) | 2009-02-18 |
KR20090018568A (en) | 2009-02-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4617347B2 (en) | Control device, image forming apparatus, control method for image forming apparatus, program, and recording medium | |
US7224480B2 (en) | Imaging apparatus, system having imaging apparatus and printing apparatus, and control method therefor | |
US7161701B2 (en) | Imaging apparatus, system having imaging apparatus and printing apparatus, and control method therefor | |
US8325380B2 (en) | Printing method of printing an image based on the position of a face area detected on the image, a photo-printing system and digital camera adapted to the method | |
US8374439B2 (en) | Image processing apparatus, image processing method, program, and computer-readable print medium | |
JP2012027687A (en) | Image processing apparatus and program | |
US20020080251A1 (en) | Digital imaging device, image processing device, digital imaging method, and image processing program | |
US8269988B2 (en) | Print terminal, print system, storage medium, and program | |
JP2010021921A (en) | Electronic camera and image processing program | |
KR101058043B1 (en) | Image printing method, photo printing system and digital camera applied thereto | |
CN117274105A (en) | Information processing apparatus, information processing method, and non-transitory storage medium | |
US8149452B2 (en) | Method of printing image and photo-printing system using the method | |
JP2005197914A (en) | Face image recognizing apparatus and digital camera equipped with the same | |
US10496161B2 (en) | Information processing system, electronic apparatus, information processing apparatus, information processing method, electronic apparatus processing method and non-transitory computer readable medium | |
JP6627448B2 (en) | Print production equipment | |
KR101345285B1 (en) | Printing method of photographed image and photo-printing system adapted for the same | |
JP2010026630A (en) | Image retrieval device and image retrieval method | |
JP4286702B2 (en) | Image printing system, apparatus and image printing method | |
JP2008269406A (en) | Image output managing device, method and program | |
JP4840662B2 (en) | Printing device | |
JP2006060329A (en) | Device, method, and program for imaging | |
US20120026552A1 (en) | Image processing apparatus and method for controlling the same | |
JP2023150525A (en) | Image processing system and imaging device | |
JP2003189296A (en) | Photographing apparatus | |
JP2018043437A (en) | Picture printing equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
N231 | Notification of change of applicant | ||
E902 | Notification of reason for refusal | ||
AMND | Amendment | ||
N231 | Notification of change of applicant | ||
E601 | Decision to refuse application | ||
J201 | Request for trial against refusal decision | ||
AMND | Amendment | ||
B601 | Maintenance of original decision after re-examination before a trial | ||
E801 | Decision on dismissal of amendment | ||
S901 | Examination by remand of revocation | ||
GRNO | Decision to grant (after opposition) | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20140730 Year of fee payment: 4 |
|
FPAY | Annual fee payment |
Payment date: 20150730 Year of fee payment: 5 |
|
FPAY | Annual fee payment |
Payment date: 20160728 Year of fee payment: 6 |
|
FPAY | Annual fee payment |
Payment date: 20170728 Year of fee payment: 7 |