KR101643773B1 - Apparatus and method for improving quality of preview image - Google Patents

Apparatus and method for improving quality of preview image Download PDF

Info

Publication number
KR101643773B1
KR101643773B1 KR1020090119179A KR20090119179A KR101643773B1 KR 101643773 B1 KR101643773 B1 KR 101643773B1 KR 1020090119179 A KR1020090119179 A KR 1020090119179A KR 20090119179 A KR20090119179 A KR 20090119179A KR 101643773 B1 KR101643773 B1 KR 101643773B1
Authority
KR
South Korea
Prior art keywords
sub
sampling
frame
image
preview image
Prior art date
Application number
KR1020090119179A
Other languages
Korean (ko)
Other versions
KR20110062448A (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 KR1020090119179A priority Critical patent/KR101643773B1/en
Publication of KR20110062448A publication Critical patent/KR20110062448A/en
Application granted granted Critical
Publication of KR101643773B1 publication Critical patent/KR101643773B1/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

Abstract

본 발명은 프리뷰용 영상의 화질을 개선하기 위한 방법을 제안한다. 이를 위해 본 발명은 프레임 단위로 영상이 입력되면, 입력되는 프레임마다 서브 샘플링 시작점이 다른 베이터 패턴을 선택하는 서브 샘플링을 수행하고, 서브 샘플링된 각각의 프레임 간의 상관 관계(correlation)를 맞추어 프리뷰 영상을 생성하고, 생성된 프리뷰 영상을 순차적으로 디스플레이한다. 이렇게 함으로써 샘플링 비율을 높게 설정해야 하는 경우 프리뷰 영상에서 발생하는 엘리어싱 현상 및 해상도 저하 현상을 개선할 수 있게 된다.The present invention proposes a method for improving the image quality of a preview image. For this purpose, according to the present invention, when an image is input in units of frames, sub-sampling is performed to select a different pattern of a bait pattern having a different starting point of each sub-sampling for each frame to be input. Correlation between sub- And sequentially displays the generated preview images. By doing this, if the sampling rate is set high, it is possible to improve the aliasing phenomenon and the resolution deterioration occurring in the preview image.

서브 샘플링, 프리뷰 Subsampling, preview

Description

프리뷰 영상의 화질을 개선하기 위한 장치 및 방법{APPARATUS AND METHOD FOR IMPROVING QUALITY OF PREVIEW IMAGE}[0001] APPARATUS AND METHOD FOR IMPROVING QUALITY OF PREVIEW IMAGE [0002]

본 발명은 화질 개선 장치 및 방법에 관한 것으로, 특히 프리뷰 영상의 화질을 개선하기 위한 장치 및 방법에 관한 것이다. The present invention relates to an image quality improving apparatus and method, and more particularly, to an apparatus and method for improving the quality of a preview image.

일반적으로 카메라, 캠코더, 웹캠 등과 같은 영상 기기에서는 이미지 센서가 장착되며, 그 이미지 센서는 시야에 전개되는 영상을 촬영하여 전기적 신호로 변환하고 그 변환된 영상 신호를 디지털 신호로 바꾸어 전송한다. 이러한 이미지 센서를 통해 출력되는 영상 신호는 레드(Red), 그린(Green), 블루(Blue)의 삼색 컬러 영상 데이터이며, 그 영상 데이터는 디스플레이부를 통해 디스플레이된다. 이러한 영상 기기에 적용되는 이미지 센서는 해상도를 낮추어 풀 프레임(full frame) 영상 신호를 출력하는 서브 샘플링 모드 동작을 수행할 수 있다. 이러한 서브 샘플링 모드는 영상을 촬영하기 이전에 미리 확인하는 프리뷰(preview) 단계 등 고해상도로 디스플레이할 필요없는 단계에서 빠른 신호 처리를 위하여 수행된다. 2. Description of the Related Art In general, an image sensor such as a camera, a camcorder, a webcam, etc. is equipped with an image sensor. The image sensor captures an image developed in the visual field, converts the image into an electrical signal, and converts the converted image signal into a digital signal. The image signal output through the image sensor is three color image data of red, green, and blue, and the image data is displayed through the display unit. An image sensor applied to such an image device can perform a sub-sampling mode operation for outputting a full frame image signal with a reduced resolution. This sub-sampling mode is performed for fast signal processing at a high-resolution display-free stage, such as a preview step for confirming the image before capturing the image.

이러한 서브 샘플링 모드에서는 서브 샘플링을 위하여 일정 간격으로 떨어져있는 특정 행(row) 및 열(column)의 픽셀만을 선택함으로써 해상도를 낮춘다. 예를 들어, 도 1을 참조하면, 도 1에서는 복수개의 베이어 패턴(140)으로 구성된 프레임 영상을 예시하고 있으며, 종래의 프리뷰 영상을 생성하기 위한 서브샘플링 방법을 설명하면 다음과 같다. In this sub-sampling mode, resolution is reduced by selecting only pixels of a specific row and column spaced apart at regular intervals for subsampling. For example, referring to FIG. 1, a frame image composed of a plurality of Bayer patterns 140 is illustrated in FIG. 1, and a subsampling method for generating a conventional preview image will be described.

이러한 도 1에 도시된 바와 같이, n×m 픽셀에서 가로 및 세로 방향에 대해 1/4 해상도로 샘플링하는 경우 그 영상은 4개의 서브윈도우(100,110,120,130)로 분할되어, 그 서브윈도우(100,110,120,130)마다 하나씩의 베이어 패턴(140,150,160,170)이 선택된다. 이러한 영상은 하나의 행에 R(Red), G(Green) 2가지 컬러의 패턴 및 다른 행에 G(Green), B(Blue) 2가지 컬러의 패턴이 반복적으로 배치되는 베이어(Bayer) 패턴을 가진다. 이와 같이 가로 방향 및 세로 방향에서 교차되는 하나의 베이어 패턴만을 선택하고 나머지는 제거하여 해상도를 축소시키며, 이에 따라 처리되는 데이터량을 줄일 수 있다. 이와 같은 서브 샘플링의 경우 모든 프레임에 대해 항상 같은 픽셀 데이터만 선택하여 사용한다. 이에 따라 이미지 센서에서 샘플링되는 공간 주파수는 항상 동일하다.As shown in FIG. 1, in the case of sampling at a resolution of 1/4 with respect to the horizontal and vertical directions in an n × m pixel, the image is divided into four sub windows 100, 110, 120 and 130, Bayer patterns 140, 150, 160, and 170 are selected. Such an image has a Bayer pattern in which two patterns of R (Red) and G (Green) are arranged in one row and two patterns of G (Green) and B I have. As described above, only one Bayer pattern that intersects in the horizontal direction and the vertical direction is selected, and the rest is removed to reduce the resolution, thereby reducing the amount of data to be processed. In the case of such a sub-sampling, only the same pixel data is always selected for all the frames. Accordingly, the spatial frequency sampled by the image sensor is always the same.

종래의 서브 샘플링 모드에서, 서브 샘플링을 위하여 특정 행 및 열의 픽셀만 이용되며, 처리되는 데이터량은 줄일 수 있으나 이용되지 않고 버려지는 픽셀이 다수 존재하므로 디스플레이되는 영상에서 선 등의 부분이 계단 형태로 나타나는 엘리어싱(aliasing) 문제가 크게 발생한다. 또한 서브샘플링을 하지 않거나 샘플링 비율이 낮은 경우에는 문제가 되지 않지만 샘플링 비율이 높아지는 경우 공간주파수가 낮아져 프리뷰 영상 내에서 계단 현상 및 해상도 저하 현상이 심각해진다. 이에 따라 샘플링 비율을 높게 설정해야 하는 경우 프리뷰 영상에서 발생하는 계단 현상 및 해상도 저하 현상을 개선할 수 있는 방법이 요구된다. In the conventional sub-sampling mode, only pixels of a specific row and column are used for sub-sampling, and the amount of processed data can be reduced. However, since there are many unused pixels that are discarded, There is a significant aliasing problem that occurs. If the sampling rate is low, the spatial frequency becomes low, and the step phenomenon and resolution degradation become serious in the preview image. Accordingly, if a high sampling rate is required, there is a need for a method capable of improving a step phenomenon and a resolution degradation occurring in a preview image.

따라서 본 발명은 서브 샘플링 모드에서 프리뷰 영상의 화질을 개선하기 위한 장치 및 방법을 제공한다. Accordingly, the present invention provides an apparatus and method for improving the quality of a preview image in a sub-sampling mode.

상기한 바를 달성하기 위한 본 발명은, 영상 기기에서 프리뷰 영상의 화질을 개선하기 위한 방법에 있어서, 입력 영상의 n번째 프레임에 대해 서브 윈도우마다 기본 베이어 패턴을 선택하는 서브 샘플링을 수행하는 과정과, 상기 입력 영상의 n+1번째 프레임에 대해 서브 윈도우마다 최초 서브 샘플링 시작점을 기준으로 미리 정해진 정수만큼 쉬프트한 서브 샘플링 시작점을 기준으로 기본 베이어 패턴을 선택하는 서브 샘플링을 수행하는 과정과, 상기 서브 샘플링된 각 프레임을 이용하여 프리뷰 영상을 생성하는 과정을 포함함을 특징으로 한다.According to another aspect of the present invention, there is provided a method for improving the quality of a preview image in a video device, the method comprising: performing subsampling for selecting a basic Bayer pattern for each subwindow of an n-th frame of an input video; Sampling sub-sampling based on a sub-sampling start point shifted by a predetermined integer with respect to an (n + 1) th frame of the input image with respect to an initial sub-sampling starting point for each sub-window; And generating a preview image using each frame.

또한 본 발명은, 프리뷰 영상의 화질을 개선하기 위한 영상 기기에 있어서, 입력 영상의 n번째 프레임에 대해 서브 윈도우마다 기본 베이어 패턴을 선택하는 서브 샘플링을 수행하고, 상기 입력 영상의 n+1번째 프레임에 대해 서브 윈도우마다 최초 서브 샘플링 시작점을 기준으로 미리 정해진 정수만큼 쉬프트한 서브 샘플링 시작점을 기준으로 기본 베이어 패턴을 선택하는 서브 샘플링을 수행하는 서브 샘플링부와, 상기 서브 샘플링된 각 프레임을 이용하여 프리뷰 영상을 생성하는 영상 신호 처리부를 포함함을 특징으로 한다.The present invention also provides a video apparatus for improving the quality of a preview image, comprising: a sub-sampling unit for performing sub-sampling for selecting a basic Bayer pattern for each sub window for an n-th frame of an input video, A sub-sampling unit for performing sub-sampling for each sub-window to select a basic Bayer pattern based on a sub-sampling starting point shifted by a predetermined integer on the basis of an initial sub-sampling starting point; And an image signal processor for generating an image.

본 발명에 따르면, 샘플링 비율을 높게 설정해야 하는 경우 엘리어싱 문제가 개선되는 이점이 있다. 이에 따라 프리뷰용 영상의 화질을 개선시킬 수 있는 효과가 있다. According to the present invention, there is an advantage that the problem of aliasing is improved when a high sampling rate is required. Thereby, the image quality of the preview image can be improved.

이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일실시예를 상세히 설명한다. 또한, 본 발명을 설명함에 있어서, 관련된 공지기능 혹은 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그 상세한 설명은 생략한다.Hereinafter, a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings. In the following description of the present invention, a detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention rather unclear.

본 발명은 프리뷰용 영상의 화질을 개선하기 위한 방법을 제안한다. 이를 위해 본 발명은 프레임 단위로 영상이 입력되면, 입력되는 프레임마다 서브 샘플링 시작점이 다른 베이어 패턴을 선택하는 서브 샘플링을 수행하고, 서브 샘플링된 각각의 프레임 간의 상관 관계(correlation)를 맞추어 프리뷰 영상을 생성하고, 생성 된 프리뷰 영상을 순차적으로 디스플레이한다. 이렇게 함으로써 샘플링 비율을 높게 설정해야 하는 경우 프리뷰 영상에서 발생하는 엘리어싱 현상 및 해상도 저하 현상을 개선할 수 있게 된다.The present invention proposes a method for improving the image quality of a preview image. To this end, according to the present invention, when an image is input on a frame basis, sub-sampling is performed to select a Bayer pattern having a different starting point of sub-sampling for each frame to be input, and a correlation between the sub- And sequentially displays the generated preview images. By doing this, if the sampling rate is set high, it is possible to improve the aliasing phenomenon and the resolution deterioration occurring in the preview image.

상기한 바와 같은 기능이 구현된 영상 기기에서 프리뷰 영상의 화질 개선을 위한 방법을 살펴보기 위해 도 2를 참조한다. 도 2는 본 발명의 실시예에 따른 프리뷰 화질 개선을 위한 영상 기기의 내부 블록 구성도이다. 여기서, 영상 기기에는 카메라, 캠코더, 웹캠 등을 예로 들 수 있다. Referring to FIG. 2, a method for improving the quality of a preview image in a video apparatus having the above-described functions will be described. 2 is a block diagram of an internal block of a video apparatus for improving preview quality according to an embodiment of the present invention. Here, examples of the video device include a camera, a camcorder, a webcam, and the like.

먼저, 영상 기기에서 영상이 입력되면, 프리뷰 영상의 디스플레이를 위해 입력된 영상은 프레임 단위로 서브 샘플링부(200)로 전달된다. 서브 샘플링부(200)는 프리뷰 영상을 위해 입력 영상에 대해 필요한 픽셀 데이터만 선택하고 나머지는 삭제하는 방법으로 서브 샘플링을 수행한다. First, when an image is input from a video device, an input image for displaying a preview image is transmitted to the sub-sampling unit 200 on a frame-by-frame basis. The subsampling unit 200 performs sub-sampling by selecting only necessary pixel data for the input image and deleting the remaining pixel data for the preview image.

본 발명의 실시예에 따르면, 서브 샘플링부(200)는 n번째 프레임에서는 a행 및 b열 즉, (a, b) 위치를 기준으로 각 서브 윈도우마다 하나씩의 기본 베이어(Bayer) 패턴을 선택하고, n+1번째 프레임에서는 (a, b) 위치를 기준으로 k1열 및 k2행만큼 쉬프트한 (a + k1, b + k2) 위치를 기준으로 각 서브 윈도우마다 하나씩의 기본 베이어 패턴을 선택한다. 이때, k1과 k2는 정수이며, 동일한 값일 수 있다. According to the embodiment of the present invention, the sub-sampling unit 200 selects a basic Bayer pattern for each sub-window based on the positions of the rows a and b, i.e., (a, b) (a + k1, b + k2) shifted by k1 column and k2 row with respect to the (a, b) position in the (n + 1) th frame. At this time, k1 and k2 are integers and can be the same value.

그리고나서 n+2번째 프레임 이하에는 n번째 프레임 및 n+1번째 프레임에서와 같은 위치를 기준으로 서브 샘플링을 수행하는 과정을 반복할 수 있다. 다르게는 n+2번째 프레임에서는 (a + k3, b + k4) 위치를 기준으로 하는 등 시작점을 일정하 게 쉬프트하여 서브 샘플링을 수행할 수 있다. 이와 같이 서브 샘플링부(200)는 미리 정해진 샘플링 비율(x)로 서브 샘플링을 수행한다. 여기서 베이어 패턴이란, 하나의 행에 R(Red), G(Green) 2가지 컬러의 패턴 및 다른 행에 G(Green), B(Blue) 2가지 컬러의 패턴이 반복적으로 배치되는 패턴을 말하며, 이러한 베이어 패턴에서 기본 베이어 패턴은 제1행(row)은 G, R 픽셀이 배열되며 제2행은 B, G 픽셀이 배열된 4개의 픽셀 데이터를 의미한다. Subsequently, the process of performing sub-sampling on the basis of the same position as that in the n-th frame and the (n + 1) -th frame may be repeated for the (n + 2) Alternatively, sub sampling may be performed by shifting the starting point constantly, for example, with reference to (a + k3, b + k4) in the (n + 2) th frame. In this way, the subsampling unit 200 performs subsampling with a predetermined sampling rate x. Here, the Bayer pattern refers to a pattern in which two patterns of R (Red) and G (Green) are arranged in one row and two patterns of G (Green) and B (Blue) are repeatedly arranged in another row. In this Bayer pattern, the basic Bayer pattern means four pixel data in which G and R pixels are arranged in a first row and B and G pixels are arranged in a second row.

이렇게 서브 샘플링된 각각의 영상의 화소값에는 내부적인 요인 또는 외부적인 요인으로 인해 노이즈가 포함되어 있고, 이 노이즈를 포함한 화소값을 이용하여 프리뷰 영상을 생성할 경우 실제 촬영 영상과는 차이가 있을 수 있으므로 보정이 되어야 한다. 이에 따라 상관 이중 샘플링부(Correlated Double Sampling: CDS)(210)에서는 서브 샘플링된 영상 즉, 선택된 기본 베이어 패턴에 대해 노이즈를 제거한다. 이와 같이 프레임 간 관계로부터 노이즈 리덕션(Noise Reduction)을 통해 깜빡임(flicker) 현상을 개선할 수 있다. The pixel value of each sub-sampled image includes noise due to an internal factor or an external factor, and when a preview image is generated using the pixel value including the noise, there may be a difference between the pixel value of the sub- Therefore, calibration should be done. Accordingly, the correlated double sampling (CDS) 210 removes noise from the sub-sampled image, i.e., the selected basic Bayer pattern. In this manner, it is possible to improve the flicker phenomenon through the noise reduction from the inter-frame relationship.

이렇게 노이즈가 제거된 영상의 각 기본 베이어 패턴은 아날로그 디지털 변환기(Analog Digital Converter: ADC)(220)에 의해 디지털 데이터로 변환된다. 그리고나서 디지털 데이터로 변환된 데이터는 영상 신호 처리부(230)로 입력되며, 영상 신호 처리부(230)는 서브 샘플링 시작점이 쉬프트된 각 프레임에 대해 최초 서브 샘플링 시작점을 기준으로 프레임과 픽셀 간 상관관계를 맞춤으로써 프리뷰 영상을 생성한다. Each basic Bayer pattern of the noise-removed image is converted into digital data by an analog-to-digital converter (ADC) The data converted into digital data is input to the image signal processing unit 230. The image signal processing unit 230 generates a correlation between the frame and the pixel based on the initial sub sampling start point for each frame in which the sub sampling start point is shifted The preview image is created by fitting.

이렇게 상관관계가 맞추어진 프리뷰 영상이 디스플레이부(240)로 입력되면, 디스플레이부(240)를 통해 그 프리뷰 영상이 디스플레이된다. 이에 따라 디스플레이부(240)의 프리뷰용 뷰어에서 프레임 단위로 프리뷰 영상을 디스플레이하는 데, 매프레임은 1/프레임 비율만큼의 시차를 갖는다. 그러나 일반적으로 프리뷰 영상을 매우 빠르게 디스플레이되므로, 눈의 착시 현상에 의해 사용자는 시차를 느끼지는 못하지만 기존의 고정된 위치의 픽셀 데이터만 이용하는 서브 샘플링 방식과 다르게 프레임에 따라 다른 위치의 픽셀 데이터를 선택함으로써 프리뷰 영상에서 발생하는 계단 현상 및 해상도 저하 현상이 개선되어 보여지게 된다. 게다가 서브 샘플링 시작점을 쉬프트하여 서브 샘플링하기 때문에 서브 샘플링된 프레임을 처리하기 위해 버퍼에 임시로 저장해놓을 필요없이 바로 프리뷰 영상 생성을 위해 사용할 수 있으며, 이에 따라 하드웨어 변경이 필요없게 된다.When the preview image correlated in this manner is input to the display unit 240, the preview image is displayed through the display unit 240. [ Accordingly, the preview viewer of the display unit 240 displays a preview image on a frame basis, and each frame has a parallax of 1 / frame ratio. However, since the preview image is generally displayed very quickly, the user can not feel the parallax due to the eye-sight phenomenon. However, unlike the subsampling method using only the pixel data at the fixed position, The stepped phenomenon and the resolution degradation phenomenon occurring in the preview image are improved. In addition, since the subsampling start point is shifted and sub-sampled, it is not necessary to temporarily store the sub-sampled frame in the buffer, so that it can be directly used for generating a preview image, thereby eliminating hardware changes.

상기와 같은 구성을 가지는 영상 기기에서의 동작을 도 3을 참조하여 설명하기로 한다. 도 3은 본 발명의 실시예에 따른 영상 기기의 동작 흐름도이다. 이하에서는 본 발명의 실시예에 대한 이해를 돕기 위해 도 4 내지 도 6을 예시하여 설명한다. The operation of the video apparatus having the above configuration will be described with reference to FIG. 3 is a flowchart illustrating an operation of a video apparatus according to an exemplary embodiment of the present invention. Hereinafter, FIG. 4 to FIG. 6 will be exemplified for better understanding of the embodiment of the present invention.

도 3을 참조하면, 300단계에서 프레임 단위로 영상이 입력되면 영상 기기는 305단계에서 프레임 개수를 나타내는 n을 1로 설정하고, 서브 샘플링 시작점을 행 및 열로 쉬프트하는 쉬프트 정수를 나타내는 k를 0으로 설정하고, 샘플링 비율(x)을 설정한다. 그리고나서 310단계에서 n번째 프레임의 (a + k, b + k) 위치에서부터 서브 샘플링을 수행한다. Referring to FIG. 3, when an image is input in units of frames in step 300, the video apparatus sets n, which indicates the number of frames, to 1 in step 305 and sets k, which indicates a shift integer for shifting the subsampling start point to row and column, And sets the sampling rate (x). Subsequently, in step 310, subsampling is performed from the position (a + k, b + k) of the n-th frame.

이를 구체적으로 설명하기 위해 도 4를 참조하면, 도 4는 제1행은 G, R 픽 셀이 교대로 배열되는 패턴을 가지며, 제2행은 B, G 픽셀이 교대로 배열되는 패턴을 가지며, 이에 따라 홀수행은 제1행의 반복 패턴을 가지고, 짝수행은 제2행의 반복 패턴을 가지는 2차원 행렬 형태의 n×m 픽셀들이 배열된 입력 영상의 한 프레임을 예시하고 있다. 4, the first row has a pattern in which G and R pixels are alternately arranged, the second row has a pattern in which B and G pixels are alternately arranged, Thus, the odd performance illustrates one frame of an input image in which n × m pixels in the form of a two-dimensional matrix having a repetitive pattern of the first row and a repetitive pattern of the second row are arranged.

구체적으로, 도 4에서는 이러한 입력 영상의 한 프레임에서 가로 1/4, 세로 1/4 서브 샘플링에 따라 한 프레임은 복수개의 서브 윈도우(445, 450, 455, 460, ...)로 분할되며, 그 서브 윈도우(445, 450, 455, 460, ...)마다 하나씩의 기본 베이어 패턴(400, 405, 410, 415, ...)이 선택되는 경우를 예시하고 있다. 즉, 1/4 해상도로 서브 샘플링하는 경우를 예시한 것이며, 서브 윈도우의 분할은 1/n 해상도에 따라 결정된다. 이와 같이 하나의 프레임에서는 도 4에 도시된 바와 같이 기본 베이어 패턴 단위로 픽셀 데이터 선택이 이루어진다. 4, one frame is divided into a plurality of sub windows 445, 450, 455, 460, ... according to the horizontal 1/4 and vertical 1/4 subsampling in one frame of the input image, One basic Bayer pattern 400, 405, 410, 415, ... is selected for each of the sub windows 445, 450, 455, 460,. That is, the case of sub-sampling at 1/4 resolution is exemplified, and the sub-window is divided according to 1 / n resolution. In this way, in one frame, pixel data selection is performed in units of basic Bayer patterns as shown in FIG.

도 4에서와 같은 프레임에서 각 서브 윈도우마다 하나씩의 기본 베이어 패턴을 선택하는 서브 샘플링을 수행한 후, 315단계에서 다음 프레임이 입력되면 320단계에서 프레임 개수가 하나 증가됨에 따라 n=n+1으로 설정하고, 서브 샘플링 시작점을 쉬프트하기 위해 k=k+y로 설정하며, 이때 y는 정수이다. 그리고나서 k가 샘플링 비율(x) 이상이 되는지를 판단하고, 판단 결과 k가 샘플링 비율(x) 이상이 아닌 경우 310단계로 되돌아가 상기 과정을 반복 수행하지만, k가 샘플링 비율(x) 이상이 되면 k=0으로 초기화한 후에 상기 310단계로 되돌아간다. 그리고나서 315단계에서 다음 프레임이 입력되지 않으면 335단계로 진행하여 선택된 기본 베이어 패턴을 이용하여 프리뷰 영상 생성 후 디스플레이하는 동작을 수행한다. Sampling is performed to select one basic Beer pattern for each sub-window in the frame as shown in FIG. 4, and if the next frame is input in step 315, the number of frames is incremented by one in step 320 and n = n + 1 And sets k = k + y to shift the subsampling start point, where y is an integer. If k is not equal to or higher than the sampling rate x, the process returns to step 310. However, if k is equal to or greater than the sampling rate x, , K = 0 is initialized, and the process returns to step 310. If the next frame is not input in step 315, the flow advances to step 335 to generate and display a preview image using the selected basic Bayer pattern.

이를 구체적으로 설명하기 위해 도 5를 참조하면, 도 4가 n번째 프레임을 예시한 것이라면 도 5는 n+1번째 프레임을 예시하고 있다. n번째 프레임에서 서브 샘플링 시작점이 400에 의해 지시되는 바와 같은 기본 베이어 패턴의 위치라고 했을 때, n+1번째 프레임에서 서브 샘플링 시작점은 미리 정해진 정수만큼 쉬프트한 500에 의해 지시되는 바와 같은 기본 베이어 패턴의 위치가 된다. 이에 따라 500에서와 같이 기본 베이어 패턴의 위치를 시작으로 각 서브 윈도우마다 하나씩의 기본 베이어 패턴(500, 505,510,515)이 선택된다. To describe this in more detail, referring to FIG. 5, if FIG. 4 exemplifies the n-th frame, FIG. 5 illustrates the (n + 1) th frame. the starting point of subsampling in the nth frame is the position of the basic Bayer pattern as indicated by 400, the starting point of the subsampling in the (n + 1) th frame is a basic Bayer pattern as indicated by 500 shifted by a predetermined integer. . Thus, as in 500, one basic Bayer pattern 500, 505, 510, and 515 is selected for each subwindow starting from the position of the basic Bayer pattern.

따라서 이러한 기본 베이어 패턴 선택의 규칙성을 보면, 만일 도 4 및 도 5에서와 같이 서브 샘플링 시작점이 두 번 바뀌는 방식의 경우 프리뷰 영상을 생성하기 위해 n번째 프레임에서와 같은 서브 샘플링 동작과 n+1번째 프레임에서와 같은 서브 샘플링 동작이 교대로 반복되게 된다. Therefore, if the subsampling start point changes twice as shown in FIGS. 4 and 5, the sub-sampling operation as in the n-th frame and the n + 1 Lt; th > frame are alternately repeated.

이와 달리 프레임마다 서브 샘플링 시작점이 바뀌는 방식의 경우 순차적으로 서브 샘플링 시작점이 미리 정해진 정수만큼 쉬프트된다. 이에 따라 320단계에서의 쉬프트 정수 k는 미리 정해진 정수 y만큼 더해진다. 또한, 310단계에서 최초 서브 샘플링 시작점(a, b)를 기준으로 행 및 열 방향으로 동일하게 각각 k만큼 쉬프트 경우를 예로 들어 설명하였으나, 행 및 열 방향으로 쉬프트되는 정수 k는 각각 다를 수도 있다. 이때, 쉬프트 정수 k는 샘플링 비율(x)보다 크지 않을 때까지 증가되어 서브 샘플링 시작점이 그 쉬프트 정수만큼 쉬프트될 수 있으나, 그 샘플링 비율(x) 이상이 되면 서브 윈도우를 벗어나게 되므로, 다시 쉬프트 정수 k를 0으로 초기화하여 서브 샘플링 시작점이 다시 최초 서브 샘플링 시작점이 되도록 해야함 이 바람직하다. In contrast, in the case of a method in which the sub sampling start point is changed for each frame, the sub sampling start point is sequentially shifted by a predetermined integer. Accordingly, the shift constant k in step 320 is added by a predetermined constant y. In addition, although it has been described at step 310 that the same sub sampling start points (a, b) are shifted by k in the row and column directions, the integer k shifted in the row and column directions may be different from each other. At this time, the shift constant k is increased until it is not greater than the sampling rate x, and the sub sampling start point can be shifted by the shift integer. However, when the sampling rate x is greater than or equal to the sampling rate x, To zero so that the subsampling start point is again the initial subsampling starting point.

상기한 바와 같이 도 3에서는 서브 샘플링 시작점이 서로 다른 n, n+1, n+2번째 등의 프레임에서의 서브 샘플링 동작을 설명하였으며, 이러한 각각의 프레임에서 선택되는 기본 베이어 패턴이 배열된 각각의 프레임을 시간축을 기준으로 보면 도 6에 도시된 바와 같다. 도 6에 도시된 바와 같이, n번째 프레임에서는 400에 의해 지시되는 기본 베이어 패턴의 위치가 최초 서브 샘플링 시작점이 되며, n+1번째 프레임에서는 500에 의해 지시되는 기본 베이어 패턴의 위치가 서브 샘플링 시작점이 되며, n+2번째 프레임에서는 600에 의해 지시되는 기본 베이어 패턴의 위치가 서브 샘플링 시작점이 된다. 이러한 도 6은 본 발명의 실시예에 따라 시간축에서 본 공간 주파수를 예시하고 있다. As described above, the sub-sampling operation in the n, n + 1, n + 2 th, etc. frames having different subsampling start points has been described with reference to FIG. 3. In each of the frames, The frame is as shown in FIG. 6 based on the time axis. 6, the position of the basic Bayer pattern indicated by 400 in the nth frame becomes the initial sub sampling start point, and the position of the basic Bayer pattern indicated by 500 in the (n + 1) And the position of the basic Bayer pattern indicated by 600 in the (n + 2) -th frame becomes a subsampling start point. FIG. 6 illustrates a spatial frequency viewed from a time axis according to an embodiment of the present invention.

도 6에서와 같이 본 발명의 실시예에 따른 영상 기기는 프레임 입력에 따라 최초 서브 샘플링 시작점을 기준으로 미리 정해진 정수만큼 쉬프트된 위치를 시작점으로 해서 각 서브 윈도우마다 기본 베이어 패턴을 선택하는 서브 샘플링 동작을 수행한다. 그리고나서 서브 샘플링된 각 프레임에 대해서는 최초 서브 샘플링 시작점을 기준으로 상관관계를 맞추고, 노이즈를 제거하는 등의 동작을 수행함으로써 프리뷰 영상을 생성하게 된다. As shown in FIG. 6, the video apparatus according to the embodiment of the present invention includes a sub-sampling operation for selecting a basic Bayer pattern for each sub-window based on a position shifted by a predetermined integer on the basis of an initial sub- . Then, for each frame that has been sub-sampled, a preview image is generated by performing an operation such as a correlation based on the initial sub-sampling start point and removing noise.

도 1은 종래의 프리뷰 영상을 생성하기 위한 서브샘플링 방법을 예시한 도면,1 is a diagram illustrating a conventional sub-sampling method for generating a preview image,

도 2는 본 발명의 실시예에 따른 프리뷰 화질 개선을 위한 영상 기기의 내부 블록 구성도,FIG. 2 is an internal block diagram of a video apparatus for improving preview quality according to an exemplary embodiment of the present invention;

도 3은 본 발명의 실시예에 따른 영상 기기의 동작 흐름도,FIG. 3 is a flowchart illustrating an operation of a video apparatus according to an exemplary embodiment of the present invention,

도 4 내지 도 6은 본 발명에 따른 서브 샘플링 방법을 설명하기 위한 예시도.FIGS. 4 to 6 are diagrams for explaining a sub-sampling method according to the present invention; FIG.

Claims (14)

영상 기기에서 프리뷰 영상의 화질을 개선하기 위한 방법에 있어서,A method for improving the quality of a preview image in a video device, 입력 영상의 n번째 프레임에 대해 서브 윈도우마다 기본 베이어 패턴을 선택하는 서브 샘플링을 수행하는 과정과,Performing sub-sampling to select a basic Bayer pattern for each sub window for an n < th > frame of an input image, 상기 입력 영상의 n+1번째 프레임에 대해 서브 윈도우마다 최초 서브 샘플링 시작점을 기준으로 미리 정해진 정수만큼 쉬프트한 서브 샘플링 시작점을 기준으로 기본 베이어 패턴을 선택하는 서브 샘플링을 수행하는 과정과,Sampling sub-sampling based on a sub-sampling starting point shifted by a predetermined integer with respect to an (n + 1) th frame of the input image with respect to an initial sub-sampling starting point for each sub-window; 상기 서브 샘플링된 프레임들 각각에 대한 상기 최초 서브 샘플링 시작점과의 상관 관계를 이용하여 프리뷰 영상을 생성하는 과정을 포함함을 특징으로 하는 프리뷰 영상의 화질을 개선하기 위한 방법.And generating a preview image by using a correlation between the first sub-sampling start point and each of the sub-sampling frames. 제1항에 있어서, 상기 기본 베이어 패턴은,2. The apparatus according to claim 1, 하나의 행에 레드, 그린 컬러의 픽셀 데이터 및 다른 행에 그린(Green), 블루 컬러의 픽셀 데이터가 배치된 4개의 픽셀 데이터로 이루어진 패턴인 것을 특징으로 하는 프리뷰 영상의 화질을 개선하기 위한 방법.Wherein the pattern is a pattern of four pixel data in which pixel data of red and green colors are arranged in one row and pixel data of green and blue colors are arranged in another row. 제1항에 있어서, The method according to claim 1, 상기 입력 영상의 n+1번째 프레임 이후 입력되는 각 프레임에 대해 상기 최 초 서브 샘플링 시작점을 기준으로 서브 샘플링을 수행하거나 상기 쉬프트한 서브 샘플링 시작점을 기준으로 서브 샘플링을 수행하는 것을 반복하는 과정을 더 포함함을 특징으로 하는 프리뷰 영상의 화질을 개선하기 위한 방법.Performing sub-sampling on the basis of the first sub-sampling start point for each frame input after the (n + 1) -th frame of the input image or performing sub-sampling on the basis of the shifted sub-sampling starting point Wherein the preview image includes a plurality of preview images. 제1항에 있어서, The method according to claim 1, 상기 입력 영상의 n+1번째 프레임 이후에 프레임이 입력될 때마다 이전 서브 샘플링 시작점을 기준으로 상기 미리 정해진 정수만큼 더 쉬프트한 서브 샘플링 시작점을 기준으로 기본 베이어 패턴을 선택하는 서브 샘플링을 수행하는 과정을 더 포함함을 특징으로 하는 프리뷰 영상의 화질을 개선하기 위한 방법.Sampling the base Bayer pattern based on a sub-sampling starting point shifted by the predetermined integer with respect to a previous sub-sampling starting point each time a frame is input after the (n + 1) -th frame of the input image The method of claim 1, further comprising: 제 4항에 있어서, 상기 더 쉬프트한 서브 샘플링 시작점이 샘플링 비율 이상이 되면 다음 프레임 입력 시의 서브 샘플링 시작점을 최초 서브 샘플링 시작점으로 설정하는 과정을 더 포함함을 특징으로 하는 프리뷰 영상의 화질을 개선하기 위한 방법.The method of claim 4, further comprising the step of setting a sub-sampling start point at the time of inputting a next frame as an initial sub-sampling starting point when the shifted sub-sampling starting point is equal to or greater than a sampling rate. Lt; / RTI > 제 1항에 있어서, 상기 서브 샘플링된 각 프레임을 이용하여 프리뷰 영상을 생성하는 과정은,The method of claim 1, wherein generating the preview image using each of the sub- 상기 서브 샘플링된 프레임 각각의 선택된 기본 베이어 패턴에 대해 노이즈를 제거하는 과정과,Removing noise for a selected basic Bayer pattern of each of the sub-sampled frames; 상기 노이즈 제거된 기본 베이어 패턴을 디지털 변환하여 상기 프리뷰 영상을 생성하는 과정임을 특징으로 하는 프리뷰 영상의 화질을 개선하기 위한 방법.And converting the noise-removed basic Bayer pattern into a digital image to generate the preview image. 제1항에 있어서, The method according to claim 1, 상기 서브 샘플링된 프레임 각각에 대해 상기 최초 서브 샘플링 시작점을 기준으로 상관 관계를 맞추는 과정을 더 포함함을 특징으로 하는 프리뷰 영상의 화질을 개선하기 위한 방법.Further comprising the step of: correlating each of the subsampled frames based on the first subsampling start point. ≪ RTI ID = 0.0 > 8. < / RTI > 프리뷰 영상의 화질을 개선하기 위한 영상 기기에 있어서,A video apparatus for improving the quality of a preview image, 입력 영상의 n번째 프레임에 대해 서브 윈도우마다 기본 베이어 패턴을 선택하는 서브 샘플링을 수행하고, 상기 입력 영상의 n+1번째 프레임에 대해 서브 윈도우마다 최초 서브 샘플링 시작점을 기준으로 미리 정해진 정수만큼 쉬프트한 서브 샘플링 시작점을 기준으로 기본 베이어 패턴을 선택하는 서브 샘플링을 수행하는 서브 샘플링부와,Sub-sampling for selecting a basic Bayer pattern for each sub-window for the n-th frame of the input image, and shifting the sub-window by a predetermined integer with respect to the (n + 1) A sub-sampling unit for performing sub-sampling for selecting a basic Bayer pattern on the basis of a sub sampling start point, 상기 서브 샘플링된 프레임들 각각에 대한 상기 최초 서브 샘플링 시작점과의 상관 관계를 이용하여 프리뷰 영상을 생성하는 영상 신호 처리부를 포함함을 특징으로 하는 프리뷰 영상의 화질을 개선하기 위한 영상 기기.And a video signal processor for generating a preview image using the correlation with the first sub-sampling start point for each of the sub-sampled frames. 제8항에 있어서, 상기 기본 베이어 패턴은,The method according to claim 8, 하나의 행에 레드, 그린 컬러의 픽셀 데이터 및 다른 행에 그린(Green), 블루 컬러의 픽셀 데이터가 배치된 4개의 픽셀 데이터로 이루어진 패턴인 것을 특징으로 하는 프리뷰 영상의 화질을 개선하기 위한 영상 기기.Wherein the image data is a pattern composed of four pixel data in which pixel data of red and green colors are arranged in one row and pixel data of green and blue color are arranged in another row. . 제8항에 있어서, 상기 서브 샘플링부는,9. The apparatus of claim 8, wherein the sub- 상기 입력 영상의 n+1번째 프레임 이후 입력되는 각 프레임에 대해 상기 최초 서브 샘플링 시작점을 기준으로 서브 샘플링을 수행하거나 상기 쉬프트한 서브 샘플링 시작점을 기준으로 서브 샘플링을 수행하는 것을 반복함을 특징으로 하는 프리뷰 영상의 화질을 개선하기 위한 영상 기기.Sampling is performed with respect to each frame input after the (n + 1) -th frame of the input image on the basis of the first sub-sampling start point or sub-sampling is performed based on the shifted sub-sampling starting point A video device for improving the quality of a preview image. 제8항에 있어서, 상기 서브 샘플링부는,9. The apparatus of claim 8, wherein the sub- 상기 입력 영상의 n+1번째 프레임 이후에 프레임이 입력될 때마다 이전 서브 샘플링 시작점을 기준으로 상기 미리 정해진 정수만큼 더 쉬프트한 서브 샘플링 시작점을 기준으로 기본 베이어 패턴을 선택하는 서브 샘플링을 수행함을 특징으로 하는 프리뷰 영상의 화질을 개선하기 위한 영상 기기.Sampling is performed to select a basic Bayer pattern with respect to a sub-sampling starting point shifted by the predetermined integer with respect to a previous sub-sampling starting point whenever a frame is input after the (n + 1) -th frame of the input image To improve the quality of the preview image. 제11항에 있어서, 상기 서브 샘플링부는,12. The apparatus of claim 11, wherein the sub- 상기 더 쉬프트한 서브 샘플링 시작점이 샘플링 비율 이상이 되면 다음 프레임 입력 시의 서브 샘플링 시작점을 최초 서브 샘플링 시작점으로 설정함을 특징으로 하는 프리뷰 영상의 화질을 개선하기 위한 영상 기기.Wherein the sub sampling start point at the time of inputting the next frame is set as an initial sub sampling start point when the shifted sub sampling starting point is equal to or higher than the sampling rate. 제8항에 있어서, 상기 영상 신호 처리부는,The apparatus of claim 8, wherein the image signal processor comprises: 상기 서브 샘플링된 프레임 각각에 대해 상기 최초 서브 샘플링 시작점을 기준으로 상관 관계를 맞춤으로써 상기 프리뷰 영상을 생성함을 특징으로 하는 프리뷰 영상의 화질을 개선하기 위한 영상 기기.Wherein the preview image is generated by correlating each sub-sampled frame with respect to the initial sub-sampling start point. 제8항에 있어서, 9. The method of claim 8, 상기 서브 샘플링된 프레임 각각의 선택된 기본 베이어 패턴에 대해 노이즈를 제거하는 상관 이중 샘플링부와,A correlated double sampling unit for removing noise from the selected basic Bayer pattern of each of the subsampled frames, 상기 노이즈 제거된 기본 베이어 패턴을 디지털 변환하는 아날로그 디지털 변환부를 더 포함함을 특징으로 하는 프리뷰 영상의 화질을 개선하기 위한 영상 기 기.And an analog-to-digital (A / D) converter for digitally converting the noise-removed basic Bayer pattern.
KR1020090119179A 2009-12-03 2009-12-03 Apparatus and method for improving quality of preview image KR101643773B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020090119179A KR101643773B1 (en) 2009-12-03 2009-12-03 Apparatus and method for improving quality of preview image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020090119179A KR101643773B1 (en) 2009-12-03 2009-12-03 Apparatus and method for improving quality of preview image

Publications (2)

Publication Number Publication Date
KR20110062448A KR20110062448A (en) 2011-06-10
KR101643773B1 true KR101643773B1 (en) 2016-07-28

Family

ID=44396628

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020090119179A KR101643773B1 (en) 2009-12-03 2009-12-03 Apparatus and method for improving quality of preview image

Country Status (1)

Country Link
KR (1) KR101643773B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11412148B2 (en) 2020-01-10 2022-08-09 Samsung Electronics Co., Ltd. Method of improving image quality in zoom scenario with single camera, and electronic device including the same

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101889932B1 (en) * 2012-07-25 2018-09-28 삼성전자주식회사 Apparatus and Method for photographing image
US9986189B2 (en) 2016-01-04 2018-05-29 Samsung Electronics Co., Ltd. Pixel sensors and imaging devices for providing multiple sub sample images within a single frame

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002517136A (en) 1998-05-26 2002-06-11 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Solid-state imaging device
KR100871687B1 (en) 2004-02-11 2008-12-05 삼성전자주식회사 Solid state image sensing device improving display quality in sub-sampling mode and driving method thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998058497A1 (en) * 1997-06-16 1998-12-23 Sony Corporation Image processing device and method, and transmission medium, transmission method and image format
EP1176807A1 (en) * 2000-07-24 2002-01-30 Agilent Technologies, Inc. (a Delaware corporation) Skewed pixel pattern sub-sampling for image sensor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002517136A (en) 1998-05-26 2002-06-11 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Solid-state imaging device
KR100871687B1 (en) 2004-02-11 2008-12-05 삼성전자주식회사 Solid state image sensing device improving display quality in sub-sampling mode and driving method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11412148B2 (en) 2020-01-10 2022-08-09 Samsung Electronics Co., Ltd. Method of improving image quality in zoom scenario with single camera, and electronic device including the same

Also Published As

Publication number Publication date
KR20110062448A (en) 2011-06-10

Similar Documents

Publication Publication Date Title
JP4503878B2 (en) Imaging apparatus and imaging method
TWI386049B (en) A solid-state imaging device, and a device using the solid-state imaging device
US7948543B2 (en) Imaging apparatus provided with image scaling function and image data thinning-out readout function
JP3164481B2 (en) Imaging device
US8139123B2 (en) Imaging device and video signal generating method employed in imaging device
JP4424088B2 (en) Imaging device
KR20100133806A (en) Image display method and apparatus
US20090040362A1 (en) Apparatus and method for producing video signals
JP5284013B2 (en) Imaging apparatus, control method therefor, and program
CN100527780C (en) Sub-sampling with higher display quality in image-sensing device
EP2731325A1 (en) Imaging device and recording medium
JPWO2012081175A1 (en) Image generating apparatus, image generating system, method, and program
KR101643773B1 (en) Apparatus and method for improving quality of preview image
EP1523185B1 (en) Image data conversion method, conversion circuit, and digital camera
JP2013003339A (en) Image displaying system and method of controlling the same
KR101623591B1 (en) Apparatus and method for improving quality of preview image
US7202900B2 (en) Method of producing frame pair signals from an image sensor and method for displaying same
KR20090097081A (en) Method for processing image of the multi ccd
KR20050063711A (en) Image signal processing device
JP5705027B2 (en) Image processing apparatus, image processing apparatus control method, program, and recording medium
KR101012585B1 (en) Multi-channelImage registration system and the Method
JP4637031B2 (en) Camera monitoring device
KR20050094445A (en) Frame conversion method, frame conversion circuit, and electronic camera
KR100646723B1 (en) Image signal processing device and image display device
CN101834975A (en) Method of generating interlaced preview from image sensor and method for inserting scan lines

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