KR100677357B1 - Apparatus and method for compensating horizontal angle of image in communication terminal with a built-in camera - Google Patents

Apparatus and method for compensating horizontal angle of image in communication terminal with a built-in camera Download PDF

Info

Publication number
KR100677357B1
KR100677357B1 KR1020040075675A KR20040075675A KR100677357B1 KR 100677357 B1 KR100677357 B1 KR 100677357B1 KR 1020040075675 A KR1020040075675 A KR 1020040075675A KR 20040075675 A KR20040075675 A KR 20040075675A KR 100677357 B1 KR100677357 B1 KR 100677357B1
Authority
KR
South Korea
Prior art keywords
image
horizontal angle
camera
angle
horizontal
Prior art date
Application number
KR1020040075675A
Other languages
Korean (ko)
Other versions
KR20060026804A (en
Inventor
임국찬
최성훈
Original Assignee
엘지전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 엘지전자 주식회사 filed Critical 엘지전자 주식회사
Priority to KR1020040075675A priority Critical patent/KR100677357B1/en
Priority to CNA200510103139XA priority patent/CN1753461A/en
Publication of KR20060026804A publication Critical patent/KR20060026804A/en
Application granted granted Critical
Publication of KR100677357B1 publication Critical patent/KR100677357B1/en

Links

Images

Classifications

    • 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/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • H04N23/681Motion detection
    • H04N23/6812Motion detection based on additional sensors, e.g. acceleration sensors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/57Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/2628Alteration of picture size, shape, position or orientation, e.g. zooming, rotation, rolling, perspective, translation

Abstract

본 발명은 카메라 내장 통신 단말기의 이미지 수평각 보정 장치 및 방법에 관한 것으로, 종래에는 사용자가 단말기를 수평에 맞추어 이미지 촬영을 시도할 때 통신 단말기의 카메라 제어부는 카메라 수평을 확인하지 않고 현재 설정된 해상도, 화질, 크기에 따라 카메라로 촬영된 이미지를 출력하므로 수평에서 약간 기울어져 촬영된 이미지를 화면에 그대로 출력하는 문제점이 있었다. 이러한 문제점을 감안한 본 발명은 이미지 촬영 모드에서 수평각 보정을 카메라 제어부에 명령하는 단말기 제어부와; 수평각 보정 명령에 응답하여 이미지 회전부에 의해 이미지 데이터를 회전시키고, 수평각 보정된 이미지 데이터를 표시부로 출력하는 카메라 제어부와; 이미지 데이터를 수평각 계산부에 의해 계산된 수평각만큼 회전시키고, 해상도에 맞추어 이미지 데이터의 불필요한 부분을 제거하고, 해상도의 가로, 세로 비에 대응한 이미지 데이터를 카메라 제어부로 전달하는 이미지 회전부와; 중력 센서에 의해 측정된 중력 방향과 단말기 카메라의 중심축 사이의 각도를 계산하여 이미지 회전부에 전달하는 수평각 계산부로 구성되어 단말기 카메라의 기울어짐에 의한 이미지의 왜곡을 보정하여 수평에 맞춘 이미지를 촬영함으로써 사용자는 세심한 손동작 필요 없이 수평에 가깝게 단말기를 위치시켜 이미지를 촬영하고, 흔들림이나 경사진 경우에도 기울어짐이 자동으로 보정된 이미지를 얻는 효과가 있다.The present invention relates to an apparatus and method for compensating an image horizontal angle of a built-in communication terminal of a camera. In the related art, when a user attempts to capture an image by leveling the terminal horizontally, the camera controller of the communication terminal does not check the camera level, but the resolution and image quality currently set. Since the image is output by the camera according to the size, there is a problem of outputting the captured image on the screen as it is tilted slightly from the horizontal. In view of the above problems, the present invention includes a terminal controller for instructing a camera controller to correct horizontal angle in an image capturing mode; A camera controller which rotates the image data by the image rotating unit in response to the horizontal angle correction command and outputs the horizontal angle corrected image data to the display unit; An image rotating unit rotating the image data by the horizontal angle calculated by the horizontal angle calculating unit, removing unnecessary portions of the image data in accordance with the resolution, and transferring the image data corresponding to the horizontal and vertical ratios of the resolution to the camera controller; It consists of a horizontal angle calculation unit that calculates the angle between the gravity direction measured by the gravity sensor and the central axis of the terminal camera and transmits it to the image rotation unit to compensate for the distortion of the image caused by the tilt of the terminal camera to take a horizontal image The user can take an image by positioning the terminal close to a horizontal position without the need for meticulous hand movement, and obtain an image automatically corrected for tilting even in the case of shaking or tilting.

Description

카메라 내장 통신 단말기의 이미지 수평각 보정 장치 및 방법{APPARATUS AND METHOD FOR COMPENSATING HORIZONTAL ANGLE OF IMAGE IN COMMUNICATION TERMINAL WITH A BUILT-IN CAMERA}Apparatus and method for correcting image horizontal angle of a built-in communication terminal for a camera {APPARATUS AND METHOD FOR COMPENSATING HORIZONTAL ANGLE OF IMAGE IN COMMUNICATION TERMINAL WITH A BUILT-IN CAMERA}

도 1은 종래 카메라 내장 통신 단말기의 구성을 보인 블록도.1 is a block diagram showing the configuration of a conventional camera built-in communication terminal.

도 2는 본 발명의 실시 예에 따른 카메라 내장 통신 단말기의 이미지 수평각 보정 장치의 구성을 보인 블록도.Figure 2 is a block diagram showing the configuration of the image horizontal angle correction device of the built-in camera communication terminal according to an embodiment of the present invention.

도 3은 본 발명의 실시 예에 따른 카메라 내장 통신 단말기의 이미지 수평각 보정 방법의 동작 흐름도.3 is a flowchart illustrating an image horizontal angle correction method of a camera built-in communication terminal according to an exemplary embodiment of the present invention.

도 4는 도 3의 이미지 수평각 보정 방법에서 중력 방향, 이미지 수평각을 보인 예시도.4 is an exemplary view illustrating a gravity direction and an image horizontal angle in the image horizontal angle correction method of FIG. 3.

**도면의 주요부분에 대한 부호의 설명**** Description of the symbols for the main parts of the drawings **

22 : 단말기 제어부 24 : 이미지 센서22: terminal control unit 24: image sensor

25 : 카메라 제어부 26 : 이미지 회전부25: camera control unit 26: image rotation unit

27 : 수평각 계산부 28 : 중력 센서27: horizontal angle calculation unit 28: gravity sensor

본 발명은 카메라 내장 통신 단말기의 이미지 수평각 보정 장치 및 방법에 관한 것으로, 특히 중력 방향을 감지하여 촬영된 이미지의 수평각을 판단하고 이미지를 수평각 오차만큼 보정하여 출력할 수 있게 한 카메라 내장 통신 단말기의 이미지 수평각 보정 장치 및 방법에 관한 것이다.The present invention relates to an image horizontal angle correction device and method of a camera built-in communication terminal, and more particularly, to determine the horizontal angle of the photographed image by sensing the direction of gravity, and to correct the image by the horizontal angle error to output the image of the camera built-in communication terminal A horizontal angle correction device and method.

카메라 내장 통신 단말기는 무선 통신 모듈 이외에 이미지 촬영에 필요한 카메라 모듈을 내장한다. 이미지 촬영 모드에서 카메라 내장 통신 단말기는 카메라를 동작시켜 이미지 센서에 촬상된 이미지를 표시창에 임시 출력한다. 카메라 내장 통신 단말기는 사진, 동영상을 촬영하고 촬영된 이미지를 앨범에 저장 관리한다.The built-in camera communication terminal includes a camera module necessary for capturing an image in addition to the wireless communication module. In the image capturing mode, the camera built-in communication terminal operates the camera to temporarily output an image captured by the image sensor to the display window. The camera built-in communication terminal captures photos and videos and stores the captured images in an album.

도 1은 종래 카메라 내장 통신 단말기의 구성을 보인 블록도로서, 이에 도시된 바와 같이 무선 통신 채널을 통해 데이터를 송수신하는 무선 통신부(11)와; 무선 통신부(11)의 데이터 송수신 동작을 제어하여 통신 서비스를 제공하는 단말기 제어부(12)와; 감지된 빛에 양에 비례하여 이미지 데이터를 출력하는 이미지 센서(14)와; 이미지 센서(14)의 구동을 제어하여 이미지 데이터를 수집하여 표시부(16)로 출력하는 카메라 제어부(15)와; 카메라 제어부(15)로부터 이미지 데이터를 입력받아 화면에 표시하는 표시부(16)로 구성된다.1 is a block diagram showing a conventional built-in camera communication terminal, a wireless communication unit 11 for transmitting and receiving data through a wireless communication channel as shown therein; A terminal controller 12 for controlling a data transmission / reception operation of the wireless communication unit 11 to provide a communication service; An image sensor 14 outputting image data in proportion to the amount of light detected; A camera controller 15 which controls driving of the image sensor 14 to collect image data and output the collected image data to the display unit 16; The display unit 16 receives image data from the camera controller 15 and displays the image data on the screen.

무선 통신부(11)는 기지국과 무선 주파수 통신하여 통신 채널을 확립하고, 통신 채널을 통해 데이터를 송수신하여 통신 서비스에 필요한 정보 교환 채널을 제공한다.The radio communication unit 11 establishes a communication channel by performing radio frequency communication with the base station, and transmits and receives data through the communication channel to provide an information exchange channel required for a communication service.

단말기 제어부(12)는 무선 통신부(11)의 데이터 송수신 동작을 제어하여 통신 서비스를 제공하고, 메모리(13)에 파일 시스템을 구성하여 프로그램, 데이터, 촬영된 이미지를 저장하고, 처리 결과를 표시부(16)에 전달하여 화면 출력한다.The terminal controller 12 controls a data transmission / reception operation of the wireless communication unit 11 to provide a communication service, configures a file system in the memory 13 to store programs, data, and photographed images, and displays processing results. 16) to pass the screen output.

이미지 센서(14)는 이미지 촬영 모드에서 구동하여 자동 초점 조절되어 감광 소자에 의해 감지된 빛의 양에 비례하여 이미지 데이터를 출력한다. 카메라 제어부(15)는 이미지 센서(14)의 구동을 제어하여 이미지 데이터를 수집하고, 매 프레임마다 수집된 이미지 데이터를 표시부(16)로 출력한다.The image sensor 14 is driven in the image capturing mode and auto-focused to output image data in proportion to the amount of light detected by the photosensitive element. The camera controller 15 controls the driving of the image sensor 14 to collect image data, and outputs the collected image data to the display unit 16 every frame.

이미지 촬영 모드에서 표시부(16)는 카메라 제어부(15)로부터 이미지 데이터를 입력받아 화면에 표시한다.In the image capturing mode, the display unit 16 receives image data from the camera controller 15 and displays the image data on the screen.

카메라 제어부(15)는 이미지 센서(14)에 의해 획득된 이미지에 대해 해상도 증감, 화질 조절, 크기 확대/축소의 사전 처리를 실행한다. 카메라 제어부(15)는 단말기의 촬영 각도에 관계없이 기울어져 촬상되는 이미지를 그대로 출력하므로 수평에서 약간 기울어져 촬영된 이미지가 화면에 출력되는 경우가 있다.The camera control unit 15 performs preprocessing of resolution increase, decrease in image quality, and enlargement / reduction of the image acquired by the image sensor 14. Since the camera controller 15 outputs the image photographed at an inclination regardless of the photographing angle of the terminal, the photographed image may be displayed on the screen by being slightly inclined horizontally.

그러나, 상기와 같은 종래 기술에 있어서, 사용자가 단말기를 수평에 맞추어 이미지 촬영을 시도할 때 통신 단말기의 카메라 제어부는 카메라 수평을 확인하지 않고 현재 설정된 해상도, 화질, 크기에 따라 카메라로 촬영된 이미지를 출력하므로 수평에서 약간 기울어져 촬영된 이미지를 화면에 그대로 출력하는 문제점이 있다.However, in the prior art as described above, when the user attempts to take an image while keeping the terminal horizontal, the camera control unit of the communication terminal does not check the camera horizontally and captures the image captured by the camera according to the currently set resolution, image quality, and size. There is a problem in that the output image as it is slightly tilted horizontally to the screen output.

따라서, 본 발명은 상기와 같은 문제점을 감안하여 창안한 것으로, 중력 방향을 감지하여 촬영된 이미지의 수평각을 판단하고 이미지를 수평각 오차만큼 보정하여 출력할 수 있도록 한 카메라 내장 통신 단말기의 이미지 수평각 보정 장치 및 방법을 제공함에 그 목적이 있다.Accordingly, the present invention has been made in view of the above problems, and the image horizontal angle correction device of the built-in communication terminal to detect the direction of gravity to determine the horizontal angle of the photographed image and to correct and output the image by the horizontal angle error And to provide a method.

상기와 같은 목적을 달성하기 위한 본 발명은, 이미지 촬영 모드에서 수평각 보정을 카메라 제어부에 명령하는 단말기 제어부와; 중력 센서에 의해 측정된 중력 방향과 단말기 카메라의 중심축 사이의 각도를 계산하여 이미지 회전부에 전달하는 수평각 계산부와; 이미지 데이터를 상기 수평각 계산부에 의해 계산된 수평각만큼 회전시키고, 해상도에 맞추어 이미지 데이터의 불필요한 부분을 제거하고, 해상도의 가로, 세로 비에 대응한 이미지 데이터를 카메라 제어부로 전달하는 이미지 회전부와; 상기 수평각 보정 명령에 응답하여 상기 이미지 회전부에 의해 이미지 데이터를 회전시키고, 수평각 보정된 이미지 데이터를 표시부로 출력하는 카메라 제어부로 구성된 것을 특징으로 한다.The present invention for achieving the above object, the terminal control unit for instructing the camera control unit the horizontal angle correction in the image capture mode; A horizontal angle calculator for calculating an angle between the gravity direction measured by the gravity sensor and the central axis of the terminal camera and transferring the angle to the image rotating unit; An image rotating unit rotating the image data by the horizontal angle calculated by the horizontal angle calculating unit, removing unnecessary portions of the image data in accordance with the resolution, and transferring the image data corresponding to the horizontal and vertical ratios of the resolution to the camera controller; And a camera controller for rotating the image data by the image rotating unit in response to the horizontal angle correction command and outputting the horizontal angle corrected image data to the display unit.

또한, 이미지 촬영 모드에서 사용자의 수평각 보정 메뉴 선택을 판단하고 수평각 보정 메뉴 선택시 이에 응답하여 중력 센서를 구동하여 중력 방향을 측정하는 단계와; 중력 센서로부터 중력 방향에 대한 단말기 카메라의 중심축의 기울어짐에 비례하는 디지털 데이터를 입력받고, 디지털 데이터에 대응한 수평각을 계산하는 단계와; 이미지 센서에 의해 촬영된 이미지 데이터를 계산된 수평각만큼 회전시키고, 해상도에 맞추어 이미지 데이터의 불필요한 부분을 제거하고, 해상도의 가로, 세로 비에 대응한 이미지 데이터를 표시부로 전달하여 화면 출력하는 단계로 이루어진 것을 특징으로 한다.The method may further include determining a horizontal angle correction menu selection of the user in the image capturing mode and measuring a gravity direction by driving a gravity sensor in response to the horizontal angle correction menu selection; Receiving digital data proportional to the inclination of the central axis of the terminal camera with respect to the gravity direction from the gravity sensor, and calculating a horizontal angle corresponding to the digital data; Rotating the image data photographed by the image sensor by the calculated horizontal angle, removing unnecessary portions of the image data according to the resolution, and transferring the image data corresponding to the horizontal and vertical ratios of the resolution to the display unit for outputting the screen; It is characterized by.

이하, 본 발명에 따른 실시 예를 첨부한 도면을 참조하여 상세히 설명하면 다음과 같다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 2는 본 발명의 실시 예에 따른 카메라 내장 통신 단말기의 이미지 수평각 보정 장치의 구성을 보인 블록도로서, 이에 도시된 바와 같이 이미지 촬영 모드에서 수평각 보정을 카메라 제어부(25)에 명령하는 단말기 제어부(22)와; 수평각 보정 명령에 응답하여 이미지 회전부(26)에 의해 이미지 데이터를 회전시키고, 수평각 보정된 이미지 데이터를 표시부(29)로 출력하는 카메라 제어부(25)와; 이미지 데이터를 수평각 계산부(27)에 의해 계산된 수평각만큼 회전시키고, 해상도에 맞추어 이미지 데이터의 불필요한 부분을 제거하고, 해상도의 가로, 세로 비에 대응한 이미지 데이터를 카메라 제어부(25)로 전달하는 이미지 회전부(26)와; 중력 센서(28)에 의해 측정된 중력 방향과 단말기 카메라의 중심축 사이의 각도를 계산하여 이미지 회전부(26)에 전달하는 수평각 계산부(27)로 구성된다.FIG. 2 is a block diagram illustrating a configuration of an image horizontal angle correction device of a camera built-in communication terminal according to an exemplary embodiment of the present disclosure. As shown in FIG. 2, a terminal controller for instructing the camera controller 25 to perform horizontal angle correction in an image capturing mode ( 22); A camera controller 25 for rotating the image data by the image rotating unit 26 in response to the horizontal angle correcting command and outputting the horizontal angle corrected image data to the display unit 29; Rotates the image data by the horizontal angle calculated by the horizontal angle calculator 27, removes unnecessary portions of the image data in accordance with the resolution, and transfers the image data corresponding to the horizontal and vertical ratios of the resolution to the camera controller 25. An image rotating section 26; It is composed of a horizontal angle calculation unit 27 for calculating the angle between the gravity direction measured by the gravity sensor 28 and the central axis of the terminal camera to transmit to the image rotation unit 26.

단말기 제어부(22)는 이미지 촬영 모드에서 수평각 보정을 카메라 제어부(25)에 명령하여 카메라 제어부(25)에서 이미지 센서(24)에 의해 촬영된 이미지를 수평각 보정하여 표시부(29)에 출력하도록 한다. 단말기 제어부(22)는 이미지 촬영 모드에서 선택 메뉴로 수평각 보정 메뉴를 제공하고, 수평각 보정 메뉴 선택시 카메라 제어부(25)에 수평각 보정을 명령한다.The terminal controller 22 commands the camera controller 25 to correct the horizontal angle in the image capturing mode so that the camera controller 25 corrects the image captured by the image sensor 24 to the display unit 29. The terminal controller 22 provides a horizontal angle correction menu as a selection menu in the image capturing mode, and instructs the camera controller 25 to correct the horizontal angle when the horizontal angle correction menu is selected.

카메라 제어부(25)는 이미지 센서(24)를 구동하여 이미지 데이터를 획득하고, 수평각 보정 명령에 응답하여 이미지 회전부(26)에 의해 이미지 데이터를 회전시키고, 수평각 보정된 이미지 데이터를 표시부(29)로 출력한다.The camera controller 25 drives the image sensor 24 to acquire image data, rotates the image data by the image rotating unit 26 in response to the horizontal angle correction command, and sends the horizontal angle corrected image data to the display unit 29. Output

이미지 회전부(26)는 이미지 데이터를 수평각 계산부(27)에 의해 계산된 수 평각만큼 회전시키고, 해상도에 맞추어 이미지 데이터의 불필요한 부분을 제거하고, 해상도의 가로, 세로 비에 대응한 이미지 데이터를 카메라 제어부(25)로 전달한다.The image rotating unit 26 rotates the image data by a horizontal angle calculated by the horizontal angle calculating unit 27, removes unnecessary portions of the image data in accordance with the resolution, and records the image data corresponding to the horizontal and vertical ratios of the resolution. Transfer to control unit 25.

수평각 계산부(27)는 중력 센서(28)에 의해 측정된 중력 방향과 단말기 카메라의 중심축 사이의 수평각을 계산하여 이미지 회전부(26)에 전달한다. 수평각 계산부(27)는 이미지 회전부(26)의 수평각 요청에 응답하여 중력 센서(28)를 구동하여 중력 방향을 감지하고, 중력 방향에 대한 단말기 카메라 중심축의 기울어짐에 비례하는 디지털 데이터를 입력받고, 디지털 데이터에 대응한 수평각을 계산하여 이미지 회전부(26)에 전달한다.The horizontal angle calculator 27 calculates and transmits a horizontal angle between the gravity direction measured by the gravity sensor 28 and the central axis of the terminal camera to the image rotating unit 26. The horizontal angle calculator 27 detects the gravity direction by driving the gravity sensor 28 in response to the horizontal angle request of the image rotating unit 26, and receives digital data proportional to the inclination of the central axis of the terminal camera with respect to the gravity direction. The horizontal angle corresponding to the digital data is calculated and transmitted to the image rotating unit 26.

도 3은 본 발명의 실시 예에 따른 카메라 내장 통신 단말기의 이미지 수평각 보정 방법의 동작 흐름도로서, 이에 도시된 바와 같이 이미지 촬영 모드에서 사용자의 수평각 보정 메뉴 선택을 판단하고 수평각 보정 메뉴 선택시 이에 응답하여 중력 센서를 구동하여 중력 방향을 측정하는 단계와; 중력 센서로부터 중력 방향에 대한 단말기 카메라의 중심축의 기울어짐에 비례하는 디지털 데이터를 입력받고, 디지털 데이터에 대응한 수평각을 계산하는 단계와; 이미지 센서에 의해 촬영된 이미지 데이터를 계산된 수평각만큼 회전시키고, 해상도에 맞추어 이미지 데이터의 불필요한 부분을 제거하고, 해상도의 가로, 세로 비에 대응한 이미지 데이터를 표시부로 전달하여 화면 출력하는 단계로 이루어진다.3 is a flowchart illustrating an image horizontal angle correction method of a camera built-in communication terminal according to an exemplary embodiment of the present invention. As shown in FIG. 3, a user determines a horizontal angle correction menu selection in an image capturing mode and responds to a horizontal angle correction menu selection. Driving a gravity sensor to measure gravity direction; Receiving digital data proportional to the inclination of the central axis of the terminal camera with respect to the gravity direction from the gravity sensor, and calculating a horizontal angle corresponding to the digital data; Rotates the image data photographed by the image sensor by the calculated horizontal angle, removes unnecessary portions of the image data according to the resolution, and transmits the image data corresponding to the resolution and aspect ratio of the resolution to the display unit and outputs the screen. .

사용자가 이미지 촬영 모드에서 수평각 보정 메뉴를 선택하여 카메라 내장 통신 단말기(이하, 카메라 단말기로 표기함)에 수평각 보정을 명령한다고 가정하 자.Assume that the user selects the horizontal angle correction menu in the image capturing mode to command the horizontal angle correction to the camera built-in communication terminal (hereinafter referred to as a camera terminal).

카메라 단말기는 이미지 촬영 모드에서 메뉴 버튼 입력에 응답하여 수평각 보정 메뉴를 출력하고, 사용자의 수평각 보정 메뉴 선택을 판단하고, 수평각 보정 메뉴 선택시 이에 응답하여 중력 센서를 구동하여 중력 방향을 측정한다.The camera terminal outputs a horizontal angle correction menu in response to a menu button input in an image capturing mode, determines a user's selection of a horizontal angle correction menu, and measures a gravity direction by driving a gravity sensor in response to selecting the horizontal angle correction menu.

카메라 단말기는 중력 센서로부터 중력 방향에 대한 단말기 카메라의 중심축의 기울어짐에 비례하는 디지털 데이터를 입력받고, 디지털 데이터에 대응한 수평각을 계산한다.The camera terminal receives digital data proportional to the inclination of the center axis of the terminal camera with respect to the gravity direction from the gravity sensor, and calculates a horizontal angle corresponding to the digital data.

도 4는 도 3의 이미지 수평각 보정 방법에서 중력 방향, 이미지 수평각을 보인 예시도이다. 도 4의 (a)는 중력 방향과 카메라 중심축이 예각일 때를 도시한 예이고, 도 4의 (b)는 중력 방향과 카메라 중심축이 둔각일 때를 도시한 예이다.4 is an exemplary view illustrating a gravity direction and an image horizontal angle in the image horizontal angle correction method of FIG. 3. 4A illustrates an example in which the gravity direction and the camera central axis are acute angles, and FIG. 4B illustrates an example in which the gravity direction and the camera central axis are obtuse angles.

이미지(41)는 지표면을 기준으로 고정된 상태이다. 카메라 단말기는 이미지(41)의 수평 방향(H)에 대해 기울어진 상태에서 이미지에 초점을 맞추어 촬영함을 설명한다. 카메라 단말기의 이미지 센서(43)에는 이미지가 수평각(θ)만큼 기울어져 촬상되지만 카메라 단말기는 이미지 데이터를 수평각(θ)만큼 회전시켜 이미지의 기울어짐을 제거한 이미지(44)를 출력함을 설명한다.The image 41 is fixed on the ground surface. The camera terminal focuses on the image in a state inclined with respect to the horizontal direction (H) of the image 41 will be described. The image is imaged to the image sensor 43 of the camera terminal by tilting the horizontal angle θ, but the camera terminal rotates the image data by the horizontal angle θ to output the image 44 from which the tilt of the image is removed.

카메라 단말기는 중력 방향(G)과 카메라 중심축(C)이 예각일 때는 계산된 예각을 수평각으로 사용하고, 중력 방향(G)과 카메라 중심축(C)이 둔각일 때는 계산된 둔각에서 90도만큼 감산하여 얻은 결과값을 수평각으로 사용한다.The camera terminal uses the calculated acute angle as the horizontal angle when the gravity direction (G) and the camera central axis (C) are acute angles, and 90 degrees from the calculated obtuse angle when the gravity direction (G) and the camera central axis (C) are obtuse angles. Subtract the result by using the horizontal angle.

카메라 단말기는 이미지 센서에 의해 촬영된 이미지 데이터를 계산된 수평각만큼 회전시키고, 해상도에 맞추어 이미지 데이터의 불필요한 부분을 제거하고, 해 상도의 가로, 세로 비에 대응한 이미지 데이터를 표시부로 전달하여 화면 출력한다.The camera terminal rotates the image data captured by the image sensor by the calculated horizontal angle, removes unnecessary portions of the image data according to the resolution, and transmits image data corresponding to the horizontal and vertical ratios of the resolution to the display unit to output the screen. do.

사용자는 표시창에 출력된 이미지를 확인하지만 단말기 카메라의 기울어짐에 의한 이미지의 기울어짐이 없는 이미지를 확인한다.The user checks the image output on the display window but checks the image without the tilt of the image due to the tilt of the terminal camera.

사용자가 사진 촬영을 확인하면 카메라 단말기는 현재 표시창에 출력된 이미지를 메모리에 저장한다.When the user confirms to take a picture, the camera terminal stores the image currently displayed on the display window in the memory.

이상에서 상세히 설명한 바와 같이, 본 발명은 단말기 카메라의 기울어짐에 의한 이미지의 왜곡을 보정하여 수평에 맞춘 이미지를 촬영함으로써 사용자는 세심한 손동작 필요 없이 수평에 가깝게 단말기를 위치시켜 이미지를 촬영하고, 흔들림이나 경사진 경우에도 기울어짐이 자동으로 보정된 이미지를 얻는 효과가 있다.As described in detail above, in the present invention, by correcting the distortion of the image due to the tilt of the terminal camera to shoot a horizontally aligned image, the user can take the image by positioning the terminal close to the horizontal, without the need for meticulous hand movement, Even when inclined, it is effective to obtain an image in which the tilt is automatically corrected.

Claims (4)

이미지 촬영 모드에서 수평각 보정을 카메라 제어부에 명령하는 단말기 제어부와;A terminal controller for instructing the camera controller to correct the horizontal angle in the image capturing mode; 중력 센서에 의해 측정된 중력 방향과 단말기 카메라의 중심축 사이의 각도를 계산하여 이미지 회전부에 전달하는 수평각 계산부와;A horizontal angle calculator for calculating an angle between the gravity direction measured by the gravity sensor and the central axis of the terminal camera and transferring the angle to the image rotating unit; 이미지 데이터를 상기 수평각 계산부에 의해 계산된 수평각만큼 회전시키고, 해상도에 맞추어 이미지 데이터의 불필요한 부분을 제거하고, 해상도의 가로, 세로 비에 대응한 이미지 데이터를 카메라 제어부로 전달하는 이미지 회전부와;An image rotating unit rotating the image data by the horizontal angle calculated by the horizontal angle calculating unit, removing unnecessary portions of the image data in accordance with the resolution, and transferring the image data corresponding to the horizontal and vertical ratios of the resolution to the camera controller; 상기 수평각 보정 명령에 응답하여 상기 이미지 회전부에 의해 이미지 데이터를 회전시키고, 수평각 보정된 이미지 데이터를 표시부로 출력하는 카메라 제어부로 구성된 것을 특징으로 하는 카메라 내장 통신 단말기의 이미지 수평각 보정 장치.And a camera controller for rotating the image data by the image rotating unit in response to the horizontal angle correction command and outputting the horizontal angle corrected image data to the display unit. 제1항에 있어서, 상기 수평각 계산부는 중력 방향과 단말기 카메라의 중심축 사이의 각이 예각, 둔각인지를 판단하여 예각인 경우 예각을 수평각으로 출력하고, 둔각인 경우 둔각에서 90도를 감산한 각을 수평각으로 출력하게 구성된 것을 특징으로 하는 카메라 내장 통신 단말기의 이미지 수평각 보정 장치.The method of claim 1, wherein the horizontal angle calculator determines whether the angle between the gravity direction and the central axis of the terminal camera is an acute angle or an obtuse angle, and outputs an acute angle as a horizontal angle in the case of an acute angle, and subtracts 90 degrees from an obtuse angle. Image horizontal angle correction device for a built-in camera communication terminal, characterized in that configured to output a horizontal angle. 이미지 촬영 모드에서 사용자의 수평각 보정 메뉴 선택을 판단하고 수평각 보정 메뉴 선택시 이에 응답하여 중력 센서를 구동하여 중력 방향을 측정하는 단계 와;Determining a horizontal angle correction menu selection of the user in the image capturing mode and measuring a gravity direction by driving a gravity sensor in response to selecting the horizontal angle correction menu; 중력 센서로부터 중력 방향에 대한 단말기 카메라의 중심축의 기울어짐에 비례하는 디지털 데이터를 입력받고, 디지털 데이터에 대응한 수평각을 계산하는 단계와;Receiving digital data proportional to the inclination of the central axis of the terminal camera with respect to the gravity direction from the gravity sensor, and calculating a horizontal angle corresponding to the digital data; 이미지 센서에 의해 촬영된 이미지 데이터를 계산된 수평각만큼 회전시키고, 해상도에 맞추어 이미지 데이터의 불필요한 부분을 제거하고, 해상도의 가로, 세로 비에 대응한 이미지 데이터를 표시부로 전달하여 화면 출력하는 단계로 이루어진 것을 특징으로 하는 카메라 내장 통신 단말기의 이미지 수평각 보정 방법.Rotating the image data photographed by the image sensor by the calculated horizontal angle, removing unnecessary portions of the image data according to the resolution, and transferring the image data corresponding to the horizontal and vertical ratios of the resolution to the display unit for outputting the screen; Image horizontal angle correction method of a built-in camera communication terminal, characterized in that. 제3항에 있어서, 상기 수평각 계산 단계는The method of claim 3, wherein the horizontal angle calculation step 중력 방향과 카메라 중심축 사이의 각이 예각, 둔각인지를 판단하여 예각일 때는 계산된 예각을 수평각으로 사용하는 단계와;Determining whether the angle between the direction of gravity and the central axis of the camera is an acute angle or an obtuse angle, and when the angle is an acute angle, using the calculated acute angle as a horizontal angle; 둔각일 때는 계산된 둔각에서 90도만큼 감산하여 얻은 결과값을 수평각으로 사용하는 단계로 이루어진 것을 특징으로 하는 카메라 내장 통신 단말기의 이미지 수평각 보정 방법.If the obtuse angle is a horizontal angle correction method for a camera built-in communication terminal, characterized in that consisting of using a horizontal angle of the result obtained by subtracting by 90 degrees from the calculated obtuse angle.
KR1020040075675A 2004-09-21 2004-09-21 Apparatus and method for compensating horizontal angle of image in communication terminal with a built-in camera KR100677357B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020040075675A KR100677357B1 (en) 2004-09-21 2004-09-21 Apparatus and method for compensating horizontal angle of image in communication terminal with a built-in camera
CNA200510103139XA CN1753461A (en) 2004-09-21 2005-09-16 Apparatus for repairing imaging horizontal angle with built-in pick-up head mobile terminal and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040075675A KR100677357B1 (en) 2004-09-21 2004-09-21 Apparatus and method for compensating horizontal angle of image in communication terminal with a built-in camera

Publications (2)

Publication Number Publication Date
KR20060026804A KR20060026804A (en) 2006-03-24
KR100677357B1 true KR100677357B1 (en) 2007-02-02

Family

ID=36680121

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040075675A KR100677357B1 (en) 2004-09-21 2004-09-21 Apparatus and method for compensating horizontal angle of image in communication terminal with a built-in camera

Country Status (2)

Country Link
KR (1) KR100677357B1 (en)
CN (1) CN1753461A (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102088552A (en) * 2009-12-03 2011-06-08 鸿富锦精密工业(深圳)有限公司 Adjusting system and method for PTZ (Pan/Tilt/Zoom) camera
CN102088551A (en) * 2009-12-03 2011-06-08 鸿富锦精密工业(深圳)有限公司 Camera adjustment system and method
DE102010000929A1 (en) * 2010-01-15 2011-07-21 Robert Bosch GmbH, 70469 Method for providing signal indicating spatial alignment of portable device e.g. mobile phone, involves detecting parameter influencing direction determination by using sensor, and determining reference direction based on detected parameter
CN102314179B (en) * 2011-05-04 2013-02-06 杭州电子科技大学 Cradle head control method based on mobile phone and built-in gravity sensor
JP2013140252A (en) * 2012-01-04 2013-07-18 Nikon Corp Blur correction device, lens barrel, and imaging apparatus
CN102695034A (en) * 2012-05-30 2012-09-26 青岛海信移动通信技术股份有限公司 Method and device for regulating end display of video image during video call
CN102724402A (en) * 2012-06-08 2012-10-10 中兴通讯股份有限公司 Shooting device as well as processing method and processing device of shooting image
CN103795892B (en) * 2012-11-01 2017-04-12 华为终端有限公司 Method and apparatus for processing collected image data
CN102932602A (en) * 2012-11-30 2013-02-13 天津三星光电子有限公司 Output control method for pictures photographed by digital camera, and digital camera using same
CN103037103B (en) * 2012-12-21 2014-11-12 广东欧珀移动通信有限公司 Method of starting camera by mobile device
KR102086510B1 (en) * 2013-09-26 2020-04-14 엘지전자 주식회사 A head mounted display and the method of controlling the same
CN103581560B (en) * 2013-11-01 2018-01-19 广东欧珀移动通信有限公司 A kind of processing method and system of taking pictures of mobile terminal
CN104378551B (en) * 2014-11-14 2017-12-19 浪潮(北京)电子信息产业有限公司 A kind of method and electronic equipment for automatically adjusting angle direction
CN104702857A (en) * 2015-03-27 2015-06-10 合肥联宝信息技术有限公司 Method and device for processing angles of imaged pictures
CN104917964A (en) * 2015-05-25 2015-09-16 百度在线网络技术(北京)有限公司 Shooting realization method and apparatus of smart mobile device
CN107396018A (en) * 2017-08-09 2017-11-24 维沃移动通信有限公司 A kind of kinescope method, mobile terminal and computer-readable recording medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003319386A (en) 2002-04-22 2003-11-07 Gen Tec:Kk Photographed image transmission system for mobile terminal
KR20040060384A (en) * 2002-12-30 2004-07-06 엘지전자 주식회사 Device for video inverse according to camera location inverse of mobile phone
JP2004226349A (en) 2003-01-27 2004-08-12 Macnica Inc Information terminal
KR20040076515A (en) * 2003-02-26 2004-09-01 삼성전자주식회사 Portable communication terminal capable of displaying data in the same direction with screen according to pivot position state of the screen and method thereof
KR20040080456A (en) * 2003-03-11 2004-09-20 엘지전자 주식회사 Image quality compensation method for mobile communication terminal with camera

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003319386A (en) 2002-04-22 2003-11-07 Gen Tec:Kk Photographed image transmission system for mobile terminal
KR20040060384A (en) * 2002-12-30 2004-07-06 엘지전자 주식회사 Device for video inverse according to camera location inverse of mobile phone
JP2004226349A (en) 2003-01-27 2004-08-12 Macnica Inc Information terminal
KR20040076515A (en) * 2003-02-26 2004-09-01 삼성전자주식회사 Portable communication terminal capable of displaying data in the same direction with screen according to pivot position state of the screen and method thereof
KR20040080456A (en) * 2003-03-11 2004-09-20 엘지전자 주식회사 Image quality compensation method for mobile communication terminal with camera

Also Published As

Publication number Publication date
KR20060026804A (en) 2006-03-24
CN1753461A (en) 2006-03-29

Similar Documents

Publication Publication Date Title
KR100677357B1 (en) Apparatus and method for compensating horizontal angle of image in communication terminal with a built-in camera
KR101354899B1 (en) Method for photographing panorama picture
JP6954414B2 (en) Imaging device
KR100866230B1 (en) Method for photographing panorama picture
KR100800804B1 (en) Method for photographing panorama picture
KR101409653B1 (en) Method for photographing panorama picture in automation
KR101674011B1 (en) Method and apparatus for operating camera function in portable terminal
WO2016119301A1 (en) Terminal, and image capturing method and device
US11238614B2 (en) Camera device, imaging system, control method, and program
EP1653743A1 (en) Monitoring device and monitoring method using panorama image
KR100469727B1 (en) Communication terminal and method capable of displaying face image of user at the middle part of screen
US20110157386A1 (en) Control apparatus and control method therefor
JP2005122100A (en) Image displaying system, image displaying apparatus, and program
KR101663321B1 (en) Method for photographing panorama picture
KR101810447B1 (en) Image photograghing apparatus and method thereof
CN104159021A (en) Imaging apparatus, imaging method and program
JPH08331285A (en) Image input device
CN106713770B (en) Photographing processing method and electronic equipment
US20070172230A1 (en) Camera for electronic device
JP2014003586A (en) Image processing system, image processing method and program
US9049374B2 (en) Imaging apparatus with camera shake correction function
JP4499908B2 (en) Electronic camera system, electronic camera, server computer, and photographing condition correction method
WO2014034023A1 (en) Image processing apparatus, image processing method, and computer program
JP2010130181A (en) Image acquiring apparatus
KR100686310B1 (en) Method and processor for compensating image tilt and record media recored program therefor

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20121227

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20131224

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20141224

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20151224

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20161223

Year of fee payment: 11

FPAY Annual fee payment

Payment date: 20171222

Year of fee payment: 12

LAPS Lapse due to unpaid annual fee