KR20080090174A - Method of controlling digital image processing apparatus and apparatus thereof - Google Patents
Method of controlling digital image processing apparatus and apparatus thereof Download PDFInfo
- Publication number
- KR20080090174A KR20080090174A KR1020070033354A KR20070033354A KR20080090174A KR 20080090174 A KR20080090174 A KR 20080090174A KR 1020070033354 A KR1020070033354 A KR 1020070033354A KR 20070033354 A KR20070033354 A KR 20070033354A KR 20080090174 A KR20080090174 A KR 20080090174A
- Authority
- KR
- South Korea
- Prior art keywords
- image
- region
- area
- focus value
- input
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
- H04N5/2621—Cameras specially adapted for the electronic generation of special effects during image pickup, e.g. digital cameras, camcorders, video cameras having integrated special effects capability
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/11—Region-based segmentation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/194—Segmentation; Edge detection involving foreground-background segmentation
Landscapes
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
Description
도 1은 본 발명에 따른 디지털 영상 처리장치의 제어장치의 일 실시예로서, 디지털 카메라의 뒷면 외형을 보여주는 도면이다. 1 is a view illustrating a rear surface of a digital camera as an embodiment of a control device of a digital image processing apparatus according to the present invention.
도 2는 본 발명에 따른 디지털 영상 처리장치의 제어장치의 내부 구성을 보여주는 블록도이다. 2 is a block diagram showing an internal configuration of a control device of a digital image processing apparatus according to the present invention.
도 3은 본 발명에 따른 바람직한 실시예로서, 디지털 영상 처리장치의 제어방법을 개략적으로 도시한 흐름도이다. 3 is a flowchart schematically illustrating a control method of a digital image processing apparatus as a preferred embodiment according to the present invention.
도 4는 본 발명에 따른 바람직한 다른 실시예로서, 디지털 영상 처리장치의 제어방법에서 포토 프레임의 등록을 개략적으로 도시한 흐름도이다. 4 is a flowchart schematically illustrating registration of a photo frame in a control method of a digital image processing apparatus according to another exemplary embodiment of the present invention.
도 5는 본 발명에 따른 디지털 영상 처리장치의 제어방법 및 그 장치에서 입력 영상을 개략적으로 도시한 그림이다. 5 is a diagram schematically illustrating a control method of a digital image processing apparatus and an input image in the apparatus according to the present invention.
도 6은 도 5의 입력 영상에 대한 포커스 값에 따른 포커스 맵을 개략적으로 도시한 도면이다. FIG. 6 is a diagram schematically illustrating a focus map according to a focus value of the input image of FIG. 5.
도 7은 도 6의 포커스 맵에 의하여 추출되는 출력 영상을 개략적으로 도시한 도면이다. FIG. 7 is a diagram schematically illustrating an output image extracted by the focus map of FIG. 6.
<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for main parts of the drawings>
OEC: 광전 변환부, 507: 디지털 신호 처리기, OEC: photoelectric converter, 507: digital signal processor,
512: 마이크로 제어기, 25: 디스플레이 패널.512: microcontroller, 25: display panel.
본 발명은 디지털 영상 처리장치의 제어방법 및 그 장치에 관한 것으로서, 보다 상세하게는 원하는 피사체를 배경과 분리하여 촬영하거나 배경과 분리된 피사체를 이용하여 포토 프레임을 등록 또는 포토 프레임을 이용하여 촬영할 수 있는 디지털 영상 처리장치의 제어방법 및 그 장치에 관한 것이다. The present invention relates to a method and a device for controlling a digital image processing apparatus, and more particularly, to photograph a desired subject separately from a background or to register a photo frame using a subject separated from the background or to photograph a photo frame. The present invention relates to a control method of a digital image processing apparatus and a device thereof.
통상적으로 디지털 영상 처리장치란, 디지털 카메라, PDA(personal digital assistant), 폰 카메라, PC 카메라 등의 영상을 처리하거나 동작 인식 센서를 사용하는 모든 장치를 포함한다. 이러한 디지털 영상 처리장치는 원하는 영상을 촬상 소자를 통하여 입력받고, 입력된 영상을 영상 표시소자에 표시하여 보여주고, 사용자의 촬영 선택에 의하여 영상을 이미지 파일로 저장한다. In general, a digital image processing apparatus includes any apparatus that processes an image such as a digital camera, a personal digital assistant (PDA), a phone camera, a PC camera, or uses a motion recognition sensor. The digital image processing apparatus receives a desired image through the image pickup device, displays the input image on the image display device, and displays the image on the image display device, and stores the image as an image file according to the user's selection of the image.
통상적으로 디지털 카메라 등의 디지털 영상 처리장치에서는 원하는 영상만을 촬영하거나 이러한 영상을 이용한 포토 프레임 촬영 시에 사용자 요구를 충분히 반영하지 못하고 있다. 예를 들어, 인물의 증명 사진을 촬영하고자 하는 경우에 인물이 포함된 사진을 촬영한 후에 컴퓨터 등의 정보 처리 장치에서 포토샵 등의 이미지 처리 프로그램을 이용하여, 증명 사진 제작을 위한 별도의 작업을 수행하여야 한다. In general, a digital image processing apparatus such as a digital camera does not sufficiently reflect a user's request when photographing only a desired image or photographing a photo frame using the image. For example, if you want to take a picture of a person, take a picture that includes the person, and then use an image processing program, such as Photoshop, on an information processing device such as a computer to perform a separate operation for producing a picture of the person. shall.
또한, 통상적의 디지털 영상 처리장치에서는 미리 등록된 프레임을 외부로부터 입력되는 영상과 합성하여 사진을 촬영하는 포토 프레임 촬영 시에, 사용자가 자유롭게 프레임을 등록할 수 없다. In addition, in a conventional digital image processing apparatus, a user may not freely register a frame at the time of photographing a photo frame in which a pre-registered frame is synthesized with an image input from the outside to take a picture.
본 발명은, 촬상 소자 등을 통하여 입력되는 입력 이미지 데이터로부터 입력 영상에 대한 포커스 맵을 작성하고, 포커스 값에 따라 입력 영상을 주 피사체 영역을 배경 영역과 분리함으로써, 증명 사진 촬영 또는 사용자 정의 포토 프레임 등록을 용이하게 할 수 있는 디지털 영상 처리장치의 제어방법 및 그 장치를 제공하는 것을 목적으로 한다. The present invention creates a focus map for an input image from input image data input through an image pickup device or the like, and separates the input image main region from the background region according to the focus value, thereby photographing an ID photo or a user-defined photo frame. An object of the present invention is to provide a control method of a digital image processing apparatus that can facilitate registration and a device thereof.
본 발명은, 외부로부터 입력 영상을 입력받는 입력부; 상기 입력 영상을 각각의 단위 화소별로 구한 포커스 값들의 분포에 따라 제1영역과 제2영역을 포함한 2이상의 영역으로 구분하고, 상기 제1영역을 분리하여 출력 영상을 생성하는 제어부; 및 상기 출력 영상이 저장되는 저장부를 구비하는 디지털 영상 처리장치의 제어장치를 제공한다. The present invention, the input unit for receiving an input image from the outside; A controller configured to divide the input image into two or more regions including a first region and a second region according to a distribution of focus values obtained for each unit pixel, and to separate the first region to generate an output image; And a storage unit for storing the output image.
상기 제어부에서, 상기 제1영역을 제외한 영역의 영상을 변경하고 상기 제1영역의 영상과 합성하여 상기 출력 영상을 생성하는 것이 바람직하다.The controller may be configured to change an image of an area excluding the first area and synthesize the image of the first area to generate the output image.
상기 입력 영상이, 상기 포커스 값이 미리 설정된 기준 포커스 값보다 큰 제1영역과, 상기 포커스 값이 상기 기준 포커스 값보다 작은 제2영역으로 구분되는 것이 바람직하다.The input image may be divided into a first region in which the focus value is greater than a preset reference focus value, and a second region in which the focus value is smaller than the reference focus value.
본 발명의 다른 측면은, (a) 외부로부터 입력 영상을 입력받는 단계; (b) 상기 입력 영상으로부터 이미지 데이터를 추출하는 단계; (c) 상기 이미지 데이터에서 각각의 단위 화소별로 포커스 값을 구하는 단계; (d) 상기 포커스 값에 따라 상기 입력 영상을 제1영역과 제2영역을 포함한 2이상의 영역으로 구분하는 단계; 및 (e) 상기 제1영역을 제외한 영역의 영상을 변경하여 상기 제1영역과 합성하여 출력 영상을 생성하는 단계를 구비하는 디지털 영상 처리장치의 제어방법을 제공한다. Another aspect of the invention, (a) receiving an input image from the outside; (b) extracting image data from the input image; obtaining a focus value for each unit pixel from the image data; dividing the input image into two or more regions including a first region and a second region according to the focus value; And (e) changing an image of an area excluding the first area and synthesizing with the first area to generate an output image.
(g) 상기 출력 영상이 외부로부터의 사용자 입력에 의하여 포토 프레임으로 저장되는 단계를 더 구비하는 것이 바람직하다.(g) Preferably, the output image is further stored in a photo frame by a user input from the outside.
본 발명에 따르면, 촬상 소자 등을 통하여 입력되는 입력 이미지 데이터로부터 입력 영상에 대한 포커스 맵을 작성하고, 포커스 값에 따라 입력 영상을 주 피사체 영역을 배경 영역과 분리함으로써, 증명 사진 촬영 또는 사용자 정의 포토 프레임 등록을 용이하게 할 수 있다. According to the present invention, by generating a focus map for an input image from input image data input through an image pickup device or the like, and separating the input image main region from the background region according to the focus value, photographing an ID photo or a user-defined photo. Frame registration can be facilitated.
이하, 첨부된 도면을 참조하여 바람직한 실시예에 따른 본 발명을 상세히 설명하기로 한다. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
도 1에는 본 발명에 따른 디지털 영상 처리장치의 제어장치의 일 실시예로서, 디지털 카메라(1)의 뒷면 외형이 도시되어 있다. FIG. 1 shows an external appearance of a
도면을 참조하면, 디지털 카메라(1)의 뒤쪽에는 방향 버튼(21), 메뉴-OK 버튼(22), 삭제 버튼(24), 광각(Wide angle)-줌(Zoom) 버튼(W), 망원(Telephoto)-줌(Zoom) 버튼(T), 디스플레이 패널(25), 및 스피커(SP) 등이 구비될 수 있다. Referring to the drawings, the rear of the
방향 버튼(21)에는 상향 버튼(21a), 하향 버튼(21b), 좌향 버튼(21c), 우향 버튼(21d)의 총4개의 버튼이 포함될 수 있다. 방향 버튼(21)과 메뉴-OK 버튼(22)은 디지털 카메라와 같은 디지털 영상 처리장치의 동작에 관한 각종 메뉴를 실행시키기 위해 입력하는 키이다. The
모드 다이얼(미도시) 또는 방향 버튼(21)과 메뉴-OK 버튼(22)의 조작에 의하여 촬영 모드를 증명 사진 촬영 모드로 설정할 수 있다. 또한, 방향 버튼(21)과 메뉴-OK 버튼(22)의 조작에 의하여, 도 2 또는 도 4의 디지털 영상 처리장치의 제어장치 또는 그 제어방법에 의하여 포토 프레임을 사용자 설정에 의하여 등록하거나, 포토 프레임을 이용한 촬영을 할 수 있다. The shooting mode can be set to the ID photo shooting mode by the operation of the mode dial (not shown) or the
광각-줌 버튼(W) 또는 망원-줌 버튼(T)은 그 입력에 따라 화각이 넓어지거나, 화각이 좁아진다. 특히, 선택된 노출영역의 크기를 변경시키고자 할 때 사용도리 수 있다. 이때, 광각-줌 버튼(W)이 입력되면 선택된 노출영역의 크기가 작아지고, 망원-줌 버튼(T)이 입력되면 선택된 노출영역의 크기가 커질 수 있다. 디스플레이 패널(25)로는 LCD(liquid crystal display)등의 영상 표시소자가 사용될 수 있다. The wide-angle zoom button W or the tele-zoom button T has a wider angle of view or a narrower angle of view depending on its input. In particular, it can be used to change the size of the selected exposure area. In this case, when the wide-zoom button W is input, the size of the selected exposure area is reduced, and when the tele-zoom button T is input, the size of the selected exposure area may be increased. As the
한편, 디지털 영상 처리장치의 앞면 또는 윗면에는 셔터 릴리즈 버튼, 플래시, 전원 스위치, 렌즈부가 구비될 수 있다. 또한, 디지털 영상 처리장치의 앞면과 뒷면에는 뷰 파인더의 대물 렌즈와 접안 렌즈가 구비될 수 있다. Meanwhile, a shutter release button, a flash, a power switch, and a lens unit may be provided on the front or the top of the digital image processing apparatus. In addition, the front and rear of the digital image processing apparatus may be provided with an objective lens and an eyepiece of the viewfinder.
셔터 릴리즈 버튼은 정해진 시간 동안 CCD(Charge Coupled Device)와 같은 촬상 소자나 필름을 빛에 노출시키기 위해 열리고 닫힌다. 또한, 셔터 릴리즈 버튼은 조리개(미도시)와 연동하여 피사체를 적정하게 노출시켜 촬상 소자에 영상을 기 록한다. The shutter release button opens and closes to expose the film or imager, such as a charge coupled device (CCD), to light for a set amount of time. In addition, the shutter release button records an image on the image pickup device by properly exposing a subject in conjunction with an aperture (not shown).
플래시는 어두운 곳에서 촬영할 경우 밝은 빛을 순간적으로 비추어 밝게 해주는 것으로 플래시 모드에는 자동플래시, 강제발광, 발광금지, 적목감소, 슬로우 싱크로 등이 있다. 뷰 파인더의 대물 렌즈부는 촬영할 피사체를 보고 구도를 설정하기 위한 카메라의 작은 창이다. When shooting in a dark place, the flash is used to instantly illuminate bright light, and flash modes include auto flash, forced flash, flash off, red-eye reduction, and slow synchro. The objective lens section of the viewfinder is a small window of the camera for viewing and composing a subject to be photographed.
본 발명이 적용될 수 있는 디지털 영상 처리장치의 일 실시예로서 디지털 카메라와 그 제어장치, 및 그 제어방법이 본 출원인의 미국 특허출원 공개번호 제2004/0130650호(명칭: 카메라의 이차함수를 이용한 자동 포커싱 방법, Method of automatically focusing using a quadratic function in camera)에 개시되어 있다. As an embodiment of a digital image processing apparatus to which the present invention can be applied, a digital camera, a control apparatus, and a control method thereof are disclosed in US Patent Application Publication No. 2004/0130650 (name: automatic using a secondary function of the camera). Method of automatically focusing using a quadratic function in camera.
상기 미국출원에 개시된 디지털 카메라와 그 제어장치, 및 그 제어방법에 관한 사항은 본 명세서에 포함되는 것으로 하고, 그 자세한 설명은 생략한다. Matters relating to the digital camera, the control apparatus, and the control method disclosed in the above-mentioned US application will be included in the present specification, the detailed description thereof will be omitted.
도 2에는 본 발명에 따른 디지털 영상 처리장치의 제어장치(2)의 내부 구성이 도시된다. 도 5에는 도 2의 디지털 영상 처리장치의 제어장치(2)에서 입력 영상이 도시되고, 도 6에는 도 5의 입력 영상에 대한 포커스 값에 따른 포커스 맵이 도시되고, 도 7에는 도 6의 포커스 맵에 의하여 추출되는 출력 영상이 도시된다. 2 shows an internal configuration of the
도면을 참조하면, 렌즈부와 필터부를 포함한 광학계(OPS)는 피사체로부터의 빛을 광학적으로 처리한다. 광학계(OPS)의 렌즈부는 줌 렌즈, 포커스 렌즈 및 보상 렌즈를 포함한다. 사용자가 사용자 입력부(INP)에 포함된 광각-줌 버튼(W) 또는 망원-줌 버튼(T)을 누르면, 이에 상응하는 신호가 마이크로제어기(512)에 입력된다. Referring to the drawing, an optical system OPS including a lens unit and a filter unit optically processes light from a subject. The lens unit of the optical system OPS includes a zoom lens, a focus lens, and a compensation lens. When the user presses the wide-angle zoom button W or the tele-zoom button T included in the user input unit INP, a signal corresponding thereto is input to the
이에 따라, 마이크로제어기(512)가 렌즈 구동부(510)를 제어함에 따라, 줌 모터(MZ)가 구동되어 줌 렌즈가 이동된다. 즉, 광각-줌 버튼(W)이 눌려지면 줌 렌즈의 초점 길이가 짧아져서 화각이 넓어지고, 망원-줌 버튼(T)이 눌려지면 줌 렌즈의 초점 길이가 길어져서 화각이 좁아진다. Accordingly, as the
한편, 자동 초점 모드에 있어서, 디지털 신호 처리기(507) 안에 내장된 주 제어기가 마이크로제어기(512)를 통하여 렌즈 구동부(510)를 제어함에 의하여 포커스 모터(MF)가 구동된다. 보상 렌즈는 전체적인 굴절률을 보상하는 역할을 하므로 별도로 구동되지 않는다. 참조 부호 MA는 조리개(aperture, 도시되지 않음)를 구동하기 위한 모터를 가리킨다. Meanwhile, in the auto focus mode, the focus motor M F is driven by the main controller embedded in the
광학계(OPS)의 필터부에서, 광학적 저역통과필터(Optical Low Pass Filter)는 고주파 성분의 광학적 노이즈를 제거한다. 적외선 차단 필터(Infra-Red cut Filter)는 입사되는 빛의 적외선 성분을 차단한다. In the filter section of the optical system OPS, an optical low pass filter removes optical noise of high frequency components. Infra-Red cut filter cuts the infrared component of the incident light.
광전 변환부(OEC)는 CCD(Charge Coupled Device) 또는 CMOS(Complementary Metal-Oxide- Semiconductor) 등의 촬상 소자를 포함하여 이루어질 수 있다. 광전 변환부(OEC)는 광학계(OPS)로부터의 빛을 전기적 아날로그 신호로 변환시킨다. The photoelectric conversion unit OEC may include an imaging device such as a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS). The photoelectric conversion unit OEC converts light from the optical system OPS into an electrical analog signal.
아날로그-디지털 변환부는 CDS-ADC(Correlation Double Sampler and Analog-to-Digital Converter) 소자(501)를 포함하여 이루어질 수 있다. 아날로그-디지털 변환부는 광전 변환부(OEC)로부터의 아날로그 신호를 처리하여, 그 고주파 노이즈를 제거하고 진폭을 조정한 후, 디지털 신호로 변환시킨다. 여기서, 디지털 신호 처리기(507)는 타이밍 회로(502)를 제어하여 광전 변환부(OEC)와 아날로그-디지털 변환부(501)의 동작을 제어한다. The analog-to-digital converter may include a correlation double sampler and analog-to-digital converter (CDS-ADC)
여기서, 디지털 영상 처리장치의 제어장치(2)에서 입력부는 외부로부터 입력 영상을 입력받는다. 이때, 입력부는 광학계(OPS), 광전 변환부(OEC), 아날로그-디지털 변환부를 포함하여 이루어질 수 있다. Here, the input unit in the
실시간 클럭(503)은 디지털 신호 처리기(507)에 시간 정보를 제공한다. 디지털 신호 처리기(507)는 CDS-ADC 소자(501)로부터의 디지털 신호를 처리하여 휘도 및 색도 신호로 분류된 디지털 화상 신호를 발생시킨다. The
디지털 신호 처리기(507)에 내장된 주 제어기의 제어에 따라 마이크로 제어기(512)에 의하여 구동되는 발광부(LAMP)에는, 셀프-타이머 램프, 자동-초점 램프, 모드 지시 램프 및 플래시 대기 램프 등이 포함될 수 있다. 사용자 입력부(INP)에는, 셔터 릴리즈 버튼, 방향 버튼(21), 광각-줌 버튼(W) 및 망원-줌 버튼(T) 등이 포함될 수 있다. The light emitting unit LAMP driven by the
디지털 영상 처리장치의 제어장치(2)에서 표시부에는 증명 사진 또는 포토 프레임 등의 출력 영상이 표시될 수 있다. 이때, 표시부는 LCD 등의 영상 표시소자가 사용되는 디스플레이 패널(25)을 포함하여 이루어질 수 있다. In the
DRAM(Dynamic Random Access Memory, 504)에는 디지털 신호 처리기(507)로부터의 디지털 화상 신호가 일시 저장된다. DRAM(504)에는 이미지 데이터, 포커스 값, 포커스 맵, 출력 영상, 및 포토 프레임 등이 임시 저장될 수 있다. The digital image signal from the
EEPROM(Electrically Erasable and Programmable Read Only Memory, 505)에 는 디지털 신호 처리기(507)의 동작에 필요한 부팅 프로그램 및 키 입력 프로그램 등과 같은 알고리즘 및 설정 데이터가 저장된다. 메모리 카드 인터페이스(506)에서는 사용자의 메모리 카드가 착탈된다. The EEPROM (Electrically Erasable and Programmable Read Only Memory) 505 stores algorithms and setting data such as a boot program and a key input program required for the operation of the
디지털 영상 처리장치의 제어장치(2)에서 저장부에는 증명 사진 또는 포토 프레임 등의 출력 영상이 저장될 수 있다. 이때, 저장부는 DRAM(504) 및/또는 EEPROM(505)을 포함하여 이루어질 수 있다. In the
디지털 신호 처리기(507)로부터의 디지털 화상 신호는 디스플레이 패널 구동부(514)에 입력되고, 이로 인하여 디스플레이 패널(25)에 화상이 디스플레이 된다. The digital image signal from the
한편, 디지털 신호 처리기(507)로부터의 디지털 화상 신호는, USB(Universal Serial Bus) 접속부(31a) 또는 RS232C 인터페이스(508)와 그 접속부(31b)를 통하여 직렬 통신으로써 전송될 수 있고, 비디오 필터(509) 및 비디오 출력부(31c)를 통하여 비디오 신호로서 전송될 수 있다. 여기서, 디지털 신호 처리기(507)는 그 내부에 마이크로제어기를 내장할 수 있다. On the other hand, the digital image signal from the
오디오 처리기(513)는, 마이크로폰(MIC)으로부터의 음성 신호를 디지털 신호 처리기(507) 또는 스피커(SP)로 출력하고, 디지털 신호 처리기(507)로부터의 오디오 신호를 스피커(SP)로 출력한다. The
한편, 디지털 영상 처리장치의 제어장치(2)에서 제어부는, 입력 영상을 각각의 단위 화소별로 구한 포커스 값들의 분포에 따라 제1영역과 제2영역을 포함한 2이상의 영역으로 구분하고, 제1영역을 분리하여 출력 영상을 생성한다. 이때, 제어부는 디지털 신호 처리기(507) 및/또는 마이크로제어기(512)를 포함하여 이루어질 수 있다. Meanwhile, in the
본 발명에 따라 도 3 및 도 4에 도시된 디지털 영상 처리장치의 제어방법이 도 2에 도시된 바와 같은 디지털 영상 처리장치를 위한 제어장치의 내부에서 수행될 수 있다. 이때, 실시예에 따라 제어방법의 주 알고리즘은 제어장치 내의 주변 구성요소들의 도움을 받아 디지털 신호 처리기(507) 및/또는 마이크로제어기(512)의 내부에서 수행될 수 있다. According to the present invention, the control method of the digital image processing apparatus illustrated in FIGS. 3 and 4 may be performed in the control apparatus for the digital image processing apparatus as illustrated in FIG. 2. At this time, the main algorithm of the control method according to the embodiment may be performed inside the
본 발명에 따른 일 실시예에 따른 디지털 영상 처리장치의 제어장치(2)는, 입력부; 제어부; 저장부; 및 표시부를 구비한다. 디지털 영상 처리장치의 제어장치(2)는, 입력 영상(도 5)을 포커스 값의 분포에 따라 주피사체 영역과 배경 영역으로 분리하고(도 6), 배경 영역을 특정한 하나의 색깔로 변환하여, 주피사체만의 증명 사진 또는 포토 프레임을 위한 출력 영상(도 7)을 생성한다.
입력부는 외부로부터 입력 영상(도 5)을 입력받는다. 제어부는 입력 영상(도 5)을 각각의 단위 화소별로 구한 포커스 값들의 분포에 따라 제1영역과 제2영역을 포함한 2이상의 영역으로 구분하고(도 6), 제1영역을 분리하여 출력 영상(도 7)을 생성한다. 저장부에는 출력 영상(도 7)이 저장된다. 표시부에는 출력 영상(도 7)이 표시된다. The input unit receives an input image (FIG. 5) from the outside. The controller divides the input image (FIG. 5) into two or more regions including the first region and the second region according to the distribution of focus values obtained for each unit pixel (FIG. 6), and separates the first region into an output image ( 7). The storage unit stores the output image (FIG. 7). An output image (FIG. 7) is displayed on the display unit.
이때, 제어부에서 구분하는 2이상의 영역은 주피사체 영역에 해당하는 제1영역(610)과 배경 영역에 해당하는 제2영역(620)이 될 수 있다. In this case, the two or more areas divided by the controller may be the
제어부는, 입력 영상(도 5)으로부터 이미지 데이터를 추출하고, 이미지 데이터로부터 단위 화소별로 포커스 값을 구하고, 포커스 값에 따라 입력 영역을 2이상 의 영역 바람직하게는 제1영역(610)과 제2영역(620)의 2개의 영역으로 구분한다. 포커스 값은 자동 초점 조절을 위하여 계산되는 포커스 값이 사용될 수 있다. The controller extracts image data from the input image (FIG. 5), obtains a focus value for each unit pixel from the image data, and sets the input area to two or more areas according to the focus value, preferably the
이때, 포커스 값은 각각의 단위 화소별 바람직하게는 픽셀(pixel) 단위로 계산되고, 각각의 포커스 값으로부터 2차원의 포커스 맵(도 6)이 생성될 수 있다. 입력 영상은 각각의 픽셀에서의 포커스 값이 미리 설정된 기준 포커스 값을 기준으로 제1영역(610)과 제2영역(620)으로 구분될 수 있다. In this case, the focus value is calculated for each unit pixel, preferably in pixel units, and a two-dimensional focus map (FIG. 6) may be generated from each focus value. The input image may be divided into a
도 6에는 각각의 단위 화소에 포커스 값이 표시되어 있으며, 그 포커스 값에 따라 제1영역(610)과 제2영역(620)으로 구분되어 있다. 이때, 도 6에 도시된 실시예에서는 제1영역(610)은 각각의 포커스 값이 기준 포커스 값보다 큰 영역이 되고, 제2영역(620)은 각각의 포커스 값이 기준 포커스 값보다 작은 영역이 될 수 있다. In FIG. 6, a focus value is displayed on each unit pixel, and is divided into a
도 6에 도시된 포커스 맵에서는 기준 포커스 값이 10이 되는 경우에, 제1영역(610)의 포커스 값은 10보다 큰 20, 30, 40, 50 등의 값을 가지며, 제2영역(620)의 포커스 값은 10보다 작은 5의 값을 갖는다. In the focus map illustrated in FIG. 6, when the reference focus value is 10, the focus value of the
포커스 맵을 생성하는 다른 실시예로서, 인접하는 단위 화소들 사이의 포커스 값의 차이가 미리 설정된 기준 차이값보다 크면 제1영역과 상기 제2영역의 경계로 인식되도록 하여, 제1영역과 제2영역을 구분하는 포커스 맵을 생성할 수 있다. In another embodiment of generating a focus map, when a difference in focus between adjacent unit pixels is greater than a preset reference difference, the first and second regions are recognized as a boundary between the first region and the second region. You can create a focus map that separates areas.
한편, 제어부는 포커스 맵에서 제1영역을 제외한 영역 즉 도 6의 포커스 맵에서는 제2영역(620)의 영상을 변경하여 출력 영상(도 7)을 생성한다. 즉, 제2영역(620)을 흰색, 검정색, 파란색, 또는 녹색 등의 하나의 동일한 특정 색깔로 변경하고, 변경된 제2영역(620)을 제1영역(610)과 합성하여 출력 영상(도 7)을 생성한 다. Meanwhile, the controller generates an output image (FIG. 7) by changing an image of the
본 발명에 따른 디지털 영상 처리장치의 제어장치(2)에 의하면, 자동 포커싱을 위하여 계산되는 포커스 값을 기준으로 하여 주피사체 영역과 배경 영역을 구분함으로써, 제어부 내부에서 간단한 계산에 의하여 용이하게 증명 사진 등의 주피사체만을 위한 사진을 촬영할 수 있다. According to the
이렇게 생성된 출력 영상은 도 4에 도시된 방법에 의하여 포토 프레임으로 등록될 수 있다. 즉, 제1영역을 제외한 영역 즉 제2영역을 투명화 처리를 하고 포토 프레임으로 등록 및 저장함으로써, 포토 프레임 촬영을 위한 사용자가 원하는 포토 프레임 등록을 용이하게 할 수 있다. 따라서, 사용자가 자유롭게 원하는 영상을 포토 프레임으로 등록하고 이를 합성한 포토 프레임 촬영을 수행할 수 있다. The generated output image may be registered as a photo frame by the method illustrated in FIG. 4. That is, by excluding the first area, that is, the second area and performing the transparency process and registering and storing the second area as a photo frame, it is possible to easily register a photo frame desired by the user for photographing the photo frame. Therefore, a user can freely register a desired image as a photo frame and perform photo frame photographing by synthesizing the image.
도 3에는 본 발명에 따른 바람직한 실시예로서 디지털 영상 처리장치의 제어방법이 도시되고, 도 4에는 디지털 영상 처리장치의 제어방법에서 포토 프레임의 등록하는 방법이 도시되어 있다. 3 shows a control method of a digital image processing apparatus as a preferred embodiment according to the present invention, and FIG. 4 shows a method of registering a photo frame in the control method of the digital image processing apparatus.
도면을 참조하면, 디지털 영상 처리장치의 제어방법(S300)은, 입력 영상 입력단계(S310); 이미지 데이터 추출단계(S320); 포커스 값 추출단계(S330); 포커스 맵 작성단계(S340); 주피사체 영역과 배경영역의 분리단계(S350); 배경 영역의 변경단계(S360); 표시장치에 표시단계(S370); 및 저장단계(S370)를 구비한다. Referring to the drawings, the control method of the digital image processing apparatus (S300), the input image input step (S310); Image data extraction step (S320); Focus value extraction step (S330); Focus map creation step (S340); Separating the main subject area from the background area (S350); Changing the background area (S360); Displaying on the display device (S370); And a storage step (S370).
디지털 영상 처리장치의 제어방법(S300)은 도 2에 도시된 디지털 영상 처리장치의 제어장치에서 구현될 수 있다. 디지털 영상 처리장치의 제어방법(S300)은 입력 영상(도 5)을 포커스 값의 분포에 따라 주피사체 영역과 배경 영역으로 분리 하고(도 6), 배경 영역을 특정한 하나의 색깔로 변환하여, 주피사체만의 증명 사진 또는 포토 프레임을 위한 출력 영상(도 7)을 생성한다. 이때, 2이상의 영역은 주피사체 영역에 해당하는 제1영역(610)과 배경 영역에 해당하는 제2영역(620)이 될 수 있다. The control method S300 of the digital image processing apparatus may be implemented in the control apparatus of the digital image processing apparatus illustrated in FIG. 2. The control method (S300) of the digital image processing apparatus divides an input image (FIG. 5) into a main subject area and a background area according to a distribution of focus values (FIG. 6), and converts the background area into a specific color. An output image (FIG. 7) for a subject-only ID photo or a photo frame is generated. In this case, the two or more regions may be the
입력 영상 입력단계(S310)에는 외부로부터 입력 영상(도 5)을 입력받는다. 이미지 데이터 추출단계(S320)에는 입력 영상(도 5)으로부터 이미지 데이터를 추출한다. In the input image input step S310, an input image (FIG. 5) is received from the outside. In the image data extraction step S320, image data is extracted from the input image (FIG. 5).
포커스 값 추출단계(S330)에는 이미지 데이터에서 각각의 단위 화소별로 포커스 값을 구한다. 이때, 포커스 값은 자동 초점 조절을 위하여 계산되는 포커스 값이 사용될 수 있다. 포커스 값은 각각의 단위 화소별 바람직하게는 픽셀(pixel) 단위로 계산될 수 있다. In the focus value extraction step S330, a focus value is obtained for each unit pixel in the image data. In this case, a focus value calculated for auto focus adjustment may be used. The focus value may be calculated for each unit pixel, preferably in pixel units.
포커스 맵 작성단계(S340)에는 입력 영상을 2이상의 영역으로 구분하는 포커스 맵(도 6)이 작성된다. 이때, 각각의 포커스 값으로부터 2차원의 포커스 맵(도 6)이 생성될 수 있다. 주피사체 영역과 배경영역의 분리단계(S350)에는 포커스 값에 따라 입력 영상을 제1영역(610)과 제2영역(620)을 포함한 2이상의 영역으로 구분한다. In the focus map preparing step (S340), a focus map (FIG. 6) for dividing the input image into two or more regions is created. In this case, a two-dimensional focus map (FIG. 6) may be generated from each focus value. In the step S350 of separating the main subject area from the background area, the input image is divided into two or more areas including the
입력 영역(도 5)은 포커스 값에 따라 2이상의 영역 바람직하게는 제1영역(610)과 제2영역(620)의 2개의 영역으로 구분된다. 입력 영상은 각각의 픽셀에서의 포커스 값이 미리 설정된 기준 포커스 값을 기준으로 제1영역(610)과 제2영역(620)으로 구분될 수 있다. 제1영역(610)은 주피사체 영역이 되고, 제2영역(620) 은 배경 영역이 될 수 있다. The input area (FIG. 5) is divided into two or more areas, preferably, two areas of the
도 6에는 각각의 단위 화소에 포커스 값이 표시되어 있으며, 그 포커스 값에 따라 제1영역(610)과 제2영역(620)으로 구분되어 있다. 이때, 도 6에 도시된 실시예에서는 제1영역(610)은 각각의 포커스 값이 기준 포커스 값보다 큰 영역이 되고, 제2영역(620)은 각각의 포커스 값이 기준 포커스 값보다 작은 영역이 될 수 있다. In FIG. 6, a focus value is displayed on each unit pixel, and is divided into a
도 6에 도시된 포커스 맵에서는 기준 포커스 값이 10이 되는 경우에, 제1영역(610)의 포커스 값은 10보다 큰 20, 30, 40, 50 등의 값을 가지며, 제2영역(620)의 포커스 값은 10보다 작은 5의 값을 갖는다. In the focus map illustrated in FIG. 6, when the reference focus value is 10, the focus value of the
포커스 맵을 생성하는 다른 실시예로서, 인접하는 단위 화소들 사이의 포커스 값의 차이가 미리 설정된 기준 차이값보다 크면 제1영역과 상기 제2영역의 경계로 인식되도록 하여, 제1영역과 제2영역을 구분하는 포커스 맵을 생성할 수 있다. In another embodiment of generating a focus map, when a difference in focus between adjacent unit pixels is greater than a preset reference difference, the first and second regions are recognized as a boundary between the first region and the second region. You can create a focus map that separates areas.
배경 영역의 변경단계(S360)에는 제1영역을 제외한 영역 즉 제2영역(620)의 영상을 변경하여 제1영역(610)과 합성하여 출력 영상(도 7)을 생성한다. 즉, 제2영역(620)을 흰색, 검정색, 파란색, 또는 녹색 등의 하나의 동일한 특정 색깔로 변경할 수 있다. In operation S360 of changing the background region, an image of the region except for the first region, that is, the
표시장치에 표시단계(S370)에는 출력 영상(도 7)이 저장된다. 저장단계(S370)에는 출력 영상(도 7)이 디스플레이 패널(도 2의 25)에 표시된다. 표시장치에 표시된 출력 영상(도 7)을 보고서 사용자가 삭제 여부를 선택할 수도 있다. In the display step S370 of the display device, an output image (FIG. 7) is stored. In the storage step S370, an output image (FIG. 7) is displayed on the
본 발명에 따른 디지털 영상 처리장치의 제어방법(S300)에 의하면, 자동 포커싱을 위하여 계산되는 포커스 값을 기준으로 하여 주피사체 영역과 배경 영역을 구분함으로써, 제어부 내부에서 간단한 계산에 의하여 용이하게 증명 사진 등의 주피사체만을 위한 사진을 촬영할 수 있다. According to the control method (S300) of the digital image processing apparatus according to the present invention, by distinguishing the main subject area and the background area on the basis of the focus value calculated for automatic focusing, the proof picture is easily made by simple calculation inside the controller. You can take pictures only for the main subject of the back.
이렇게 생성된 출력 영상은 도 4에 도시된 방법에 의하여 포토 프레임으로 등록될 수 있다. 디지털 영상 처리장치의 제어방법의 다른 실시예(S400)에서는 포토 프레임을 등록하는 사용자의 선택(S410)에 의하여, 도 3의 실시예에서 배경 영역의 변경단계(S360)에 제1 영역을 제외한 영역 즉 제2영역(620)을 투명하게 변경한다. 또한, 투명화 처리된 제2영역(620)을 제1영역(610)과 합성하여 포토 프레임의 출력 영상을 생성한다. 다음으로 포토 프레임을 저장 및 등록한다(S430, S440).The generated output image may be registered as a photo frame by the method illustrated in FIG. 4. In another embodiment of the control method of the digital image processing apparatus (S400), an area excluding the first area in the changing of the background area (S360) in the embodiment of FIG. 3 by selection of a user registering a photo frame (S410). That is, the
즉, 제1영역을 제외한 영역 즉 제2영역(620)을 투명화 처리를 하고 포토 프레임으로 등록 및 저장함으로써, 포토 프레임 촬영을 위한 사용자가 원하는 포토 프레임 등록을 용이하게 할 수 있다. 따라서, 사용자가 자유롭게 원하는 영상을 포토 프레임으로 등록하고 이를 합성한 포토 프레임 촬영을 수행할 수 있다. In other words, by performing the transparent process on the area excluding the first area, that is, the
본 발명에 따른 디지털 영상 처리장치의 제어방법 및 그 장치에 의하면, 촬상 소자 등을 통하여 입력되는 입력 이미지 데이터로부터 입력 영상에 대한 포커스 맵을 작성하고, 포커스 값에 따라 입력 영상을 주 피사체 영역을 배경 영역과 분리함으로써, 증명 사진 촬영 또는 사용자 정의 포토 프레임 등록을 용이하게 할 수 있다. According to the control method and apparatus of the digital image processing apparatus according to the present invention, a focus map for an input image is created from input image data input through an image pickup device, or the like, and the input image is set to a background of the main subject area according to the focus value. By separating from the area, ID photo shooting or user-defined photo frame registration can be facilitated.
본 발명은 첨부된 도면에 도시된 일 실시예를 참고로 설명되었으나, 이는 예시적인 것에 불과하며, 당해 기술분야에서 통상의 지식을 가진 자라면 이로부터 다 양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 수 있을 것이다. 따라서, 본 발명의 진정한 보호 범위는 첨부된 청구 범위에 의해서만 정해져야 할 것이다. Although the present invention has been described with reference to one embodiment shown in the accompanying drawings, this is merely exemplary, and various modifications and equivalent other embodiments may be made by those skilled in the art. You will understand. Accordingly, the true scope of protection of the invention should be defined only by the appended claims.
Claims (17)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020070033354A KR20080090174A (en) | 2007-04-04 | 2007-04-04 | Method of controlling digital image processing apparatus and apparatus thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020070033354A KR20080090174A (en) | 2007-04-04 | 2007-04-04 | Method of controlling digital image processing apparatus and apparatus thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20080090174A true KR20080090174A (en) | 2008-10-08 |
Family
ID=40151549
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020070033354A KR20080090174A (en) | 2007-04-04 | 2007-04-04 | Method of controlling digital image processing apparatus and apparatus thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20080090174A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015012495A1 (en) * | 2013-07-23 | 2015-01-29 | Samsung Electronics Co., Ltd. | User terminal device and the control method thereof |
WO2015016619A1 (en) * | 2013-07-31 | 2015-02-05 | Samsung Electronics Co., Ltd. | Electronic apparatus, method of controlling the same, and image reproducing apparatus and method |
-
2007
- 2007-04-04 KR KR1020070033354A patent/KR20080090174A/en not_active Application Discontinuation
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015012495A1 (en) * | 2013-07-23 | 2015-01-29 | Samsung Electronics Co., Ltd. | User terminal device and the control method thereof |
US9749494B2 (en) | 2013-07-23 | 2017-08-29 | Samsung Electronics Co., Ltd. | User terminal device for displaying an object image in which a feature part changes based on image metadata and the control method thereof |
WO2015016619A1 (en) * | 2013-07-31 | 2015-02-05 | Samsung Electronics Co., Ltd. | Electronic apparatus, method of controlling the same, and image reproducing apparatus and method |
US10237491B2 (en) | 2013-07-31 | 2019-03-19 | Samsung Electronics Co., Ltd. | Electronic apparatus, method of controlling the same, for capturing, storing, and reproducing multifocal images |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100503039B1 (en) | Method to control operation of digital camera for user to easily take an identification photograph | |
KR100627048B1 (en) | Controlling method of digital camera | |
KR20100056280A (en) | Apparatus for processing digital image and method for controlling thereof | |
JP6389342B2 (en) | Imaging apparatus and control method thereof | |
KR20090097005A (en) | Apparatus for processing digital image and method for controlling thereof | |
KR20090083713A (en) | Apparatus for processing digital image and method for controlling thereof | |
KR20080090174A (en) | Method of controlling digital image processing apparatus and apparatus thereof | |
KR100627049B1 (en) | Apparatus and method for composing object to image in digital camera | |
KR101396347B1 (en) | Apparatus for processing digital image and method for controlling thereof | |
KR101411912B1 (en) | Apparatus for processing digital image and method for controlling thereof | |
KR101364537B1 (en) | Apparatus for processing digital image | |
KR101156676B1 (en) | Method for processing digital image | |
KR101457412B1 (en) | Apparatus for processing digital image and method for controlling thereof | |
KR101411318B1 (en) | Apparatus for processing digital image and method for controlling thereof | |
KR20100077719A (en) | Apparatus for processing digital image and method for controlling thereof | |
KR20220014512A (en) | Automatic image control method and apparatus of image apparatus | |
KR100873042B1 (en) | Method of controlling digital image processing apparatus and apparatus thereof | |
KR101288914B1 (en) | Method of controlling digital image processing apparatus and apparatus thereof | |
KR20090077486A (en) | Apparatus for processing digital image and method for controlling thereof | |
KR101362769B1 (en) | Apparatus for processing digital image and method for controlling thereof | |
KR20090098502A (en) | Apparatus for processing digital image and method for controlling thereof | |
KR101442604B1 (en) | Apparatus for processing digital image and method for controlling thereof | |
KR101396345B1 (en) | Apparatus for processing digital image and method for controlling the same | |
KR20090034085A (en) | Apparatus for processing digital image and method controlling thereof | |
KR20100056279A (en) | Apparatus for processing digital image and method for controlling thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
N231 | Notification of change of applicant | ||
N231 | Notification of change of applicant | ||
A201 | Request for examination | ||
E601 | Decision to refuse application |