KR100771138B1 - Imaging device and image correcting method - Google Patents

Imaging device and image correcting method Download PDF

Info

Publication number
KR100771138B1
KR100771138B1 KR1020050133374A KR20050133374A KR100771138B1 KR 100771138 B1 KR100771138 B1 KR 100771138B1 KR 1020050133374 A KR1020050133374 A KR 1020050133374A KR 20050133374 A KR20050133374 A KR 20050133374A KR 100771138 B1 KR100771138 B1 KR 100771138B1
Authority
KR
South Korea
Prior art keywords
image data
image
time
pixel
data
Prior art date
Application number
KR1020050133374A
Other languages
Korean (ko)
Other versions
KR20070070626A (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 KR1020050133374A priority Critical patent/KR100771138B1/en
Publication of KR20070070626A publication Critical patent/KR20070070626A/en
Application granted granted Critical
Publication of KR100771138B1 publication Critical patent/KR100771138B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/20Analysis of motion
    • G06T7/254Analysis of motion involving subtraction of images
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/20Analysis of motion
    • G06T7/285Analysis of motion using a sequence of stereo image pairs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/186Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a colour or a chrominance component

Abstract

본 발명은 효율적인 영상 압축을 위해 영상 촬영 장치로부터 획득된 영상 데이터를 보정하는 것에 관한 것이다. 본 발명의 일 측면에 따르면, t시점의 영상 데이터와 t-1 시점의 영상 데이터의 임의의 픽셀에 대한 밝기 성분의 차이값을 산출하여 임계값과 비교하여 상기 픽셀에 대한 움직임 여부를 판단하여 움직임이 없는 경우, t-1 시점의 영상 데이터의 픽셀값으로 변경할 수 있는 영상 촬영 장치가 제공된다. 따라서, 본 발명에 의해, 촬영된 영상 데이터의 시간적인 움직임 예측 효율을 높일 수 있다.The present invention relates to correcting image data obtained from an imaging apparatus for efficient image compression. According to an aspect of the present invention, the difference value of the brightness component for any pixel of the image data at time t and the image data at time t-1 is calculated and compared with a threshold value to determine whether or not the motion for the pixel If there is not, an image capturing apparatus capable of changing the pixel value of the image data at time t-1 is provided. Therefore, according to the present invention, it is possible to increase the temporal motion prediction efficiency of the captured image data.

영상 데이터, 밝기 성분, YUV Image data, brightness component, YUV

Description

촬영 장치 및 영상 보정 방법{Imaging device and image correcting method}Imaging device and image correcting method

도 1은 본 발명의 바람직한 일 실시예에 따른 영상 촬영 장치의 블록도. 1 is a block diagram of an image photographing apparatus according to an exemplary embodiment of the present invention.

도 2 내지 도 3은 본 발명의 바람직한 일 실시예에 따른 영상 데이터. 2 to 3 is image data according to an embodiment of the present invention.

도 4는 본 발명의 바람직한 일 실시예에 따른 밝기 성분 데이터 비트 저장 형식을 예시한 도면.4 illustrates a brightness component data bit storage format in accordance with one preferred embodiment of the present invention.

도 5는 본 발명의 바람직한 일 실시예에 따른 t시점의 영상 데이터를 저장하는 과정을 나타낸 순서도.5 is a flowchart illustrating a process of storing image data at time t according to an exemplary embodiment of the present invention.

도 6은 본 발명의 바람직한 일 실시예에 따른 t시점의 영상 데이터와 t-1 시점의 영상 데이터를 비교하는 과정을 상세히 나타난 순서도.6 is a flowchart illustrating a process of comparing image data at time t and image data at time t-1 according to an exemplary embodiment of the present invention.

도 7은 본 발명의 바람직한 일 실시예에 따른 t시점의 영상 데이터와 t-1시 점의 영상 데이터의 비교에 따른 영상 데이터 갱신 상태를 나타낸 표.FIG. 7 is a table illustrating an image data update state according to a comparison between image data at time t and image data at time t-1 according to an exemplary embodiment of the present invention. FIG.

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

110 : 이미지 센서 110: image sensor

115 : 이미지 신호 처리부115: image signal processing unit

120 : 제1 저장부120: first storage unit

125 : 이미지 비교부125: image comparison unit

130 : 신호 처리부130: signal processing unit

150 : 제어부150: control unit

본 발명은 영상 촬영 장치에 관한 것으로, 특히 효율적인 영상 압축을 위해 영상 촬영 장치로부터 획득된 영상 데이터를 보정하는 것에 관한 것이다.The present invention relates to an image capturing apparatus, and more particularly, to correcting image data acquired from an image capturing apparatus for efficient image compression.

일반적으로, 촬영 환경의 주변 환경적인 요인에 의해 카메라에 의해 촬영된 외부 정보의 영상 데이터는 같은 외부 정보를 촬영한 것일지라도 노이즈(noise)가 추가되어 다른 영상 데이터인 것으로 인식된다. 즉, 촬영 환경에 설치된 조명에 상응하여 카메라의 위치에 따라 동일한 외부 정보를 같은 장소에서 촬영하더라도 조명의 변화에 의해 다른 영상 데이터로 인식하게 되어 동영상을 압축 저장하는데 있 어 효율이 떨어지는 문제점이 발생한다. In general, image data of the external information captured by the camera due to environmental factors of the shooting environment is recognized as different image data by adding noise even if the same external information is taken. That is, even if the same external information is taken in the same place according to the position of the camera in accordance with the lighting installed in the shooting environment, it is recognized as different image data due to the change of lighting, which causes a problem of inefficient efficiency in compressing and storing the moving image. .

즉, 영상 압축은 DCT(discrete cosine transform) 변환을 통한 양자화계수 조정을 통한 공간적인(spatial) 압축과 움직임 예측(motion estimation)을 통한 시간적인(temporary) 압축으로 구분되어 질 수 있다. 촬영시의 주변 환경의 요인에 의한 노이즈 추가로 인해 동일한 외부 정보를 촬상하였더라도 상이한 다른 값이 저장됨으로 인해 압축 효율이 떨어지게 된다.That is, image compression may be divided into spatial compression through adjustment of quantization coefficient through DCT transform and temporal compression through motion estimation. Even if the same external information is captured due to the addition of noise due to the surrounding environment at the time of shooting, the compression efficiency decreases because different values are stored.

따라서, 상술한 문제점을 해결하기 위한 본 발명의 목적은 촬영된 영상 데이터의 시간적인 움직임 예측 효율을 높일 수 있는 영상 촬영 장치 및 저장 방법을 제공하는 것이다.Accordingly, an object of the present invention for solving the above problems is to provide an image capturing apparatus and a storage method that can increase the temporal motion prediction efficiency of the captured image data.

본 발명의 다른 목적은 영상 압축률을 높여 저장 공간에 더 많은 영상 데이터를 저장할 수 있는 영상 촬영 장치 및 저장 방법을 제공하는 것이다.Another object of the present invention is to provide an image capturing apparatus and a storage method capable of storing more image data in a storage space by increasing an image compression ratio.

본 발명의 또 다른 목적은 움직임 벡터(motion vector)의 값 및 이전 영상 데이터와의 차이를 최소가 되게 할 수 있는 영상 촬영 장치 및 저장 방법을 제공하는 것이다.It is still another object of the present invention to provide an image capturing apparatus and a storage method capable of minimizing a difference between a value of a motion vector and previous image data.

본 발명의 또 다른 목적은 한 프레임의 영상 데이터의 비교로 두 프레임의 영상 데이터를 비교한 것과 동일한 효과를 갖는 영상 촬영 장치 및 저장 방법을 제공하는 것이다. It is still another object of the present invention to provide an image photographing apparatus and a storage method having the same effect as comparing image data of two frames by comparing image data of one frame.

이외의 본 발명의 목적들은 하기의 실시예에 대한 설명을 통해 쉽게 이해될 수 있을 것이다.Other objects of the present invention will be easily understood through the description of the following examples.

상술한 목적을 달성하기 위하여, 본 발명의 일 측면에 따르면, t시점의 영상 데이터와 t-1 시점의 영상 데이터의 임의의 픽셀에 대한 밝기 성분의 차이값을 산출하여 임계값과 비교하여 상기 픽셀에 대한 움직임 여부를 판단하여 움직임이 없는 경우, t-1 시점의 영상 데이터의 픽셀값으로 변경할 수 있는 영상 촬영 장치가 제공된다.In order to achieve the above object, according to an aspect of the present invention, the difference value of the brightness component for any pixel of the image data at time t and the image data at time t-1 is calculated and compared with the threshold value to the pixel According to the present invention, when there is no motion by determining whether or not the motion is about, the image capturing apparatus can be changed to the pixel value of the image data at time t-1.

본 발명의 바람직한 일 실시예에 따르면, 카메라를 구비한 영상 촬영 장치에 있어서, t-1시점의 영상 데이터를 저장하고 있는 저장부; 외부 영상에 상응하는 빛을 결상하여 t시점의 영상 데이터를 생성하는 이미지 센서; 및 상기 t시점의 영상 데이터와 t-1시점의 영상 데이터를 임의의 픽셀의 밝기 성분에 대한 차이값을 산출하고, 밝기 성분의 차이값이 임계값 미만이며, 상기t-1시점의 영상 데이터의 픽셀의 플래그 비트가 '1'이면 움직임이 없는 것으로 판단하여 t시점의 영상 데이터의 픽셀값을 t-1시점의 영상 데이터의 픽셀값으로 변환하는 이미지 비교부를 포함하는 영상 촬영 장치가 제공될 수 있다.According to a preferred embodiment of the present invention, an image capturing apparatus having a camera, comprising: a storage unit which stores image data of a time t-1; An image sensor which forms image data corresponding to an external image to generate image data at time t; And calculating the difference value for the brightness component of any pixel from the image data at time t and the image data at time t-1, wherein the difference value of the brightness component is less than a threshold value, and the image data at time t-1 When the flag bit of the pixel is '1', the image capturing apparatus may include an image comparator which determines that there is no motion and converts the pixel value of the image data at time t to the pixel value of the image data at time t-1. .

상기 영상 데이터는 로우 포맷(raw format)의 YUV 형식의 영상 데이터이며, 상기 영상 데이터의 밝기 성분의 최하위 비트는 상기 플래그 비트일 수 있다.The image data is YUV format image data in a raw format, and the least significant bit of the brightness component of the image data may be the flag bit.

상기 플래그 비트는 픽셀의 움직임 여부를 알려주는 정보 비트일 수 있다.The flag bit may be an information bit indicating whether a pixel moves.

상기 영상 데이터를 YUV 형식의 영상 데이터로 변환하며, 상기 변환된 영상 데이터의 밝기 성분을 저장하는 데이터 비트열의 최하위 비트를 플래그 비트로 설정하는 이미지 신호 처리부를 더 포함할 수 있다.The apparatus may further include an image signal processor configured to convert the image data into image data in a YUV format and set a least significant bit of a data bit string that stores the brightness component of the converted image data as a flag bit.

본 발명의 다른 측면에 따르면, 카메라를 구비한 영상 촬영 장치에서 t시점의 영상 데이터를 획득하여 보정 하는 방법이 제공된다.According to another aspect of the present invention, there is provided a method for acquiring and correcting image data at time t in an image photographing apparatus having a camera.

본 발명의 바람직한 일 실시예에 따르면, 카메라를 구비한 영상 촬영 장치에서 t시점의 영상 데이터를 획득하여 보정 하는 방법에 있어서, (a) 외부 영상에 상응하는 빛을 결상하여 상기 t시점의 영상 데이터를 생성하는 단계; (b) t-1 시점의 영상 데이터를 저장부로부터 독출하는 단계; (c) 상기 t시점의 영상 데이터와 상기 t-1시점의 영상 데이터의 임의의 픽셀의 밝기 성분의 차이값을 산출하는 단계; (d) 상기 밝기 성분의 차이값을 임계값과 비교하여 움직임이 있는지 여부를 판단하는 단계; 및 (e) 움직임이 없다고 판단되면, 상기 t시점의 영상 데이터의 픽셀값을 상기 t-1시점의 영상 데이터의 픽셀값으로 변환하는 단계를 포함하는 획득 영상 보정 방법이 제공될 수 있다.According to a preferred embodiment of the present invention, in a method for acquiring and correcting image data at time t in an image capturing apparatus having a camera, (a) image data corresponding to an external image is imaged at time t. Generating a; (b) reading image data of the time point t-1 from the storage unit; (c) calculating a difference value between brightness components of any pixel of the image data at time t and the image data at time t-1; (d) comparing the difference between the brightness components with a threshold to determine whether there is motion; And (e) if it is determined that there is no motion, converting the pixel value of the image data at time t to the pixel value of the image data at time t-1.

상기 (d) 단계는 상기 밝기 성분의 차이값이 임계값 이상인지 여부를 판단하는 단계; 및 상기 픽셀의 플래그 비트를 추출하여 분석하는 단계를 더 포함할 수 있다.Step (d) may include determining whether a difference value of the brightness components is greater than or equal to a threshold value; And extracting and analyzing flag bits of the pixel.

상기 영상 데이터를 YUV 형식의 영상 데이터로 변환하는 단계; 및 상기 변환된 영상 데이터의 밝기 성분의 데이터 비트열의 최하위 비트를 플래그 비트로 설정하는 단계를 더 포함할 수 있다.Converting the image data into image data in YUV format; And setting the least significant bit of the data bit string of the brightness component of the converted image data as a flag bit.

이하, 본 발명의 바람직한 실시예를 첨부한 도면들을 참조하여 상세히 설명하기로 한다. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

또한, 이하에서는 첨부 도면을 참조하여 설명함에 있어서 동일하거나 대응하는 구성요소는 도면 부호에 상관없이 동일한 참조번호를 부여하여 설명하기로 한다.In the following description, the same or corresponding elements will be described with the same reference numerals regardless of the reference numerals in the description with reference to the accompanying drawings.

이하, 본 발명의 바람직한 실시예를 첨부한 도면들을 참조하여 상세히 설명하기로 한다. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 바람직한 일 실시예에 따른 영상 촬영 장치의 블록도이며, 도 2 내지 도 3은 본 발명의 바람직한 일 실시예에 따른 영상 데이터이고, 도 4는 본 발명의 바람직한 일 실시예에 따른 밝기 성분 데이터 비트 저장 형식을 예시한 도면이며, 도 7은 본 발명의 바람직한 일 실시예에 따른 t시점의 영상 데이터와 t-1시점의 영상 데이터의 비교에 따른 영상 데이터 갱신 상태를 나타낸 표이다.1 is a block diagram of an image capturing apparatus according to a preferred embodiment of the present invention, Figures 2 to 3 are image data according to a preferred embodiment of the present invention, Figure 4 is a preferred embodiment of the present invention FIG. 7 is a table illustrating a brightness component data bit storage format according to an exemplary embodiment of the present invention, and FIG. 7 is a table illustrating an image data update state according to a comparison of image data at time t and image data at time t-1 according to an exemplary embodiment of the present invention. .

도 1에서 보여지는 바와 같이, 본 발명에 따른 영상 촬영 장치(100)는 이미지 센서(110), 이미지 신호 처리부(115), 제1 저장부(120), 이미지 비교부(125), 신호 처리부(130), 제2 저장부(135), 입력부(140), 표시부(145) 및 제어부(150)를 포함하여 구성된다.As shown in FIG. 1, the image capturing apparatus 100 according to the present invention includes an image sensor 110, an image signal processor 115, a first storage unit 120, an image comparator 125, and a signal processor ( 130, a second storage unit 135, an input unit 140, a display unit 145, and a controller 150.

이미지 센서(110)는 렌즈부로부터 외부 영상에 상응하는 광상이 결상되는 촬 상 소자로서, 광상에 관한 빛 신호를 전기 신호인 아날로그 신호로 변환하고 이를 이미지 센서(110)에 포함된 A/D 변환부(미도시)를 통해 디지털 신호로 변환한다. 여기서, 렌즈부는 이미지 센서(110)의 전단에 구비되어 피사체의 수광을 수행하는 수단이다.The image sensor 110 is an imaging device in which an optical image corresponding to an external image is formed from a lens unit. The image sensor 110 converts a light signal related to the optical image into an analog signal, which is an electrical signal, and converts it into an A / D included in the image sensor 110. Through a unit (not shown) to convert to a digital signal. Here, the lens unit is provided at the front end of the image sensor 110 is a means for receiving the object.

예를 들어, 이미지 센서(110)는 전하결합소자(CCD : Charge Coupled Device, 이하에서는 "CCD"라 칭함) 또는 상보성금속산화물 반도체(CMOS : Complementary Metal Oxide Semiconductor, 이하에서는 "CMOS"라 칭함)로 구현될 수 있다. For example, the image sensor 110 may be referred to as a charge coupled device (CCD: hereinafter referred to as "CCD") or a complementary metal oxide semiconductor (CMOS) hereinafter referred to as "CMOS". Can be implemented.

예를 들어, 이미지 센서(110)는 빛 신호가 변환되어 수집된 각 픽셀의 베이어 데이터(예를 들어, RGB 베이어 데이터)를 이미지 신호 처리부(115)로 출력할 수 있다. 이미지 센서(110)에는 RGB를 각각 인식하는 필터를 갖는 픽셀이 배치되는데 RGB 필터는 총 픽셀 수에서 사람 눈에 민감한 녹색을 50%, 적색 및 청색이 각각 25%가 되도록 하는 베이어 패턴에 따라 배치될 수 있다. 이러한 베이어 패턴을 갖는 이미지 센서(110)에서 출력되는 데이터를 베이어 데이터라고 하며, 이미지 센서(110)는 이와 같은 베이어 데이터를 이미지 신호 처리부(ISP : Image Signal Process)로 예를 들어, 8비트 RGB 베이어 데이터로 출력할 수 있다. For example, the image sensor 110 may output Bayer data (eg, RGB Bayer data) of each pixel collected by converting the light signal to the image signal processor 115. In the image sensor 110, pixels having a filter that recognizes RGB, respectively, are disposed, and the RGB filter is disposed according to a Bayer pattern such that 50% of green and 25% of red and blue are sensitive to human eyes in the total number of pixels. Can be. The data output from the image sensor 110 having such a Bayer pattern is referred to as Bayer data, and the image sensor 110 refers to such Bayer data as an image signal processor (ISP), for example, an 8-bit RGB Bayer. Can be output as data.

즉, 이미지 센서(110)는 외부 영상을 촬상하여 영상 데이터를 생성하여 이미지 신호 처리부(115)로 전달한다. That is, the image sensor 110 captures an external image, generates image data, and transmits the image data to the image signal processor 115.

이미지 신호 처리부(115)는 이미지 센서(110)로부터 입력된 RGB 형식의 영상 데이터를 에러 제거, 왜곡 보정 등과 같은 전처리 과정을 수행하고 YUV 형식으로 변환하는 기능을 수행한다.The image signal processor 115 performs a preprocessing process such as error elimination, distortion correction, etc., and converts the image data of the RGB format input from the image sensor 110 into a YUV format.

예를 들어, 이미지 신호 처리부(115)는 이미지 센서(110)를 통해 획득된 영상 데이터에 대한 인터폴레이션(interpolation), 자동 화이트 밸런스(auto white balance), 감마 보정(Gamma correction), 밝기 보정(Brightness correction), 색 영역 보정(color space correction)등을 수행하여 YUV 형식으로 변환할 수 있다. 예를 들어, 이미지 신호 처리부(115)는 하기 수학식 1을 이용하여 이미지 센서(110)로부터 입력된 RGB 형식의 영상 데이터를 YUV 형식으로 변환할 수 있다.For example, the image signal processor 115 may include interpolation, auto white balance, gamma correction, and brightness correction on image data acquired through the image sensor 110. ), Color space correction, etc., to convert to YUV format. For example, the image signal processor 115 may convert the image data of the RGB format input from the image sensor 110 into the YUV format using Equation 1 below.

Y= 0.3R + 0.59G + 0.11BY = 0.3R + 0.59G + 0.11B

U= (B-Y)

Figure 112005077791684-pat00001
0.493U = (BY)
Figure 112005077791684-pat00001
0.493

V= (R-Y)

Figure 112005077791684-pat00002
0.877V = (RY)
Figure 112005077791684-pat00002
0.877

또는or

Y = 0.299fR + 0.587fG + 0.114fBY = 0.299fR + 0.587fG + 0.114fB

U = -0.168fR - 0.3313fG + 0.5fB + 128U = -0.168fR-0.3313fG + 0.5fB + 128

V = 0.5fR - 0.4187fG - 0.0813fB + 128V = 0.5fR-0.4187fG-0.0813fB + 128

예를 들어, 이미지 신호 처리부(115)는 이미지 센서(110)로부터 입력된 RGB 형식의 영상 데이터를 4:4:4, 4:2:2, 4:2:0 등의 YUV 형식으로 변환하여 이미지 비교부(125)로 전달할 수 있다. 여기서, 4:4:4, 4:2:2, 4:2:0 등의 YUV 형식으로의 변환 방법은 당업자에게는 자명한 사항이므로 이에 대한 상세한 설명은 생략하기로 한다. For example, the image signal processor 115 converts the image data of the RGB format input from the image sensor 110 into a YUV format such as 4: 4: 4, 4: 2: 2, 4: 2: 0, and the like. It may be transmitted to the comparator 125. Here, since the conversion method to the YUV format such as 4: 4: 4, 4: 2: 2, 4: 2: 0, etc. is obvious to those skilled in the art, a detailed description thereof will be omitted.

또한, 이미지 신호 처리부(115)는 이미지 센서(110)로부터 입력된 영상 데이터에 대해 로우 패스 필터(LPF : low pass filter)를 수행하여 고주파 성분을 제거할 수도 있다. In addition, the image signal processor 115 may remove a high frequency component by performing a low pass filter (LPF) on the image data input from the image sensor 110.

또한, 이미지 신호 처리부(115)는 YUV 형식으로 변환된 영상 데이터의 Y 성분의 최하위 비트(LSB : least significant bit)를 플래그 비트(flag bit)로 할당할 수 있다. In addition, the image signal processor 115 may allocate a least significant bit (LSB) of the Y component of the image data converted into the YUV format as a flag bit.

본 명세서에서, "플래그 비트"는 t시점의 영상 데이터와 t-1시점의 영상 데이터를 비교하여 움직임이 있다고 판단되는 픽셀의 상태정보를 나타내기 위한 비트로 정의하기로 한다. In the present specification, the "flag bit" is defined as a bit for indicating the state information of a pixel determined to have motion by comparing the image data at time t and the image data at time t-1.

따라서, 이미지 신호 처리부(115)는 영상 데이터의 각각의 픽셀별 밝기 성분(즉, Y 성분)을 나타내는 데이터 비트의 최하위 비트(LSB)를 디폴트 값(예를 들어, "0"으로 설정하여 밝기 성분 데이터를 생성하여 이미지 비교부(125)로 전달할 수 있다.Accordingly, the image signal processing unit 115 sets the least significant bit LSB of the data bit representing the brightness component (i.e., Y component) for each pixel of the image data to a default value (e.g., "0"). The data may be generated and transferred to the image comparator 125.

예를 들어, 이미지 신호 처리부(115)에서 밝기 성분(Y 성분) 데이터를 8비트로 표현한다고 가정하자. 이미지 신호 처리부(115)는 도 4에서 보여지는 바와 같이, 최하위 비트(0번째 비트)를 플래그 비트로 할당하여 디폴트 값으로 설정할 수 있다.For example, assume that the image signal processor 115 expresses the brightness component (Y component) data in 8 bits. As shown in FIG. 4, the image signal processor 115 may set the lowest bit (0th bit) as a flag bit and set the default value.

또한, 본 명세서에서는 이미지 센서(110)와 이미지 신호 처리부(115)가 각각 독립적인 구성 요소로 존재하는 것을 가정하여 설명하고 있으나, 구현 방법에 따라 이미지 신호 처리부(115)가 이미지 센서(110)에 포함되어 하나의 구성 요소로 존재 할 수도 있다. In addition, in the present specification, the image sensor 110 and the image signal processing unit 115 have been described on the assumption that they exist as independent components, but the image signal processing unit 115 is applied to the image sensor 110 according to an implementation method. It may be included and exist as a component.

제1 저장부(120)는 이미지 신호 처리부(115)로부터 출력된 로우 포맷(raw format)의 YUV 데이터를 일시적으로 저장하고 있다. 예를 들어, 현재 시점을 편의상 t시점이라 하고, 이전 시점을 t-1시점이라 하며, t시점 이후 시점을 t+1시점이라고 하자. 이때, 이미지 센서(110)로부터 촬상되어 생성된 후 이미지 신호 처리부(115)를 통해 YUV 형식으로 변환된 영상 데이터가 t시점의 영상 데이터라고 가정하면, 제1 저장부(120)는 t-1시점의 로우 포맷의 YUV 영상 데이터를 저장하고 있다. 여기서, 제1 저장부(120)는 예를 들어, 3 프레임(frame) 미만의 로우 포맷 YUV 영상 데이터를 일시적으로 저장할 수 있는 저장 매체이며, DRAM(dynamic RAM), SDRAM(synchronous dynamic RAM), EDORAM(extended data output RAM) 등일 수 있다. The first storage unit 120 temporarily stores YUV data in a raw format output from the image signal processing unit 115. For example, the current time point is called t time point for convenience, the previous time point is called t-1 time point, and the time point after t time point is t + 1 time point. In this case, when it is assumed that the image data captured by the image sensor 110 and then converted into YUV format by the image signal processor 115 are image data at time t, the first storage unit 120 at time t-1 Stores YUV video data in the low-format format. Here, the first storage unit 120 is a storage medium capable of temporarily storing, for example, low-format YUV image data of less than three frames, and includes a dynamic RAM (DRAM), a synchronous dynamic RAM (SDRAM), and an EDORAM. extended data output RAM).

본 명세서에서는 제1 저장부(120)가 적어도 3 프레임(frame)의 영상 데이터를 저장할 수 있는 저장 공간을 지닌 것을 가정하여 설명하기로 한다. In the present specification, it will be assumed that the first storage unit 120 has a storage space capable of storing image data of at least three frames.

도 2 내지 도 3에 보여지는 바와 같이, 210 영역과 310 영역은 변화가 없는 고정된 위치 또는 배경 부분이며, 220 영역만이 320 영역으로 변화된 것을 알 수 있다. 그러나, 실제로 이미지 센서(110)에 의해 촬상되는 순간의 주변 환경의 요인들에 의해 노이즈가 추가되어 210 영역과 310 영역도 다른 영상 데이터 값을 포함하게 된다. 결과적으로 영상 압축 효율을 떨어뜨리게 된다. 따라서, 두 영상 데이터에서 동일한 영상 영역을 획득한 후 보정하여 영상 압축 효율을 높일 수 있다. 이에 대해서는 이하의 설명에 의해 명확하게 이해될 것이다. As shown in FIGS. 2 to 3, it can be seen that the 210 region and the 310 region are fixed positions or background portions without change, and only the 220 region is changed to the 320 region. However, noise is added due to factors of the surrounding environment at the moment of being imaged by the image sensor 110, so that the 210 region and the 310 region also include different image data values. As a result, image compression efficiency is reduced. Therefore, the same image area is obtained from the two image data and then corrected to increase the image compression efficiency. This will be clearly understood by the following description.

이미지 비교부(125)는 이미지 신호 처리부(115)로부터 입력된 t시점의 영상 데이터와 제1 저장부에 저장된 t-1시점의 영상 데이터를 각각의 픽셀별 밝기 성분(Y 성분)을 비교하여 임계값 이상이면 t시점의 영상 데이터의 해당 픽셀값을 t-1시점의 영상 데이터의 픽셀값으로 변환한다. The image comparator 125 compares the image data at time t inputted from the image signal processor 115 with the image data at time t-1 stored in the first storage unit and compares the brightness components (Y components) for each pixel. If the value is equal to or greater than the value, the pixel value of the image data at time t is converted into the pixel value of the image data at time t-1.

즉, 이미지 비교부(125)는 t시점의 영상 데이터와 t-1시점의 영상 데이터의 각각의 픽셀별 밝기 성분의 차를 산출하여 정해진 임계값 이상인지 여부와 플래그 비트(즉, Y 성분 최하위 비트)를 분석하여 해당 픽셀의 움직임 여부를 결정하여 움직임이 없다고 판단되면 t시점의 영상 데이터의 해당 픽셀값을 t-1 시점의 영상 데이터의 픽셀 값으로 변환하는 기능을 수행한다. 우선 도 7을 참조하여 t시점의 영상 데이터를 변환하는 것에 대해 상세히 설명하기로 한다.That is, the image comparator 125 calculates the difference between the brightness components for each pixel of the image data at time t and the image data at time t-1 and is equal to or greater than a predetermined threshold value and the flag bit (that is, the least significant bit of the Y component). ) To determine whether the corresponding pixel moves, and if there is no motion, converts the corresponding pixel value of the image data at time t to the pixel value of the image data at time t-1. First, conversion of image data at time t will be described in detail with reference to FIG. 7.

예를 들어, 이미지 비교부(125)는 제어부(150)의 제어에 의해 제1 저장부(120)에 저장된 t-1 시점의 영상 데이터를 독출하여 t시점의 영상 데이터와의 각각의 픽셀의 밝기 성분의 차의 절대값을 산출한다. 이미지 비교부(125)는 밝기 성분의 차의 절대값이 임계값 이상이면 움직임이 있는 것으로 판단하여 t시점의 영상 데이터를 갱신하지 않도록 할 수 있다. 그러나, 만일 밝기 성분의 차의 절대값이 임계값 미만이면 움직임이 없는 픽셀로 판단하여, t 시점의 영상 데이터의 픽셀값을 t-1 시점의 영상 데이터로 변경한다. 또한 이미지 비교부(125)는 t-1 시점의 영상 데이터의 각 픽셀의 플래그 비트를 분석하여 t시점의 영상 데이터의 각 픽셀의 플래그 비트를 갱신할 수도 있다. 도 7에 이에 대한 상태표가 예시되어 있으며, 이에 대해서는 도 6을 참조하여 하기에서 상세히 설명하기로 한다. For example, the image comparator 125 reads image data of the time point t-1 stored in the first storage unit 120 under the control of the controller 150, and then brightness of each pixel with the image data of the time point t. Calculate the absolute value of the difference between the components. The image comparison unit 125 may determine that there is motion if the absolute value of the difference between the brightness components is greater than or equal to the threshold value, and may not update the image data at time t. However, if the absolute value of the difference between the brightness components is less than the threshold value, it is determined that there is no motion and the pixel value of the image data at time t is changed to the image data at time t-1. Also, the image comparator 125 may update the flag bits of each pixel of the image data at time t-1 by analyzing the flag bits of each pixel of the image data at time t-1. A state table for this is illustrated in FIG. 7, which will be described in detail below with reference to FIG. 6.

이와 같이, 이미지 비교부(125)를 통해 이전 시점의 로우 포맷의 영상 데이터와 현재 시점의 영상 데이터를 비교하여 움직임이 없는 픽셀에 상응하는 픽셀값은 이전 시점의 영상 데이터의 픽셀 값으로 변경하여 저장함으로써 신호 처리부(130)에서의 영상 부호화시 압축 효율을 높일 수 있는 이점이 있다. In this way, the image comparison unit 125 compares the image data of the row format of the previous view with the image data of the current view and changes the pixel value corresponding to the pixel without movement into the pixel value of the image data of the previous view. By doing so, there is an advantage in that the compression efficiency at the time of image encoding in the signal processor 130 can be increased.

신호 처리부(130)는 이미지 비교부(125)로부터 입력된 영상 데이터를 미리 정해진 영상 포맷(예를 들어, MPEG-1, MPEG-2, MPEG-4, AVC, H.263, H.264, avi, divx 등) 으로 변환하여 제어부(150)로 전달한다. 즉, 신호 처리부(130)는 입력된 영상 데이터를 정해진 영상 포맷으로 부호화 또는 복호화(encoding or decoding)를 수행할 수 있다. 또한, 신호 처리부(130)는 영상을 확대, 축소, 로테이션(rotation) 등을 수행할 수도 있다. The signal processor 130 converts the image data input from the image comparator 125 into a predetermined image format (for example, MPEG-1, MPEG-2, MPEG-4, AVC, H.263, H.264, avi). , divx, etc.) to be transmitted to the controller 150. That is, the signal processor 130 may encode or decode the input image data in a predetermined image format. In addition, the signal processor 130 may enlarge, reduce, or rotate the image.

또한, 신호 처리부(130)는 제어부(150)의 제어에 의해 표시부(145)로 데이터를 출력하기 위해 YUV 형식의 영상 데이터를 RGB 형식으로 변환할 수도 있다. 예를 들어, 신호 처리부(130)는 하기 수학식 2를 이용하여 RGB 형식으로 영상 데이터를 변환할 수 있다. In addition, the signal processor 130 may convert the YUV format image data into the RGB format in order to output data to the display unit 145 under the control of the controller 150. For example, the signal processor 130 may convert image data in RGB format using Equation 2 below.

R = Y + 0.956U + 0.621V R = Y + 0.956U + 0.621V

G = Y + 0.272U + 0.647V G = Y + 0.272U + 0.647V

B = Y + 1.1061U + 1.703V B = Y + 1.1061U + 1.703 V

예를 들어, 표시부(145)를 데이터를 출력하기 위한 데이터 라인이 16비트 데이터 라인이라고 가정하면, 신호 처리부(130)는 YUV 영상 데이터를 각각 5비트, 6 비트, 5비트의 RGB 데이터로 변환하여 제어부(150)의 제어에 의해 표시부(145)로 전달하여 출력되도록 할 수도 있다.For example, assuming that the data line for outputting data to the display unit 145 is a 16-bit data line, the signal processor 130 converts YUV image data into 5-bit, 6-bit, and 5-bit RGB data, respectively. The control unit 150 may transmit the output to the display unit 145 under the control of the controller 150.

제2 저장부(135)는 본 발명에 따른 영상 촬영 장치(100)의 운용 프로그램, 미리 설정된 알고리즘 등이 저장된다. 여기서, 운용 프로그램은 영상 촬영 장치(100)의 전반적인 동작을 제어하기 위한 프로그램 및 영상 처리를 위한 프로그램뿐만이 아니라 프로그램들을 수행하는 도중에 발생되는 임시 데이터를 일시적으로 저장하는 기능도 수행할 수 있다. 또한, 제2 저장부(135)는 신호 처리부(130)에 의해 부호화된 영상 데이터를 저장할 수도 있다. The second storage unit 135 stores an operation program, a preset algorithm, and the like of the image capturing apparatus 100 according to the present invention. Here, the operation program may perform a function of temporarily storing temporary data generated while executing programs as well as a program for controlling the overall operation of the image capturing apparatus 100 and a program for image processing. In addition, the second storage unit 135 may store the image data encoded by the signal processing unit 130.

입력부(140)는 사용자로부터 본 발명에 따른 영상 촬영 장치(100)의 동작을 제어하기 위한 제어 명령, 파라미터 등을 입력받기 위한 수단이다. 예를 들어, 입력부는 하나 이상의 기능 키(예를 들어, 메뉴키, 확인키 등)로 구현되거나 터치 스크린 등의 형태로 구현될 수 있다. 예를 들어, 입력부(140)는 사용자로부터 영상 촬영 장치(100)의 모드 선택 명령(예를 들어, 인터뷰 모드 등)을 입력받아 제어부(150)로 전달할 수도 있다. The input unit 140 is a means for receiving a control command, a parameter, etc. for controlling the operation of the image capturing apparatus 100 according to the present invention from the user. For example, the input unit may be implemented as one or more function keys (for example, a menu key, a confirmation key, etc.) or may be implemented in the form of a touch screen. For example, the input unit 140 may receive a mode selection command (for example, an interview mode) of the image capturing apparatus 100 from the user and transmit the received mode selection command (eg, an interview mode) to the controller 150.

표시부(145)는 제어부(150)의 제어에 의해 영상 데이터, 문자 데이터, 숫자 데이터 등을 출력하는 수단으로 예를 들어, 액정화면(LCD : liquid crystal display)일 수 있다. The display unit 145 is a means for outputting image data, text data, numeric data, etc. under the control of the controller 150. For example, the display unit 145 may be a liquid crystal display (LCD).

제어부(150)는 본 발명에 따른 영상 촬영 장치(100)의 내부 구성 요소들(예를 들어, 이미지 센서(110), 이미지 신호 처리부(115), 저장부(), 입력부(140), 표시부(145) 등)을 제어하는 기능을 수행한다.The controller 150 may include internal components (eg, the image sensor 110, the image signal processor 115, the storage unit, the input unit 140, and the display unit) of the image capturing apparatus 100 according to the present invention. 145), etc.).

도 5는 본 발명의 바람직한 일 실시예에 따른 t시점의 영상 데이터를 저장하는 과정을 나타낸 순서도이며, 도 6은 본 발명의 바람직한 일 실시예에 따른 t시점의 영상 데이터와 t-1 시점의 영상 데이터를 비교하는 과정을 상세히 나타난 순서도이다. 이하에서는 제1 저장부(120)에 t-1시점의 영상 데이터가 t-2 시점의 영상 데이터와 각각의 픽셀의 밝기 성분 및 플래그 비트를 비교하여 변환되어 저장되어 있으며, 이미지 센서(110)를 통해 입력되는 영상은 t시점의 영상 데이터인 것으로 가정하여 설명하기로 한다. 또한, 영상 촬영 장치(100)에 구비된 기능 버튼을 통해 사용자로부터 선택 모드(예를 들어, 인터뷰모드)가 설정되어 이에 상응하는 어플리케이션이 구동중인 것을 가정하기로 한다. 5 is a flowchart illustrating a process of storing image data at time t according to an exemplary embodiment of the present invention, and FIG. 6 is image data at time t and an image at time t-1 according to an exemplary embodiment of the present invention. A flowchart detailing the process of comparing data. Hereinafter, the image data at time t-1 is converted and stored in the first storage unit 120 by comparing the image data at time t-2 with brightness components and flag bits of each pixel. It is assumed that the image input through the image data at time t will be described. In addition, it is assumed that a selection mode (for example, an interview mode) is set by a user through a function button provided in the image capturing apparatus 100, and an application corresponding thereto is running.

단계 510에서 이미지 센서(110)는 외부 영상을 촬상하여 영상 데이터를 생성하여 이미지 신호 처리부(115)로 전달한다.In operation 510, the image sensor 110 captures an external image, generates image data, and transmits the image data to the image signal processor 115.

예를 들어, 영상 촬영 장치(100)에 구비된 입력부(140)를 통해 사용자로부터 예를 들어 인터뷰 모드에 상응하는 모드 선택 명령을 입력받아 인터뷰 모드에 상응하여 동작하도록 기능이 설정되어 있다고 가정하자. For example, it is assumed that a function is set to receive a mode selection command corresponding to, for example, an interview mode from a user through the input unit 140 provided in the image capturing apparatus 100 and operate according to the interview mode.

이미지 센서(110)는 일정한 시간 간격으로 외부 영상을 촬상하여 영상 데이터를 생성하여 이미지 신호 처리부(115)로 전달할 수 있다. 상술한 바와 같이, 이미지 센서(110)는 RGB 형식의 영상 데이터를 이미지 신호 처리부(115)로 전달할 수 있다. 이하에서는 현재 시점에 이미지 센서(110)에 의해 촬상되어 생성된 영상 데이터를 t시점의 영상 데이터로 칭하기로 한다.The image sensor 110 may generate an image data by capturing an external image at regular time intervals and transmit the generated image data to the image signal processor 115. As described above, the image sensor 110 may transfer the image data in the RGB format to the image signal processor 115. Hereinafter, the image data captured and generated by the image sensor 110 at the present time will be referred to as image data at time t.

단계 515에서 이미지 신호 처리부(115)는 이미지 센서(110)로부터 입력된 RGB 형식의 영상 데이터를 에러 제거, 왜곡 보정 등의 전처리 과정을 수행하고 YUV 형식의 영상 데이터로 변환하여 이미지 비교부(125)로 전달한다.In operation 515, the image signal processor 115 performs pre-processing such as error elimination and distortion correction on the RGB format image data input from the image sensor 110, and converts the image data into YUV format image data. To pass.

예를 들어, 이미지 신호 처리부(115)가 밝기 성분(Y성분)을 예를 들어, 8비트로 저장한다고 가정하자. 그리고, 플래그 비트의 디폴트 값이 예를 들어, '0'이라고 가정하자. 이미지 신호 처리부(115)는 이미지 센서(110)로부터 입력된 RGB 형식의 영상 데이터를 YUV 형식의 영상 데이터로 변환한다. 여기서, 이미지 신호 처리부(115)는 밝기 성분(Y 성분)의 데이터 비트의 최하위 비트를 플래그 비트로 설정하고, 플래그 비트 이외의 7비트에 밝기 성분 값을 저장할 수 있다. 여기서, 플래그 비트는 해당 픽셀의 움직임 여부를 알려주는 정보 비트 일 수 있다. 도 4에 밝기 성분 데이터 형식이 예시되어 있다. For example, assume that the image signal processing unit 115 stores the brightness component (Y component) as, for example, 8 bits. And, assume that the default value of the flag bit is '0', for example. The image signal processor 115 converts the image data of the RGB format input from the image sensor 110 into the image data of the YUV format. Here, the image signal processor 115 may set the least significant bit of the data bit of the brightness component (Y component) as a flag bit, and store the brightness component value in seven bits other than the flag bit. Here, the flag bit may be an information bit indicating whether the corresponding pixel moves. The brightness component data format is illustrated in FIG. 4.

단계 520에서 이미지 비교부(125)는 제어부(150)의 제어에 의해 제1 저장부(120)로부터 t-1시점의 영상 데이터를 독출하여 이미지 신호 처리부(115)로부터 입력된 t시점의 영상 데이터를 비교하여 임계값 이상이면 t시점의 영상 데이터의 픽셀 값을 t-1시점의 영상 데이터의 픽셀 값으로 변경한다. In operation 520, the image comparator 125 reads image data at time t-1 from the first storage unit 120 under the control of the controller 150, and inputs image data at time t input from the image signal processor 115. If the comparison is greater than or equal to the threshold, the pixel value of the image data at time t is changed to the pixel value of the image data at time t-1.

우선, 이해와 설명의 편의를 위해, 도 6을 참조하여 이미지 비교부(125)의 동작과정에 대해 상세히 설명하기로 한다.First, for convenience of understanding and description, an operation process of the image comparison unit 125 will be described in detail with reference to FIG. 6.

여기서, 이미지 비교부(125)가 제1 저장부(120)로부터 독출한 t-1시점의 영상 데이터는 YUV 형식의 로우 데이터이며, 이미지 신호 처리부(115)로부터 입력된 t시점의 영상 데이터 또한 YUV 형식의 로우 데이터이다. 이미지 비교부(125)에서 비교하는 각각의 두 영상 데이터(즉, t-1시점의 영상 데이터와 t시점의 영상 데이터)는 각각 동일한 형식의 영상 데이터인 것으로 가정하기로 한다. 물론, 각각 상이한 형식일 수도 있으며, 이 경우 이미지 비교부(125)는 제어부(150)의 제어에 의해 동일한 영상 포맷으로 변환할 수도 있다. Here, the image data at time t-1 read by the image comparator 125 from the first storage unit 120 is YUV-type raw data, and the image data at time t input from the image signal processor 115 is also YUV. The raw data of the format. It is assumed that each of the two image data (that is, the image data at time t-1 and the image data at time t) that are compared by the image comparator 125 are image data of the same format. Of course, each may have a different format, and in this case, the image comparator 125 may convert the same image format under the control of the controller 150.

단계 610에서 이미지 비교부(125)는 t시점의 영상 데이터의 임의의 한 픽셀에 대한 밝기 성분 값과 t-1시점의 영상 데이터의 t시점의 영상 데이터의 픽셀과 동일한 위치의 픽셀에 대한 밝기 성분 값의 차이 값을 산출하여 절대값(이하에서는 "밝기 성분의 차이값"이라 칭하기로함)을 취한다. 그리고, 이미지 비교부(125)는 산출한 밝기 성분의 차이값이 정해진 임계값 이상이며, t-1시점의 영상 데이터의 해당 픽셀의 플래그 비트가 '0'인지 여부를 판단한다.In operation 610, the image comparator 125 may determine a brightness component value of any one pixel of the image data at time t and a brightness component of a pixel at the same position as the pixel of the image data at time t of the image data at time t-1. The difference value is calculated and the absolute value (hereinafter referred to as "difference value of brightness component") is taken. The image comparator 125 determines whether the calculated difference value of the brightness component is equal to or greater than a predetermined threshold value and the flag bit of the corresponding pixel of the image data at time t-1 is '0'.

만일, 밝기 성분의 차이값이 임계값 이상이며, 플래그 비트가 '0'이라면 단계 615에서 이미지 비교부(125)는 움직임이 있는 것으로 판단하여 해당 픽셀 값을 변경하지 않는다.If the difference between the brightness components is greater than or equal to the threshold and the flag bit is '0', the image comparator 125 determines that there is motion in step 615 and does not change the corresponding pixel value.

그러나 만일 밝기 성분의 차이값이 임계값 이상이며, 플래그 비트가 '0'이 아니면, 단계 620에서 이미지 비교부(125)는 밝기 성분의 차이값이 임계값 이상이며, 플래그 비트가 '1'인지 여부를 판단한다.However, if the difference value of the brightness component is greater than or equal to the threshold value and the flag bit is not '0', the image comparator 125 determines whether the difference value of the brightness component is greater than or equal to the threshold value and the flag bit is '1' in step 620. Determine whether or not.

만일, 밝기 성분의 차이값이 임계값 이상이며, 플래그 비트가 '1'이라면 단계 625에서 이미지 비교부(125)는 움직임이 있는 것으로 판단하여 t시점의 영상 데이터의 해당 픽셀 값을 변경하지 않는다.If the difference between the brightness components is greater than or equal to the threshold and the flag bit is '1', the image comparator 125 determines that there is motion in step 625 and does not change the corresponding pixel value of the image data at time t.

그러나, 만일 밝기 성분의 차이값이 임계값 이상이며, 플래그 비트가 '1'이 아니라면, 단계 630에서 이미지 비교부(125)는 밝기 성분의 차이값이 임계값 미만이고 플래그 비트가 '0'인지 여부를 판단한다.However, if the difference value of the brightness component is greater than or equal to the threshold and the flag bit is not '1', the image comparator 125 determines whether the difference value of the brightness component is less than the threshold and the flag bit is '0' in step 630. Determine whether or not.

만일, 밝기 성분의 차이값이 임계값 미만이고, 플래그 비트가 '0'이라면, 단계 635에서 이미지 비교부(125)는 움직임이 없는 것으로 판단하여 t시점의 영상 데이터의 해당 픽셀 값 중 밝기 성분의 데이터 값은 변경하지 않으며, 움직임이 없으므로 이에 상응하여 플래그 비트를 '1'로 변경한다. If the difference value of the brightness component is less than the threshold value and the flag bit is '0', the image comparator 125 determines that there is no motion in step 635 and determines that the brightness component of the corresponding pixel value of the image data at time t is not present. The data value does not change, and since there is no movement, the flag bit is changed to '1' accordingly.

그러나, 만일 밝기 성분의 차이값이 임계값 미만이고, 플래그 비트가 '0'이라면, 단계 640에서 이미지 비교부(125)는 밝기 성분의 차이값이 임계값 미만이고, 플래그 비트가 '1'인지 여부를 판단한다. However, if the difference value of the brightness component is less than the threshold value and the flag bit is '0', the image comparator 125 determines whether the difference value of the brightness component is less than the threshold value and the flag bit is '1' in step 640. Determine whether or not.

만일 밝기 성분의 차이값이 임계값 미만이고 플래그 비트가 '1'이라면, 단계 645에서 이미지 비교부(125)는 t시점의 영상 데이터의 해당 픽셀은 움직임이 없는 것으로 판단하여 t-1시점의 영상 데이터의 밝기 성분값으로 변경한다. 그리고, 플래그 비트도 '1'로 설정하여 움직임이 없음을 인식하도록 할 수 있다. If the difference value of the brightness component is less than the threshold value and the flag bit is '1', the image comparator 125 determines that the corresponding pixel of the image data at time t has no motion at step 645 and the image at time t-1 Change the value of the data's brightness component. The flag bit may also be set to '1' to recognize that there is no motion.

결과적으로 플래그 비트를 사용함으로써, t시점의 영상 데이터는 한번의 비교로 2프레임(frame) 영상 데이터를 비교하는 것과 동일한 효과를 보이게 된다. 이와 같이, 한 프레임의 영상 데이터에 움직임에 상응하는 정보 비트인 플래그 비트를 추가함으로써, 한 프레임의 영상 데이터와 비교함으로써 두 프레임의 영상 데이터와 비교하는 것과 같은 효과를 얻을 수 있다. 또한, 제1 저장부(120)는 한 프레임의 영상 데이터만을 저장할 수 있는 저장 공간만을 필요로 하므로(즉, t시점의 영상 데이터 측면에서 t-2시점의 영상 데이터를 제1 저장부(120)에 저장할 필요가 없으므로) 저장 공간을 효율적으로 사용할 수 있으며, 저장 공간을 줄일 수 있는 이점이 있다. As a result, by using the flag bit, the image data at time t has the same effect as comparing two frame image data in one comparison. In this way, by adding flag bits, which are information bits corresponding to motion, to image data of one frame, the same effect as that of image data of two frames can be obtained by comparing with image data of one frame. In addition, since the first storage unit 120 needs only a storage space capable of storing only one frame of image data (that is, the first storage unit 120 stores the image data at time t-2 in view of the image data at time t). Since there is no need to store in the storage space can be used efficiently, there is an advantage to reduce the storage space.

다시 도 5를 참조하여 단계 525에서 이미지 비교부(125)는 t시점의 영상 데이터와 t-1시점의 영상 데이터의 밝기 성분의 차이값을 산출하여 정해진 임계값과 비교하여 움직임이 있는지 여부를 판단한다.Referring to FIG. 5 again, in step 525, the image comparator 125 calculates a difference value between the brightness components of the image data at time t and the image data at time t-1 and compares it with a predetermined threshold to determine whether there is motion. do.

만일 움직임이 없다고 판단되면, 단계 530에서 이미지 비교부(125)는 t시점의 영상 데이터의 픽셀 값을 t-1 시점의 영상 데이터의 픽셀 값으로 변경할 수 있다.If it is determined that there is no motion, the image comparator 125 may change the pixel value of the image data at time t to the pixel value of the image data at time t-1 in step 530.

그러나 만일 움직임이 있다고 판단되면, t시점의 영상 데이터를 변경하지 않으며 단계 535로 진행한다. However, if it is determined that there is motion, the process proceeds to step 535 without changing the image data at time t.

단계 535에서 이미지 비교부(125)는 t시점의 영상 데이터와 t-1시점의 영상 데이터의 모든 픽셀들에 대해서 밝기 성분의 차이값을 산출하여 정해진 임계값과 비교하였는지 판단한다.In operation 535, the image comparator 125 calculates a difference between brightness components of all pixels of the image data at time t and the image data at time t-1 and compares the result with a predetermined threshold.

만일 모든 픽셀들에 대해 비교하였다면, 단계 540에서 이미지 비교부(125)는 변경된 t시점의 영상 데이터를 제1 저장부(120)에 일시적으로 저장하고 신호 처리부(130)로 전달한다. 이미지 비교부(125)로부터 t시점의 영상 데이터를 입력받은 신호 처리부(130)는 정해진 영상 압축 부호화 알고리즘을 이용하여 영상 데이터를 부호화한다. 물론, 동영상 파일인 경우, 신호 처리부(130)는 모든 프레임을 입력받은 후 영상 데이터를 압축할 수도 있다. 그리고, 신호 처리부(130)는 정해진 알고리즘(예를 들어, H.263, MPEG-4등)에 의해 압축 부호화된 영상 데이터를 제어부 (150)를 통해 제2 저장부(135)에 저장할 수 있다. 그리고, 사용자에 의해 해당 동영상 파일의 재생에 상응하는 명령이 입력부(140)를 통해 입력되면, 제어부(150)의 제어에 의해 제2 저장부(135)로부터 해당 영상 데이터를 독출하여 신호 처리부(130)를 통해 정해진 알고리즘(예를 들어, H.263, MPEG-4)에 의해 복호화하여 제어부(150)의 제어에 의해 표시부(145)로 전달하여 출력되도록 할 수 있다.If all the pixels have been compared, the image comparator 125 temporarily stores the changed image data at time t in the first storage unit 120 and transmits the image data to the signal processor 130 at step 540. The signal processor 130 receiving the image data at time t from the image comparator 125 encodes the image data using a predetermined image compression encoding algorithm. Of course, in the case of a video file, the signal processor 130 may compress the image data after receiving all the frames. The signal processor 130 may store the image data compression-coded by a predetermined algorithm (eg, H.263, MPEG-4, etc.) in the second storage unit 135 through the controller 150. When a command corresponding to reproduction of the corresponding video file is input by the user through the input unit 140, the corresponding image data is read from the second storage unit 135 under the control of the controller 150, and the signal processor 130 is read. ) Can be decoded by a predetermined algorithm (eg, H.263, MPEG-4) and transmitted to the display unit 145 under the control of the controller 150 to be output.

예를 들어, 표시부(145)로 데이터를 출력하기 위한 데이터 라인이 16비트 데이터 라인인 경우, 신호 처리부(130)는 제2 저장부(135)로부터 독출되어 입력된 영상 데이터를 복호화하여 각각 5비트, 6비트, 5비트의 RGB 신호로 변환하여 제어부(150)의 제어에 의해 표시부(145)로 전달하여 출력되도록 할 수 있다. For example, when the data line for outputting data to the display unit 145 is a 16-bit data line, the signal processor 130 decodes the input image data read and input from the second storage unit 135 and each 5 bits. , 6-bit and 5-bit RGB signals may be converted and output to the display unit 145 under the control of the controller 150.

그러나 만일 모든 픽셀들에 대해 비교하지 않았다면, 단계 525 내지 단계 535를 반복 수행한다.However, if all the pixels have not been compared, repeat steps 525 to 535.

상술한 바와 같이, 본 발명에 따른 영상 촬영 장치 및 저장 방법을 제공함으로써, 촬영된 영상 데이터의 시간적인 움직임 예측 효율을 높일 수 있는 효과가 있다. As described above, by providing the image capturing apparatus and the storage method according to the present invention, it is possible to increase the temporal motion prediction efficiency of the captured image data.

또한, 본 발명은 영상 압축률을 높여 저장 공간에 더 많은 영상 데이터를 저장할 수 있는 효과도 있다.In addition, the present invention has the effect of increasing the image compression ratio to store more image data in the storage space.

또한, 본 발명은 움직임 벡터(motion vector)의 값 및 이전 영상 데이터와의 차이를 최소가 되게 할 수 있는 효과도 있다.In addition, the present invention has the effect of minimizing the difference between the value of the motion vector and the previous image data.

본 발명의 또 다른 목적은 한 프레임의 영상 데이터의 비교로 두 프레임의 영상 데이터를 비교한 것과 동일한 효과를 갖을 수 있다.Still another object of the present invention may have the same effect as comparing image data of two frames by comparing image data of one frame.

상기에서는 본 발명의 바람직한 실시예를 참조하여 설명하였지만, 해당 기술 분야에서 통상의 지식을 가진 자라면 하기의 특허 청구의 범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.Although the above has been described with reference to a preferred embodiment of the present invention, those skilled in the art to which the present invention pertains without departing from the spirit and scope of the present invention as set forth in the claims below It will be appreciated that modifications and variations can be made.

Claims (7)

카메라를 구비한 영상 촬영 장치에 있어서,In the video photographing device having a camera, t-1시점의 영상 데이터를 저장하고 있는 저장부;a storage unit which stores image data at time t-1; 외부 영상에 상응하는 빛을 결상하여 t시점의 영상 데이터를 생성하는 이미지 센서; 및An image sensor which forms image data corresponding to an external image to generate image data at time t; And 상기 t시점의 영상 데이터와 t-1시점의 영상 데이터를 임의의 픽셀의 밝기 성분에 대한 차이값을 산출하고, 밝기 성분의 차이값이 임계값 미만이며, 상기 t-1시점의 영상 데이터의 픽셀의 플래그 비트가 '1'이면 움직임이 없는 것으로 판단하여 t시점의 영상 데이터의 픽셀값을 t-1시점의 영상 데이터의 픽셀값으로 변환하는 이미지 비교부를 포함하는 영상 촬영 장치.The difference value of the brightness component of any pixel is calculated from the image data at time t and the image data at time t-1, and the difference value of the brightness component is less than a threshold value, and the pixel of the image data at time t-1 And an image comparison unit for determining that there is no motion when the flag bit of the flag bit is '1' and converting the pixel value of the image data at time t into the pixel value of the image data at time t-1. 제1 항에 있어서,According to claim 1, 상기 영상 데이터는 로우 포맷(raw format)의 YUV 형식의 영상 데이터이며, 상기 영상 데이터의 밝기 성분의 최하위 비트는 상기 플래그 비트인 영상 촬영 장치.And the image data is YUV format image data in a raw format, and the least significant bit of the brightness component of the image data is the flag bit. 제2 항에 있어서,The method of claim 2, 상기 플래그 비트는 픽셀의 움직임 여부를 알려주는 정보 비트인 영상 촬영 장치.And the flag bit is an information bit indicating whether a pixel moves. 제1 항에 있어서,According to claim 1, 상기 영상 데이터를 YUV 형식의 영상 데이터로 변환하며, 상기 변환된 영상 데이터의 밝기 성분을 저장하는 데이터 비트열의 최하위 비트를 플래그 비트로 설정하는 이미지 신호 처리부를 더 포함하는 영상 촬영 장치.And an image signal processor configured to convert the image data into image data in a YUV format, and set a least significant bit of a data bit string that stores brightness components of the converted image data as flag bits. 카메라를 구비한 영상 촬영 장치에서 t시점의 영상 데이터를 획득하여 보정 하는 방법에 있어서,Claims [1] A method of acquiring and correcting image data at time t in a video photographing apparatus having a camera, the method comprising: (a) 외부 영상에 상응하는 빛을 결상하여 상기 t시점의 영상 데이터를 생성하는 단계;(a) forming image data corresponding to an external image by generating light corresponding to an external image; (b) 기저장된 t-1 시점의 영상 데이터를 독출하는 단계;(b) reading previously stored image data of a time point t-1; (c) 상기 t시점의 영상 데이터와 상기 t-1시점의 영상 데이터의 임의의 픽셀의 밝기 성분의 차이값을 산출하는 단계;(c) calculating a difference value between brightness components of any pixel of the image data at time t and the image data at time t-1; (d) 상기 밝기 성분의 차이값을 임계값과 비교하여 움직임이 있는지 여부를 판단하는 단계; 및(d) comparing the difference between the brightness components with a threshold to determine whether there is motion; And (e) 움직임이 없다고 판단되면, 상기 t시점의 영상 데이터의 픽셀값을 상기 t-1시점의 영상 데이터의 픽셀값으로 변환하는 단계를 포함하는 획득 영상 보정 방법.and (e) if it is determined that there is no motion, converting the pixel value of the image data at time t to the pixel value of the image data at time t-1. 제5 항에 있어서,The method of claim 5, 상기 (d) 단계는 상기 밝기 성분의 차이값이 임계값 이상인지 여부를 판단하는 단계; 및Step (d) may include determining whether a difference value of the brightness components is greater than or equal to a threshold value; And 상기 픽셀의 플래그 비트를 추출하여 분석하는 단계를 더 포함하는 획득 영상 보정 방법.And extracting and analyzing flag bits of the pixel. 제5 항에 있어서,The method of claim 5, 상기 영상 데이터를 YUV 형식의 영상 데이터로 변환하는 단계; 및Converting the image data into image data in YUV format; And 상기 변환된 영상 데이터의 밝기 성분의 데이터 비트열의 최하위 비트를 플래그 비트로 설정하는 단계를 더 포함하는 획득 영상 보정 방법.And setting a least significant bit of a data bit string of the brightness component of the converted image data as a flag bit.
KR1020050133374A 2005-12-29 2005-12-29 Imaging device and image correcting method KR100771138B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050133374A KR100771138B1 (en) 2005-12-29 2005-12-29 Imaging device and image correcting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050133374A KR100771138B1 (en) 2005-12-29 2005-12-29 Imaging device and image correcting method

Publications (2)

Publication Number Publication Date
KR20070070626A KR20070070626A (en) 2007-07-04
KR100771138B1 true KR100771138B1 (en) 2007-10-29

Family

ID=38505898

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050133374A KR100771138B1 (en) 2005-12-29 2005-12-29 Imaging device and image correcting method

Country Status (1)

Country Link
KR (1) KR100771138B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101391024B1 (en) * 2007-12-28 2014-04-30 삼성전자주식회사 Method for managing camera settings and apparatus for the same

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030025026A (en) * 2001-09-19 2003-03-28 전자부품연구원 Method and apparatus for detecting the motion of a subject from compressed data using a wavelet algorithm
KR20050051575A (en) * 2003-11-27 2005-06-01 소니 가부시끼 가이샤 Photographing apparatus and method, supervising system, program and recording medium
KR20050065104A (en) * 2003-12-24 2005-06-29 엘지전자 주식회사 Image error concealment apparatus and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030025026A (en) * 2001-09-19 2003-03-28 전자부품연구원 Method and apparatus for detecting the motion of a subject from compressed data using a wavelet algorithm
KR20050051575A (en) * 2003-11-27 2005-06-01 소니 가부시끼 가이샤 Photographing apparatus and method, supervising system, program and recording medium
KR20050065104A (en) * 2003-12-24 2005-06-29 엘지전자 주식회사 Image error concealment apparatus and method

Also Published As

Publication number Publication date
KR20070070626A (en) 2007-07-04

Similar Documents

Publication Publication Date Title
JP4321496B2 (en) Image data processing apparatus, image data processing method and program
US8428120B2 (en) Method and apparatus of Bayer pattern direct video compression
US8538174B2 (en) Image processing device
JP4799438B2 (en) Image recording apparatus, image recording method, image encoding apparatus, and program
JP4194479B2 (en) Image processing apparatus and method, computer program, and computer-readable storage medium
JPWO2010004726A1 (en) Image encoding method, image decoding method, image encoding device, image decoding device, program, and integrated circuit
JP4360416B2 (en) Image compression method, image compression apparatus, and program
US11336896B2 (en) Image encoding apparatus and image decoding apparatus, methods of controlling the same, and non-transitory computer-readable storage medium
US8488892B2 (en) Image encoder and camera system
KR101248902B1 (en) Image processing apparatus and method having function of image correction based on luminous intensity around
US8189102B2 (en) Image processing apparatus using interpolation direction
JP2023052939A (en) Coding device, decoding device, coding method, decoding method, coding program, and decoding program
KR100771138B1 (en) Imaging device and image correcting method
JP6152642B2 (en) Moving picture compression apparatus, moving picture decoding apparatus, and program
JP5165084B2 (en) Image encoding device
JP2017200199A (en) Video compression device, video decoding device, and program
WO2016047250A1 (en) Signal processing apparatus, imaging apparatus and signal processing method
JP5924262B2 (en) Image processing apparatus and image processing program
JP6066583B2 (en) Moving picture coding apparatus and moving picture coding method
JP2018191136A (en) Encoding device, encoding method and program
KR100715512B1 (en) Apparatus for image processing and method thereof
JP2023030585A (en) Image encoder, method and program
JP2019036992A (en) Compressor, decoder, and program
JP2012222460A (en) Moving image encoding apparatus, moving image encoding method, and program
JP2014150302A (en) Dynamic image encoding device and 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: 20121011

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20130926

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20140929

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20151001

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20181001

Year of fee payment: 12