KR100951279B1 - Method of camera image compensation and camera device - Google Patents

Method of camera image compensation and camera device Download PDF

Info

Publication number
KR100951279B1
KR100951279B1 KR1020080071295A KR20080071295A KR100951279B1 KR 100951279 B1 KR100951279 B1 KR 100951279B1 KR 1020080071295 A KR1020080071295 A KR 1020080071295A KR 20080071295 A KR20080071295 A KR 20080071295A KR 100951279 B1 KR100951279 B1 KR 100951279B1
Authority
KR
South Korea
Prior art keywords
value
state check
parameter
image
check parameter
Prior art date
Application number
KR1020080071295A
Other languages
Korean (ko)
Other versions
KR20100010361A (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 KR1020080071295A priority Critical patent/KR100951279B1/en
Publication of KR20100010361A publication Critical patent/KR20100010361A/en
Application granted granted Critical
Publication of KR100951279B1 publication Critical patent/KR100951279B1/en

Links

Images

Classifications

    • 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/2621Cameras specially adapted for the electronic generation of special effects during image pickup, e.g. digital cameras, camcorders, video cameras having integrated special effects capability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

본 발명의 일측면은, 렌즈에 의해 수광된 광신호가 이미지 센서에 의해 영상신호로 변환되고, 상기 영상신호가 출력장치에 영상으로 출력되는 카메라의 프리뷰 단계에서, 이미지 센서의 영상신호에서 적어도 하나의 상태 체크용 파라미터 값을 검출하는 제1 단계와, 상기 검출된 상태 체크용 파라미터 값이 기설정된 보정 범위에 해당하는지 판단하는 제2 단계, 및 상기 검출된 상태 체크용 파라미터 값이 상기 보정 범위 이내인 경우 상기 상태 체크용 파라미터 값과 관련된 영상 열화를 보상할 수 있는 보상용 파라미터 값을 수정하고, 상기 검출된 상태 체크용 파라미터의 값이 상기 보정 범위를 벗어나는 경우 상기 보상용 파라미터 값을 기설정된 디폴트(default)값 또는 최적값으로 유지하는 제3 단계를 포함하는 카메라 영상 보정 방법을 제공할 수 있다. According to an aspect of the present invention, in the preview step of the camera in which the optical signal received by the lens is converted into an image signal by the image sensor, the image signal is output to the output device, at least one of the image signal of the image sensor A first step of detecting a state check parameter value, a second step of determining whether the detected state check parameter value corresponds to a preset correction range, and the detected state check parameter value is within the correction range. And correcting the compensation parameter value capable of compensating for image degradation related to the state check parameter value, and if the detected value of the state check parameter is out of the correction range, the compensation parameter value is set to a preset default value ( It is possible to provide a camera image correction method comprising a third step of maintaining a default value or an optimum value. .

카메라(camera), 영상(image), 보정(compensation) Camera, image, compensation

Description

카메라 영상 보정 방법 및 카메라 장치{METHOD OF CAMERA IMAGE COMPENSATION AND CAMERA DEVICE}Camera image correction method and camera device {METHOD OF CAMERA IMAGE COMPENSATION AND CAMERA DEVICE}

본 발명은, 카메라 영상 보정 방법 및 카메라 장치에 관한 것으로서, 보다 상세하게는 카메라가 촬영되는 주변 환경에 따라 카메라 내부의 파라미터를 보정하여 개선된 화질을 얻을 수 있는 카메라 영상 보정 방법 및 카메라 장치에 관한 것이다. The present invention relates to a camera image correction method and a camera device, and more particularly, to a camera image correction method and a camera device that can obtain improved image quality by correcting a parameter inside a camera according to a surrounding environment in which a camera is photographed. will be.

이미지 센서는 광학 이미지(optical image)를 전기 신호로 전환하는 소자이다. 전자-정공이 신호를 형성하여 출력부까지 전송되는 방식에 따라 전하 결합 소자(Charge Coupled Device : CCD)형 이미지 센서와 시모스(Complement MOS : CMOS)형 이미지 센서가 있다. CCD형 이미지 센서와 CMOS형 이미지 센서는 공통적으로 빛을 받아들여 전기 신호로 전환하는 수광부를 가지고 있다. CCD형 이미지 센서는 전기 신호를 CCD를 통해 전달하며 마지막 단계에서 전압으로 변환을 하게된다. 반면, CMOS형 이미지 센서는 각 픽셀에서 전압으로 신호를 변환하여 외부로 전달한다. An image sensor is a device that converts an optical image into an electrical signal. There are a charge coupled device (CCD) type image sensor and a complementary MOS (CMOS) type image sensor according to a method in which an electron-hole forms a signal and is transmitted to an output part. The CCD image sensor and the CMOS image sensor have a light receiving unit which commonly receives light and converts it into an electric signal. CCD-type image sensor transmits electrical signal through CCD and converts to voltage at last stage. On the other hand, a CMOS image sensor converts a signal from each pixel to a voltage and transmits it to the outside.

이미지 센서는 여러 개의 픽셀이 2차원 구조로 배열되어 있다. 이미지 센서 의 각 픽셀은 빛의 밝기에 따라 이를 전기 신호로 변환시킨다. 이 전기 신호를 측정하면 각 픽셀에 들어오는 빛의 양을 알 수 있고, 이를 전기 신호로 변환하여 이용하여 픽셀 단위의 이미지를 구성할 수 있는데 이와 같이 빛의 양에 상응하는 전기 신호를 수치로 표현한 것을 픽셀값이라 한다.In the image sensor, several pixels are arranged in a two-dimensional structure. Each pixel in the image sensor converts it into an electrical signal based on the brightness of the light. By measuring this electric signal, we can know the amount of light entering each pixel, and convert it into an electric signal to construct an image of each pixel. This is a numerical representation of the electric signal corresponding to the amount of light. It is called pixel value.

최근에는 휴대전화, PDA(personal digital assistant), PMP(portable multimedia player) 등의 이동 통신 단말기에 카메라 모듈이 장착되어 이미지 센서가 많이 사용되고 있다. 이러한 휴대용 장치에 일반적으로 사용되는 카메라 모듈에서는 광량이 줄어들면 획득되는 이미지에 노이즈가 증가하는 특성이 있다. 이처럼 카메라 모듈에서 촬영 환경에 따라 발생될 수 있는 노이즈 성분을 제거하기 위한 연구가 계속되고 있다. Recently, a camera module is mounted on a mobile communication terminal such as a mobile phone, a personal digital assistant (PDA), a portable multimedia player (PMP), and an image sensor is widely used. The camera module generally used in such a portable device has a characteristic that noise is increased in an acquired image when the amount of light decreases. As such, researches for removing noise components that may be generated depending on the shooting environment in the camera module are continuously conducted.

상기한 문제점을 해결하기 위해서, 본 발명은 촬영 환경에 따라 파라미터 값을 보상하여 출력장치에 출력되는 영상의 화질을 개선할 수 있는 카메라 영상 보정 방법 및 카메라 장치에 관한 것이다.In order to solve the above problems, the present invention relates to a camera image correction method and a camera device that can improve the image quality of the image output to the output device by compensating the parameter value according to the shooting environment.

본 발명의 일측면은, 렌즈에 의해 수광된 광신호가 이미지 센서에 의해 영상신호로 변환되고, 상기 영상신호가 출력장치에 영상으로 출력되는 카메라의 프리뷰 단계에서, 이미지 센서의 영상신호에서 적어도 하나의 상태 체크용 파라미터 값을 검출하는 제1 단계와, 상기 검출된 상태 체크용 파라미터 값이 기설정된 보정 범위에 해당하는지 판단하는 제2 단계, 및 상기 검출된 상태 체크용 파라미터 값이 상기 보정 범위 이내인 경우 상기 상태 체크용 파라미터 값과 관련된 영상 열화를 보상할 수 있는 보상용 파라미터 값을 수정하고, 상기 검출된 상태 체크용 파라미터의 값이 상기 보정 범위를 벗어나는 경우 상기 보상용 파라미터 값을 기설정된 디폴트(default)값 또는 최적값으로 유지하는 제3 단계를 포함하는 카메라 영상 보정 방법을 제공할 수 있다. According to an aspect of the present invention, in the preview step of the camera in which the optical signal received by the lens is converted into an image signal by the image sensor, the image signal is output to the output device, at least one of the image signal of the image sensor A first step of detecting a state check parameter value, a second step of determining whether the detected state check parameter value corresponds to a preset correction range, and the detected state check parameter value is within the correction range. And correcting the compensation parameter value capable of compensating for image degradation related to the state check parameter value, and if the detected value of the state check parameter is out of the correction range, the compensation parameter value is set to a preset default value ( It is possible to provide a camera image correction method comprising a third step of maintaining a default value or an optimum value. .

상기 적어도 하나의 상태 체크용 파라미터는, 밝기에 관계된 파라미터를 포함할 수 있다. The at least one state check parameter may include a parameter related to brightness.

상기 적어도 하나의 상태 체크용 파라미터는, 색온도에 관계된 파라미터를 포함할 수 있다. The at least one state check parameter may include a parameter related to a color temperature.

상기 보정 범위는, 상기 적어도 하나의 상태 체크용 파라미터의 기설정된 표준 환경에서의 임계치에 의해 정해질 수 있다. The correction range may be determined by a threshold value in a predetermined standard environment of the at least one state check parameter.

상기 제2 단계 및 제3 단계는, 상기 적어도 하나의 상태 체크용 파라미터 값의 보정범위와 이에 따른 보상용 파라미터의 수정값이 저장된 룩업 테이블(lookup-table)에 기초하여 수행될 수 있다. The second and third steps may be performed based on a look-up table in which a correction range of the at least one state check parameter value and a correction value of the compensation parameter are stored.

본 발명의 다른 일측면은, 렌즈와, 상기 렌즈에 의해 수광된 광신호를 영상 신호로 변환하는 이미지 센서와, 상기 영상신호를 영상으로 출력하는 출력장치, 및 상기 영상신호에서 검출된 상태 체크용 파라미터의 값에 따라 상기 출력장치에 출력되는 영상을 보정하는 연산부를 포함하며, 상기 연산부는, 이미지 센서의 영상신호에서 적어도 하나의 상태 체크용 파라미터 값을 검출하는 검출부와, 상기 검출부에서 검출된 상태 체크용 파라미터 값이 기설정된 보정 범위에 해당하는지 판단하는 판단부, 및 상기 검출된 상태 체크용 파라미터 값이 상기 보정 범위 이내인 경우 상기 상태 체크용 파라미터 값과 관련된 영상 열화를 보상할 수 있는 보상용 파라미터 값을 수정하고, 상기 검출된 상태 체크용 파라미터의 값이 상기 보정 범위를 벗어나는 경우 상기 보상용 파라미터 값을 기설정된 디폴트(default)값 또는 최 적값으로 유지하는 보상부를 포함하는 카메라 장치를 제공할 수 있다. According to another aspect of the present invention, there is provided a lens, an image sensor for converting an optical signal received by the lens into an image signal, an output device for outputting the image signal as an image, and a state check detected in the image signal. A calculation unit for correcting an image output to the output device according to a parameter value, wherein the calculation unit comprises: a detection unit for detecting at least one state check parameter value in an image signal of an image sensor, and a state detected by the detection unit A determination unit for determining whether the check parameter value corresponds to a preset correction range, and a compensation for compensating for image degradation related to the state check parameter value when the detected state check parameter value is within the correction range. If the parameter value is corrected and the value of the detected state check parameter is out of the correction range, A camera device may include a compensator configured to maintain a preset compensation parameter value at a preset default value or optimal value.

상기 적어도 하나의 상태 체크용 파라미터는, 밝기에 관계된 파라미터일 수 있다. The at least one state checking parameter may be a parameter related to brightness.

상기 적어도 하나의 상태 체크용 파라미터는, 색온도에 관계된 파라미터일 수 있다. The at least one state check parameter may be a parameter related to color temperature.

상기 보정 범위는, 상기 적어도 하나의 상태 체크용 파라미터의 기설정된 표준 환경에서의 임계치에 의해 정해질 수 있다. The correction range may be determined by a threshold value in a predetermined standard environment of the at least one state check parameter.

상기 연산부는, 상기 적어도 하나의 상태 체크용 파라미터 값의 보정 범위와 이에 따른 보상용 파라미터의 수정 값이 저장된 룩업 테이블(lookup-table)을 더 포함할 수 있다.The calculator may further include a lookup table that stores a correction range of the at least one state check parameter value and a correction value of the compensation parameter accordingly.

본 발명에 따르면, 촬영 환경에 따라 자동적으로 파라미터 값을 변경하여 출력 영상의 화질을 개선할 수 있는 카메라 장치를 얻을 수 있다. According to the present invention, it is possible to obtain a camera apparatus capable of improving the image quality of an output image by automatically changing parameter values according to the shooting environment.

이하, 첨부된 도면을 참조하여 본 발명을 상세히 설명하겠다. Hereinafter, with reference to the accompanying drawings will be described in detail the present invention.

도 1은, 본 발명의 일실시 형태에 따른 카메라 영상 보정 방법의 플로 차트이다. 1 is a flowchart of a camera image correction method according to an embodiment of the present invention.

도 1을 참조하면, 본 실시형태에 따른 카메라 영상 보정 방법은, 상태 체크용 파라미터 값을 검출하는 제1 단계(110), 상기 검출된 상태 체크용 파라미터 값이 보정 범위에 해당하는지 판단하는 제2 단계(120), 및 보상용 파라미터 값을 수정(130)하거나 디폴트 값 또는 최적값으로 유지(140)하는 제3 단계를 포함할 수 있다. Referring to FIG. 1, the camera image correcting method according to the present embodiment includes a first step 110 of detecting a state check parameter value, and a second step of determining whether the detected state check parameter value corresponds to a correction range. Step 120 and a third step of modifying 130 a compensation parameter value or maintaining 140 at a default value or an optimal value.

카메라가 작동되는 순서를 간략히 살펴보면, 카메라의 전원을 켜서 촬영 준비 상태가 되면, 렌즈를 통해 수광된 광신호는 이미지 센서에 의해 전기적 영상 신호로 변환되고, 상기 영상 신호는 출력장치를 통해 영상으로 출력되게 된다. 사용자는 출력장치로 출력되는 영상을 통해 촬영하고자 하는 영상을 볼 수 있다. 이러한 단계를 프리뷰(preview) 단계라고 한다. 상기 프리뷰 단계에서 사용자가 버튼 등을 사용하여 '촬영'을 하게 되면, 정지 영상 또는 동영상이 JPEG, MPEG 등의 파일 형태로 저장되게 된다. 이처럼 영상을 카메라 내부에 저장하는 단계를 캡쳐(capture) 단계라고 한다.Briefly looking at the operation of the camera, when the camera is turned on and ready to shoot, the optical signal received through the lens is converted into an electrical image signal by the image sensor, the image signal is output to the image through the output device Will be. The user may view an image to be photographed through the image output to the output device. This step is called the preview step. When the user 'shoots' using a button or the like in the preview step, a still image or a moving image is stored in a file format such as JPEG or MPEG. The step of storing the image inside the camera is called a capture step.

상기 프리뷰 단계에서 사용자는 필요에 따라 카메라의 상태를 조작할 수 있다. 즉, 촬영 환경에 따라 영상의 크기, 화질, 흑백, 특수효과 등의 필요한 사항을 지정할 수 있다. 이처럼 프리뷰 단계에서 수동으로 카메라의 상태를 조작하는 것은 카메라 내의 파라미터를 조절하는 것일 수 있다.In the preview step, the user can manipulate the state of the camera as needed. That is, according to the shooting environment, the necessary matters such as the image size, image quality, black and white, special effects can be specified. As such, manually manipulating the state of the camera in the preview stage may be adjusting a parameter in the camera.

본 실시형태에서, 상기 카메라 영상 보정 방법은 상기 카메라가 프리뷰 단계에서 촬영 환경에 따라 자동적으로 카메라 내부의 파라미터를 변경하는 것에 의해 진행될 수 있다. 본 실시형태에 따른 카메라 영상 보정 방법(100)은, 프리뷰 단계(101)와 캡쳐 단계(102)의 사이에서 진행될 수 있다. In the present embodiment, the camera image correction method may be performed by the camera automatically changing a parameter inside the camera according to the shooting environment in the preview step. The camera image correction method 100 according to the present embodiment may proceed between the preview step 101 and the capture step 102.

상기 제1 단계(110)에서는, 이미지 센서의 영상신호에서 적어도 하나의 상태 체크용 파라미터 값을 검출할 수 있다. 상기 이미지 센서의 영상신호는 광신호를 전기적 신호로 변환한 것으로서, 촬영환경에 따른 영상의 상태를 나타내는 복수개의 파라미터로 표시될 수 있다. 본 실시형태에서는 상기 복수개의 파라미터 중 적어도 하나의 파라미터의 값을 검출할 수 있다. In the first step 110, at least one state check parameter value may be detected from an image signal of the image sensor. The image signal of the image sensor is an optical signal converted into an electrical signal, and may be displayed as a plurality of parameters representing a state of an image according to a shooting environment. In the present embodiment, the value of at least one parameter among the plurality of parameters can be detected.

상기 검출되는 적어도 하나의 상태 체크용 파라미터는 밝기에 관련된 파라미터일 수 있다. 이 때는 디지털 게인(Digital Gain) 값이나, 인테그레이션 타임 하이(Integration Time High) 값이 상기 상태 체크용 파라미터가 될 수 있다. The at least one state checking parameter detected may be a parameter related to brightness. In this case, a digital gain value or an integration time high value may be a parameter for checking the status.

상기 검출되는 적어도 하나의 상태 체크용 파라미터는 색온도에 관련된 파라미터일 수 있다. 이 때는, 색좌표를 나타내는 값(Cr Mean, Cb Mean)이 상기 상태 체크용 파라미터가 될 수 있다. The at least one state checking parameter detected may be a parameter related to a color temperature. In this case, a value indicating a color coordinate (Cr Mean, Cb Mean) may be the state check parameter.

상기 제2 단계(120)에서는, 상기 검출된 상태 체크용 파라미터 값이 기설정된 보정 범위에 해당하는지 판단할 수 있다. 상기 보정범위는 상기 적어도 하나의 상태 체크용 파라미터의 기설정된 표준 환경에서의 임계치를 기준으로 정해질 수 있다. 상기 임계치를 정하기 위해서는 미리 각각의 상태 체크용 파라미터에 대해 표준 환경을 정하고 상기 표준 환경의 범주를 벗어나는 값을 임계치로 정할 수 있다.In the second step 120, it may be determined whether the detected state check parameter value corresponds to a preset correction range. The correction range may be determined based on a threshold value in a predetermined standard environment of the at least one state check parameter. In order to determine the threshold value, a standard environment may be set for each state check parameter in advance, and a value outside the range of the standard environment may be set as a threshold.

일예를 들어, 상기 상태 체크용 파라미터가 디지털 게인(Digital Gain)인 경우, 표준 환경에서의 상기 디지털 게인 파라미터 값을 임계치로 정하고, 상기 검출된 디지털 게인의 값이 상기 임계치보다 크면 보정 범위에 해당되는 것으로 판단할 수 있다. For example, when the state check parameter is a digital gain, the digital gain parameter value in a standard environment is set as a threshold value, and when the detected digital gain value is larger than the threshold value, it corresponds to a correction range. It can be judged that.

여기서, 상기 상태 체크용 파라미터의 종류에 따라 임계치의 상한 또는 하한이 결정될 수 있다. 즉, 상기 상태 체크용 파라미터가 색온도 지수(Cb Mean)인 경우에는 검출된 색온도 지수(Cb Mean)의 값이 임계치보다 작으면 보정 범위에 해당되는 것으로 판단할 수 있다. Here, the upper limit or the lower limit of the threshold may be determined according to the type of the state check parameter. That is, when the state check parameter is a color temperature index (Cb Mean), if the detected value of the color temperature index (Cb Mean) is smaller than a threshold value, it may be determined that it corresponds to a correction range.

상기 제3 단계(130, 140)에서는, 상기 검출된 상태 체크용 파라미터 값이 상기 보정 범위 이내인 경우 상기 상태 체크용 파라미터 값과 관련된 영상 열화를 보상할 수 있는 보상용 파라미터 값을 수정(130)하고, 상기 검출된 상태 체크용 파라미터의 값이 상기 보정 범위를 벗어나는 경우 상기 보상용 파라미터 값을 기설정된 디폴트(default)값 또는 최적값으로 유지(140)할 수 있다. In the third steps 130 and 140, when the detected state check parameter value is within the correction range, a correction parameter value for compensating for image degradation associated with the state check parameter value is corrected (130). When the value of the detected state check parameter is out of the correction range, the compensation parameter value may be maintained at a predetermined default value or an optimal value (140).

예를 들어, 상기 검출된 상태 체크용 파라미터가 디지털 게인(Digital Gain) 인 경우 이를 보상할 수 있는 보상용 파라미터는 MCLK Division 이 될 수 있다. 본 실시예에서는, 상기 디지털 게인의 값이 0x50 보다 큰 경우에는 MCLK Division 값을 0x00 에서 0x01 로 수정할 수 있다. For example, when the detected state check parameter is a digital gain, a compensation parameter that can compensate for this may be an MCLK Division. In the present embodiment, when the value of the digital gain is larger than 0x50, the MCLK Division value may be modified from 0x00 to 0x01.

상기 제2 단계 및 제3 단계에서, 상태 체크용 파라미터가 보정 범위에 해당되는지 여부를 판단하고 이에 따라 보상용 파라미터를 변경하는 것은 기설정된 룩업 테이블(lookup table)에 기초하여 진행될 수 있다. In the second and third steps, determining whether the status check parameter corresponds to a correction range and changing the compensation parameter accordingly may be performed based on a preset lookup table.

상기 룩업 테이블에는 각각의 상태 체크용 파라미터에 대해서 보정 범위가 기재되어 있고, 검출된 상태 체크용 파라미터의 값이 상기 보정 범위에 해당 될 때 어떤 보상용 파라미터를 어느 정도 변경할지에 대한 데이터가 실려있을 수 있다. The look-up table describes a correction range for each state check parameter, and contains data on how much compensation parameter to change when the value of the detected state check parameter falls within the correction range. Can be.

도 2는, 본 발명의 다른 실시 형태에 따른 카메라 장치의 구성도이다.2 is a configuration diagram of a camera apparatus according to another embodiment of the present invention.

도 2를 참조하면, 본 실시형태에 따른 카메라 장치(200)는, 렌즈(201), 이미지 센서(202), 출력장치(203), 및 연산부(204)를 포함하며, 상기 연산부(204)는 검출부(210), 판단부(220), 및 보상부(230)를 포함할 수 있다. Referring to FIG. 2, the camera device 200 according to the present embodiment includes a lens 201, an image sensor 202, an output device 203, and an operation unit 204, and the operation unit 204 The detector 210, the determiner 220, and the compensator 230 may be included.

상기 카메라 장치(200)에서, 카메라의 전원을 켜서 촬영 준비 상태가 되면, 렌즈(201)를 통해 수광된 광신호는 이미지 센서(202)에 의해 전기적 영상 신호로 변환되고, 상기 영상 신호는 출력장치(203)를 통해 영상으로 출력되게 된다. 사용자는 상기 출력장치(203)로 출력되는 영상을 통해 촬영하고자 하는 영상을 볼 수 있다. 이러한 단계를 프리뷰(preview) 단계라고 한다. 상기 연산부(204)는, 상기 영상신호에서 검출된 상태 체크용 파라미터의 값에 따라 상기 출력장치에 출력되는 영상을 보정할 수 있다. In the camera apparatus 200, when the camera is turned on and ready to shoot, the optical signal received through the lens 201 is converted into an electrical image signal by the image sensor 202, and the image signal is output. The image is output through the image 203. The user may view an image to be photographed through the image output to the output device 203. This step is called the preview step. The calculator 204 may correct an image output to the output device according to a value of a state check parameter detected in the image signal.

상기 검출부(210)는, 이미지 센서의 영상신호에서 적어도 하나의 상태 체크용 파라미터 값을 검출할 수 있다. 상기 이미지 센서의 영상신호는 광신호를 전기적 신호로 변환한 것으로서, 촬영환경에 따른 영상의 상태를 나타내는 복수개의 파라미터로 표시될 수 있다. 본 실시형태에서 상기 검출부(210)는 상기 복수개의 파라미터 중 적어도 하나의 파라미터의 값을 검출할 수 있다. The detector 210 may detect at least one parameter for checking a state from the image signal of the image sensor. The image signal of the image sensor is an optical signal converted into an electrical signal, and may be displayed as a plurality of parameters representing a state of an image according to a shooting environment. In the present embodiment, the detector 210 may detect a value of at least one parameter of the plurality of parameters.

상기 검출부(210)에서 검출되는 적어도 하나의 상태 체크용 파라미터는 밝기에 관련된 파라미터일 수 있다. 이 때는 디지털 게인(Digital Gain) 값이나, 인테그레이션 타임 하이(Integration Time High) 값이 상기 상태 체크용 파라미터가 될 수 있다. The at least one state check parameter detected by the detector 210 may be a parameter related to brightness. In this case, a digital gain value or an integration time high value may be a parameter for checking the status.

상기 검출부(210)에서 검출되는 적어도 하나의 상태 체크용 파라미터는 색온도에 관련된 파라미터일 수 있다. 이 때는, 색좌표를 나타내는 파라미터(Cr Mean, Cb Mean)가 상기 상태 체크용 파라미터가 될 수 있다. The at least one state check parameter detected by the detector 210 may be a parameter related to the color temperature. In this case, a parameter indicating color coordinates (Cr Mean, Cb Mean) may be the state check parameter.

상기 판단부(220)에서는, 상기 검출된 상태 체크용 파라미터 값이 기설정된 보정 범위에 해당하는지 판단할 수 있다. 상기 보정범위는 상기 적어도 하나의 상태 체크용 파라미터의 기설정된 표준 환경에서의 임계치를 기준으로 정해질 수 있다. 상기 임계치를 정하기 위해서는 미리 각각의 상태 체크용 파라미터에 대해 표준 환경을 정하고 상기 표준 환경의 범주를 벗어나는 값을 임계치로 정할 수 있다.The determination unit 220 may determine whether the detected state check parameter value corresponds to a preset correction range. The correction range may be determined based on a threshold value in a predetermined standard environment of the at least one state check parameter. In order to determine the threshold value, a standard environment may be set for each state check parameter in advance, and a value outside the range of the standard environment may be set as a threshold.

일예를 들어, 상기 상태 체크용 파라미터가 디지털 게인(Digital Gain)인 경우, 표준 환경에서의 상기 디지털 게인 파라미터 값을 임계치로 정하고, 상기 검출된 디지털 게인의 값이 상기 임계치보다 크면 보정 범위에 해당되는 것으로 판단할 수 있다. For example, when the state check parameter is a digital gain, the digital gain parameter value in a standard environment is set as a threshold value, and when the detected digital gain value is larger than the threshold value, it corresponds to a correction range. It can be judged that.

여기서, 상기 상태 체크용 파라미터의 종류에 따라 임계치의 상한 또는 하한이 결정될 수 있다. 즉, 상기 상태 체크용 파라미터가 색좌표 지수(Cb Mean)인 경우에는 검출된 색좌표 지수(Cb Mean)의 값이 임계치보다 작으면 보정 범위에 해당되는 것으로 판단할 수 있다. Here, the upper limit or the lower limit of the threshold may be determined according to the type of the state check parameter. That is, when the state check parameter is the color coordinate index (Cb Mean), if the detected value of the color coordinate index (Cb Mean) is smaller than the threshold value, it may be determined that it corresponds to the correction range.

상기 보상부(230)에서는, 상기 검출된 상태 체크용 파라미터 값이 상기 보정 범위 이내인 경우 상기 상태 체크용 파라미터 값과 관련된 영상 열화를 보상할 수 있는 보상용 파라미터 값을 수정하고, 상기 검출된 상태 체크용 파라미터의 값이 상기 보정 범위를 벗어나는 경우 상기 보상용 파라미터 값을 기설정된 디폴트(default)값 또는 최적값으로 유지할 수 있다. The compensator 230 corrects a compensation parameter value capable of compensating for image degradation related to the state check parameter value when the detected state check parameter value is within the correction range, and detects the detected state. When the value of the check parameter is out of the correction range, the compensation parameter value may be maintained at a preset default value or optimal value.

예를 들어, 상기 검출된 상태 체크용 파라미터가 디지털 게인(Digital Gain) 인 경우 이를 보상할 수 있는 보상용 파라미터는 MCLK Division 이 될 수 있다. 본 실시예에서는, 상기 디지털 게인의 값이 0x50 보다 큰 경우에는 MCLK Division 값을 0x00 에서 0x01로 수정할 수 있다. For example, when the detected state check parameter is a digital gain, a compensation parameter that can compensate for this may be an MCLK Division. In the present embodiment, when the value of the digital gain is greater than 0x50, the MCLK Division value may be modified from 0x00 to 0x01.

상기 연산부(204)는 상태 체크용 파라미터가 보정 범위에 해당되는지 여부를 판단하고 이에 따라 보상용 파라미터를 변경하는 데이터가 기재된 룩업 테이블(lookup table)(250)을 더 포함할 수 있다. The calculation unit 204 may further include a lookup table 250 in which data for determining whether a state check parameter corresponds to a correction range and changing the compensation parameter accordingly is described.

상기 룩업 테이블에는 각각의 상태 체크용 파라미터에 대해서 보정 범위가 기재되어 있고, 검출된 상태 체크용 파라미터의 값이 상기 보정 범위에 해당 될 때 어떤 보상용 파라미터를 어느 정도 변경할지에 대한 데이터가 실려있을 수 있다. The look-up table describes a correction range for each state check parameter, and contains data on how much compensation parameter to change when the value of the detected state check parameter falls within the correction range. Can be.

도 3은, 상기 도 2의 카메라 장치에 사용되는 룩업 테이블의 일실시예이다. 3 is an embodiment of a lookup table used in the camera apparatus of FIG. 2.

여기서, 디지털 게인(Digital Gain)은 피사 영역의 밝기가 저하될 때 노출 목표치(AE Target)만큼 밝기를 상향시키기 위해 신호 값에 곱하여지는 값이며, 일정값 이상 커질 시 어두운 상태로 판단이 가능한 파라미터이다. 본 실시형태에서는, 상기 디지털 게인 값이 0x50 보다 크면 어두운 환경으로 판단될 수 있다. 어두운 환경으로 판단되면, MCLK 디비젼(MCLK division) 값을 0x00에서 0x01로 변경하여 센서에서 사용되는 클럭을 1/2로 감소시켜 저조도 화질을 보정할 수 있다. Herein, the digital gain is a value that is multiplied by a signal value to increase the brightness by the exposure target value (AE Target) when the brightness of the target area is lowered. . In the present embodiment, when the digital gain value is larger than 0x50, it may be determined as a dark environment. If it is determined in a dark environment, the MCLK division value can be changed from 0x00 to 0x01 to reduce the clock used in the sensor by 1/2 to compensate for low light quality.

인테그레이션 타임 하이(Integration Time High) 파라미터는 센서 수광부에서 빛을 받아들이는 시간을 나타내는 파라미터이며, 밝기가 저하될 시 빛을 받아들이는 시간이 늘어나므로 일정한 값 이상으로 커지면 어두운 상태로 판단이 가능하다. 본 실시형태에서는 상기 인테그레이션 타임 하이 파라미터의 값이 0x01 보다 크거나 같으면 어두운 환경으로 판단될 수 있다. 어두운 환경이라 판단될 경우 적색/녹색/청색 성분의 블랙 레벨 값(R/G/B Black level)을 0xA0 에서 0x90 으로 조 정하여 저조도 화질을 보정할 수 있다. The integration time high parameter indicates the time to receive the light from the sensor light receiver. When the brightness decreases, the time to receive the light increases, so when it exceeds a certain value, the dark state can be determined. In the present embodiment, when the value of the integration time high parameter is greater than or equal to 0x01, it may be determined as a dark environment. If it is determined to be a dark environment, the low light quality can be corrected by adjusting the black level value of the red / green / blue component from 0xA0 to 0x90.

Cr 및 Cb는, 각 이미지 샘플의 평균휘도(Y)와 컬러 농도(R, B) 사이의 차이값을 나타낸다. Cr and Cb represent the difference value between the average luminance Y and the color density R and B of each image sample.

Cr Mean 파라미터는 이미지 센서 내부에서 갱신되는 Cr 성분의 평균값을 나타내며, Cr 타겟(Cr Target)은 Cr 성분의 목표치를 설정하는 파라미터이다. 색온도가 난색(warm color)에 가까울수록 Cr Mean 값은 상승하며 Cr Target 값을 낮추면 Cr Mean 값도 하향조정되어 색온도를 보정할 수 있다. 본 실시형태에서는 Cr Mean 값이 0x85 보다 크거나 같은 경우, Cr Target 값을 0x82 에서 0x7F 로 조절함으로써 색온도를 보정할 수 있다. The Cr Mean parameter represents the average value of the Cr component updated in the image sensor, and the Cr target is a parameter for setting the target value of the Cr component. The closer the color temperature is to warm color, the higher the Cr Mean value. If the Cr Target value is lowered, the Cr Mean value is also lowered to correct the color temperature. In the present embodiment, when the Cr Mean value is greater than or equal to 0x85, the color temperature can be corrected by adjusting the Cr Target value from 0x82 to 0x7F.

Cb Mean 파라미터는 이미지 센서 내부에서 갱신되는 Cb 성분의 평균값을 나타내며, Cb 타겟(Cb Target)은 Cb 성분의 목표치를 설정하는 파라미터이다. 색온도가 한색(cool color)에 가까울수록 Cb Mean 값은 상승하며 Cb Target 값을 낮추면 Cb Mean 값도 하향조정되어 색온도를 보정할 수 있다. 본 실시형태에서 Cb Mean 값이 0x7B 보다 작은 경우 Cb Target 값을 0x7D 에서 0x80 으로 조절함으로써 색온도를 보정할 수 있다. The Cb Mean parameter represents an average value of the Cb component updated inside the image sensor, and the Cb Target is a parameter for setting a target value of the Cb component. The closer the color temperature is to cool color, the higher the Cb Mean value. If the Cb Target value is lowered, the Cb Mean value is also lowered to correct the color temperature. In the present embodiment, when the Cb Mean value is smaller than 0x7B, the color temperature can be corrected by adjusting the Cb Target value from 0x7D to 0x80.

본 발명은 상술한 실시형태 및 첨부된 도면에 의해 한정되는 것이 아니며, 첨부된 청구범위에 의해 한정하고자 한다. 따라서, 청구범위에 기재된 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 당 기술분야의 통상의 지식을 가진 자에 의해 다양한 형태의 치환, 변형 및 변경이 가능할 것이며, 이 또한 본 발명의 범위에 속한다고 할 것이다. It is intended that the invention not be limited by the foregoing embodiments and the accompanying drawings, but rather by the claims appended hereto. Accordingly, various forms of substitution, modification, and alteration may be made by those skilled in the art without departing from the technical spirit of the present invention described in the claims, which are also within the scope of the present invention. something to do.

도 1은, 본 발명의 일실시 형태에 따른 카메라 영상 보정 방법의 플로 차트이다.1 is a flowchart of a camera image correction method according to an embodiment of the present invention.

도 2는, 본 발명의 다른 실시형태에 따른 카메라 장치의 구성도이다.2 is a configuration diagram of a camera apparatus according to another embodiment of the present invention.

도 3은, 상기 도 2의 카메라 장치에 사용되는 룩업 테이블의 일실시예이다. 3 is an embodiment of a lookup table used in the camera apparatus of FIG. 2.

Claims (10)

렌즈에 의해 수광된 광신호가 이미지 센서에 의해 영상신호로 변환되고, 상기 영상신호가 출력장치에 영상으로 출력되는 카메라의 프리뷰 단계에서,In the preview step of the camera, the optical signal received by the lens is converted into an image signal by the image sensor, and the image signal is output to the output device as an image, 이미지 센서의 영상신호에서 적어도 하나의 상태 체크용 파라미터 값을 검출하는 제1 단계;Detecting at least one state checking parameter value from an image signal of the image sensor; 상기 검출된 상태 체크용 파라미터 값이 기설정된 보정 범위에 해당하는지 판단하는 제2 단계; 및A second step of determining whether the detected state check parameter value corresponds to a preset correction range; And 상기 검출된 상태 체크용 파라미터 값이 상기 보정 범위 이내인 경우 상기 상태 체크용 파라미터 값과 관련된 영상 열화를 보상할 수 있는 보상용 파라미터 값을 수정하고, 상기 검출된 상태 체크용 파라미터의 값이 상기 보정 범위를 벗어나는 경우 상기 보상용 파라미터 값을 기설정된 디폴트(default)값 또는 최적값으로 유지하는 제3 단계를 포함하며,When the detected state check parameter value is within the correction range, a compensation parameter value for compensating for image degradation associated with the state check parameter value is corrected, and the value of the detected state check parameter is corrected. A third step of maintaining the compensation parameter value at a predetermined default value or an optimum value when out of a range; 상기 보정 범위는, 상기 적어도 하나의 상태 체크용 파라미터의 기설정된 표준 환경에서의 임계치에 의해 정해지는 것을 특징으로 하는 카메라 영상 보정 방법.And the correction range is determined by a threshold in a preset standard environment of the at least one state check parameter. 제1항에 있어서,The method of claim 1, 상기 적어도 하나의 상태 체크용 파라미터는,The at least one state check parameter, 밝기에 관계된 파라미터를 포함하는 것을 특징으로 하는 카메라 영상 보정 방법.Camera image correction method comprising a parameter related to the brightness. 제1항에서,In claim 1, 상기 적어도 하나의 상태 체크용 파라미터는,The at least one state check parameter, 색온도에 관계된 파라미터를 포함하는 것을 특징으로 하는 카메라 영상 보정 방법.Camera image correction method comprising a parameter related to the color temperature. 삭제delete 제1항에 있어서,The method of claim 1, 상기 제2 단계 및 제3 단계는,The second step and the third step, 상기 적어도 하나의 상태 체크용 파라미터 값의 보정범위와 이에 따른 보상용 파라미터의 수정값이 저장된 룩업 테이블(lookup-table)에 기초하여 수행되는 것을 특징으로 하는 카메라 영상 보정 방법.And a correction range of the at least one state check parameter value and a correction value of the compensation parameter according to the stored lookup table. 렌즈;lens; 상기 렌즈에 의해 수광된 광신호를 영상 신호로 변환하는 이미지 센서;An image sensor for converting the optical signal received by the lens into an image signal; 상기 영상신호를 영상으로 출력하는 출력장치; 및An output device for outputting the video signal as an image; And 상기 영상신호에서 검출된 상태 체크용 파라미터의 값에 따라 상기 출력장치에 출력되는 영상을 보정하는 연산부An operation unit for correcting an image output to the output device according to a value of a state check parameter detected in the image signal 를 포함하며,Including; 상기 연산부는,The calculation unit, 이미지 센서의 영상신호에서 적어도 하나의 상태 체크용 파라미터 값을 검출하는 검출부;A detector for detecting at least one state checking parameter value from an image signal of the image sensor; 상기 검출부에서 검출된 상태 체크용 파라미터 값이 기설정된 보정 범위에 해당하는지 판단하는 판단부; 및 A determination unit which determines whether a state check parameter value detected by the detection unit corresponds to a preset correction range; And 상기 검출된 상태 체크용 파라미터 값이 상기 보정 범위 이내인 경우 상기 상태 체크용 파라미터 값과 관련된 영상 열화를 보상할 수 있는 보상용 파라미터 값을 수정하고, 상기 검출된 상태 체크용 파라미터의 값이 상기 보정 범위를 벗어나는 경우 상기 보상용 파라미터 값을 기설정된 디폴트(default)값 또는 최적값으로 유지하는 보상부를 포함하며,When the detected state check parameter value is within the correction range, a compensation parameter value for compensating for image degradation associated with the state check parameter value is corrected, and the value of the detected state check parameter is corrected. If it is out of the range includes a compensation unit for maintaining the compensation parameter value to a predetermined default value or optimal value, 상기 보정 범위는, 상기 적어도 하나의 상태 체크용 파라미터의 기설정된 표준 환경에서의 임계치에 의해 정해지는 것을 특징으로 하는 카메라 장치.And the correction range is determined by a threshold value in a predetermined standard environment of the at least one state check parameter. 제6항에 있어서,The method of claim 6, 상기 적어도 하나의 상태 체크용 파라미터는,The at least one state check parameter, 밝기에 관계된 파라미터인 것을 특징으로 하는 카메라 장치.And a parameter related to brightness. 제6항에 있어서,The method of claim 6, 상기 적어도 하나의 상태 체크용 파라미터는,The at least one state check parameter, 색온도에 관계된 파라미터를 포함하는 것을 특징으로 하는 카메라 장치.And a parameter related to the color temperature. 삭제delete 제6항에 있어서,The method of claim 6, 상기 연산부는,The calculation unit, 상기 적어도 하나의 상태 체크용 파라미터 값의 보정 범위와 이에 따른 보상용 파라미터의 수정 값이 저장된 룩업 테이블(lookup-table)A lookup table that stores a correction range of the at least one state check parameter value and a correction value of the compensation parameter accordingly. 을 더 포함하는 것을 특징으로 하는 카메라 장치.A camera device further comprising.
KR1020080071295A 2008-07-22 2008-07-22 Method of camera image compensation and camera device KR100951279B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020080071295A KR100951279B1 (en) 2008-07-22 2008-07-22 Method of camera image compensation and camera device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020080071295A KR100951279B1 (en) 2008-07-22 2008-07-22 Method of camera image compensation and camera device

Publications (2)

Publication Number Publication Date
KR20100010361A KR20100010361A (en) 2010-02-01
KR100951279B1 true KR100951279B1 (en) 2010-04-02

Family

ID=42085055

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020080071295A KR100951279B1 (en) 2008-07-22 2008-07-22 Method of camera image compensation and camera device

Country Status (1)

Country Link
KR (1) KR100951279B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101266030B1 (en) * 2011-01-11 2013-05-24 서울과학기술대학교 산학협력단 Method of detecting a defect in an object and apparatus for performing the same

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101432783B1 (en) * 2013-03-29 2014-08-21 (주) 루리텍 Image pre-processing apparatus for evaluating camera capability

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003134531A (en) 2001-10-26 2003-05-09 Canon Inc Image processing apparatus, image processing system, image processing method, storage medium, and program
KR20050094213A (en) * 2004-03-22 2005-09-27 엘지전자 주식회사 Image processing device and method for compensating a picture taken against the light using the same
KR20080026880A (en) * 2006-09-21 2008-03-26 삼성전자주식회사 Apparatus and method for compensating brightness of image
KR20080067516A (en) * 2007-01-16 2008-07-21 삼성전자주식회사 Display apparatus and video adjusting method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003134531A (en) 2001-10-26 2003-05-09 Canon Inc Image processing apparatus, image processing system, image processing method, storage medium, and program
KR20050094213A (en) * 2004-03-22 2005-09-27 엘지전자 주식회사 Image processing device and method for compensating a picture taken against the light using the same
KR20080026880A (en) * 2006-09-21 2008-03-26 삼성전자주식회사 Apparatus and method for compensating brightness of image
KR20080067516A (en) * 2007-01-16 2008-07-21 삼성전자주식회사 Display apparatus and video adjusting method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101266030B1 (en) * 2011-01-11 2013-05-24 서울과학기술대학교 산학협력단 Method of detecting a defect in an object and apparatus for performing the same

Also Published As

Publication number Publication date
KR20100010361A (en) 2010-02-01

Similar Documents

Publication Publication Date Title
JP5226794B2 (en) Motion-assisted image sensor configuration
US9426437B2 (en) Image processor performing noise reduction processing, imaging apparatus equipped with the same, and image processing method for performing noise reduction processing
US7714928B2 (en) Image sensing apparatus and an image sensing method comprising a logarithmic characteristic area and a linear characteristic area
US8120658B2 (en) Hand jitter reduction system for cameras
US20060001748A1 (en) Image sensing apparatus
US20060215908A1 (en) Image pickup apparatus and image processing method
US7643069B2 (en) Device and method for adjusting exposure of image sensor
KR101120966B1 (en) A hand jitter reduction system for cameras
US8885078B2 (en) Image processing apparatus, image processing method, and recording medium storing image processing program
US8068149B2 (en) Image processing device, image processing method, and image pickup apparatus
KR101353863B1 (en) Image processing apparatus, image processing method and camera module
US8994856B2 (en) Image processing apparatus, imaging apparatus, and image processing method for providing edge enhancement
KR100951279B1 (en) Method of camera image compensation and camera device
JP2014048620A (en) Focus adjustment device, control method therefor, and control program
KR101337667B1 (en) Lens roll-off correction operation using values corrected based on brightness information
KR101005769B1 (en) Auto exposure and auto white-balance method for detecting high dynamic range conditions
JP2009188914A (en) Imaging device and image processor
JP2010028366A (en) Electronic camera, camera system and light flashing unit
KR101166322B1 (en) Method and device for black level compansation
JP2007312112A (en) Imaging apparatus
JP4292972B2 (en) Imaging device
KR100743081B1 (en) Photographing apparatus and method for providing stable brightness characteristic
JP2008099018A (en) Apparatus and method for correcting signal data, and photographing apparatus
JP2012124768A (en) Imaging device
JP2010187050A (en) Image processor, imaging apparatus, and image processing method

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: 20130111

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20131224

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20150202

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20160111

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20170102

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20180102

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20190103

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20200102

Year of fee payment: 11