KR20140007529A - Apparatus and method for taking a picture in camera device and wireless terminal having a camera device - Google Patents

Apparatus and method for taking a picture in camera device and wireless terminal having a camera device Download PDF

Info

Publication number
KR20140007529A
KR20140007529A KR1020120074430A KR20120074430A KR20140007529A KR 20140007529 A KR20140007529 A KR 20140007529A KR 1020120074430 A KR1020120074430 A KR 1020120074430A KR 20120074430 A KR20120074430 A KR 20120074430A KR 20140007529 A KR20140007529 A KR 20140007529A
Authority
KR
South Korea
Prior art keywords
image
focus
value
selecting
autofocus
Prior art date
Application number
KR1020120074430A
Other languages
Korean (ko)
Inventor
이해선
김명원
이종협
채용수
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1020120074430A priority Critical patent/KR20140007529A/en
Priority to EP13174841.0A priority patent/EP2685708A1/en
Priority to CN201310286525.1A priority patent/CN103546682A/en
Priority to US13/938,021 priority patent/US20140009636A1/en
Publication of KR20140007529A publication Critical patent/KR20140007529A/en

Links

Images

Classifications

    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B13/00Viewfinders; Focusing aids for cameras; Means for focusing for cameras; Autofocus systems for cameras
    • G03B13/32Means for focusing
    • G03B13/34Power focusing
    • G03B13/36Autofocus systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)

Abstract

An image photographing method for a camera device comprises an autofocus photographing process of moving a focus lens at predetermined focus gaps for continuous shooting and storing a focus value on the focused areas of a photographed image with the image by extracting the focus value and a focus resetting process of displaying a representative image of the stored autofocus image and selecting and storing the image which has the maximum focus value in the focus area of a selected position when the position of the image is selected. [Reference numerals] (611) Driving a focus actuator to an initial position; (613) Photographing; (615) Extracting a focus value in a focus area; (617) Image and focus value stored; (619) Last focus position?; (621) Driving the focus actuator to a next position; (AA) Start; (BB) End

Description

카메라의 이미지 촬영장치 및 방법{APPARATUS AND METHOD FOR TAKING A PICTURE IN CAMERA DEVICE AND WIRELESS TERMINAL HAVING A CAMERA DEVICE}Apparatus and method for taking images of cameras {APPARATUS AND METHOD FOR TAKING A PICTURE IN CAMERA DEVICE AND WIRELESS TERMINAL HAVING A CAMERA DEVICE}

본 발명은 카메라 및 카메라를 구비하는 휴대단말기의 이미지 촬영장치 및 방법에 관한 것으로, 특히 오토포커스 이미지를 처리할 수 있는 장치 및 방법에 관한 것이다.The present invention relates to a camera and an image capturing device and method of a mobile terminal having a camera, and more particularly to a device and method capable of processing an autofocus image.

일반적으로 카메라장치 또는 카메라를 구비하는 휴대단말기는 오토 포커스(auto-focusing) 기능을 가지며, 정지 이미지(still image)를 촬영할 때 카메라는 포커스 렌즈의 움직임에 따라 개발자나 제조사가 설정한 포커스 영역(Focus Region)의 포커스 값(Focus Value, 이하 FV)이 가장 큰 1장의 이미지만을 저장한다. 그러나 종래의 카메라 장치에서 미리 정해진 오토포커스 기능은 대부분 포커스 영역이 고정되어 있거나, 복잡한 알고리즘으로 특정 영역 부분을 선정하여 포커스를 맞추는 기능이다. 이런 경우 사진촬영시 사용자가 원하지 않는 부분에 포커스가 될 수 있으며, 원하는 부분에 포커싱이 되지 않은 이미지를 후보정하더라도 사용자가 원하는 부분에 포커싱된 이미지를 만드는 것은 불가능하다.In general, a camera device or a mobile terminal having a camera has an auto-focusing function, and when a still image is taken, the camera focuses on a focus area set by a developer or a manufacturer according to the movement of the focus lens. Only one image with the largest Focus Value (FV) is saved. However, in the conventional camera device, a predetermined autofocus function is a function of focusing a fixed area or selecting a specific area by a complex algorithm. In this case, the user may focus on a portion that the user does not want, and even if the candidate image is not focused on the desired portion, it is impossible to make the image focused on the portion.

본 발명은 카메라 또는 카메라를 구비하는 휴대단말기에서 서로 다른 초점의 이미지들을 촬영하고, 사용자가 포커스 맞는 이미지를 임의로 선택하여 저장할 수 있는 장치 및 방법을 제안한다. The present invention proposes an apparatus and method for capturing images of different focal points in a camera or a portable terminal including a camera, and allowing a user to arbitrarily select and store an image in focus.

이를 위하여 본 발명의 실시예에 따른 카메라장치는 이미지 촬영시 포커스 동작이 이루어지는 과정 중 포커스 렌즈가 움직일 동안 그에 따른 여러 장의 이미지를 메모리나 버퍼에 저장할 수 있는 장치 및 방법을 제안한다. 그리고 포스트 뷰(Post View) 상태에서 사용자가 선택하는 이미지나 이미지의 특정 부분을 선택했을 때 그 부분에 오토포커스가 맞는 이미지를 보여 주거나, 저장되도록 하는 기능을 제공하는 장치 및 방법을 제안한다. To this end, the camera device according to an embodiment of the present invention proposes an apparatus and method for storing a plurality of images in a memory or a buffer while the focus lens moves during a focus operation during image capturing. The present invention also proposes an apparatus and method for providing a function of displaying or storing an image in which autofocus fits when a user selects an image or a specific part of the image in a post view state.

본 발명의 실시예에 따른 카메라장치의 이미지 처리방법이, 포커스 렌즈를 설정된 포커스 간격으로 이동시키며 연속 촬영하고, 촬영된 이미지의 포커스 영역들에 대한 포커스 값을 추출하여 이미지와 함께 저장하는 오토포커스 촬영과정과, 저장된 오토포커스 이미지의 대표 이미지를 표시하며, 상기 이미지의 위치 선택시 선택된 위치의 포커스 영역에서 최대 포커스 값을 가지는 이미지를 선택하여 저장하는 포커스 재설정 과정으로 이루어짐을 특징으로 한다.In the image processing method of the camera apparatus according to an embodiment of the present invention, the autofocus photographing to continuously shoot the focus lens at a set focus interval, and to extract the focus values for the focus areas of the captured image and to store them together with the image. And displaying a representative image of the stored autofocus image, and selecting and storing an image having the maximum focus value in the focus area of the selected position when selecting the position of the image.

또한 본 발명의 실시예에 따른 카메라장치는, 포커스 렌즈를 설정된 포커스 간격으로 이동시키며 연속 촬영하는 카메라부와, 상기 카메라부에서 촬영된 이미지의 포커스 영역들에 대한 포커스값을 추출하여 이미지와 함께 전송하는 이미지처리부와, 포커스값 및 이미지를 저장하는 저장부와, 상기 이미지처리부에서 전송되는 이미지 및 포커스값을 상기 저장부에 저장시키며, 포커스 재설정시 상기 저장된 오토포커스의 대표이미지를 표시하고, 상기 표시되는 이미지에서 선택된 위치의 포커스 영역에서 최대 포커스 값을 가지는 이미지를 선택하여 상기 저장부에 저장하는 제어부와, 상기 제어부의 제어하에 이미지를 표시하는 표시부로 구성된 것을 특징으로 한다. In addition, the camera apparatus according to an embodiment of the present invention, the camera unit for continuously photographing while moving the focus lens at a set focus interval, and extracts the focus values for the focus areas of the image photographed by the camera unit and transmits it with the image. An image processing unit, a storage unit storing a focus value and an image, and an image and a focus value transmitted from the image processing unit are stored in the storage unit, and displaying the representative image of the stored autofocus when the focus is reset, and displaying the displayed image. And a control unit for selecting an image having the maximum focus value in the focus area of the selected position in the image to be stored in the storage unit, and a display unit for displaying the image under the control of the control unit.

그리고 본 발명의 다른 실시예에 따른 카메라장치의 이미지 처리방법은, 포커스 렌즈를 설정된 포커스 간격으로 이동시키며 연속 촬영하여 저장하는 오토포커스 촬영과정과, 포커스 재설정 요구시 상기 저장된 이미지들의 포커스 영역들에 대한 포커스값을 추출한 후, 저장된 오토포커스 이미지의 대표 이미지를 표시하며, 표시되는 대표이미지에서 포커스 위치 선택시 선택된 위치의 포커스 영역에서 최대 포커스 값을 가지는 이미지를 선택하여 저장하는 포커스 재설정 과정으로 이루어짐을 특징으로 한다.The image processing method of the camera apparatus according to another embodiment of the present invention includes an autofocus photographing process of continuously photographing and storing a focus lens at a set focus interval, and for focus areas of the stored images when a focus reset request is made. After extracting the focus value, a representative image of the stored autofocus image is displayed, and when the focus position is selected from the displayed representative image, a focus reset process of selecting and storing the image having the maximum focus value in the focus region of the selected position is performed. It is done.

본 발명은 사용자가 사진 촬영 후 이미지의 원하는 부분에 포커스가 맞은 이미지를 만드는 게 가능하게 함으로써 기존 카메라에서는 불가능하였던 새로운 기능을 제공할 수 있다. The present invention enables the user to create an image in which a desired part of the image is in focus after taking a picture, thereby providing a new function that was not possible with a conventional camera.

도 1은 본 발명의 실시예에 따른 카메라장치의 구성을 도시하는 도면
도 2는 도 1과 같은 구성을 가지는 본 발명의 실시예에 따른 카메라장치에서 카메라부의 구성을 도시하는 도면
도 3a 및 도 3b는 본 발명의 실시예에 따른 이미지처리부 및 제어부의 구성을 도시하는 도면
도 4는 본 발명의 다른 실시예에 따른 이미지처리부의 구성을 도시하는 도면
도 5는 본 발명의 실시예에 따른 카메라장치에서 오토포커스 사진 촬영 및 편집을 수행하는 절차를 도시하는 흐름도
도 6은 본 발명의 실시예에 따른 카메라장치에서 오토포커스 촬영 동작을 수행하는 절차를 도시하는 흐름도
도 7a는 본 발명의 실시예에 따라 오토포커스 촬영된 이미지들의 포커스 영역 및 이미지의 예를 도시하는 도면이며, 도 7b는 도 7a와 같은 이미지에서 추출되는 포커스 값의 예를 도시하는 도면
도 8은 본 발명의 실시예에 따른 카메라장치에서 오토포커스 촬영된 이미지의 포커스를 재설정하는 절차를 도시하는 흐름도
도 9a - 도 9c는 본 발명의 실시예에 따른 오토포커스 이미지들 중에서 최대 포커스 값을 가지는 포커스 영역의 예들을 도시하는 도면
도 10a - 도 10b는 본 발명의 실시예에 따라 스크롤바를 이용하여 최대 포커스 값을 가지는 포커스영역의 표시 예를 설명하기 위한 도면
도 11은 카메라장치가 본 발명의 다른 실시에에 따라 서로 다른 포커스의 이미지들을 촬영하는 절차를 도시하는 흐름도
도 12는 카메라장치에서 본 발명의 다른 실시예에 따라 촬영된 이미지의 포커스를 재설정하는 절차를 도시하는 흐름도
1 is a diagram illustrating a configuration of a camera apparatus according to an embodiment of the present invention.
FIG. 2 is a diagram illustrating a configuration of a camera unit in a camera apparatus according to an embodiment of the present invention having the configuration as illustrated in FIG. 1.
3A and 3B are diagrams showing the configuration of an image processor and a controller according to an embodiment of the present invention.
4 is a diagram illustrating a configuration of an image processing unit according to another embodiment of the present invention.
5 is a flowchart illustrating a procedure of performing autofocus photographing and editing in a camera apparatus according to an embodiment of the present invention.
6 is a flowchart illustrating a procedure of performing an autofocus shooting operation in a camera apparatus according to an embodiment of the present invention.
FIG. 7A is a diagram illustrating an example of a focus area and an image of autofocus photographed images according to an embodiment of the present invention, and FIG. 7B is a diagram illustrating an example of a focus value extracted from an image as illustrated in FIG. 7A.
8 is a flowchart illustrating a procedure for resetting focus of an autofocused image in a camera apparatus according to an embodiment of the present invention.
9A-9C illustrate examples of a focus area having a maximum focus value among autofocus images according to an embodiment of the present invention.
10A and 10B are diagrams for describing a display example of a focus area having a maximum focus value using a scroll bar according to an exemplary embodiment of the present invention.
11 is a flowchart illustrating a procedure in which a camera apparatus photographs images of different focus according to another embodiment of the present invention.
12 is a flowchart illustrating a procedure of refocusing a captured image according to another embodiment of the present invention in a camera apparatus.

이하, 본 발명의 바람직한 실시 예들의 상세한 설명이 첨부된 도면을 참조하여 상세히 설명한다. 도면들 중 동일한 구성들은 가능한 한 어느 곳에서든지 동일한 부호들을 나타내고 있음을 유의하여야 한다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the same configurations of the drawings denote the same reference numerals as possible whenever possible.

본 발명은 오토 포커스 (Auto Focus)기능이 촬영 장치에서 이미지 촬영 후 이미지 상에서 포커스가 맞는 지점을 사용자가 임의로 조정할 수 있도록 하는 장치 및 방법에 관한 것이다. 본 발명의 장치 및 방법은 포커스 동작이 이루어지는 과정 중 포커스 렌즈가 움직일 동안 그에 따른 여러 장의 이미지를 메모리나 버퍼에 저장하고, 포스트 뷰(Post View) 상태에서 사용자가 선택하는 이미지나 이미지의 특정 부분을 선택했을 때 그 부분에 오토포커스가 맞는 이미지를 보여 주거나, 저장되도록 하는 기능을 제공하는 장치 및 방법에 관한 것이다. The present invention relates to an apparatus and method for allowing an auto focus function to allow a user to arbitrarily adjust a point on which an image is in focus after capturing an image in a photographing apparatus. The apparatus and method of the present invention store a plurality of images in memory or a buffer while the focus lens is moving during a focus operation, and selects a specific portion of the image or image selected by the user in a post view state. The present invention relates to an apparatus and a method for providing a function of displaying or storing an image in which autofocus fits on a portion thereof when selected.

이하의 설명에서 카메라 또는 카메라를 구비하는 휴대단말기는 카메라장치라 칭하기로 한다. In the following description, a mobile terminal having a camera or a camera will be referred to as a camera device.

본 발명의 실시예에 따른 카메라장치는 포커스를 조절할 수 있는 기능을 구비하며, 포커스 렌즈가 구동되는 동안에 각 포커스들에 대응되는 복수의 이미지들을 촬영하며, 각 포커스의 이미지들을 저장할 때 동시에 각 포커스 렌즈 움직임에 따른 이미지의 포커스 영역마다 포커스값을 저장한다. 그리고 본 발명의 실시예에 따른 휴대단말기는 이미지 표시시 대표이미지를 표시하며, 대표 이미지를 표시하는 상태에서 사용자가 임의의 영역을 선택하였을 때 그 영역의 최대 포커스값이 있는 이미지를 표시하므로써, 사용자가 임의로 포커스를 조절할 수 있도록 한다. Camera apparatus according to an embodiment of the present invention has a function to adjust the focus, while photographing a plurality of images corresponding to each of the focus while the focus lens is driving, and at the same time each focus lens when storing the image of each focus The focus value is stored for each focus area of the image according to the movement. The mobile terminal according to an embodiment of the present invention displays a representative image when displaying an image, and when the user selects an arbitrary region in the state of displaying the representative image, the mobile terminal displays an image having the maximum focus value of the region. Allows you to adjust the focus arbitrarily.

이때 상기 각 포커스 영역들의 포커스값은 영상처리장치(ISP)의 포커스 윈도우(Focus Window)를 이용하며, 상기 각 포커스 영역의 포커스값들은 메타데이타 형태로 이미지와 동시에 저장하고, 상기 메터 데이터는 선택된 영역의 포커스 최대값을 찾을 때 이용할 수 있다. 이때 상기 최대 포커스값을 갖는 이미지를 표시하는 방법은 현재 이미지의 포커스 렌즈 위치와 최대 포커스 값을 갖는 이미지의 포커스 렌즈 위치의 중간 이미지들을 표시하여 이미지가 자연스럽게 변하게 할 수도 있다. In this case, the focus values of the respective focus areas use a focus window of the image processing apparatus ISP, the focus values of the focus areas are simultaneously stored in the form of metadata and the meter data is selected. Can be used to find the maximum focus of the. In this case, the method of displaying the image having the maximum focus value may display the intermediate images of the focus lens position of the current image and the focus lens position of the image having the maximum focus value so that the image may be naturally changed.

도 1은 본 발명의 실시예에 따른 카메라장치의 구성을 도시하는 도면이다.1 is a diagram showing the configuration of a camera apparatus according to an embodiment of the present invention.

상기 도 1을 참조하면, 카메라부110은 이미지센서를 구비하며, 포커스 렌즈의 구동에 의해 초점이 이루어지며, 상기 이미지센서를 통해 이미지를 획득하는 기능을 수행한다. 본 발명의 실시예에 따른 상기 카메라부110은 사진 촬영 요구시 포커스를 변경하면서 서로 다른 초점을 가지는 복수의 이미지들을 생성한다. 즉, 상기 카메라부110은 이미지 촬영시 포커스를 변경하면서 복수의 이미지들을 생성하며, 이때 생성되는 복수의 이미지들은 서로 다른 초점 거리를 가지는 이미지들이 된다. Referring to FIG. 1, the camera unit 110 includes an image sensor, focuses by driving a focus lens, and performs a function of acquiring an image through the image sensor. The camera unit 110 according to an embodiment of the present invention generates a plurality of images having different focus while changing the focus when a picture taking request. That is, the camera unit 110 generates a plurality of images while changing the focus when capturing an image, and the plurality of images generated are images having different focal lengths.

이미지처리부120은 상기 카메라부110으로부터 획득되는 이미지를 표시부150에 표시 및/또는 저장부140에 저장할 수 있는 형태로 처리하여 출력한다. 이때 상기 이미지처리부120은 다양한 형태로 구성할 수 있다. 상기 이미지처리부120은 상기 카메라부110으로부터 출력되는 이미지(raw image)를 수신하여 표시부160에 표시하기 위한 크기로 스케일링할 수 있으며, 또한 상기 카메라부110에서 출력되는 이미지를 표시 및 저장하기 위한 영상 처리 동작을 수행할 수 있다. 여기서 상기 영상처리 동작은 상기 카메라부110에서 출력되는 이미지를 3A(AWB(auto white balance), AE(auto exposure), AF(Auto focusing)) 추출 및 처리하며, 렌즈 셰이딩 보상(lens shading correction), 데드픽셀 보정(dead pixel correction), knee 보정을 수행할 수 있으며(예를들면 영상 전처리 동작), 그리고 상기와 같이 처리된 이미지를 색보간 및 잡음제거, 색보정 등을 처리하고, 색변환하여 YUV 데이터로 생성하는 동작(예를들면 후처리 동작) 등을 수행할 수 있다. The image processor 120 processes and outputs the image acquired from the camera 110 in a form that can be displayed on the display 150 and / or stored in the storage 140. In this case, the image processor 120 may be configured in various forms. The image processing unit 120 may receive an image output from the camera unit 110 and scale it to a size for displaying on the display unit 160, and further, image processing for displaying and storing the image output from the camera unit 110. You can perform the operation. Here, the image processing operation extracts and processes an image output from the camera unit 110 (AWB (auto white balance), AE (auto exposure), AF (auto focusing)), lens shading correction, Dead pixel correction, knee correction can be performed (e.g., image preprocessing), and the image processed as above is subjected to color interpolation, noise reduction, color correction, and color conversion An operation of generating data (for example, a post-processing operation) may be performed.

또한 상기 이미지처리부120은 상기 카메라부110으로부터 상기 이미지의 촬영정보를 획득한다. 이때 상기 촬영정보는 상기 카메라부110에서 이미지 촬영시 획득할 수 있는 exif 정보 이외에 다양한 정보들을 추가적으로 획득할 수 있다. 본 발명의 실시예에 따른 상기 이미지처리부120은 상기 카메라110의 포커싱이 변경되어 촬영되는 각 이미지들의 포커스 영역들에 대응되는 포커스 값들을 추출하며, 상기 추출되는 포커스 값을 이미지에 메터 데이터 형태로 저장될 수 있도록 한다. 본 발명의 실시예에 따른 이미지처리부120은 오토포커스 촬영모드시 상기 카메라부110의 포커스 렌즈를 설정된 포커스 간격으로 이동시키면 연속으로 초점 거리가 다른 복수의 이미지들을 획득한다. 그리고 상기 이미지처리부120은 상기 획득된 이미지들을 설정된 수의 포커스 영역들로 구분하고, 상기 각 포커스 영역들의 포커스 값들을 추출하며, 상기 추출된 포커스값들 해당 초점거리를 가지는 이미지에 메터 데이터 형태로 함께 저장되도록 한다. In addition, the image processor 120 obtains photographing information of the image from the camera unit 110. In this case, the photographing information may additionally obtain various information in addition to the exif information that may be obtained when the image is captured by the camera unit 110. The image processor 120 according to an embodiment of the present invention extracts the focus values corresponding to the focus areas of each image photographed by changing the focusing of the camera 110, and stores the extracted focus value in the form of meter data in the image. To be possible. The image processor 120 according to an exemplary embodiment of the present invention acquires a plurality of images having different focal lengths continuously by moving the focus lens of the camera 110 at a set focus interval in the autofocus photographing mode. The image processor 120 divides the acquired images into a predetermined number of focus regions, extracts focus values of the respective focus regions, and adds the extracted focus values to an image having a corresponding focal length in the form of meter data. To be stored.

또한 본 발명의 실시예에서 상기 카메라부110은 이미지 촬영시 복수의 이미지들을 촬영하게 되며, 이런 경우 이미지처리부120에서 처리되는 이미지들을 신속하게 전송하기 위하여 압축 코더를 구비할 수 있다. 이런 경우, 상기 이미지처리부120은 상기 카메라부110에서 생성되는 이미지들을 처리하여 표시이미지 및 압축이미지를 함께 생성할 수도 있다. 본 발명의 실시예에서 상기 이미지처리부120은 표시이미지 및 압축이미지를 함께 생성하는 구성을 가지는 경우로 가정하여 설명하기로 한다. 그러나 본 발명의 실시예에 따른 이미지는 압축하지 않고 그대로 사용할 수도 있다. 이런 경우 상기 이미지는 YUV 등의 형태를 가질 수 있다.In addition, in the embodiment of the present invention, the camera unit 110 photographs a plurality of images during image capturing. In this case, the camera unit 110 may include a compression coder to quickly transmit images processed by the image processor 120. In this case, the image processor 120 may process the images generated by the camera unit 110 to generate a display image and a compressed image together. In the embodiment of the present invention, it will be described on the assumption that the image processing unit 120 has a configuration of generating a display image and a compressed image together. However, the image according to the embodiment of the present invention may be used as it is without compression. In this case, the image may have a form such as YUV.

제어부130은 카메라장치의 전반적인 동작을 제어하며, 본 발명의 실시예에 따라 상기 이미지처리부120에서 출력되는 이미지들을 표시 및 저장하는 동작을 제어하며, 또한 상기 저장된 이미지들을 표시할 때 사용자에 의해 선택된 이미지를 편집하는 동작을 제어한다. 즉, 상기 제어부130은 포커스 렌즈가 구동되는 동안에 각 포커스들에 대응되는 복수의 이미지들을 촬영하도록 제어하며, 상기 촬영된 각 포커스의 이미지들을 저장할 때 동시에 각 포커스 렌즈 움직임에 따른 이미지의 포커스 영역마다 포커스값을 함께 저장하도록 제어한다. 또한 상기 제어부130은 상기 저장된 이미지를 표시할 때 대표이미지를 표시하며, 대표 이미지를 표시하는 상태에서 사용자가 임의의 영역을 선택하였을 때 그 영역의 최대 포커스값이 있는 이미지를 표시한다. The controller 130 controls the overall operation of the camera device, and controls the operation of displaying and storing the images output from the image processing unit 120 according to an embodiment of the present invention, and the image selected by the user when displaying the stored images. Controls the editing operation. That is, the controller 130 controls to capture a plurality of images corresponding to the respective focuses while the focus lens is driven, and simultaneously focuses the focus regions of the image according to the movement of the focus lens when storing the captured images of each focus. Control to save the values together. In addition, the controller 130 displays a representative image when displaying the stored image, and when the user selects an arbitrary region while displaying the representative image, displays the image having the maximum focus value of the region.

입력부160은 카메라장치의 전반적인 동작 명령을 발생할 수 있으며, 본 발명의 실시예에 따라 초점거리를 다르게 하여 연속으로 복수의 이미지들을 촬영하기 위한 오토포커스 촬영 명령 및 오토포커스 이미지들 중에서 포커스를 재설정하기 위한 오토포커스 이미지의 포커스 재설정 명령을 발생할 수 있다. 또한 상기 입력부160은 오토포커스 재설정 모드에서 표시되는 이미지에서 포커스를 재설정하기 위한 포커스 위치를 선택하는 명령을 발생할 수 있다. 그리고 표시부150은 프리뷰 모드시 상기 제어부130에서 출력되는 표시 이미지를 표시한다. 또한 상기 표시부160은 저장된 이미지를 표시할 때 제어부130의 제어하에 서로 다른 포커스로 촬영된 이미지들 중에서 대표이미지를 표시하며, 대표 이미지를 표시하는 상태에서 사용자가 입력부160을 통해 임의의 영역을 선택하였을 때 상기 제어부130에서 출력되는 그 영역의 최대 포커스값이 있는 이미지를 표시한다. 여기서 상기 입력부160은 사용자의 터치입력을 감지하는 터치패널이 될 수 있으며, 표시부150은 LCD 또는 OLED 패널이 될 수 있다. 여기서 상기 입력부160 및 표시부150은 일체형의 터치스크린이 될 수 있다. 또한 상기 입력부160은 카메라장치의 외부에 위치되는 버튼들을 포함할 수 있다.The input unit 160 may generate a general operation command of the camera device, and according to an embodiment of the present invention, an autofocus photographing command for photographing a plurality of images in succession at different focal lengths and for resetting focus among autofocus images A command for refocusing an autofocus image may be generated. In addition, the input unit 160 may generate a command for selecting a focus position for resetting the focus in the image displayed in the autofocus reset mode. In addition, the display unit 150 displays the display image output from the controller 130 in the preview mode. In addition, when displaying the stored image, the display unit 160 displays a representative image from among images captured with different focus under the control of the controller 130, and the user selects an arbitrary area through the input unit 160 while displaying the representative image. In this case, an image having the maximum focus value of the area displayed by the controller 130 is displayed. The input unit 160 may be a touch panel for sensing a user's touch input, and the display unit 150 may be an LCD or an OLED panel. The input unit 160 and the display unit 150 may be an integrated touch screen. In addition, the input unit 160 may include buttons located outside the camera device.

저장부150은 상기 제어부130의 촬영되는 각 포커스들에 대응되는 복수의 이미지들 및 각 포커스 렌즈 움직임에 따른 이미지들의 포커스 영역에서 추출된 포커스 값을 함께 저장한다. The storage unit 150 stores the plurality of images corresponding to the respective focuses captured by the controller 130 and the focus value extracted from the focus area of the images according to the movement of the focus lens.

도 2는 도 1과 같은 구성을 가지는 본 발명의 실시예에 따른 카메라장치에서 카메라부110의 구성을 도시하는 도면이다.2 is a diagram illustrating a configuration of a camera unit 110 in a camera apparatus according to an embodiment of the present invention having the configuration as shown in FIG. 1.

상기 도 2를 참조하면, 카메라 구동명령이 발생되면, 상기 카메라부110에 동작전원을 공급한다. 또한 상기 이미지처리부130은 모터240을 구동하며, 상기 모터240의 구동에 의해 액츄에이터250이 상기 광학부210의 구동을 제어한다. 여기서 상기 광학부210은 상기 액츄에이터250에 의해 포커스 등의 동작이 수행될 수 있다. 여기서 상기 광학부210은 포커스 렌즈를 구비하며, 상기 액츄에이터250의 구동에 의해 이미지촬영시 포커스를 설정된 초첨거리 단위로 포커스를 변경한다. 그러면 상기 광학부210은 주변의 이미지를 촬상하며, 이미지센서220은 상기 광학부220에 의해 촬상되는 이미지를 감지하여 전기적인 신호로 변환한다. 따라서 상기 이미지센서220은 상기 광학부210의 포커스 변경에 의해 설정된 매수의 이미지들을 생성할 수 있으며, 이때 생성되는 이미지들은 서로 다른 초점거리로 촬영되는 이미지들이 될 수 있다. 여기서 상기 이미지 센서220은 풀 HD 이상의 해상도를 가지는 이미지 센서가 될 수 있다. 그리고 상기 이미지센서220에서 감지되는 이미지는 AD변환부230을 통해 디지털 이미지로 변환되어 이미지처리부120에 전달된다. Referring to FIG. 2, when a camera driving command is generated, operating power is supplied to the camera unit 110. In addition, the image processor 130 drives the motor 240, and the actuator 250 controls the driving of the optical unit 210 by driving the motor 240. The optical unit 210 may perform an operation such as focus by the actuator 250. Here, the optical unit 210 includes a focus lens, and changes the focus in a focused ultra-depth unit when focusing the image when driving the actuator 250. Then, the optical unit 210 captures an image of the surroundings, and the image sensor 220 detects the image captured by the optical unit 220 and converts the image into an electrical signal. Accordingly, the image sensor 220 may generate the number of images set by changing the focus of the optical unit 210, and the generated images may be images captured at different focal lengths. The image sensor 220 may be an image sensor having a resolution of Full HD or higher. The image detected by the image sensor 220 is converted into a digital image through the AD converter 230 and transmitted to the image processor 120.

상기와 같은 구성을 가지는 카메라 장치의 동작을 살펴보면, 카메라부110의 광학부210은 포커스 렌즈를 구비하며, 상기 포커스 렌즈는 이미지의 포커스 지점을 바꾸기 위한 렌즈로서 아래(또는 위)에서 위(또는 아래) 방향(즉, 초점거리를 짧게 또는 길게)으로 움직일 수 있고, 그에 따라 이미지의 포커스값(Focus Value, FV)는 변하게 된다. 이때 상기 액츄에이터250은 포커스 액츄에이터(Focus Actuator)를 구비할 수 있으며, 상기 포커스 액츄에이터는 상기 포커스 렌즈를 움직일 수 있게 한다. 일반적으로 포커스 액츄에이터에는 VCM(Voice Coil Motor), 스텝핑 모터(Stepping Motor), 피에조 모터(Piezo Motor) 등 다양한 종류가 사용될 수 있다. 그리고 상기 이미지 센서220은 렌즈를 통하여 들어오는 빛을 받아서 이미지를 생성한다. Looking at the operation of the camera device having the above configuration, the optical unit 210 of the camera unit 110 has a focus lens, the focus lens is a lens for changing the focus point of the image from below (or above) from above (or below) ) Direction (i.e. short or long focal length), the focus value (FV) of the image is changed accordingly. In this case, the actuator 250 may include a focus actuator, and the focus actuator may move the focus lens. In general, various types of focus actuators may be used, such as a voice coil motor (VCM), a stepping motor, a piezo motor, and the like. The image sensor 220 receives an incoming light through the lens to generate an image.

상기 카메라부110의 출력을 입력하는 이미지처리부(ISP(Image Signal Processor))120은 상기 카메라부110의 제어 및 상기 카메라부110의 이미지 센서220에서 출력되는 이미지데이타(Raw Data)를 받아 가공하는 역할을 한다. 이때 상기 이미지처리부120에서 출력되는 이미지데이타는 이미지처리부120의 구성에 따라 다양한 형태의 이미지 데이타(YUV44, YUV422, YUV420, JPEG 등)가 될 수 있다. 그러면 제어부130은 상기 이미지처리부120에서 출력되는 이미지 데이터를 저장부140에 저장하고, 표시부150에 표시한다. 또한 상기 제어부130은 상기 입력부160에서 발생되는 카메라 장치의 동작 명령에 따른 카메라장치의 동작을 제어한다. 여기서 상기 제어부130은 CPU, AP(Application Processor), MMP(MultiMedia Processor), 마이크로프로세서 등이 될 수 있다. 상기 저장부140은 이미지처리부120 또는 제어부130에서 출력되는 이미지 데이터를 일시적으로 저장하거나 또는 영구 저장할 수 있다. 즉, 상기 저장부140은 버퍼나 램등의 일시적 저장장치 및/또는 플래시 메모리나 롬등의 영구 저장장치 등으로 구성될 수 있다.An image signal processor (ISP) 120 that inputs the output of the camera unit 110 receives and processes image data output from the control of the camera unit 110 and the image sensor 220 of the camera unit 110. Do it. In this case, the image data output from the image processor 120 may be various types of image data (YUV44, YUV422, YUV420, JPEG, etc.) according to the configuration of the image processor 120. Then, the controller 130 stores the image data output from the image processor 120 in the storage 140 and displays it on the display 150. In addition, the controller 130 controls the operation of the camera device according to the operation command of the camera device generated by the input unit 160. The controller 130 may be a CPU, an application processor (AP), a multimedia processor (MMP), a microprocessor, or the like. The storage 140 may temporarily or permanently store image data output from the image processor 120 or the controller 130. That is, the storage unit 140 may be configured as a temporary storage device such as a buffer or RAM and / or a permanent storage device such as a flash memory or a ROM.

이때 사용자가 카메라를 켜고 촬영 버튼을 누르면, 상기 제어부130은 이미지처리부120을 통해 카메라부110을 구동하여 사진을 촬영하도록 제어한다. 이때 상기 사진 촬영이 요구되면, 상기 이미지처리부120은 상기 카메라부110을 제어하여 설정된 초점거리로 상기 포커스 렌즈를 구동하면서 사진을 촬영하도록 제어한다. 그러면 상기 카메라부110의 포커스 렌즈는 포커스 액츄에이터에 의해 초기 위치로 이동을 하게 된다. 여기서 상기 포커스 렌즈의 초기 위치라 함은 포커스 렌즈가 포커스를 시작할 수 있는 부분을 의미한다. 일반적으로 포커스 렌즈는 원거리(Far)부터 초점을 맞추기 시작하여 가까운 거리(Macro)에 있는 피사체 이미지가 맞도록 이동한다. 그러나 이와 반대로 가까운 거리에서 시작하여 원거리로도 움직일 수도 있으며, 개발자나 알고리즘에 따라 다양한 방향으로 움직일 수 있다. 또한 렌즈가 움직이는 간격(즉, 포커스를 위해 포커스 렌즈가 움직이는 초점거리)은 미리 설정할 수 있으며, 또한 사용자에 의해 설정할 수도 있다. 그리고 상기 설정된 초점거리(포커스 렌즈의 이동 간격)에 따라 사진 촬영 요구시 촬영되는 서로 다른 초점을 가지는 이미지의 매수가 결정된다. 따라서 상기 사진 촬영 요구시 상기 카메라부110은 포커스 렌즈를 설정된 간격으로 이동(즉, 서로 다른 초점 거리를 가지도록)시키면서 연속으로 설정된 수의 이미지들을 생성한다.At this time, when the user turns on the camera and presses the shooting button, the controller 130 controls the camera 110 to take a picture through the image processor 120. In this case, when photographing is required, the image processor 120 controls the camera unit 110 to control photographing while driving the focus lens at a set focal length. Then, the focus lens of the camera unit 110 is moved to the initial position by the focus actuator. Here, the initial position of the focus lens refers to a portion where the focus lens can start focusing. In general, the focus lens starts focusing from a far point and moves to match a subject image at a close distance (Macro). However, on the contrary, they can start at close distances and move far, and can move in various directions depending on the developer or algorithm. In addition, the interval at which the lens moves (that is, the focal length at which the focus lens moves for focusing) may be set in advance or may be set by the user. The number of images having different focal points captured when a photographing request is made is determined according to the set focal length (moving interval of the focus lens). Accordingly, when the photographing request is made, the camera unit 110 generates a set number of images continuously while moving the focus lens at set intervals (ie, having different focal lengths).

그러면 이미지처리부120은 상기 카메라부110으로부터 출력되는 이미지들을 처리하며, 또한 포커스 렌즈가 움직인 후 이미지의 각 포커스 영역 별 포커스 값(Focus Value, FV)을 추출한다. 포커스 영역이란 함은 하나의 이미지 내에서 여러 영역의 포커스값을 가져오기 위해 나뉘어진 영역을 의미한다. 이때 상기 이미지의 각 포커스 영역이 최대값을 가지게 되는 포커스 렌즈 위치는 카메라와 피사체와의 거리에 따라 결정되며, 따라서 연속 촬영되는 이미지들 마다 해당 영역의 포커스 값은 서로 다른 값을 가지게 된다. 이때 상기 이미지처리부120은 이미지 촬영시의 정보(meta data)들을 생성하며, 본 발명의 실시예에서 상기 이미지처리부120은 미리 설정된 포커스 영역에 따라 포커스 값을 추출하여 메터 데이터로 생성한다. 상기 이미지처리부120은 고역통과필터(High Pass Filter)등의 에지 추출을 통해 포커스 값을 추출할 수 있다.Then, the image processor 120 processes the images output from the camera unit 110 and extracts a focus value (FV) for each focus area of the image after the focus lens moves. The focus area means an area divided to obtain focus values of several areas in one image. In this case, the position of the focus lens having the maximum value of each focus area of the image is determined according to the distance between the camera and the subject. Therefore, the focus value of the corresponding area has a different value for each consecutive image. In this case, the image processing unit 120 generates information (meta data) when the image is taken, in the embodiment of the present invention, the image processing unit 120 extracts a focus value according to a preset focus area and generates the meter data. The image processor 120 may extract a focus value through edge extraction such as a high pass filter.

상기한 바와 같이 이미지처리부120은 사진 촬영시 상기 카메라부110의 포커스렌즈를 구동을 제어하여 포커스를 변경시키며, 상기 카메라부110에서 출력되는 서로 다른 초점을 가지면서 연속 촬영되는 이미지들을 수신하고, 상기 수신된 이미지들을 처리하는 동시에 해당 이미지의 초점에 따른 포커스 값을 추출하여 메터 데이터로 생성한다. As described above, the image processor 120 changes the focus by controlling the driving of the focus lens of the camera unit 110 when taking a picture, and receives images that are continuously photographed while having different focuses output from the camera unit 110. Simultaneously process the received images and extract the focus value according to the focal point of the image to generate the meter data.

그러면 상기 제어부120은 상기 이미지처리부120으로부터 출력되는 이미지 및 해당 이미지의 메터 데이터를 저장부140에 저장한다. 이때 상기 제어부130은 상기 이미지와 함께 대응되는 메터데이터를 저장하며, 상기 메터 데이터는 촬영된 이미지의 영역별 포커스 값을 포함한다. 이때 상기 포커스 값을 저장하는 방법은 파일이나 이미지 저장 시 이미지의 헤더 정보 형태로 같이 저장시켜 놓을 수도 있다. 또한 저장 방식은 앞서 발명의 구성에 설명했듯이 영구 저장을 위해 플래쉬 메모리나 롬을 사용할 수도 있고, 임시적을 저장을 위해 램(RAM)등의 버퍼(Buffer)에 임시 저장할 수도 있다. Then, the controller 120 stores the image output from the image processor 120 and the meter data of the corresponding image in the storage 140. In this case, the controller 130 stores the metadata corresponding to the image, and the meter data includes a focus value for each region of the photographed image. In this case, the method of storing the focus value may be stored together in the form of header information of the image when the file or the image is stored. In addition, the storage method may use a flash memory or a ROM for permanent storage as described above in the configuration of the invention, or may be temporarily stored in a buffer such as RAM for temporary storage.

이때 상기 사진 촬령시 설정되는 초점 간격(포커스 렌즈의 움직임 간격)이 N개의 간격을 가지는 경우, 상기 사진촬영시 N개의 이미지들이 생성되며, 이와 동시에 각 이미지들에 각 영역들의 포커스값들도 각 이미지들에 대응되는 수로 생성된다. 따라서 사진 촬영시 본 발명의 실시예에 따른 카메라장치는 서로 다른 초점을 가지는 N개의 이미지들을 연속 촬영하며, 그리고 상기 이미지들의 각각에 대한 포커스 값들을 추출하여 함께 저장한다.At this time, when the focus interval (focus interval of the focus lens) set at the time of photographing has N intervals, N images are generated at the time of photographing, and at the same time, the focus values of the respective regions are also included in each image. Generated by the corresponding number. Therefore, the camera apparatus according to the embodiment of the present invention when taking a picture continuously photographs N images having different focus, and extracts and stores the focus values for each of the images together.

상기와 같이 이미지를 촬영한 상태에서 사용자는 원하는 초점의 이미지를 선택적으로 처리 및 저장할 수 있다. 즉, 사용자는 사진을 촬영한 후 원하는 영역에 초점이 맞은 사진을 선택하여 저장할 수 있다. 이를 위하여 사용자는 상기와 같이 촬영된 사진을 선택하면, 상기 제어부130은 촬영된 사진 중에서 대표 이미지를 표시부150에 표시한다. 여기서 상기 대표이미지는 초기 포커스 위치의 이미지, 마지막 포커스 이미지, 일반적 오토포커스 알고리즘에 의한 이미지 등으로 다양하게 설정할 수 있다. 그리고 상기 대표이미지가 상기 표시부150에 표시되는 상태에서 사용자가 원하는 영역을 선택하면, 상기 제어부130은 사용자가 선택한 영역에서 최대 포커스 값을 가지는 이미지를 선택할 수 있다. 예를들어 상기 표시부150에 이미지를 표시하고 있는 상태에서, 입력부160을 통해 사용자가 원하는 영역을 선택하면, 상기 제어부130은 입력부160에 터치된 입력 좌표를 받아 그 좌표에서 최대 포커스 값을 가지는 포커스 렌즈 위치의 이미지를 탐색한다. 이때 상기 최대 포커스값을 가지는 이미지를 탐색하는 방법은 상기 사진 촬영시에 추출하여 상기 저장부140에 저장한 영역별 포커스 값을 분석하여 얻을 수 있다. 만약 터치 영역이 미리 정해진 포커스 영역과 일치하지 않는 경우에는 인접하는 설정된 포커스 모든 영역들 중에서 가장 큰 포커스 값을 가지는 이미지를 선택할 수도 있고, 인접 영역의 포커스 값을 합산하여 최대 포커스 값을 가지는 이미지를 선택할 수도 있다. 따라서 사진 촬영시 다양한 포커스로 촬영된 이미지들을 생성하고, 이후 사용자는 촬영된 이미지들 중에서 원하는 영역에 최대로 포커스가 맞춰진 사진 이미지를 선택할 수 있다.In the state of capturing an image as described above, a user may selectively process and store an image having a desired focus. That is, after taking a picture, the user may select and store a picture having a focus on a desired area. To this end, when the user selects the photographed picture as described above, the controller 130 displays the representative image on the display unit 150 from the photographed picture. The representative image may be variously set to an image of an initial focus position, a last focus image, an image by a general autofocus algorithm, and the like. When the user selects a desired area while the representative image is displayed on the display unit 150, the controller 130 may select an image having the maximum focus value in the area selected by the user. For example, when the user selects a desired area through the input unit 160 while displaying an image on the display unit 150, the controller 130 receives an input coordinate touched by the input unit 160 and has a maximum focus value at that coordinate. Navigate to the image of the location. In this case, a method of searching for an image having the maximum focus value may be obtained by analyzing a focus value of each region extracted at the time of photographing and stored in the storage 140. If the touch area does not coincide with the predetermined focus area, an image having the largest focus value may be selected from all adjacent focus areas, or the image having the maximum focus value may be selected by summing the focus values of the adjacent areas. It may be. Therefore, when taking a picture, images generated with various focuses are generated, and a user can then select a picture image that is focused in a desired area among the captured images.

일반적으로 카메라를 구비하는 휴대단말기는 상기 도 1에 도시된 바와 같이 이미지처리부120 및 제어부(어플리케이션 처리부)130을 구비한다. 그러나 카메라장치 또는 일부 휴대단말기의 경우 상기 이미지처리부120 및 제어부130을 일체형으로 구성할 수도 있다. 이런 경우 상기 제어부130이 이미지처리부120을 내부에 포함하는 형태로 구성될 수 있다. 이하의 설명에서는 상기 카메라장치는 이미지처리부120 및 제어부130을 구비하는 경우로 가정하여 설명될 것이다. In general, a portable terminal having a camera includes an image processor 120 and a controller (application processor) 130 as shown in FIG. 1. However, in the case of a camera device or some portable terminals, the image processor 120 and the controller 130 may be integrally formed. In this case, the controller 130 may be configured to include the image processor 120 therein. In the following description, it will be assumed that the camera device includes an image processor 120 and a controller 130.

본 발명의 실시예에 따른 카메라장치는 상기한 바와 같이 사진 촬영시 서로 다른 초점거리를 가지는 복수의 이미지들을 촬영하고, 촬영된 이미지들의 각 포커스영역들에 대한 포커스값들을 추출하여 이미지와 함께 저장한다. 이런 경우 이미지처리부120은 서로 다른 초점을 가지는 이미지들을 연속으로 처리하여야 한다. 또한 사진 촬영시 셔터의 온 시점에서 카메라부110이 구동되어 이미지를 획득하는 시간까지의 셔터렉(shutter lag)이 존재할 수 있다. 또한 카메라를 구비하는 휴대단말기의 경우, 카메라부110의 이미지를 처리하는 이미지처리부120과 상기 단말의 전반적인 동작을 제어하는 제어부130을 구비할 수 있으며, 이런 경우 이미지처리부120이 이미지를 제어부130에 전달할 때 버틀넥(bottleneck)이 발생될 수 있다. 따라서 이미지처리부120은 상기 셔터렉을 보상하면서 빠른 시간 내에 이미지를 제어부130에 전송하기 위해 이미지처리부120은 획득된 이미지를 압축하는 것이 바람직하다. The camera apparatus according to an embodiment of the present invention captures a plurality of images having different focal lengths when taking a picture as described above, extracts focus values of respective focus areas of the photographed images, and stores them together with the image. . In this case, the image processor 120 must continuously process images having different focuses. In addition, a shutter lag may exist until a time when the camera unit 110 is driven to acquire an image when the shutter is turned on when taking a picture. In addition, a mobile terminal having a camera may include an image processor 120 for processing an image of the camera 110 and a controller 130 for controlling the overall operation of the terminal, in which case the image processor 120 may transfer the image to the controller 130. When a bottleneck may be generated. Therefore, the image processor 120 compresses the acquired image in order to transmit the image to the controller 130 within a short time while compensating for the shutter.

도 3a 및 도 3b는 본 발명의 실시예에 따른 이미지처리부 및 제어부의 구성을 도시하는 도면이며, 도 4는 본 발명의 다른 실시예에 따른 이미지처리부의 구성을 도시하는 도면이다.3A and 3B are diagrams showing the configuration of an image processing unit and a control unit according to an embodiment of the present invention, and FIG. 4 is a diagram illustrating a configuration of an image processing unit according to another embodiment of the present invention.

상기 도 3a를 참조하면, 영상처리부320은 상기 카메라부110에서 출력되는 이미지를 처리하며, 상기 이미지의 포커스 값을 추출하는 동작을 수행한다. 이때 상기 카메라부110에서 출력되는 이미지는 raw 이미지로써, 이미지센서220에서 감지되는 풀 HD급 이상의 화소수를 가지며, 영상 전처리부320은 이를 3A(AWB(auto white balance), AE(auto exposure), AF(Auto focusing))의 추출, 색보간(color interpolation), 색변환(color conversion) 등의 이미지 처리 기능을 수행한다. 본 발명의 실시예에서 상기 영상처리부320은 상기 카메라부110으로 출력되는 이미지를 처리하여 YUV 이미지로 처리하는 동시에 각 이미지들의 설정된 각 영역들의 포커스 값을 추출하는 기능을 수행한다. Referring to FIG. 3A, The image processor 320 processes an image output from the camera 110 and extracts a focus value of the image. At this time, the image output from the camera unit 110 is a raw image, and has the number of pixels of the full HD level or more detected by the image sensor 220, the image preprocessing unit 320 is 3A (auto white balance), AE (auto exposure), Image processing functions such as AF (Auto focusing) extraction, color interpolation, and color conversion are performed. In an embodiment of the present invention, the image processing unit 320 processes the image output to the camera unit 110 to process a YUV image and at the same time performs a function of extracting a focus value of each set area of each image.

스케일러330은 상기 영상처리부320에서 출력되는 이미지를 표시부150의 크기로 스케일링하는 기능을 수행한다. 여기서 상기 스케일러330은 리사이저가 될 수 있다. 코더340은 상기 영상처리부320에서 처리되는 이미지를 부호화하여 압축이미지를 생성한다. 여기서 상기 압축이미지는 JPEG 이미지가 될 수 있다. The scaler 330 scales the image output from the image processor 320 to the size of the display unit 150. Here, the scaler 330 may be a resizer. The coder 340 generates a compressed image by encoding the image processed by the image processor 320. Here, the compressed image may be a JPEG image.

이미지처리제어부310은 상기 제어부130의 제어하에 상기 카메라부110을 제어하여 사진 촬영시 포커스 렌즈를 구동하기 위한 제어신호를 출력하며, 상기 카메라부110에서 출력되는 이미지를 처리하는 전반적인 동작을 제어한다. 그리고 상기 이미지처리제어부310은 상기 영상처리부320에서 추출되는 이미지들의 각 영역별 포커스값을 메터 데이터로 처리할 수 있다. 또한 상기 이미지 촬영시 획득되는 메터 데이터(즉, 포커스 값을 포함하는 촬영정보)들은 상기 코더340에 전달될 수 있으며, 이런 경우 상기 코더340은 상기 촬영정보를 포함하는 압축이미지를 생성할 수 있다.The image processing controller 310 controls the camera unit 110 under the control of the controller 130 to output a control signal for driving the focus lens when taking a picture, and controls the overall operation of processing the image output from the camera unit 110. In addition, the image processing controller 310 may process focus values of respective regions of the images extracted by the image processor 320 as meter data. In addition, meter data (ie, photographing information including a focus value) acquired when capturing the image may be transmitted to the coder 340. In this case, the coder 340 may generate a compressed image including the photographing information.

다중화부350은 상기 스케일리330에서 처리되는 표시이미지, 상기 코더340에서 처리되는 압축이미지, 그리고 상기 포커스 값을 포함하는 촬영정보들을 다중화하여 출력한다.The multiplexer 350 multiplexes the display image processed by the scaly 330, the compressed image processed by the coder 340, and photographing information including the focus value.

도 3b는 본 발명의 실시예에 따른 카메라장치에서 제어부130의 구성을 도시하는 도면이다. 여기서 상기 제어부130은 휴대단말기의 경우 어플리케이션처리부(application processor)가 될 수 있다. 3B is a diagram illustrating a configuration of the controller 130 in the camera apparatus according to the embodiment of the present invention. In this case, the controller 130 may be an application processor in the case of a mobile terminal.

도 3b를 참조하면, 역다중화부370은 상기 다중화되어 출력되는 이미지들을 역다중화하여 표시이미지, 압축이미지 및 메터데이터들로 파싱하여 출력한다. 버퍼380은 표시이미지버퍼383, 압축이미지버퍼385 및/또는 촬영정보버퍼387을 구비할 수 있다. 여기서 상기 코더340이 촬영정보를 포함하는 압축이미지를 생성하는 경우 상기 촬영정보버퍼387은 생략할 수 있다. 상기 버퍼380은 상기 어플리케이션처리제어부360의 제어하에 각각 파싱되는 표시이미지, 압축이미지 및/또는 촬영정보를 버퍼링한다. 여기서 상기 버퍼380은 N 프레임의 표시이미지, 압축이미지 및/또는 촬영정보들을 버퍼링할 수 있는 크기를 가지며, 버퍼380의 구조는 링버퍼(ring buffer) 구조를 가질 수 있다. 상기 버퍼380을 링버퍼 구조로 구성하는 이유는 수신되는 프레임의 이미지 및 정보들을 설정 프레임 수로 유지하기 위함이다. 동영상코더390은 동영상 저장 요구시 상기 표시이미지를 압축하여 동영상 데이터를 생성할 수 있다. 상기 동영상코더390은 H.264, MPEG 등 다양한 동영상 부호화기로 구성할 수 있다. 본 발명의 실시예에서는 상기 동영상 압축부가 MPEG코더로 가정한다.Referring to FIG. 3B, the demultiplexer 370 demultiplexes the multiplexed and output images and parses the image into display images, compressed images, and metadata. The buffer 380 may include a display image buffer 383, a compressed image buffer 385, and / or a photographing information buffer 387. In this case, when the coder 340 generates a compressed image including the shooting information, the shooting information buffer 387 may be omitted. The buffer 380 buffers a display image, a compressed image, and / or photographing information, which are respectively parsed under the control of the application processing controller 360. The buffer 380 may have a size capable of buffering N-frame display images, compressed images, and / or photographing information, and the buffer 380 may have a ring buffer structure. The reason why the buffer 380 is configured as a ring buffer structure is to maintain the image and information of the received frame at the set number of frames. The video coder 390 may generate video data by compressing the display image when a video storage request is made. The video coder 390 may be configured with various video encoders such as H.264 and MPEG. In the embodiment of the present invention, it is assumed that the video compression unit is an MPEG coder.

상기와 같은 구성을 가지는 이미지처리부120 및 제어부130의 동작을 살펴보면, 상기 이미지처리제어부310은 사진 촬영 요구시 상기 카메라부110을 제어하여 설정된 포커스 간격으로 포커스 렌즈를 이동시키면서 이미지를 연속 촬영한다. 그러면 영상처리부320은 상기 카메라부110에서 수신되는 이미지들을 처리하며 처리되는 이미지의 자동 포커스를 추출하여 포커스 값을 검출한다. 이때 상기 포커스 값은 이미지의 각 영역들에 대한 포커스 값이 될 수 있다. 따라서 상기 영상처리부320은 상기 카메라부110에서 연속 촬영되는 이미지들을 처리하는 동시에 각 이미지들의 포커스 값을 검출하는 기능을 수행하며, 이때 상기 이미지들은 서로 다른 초점거리로 촬영되는 이미지들이 된다.Referring to the operations of the image processor 120 and the controller 130 having the above configuration, the image processing controller 310 controls the camera 110 when photographing a request for photographing continuously while moving the focus lens at a set focus interval. The image processor 320 processes the images received by the camera unit 110 and extracts an auto focus of the processed image to detect a focus value. In this case, the focus value may be a focus value for each area of the image. Therefore, the image processor 320 processes the images continuously photographed by the camera unit 110 and detects the focus values of the respective images, wherein the images are images captured at different focal lengths.

상기와 같이 촬영되는 이미지들은 스케일러330에서 표시이미지 크기로 스케일링되며, 코더340은 상기 이미지(풀해상도 이미지)를 압축하며, 이때 상기 압축이미지는 촬영정보를 포함할 수 있다. 그리고 상기 촬영정보는 본 발명의 실시예에 따른 해당 이미지의 포커스 값을 포함할 수 있다. 상기와 같은 표시이미지 및 압축이미지는 다중화부350에서 다중화되어 제어부130에 출력된다.The photographed images are scaled to the size of the display image in the scaler 330, and the coder 340 compresses the image (full resolution image), wherein the compressed image may include photographing information. The photographing information may include a focus value of a corresponding image according to an embodiment of the present invention. The display image and the compressed image as described above are multiplexed by the multiplexer 350 and output to the controller 130.

그러면 상기 제어부130의 역다중화부370은 상기 다중화된 표시이미지 및 압축이미지를 역다중화하여 버퍼380에 전달한다. 그러면 상기 버퍼380은 상기 역다중화되는 표시이미지 및 압축이미지들을 각각 버퍼링하며, 어플리케이션처리제어부360은 상기 버퍼링된 표시이미지를 상기 표시부150에 출력하여 표시하며, 상기 압축이미지를 저장부140에 저장한다. 이때 상기 압축이미지가 촬영정보를 포함하지 않는 경우, 상기 어플리케이션처리제어부360은 상기 촬영정보를 버퍼30의 촬영정보버퍼387에 저장하며, 상기 저장부140에 압축이미지를 저장할 때 대응되는 촬영정보도 함께 저장한다. 이때 상기 촬영정보는 상기한 바와 대응되는 이미지의 포커스 값을 포함한다.Then, the demultiplexer 370 of the controller 130 demultiplexes the multiplexed display image and the compressed image and delivers the demultiplexed image to the buffer 380. Then, the buffer 380 buffers the demultiplexed display image and the compressed images, respectively, and the application processing controller 360 outputs the buffered display image to the display unit 150 and displays the buffered display image, and stores the compressed image in the storage unit 140. In this case, when the compressed image does not include the photographing information, the application processing controller 360 stores the photographing information in the photographing information buffer 387 of the buffer 30, and also the photographing information corresponding to storing the compressed image in the storage 140. Save it. In this case, the photographing information includes a focus value of an image corresponding to the above.

상기와 같이 저장부140에 저장되는 이미지는 갤러리 등에 목록으로 등록될 수 있으며, 사용자는 갤러리 어플리케이션 선택시 상기 저장된 이미지들의 섬네일 이미지를 상기 표시부150에 표시할 수 있다. 이때 사용자가 표시되는 섬네일 이미지를 선택하면, 상기 어플리케이션처리제어부360은 입력부160을 통해 이를 감지하고, 선택된 이미지를 상기 표시부150에 표시한다. 이때 상기 선택된 이미지가 오토 포커스 기능으로 촬영된 이미지이면 상기 어플리케이션처리제어부360은 저장 중인 이미지들 중에서 대표이미지를 표시한다. 여기서 대표이미지는 상기한 바와 같이 초기 포커스 위치의 이미지, 마지막 포커스 이미지, 또는 사용자가 촬영시 설정한 초점 위치의 이미지 등 다양한 형태로 설정할 수 있다. As described above, the image stored in the storage 140 may be registered as a list in a gallery or the like, and the user may display thumbnail images of the stored images on the display unit 150 when the gallery application is selected. In this case, when the user selects a thumbnail image to be displayed, the application processing controller 360 detects this through the input unit 160 and displays the selected image on the display unit 150. In this case, if the selected image is an image captured by the auto focus function, the application processing controller 360 displays a representative image among the stored images. Here, the representative image may be set in various forms such as an image of an initial focus position, a last focus image, or an image of a focus position set by a user when shooting.

상기와 같이 대표이미지를 표시하는 상태에서 사용자가 입력부160을 통해 표시되는 이미지의 임의 영역을 선택하면, 상기 어플리케이션처리제어부360은 입력부160을 통해 선택된 이미지의 영역을 감지할 수 있다. 즉, 상기 입력부160이 터치패널인 경우, 상기 어플리케이션처리제어부360은 사용자의 터치 위치 좌표를 감지할 수 있으며, 상기 감지된 터치좌표에 의해 사용자가 선택한 이미지의 표시영역을 확인할 수 있다. 그러면 상기 어플리케이션처리제어부360은 상기 오토포커스로 촬영된 이미지들의 포커스값들 중에서 해당 선택 영역에 최대 포커스 값을 가지는 이미지를 선택하여 상기 표시부150에 표시한다. 그리고 상기 사용자가 터치한 좌표가 이미지의 선택 영역과 일치하지 않는 경우, 상기 어플리케이션처리제어부360은 상기 사용자의 터치 영역을 포함하는 모든 포커스 영역들을 합산하여 가장 큰 포커스 값을 가지는 이미지를 선택할 수도 있다.When the user selects an arbitrary region of the image displayed through the input unit 160 while displaying the representative image as described above, the application processing controller 360 may detect the region of the selected image through the input unit 160. That is, when the input unit 160 is a touch panel, the application processing control unit 360 may detect the touch position coordinates of the user, and check the display area of the image selected by the user based on the detected touch coordinates. Then, the application processing controller 360 selects an image having the maximum focus value in the selected area among the focus values of the images captured by the autofocus and displays the image on the display unit 150. If the coordinates touched by the user do not coincide with the selection area of the image, the application processing controller 360 may select an image having the largest focus value by summing all the focus areas including the touch area of the user.

상기와 같은 방법으로 사용자는 사진 촬영 후 원하는 위치에 포커스된 이미지를 선택할 수 있다. 즉, 사용자는 오토포커스로 사진을 촬영한 후, 각각 서로 다른 초점 거리를 가지는 사진들 중에서 사용자가 원하는 위치에서 초점이 이루어진 사진을 선택할 수 있다.In this manner, the user can select an image focused on a desired position after taking a picture. That is, after taking a picture by autofocus, the user may select a picture that is focused at a desired location from among pictures having different focal lengths.

도 4는 카메라장치에서 본 발명의 다른 실시예에 따른 이미지처리부의 구성을 도시하는 도면이다.4 is a diagram illustrating a configuration of an image processing unit according to another embodiment of the present invention in a camera apparatus.

상기 도 4를 참조하면, 전처리부410은 상기 카메라110에서 출력되는 이미지를 3A(AWB(auto white balance), AE(auto exposure), AF(Auto focusing)) 추출 및 처리하며, 렌즈 셰이딩 보상(lens shading correction), 데드픽셀 보정(dead pixel correction), knee 보정 등의 전처리 동작을 수행한다. 이미지스케일러420은 상기 전처리된 이미지를 표시이미지 크기로 스케일링한다. 또한 상기 전처리부410은 본 발명의 실시예에 따른 오토포커스 사진 촬영시 서로 다른 포커스로 촬영되는 이미지들의 포커스 값을 추출한다. 후처리부430은 상기 표시이미지로 스케일링된 베이어 데이터를 색보간(color interpolation) 및 잡음제거, 색보정등을 처리하고, 색변환(image conversion)하여 YUV 데이터를 생성한다. Referring to FIG. 4, the preprocessor 410 extracts and processes an image output from the camera 110 from 3A (auto white balance), auto exposure (AE), auto focusing (AF), and lens shading compensation (lens). Performs preprocessing operations such as shading correction, dead pixel correction and knee correction. The image scaler 420 scales the preprocessed image to the display image size. In addition, the pre-processing unit 410 extracts the focus values of the images taken with different focus when autofocus photographing according to an embodiment of the present invention. The post processor 430 processes color interpolation, noise reduction, and color correction of the Bayer data scaled with the display image, and generates YUV data by performing color conversion.

또한 상기 버퍼440은 상기 전처리부410에서 출력되는 카메라110의 풀해상도 이미지를 버퍼링한다. 여기서 상기 버퍼440은 카메라장치의 셔터렉을 보상할 수 있는 정도의 프레임 이미지들을 저장할 수 있는 크기로 설정될 수 있으며, 링버퍼(ring buffer) 구조를 가질 수 있다. 상기 버퍼440은 매프레임에서 상기 전처리부410에서 출력되는 풀해상도 이미지를 버퍼링하며, 사진 촬영시 상기 이미지처리제어부400의 제어에 의해 선택되는 버퍼의 이미지가 억세스된다. 후처리부430은 상기 버퍼440에서 선택되는 풀해상도 이미지를 색보간 및 잡음제거, 색보정등을 처리하고, 색변환하여 YUV 데이터로 생성한다. 정지영상 코덱460은 상기 후처리부450에서 출력되는 풀해상도 이미지를 압축 부호화한다.In addition, the buffer 440 buffers the full resolution image of the camera 110 output from the preprocessor 410. The buffer 440 may be set to a size capable of storing frame images to compensate for the shutter lag of the camera device, and may have a ring buffer structure. The buffer 440 buffers the full resolution image output from the preprocessor 410 every frame, and the image of the buffer selected by the control of the image processing controller 400 is accessed when the picture is taken. The post processor 430 processes color interpolation, noise reduction, and color correction of the full resolution image selected from the buffer 440 and converts the color into YUV data. The still image codec 460 compresses and encodes the full resolution image output from the post processor 450.

다중화부470은 상기 이미저처리제어부400의 제어하에 상기 후처리부430의 출력 및 정지영상코덱460의 출력을 다중화하여 출력한다. The multiplexer 470 multiplexes the output of the post-processor 430 and the output of the still image codec 460 under the control of the imager processing controller 400.

상기와 같은 구성을 가지는 이미지처리부120의 동작을 살펴보면, 오토포커스 촬영시 상기 이미지처리제어부400은 상기 카메라부110을 제어하여 설정된 포커스 간격으로 포커스렌즈의 구동을 제어하며, 상기 카메라부110은 상기 이미지처리제어부400의 제어하에 서로 다른 포커스로 촬영되는 이미지들을 연속하여 전처리부410에 출력한다. 그러면 상기 전처리부410은 상기 카메라부110으로부터 출력되는 이미지를 전처리하는 동시에 처리된 이미지의 포커스 값을 추출한다. 그리고 상기 전처리된 이미지 및 포커스 값은 상기 버퍼440에 버퍼링된다. 그리고 상기 버퍼440에 버퍼링된 이미지는 후처리부450에서 후처리되며, 상기 후처리된 이미지 및 포커스값을 포함하는 촬영정보는 정지영상코덱460에 압축 부호화된다. 그러면 다중화부470은 상기 표시이미지 및 압축 부호화된 이미지들을 다중화하여 제어부130에 전송한다. Referring to the operation of the image processing unit 120 having the above configuration, during autofocusing, the image processing controller 400 controls the driving of the focus lens at a set focus interval by controlling the camera unit 110, and the camera unit 110 controls the image. Under the control of the processing controller 400, images captured at different focuses are successively output to the preprocessor 410. Then, the preprocessor 410 extracts the focus value of the processed image while preprocessing the image output from the camera 110. The preprocessed image and focus values are buffered in the buffer 440. The image buffered in the buffer 440 is post-processed by the post-processing unit 450, and the photographing information including the post-processed image and the focus value is compressed and encoded in the still image codec 460. Then, the multiplexer 470 multiplexes the display image and the compression-coded image and transmits the multiplexed image to the controller 130.

여기서 상기 전처리부410은 스케일러420 및 버퍼400의 뒷단에 위치될 수 있으며, 또한 상기 후처리부430 및 450은 하나로 구성되어 상기 전처리부410의 뒷단에 위치될 수도 있다. Here, the preprocessor 410 may be located at the rear end of the scaler 420 and the buffer 400, and the post processor 430 and 450 may be configured as one and may be located at the rear end of the preprocessor 410.

이때 상기 도 4와 같은 구성을 가지는 이미지처리부120은 상기 표시이미지 및 압축이미지를 처리하는 구성을 분리하여 구성하며, 이로인해 프리뷰 모드시 압축이미지를 제어부130에 전송하지 않을 수 있다. 즉, 상기 이미지처리부120은 사용자에 의해 사진 촬영이 요구되는 경우에만 압축이미지를 제어부130에 전달할 수 있다.At this time, the image processing unit 120 having the configuration as shown in FIG. 4 separates the configuration for processing the display image and the compressed image, thereby not transmitting the compressed image to the control unit 130 in the preview mode. That is, the image processor 120 may deliver the compressed image to the controller 130 only when photographing is required by the user.

상기와 같은 구성을 가지는 본 발명의 실시예에 따른 카메라장치에서 오토포커스 기능으로 사진을 촬영하는 절차를 구체적으로 살펴본다.In the camera device according to the embodiment of the present invention having the above-described configuration, a procedure of taking a picture with the autofocus function will be described in detail.

도 5는 본 발명의 실시예에 따른 카메라장치에서 오토포커스 사진 촬영 및 편집을 수행하는 절차를 도시하는 흐름도이다.5 is a flowchart illustrating a procedure of performing autofocus photographing and editing in a camera apparatus according to an embodiment of the present invention.

상기 도 5를 참조하면, 사진 촬영시 사용자는 오토포커스 촬영 기능을 등록할 수 있다. 여기서 상기 오토포커스 촬영 기능은 본 발명의 실시에에 따라 사진 촬영시 초점을 다르게 설정하면서 연속으로 사진을 촬영하는 기능을 의미한다. 이때 상기 오토포커스 촬영 설정시 포커스 간격을 설정할 수 있으며, 포커스 간격을 N 개로 설정하면 촬영되는 이미지도 N 프레임의 이미지로 촬영되고, 이때 상기 N 개의 이미지들을 서로 다른 초점으로 촬영된 이미지들이 될 수 있다. 따라서 사용자가 설정모드에서 오토포커스 기능을 설정하면, 상기 제어부130은 511단계 및 513단계를 수행하면서 이를 감지하고 515단계에서 포커스 간격을 설정한다. 이때 상기 포커스 간격은 사용자가 설정할 수 있으며, 또한 디폴트로 설정된 포커스 간격을 사용할 수도 있다. 그러나 오토포커스 기능 설정이 아니면, 상기 제어부130은 513단계에서 이를 감지하고 517단계에서 해당 기능을 설정한다.Referring to FIG. 5, when a picture is taken, the user may register an autofocus shooting function. Here, the autofocus photographing function refers to a function of continuously photographing while setting a different focus when photographing according to an embodiment of the present invention. In this case, the focus interval may be set when setting the autofocus. When the focus interval is set to N, the photographed image may be taken as an image of N frames, and the N images may be taken at different focus points. . Therefore, when the user sets the autofocus function in the setting mode, the controller 130 detects this while performing steps 511 and 513 and sets the focus interval in step 515. In this case, the focus interval may be set by the user, and a focus interval set as a default may also be used. However, if the autofocus function is not set, the controller 130 detects this in step 513 and sets the corresponding function in step 517.

상기와 같이 오토포커스 기능이 설정된 상태에서 사용자에 의해 촬영 요구가 발생되면, 상기 제어부130은 521단계 및 523단계에서 이를 감지하고, 525단계에서 오토포커스 촬영을 수행한다. 그러나 오토포커스 촬영이 아니면 상기 제어부130은 527단계에서 일반촬영 모드로 촬영 동작을 수행할 수 있다. 이때 오토포커스 촬영모드인 경우, 상기 카메라장치는 포커스 렌즈를 설정된 간격으로 움직이면서 연속으로 초점이 다른 이미지들을 촬영하며, 촬영되는 이미지들을 포커스 값과 함께 저장한다.When the shooting request is generated by the user in the state in which the autofocus function is set as described above, the controller 130 detects it in steps 521 and 523 and performs autofocus shooting in step 525. However, if autofocus shooting is not performed, the controller 130 may perform a shooting operation in the normal shooting mode in step 527. In this case, in the autofocus photographing mode, the camera apparatus continuously photographs images having different focus while moving the focus lens at set intervals, and stores the photographed images together with the focus value.

상기와 같이 오토포커스 기능으로 사진을 촬영한 후, 촬영된 사진들 중에서 원하는 위치에 포커스된 사진을 선택할 수 있다. 사용자가 오토포커스로 촬영된 사진을 선택하면 상기 제어부130은 531단계에서 이를 감지하고 대표이미지를 상기 표시부150에 표시하며, 표시되는 대표이미지에서 특정 영역을 선택하면, 상기 제어부130은 531단계에서 이를 포커스 재설정으로 감지하고 533단계에서 터치 영역에서 최대 포커스 값을 가지는 사진을 선택하여 상기 표시부150에 표시한다. 그러나 상기 533단계에서 포커스 재설정 동작을 수행하지 않으면 상기 제어부130은 537단계에서 해당 사진을 표시하면서 사용자가 요구하는 기능을 수행한다.After taking a picture using the autofocus function as described above, a picture focused on a desired position can be selected from the taken pictures. When the user selects the picture taken by the autofocus, the controller 130 detects it in step 531 and displays the representative image on the display unit 150. When the user selects a specific region from the displayed representative image, the controller 130 displays it in step 531. In operation 533, the controller 110 detects the focus reset and selects the photo having the maximum focus value in the touch area and displays it on the display unit 150. However, if the focus reset operation is not performed in step 533, the controller 130 displays a picture in step 537 and performs a function requested by the user.

이하의 설명에서는 상기 오토포커스 기능으로 사진을 촬영하여 처리하는 525단계 및 사진 촬영 후 포커스 재설정하는 535단계의 동작을 구체적으로 살펴본다. In the following description, operations of step 525 of taking and processing pictures with the autofocus function and step 535 of resetting focus after taking pictures will be described in detail.

도 6은 본 발명의 실시예에 따른 카메라장치에서 오토포커스 촬영 동작을 수행하는 절차를 도시하는 흐름도이다. 도 7a는 본 발명의 실시예에 따라 오토포커스 촬영된 이미지들의 포커스 영역 및 이미지의 예를 도시하는 도면이며, 도 7b는 도 7a와 같은 이미지에서 추출되는 포커스 값의 예를 도시하는 도면으로, 포커스 영역별 포커스 렌즈의 위치에 따른 포커스값의 변화 예를 도시하는 도면이다. 6 is a flowchart illustrating a procedure of performing an autofocus photographing operation in a camera apparatus according to an embodiment of the present invention. FIG. 7A is a diagram illustrating an example of a focus area and an image of autofocused images according to an embodiment of the present invention, and FIG. 7B is a diagram illustrating an example of a focus value extracted from an image as illustrated in FIG. 7A. It is a figure which shows the example of a change of the focus value according to the position of the focus lens for each area.

상기 도 6을 참조하면, 사용자가 카메라를 켜고 촬영 버튼을 누르면, 상기 제어부130은 이를 감지하고 상기 이미지처리부120에 사진 촬영임을 통보한다. 그러면 이미지처리부120은 611단계에서 카메라부110의 포커스 액츄에이터를 구동하여 포커스 렌즈를 초기 위치로 이동시킨다. 여기서 상기 초기 위치라 함은 포커스 렌즈가 사진 촬영을 시작하는 최초의 위치를 의미한다. 일반적으로 상기 포커스 렌즈는 원거리(Far)부터 초점을 맞추기 시작하여 가까운 거리(Macro)에 있는 피사체 이미지가 맞도록 포커스 동작을 수행하게 된다. 그러나 반대로 가까운 거리에서 시작하여 원거리로 포커스 동작을 수행할 수도 있으며, 또한 사용자에 의해 설정 포커스 초기 위치를 설정할 수 있다. 또한 상기 포커스 렌즈가 움직이는 간격(즉, 포커스 간격, 초점거리 간격)은 디폴트로 설정할 수 있으며, 상기한 바와 같이 설정모드에서 사용자에 의해 설정할 수도 있다. Referring to FIG. 6, when the user turns on the camera and presses the photographing button, the controller 130 detects this and notifies the image processor 120 that the photograph is taken. In operation 611, the image processor 120 drives the focus actuator of the camera unit 110 to move the focus lens to the initial position. In this case, the initial position means an initial position at which the focus lens starts photographing. In general, the focus lens starts focusing from a far (Far) and performs a focusing operation to match an image of a subject at a close distance (Macro). On the contrary, the focus operation may be performed at a long distance starting from a short distance, and the user may set the initial focus position. In addition, an interval at which the focus lens moves (ie, a focus interval and a focal length interval) may be set as a default, and may be set by a user in the setting mode as described above.

상기와 같이 초기 위치로 포커스 렌즈를 이동되면, 상기 카메라부110의 이미지센서는 상기 포커스 렌즈에 의해 초점이 맞춰지는 이미지를 생성하여 이미지처리부120에 출력한다. 그리고 상기 이미지처리부613단계에서 상기 카메라부110에서 출력되는 이미지를 입력하여 처리하며, 615단계에서 상기 처리되는 이미지의 포커스값을 검출한다. 이때 상기 포커스 값은 촬영되는 이미지의 각 포커스 영역별로 추출될 수 있다. 이후 상기 이미지처리부120은 617단계에서 상기 이미지 및 추출된 포커스 값을 제어부130에 전송하며, 상기 제어부130은 상기 이미지 및 포커스 값(FV)을 저장부140에 저장한다. 이때 상기 포커스 값(FV)을 저장하는 방법은 파일이나 이미지 저장 시 이미지의 헤더 정보 형태로 같이 저장시켜 놓을 수도 있다. 또한 저장 방식은 앞서 발명의 구성에 설명했듯이 영구 저장을 위해 플래쉬 메모리나 롬을 사용할 수도 있고, 임시적을 저장을 위해 램(RAM)등의 버퍼(Buffer)에 임시 저장할 수도 있다. When the focus lens is moved to the initial position as described above, the image sensor of the camera unit 110 generates an image focused by the focus lens and outputs the image to the image processor 120. In operation 613, an image output from the camera unit 110 is input and processed. In operation 615, a focus value of the processed image is detected. In this case, the focus value may be extracted for each focus area of the captured image. In operation 617, the image processor 120 transmits the image and the extracted focus value to the controller 130, and the controller 130 stores the image and the focus value FV in the storage 140. In this case, the method of storing the focus value FV may be stored together in the form of header information of the image when the file or the image is stored. In addition, the storage method may use a flash memory or a ROM for permanent storage as described above in the configuration of the invention, or may be temporarily stored in a buffer such as RAM for temporary storage.

이후 상기 이미지처리부120은 619단계에서 현재 촬영된 이미지가 마지막 포커스 위치인가 검사한다. 즉, 상기 619단계에서 상기 이미지처리부120은 포커스 렌즈가 움직일 수 있는 마지막 위치인 지 판단하며, 현재 포커스 렌즈의 위치가 마지막 위치라면 촬영을 종료한다. 그러나 마지막 위치가 아니면 상기 이미지처리부120은 621단계에서 카메라부110의 포커스 액츄에이터를 구동하여 포커스 렌즈를 다음 포커스 위치로 이동시키며, 613단계로 되돌아간다. 그리고 상기 이미지처리부120은 상기 613단계 - 621단계를 반복 수행하면서 마지막 포커스 위치의 이미지를 촬영한다. 상기와 같은 과정을 수행하면 상기 이미지처리부120은 매 설정된 포커스 간격으로 포커스 렌즈가 이동되어 촬영되는 이미지들 및 상기 이미지의 포커스 영역별 포커스 값(FV)값을 저장하게 된다.In operation 619, the image processor 120 checks whether the image currently captured is the last focus position. That is, in step 619, the image processor 120 determines whether the focus lens is the last position where the focus lens can be moved. However, if it is not the last position, the image processing unit 120 drives the focus actuator of the camera unit 110 in step 621 to move the focus lens to the next focus position, and returns to step 613. The image processor 120 repeats steps 613 to 621 to capture an image of the last focus position. When the above process is performed, the image processor 120 stores the images photographed by moving the focus lens at every set focus interval and a focus value (FV) value of each focus area of the image.

여기서 상기 포커스 영역이란 함은 도 7a의 700과 같이 하나의 이미지 내에서 여러 영역의 포커스값을 가져오기 위해 나뉘어진 영역을 의미한다. 따라서 도 7a와 같은 이미지를 촬영한 경우 포커스 간격에 따라 피사체 A - D의 포커스 값이 서로 다르게 추출된다. 즉, 포커스 간격을 이동시키면서 오토포커스 촬영을 할 때, 피사체717에 포커스가 맞춰진 경우 포커스 영역 D에서 최대 포커스 값이 추출될 수 있으며, 피사체 715에 포커스가 맞춰진 경우 포커스 영역 C를 포함하는 포커스 영역 C의 상하 포커스 영역 및 이에 인접하는 포커스 영역들에서 높은 포커스 값이 추출될 수 있고, 피사체 713에 포커스가 맞춰진 경우에는 포커스 영역 713에서 최대 포커스 값이 추출될 수 있으며, 피사체 711에 포커스가 맞춰진 경우에는 포커스 영역 A에서 최대 포커스 값이 추출될 수 있다. 따라서 이미지의 각 포커스 영역별로 최대값을 가지게 되는 포커스 렌즈 위치는 카메라와 피사체의 위치(거리)에 따라 서로 다른 값을 가지게 된다. 그리고 상기 이미지처리부120은 미리 설정된 포커스 영역에 따라 포커스 값을 추출할 수 있다. 이때 포커스 값 추출은 고역통과필터(High Pass Filter)등의 에지 추출을 통해 추출할 수 있다.Here, the focus area means a region divided to obtain focus values of several regions in one image, as shown in 700 of FIG. 7A. Therefore, when the image of FIG. 7A is taken, the focus values of the subjects A to D are extracted differently according to the focus interval. That is, when autofocusing while moving the focus interval, the maximum focus value may be extracted from the focus area D when the subject 717 is in focus, and the focus area C including the focus area C when the subject 715 is in focus. A high focus value may be extracted from the upper and lower focus areas of and adjacent to the focus areas of the upper and lower focus areas of the camera. When the focus is focused on the subject 713, the maximum focus value may be extracted from the focus area 713. The maximum focus value may be extracted from the focus area A. Therefore, the focus lens position having the maximum value for each focus region of the image has a different value according to the position (distance) of the camera and the subject. The image processor 120 may extract a focus value according to a preset focus area. In this case, the focus value extraction may be performed through edge extraction such as a high pass filter.

도 7a와 같은 이미지를 촬영할 때 도 7b에 도시된 바와 같이 포커스렌즈는 초기 렌즈 위치"x"에서 다음 포커스 위치인 "x+f(1)"로 이동하며, 이와 같은 방법으로 포커스 렌즈의 마지막 위치 "x+f(N)"까지 이동하면서 촬영을 하게 된다. 여기서 x는 포커스렌즈의 초기 위치, f(1)-f(N)은 설정된 다음 포커스렌즈 위치를 의미한다. 이때 포커스 위치는 먼 거리에서 가까운 거리로 포커스되는 것으로 가정하고 피사체 711이 사용자로부터 가장 먼 곳에 위치되며 피사체 717이 사용자와 가장 가까운 곳에 위치된다고 가정한다. 이런 경우 피사체 711 - 717은 도 7b와 같이 포커스 렌즈 위치에 따라 최대 포커스 값이 검출되며, 이때 각 포커스 영역별 최대 포커스 값이 나오는 포커스 렌즈 위치는 서로 다른 값을 가짐을 알 수 있다. 도 7b에서 FV_max는 최대 포커스 값을 의미한다. 따라서 도 7a와 같은 이미지를 오토포커스 촬영하는 경우에는 도 7b에 도시된 바와 같은 포커스 값들을 추출할 수 있다. 일반적으로 포커스 영역별 포커스 값(FV)의 최대값은 잘 알려진 렌즈의 공식에 의해 하기 <수학식 1>과 같이 구할 수 있다.When taking an image like FIG. 7A, as shown in FIG. 7B, the focus lens moves from the initial lens position “x” to the next focus position “x + f (1)”, and in this way, the last position of the focus lens. Shooting moves to "x + f (N)". Where x is the initial position of the focus lens and f (1) -f (N) is the next focus lens position that is set. In this case, it is assumed that the focus position is focused from a far distance to a close distance, and assume that the subject 711 is located farthest from the user and the subject 717 is located closest to the user. In this case, as shown in FIG. 7B, the maximum focus values of the subjects 711 to 717 are detected according to the focus lens positions. In this case, it can be seen that the focus lens positions at which the maximum focus values of the respective focus regions come from different values. In FIG. 7B, FV_max means a maximum focus value. Therefore, when autofocusing the image as shown in FIG. 7A, focus values as shown in FIG. 7B may be extracted. In general, the maximum value of the focus value FV for each focus region may be obtained as in Equation 1 by a well-known lens formula.

Figure pat00001
Figure pat00001

상기 <수학식 1>에서 a는 피사체와 렌즈와의 거리, b는 렌즈와 이미지 센서까지 거리, f는 초점거리를 나타낸다. 따라서 상기 도 7a 및 도 7b에 도시된 바와 같이, 포커스영역 "D"와 같이 가까운 피사체 711(MACRO)의 경우 "D_FVmax" 위치와 같이 카메라부110의 이미지센서와 포커스 렌즈가 멀리 있는 위치에 있고, 피사체 711과 같이 멀리 있는 피사체(FAR)는 A_FVmax와 같이 좀 더 가까운 위치에 있게 된다. 즉, 피사체와 카메라부110의 거리에 따라 서로 다른 포커스 렌즈의 위치에서 최대 포커스 값(FV)을 가지게 된다. In Equation 1, a denotes a distance between a subject and a lens, b denotes a distance between a lens and an image sensor, and f denotes a focal length. Therefore, as illustrated in FIGS. 7A and 7B, in the case of a close object 711 (MACRO) such as the focus area “D”, the image sensor and the focus lens of the camera unit 110 are far away, such as the “D_FVmax” position. A far-away subject FAR, such as a subject 711, is located at a closer position, such as A_FVmax. That is, the maximum focus value FV is obtained at positions of different focus lenses according to the distance between the subject and the camera unit 110.

상기 도 8과 같은 절차로 촬영된 이미지 및 포커스 값을 저장한 상태에서 원하는 포커스 위치의 이미지를 선택 및/또는 편집하는 절차를 살펴본다. 도 8은 본 발명의 실시예에 따른 카메라장치에서 오토포커스 촬영된 이미지의 포커스를 재설정하는 절차를 도시하는 흐름도이다. 도 9a - 도 9c는 본 발명의 실시예에 따른 오토포커스 이미지들 중에서 최대 포커스 값을 가지는 포커스 영역의 예들을 도시하는 도면이다. 그리고 도 10a - 도 10d는 본 발명의 실시예에 따라 스크롤바를 이용하여 최대 포커스 값을 가지는 포커스영역의 표시 예를 설명하기 위한 도면이다.A procedure of selecting and / or editing an image of a desired focus position while storing an image and a focus value captured by the procedure shown in FIG. 8 will be described. 8 is a flowchart illustrating a procedure of resetting focus of an autofocused image in a camera apparatus according to an embodiment of the present invention. 9A through 9C are diagrams illustrating examples of a focus area having a maximum focus value among autofocus images according to an embodiment of the present invention. 10A to 10D illustrate a display example of a focus area having a maximum focus value using a scroll bar according to an exemplary embodiment of the present invention.

상기 도 8 - 도 10d를 참조하면, 본 발명의 실시예에 따른 포커스 재설정은 오토포커스 촬영된 이미지를 표시하면서 시작될 수 있다. 사용자가 입력부160을 통해 사진 목록(예를들면 갤러리)을 선택하고, 상기 표시부150에 표시되는 섬네일 이미지들 중에서 특정 이미지를 선택하면, 상기 제어부130은 선택된 이미지가 오토포커스로 촬영된 이미지인가 확인한다. 이때 오토포커스로 촬영된 이미지이면, 상기 제어부130은 이를 감지하고 811단계에서 이미지들 중에서 대표이미지를 표시부150에 표시한다. 여기서 상기 대표 이미지는 오토포커스 촬영된 이미지들 중의 한 이미지로써, 초기 포커스 위치의 이미지, 마지막 포커스 이미지 또는 오토포커스 알고리즘에 의한 이미지 등이 될 수 있다. 8 to 10D, the resetting of focus according to an embodiment of the present invention may be started while displaying an autofocused image. When the user selects a list of photos (eg, a gallery) through the input unit 160 and selects a specific image among thumbnail images displayed on the display unit 150, the controller 130 determines whether the selected image is an image captured by autofocus. . In this case, if the image is captured by autofocus, the controller 130 detects this and displays the representative image among the images on the display unit 150 in step 811. Here, the representative image is one of autofocused images, and may be an image of an initial focus position, a last focus image, or an image by an autofocus algorithm.

상기와 같이 대표이미지를 표시하는 상태에서 사용자가 표시부150에 표시되는 이미지의 특정 영역을 터치하면, 상기 제어부130은 813단계에서 입력부160을 통해 터치된 위치의 포커스 영역을 감지하여 감지된 포커스 영역의 이미지를 재선택하기 위한 입력으로 감지한다. 이때 상기 입력부160이 터치패널인 경우, 상기 제어부130은 입력부160으로부터 터치된 위치 좌표를 검출한 후, 815단계에서 상기 터치 좌표에 대응되는 포커스 영역을 결정하며, 상기 저장부140에 저장된 이미지들 중에서 상기 선택된 포커스 영역에서 최대 포커스 값을 가지는 포커스 렌즈 위치의 이미지를 탐색한다. 이후 상기 제어부130은 상기 사용자에 의해 선택된 포커스영역에서 최대값을 가지는 이미지를 선택하여 표시한다. When the user touches a specific area of the image displayed on the display unit 150 while displaying the representative image as described above, the controller 130 detects the focus area of the position touched by the input unit 160 in step 813 to determine the detected focus area. Detect it as input to reselect the image. In this case, when the input unit 160 is a touch panel, the controller 130 detects the position coordinates touched by the input unit 160, and determines a focus area corresponding to the touch coordinates in step 815, and among the images stored in the storage unit 140. The image of the focus lens position having the maximum focus value in the selected focus area is searched. Thereafter, the controller 130 selects and displays an image having the maximum value in the focus area selected by the user.

이후 사용자로부터 저장 요구가 발생되면, 상기 제어부130은 819단계에서 이를 감지하고, 821단계에서 상기 표시되는 이미지를 저장부140에 저장한다. 이때 상기 저장부140에 저장되는 이미지는 오토포커스 이미지의 대표이미지로 저장될 수도 있다. 상기와 같은 동작은 사용자에 의해 종료 요구 발생시까지 반복 수행될 수 있으며, 사용자에 의해 종료요구가 발생되면 상기 제어부130은 823단계에서 이를 감지하고 오토포커스 이미지의 포커스 재설정 절차를 종료한다. Then, if a storage request is generated from the user, the controller 130 detects this in step 819 and stores the displayed image in the storage 140 in step 821. In this case, the image stored in the storage 140 may be stored as a representative image of the autofocus image. The above operation may be repeatedly performed until the termination request is generated by the user. When the termination request is generated by the user, the controller 130 detects this in step 823 and terminates the focus reset procedure of the autofocus image.

즉 본 발명의 실시예에 따른 카메라장치는 상기 도 6과 같은 절차를 수행하면서 설정된 포커스 간격으로 복수의 이미지들을 촬영 및 저장하며, 이때 저장되는 이미지는 포커스 간격에 따라 서로 다른 위치에 초점이 맞은 이미지들이 된다. 그리고 상기와 같은 이미지들은 각 포커스 영역별로 추출된 포커스 값들이 함께 저장된다. 따라서 상기 저장되는 사진 이미지들은 다양한 위치에 초점이 맞춰진 사진 이미지들이 된다. 상기와 같은 오토포커스 이미지들을 저장한 상태에서 사용자가 사진 이미지를 선택하면, 카메라장치는 도 8과 같은 절차를 수행하면서 오토포커스의 대표 이미지를 표시하며, 표시되는 대표이미지에서 사용자가 원하는 위치를 선택하면, 상기 제어부130은 사용자가 원하는 위치에 초점이 맞은 사진이미지(즉, 사용자가 선택한 포커스영역에 최대 포커스 값을 가지는 사진이미지)를 선택하여 저장할 수 있다.That is, the camera apparatus according to the embodiment of the present invention captures and stores a plurality of images at a set focus interval while performing the procedure as shown in FIG. 6, wherein the stored images are focused on different positions according to the focus interval. It becomes. The above images are stored together with the focus values extracted for each focus area. Thus, the stored photographic images become photographic images focused at various positions. When the user selects a photographic image while storing the above autofocus images, the camera apparatus displays a representative image of the autofocus while performing the procedure of FIG. 8, and selects a desired position from the displayed representative image. In this case, the controller 130 may select and store a photo image (ie, a photo image having a maximum focus value in a focus area selected by the user) focused on a desired position of the user.

상기 도 9a - 도 9c를 참조하면, 상기 도 9a는 B 영역에 포커싱되었고 도 9B는 A 영역에 포커싱되었으며, 도 9c는 C 영역에 포커싱되었고, 여기서 대표이미지는 도 9a라고 가정한다. 이때 오토포커스 이미지의 표시를 선택하면, 상기 제어부130은 도 9a와 같은 이미지를 표시부150에 표시한다. 이때 상기 도 9a와 같은 이미지를 표시하는 상태에서, 사용자가 A 영역을 터치하면 상기 제어부130은 상기 저장부140에 저장된 포커스 값들 중에서 상기 A 영역에서 최대 포커스 값을 가지는 이미지를 탐색하며, 탐색 결과에 따라 상기 A영역에서 최대 포커스 값을 가지는 도 9b와 같은 이미지들을 표시부150에 표시한다. 그리고 사용자가 저장을 요구하면, 상기 제어부130은 도 9b와 같이 A 영역에서 최대 포커스 값을 가지는 이미지를 대표이미지로 저장한다. 또한 상기 도 9a와 같은 이미지를 표시하는 상태에서, 사용자가 C 영역을 터치하면 상기 제어부130은 상기 저장부140에 저장된 포커스 값들 중에서 상기 C 영역에서 최대 포커스 값을 가지는 이미지를 탐색하며, 탐색 결과에 따라 상기 C영역에서 최대 포커스 값을 가지는 도 9c와 같은 이미지들을 표시부150에 표시한다. 그리고 사용자가 저장을 요구하면, 상기 제어부130은 도 9c와 같이 C 영역에서 최대 포커스 값을 가지는 이미지를 대표이미지로 저장한다.9A to 9C, FIG. 9A is focused on region B, FIG. 9B is focused on region A, and FIG. 9C is focused on region C, where the representative image is assumed to be FIG. 9A. In this case, when the display of the autofocus image is selected, the controller 130 displays the image shown in FIG. 9A on the display unit 150. In this state, when the user touches the area A while displaying an image as shown in FIG. 9A, the controller 130 searches for an image having the maximum focus value in the area A among the focus values stored in the storage 140, and displays the search result. Accordingly, images shown in FIG. 9B having the maximum focus value in the area A are displayed on the display unit 150. When the user requests storage, the controller 130 stores the image having the maximum focus value in the area A as the representative image as shown in FIG. 9B. In addition, when the user touches the region C in the state of displaying the image as shown in FIG. 9A, the controller 130 searches for an image having the maximum focus value in the region C among the focus values stored in the storage 140. Accordingly, images shown in FIG. 9C having the maximum focus value in the region C are displayed on the display unit 150. When the user requests storage, the controller 130 stores the image having the maximum focus value in the region C as a representative image as shown in FIG. 9C.

이때 상기 최대 포커스값을 가지는 이미지를 찾는 방법은 상기 도 6과 같은 절차를 수행하여 추출된 포커스값을 분석하여 얻을 수 있다. 이때 상기 사용자가 터치한 영역이 도 7a와 같이 설정된 포커스 영역과 일치하지 않으면, 상기 제어부130은 사용자의 터치 영역을 포함 또는 인접하는 포커스 모든 영역을 분석하며, 이들 중 가장 큰 포커스 값을 포커스 영역의 이미지를 선택할 수도 있다. 이때 상기 최대 포커스값을 가지는 이미지를 찾았을 경우, 상기 제어부130은 한번에 탐색된 이미지를 보여주지 않고, 부드럽게 이미지가 바뀌게 하기위해 현재와 최종 이미지 사이의 중간 이미지들도 보여주는 방법으로 구현할 수도 있다. In this case, the method for finding an image having the maximum focus value may be obtained by analyzing the extracted focus value by performing the procedure of FIG. 6. In this case, if the area touched by the user does not match the focus area set as shown in FIG. 7A, the controller 130 analyzes all areas including or adjacent to the touch area of the user, and the largest focus value of the focus area is determined. You can also select an image. In this case, when the image having the maximum focus value is found, the controller 130 may implement the method of showing the intermediate images between the current and the final image so as to smoothly change the image without showing the searched image at once.

또한 도 6과 같은 절차를 수행하면서 서로 다른 초점으로 복수의 사진을 촬영한 후, 촬영된 이미지와 함께 포커스 값을 저장한 후, 도 10a 및 도 10b와 같이 스크롤바를 이용하여 포커스를 재설정할 수도 있다. 이런 경우 도 10a에 도시된 바와 같이 스크롤바가 가장 왼쪽에 있으면, 카메라장치는 포커스 렌즈가 피사체와 가장 가까운 이미지(Macro 방향 이미지)를 보여주고, 이후 도 10b - 도 10d와 같이 스크롤바를 오른쪽으로 움직이면 그에 따라 포커스 렌즈가 원거리(Far 방향 이미지) 방향으로 움직이는 이미지를 디스플레이한다. 이때 사용자가 스크롤바를 원하는 위치에서 정지시키고 해당 이미지를 선택하면 카메라장치는 해당 위치에서의 최대 포커스 값을 가지는 이미지를 선택할 수 있다. 따라서 도 10a - 도 10d에 도시된 바와 같이 스크로롤 바를 이용하여 사용자가 포커스의 재설정을 원하는 위치에서 최대 포커스값을 가지는 포커스 이미지를 선택할 수 있다.
In addition, after taking a plurality of pictures with different focus while performing the procedure as shown in FIG. 6, after storing the focus value together with the captured image, the focus may be reset using the scroll bar as shown in FIGS. 10A and 10B. . In this case, as shown in FIG. 10A, when the scroll bar is at the leftmost side, the camera device shows an image (macro direction image) closest to the focus lens, and then moves the scroll bar to the right as shown in FIGS. Accordingly, the focus lens displays an image moving in the distant (Far direction image) direction. At this time, if the user stops the scroll bar at a desired position and selects the corresponding image, the camera device may select an image having the maximum focus value at the corresponding position. Accordingly, as illustrated in FIGS. 10A to 10D, the scroll bar may be used to select the focus image having the maximum focus value at the position where the user wants to reset the focus.

또한 본 발명의 다른 실시예에서, 사진 촬영시 설정된 포커스 간격으로 사진을 촬영하여 이미지를 저장하고, 포커스 재설정 과정에서 서로 다른 포커스로 촬영된 이미지들의 포커스값을 추출하여 포커스를 재설정할 수 있다. 즉, 도 6은 이미지처리부(ISP: Image Signal Processor)120이 포커스를 다르게 설정하여 연속 촬영되는 이미지들의 포커스 값을 추출하고 포커스 렌즈의 위치에 따라 이미지와 함께 추출되는 포커스값을 같이 저장한다. 그러나 사진 촬영시 설정된 포커스 간격으로 사진을 촬영하여 이미지를 저장하고, 제어부130이 저장된 이미지들을 처리하여 포커스 영역 별 포커스 값을 재설정하여도 동일한 효과를 얻을 수 있다. In another embodiment of the present invention, the image may be stored by taking a picture at a set focus interval at the time of taking a picture, and the focus may be reset by extracting the focus values of the images taken with different focus in the focus resetting process. That is, in FIG. 6, the image signal processor 120 sets the focus differently to extract focus values of consecutive images, and stores the focus values extracted together with the image according to the position of the focus lens. However, the same effect can be obtained even when the picture is taken at a set focus interval to store the image, and the controller 130 processes the stored images to reset the focus value for each focus area.

도 11은 카메라장치가 본 발명의 다른 실시에에 따라 서로 다른 포커스의 이미지들을 촬영하는 절차를 도시하는 흐름도이다.11 is a flowchart illustrating a procedure in which a camera apparatus photographs images of different focus according to another embodiment of the present invention.

상기 도 11을 참조하면, 사용자가 촬영 버튼을 누르면, 상기 제어부130은 이를 감지하고 상기 이미지처리부120에 사진 촬영임을 통보한다. 그러면 이미지처리부120은 1111단계에서 카메라부110의 포커스 액츄에이터를 구동하여 포커스 렌즈를 초기 위치로 이동시킨다. 여기서 상기 초기 위치라 함은 포커스 렌즈가 사진 촬영을 시작하는 최초의 위치를 의미한다. 상기와 같이 초기 위치로 포커스 렌즈를 이동되면, 상기 카메라부110의 이미지센서는 상기 포커스 렌즈에 의해 초점이 맞춰지는 이미지를 생성하여 이미지처리부120에 출력한다. 그리고 상기 이미지처리부1113단계에서 상기 카메라부110에서 출력되는 이미지를 입력하여 처리하며, 1115단계에서 상기 처리되는 이미지를 제어부130에 전송하며, 상기 제어부130은 상기 이미지를 저장부140에 저장한다. Referring to FIG. 11, when the user presses the photographing button, the controller 130 detects this and notifies the image processor 120 that the photograph is taken. In operation 1111, the image processor 120 drives the focus actuator of the camera unit 110 to move the focus lens to the initial position. In this case, the initial position means an initial position at which the focus lens starts photographing. When the focus lens is moved to the initial position as described above, the image sensor of the camera unit 110 generates an image focused by the focus lens and outputs the image to the image processor 120. In operation 1113, the image output from the camera 110 is input and processed. In operation 1115, the processed image is transmitted to the controller 130, and the controller 130 stores the image in the storage 140.

이후 상기 이미지처리부120은 1117단계에서 현재 촬영된 이미지가 마지막 포커스 위치인가 검사한다. 즉, 상기 1117단계에서 상기 이미지처리부120은 포커스 렌즈가 움직일 수 있는 마지막 위치인 지 판단하며, 현재 포커스 렌즈의 위치가 마지막 위치라면 촬영을 종료한다. 그러나 마지막 위치가 아니면 상기 이미지처리부120은 1119단계에서 카메라부110의 포커스 액츄에이터를 구동하여 포커스 렌즈를 다음 포커스 위치로 이동시키며, 1113단계로 되돌아간다. 그리고 상기 이미지처리부120은 상기 1113단계 - 1119단계를 반복 수행하면서 마지막 포커스 위치의 이미지를 촬영한다. 상기와 같은 과정을 수행하면 상기 이미지처리부120은 매 설정된 포커스 간격으로 포커스 렌즈가 이동되어 촬영되는 이미지들을 저장하게 된다.In operation 1117, the image processor 120 checks whether the image currently captured is the last focus position. That is, in step 1117, the image processor 120 determines whether the focus lens is the last position to move, and if the current focus lens position is the last position, the shooting ends. However, if it is not the last position, the image processing unit 120 drives the focus actuator of the camera unit 110 in step 1119 to move the focus lens to the next focus position, and returns to step 1113. The image processor 120 photographs the image of the last focus position while repeating steps 1113 to 1119. When the above process is performed, the image processor 120 stores the images captured by moving the focus lens at every set focus interval.

상기 도 11과 같은 절차를 수행하면서 설정된 포커스 간격으로 서로 다른 초점을 가지는 복수의 이미지들을 촬영하여 저장한 후, 사용자는 상기 저장된 이미지들 중에서 원하는 위치에 초점이 맞은 이미지를 선택할 수 있다. 도 12는 카메라장치에서 본 발명의 다른 실시예에 따라 촬영된 이미지의 포커스를 재설정하는 절차를 도시하는 흐름도이다.After capturing and storing a plurality of images having different focuses at a set focus interval while performing the procedure of FIG. 11, the user may select an image having a focus at a desired position among the stored images. 12 is a flowchart illustrating a procedure of refocusing a captured image according to another exemplary embodiment of the present invention in a camera apparatus.

상기 도 12를 참조하면, 포커스 재설정은 오토포커스 촬영된 이미지를 표시하면서 시작될 수 있다. 사용자가 입력부160을 통해 오토 포커스 이미지를 선택하면, 상기 제어부130은 1211단계에서 저장된 오토포커스 이미지들의 영역별 포커스 값을 추출한다. 이때 상기 이미지의 영역별 포커스 값 추출은 상기 이미지처리부120에서 추출하는 방법과 동일한 방법을 사용할 수 있다. 그리고 상기 제어부130은 이미지의 포커스 영역별 포커스 값을 저장부140에 저장한다. 즉, 상기 제어부100은 오토포커스 이미지 선택시 1211단계 및 1213단계를 수행하면서 순차적으로 이미지를 선택하며, 선택된 이미지의 포커스 영역별로 포커스값을 추출한 후 이를 해당 이미지에 대응되도록 저장한다. 상기와 같은 절차는 촬영된 마지막 이미지까지 반복 수행한다.Referring to FIG. 12, the focus reset may be started while displaying an autofocused image. When the user selects the auto focus image through the input unit 160, the controller 130 extracts the focus value for each region of the autofocus images stored in operation 1211. In this case, the focus value extraction for each region of the image may use the same method as that of the image processing unit 120. The controller 130 stores the focus value for each focus region of the image in the storage 140. That is, the controller 100 sequentially selects images while performing steps 1211 and 1213 when selecting an autofocus image, extracts a focus value for each focus region of the selected image, and stores the image to correspond to the image. The above procedure is repeated until the last image taken.

이후 상기 제어부100은 1215단계에서 오토포커스 이미지의 대표 이미지를 상기 표시부150에 표시한다. 이때 상기 대표이미지는 오토포커스 촬영된 이미지들 중의 한 이미지로써, 초기 포커스 위치의 이미지, 마지막 포커스 이미지 또는 시스템에 의해 설정된 디폴트 이미지 등이 될 수 있다. 상기 대표 이미지가 표시되는 상태에서 사용자가 표시부150에 표시되는 이미지의 특정 영역을 터치하면, 상기 제어부130은 1217단계에서 입력부160을 통해 터치된 위치의 포커스 영역을 감지한다. 이때 포커스 위치는 입력부160에 설정될 수 있다. 즉, 상기 입력부160이 터치패널인 경우, 상기 제어부130은 터치된 위치의 좌표값으로부터 포커스 영역을 감지할 수 있다. 또한 표시부150에 스크롤바가 표시되는 경우, 상기 제어부1300은 도 10a - 도 10d와 같이 스크롤바의 이동을 검출하여 포커스 위치를 감지할 수 있다. 상기와 같은 방법으로 포커tm 위치를 선택하면, 상기 제어부130은 1217단계에서 이를 감지하고, 1219단계에서 선택된 위치에 대응되는 포커스 영역을 결정한 후, 상기 저장부140에 저장된 이미지들 중에서 상기 선택된 포커스 영역에서 최대 포커스 값을 가지는 포커스 렌즈 위치의 이미지를 탐색한다. 이후 상기 제어부130은 1221단계에서 상기 사용자에 의해 선택된 포커스영역에서 최대값을 가지는 이미지를 선택하여 표시한다. In operation 1215, the controller 100 displays a representative image of the autofocus image on the display unit 150. In this case, the representative image is one of autofocus captured images, and may be an image of an initial focus position, a last focus image, or a default image set by the system. When the user touches a specific area of the image displayed on the display unit 150 while the representative image is displayed, the controller 130 detects the focus area of the touched position through the input unit 160 in step 1217. In this case, the focus position may be set in the input unit 160. That is, when the input unit 160 is a touch panel, the controller 130 may detect a focus area from the coordinate value of the touched position. In addition, when the scroll bar is displayed on the display unit 150, the controller 1300 may detect the focus position by detecting the movement of the scroll bar as illustrated in FIGS. 10A to 10D. When the poker TM position is selected in the same manner as described above, the controller 130 detects it in step 1217, determines the focus area corresponding to the selected position in step 1219, and then selects the selected focus area from the images stored in the storage 140. Searches for the image of the focus lens position having the maximum focus value. In operation 1221, the controller 130 selects and displays an image having the maximum value in the focus area selected by the user.

이후 사용자로부터 저장 요구가 발생되면, 상기 제어부130은 1223단계에서 이를 감지하고, 1225단계에서 상기 표시되는 이미지를 저장부140에 저장한다. 이때 상기 저장부140에 저장되는 이미지는 오토포커스 이미지의 대표이미지로 저장될 수도 있다. 상기와 같은 동작은 사용자에 의해 종료 요구 발생시까지 반복 수행될 수 있으며, 사용자에 의해 종료요구가 발생되면 상기 제어부130은 1227단계에서 이를 감지하고 오토포커스 이미지의 포커스 재설정 절차를 종료한다. Then, if a storage request is generated from the user, the controller 130 detects this in step 1223 and stores the displayed image in the storage 140 in step 1225. In this case, the image stored in the storage 140 may be stored as a representative image of the autofocus image. The above operation may be repeatedly performed until the termination request is generated by the user. When the termination request is generated by the user, the controller 130 detects this in step 1227 and terminates the focus reset procedure of the autofocus image.

상기 도 11 및 도 12에 도시된 바와 같이, 오토포커서 촬영이 요구되면, 상기 이미지처리부120은 포커스렌즈가 초기 위치부터 마지막 위치까지 이동하면서 각각의 이미지들을 저장부140에 저장한다. 이때 상기 이미지처리부120은 도 11과 같은 절차를 수행하면서 오토포커스 이미지를 촬영 및 저장한다. As shown in FIGS. 11 and 12, when autofocus shooting is required, the image processor 120 stores each image in the storage 140 while the focus lens moves from the initial position to the last position. In this case, the image processor 120 captures and stores an autofocus image while performing the procedure of FIG. 11.

이후 포커스 재 설정이 시작되면, 상기 제어부130은 도 12의 1211단계 및 1213단계를 수행하면서 상기 저장된 이미지들의 각 포커스 영역별 포커스값을 추출하고, 추출된 포커스값들을 대응되는 이미지에 대응시켜 저장한다. 이때 상기 제어부130은 이미지의 에지(edge) 추출이나 HPF(High Pass Fitler)등 다양한 이미지 후처리(post processing)을 방법을 통해 포커스값을 추출할 수 있다. 상기 제어부130은 추출된 각 이미지별 포커스값 분석 결과를 룩업테이블(Look Up table)이나 임의의 텍스트 파일 등의 방식으로 영역별 최대포커스값(FVmax)을 가지는 포커스렌즈 위치에 저장할 수 있다. Thereafter, when the focus is reset, the controller 130 extracts a focus value of each focus area of the stored images while performing steps 1211 and 1213 of FIG. 12 and stores the extracted focus values in correspondence with a corresponding image. . In this case, the controller 130 may extract a focus value through various image post processing methods such as edge extraction of an image or high pass fitler (HPF). The controller 130 may store the extracted focus value analysis result for each image in a focus lens position having a maximum focus value FVmax for each region by a look-up table or an arbitrary text file.

이후 상기 제어부130은 도 12의 1215단계에서 대표 이미지를 디스플레이에 표시하고, 사용자가 포커스 재설정을 대기한다. 이때 사용자가 도 9a - 도 9c와 같이 포커스 재설정을 하고자 이미지의 특정 부분을 선택하면, 상기 제어부130은 1217단계 - 1221단계를 수행하면서 사용자가 선택한 부분에서 최대 포커스값을 가지는 포커스렌즈의 위치에 대응되는 이미지를 찾고, 그 이미지를 표시부130에 표시한다. 이 때 한 번에 보여주는 것이 아니라 부드럽게 넘어가는 것이 보이기 위해 현재 상태의 렌즈 위치와 최대 포커스값을 가지는 포커스 렌즈 위치 이미지의 중간 이미지를 디스플레이되게 구현될 수 있다. 또한 상기 포커스 위치 재설정은 도 10a - 도 10d에 도시된 바와 같이 스크롤바를 이용한 방법으로 구현할 수도 있다. 포커스 위치를 재설정한 후, 상기 제어부130은 1223 - 1227단계를 통해 재설정된 이미지를 저장(또는 취소)를 선택하면 그 이미지를 저장(또는 취소)하고 포커스 재 설정 과정을 종료한다. Thereafter, the controller 130 displays the representative image on the display in operation 1215 of FIG. 12 and waits for the user to reset the focus. In this case, when the user selects a specific part of the image to reset the focus as shown in FIGS. 9A to 9C, the controller 130 corresponds to the position of the focus lens having the maximum focus value at the selected part while performing steps 1217 to 1221. The image is found, and the image is displayed on the display unit 130. In this case, the intermediate image of the focus lens position image having the maximum focus value and the lens position of the current state may be displayed so as to smoothly see the image instead of showing it at once. In addition, the focus position reset may be implemented by using a scroll bar as illustrated in FIGS. 10A to 10D. After resetting the focus position, if the controller 130 selects to store (or cancel) the reset image in steps 1223 to 1227, the controller 130 saves (or cancels) the image and ends the focus reset process.

본 명세서와 도면에 개시 된 본 발명의 실시예들은 본 발명의 기술 내용을 쉽게 설명하고 본 발명의 이해를 돕기 위해 특정 예를 제시한 것일 뿐이며, 본 발명의 범위를 한정하고자 하는 것은 아니다. 여기에 개시된 실시예들 이외에도 본 발명의 기술적 사상에 바탕을 둔 다른 변형 예들이 실시 가능하다는 것은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에게 자명한 것이다.The embodiments of the present invention disclosed in the present specification and drawings are merely illustrative of specific embodiments of the present invention and are not intended to limit the scope of the present invention in order to facilitate understanding of the present invention. It will be apparent to those skilled in the art that other modifications based on the technical idea of the present invention are possible in addition to the embodiments disclosed herein.

Claims (20)

카메라장치의 이미지 처리방법에 있어서,
포커스 렌즈를 설정된 포커스 간격으로 이동시키며 연속 촬영하고, 촬영된 이미지의 포커스 영역들에 대한 포커스값을 추출하여 이미지와 함께 저장하는 오토포커스 촬영과정과,
저장된 오토포커스 이미지들의 대표 이미지를 표시하며, 상기 대표 이미지의 위치 선택시 선택된 위치의 포커스 영역에서 최대 포커스 값을 가지는 이미지를 선택하여 저장하는 포커스 재설정 과정으로 이루어짐을 특징으로 하는 방법.
In the image processing method of the camera device,
Continuous focusing by moving the focus lens at a set focus interval, an autofocus shooting process for extracting the focus values for the focus areas of the photographed image and saving them with the image,
And displaying a representative image of the stored autofocus images, and selecting and storing an image having a maximum focus value in a focus area of a selected position when selecting a location of the representative image.
제1항에 있어서, 상기 오토포커스 촬영 과정은,
설정된 포커스 위치에서 이미지를 획득하는 과정과,
상기 획득된 이미지의 포커스영역들에 대한 포커스 값을 추출하는 과정과,
상기 추출된 포커스값을 이미지와 함께 저장하는 과정과,
포커스 위치를 검사하여 마지막 포커스 위치이면 촬영 동작을 종료하고, 그렇지 않으면 다음 위치로 포커스 위치를 변경한 후, 상기와 같은 과정을 반복수행하는 과정으로 이루어짐을 특징으로 하는 방법.
The method of claim 1, wherein the autofocus photographing process comprises:
Acquiring an image at a set focus position;
Extracting focus values of focus regions of the obtained image;
Storing the extracted focus value with an image;
Checking the focus position and ending the photographing operation if the focus position is the last focus position; otherwise, changing the focus position to the next position, and then repeating the above process.
제2항에 있어서, 상기 포커스 위치 변경은 포커스 액츄에이터를 구동하여 포커스렌즈를 설정된 간격으로 이동시키는 것을 특징으로 하는 방법.The method of claim 2, wherein the changing of the focus position drives a focus actuator to move the focus lens at a predetermined interval. 제2항에 있어서, 상기 포커스값 추출은 상기 이미지를 복수의 포커스 영역으로 분할하고, 상기 분할된 영역들의 포커스값을 추출하는 것을 특징으로 하는 방법.The method of claim 2, wherein the focus value extraction divides the image into a plurality of focus regions, and extracts focus values of the divided regions. 제4항에 있어서, 상기 포커스값 추출은 이미지의 에지추출 또는 고역여파 등에 추출하는 것을 특징으로 하는 방법.The method of claim 4, wherein the focus value extraction is performed by extracting an edge of an image, a high frequency filter, or the like. 제2항에 있어서, 상기 포커스 값은 상기 이미지에 메터 데이터 형태로 저장되는 것을 특징으로 하는 방법.The method of claim 2, wherein the focus value is stored in the image in the form of meter data. 제2항에 있어서, 상기 포커스 재설정 과정은,
오토포커스 이미지 선택시 대표이미지를 표시하는 과정과,
표시되는 대표이미지에서 임의 포커스영역 선택시 선택된 포커스 영역에서 최대 포커스 값을 가지는 이미지를 선택하는 과정과,
선택된 이미지를 포커스 재조절된 이미지로 저장하는 과정으로 이루어짐을 특징으로 하는 방법.
The method of claim 2, wherein the focus reset process comprises:
Displaying a representative image when selecting an autofocus image;
Selecting an image having the maximum focus value in the selected focus area when selecting a random focus area from the displayed representative image;
And storing the selected image as the refocused image.
제7항에 있어서, 이미지를 선택하는 과정은 표시되는 이미지에서 터치 감지 감지시, 감지된 터치 위치로부터 포커스 영역을 확인하고, 상기 확인된 포커스 영역의 포커스값들을 분석하여 최대 포커스값을 갖는 이미지를 선택하는 것을 특징으로 하는 방법.The method of claim 7, wherein the selecting of the image comprises checking a focus area from the detected touch position and analyzing the focus values of the identified focus area when detecting a touch in the displayed image. Selecting. 제8항에 있어서, 상기 이미지를 선택시 선택된 이미지를 표시하는 과정을 더 구비하며,
상기 이미지를 표시하는 과정은 현재 표시되는 이미지와 최대 포커스값을 가지는 이미지의 중간 이미지를 표시하여 이미지의 포커스 변화를 자연스럽게 표시하는 것을 특징으로 하는 방법.
The method of claim 8, further comprising displaying a selected image when selecting the image.
The displaying of the image may include displaying an intermediate image of a currently displayed image and an image having a maximum focus value, thereby naturally displaying a change in focus of the image.
제8항에 있어서, 상기 이미지를 선택하는 과정은 터치 감지된 위치가 포커스 영역이 아니면상기 터치위치에 인접하는 포커스 영역들 중에서 또는 인접한 포커스 영역들의 합산에 의해 최대 포커스 값을 가지는 포커스 영역의 이미지를 선택하는 과정을 더 구비하는 것을 특징으로 하는 방법.The method of claim 8, wherein the selecting of the image comprises selecting an image of a focus area having a maximum focus value from among focus areas adjacent to the touch location or by summing adjacent focus areas if the touch-sensitive location is not a focus area. And further comprising selecting. 제7항에 있어서, 상기 이미지를 선택하는 과정은 표시되는 이미지에 스크롤바를 더 표시하며, 상기 스크롤바의 이동에 따라 선택된 포커스 영역의 포커스값을 분석하여 최대 포커스 값을 가지는 이미지를 선택하는 것을 특징으로 하는 방법.The method of claim 7, wherein the selecting of the image further comprises a scroll bar on the displayed image and analyzing the focus value of the selected focus area according to the movement of the scroll bar to select the image having the maximum focus value. How to. 카메라장치에 있어서,
포커스 렌즈를 설정된 포커스 간격으로 이동시키며 연속 촬영하는 카메라부와,
상기 카메라부에서 촬영된 이미지의 포커스 영역들에 대한 포커스값을 추출하여 이미지와 함께 전송하는 이미지처리부와,
포커스값 및 이미지를 저장하는 저장부와,
상기 이미지처리부에서 전송되는 이미지 및 포커스값을 상기 저장부에 저장시키며, 포커스 재설정시 상기 저장된 오토포커스의 대표이미지를 표시하고, 상기 표시되는 대표이미지에서 선택된 위치의 포커스 영역에서 최대 포커스 값을 가지는 이미지를 선택하여 상기 저장부에 저장하는 제어부와,
상기 제어부의 제어하에 이미지를 표시하는 표시부로 구성된 것을 특징으로 하는 장치.
In the camera device,
A camera unit for continuous shooting while moving the focus lens at a set focus interval;
An image processing unit which extracts a focus value of focus areas of the image photographed by the camera unit and transmits the focus value together with the image;
A storage unit for storing the focus value and the image;
An image and a focus value transmitted from the image processing unit are stored in the storage unit, and when the focus is reset, the representative image of the stored autofocus is displayed, and the image having the maximum focus value in the focus area at a position selected from the displayed representative image. A control unit for selecting and storing the storage unit;
And a display unit for displaying an image under the control of the controller.
제12항에 있어서,
상기 이미지처리부는 상기 카메라부의 포커스 렌즈가 설정 간격으로 이동되도록 제어하며, 상기 이동되는 포커스위치에서 연속 촬영되는 이미지의 포커스영역들에 대한 포커스 값을 추출하여 이미지와 함께 전송하는 것을 특징으로 하는 장치.
The method of claim 12,
And the image processing unit controls the focus lens of the camera unit to be moved at a set interval, and extracts a focus value of focus areas of images continuously photographed from the moving focus position and transmits the focus values together with the image.
제13항에 있어서, 상기 카메라부는 상기 이미지처리부의 제어에 의해 포커스 액츄에이터를 구동하여 포커스렌즈를 설정된 간격으로 이동시키며 이미지를 촬영하는 것을 특징으로 하는 장치.The apparatus of claim 13, wherein the camera unit drives the focus actuator under the control of the image processor to move the focus lens at set intervals and to take an image. 제13항에 있어서, 상기 이미지처리부는 이미지의 에지추출 또는 고역여파 등에 포커스값을 추출하는 것을 특징으로 하는 장치.The apparatus of claim 13, wherein the image processor extracts a focus value from edge extraction or high frequency filtering of the image. 제13항에 있어서, 상기 이미지처리부는 포커스 값을 상기 이미지에 메터 데이터 형태로 하여 상기 제어부에 전송하는 것을 특징으로 하는 장치.The apparatus of claim 13, wherein the image processor transmits a focus value to the image in the form of meter data in the image. 제13항에 있어서, 상기 제어부는 오토포커스 이미지 선택시 대표이미지를 상기 표시부에 표시하고, 표시되는 대표이미지에서 임의 포커스영역 선택시 선택된 포커스 영역에서 최대 포커스 값을 가지는 이미지를 선택하여 포커스가 재조절된 이미지로 상기 저장부에 저장하는 것을 특징으로 하는 장치.The display apparatus of claim 13, wherein the controller is further configured to display the representative image on the display unit when the autofocus image is selected, and to adjust the focus by selecting an image having the maximum focus value in the selected focus region when selecting a random focus region from the displayed representative image. And store the stored image in the storage unit. 제17항에 있어서, 상기 제어부는 표시되는 이미지에서 터치 감지 감지시, 감지된 터치 위치로부터 포커스 영역을 확인하고, 상기 확인된 포커스 영역의 포커스값들을 분석하여 최대 포커스값을 갖는 이미지를 선택하는 것을 특징으로 하는 장치.The method of claim 17, wherein, when detecting touch detection in the displayed image, the controller checks a focus area from the detected touch position, analyzes focus values of the identified focus area, and selects an image having a maximum focus value. Characterized in that the device. 제17항에 있어서, 상기 제어부는 표시되는 대표 이미지에 스크롤바를 더 표시하며, 상기 스크롤바의 이동에 따라 선택된 포커스 영역의 포커스값을 분석하여 최대 포커스 값을 가지는 이미지를 선택하는 것을 특징으로 하는 장치.The apparatus of claim 17, wherein the controller further displays a scroll bar on the representative image to be displayed, and selects an image having a maximum focus value by analyzing a focus value of a selected focus area according to the movement of the scroll bar. 카메라장치의 이미지 처리방법에 있어서,
포커스 렌즈를 설정된 포커스 간격으로 이동시키며 연속 촬영하여 저장하는 오토포커스 촬영과정과,
포커스 재설정 요구시 상기 저장된 이미지들의 포커스 영역들에 대한 포커스값을 추출한 후, 저장된 오토포커스 이미지의 대표 이미지를 표시하며, 표시되는 대표이미지에서 포커스 위치 선택시 선택된 위치의 포커스 영역에서 최대 포커스 값을 가지는 이미지를 선택하여 저장하는 포커스 재설정 과정으로 이루어짐을 특징으로 하는 방법.
In the image processing method of the camera device,
Autofocus shooting process that moves the focus lens at a set focus interval and saves continuously.
Extracts a focus value for the focus areas of the stored images upon request to reset the focus, and displays a representative image of the stored autofocus image, and has a maximum focus value in the focus area of the selected position when selecting a focus position from the displayed representative image. A method for resetting the focus to select and save an image.
KR1020120074430A 2012-07-09 2012-07-09 Apparatus and method for taking a picture in camera device and wireless terminal having a camera device KR20140007529A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
KR1020120074430A KR20140007529A (en) 2012-07-09 2012-07-09 Apparatus and method for taking a picture in camera device and wireless terminal having a camera device
EP13174841.0A EP2685708A1 (en) 2012-07-09 2013-07-03 Camera device and method for processing image
CN201310286525.1A CN103546682A (en) 2012-07-09 2013-07-09 Camera device and method for processing image
US13/938,021 US20140009636A1 (en) 2012-07-09 2013-07-09 Camera device and method for processing image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020120074430A KR20140007529A (en) 2012-07-09 2012-07-09 Apparatus and method for taking a picture in camera device and wireless terminal having a camera device

Publications (1)

Publication Number Publication Date
KR20140007529A true KR20140007529A (en) 2014-01-20

Family

ID=48771300

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020120074430A KR20140007529A (en) 2012-07-09 2012-07-09 Apparatus and method for taking a picture in camera device and wireless terminal having a camera device

Country Status (4)

Country Link
US (1) US20140009636A1 (en)
EP (1) EP2685708A1 (en)
KR (1) KR20140007529A (en)
CN (1) CN103546682A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20190116856A (en) * 2018-04-05 2019-10-15 엘지이노텍 주식회사 Camera module and method of operating the same

Families Citing this family (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9531961B2 (en) 2015-05-01 2016-12-27 Duelight Llc Systems and methods for generating a digital image using separate color and intensity data
US9918017B2 (en) 2012-09-04 2018-03-13 Duelight Llc Image sensor apparatus and method for obtaining multiple exposures with zero interframe time
US9819849B1 (en) 2016-07-01 2017-11-14 Duelight Llc Systems and methods for capturing digital images
US10558848B2 (en) 2017-10-05 2020-02-11 Duelight Llc System, method, and computer program for capturing an image with correct skin tone exposure
US9807322B2 (en) 2013-03-15 2017-10-31 Duelight Llc Systems and methods for a digital image sensor
US20190215440A1 (en) * 2018-01-10 2019-07-11 Duelight Llc Systems and methods for tracking a region using an image sensor
TWI487995B (en) * 2013-07-10 2015-06-11 Acer Inc Image capturing devices and methods
KR102149463B1 (en) * 2014-02-19 2020-08-28 삼성전자주식회사 Electronic device and method for processing image
KR102150890B1 (en) * 2014-02-21 2020-09-02 삼성전자주식회사 Method for displaying focus of image and apparatus to be applied to the same
US9282235B2 (en) 2014-05-30 2016-03-08 Apple Inc. Focus score improvement by noise correction
US10924688B2 (en) 2014-11-06 2021-02-16 Duelight Llc Image sensor apparatus and method for obtaining low-noise, high-speed captures of a photographic scene
US11463630B2 (en) 2014-11-07 2022-10-04 Duelight Llc Systems and methods for generating a high-dynamic range (HDR) pixel stream
CN104394325B (en) * 2014-12-15 2018-06-01 锐嘉科集团有限公司 A kind of image processing method and camera
US9686463B2 (en) * 2015-03-10 2017-06-20 Qualcomm Incorporated Systems and methods for continuous auto focus (CAF)
EP3145172B1 (en) * 2015-07-07 2021-06-09 Panasonic Intellectual Property Management Co., Ltd. Image capturing device and still image generating method
US9918006B2 (en) * 2016-05-20 2018-03-13 International Business Machines Corporation Device, system and method for cognitive image capture
US10270958B2 (en) * 2016-09-01 2019-04-23 Duelight Llc Systems and methods for adjusting focus based on focus target information
CN106851104B (en) * 2017-02-28 2019-11-22 努比亚技术有限公司 A kind of method and device shot according to user perspective
CN107197152B (en) 2017-06-16 2020-01-14 Oppo广东移动通信有限公司 Focusing method, focusing device, computer readable storage medium and mobile terminal
GB2566744B (en) 2017-09-26 2021-03-03 Sony Interactive Entertainment Inc Head-mountable display system
US10958828B2 (en) * 2018-10-10 2021-03-23 International Business Machines Corporation Advising image acquisition based on existing training sets
CN113574857B (en) * 2019-03-25 2023-10-31 日本电气株式会社 Image processing apparatus and image processing method
US11623328B2 (en) 2020-11-25 2023-04-11 Oetiker Tool Corporation Multi-pump hand tool
WO2022188007A1 (en) * 2021-03-08 2022-09-15 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Image processing method and electronic device

Family Cites Families (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6614998B1 (en) * 1999-10-18 2003-09-02 Fuji Photo Film Co., Ltd. Automatic focusing camera and shooting method
JP2003143461A (en) * 2001-11-01 2003-05-16 Seiko Epson Corp Digital still camera
US7084910B2 (en) * 2002-02-08 2006-08-01 Hewlett-Packard Development Company, L.P. System and method for using multiple images in a digital image capture device
CN101909156B (en) * 2005-11-02 2013-01-16 奥林巴斯株式会社 Electronic camera and image processing method thereof
JP2007215091A (en) * 2006-02-13 2007-08-23 Casio Comput Co Ltd Imaging apparatus and program therefor
US8559705B2 (en) * 2006-12-01 2013-10-15 Lytro, Inc. Interactive refocusing of electronic images
US7813633B2 (en) * 2007-07-31 2010-10-12 Ricoh Company, Ltd. Imaging device and imaging method
US8497920B2 (en) * 2008-06-11 2013-07-30 Nokia Corporation Method, apparatus, and computer program product for presenting burst images
WO2010077625A1 (en) * 2008-12-08 2010-07-08 Refocus Imaging, Inc. Light field data acquisition devices, and methods of using and manufacturing same
CN102193274A (en) * 2010-03-08 2011-09-21 华南师范大学 Camera device and shooting method thereof
US20100283868A1 (en) * 2010-03-27 2010-11-11 Lloyd Douglas Clark Apparatus and Method for Application of Selective Digital Photomontage to Motion Pictures
JP5526921B2 (en) * 2010-03-29 2014-06-18 ソニー株式会社 IMAGING DEVICE, ELECTRONIC DEVICE, AND DISPLAY CONTROL METHOD
US8558923B2 (en) * 2010-05-03 2013-10-15 Canon Kabushiki Kaisha Image capturing apparatus and method for selective real time focus/parameter adjustment
JP5789091B2 (en) * 2010-08-20 2015-10-07 キヤノン株式会社 IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
US8494301B2 (en) * 2010-09-16 2013-07-23 Eastman Kodak Company Refocusing images using scene captured images
US8780251B2 (en) * 2010-09-20 2014-07-15 Canon Kabushiki Kaisha Image capture with focus adjustment
KR101692401B1 (en) * 2011-01-21 2017-01-03 삼성전자주식회사 Image process method and apparatus
JP5782813B2 (en) * 2011-04-27 2015-09-24 株式会社リコー Imaging apparatus and image display method
US20130009989A1 (en) * 2011-07-07 2013-01-10 Li-Hui Chen Methods and systems for image segmentation and related applications
WO2013162747A1 (en) * 2012-04-26 2013-10-31 The Trustees Of Columbia University In The City Of New York Systems, methods, and media for providing interactive refocusing in images

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20190116856A (en) * 2018-04-05 2019-10-15 엘지이노텍 주식회사 Camera module and method of operating the same

Also Published As

Publication number Publication date
CN103546682A (en) 2014-01-29
EP2685708A1 (en) 2014-01-15
US20140009636A1 (en) 2014-01-09

Similar Documents

Publication Publication Date Title
KR20140007529A (en) Apparatus and method for taking a picture in camera device and wireless terminal having a camera device
JP4980982B2 (en) Imaging apparatus, imaging method, focus control method, and program
JP4623193B2 (en) Imaging apparatus, imaging method, and program
JP4674471B2 (en) Digital camera
JP5948492B2 (en) Imaging apparatus and focus control method
JP2007241288A (en) Auto-focusing method and auto-focusing apparatus using the same
US8648960B2 (en) Digital photographing apparatus and control method thereof
US20140375798A1 (en) Imaging apparatus and imaging method for imaging target subject and storage medium
KR20170006201A (en) Image capturing apparatus and method for the same
JP4645413B2 (en) Imaging device
JP2013008004A (en) Imaging apparatus
JP2008028747A (en) Imaging device and program thereof
KR102146856B1 (en) Method of displaying a photographing mode using lens characteristics, Computer readable storage medium of recording the method and a digital photographing apparatus.
US9413940B2 (en) Digital electronic apparatus and method of controlling continuous photographing thereof
KR101824506B1 (en) Apparatus and method for processing a continuous shooting using a multi-preset data in camera device
JP2008098739A (en) Imaging apparatus, image processing method used for imaging apparatus and program making computer execute same image processing method
JP2013081136A (en) Image processing apparatus, and control program
JP5380833B2 (en) Imaging apparatus, subject detection method and program
JP2012156667A (en) Imaging apparatus and imaging method
JP5181935B2 (en) Image processing apparatus, program, and subject detection method
JP5181806B2 (en) Imaging device
JP5641352B2 (en) Image processing apparatus, image processing method, and program
JP4905797B2 (en) Imaging apparatus and imaging method
JP2011139123A (en) Image processor and image processing program
JP2009077175A (en) Electronic camera

Legal Events

Date Code Title Description
WITN Application deemed withdrawn, e.g. because no request for examination was filed or no examination fee was paid