KR20110062448A - 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
KR20110062448A
KR20110062448A KR1020090119179A KR20090119179A KR20110062448A KR 20110062448 A KR20110062448 A KR 20110062448A KR 1020090119179 A KR1020090119179 A KR 1020090119179A KR 20090119179 A KR20090119179 A KR 20090119179A KR 20110062448 A KR20110062448 A KR 20110062448A
Authority
KR
South Korea
Prior art keywords
subsampling
frame
image
starting point
bayer pattern
Prior art date
Application number
KR1020090119179A
Other languages
Korean (ko)
Other versions
KR101643773B1 (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Color Television Image Signal Generators (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PURPOSE: A device and method for improving the quality of preview image are provided to improve an aliasing phenomenon and resolution deterioration generated form image preview image if sampling rate must be set high. CONSTITUTION: A sub sampling unit(200) performs a sub sampling selecting a basic barrier pattern per every sub window about n number frame of an input image. An image signal processing unit(230) generates preview image by using each frame which is sub sampled. A correlation multi sampling unit(210) removes a noise about a basic bayer pattern selected form each frame which is sub sampled.

Description

프리뷰 영상의 화질을 개선하기 위한 장치 및 방법{APPARATUS AND METHOD FOR IMPROVING QUALITY OF PREVIEW IMAGE}Apparatus and method for improving the quality of preview image {APPARATUS AND METHOD FOR IMPROVING QUALITY OF PREVIEW IMAGE}

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

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

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

이러한 도 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, when sampling at 1/4 resolution in the horizontal and vertical directions at n × m pixels, the image is divided into four sub-windows 100, 110, 120, and 130, one for each of the sub-windows 100, 110, 120, and 130. Bayer patterns 140, 150, 160 and 170 are selected. This image is a Bayer pattern in which two (R) and G (Green) two-color patterns are arranged in one row, and two (G) and Green (B) blue patterns are repeatedly arranged in another row. Have As such, only one Bayer pattern intersecting in the horizontal and vertical directions is selected and the other is removed to reduce the resolution, thereby reducing the amount of data to be processed. In the case of such a subsampling, only the same pixel data is always selected and used for all frames. As a result, the spatial frequency sampled by the image sensor is always the same.

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

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

상기한 바를 달성하기 위한 본 발명은, 영상 기기에서 프리뷰 영상의 화질을 개선하기 위한 방법에 있어서, 입력 영상의 n번째 프레임에 대해 서브 윈도우마다 기본 베이어 패턴을 선택하는 서브 샘플링을 수행하는 과정과, 상기 입력 영상의 n+1번째 프레임에 대해 서브 윈도우마다 최초 서브 샘플링 시작점을 기준으로 미리 정해진 정수만큼 쉬프트한 서브 샘플링 시작점을 기준으로 기본 베이어 패턴을 선택하는 서브 샘플링을 수행하는 과정과, 상기 서브 샘플링된 각 프레임을 이용하여 프리뷰 영상을 생성하는 과정을 포함함을 특징으로 한다.According to an 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 to select a basic Bayer pattern for each subwindow for an nth frame of an input image; Performing subsampling for selecting a basic Bayer pattern based on a subsampling starting point shifted by a predetermined integer with respect to the first subsampling starting point for each subwindow for the n + 1th frame of the input image; and the subsampling And generating a preview image by using each of the frames.

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

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

이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일실시예를 상세히 설명한다. 또한, 본 발명을 설명함에 있어서, 관련된 공지기능 혹은 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그 상세한 설명은 생략한다.Hereinafter, exemplary embodiments 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, when an image is input in a frame unit, the present invention performs subsampling to select a Bayer pattern having a different subsampling starting point for each input frame, and adjusts the correlation between the frames of each subsampled to obtain a preview image. Create and display the generated preview image sequentially. By doing so, it is possible to improve the aliasing phenomenon and the resolution degradation occurring in the preview image when the sampling rate is to be set high.

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

먼저, 영상 기기에서 영상이 입력되면, 프리뷰 영상의 디스플레이를 위해 입력된 영상은 프레임 단위로 서브 샘플링부(200)로 전달된다. 서브 샘플링부(200)는 프리뷰 영상을 위해 입력 영상에 대해 필요한 픽셀 데이터만 선택하고 나머지는 삭제하는 방법으로 서브 샘플링을 수행한다. First, when an image is input from the image device, the image input for displaying the preview image is transmitted to the sub-sampler 200 in units of frames. The sub-sampling unit 200 performs subsampling by selecting only the pixel data necessary for the input image and deleting the rest 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 an exemplary embodiment of the present invention, the sub-sampling unit 200 selects one basic Bayer pattern for each sub-window based on the a-row and b-column, that is, the position (a, b) in the nth frame. In the n + 1th frame, one basic Bayer pattern is selected for each sub-window based on the position (a + k1, b + k2) shifted by k1 columns and k2 rows based on the (a, b) positions. In this case, k1 and k2 are integers and may 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 subsampling process may be repeated on the n + 2 th frame or less based on the same position as the n th frame and the n + 1 th frame. Alternatively, in the n + 2th frame, subsampling may be performed by constantly shifting the starting point, such as with respect to the position (a + k3, b + k4). As such, the sub-sampling unit 200 performs subsampling at 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) in another row. In the Bayer pattern, the basic Bayer pattern means four pixel data in which first rows are arranged with G and R pixels, and second rows are arranged with B and G pixels.

이렇게 서브 샘플링된 각각의 영상의 화소값에는 내부적인 요인 또는 외부적인 요인으로 인해 노이즈가 포함되어 있고, 이 노이즈를 포함한 화소값을 이용하여 프리뷰 영상을 생성할 경우 실제 촬영 영상과는 차이가 있을 수 있으므로 보정이 되어야 한다. 이에 따라 상관 이중 샘플링부(Correlated Double Sampling: CDS)(210)에서는 서브 샘플링된 영상 즉, 선택된 기본 베이어 패턴에 대해 노이즈를 제거한다. 이와 같이 프레임 간 관계로부터 노이즈 리덕션(Noise Reduction)을 통해 깜빡임(flicker) 현상을 개선할 수 있다. The pixel value of each subsampled image includes noise due to internal factors or external factors, and when the preview image is generated using the pixel value including the noise, it may be different from the actual captured image. It must be calibrated. Accordingly, the correlated double sampling unit (CDS) 210 removes noise with respect to the subsampled image, that is, the selected basic Bayer pattern. As described above, flicker may be improved through 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) 220. Then, the data converted into digital data is input to the image signal processor 230, and the image signal processor 230 performs correlation between the frame and the pixel based on the initial subsampling starting point for each frame whose subsampling starting point is shifted. Create a preview image by fitting.

이렇게 상관관계가 맞추어진 프리뷰 영상이 디스플레이부(240)로 입력되면, 디스플레이부(240)를 통해 그 프리뷰 영상이 디스플레이된다. 이에 따라 디스플레이부(240)의 프리뷰용 뷰어에서 프레임 단위로 프리뷰 영상을 디스플레이하는 데, 매프레임은 1/프레임 비율만큼의 시차를 갖는다. 그러나 일반적으로 프리뷰 영상을 매우 빠르게 디스플레이되므로, 눈의 착시 현상에 의해 사용자는 시차를 느끼지는 못하지만 기존의 고정된 위치의 픽셀 데이터만 이용하는 서브 샘플링 방식과 다르게 프레임에 따라 다른 위치의 픽셀 데이터를 선택함으로써 프리뷰 영상에서 발생하는 계단 현상 및 해상도 저하 현상이 개선되어 보여지게 된다. 게다가 서브 샘플링 시작점을 쉬프트하여 서브 샘플링하기 때문에 서브 샘플링된 프레임을 처리하기 위해 버퍼에 임시로 저장해놓을 필요없이 바로 프리뷰 영상 생성을 위해 사용할 수 있으며, 이에 따라 하드웨어 변경이 필요없게 된다.When the correlated preview image 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 the preview image on a frame-by-frame basis, and each frame has a parallax of 1 / frame ratio. In general, however, since the preview image is displayed very quickly, the user does not feel parallax due to an optical illusion, but by selecting pixel data at different positions according to a frame, unlike a subsampling method using only pixel data at fixed positions. The staircase phenomenon and the degradation of the resolution occurring in the preview image are improved. In addition, since the subsampling start point is shifted and subsampled, the subsampled frame can be used to generate the preview image immediately without having to temporarily store it in a buffer to process the subsampled frame, thereby eliminating the need for hardware change.

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

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

이를 구체적으로 설명하기 위해 도 4를 참조하면, 도 4는 제1행은 G, R 픽 셀이 교대로 배열되는 패턴을 가지며, 제2행은 B, G 픽셀이 교대로 배열되는 패턴을 가지며, 이에 따라 홀수행은 제1행의 반복 패턴을 가지고, 짝수행은 제2행의 반복 패턴을 가지는 2차원 행렬 형태의 n×m 픽셀들이 배열된 입력 영상의 한 프레임을 예시하고 있다. To describe this in detail, referring to FIG. 4, FIG. 4 has a pattern in which first and second pixels G and R pixels are alternately arranged, and the second row has a pattern in which B and G pixels are alternately arranged. Accordingly, an odd row has a repeating pattern of a first row, and an even row illustrates a frame of an input image in which n × m pixels in a two-dimensional matrix form having a repeating pattern of a 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에 도시된 바와 같이 기본 베이어 패턴 단위로 픽셀 데이터 선택이 이루어진다. Specifically, in FIG. 4, one frame is divided into a plurality of sub-windows 445, 450, 455, 460,... According to horizontal 1/4 and vertical 1/4 sub-sampling in one frame of the input image. The case where one basic Bayer pattern 400, 405, 410, 415, ... is selected for each of the sub windows 445, 450, 455, 460, ... is illustrated. That is, the case of subsampling at 1/4 resolution is illustrated, and the division of the sub window is determined according to the 1 / n resolution. As described above, in one frame, pixel data selection is performed in units of basic Bayer patterns.

도 4에서와 같은 프레임에서 각 서브 윈도우마다 하나씩의 기본 베이어 패턴을 선택하는 서브 샘플링을 수행한 후, 315단계에서 다음 프레임이 입력되면 320단계에서 프레임 개수가 하나 증가됨에 따라 n=n+1으로 설정하고, 서브 샘플링 시작점을 쉬프트하기 위해 k=k+y로 설정하며, 이때 y는 정수이다. 그리고나서 k가 샘플링 비율(x) 이상이 되는지를 판단하고, 판단 결과 k가 샘플링 비율(x) 이상이 아닌 경우 310단계로 되돌아가 상기 과정을 반복 수행하지만, k가 샘플링 비율(x) 이상이 되면 k=0으로 초기화한 후에 상기 310단계로 되돌아간다. 그리고나서 315단계에서 다음 프레임이 입력되지 않으면 335단계로 진행하여 선택된 기본 베이어 패턴을 이용하여 프리뷰 영상 생성 후 디스플레이하는 동작을 수행한다. After performing subsampling to select one basic Bayer pattern for each subwindow in the same frame as in FIG. 4, if the next frame is input in step 315, the number of frames is increased by one as n = n + 1 in step 320. And k = k + y to shift the subsampling starting point, where y is an integer. Then, it is determined whether k is equal to or greater than the sampling rate x, and if the determination result is not equal to or greater than the sampling rate x, the process returns to step 310 and repeats the above process, but k is greater than or equal to the sampling rate x. If k = 0 is initialized, the process returns to step 310. Then, if the next frame is not input in step 315, the process proceeds 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)이 선택된다. Referring to FIG. 5 to describe this in detail, FIG. 5 illustrates an n + 1th frame if FIG. 4 illustrates an nth frame. Assuming that the subsampling starting point is the position of the basic bayer pattern as indicated by 400 in the nth frame, the subsampling starting point in the n + 1th frame is the basic Bayer pattern as indicated by 500 shifted by a predetermined integer. Becomes the position of. Accordingly, as shown in 500, one basic Bayer pattern 500, 505, 510, 515 is selected for each sub-window starting with the position of the basic Bayer pattern.

따라서 이러한 기본 베이어 패턴 선택의 규칙성을 보면, 만일 도 4 및 도 5에서와 같이 서브 샘플링 시작점이 두 번 바뀌는 방식의 경우 프리뷰 영상을 생성하기 위해 n번째 프레임에서와 같은 서브 샘플링 동작과 n+1번째 프레임에서와 같은 서브 샘플링 동작이 교대로 반복되게 된다. Therefore, in the regularity of the basic Bayer pattern selection, if the sub-sampling starting point is changed twice as shown in Figs. 4 and 5, the subsampling operation and n + 1 as in the nth frame to generate the preview image The subsampling operation as in the first frame is alternately repeated.

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

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

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

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

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

도 3은 본 발명의 실시예에 따른 영상 기기의 동작 흐름도,3 is an operation flowchart of an imaging device according to an embodiment of the present invention;

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

Claims (14)

영상 기기에서 프리뷰 영상의 화질을 개선하기 위한 방법에 있어서,In the method for improving the quality of the preview image in the video device, 입력 영상의 n번째 프레임에 대해 서브 윈도우마다 기본 베이어 패턴을 선택하는 서브 샘플링을 수행하는 과정과,Performing subsampling to select a basic Bayer pattern for each subwindow for the nth frame of the input image; 상기 입력 영상의 n+1번째 프레임에 대해 서브 윈도우마다 최초 서브 샘플링 시작점을 기준으로 미리 정해진 정수만큼 쉬프트한 서브 샘플링 시작점을 기준으로 기본 베이어 패턴을 선택하는 서브 샘플링을 수행하는 과정과,Performing subsampling for selecting a basic Bayer pattern with respect to the n + 1th frame of the input image based on a subsampling starting point shifted by a predetermined integer with respect to the first subsampling starting point for each subwindow; 상기 서브 샘플링된 각 프레임을 이용하여 프리뷰 영상을 생성하는 과정을 포함함을 특징으로 하는 프리뷰 영상의 화질을 개선하기 위한 방법.And generating a preview image by using each of the subsampled frames. 제1항에 있어서, 상기 기본 베이어 패턴은,The method of claim 1, wherein the basic Bayer pattern, 하나의 행에 레드, 그린 컬러의 픽셀 데이터 및 다른 행에 그린(Green), 블루 컬러의 픽셀 데이터가 배치된 4개의 픽셀 데이터로 이루어진 패턴인 것을 특징으로 하는 프리뷰 영상의 화질을 개선하기 위한 방법.A method for improving the image quality of a preview image, characterized in that the pattern is composed of four pixel data in which red and green pixel data are arranged in one row and green and blue pixel data are arranged in another row. 제1항에 있어서, The method of claim 1, 상기 입력 영상의 n+1번째 프레임 이후 입력되는 각 프레임에 대해 상기 최 초 서브 샘플링 시작점을 기준으로 서브 샘플링을 수행하거나 상기 쉬프트한 서브 샘플링 시작점을 기준으로 서브 샘플링을 수행하는 것을 반복하는 과정을 더 포함함을 특징으로 하는 프리뷰 영상의 화질을 개선하기 위한 방법.Performing subsampling based on the first subsampling starting point or performing subsampling based on the shifted subsampling starting point for each frame input after the n + 1th frame of the input image; And improving the quality of the preview image. 제1항에 있어서, The method of claim 1, 상기 입력 영상의 n+1번째 프레임 이후에 프레임이 입력될 때마다 이전 서브 샘플링 시작점을 기준으로 상기 미리 정해진 정수만큼 더 쉬프트한 서브 샘플링 시작점을 기준으로 기본 베이어 패턴을 선택하는 서브 샘플링을 수행하는 과정을 더 포함함을 특징으로 하는 프리뷰 영상의 화질을 개선하기 위한 방법.Performing subsampling for selecting a basic Bayer pattern on the basis of a subsampling starting point shifted by a predetermined integer based on a previous subsampling starting point each time a frame is input after an n + 1th frame of the input image; The method for improving the quality of the preview image, characterized in that it further comprises. 제 4항에 있어서, 상기 더 쉬프트한 서브 샘플링 시작점이 샘플링 비율 이상이 되면 다음 프레임 입력 시의 서브 샘플링 시작점을 최초 서브 샘플링 시작점으로 설정하는 과정을 더 포함함을 특징으로 하는 프리뷰 영상의 화질을 개선하기 위한 방법.The image quality of the preview image of claim 4, further comprising: setting the sub sampling start point at the next frame input as the first sub sampling start point when the shifted sub sampling start point is equal to or greater than the sampling rate. How to. 제 1항에 있어서, 상기 서브 샘플링된 각 프레임을 이용하여 프리뷰 영상을 생성하는 과정은,The method of claim 1, wherein the generating of the preview image using each subsampled frame comprises: 상기 서브 샘플링된 프레임 각각의 선택된 기본 베이어 패턴에 대해 노이즈를 제거하는 과정과,Removing noise for the selected basic Bayer pattern of each of the subsampled frames; 상기 노이즈 제거된 기본 베이어 패턴을 디지털 변환하여 상기 프리뷰 영상을 생성하는 과정임을 특징으로 하는 프리뷰 영상의 화질을 개선하기 위한 방법.And digitally converting the noise-free basic Bayer pattern to generate the preview image. 제1항에 있어서, The method of claim 1, 상기 서브 샘플링된 프레임 각각에 대해 상기 최초 서브 샘플링 시작점을 기준으로 상관 관계를 맞추는 과정을 더 포함함을 특징으로 하는 프리뷰 영상의 화질을 개선하기 위한 방법.And correlating the subsampled frames with respect to each of the subsampled frames based on the initial subsampling starting point. 프리뷰 영상의 화질을 개선하기 위한 영상 기기에 있어서,In the video device for improving the quality of the preview video, 입력 영상의 n번째 프레임에 대해 서브 윈도우마다 기본 베이어 패턴을 선택하는 서브 샘플링을 수행하고, 상기 입력 영상의 n+1번째 프레임에 대해 서브 윈도우마다 최초 서브 샘플링 시작점을 기준으로 미리 정해진 정수만큼 쉬프트한 서브 샘플링 시작점을 기준으로 기본 베이어 패턴을 선택하는 서브 샘플링을 수행하는 서브 샘플링부와,Performing subsampling to select a basic Bayer pattern for each subwindow for the nth frame of the input image, and shifting a predetermined integer based on a starting point of the first subsampling for each subwindow for the n + 1th frame of the input image A subsampling unit which performs subsampling to select a basic Bayer pattern based on a subsampling starting point; 상기 서브 샘플링된 각 프레임을 이용하여 프리뷰 영상을 생성하는 영상 신호 처리부를 포함함을 특징으로 하는 프리뷰 영상의 화질을 개선하기 위한 영상 기 기.And an image signal processor configured to generate a preview image using each of the subsampled frames. 제8항에 있어서, 상기 기본 베이어 패턴은,The method of claim 8, wherein the basic Bayer pattern, 하나의 행에 레드, 그린 컬러의 픽셀 데이터 및 다른 행에 그린(Green), 블루 컬러의 픽셀 데이터가 배치된 4개의 픽셀 데이터로 이루어진 패턴인 것을 특징으로 하는 프리뷰 영상의 화질을 개선하기 위한 영상 기기.Image device for improving the quality of the preview image, characterized in that the pattern is composed of four pixel data arranged in one row of red, green color pixel data and green, blue pixel data in another row . 제8항에 있어서, 상기 서브 샘플링부는,The method of claim 8, wherein the sub-sampling unit, 상기 입력 영상의 n+1번째 프레임 이후 입력되는 각 프레임에 대해 상기 최초 서브 샘플링 시작점을 기준으로 서브 샘플링을 수행하거나 상기 쉬프트한 서브 샘플링 시작점을 기준으로 서브 샘플링을 수행하는 것을 반복함을 특징으로 하는 프리뷰 영상의 화질을 개선하기 위한 영상 기기.And performing subsampling based on the first subsampling starting point or performing subsampling based on the shifted subsampling starting point for each frame input after the n + 1th frame of the input image. Imaging device to improve the quality of preview video. 제8항에 있어서, 상기 서브 샘플링부는,The method of claim 8, wherein the sub-sampling unit, 상기 입력 영상의 n+1번째 프레임 이후에 프레임이 입력될 때마다 이전 서브 샘플링 시작점을 기준으로 상기 미리 정해진 정수만큼 더 쉬프트한 서브 샘플링 시작점을 기준으로 기본 베이어 패턴을 선택하는 서브 샘플링을 수행함을 특징으로 하는 프리뷰 영상의 화질을 개선하기 위한 영상 기기.Whenever a frame is input after the n + 1 th frame of the input image, subsampling is performed by selecting a basic Bayer pattern based on a subsampling starting point shifted by the predetermined integer based on a previous subsampling starting point. A video device for improving the quality of preview video. 제8항에 있어서, 상기 서브 샘플링부는,The method of claim 8, wherein the sub-sampling unit, 상기 더 쉬프트한 서브 샘플링 시작점이 샘플링 비율 이상이 되면 다음 프레임 입력 시의 서브 샘플링 시작점을 최초 서브 샘플링 시작점으로 설정함을 특징으로 하는 프리뷰 영상의 화질을 개선하기 위한 영상 기기.And when the shifted subsampling start point is equal to or greater than a sampling rate, a subsampling start point at the next frame input as an initial subsampling start point. 제8항에 있어서, 상기 영상 신호 처리부는,The method of claim 8, wherein the image signal processing unit, 상기 서브 샘플링된 프레임 각각에 대해 상기 최초 서브 샘플링 시작점을 기준으로 상관 관계를 맞춤으로써 상기 프리뷰 영상을 생성함을 특징으로 하는 프리뷰 영상의 화질을 개선하기 위한 영상 기기.And generating the preview image by correlating each of the subsampled frames based on the initial subsampling starting point. 제8항에 있어서, The method of claim 8, 상기 서브 샘플링된 프레임 각각의 선택된 기본 베이어 패턴에 대해 노이즈를 제거하는 상관 이중 샘플링부와,A correlated double sampling unit for removing noise with respect to the selected basic Bayer pattern of each of the subsampled frames; 상기 노이즈 제거된 기본 베이어 패턴을 디지털 변환하는 아날로그 디지털 변환부를 더 포함함을 특징으로 하는 프리뷰 영상의 화질을 개선하기 위한 영상 기 기.And an analog-to-digital converter configured to digitally convert the noise-free 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 true KR20110062448A (en) 2011-06-10
KR101643773B1 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 (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014017816A1 (en) * 2012-07-25 2014-01-30 Samsung Electronics Co., Ltd. Apparatus and method to photograph an 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

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210090476A (en) 2020-01-10 2021-07-20 삼성전자주식회사 The method to improve image quality in zoom scenarios with a single camera and electronics that contains it

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1175180A (en) * 1997-06-16 1999-03-16 Sony Corp Image processing device and method, and transmission medium and method
KR20020009457A (en) * 2000-07-24 2002-02-01 마리 오 휴버 Skewed pixel pattern sub-sampling for image sensor
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1175180A (en) * 1997-06-16 1999-03-16 Sony Corp Image processing device and method, and transmission medium and method
JP2002517136A (en) * 1998-05-26 2002-06-11 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Solid-state imaging device
KR20020009457A (en) * 2000-07-24 2002-02-01 마리 오 휴버 Skewed pixel pattern sub-sampling for image sensor
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 (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014017816A1 (en) * 2012-07-25 2014-01-30 Samsung Electronics Co., Ltd. Apparatus and method to photograph an image
KR20140013591A (en) * 2012-07-25 2014-02-05 삼성전자주식회사 Apparatus and method for photographing image
US9264622B2 (en) 2012-07-25 2016-02-16 Samsung Electronics Co., Ltd. Apparatus and method to provide a live view while photographing an 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

Also Published As

Publication number Publication date
KR101643773B1 (en) 2016-07-28

Similar Documents

Publication Publication Date Title
US10200664B2 (en) Image processing apparatus, image device, image processing method, and program for reducing noise or false colors in an image
US9615033B2 (en) Image sensor with transfer gate control signal lines
TWI386049B (en) A solid-state imaging device, and a device using the solid-state imaging device
US9661210B2 (en) Image pickup device and image pickup apparatus
KR100667444B1 (en) Improved dynamic range video camera, recording system, and recording method
US20040046882A1 (en) Electric camera
US20110013033A1 (en) Still image and moving image capturing device
JP2007150643A (en) Solid state imaging element, driving method therefor, and imaging apparatus
EP2590413A1 (en) Solid-state image capture element and image capture device comprising said solid-state image capture element, and image capture control method and image capture control program
JP2005229603A (en) Solid-state image-sensing device improved in display quality in sub-sampling mode, and its driving method
JP2007104623A (en) Video signal transmission system, imaging apparatus, signal processor and video signal transmission method
KR101643773B1 (en) Apparatus and method for improving quality of preview image
US9407822B2 (en) Image capturing apparatus capable of reducing time taken to display image on display and method of controlling the same
KR101623591B1 (en) Apparatus and method for improving quality of preview image
JP2010136253A (en) Imaging apparatus and control method thereof
JP2005191814A (en) Solid-state imaging unit and pixel signal reading method
JP2005191943A (en) Solid-state imaging device and camera equipped with the same
JP2018207502A (en) Imaging element and imaging device
JP2015061178A (en) Imaging system, method of driving imaging system, imaging device, and method of driving imaging device
JP4637031B2 (en) Camera monitoring device
JPH05504873A (en) Videophone camera throughput compression method and videophone camera
JP4333371B2 (en) Imaging device and imaging device
JP2017152921A (en) Imaging device and drive control circuit for the same
JP3854455B2 (en) Viewfinder device
JP2004048799A (en) Imaging device

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