KR20110039988A - Interpolation method - Google Patents

Interpolation method Download PDF

Info

Publication number
KR20110039988A
KR20110039988A KR1020090097088A KR20090097088A KR20110039988A KR 20110039988 A KR20110039988 A KR 20110039988A KR 1020090097088 A KR1020090097088 A KR 1020090097088A KR 20090097088 A KR20090097088 A KR 20090097088A KR 20110039988 A KR20110039988 A KR 20110039988A
Authority
KR
South Korea
Prior art keywords
pixel
value
pixels
obtaining
image
Prior art date
Application number
KR1020090097088A
Other languages
Korean (ko)
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 KR1020090097088A priority Critical patent/KR20110039988A/en
Publication of KR20110039988A publication Critical patent/KR20110039988A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/01Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
    • H04N7/0135Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level involving interpolation processes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4007Scaling of whole images or parts thereof, e.g. expanding or contracting based on interpolation, e.g. bilinear interpolation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4015Image demosaicing, e.g. colour filter arrays [CFA] or Bayer patterns

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Color Television Image Signal Generators (AREA)
  • Image Processing (AREA)

Abstract

PURPOSE: An interpolation method is provided to increase image resolution through an interpolation procedure to reduce a driving time of an image apparatus. CONSTITUTION: An interpolation method comprise the steps of: mapping n*n pixel data with m*m grids, wherein the n and m are natural numbers; and obtaining the selected A pixel value from m*m grids by using the plural kinds of pixel data adjacent to the A pixel in the n*n pixels.

Description

인터폴레이션 방법{INTERPOLATION METHOD}Interpolation Method {INTERPOLATION METHOD}

본 발명은 이미지 데이터의 인터폴레이션(interpolation) 방법에 관한 것으로, 보다 자세하게는 해상도를 증가시킬 수 있는 인터폴레이션 방법에 관한 것이다.The present invention relates to an interpolation method of image data, and more particularly, to an interpolation method capable of increasing resolution.

일반적으로, 전하 결합 소자(Charge Coupled Device: CCD)형 이미지 센서, 씨모스 이미지 센서(CMOS Image Sensor: CIS) 등과 같은 이미지 센서는 피사체 정보를 인식하여 전기적인 영상 신호로 변환하는 장치 또는 전자부품이다. 이미지 센서는 마이크로 렌즈(microlens)를 통해 들어온 영상정보를 칼라 필터 어레이(Color Filter Array: CFA)를 통과시켜 하나의 이미지를 구성하는 각 픽셀(pixel)에 저장한다..In general, an image sensor such as a charge coupled device (CCD) type image sensor, a CMOS image sensor (CIS), or the like is a device or an electronic component that recognizes subject information and converts it into an electrical image signal. . The image sensor stores the image information input through the microlens through each color filter array (CFA) and stores the image information in each pixel constituting one image.

칼라 필터 어레이는 여러 종류가 있는데, 가장 널리 사용되고 있는 것이 베이어 필터(Bayer filter)이다. 베이어 필터는 빨강색(red color: R), 파랑색(blue color: B) 및 초록색(green color: G) 필터의 배열로 이루어져 있으며, 하나의 픽 셀 위에는 빨강색의 칼라필터, 파랑색의 칼라필터, 초록색의 칼라필터 중 1개의 칼라필터가 위치한다, 초록색의 칼라필터가 50%를 차지하고, 빨강색의 칼라필터, 파랑색의 칼라필터가 각각 25%씩 차지하게 된다.There are several types of color filter arrays, the most widely used being Bayer filters. Bayer filters consist of an array of red (R), blue (B) and green (G) filters, with a red color filter and a blue color on one pixel. One color filter is located among the filter and the green color filter. The green color filter occupies 50%, and the red color filter and blue color filter occupy 25%.

베이어 필터는 빛을 받아 그 칼라필터에 해당하는 색상의 빛만을 통과시킨다. 따라서 베이어 필터를 통과한 영상 데이터는 각 칼라필터마다 1가지 색상의 성분만을 가지고 있다. 그러나, 빛은 3가지 색상 즉, 빨강색(R), 파랑색(B) 및 초록색(G)의 조합이 되어야 모든 색을 구현할 수 있다. 따라서 실물과 같은 이미지를 구현하려면, 이미지를 구성하는 각 픽셀마다 빨강색(R), 파랑색(B) 및 초록색(G) 정보가 있어야 때문에, 베이어 필터를 사용하는 경우에 주변의 정보를 이용하여 모든 픽셀에 빨강색(R), 파랑색(B) 및 초록색(G) 정보를 재현하고 있다.The Bayer filter receives the light and passes only the light of the color corresponding to the color filter. Therefore, the image data passing through the Bayer filter has only one color component for each color filter. However, the light must be a combination of three colors, that is, red (R), blue (B), and green (G) to realize all colors. Therefore, in order to realize a lifelike image, each pixel constituting the image must have red (R), blue (B), and green (G) information. The red (R), blue (B) and green (G) information is reproduced in every pixel.

주변의 색 정보를 이용하여 해당하는 픽셀의 빨강색(R), 파랑색(B) 및 초록색(G) 정보를 재현하는 과정을 인터폴레이션이라고 한다.The process of reproducing the red (R), blue (B), and green (G) information of the corresponding pixel using the surrounding color information is called interpolation.

본 발명은 인터폴레이션 과정을 수행하는 과정에서 해상도 증대를 이룰 수 있는 인터폴레이션 방법을 제공한다.The present invention provides an interpolation method capable of increasing the resolution in the process of performing the interpolation process.

본 발명의 일실시예에 다르면, n * n 픽셀의 이미지를 인터폴레이션하는 방법에 있어서, n * n 픽셀 데이터를 m * m 그리드에 매핑하는 단계(n,m은 자연수); 및 상기 m * m 그리드 중 선택된 A 픽셀 값을 상기 n * n 픽셀 중 상기 A 픽셀의 주변에 있는 다수의 픽셀 데이터를 이용하여 구하는 단계를 포함하는 인터폴레이션 방법을 제공한다.According to an embodiment of the present invention, there is provided a method of interpolating an image of n * n pixels, comprising: mapping n * n pixel data to an m * m grid (n, m being a natural number); And obtaining a selected A pixel value of the m * m grid by using a plurality of pixel data in the periphery of the A pixel of the n * n pixels.

본 발명에 의해 이미지를 처리하면, 인터폴레이션 과정을 거치면서 이미지의 해상도가 자연스럽게 증가되기 때문에 추가적으로 해상도 증가에 따른 과정을 진행할 필요가 없다. 따라서 이미지를 처리하는 시간을 크게 줄일 수 있기 때문에 이미지 장치의 구동시간을 줄일 수 있다.When the image is processed by the present invention, since the resolution of the image is naturally increased during the interpolation process, there is no need to proceed with an additional resolution increase. Therefore, since the processing time of the image can be greatly reduced, the driving time of the imaging device can be reduced.

또한, 인터폴레이션 과정에서 해상도 증가를 자연스럽게 수행함으로서, 이미지의 해상도 증대를 위한 하드웨어를 추가적으로 구비할 필요가 없다. 따라서 해상도 증대가 가능한 이미지 처리 장치를 구현할 때에 제조비용을 줄일 수 있다.In addition, by naturally increasing the resolution in the interpolation process, there is no need to additionally provide hardware for increasing the resolution of the image. Therefore, manufacturing cost can be reduced when implementing an image processing apparatus capable of increasing resolution.

이하, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 본 발명의 기술적 사상을 용이하게 실시할 수 있을 정도로 상세히 설명하기 위하여, 본 발명의 가장 바람직한 실시예를 첨부된 도면을 참조하여 설명하기로 한다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings, in order to facilitate a person skilled in the art to easily carry out the technical idea of the present invention. do.

본 발명은 CFA(Color Filter Array)에 적용하는 일반적인 인터폴레이션 방식과는 달리 CFA에 대한 칼라 인터폴레이션을 수행하면서 자연스럽게 해상도 증가가 될 수 있도록 하는 고해상도 CFA 인터폴레이션 방법에 관한 것이다.The present invention relates to a high-resolution CFA interpolation method that allows the resolution to be naturally increased while performing color interpolation for CFA, unlike a general interpolation method applied to a color filter array (CFA).

도1은 본 발명을 나타내기 위해, 인터폴레이션 과정을 나타내는 도면이다.1 is a view showing an interpolation process to illustrate the present invention.

도1을 참조하여 살펴보면, CCD 나 CMOS 이미지 센서에서 외부에서 입사된 빛은 마이크로 렌즈(Micron Lens)를 거쳐서 CFA를 지나 하나의 이미지를 이룬다. 이미지를 구성하는 각 픽셀에 있는 칼라정보는 전기신호로 변경되고, 일반적으로 ADC(Analog Digital Conversion)를 지나서 디지털 영상으로 출력된다.Referring to FIG. 1, light incident from the outside in a CCD or CMOS image sensor passes through a CFA to form a single image through the CFA. The color information in each pixel constituting the image is converted into an electrical signal and is generally output as a digital image after passing through an analog digital conversion (ADC).

ISP(Image Signal Processing) 블럭은 CFA를 통과한 영상정보를 보정하여 보다 좋은 품질의 영상으로 구현하기 위해 CCD 나 CMOS 이미지 센서에 배치되는 블럭이다. 일반적으로 ISP 블럭에서는 인터폴레이션 과정을 수행하는데, 베이어(Bayer) 패턴을 가지고 자세히 설명한다.An ISP (Image Signal Processing) block is a block that is placed in a CCD or CMOS image sensor to correct the image information that has passed through the CFA to produce a higher quality image. In general, the ISP block performs an interpolation process, which is described in detail with a Bayer pattern.

CFA는 한 픽셀당 RGB성분 중 하나의 요소만을 가지고 있으며 그 배열은 다양하다. 예를 들면 베이어 패턴, CMY 패턴 등이 있다. 베이어 패턴은 R 픽셀과 B 픽셀은 하나씩, G 픽셀은 두개로 된 기본 패턴이 연속적으로 되어 있는 것이 특징이 다. CFA has only one element of RGB component per pixel and its arrangement varies. For example, a Bayer pattern, a CMY pattern, etc. are mentioned. The Bayer pattern is characterized by a series of basic patterns consisting of one R pixel and one B pixel, and two G pixels.

한 픽셀에서 하나의 이미지에 대한 칼라 정보만을 가지고 있기 때문에, 나머지 두 개의 칼라 값은 인접 픽셀에 있는 값을 이용하여 만들어 내며, 이를 인터폴레이션이이라고 한다. 인접 픽셀에 있는 값을 이용하여 원하는 픽셀의 칼라 정보를 재구성하는 방법은 다양하게 존재한다. 도1에는 베이어 패턴이 도시되어 있고, 그 하단에 인터폴레이션 과정을 수행하고 난 뒤의 이미지 정보가 도시되어 있다.Since we only have color information for one image in one pixel, the other two color values are generated using the values in adjacent pixels, which is called interpolation. There are various ways to reconstruct the color information of the desired pixel using the values in the adjacent pixels. 1 shows a Bayer pattern, and at the bottom thereof, image information after the interpolation process is performed.

도2는 본 발명에 의한 인터폴레이션 과정의 전후에 이미지 상태를 나타내는 도면이다.2 is a view showing an image state before and after the interpolation process according to the present invention.

도2를 참조하여 본 발명의 인터폴레이션 과정을 설명하면, 본 발명은 칼라 인터폴레이션 수행시 동시에 해상도를 증가하여 이미지 센서가 가지고 있는 해상도 이상의 해상도를 구현할 수 있도록 한다. 일반적으로 이미지의 해상도를 높이려면, 이미지 센서에서 인터폴레이션 과정을 수행하고, 이후 이미지 센서에서 출력되는 영상정보를 처리하는 다른 블럭에서 해상도를 증가시킨다. 그러나, 본 발명은 IPS 블럭에서 인터폴레이션 과정을 수행하면서 자연스럽게 해상도까지 증가시킬 수 있다. Referring to FIG. 2, the interpolation process of the present invention is implemented so that the resolution is increased at the same time when color interpolation is performed to implement a resolution higher than that of the image sensor. In general, to increase the resolution of an image, an interpolation process is performed in an image sensor, and then the resolution is increased in another block that processes image information output from the image sensor. However, the present invention can naturally increase the resolution while performing the interpolation process in the IPS block.

해상도를 늘리는 기능을 ISP 블럭 이후의 후처리로 적용하는 것보다 ISP 블럭 내에서 수행시 이미지 센서를 구비한 장치가 더욱 좋은 성능을 낼 수 있다. ISP 블럭 이후에 나오는 영상 데이터는 칼라 인터폴레이션 뿐만 아니라 다양한 ISP 블럭의 다른 기능들에 의해 이미 많은 변형이 된 픽셀값이기 때문에 해상도 향상에 있어서 변형된 픽셀값을 이용해야하는 단점이 있다. A device with an image sensor can perform better in the ISP block than to apply the function of increasing the resolution to post-processing after the ISP block. Since the image data coming after the ISP block is a pixel value that is already modified by not only color interpolation but also other functions of various ISP blocks, there is a disadvantage in that the modified pixel value is used in improving the resolution.

ISP 단에서는 많은 기능이 수행이 된다. 칼라 인터폴레이션, 렌즈 쉐이딩 보정(Lens Shading correction), 노이즈 줄임 동작(Noise reduction), 칼라 보정(Color correction), 감마 보정(Gamma correction), 휴/세츄레이션 조절( Hue/Saturation Control), 게인 제어(Gain Control) 등이 있다. ISP 블럭의 종류별로 처리하는 기능은 차이가 있을 수 있지만 일반적으로 위와 같은 기능들은 모두 적용된다. 이중 가장 중요한 부분이 칼라 인터폴레이션 과정이며 칼라 인터폴레이션 성능에 따라서 영상의 품질 차이가 난다. 본 발명에서는 영상의 품질 향상 및 해상도 향상을 위하여, ISP 블럭 내에서 칼라 인터폴레이션 수행시 동시에 해상도 향상을 하여, 보다 효과적으로 이미지를 처리할 수 있도록 한다.Many functions are performed in the ISP stage. Color Interpolation, Lens Shading Correction, Noise Reduction, Color Correction, Gamma Correction, Hue / Saturation Control, Gain Control Control). The function of processing by ISP block type may be different, but all of the above functions apply. The most important part is the color interpolation process, and the image quality is different according to the color interpolation performance. In the present invention, in order to improve image quality and resolution, resolution is simultaneously improved when color interpolation is performed in an ISP block, so that an image can be processed more effectively.

예를 들어 도2에 도시된 바와 같이, 베이어 패턴에서 각 픽셀에 대한 R,G,B 값을 생성할 때 가로, 세로 각각 1.25배의 픽셀 메모리 공간을 마련하고 각각의 픽셀에 모든 RGB를 재구성하면, 가로 1.25 배, 세로 1.25 배의 해상도를 가진 영상이 만들어진다. 8M 픽셀의 해상도를 가진 센서라면 12.5M 픽셀의 해상도 구현이 가능하다. For example, as shown in FIG. 2, when generating the R, G, and B values for each pixel in the Bayer pattern, a pixel memory space of 1.25 times each in the horizontal and vertical directions is provided, and each RGB is reconstructed in each pixel. In this case, images with a resolution of 1.25 times horizontally and 1.25 times vertically are produced. If the sensor has a resolution of 8M pixels, a resolution of 12.5M pixels can be achieved.

계속해서 도3 내지 도12를 참조하여, 인터폴레이션 과정을 수행하면서, 이미지의 해상도를 가로 1.25 배 세로 1.25배를 향상하는 과정을 자세히 설명한다. 구체적으로 5 * 5 픽셀의 이미지를 6 * 6 이미지로 해상도를 증가하면서 인터폴레이션을 동시에 수행하는 과정을 설명한다.3 to 12, the process of improving the resolution of the image by 1.25 times by 1.25 times while performing the interpolation process will be described in detail. Specifically, a process of simultaneously performing interpolation while increasing the resolution of a 5 * 5 pixel image to a 6 * 6 image will be described.

도3은 베이어 패턴의 이미지 데이터의 하이 그리드 매핑을 나타내는 도면이다.3 is a diagram illustrating high grid mapping of image data of a Bayer pattern.

도3에 도시된 바와 같이, 본 실시예에 따른 인터폴레이션 방법은 먼저 5*5 베이어 패턴을 6 * 6 고해상도 그리드(이하 하이 그리드(High grid))에 매핑을 시킨다. 6 * 6 하이 그리드에 있는 하나의 픽셀을 기준으로 가로 세로 1.25의 간격으로 베이어 패턴 데이터가 위치한다. 6 * 6 하이 그리드의 각 픽셀에 대해서 R, G, B 값을 정하는 것이 최종 목표이다. As shown in FIG. 3, the interpolation method according to the present embodiment first maps a 5 * 5 Bayer pattern to a 6 * 6 high resolution grid (hereinafter referred to as a high grid). Bayer pattern data is positioned at an interval of 1.25 horizontally with respect to one pixel in a 6 * 6 high grid. The final goal is to determine the R, G, and B values for each pixel on a 6 * 6 high grid.

도4는 CMY 패턴의 이미지 데이터의 하이 그리드 매핑을 나타내는 도면이다.4 is a diagram illustrating high grid mapping of image data of a CMY pattern.

도4에 도시된 바와 같이, CMY(cyan-magenta-yellow) 패턴의 이미지 데이터에 대해 고해상도 그리드에 매핑하는 것도 도3에 도시된 바와 비슷하다. CMY 패턴의 이미지 데이터에 대해 인터폴레이션 과정을 수행하면, 모든 픽셀에 C, M, Y의 값을 정할 수 있다. CMY 패턴에 대해서도 베이어 패턴의 인터폴레이션 과정과 유사하기 때문에, 이후의 도면에서는 베이어 패턴을 중심으로 설명한다.As shown in Fig. 4, the mapping of image data of a cyan-magenta-yellow (CMY) pattern to a high resolution grid is similar to that shown in Fig. 3. When the interpolation process is performed on the image data of the CMY pattern, values of C, M, and Y may be determined for all pixels. Since the CMY pattern is similar to the interpolation process of the Bayer pattern, the following description will focus on the Bayer pattern.

도5는 본 발명에 의한 바람직한 실시예에 따른 인터폴레이션 방법을 나타내는 흐름도이다.5 is a flowchart illustrating an interpolation method according to a preferred embodiment of the present invention.

도5에 도시된 바와 같이, 본 발명에 의한 바람직한 실시예에 따른 인터폴레이션 방법은 먼저 패턴이 어떤 패턴인지 확인한다(S1). 이어서 인터폴레이션을 수행할 이미지 패턴을 하이 그리드에 대응하여 매핑시킨다. 즉, 인터폴레이션을 수행할 이미지 패턴의 RGB 정보에 대해 하이 그리드 상에서 위치를 확인하다(S2). 이어서 본격적인 하이 그리드에 재구성이 이루어지는데 정보가 가장 많은 G 채널부터 시작한다(S3). G 채널에 대한 하이 그리드 재구성은 geometric closeness를 계산하여 반영시킨다. G 채널이 완료되면 R 채널과 B 채널의 하이 그리드 재구성이 각각 이루어지게 된다(S4,S5). As shown in Figure 5, the interpolation method according to a preferred embodiment of the present invention first checks what pattern the pattern (S1). Subsequently, an image pattern to be interpolated is mapped corresponding to the high grid. That is, the position is confirmed on the high grid with respect to the RGB information of the image pattern to be interpolated (S2). Subsequently, a full high grid reconstruction is performed, starting with the G channel with the most information (S3). High grid reconstruction for the G channel calculates and reflects geometric closeness. When the G channel is completed, high grid reconstruction of the R channel and the B channel is performed, respectively (S4 and S5).

R 채널 구성시 참고하는 주변의 각 위치의 R 값들을 이용하여 geometric closeness를 계산하고, 각 위치에 해당하는 G 값들의 photometric similarity를 계산하여 통합 가중치(weight)를 구성한다. 이 가중치를 노멀라이제이션(Normalization)를 시켜서 최종 가중치(weight)로 이용한다. 이 노멀라이제이션에 대해 도6과 도7에 자세히 도시되어 있다.The geometric closeness is calculated by using the R values of respective positions referenced in the R channel configuration, and the integrated weight is configured by calculating the photometric similarity of the G values corresponding to the respective positions. This weight is normalized and used as the final weight. This normalization is shown in detail in FIGS. 6 and 7.

도6은 도5에 도시된 R 채널 하이 그리드 재구성 단계를 자세히 나타내는 흐름도이고, 도7은 도5에 도시된 B 채널 하이 그리드 재구성 단계를 자세히 나타내는 흐름도이다.FIG. 6 is a flowchart showing the R channel high grid reconstruction step shown in FIG. 5 in detail, and FIG. 7 is a flowchart showing the B channel high grid reconstruction step shown in FIG. 5 in detail.

도6에 도시된 바와 같이, R 채널에 대한 geometric closeness의 가중치를 계산하고(11), G 채널을 이용하여 R 채널의 photometric similarity의 가중치를 계산한 다음(12), 두 가중치를 통합한 뒤에 일반화한다(13,14). 도7은 B 채널에 대한 일반화 과정이 도시되어 있으며, 도6과 유사한 단계이기 때문에 설명은 생략한다.As shown in Fig. 6, the weight of the geometric closeness for the R channel is calculated (11), the weight of the photometric similarity of the R channel is calculated using the G channel (12), and then the two weights are generalized. (13, 14). FIG. 7 illustrates a generalization process for the B channel, and a description thereof will be omitted since it is similar to FIG. 6.

도8은 본 발명의 바람직한 실시예에 따른 G 값의 Geometric closeness를 이용한 하이 그리드 매핑을 나타내는 도면이다.8 is a diagram illustrating high grid mapping using geometric closeness of G values according to a preferred embodiment of the present invention.

5 * 5 픽셀 정보를 이용하여 6 * 6 픽셀의 이미지로 변환하는 과정, 즉 해상도 증가가 이루어지는 인터폴레이션 과정에서 하이 그리드의 6 * 6 픽셀 중 2 * 2 위치의 값을 찾는 것을 살펴본다. In the process of converting an image into a 6 * 6 pixel by using 5 * 5 pixel information, that is, an interpolation process in which resolution is increased, the value of 2 * 2 of 6 * 6 pixels of the high grid is found.

도8에 도시된 바와 같이, 2 * 2 위치의 G 값을 찾기 위해서, 2 * 2 위치 주변에 n개의 G 값을 이용한다. 여기서는 2 * 2 위치에서 주변의 6개의 G 값을 이용 하고 있다. 여기서 참조하게 되는 주변의 G 값은 해상도 증대가 되는 상황에 따라 달라질 수 있지만, 해당되는 픽셀의 4 방향에 있는 픽셀 값을 적어도 하나씩 이용하는 방법을 이용할 수 있다.As shown in Fig. 8, to find the G value at the 2 * 2 position, n G values are used around the 2 * 2 position. Here, six G values are used around the 2 * 2 position. The surrounding G value referred to herein may vary depending on a situation in which resolution is increased, but a method using at least one pixel value in four directions of the corresponding pixel may be used.

또한, 주변의 6개의 G 값을 모두 균일하게 이용하는 것이 아니라, 2 * 2 위치에서 참조하는 G 값이 있는 곳과의 거리를 이용하여 가중치를 이용한다. 이는 다음의 수학식 1을 이용한다.In addition, instead of using all six G values uniformly, the weight is used by using a distance from the G value referenced at the 2 * 2 position. This uses the following equation (1).

Wk = D(Hx - HGx-k)Wk = D (Hx-HGx-k)

여기서 Wk는 k 번째 가중치를 나타내는 것이다. D()는 거리를 나타내는 함수이다. Hx는 하이 그리드 격자의 위치이며, HGx-k는 Hx에 k 번째로 가까운 위치에 있는 픽셀의 G 값을 나타낸다. 위치에 대한 정보는 해상도 증가 배율이 정해지면 확정이 되기 때문에 매번 계산하지 않고 LUT(lookup table)형태로 가지고 있으면 된다. 거리를 나타내는 방법은 다양한데, 예를 들면 수학식 2를 이용하여 유클리드 L2 norm이나 L1 norm을 사용할 수 있다.  Where Wk represents the k th weight. D () is a function that represents a distance. Hx is the position of the high grid grating and HGx-k represents the G value of the pixel at the kth closest to Hx. The information about the position is confirmed when the resolution increase magnification is determined, so it is not necessary to calculate the data every time, but only in the form of a lookup table (LUT). There are various ways to represent distance, for example, Euclid L2 norm or L1 norm can be used using Equation 2.

D(T) = |T|D (T) = | T |

계속해서 살펴보면, 임의의 픽셀인 Hx 에서의 G 값은 다음의 수학식3과 같이 나타낼 수 있다. Continuing look at, the G value at any pixel Hx can be expressed as Equation 3 below.

Figure 112009062552845-PAT00001
Figure 112009062552845-PAT00001

수학식3을 참조하여 살펴보면, 임의의 픽셀에서 Hx 에서 G 값(GHx)은 주변에 참조하는 픽셀의 G 값과 그 픽셀에 해당되는 가중치 값을 각각 곱한 뒤에 모두 더하여 제1 값을 구하고, 주변에 참조하는 모든 픽셀의 가중치값을 더한 값을 제2값을 구한 다음, 제1 값에서 제2 값을 나누어서 구하게 된다.Referring to Equation 3, Hx to G value (G Hx ) in any pixel is obtained by multiplying the G value of the pixel referred to by the weight value corresponding to the pixel and adding them all to obtain a first value. The second value is obtained by adding the weighted values of all the pixels referred to by and then dividing the second value by the first value.

가중치는 참조하게 되는 픽셀의 G 값이 현재 인터폴레이션을 수행하려고 하는 픽셀과 얼마나 거리가 떨어져 있는지, 즉 geometric closeness에 따라 정하게 된다. 가까운 위치에 있는 픽셀 데이터의 정보는 가중치를 크게 주어 큰 영향력을 갖게 하고, 상대적으로 먼 위치에 있는 픽셀 데이터의 정보는 가중치를 작게 하여 영향력을 줄인다. The weight is determined according to the geometric closeness of how far the G value of the pixel to be referred to is from the pixel to which the current interpolation is to be performed. The information of the pixel data in the near position has a large weight to have a large influence, and the information of the pixel data in the relatively far position has a small weight to reduce the influence.

따라서 도8은 2 * 2 위치에 있는 X 점의 G 값을 인터폴레이션 과정으로 찾는 과정에서 6개의 G 값을 참조하는 것으로 되어 있는데, 각각의 G 값이 X 점과 떨어져 있는 정도에 따라서 X점의 G값을 구하는데 영향을 주게 되는 것이다. 도8의 <a> 에서 주변의 6개의 G 값을 참조하여 인터폴레이션 과정을 수행하는 것을 보여주고 있으며, 도8의 <b>는 주변의 또 다른 6개의 G값을 참조하여 인터폴레이션 과정을 수행하는 것을 보여주고 있다. Therefore, in FIG. 8, six G values are referred to in the process of finding the G value of the X point at the position of 2 * 2 by interpolation process. It affects getting the value. In FIG. 8, the interpolation process is performed by referring to six neighboring G values. In FIG. 8, the interpolation process is performed by referring to six neighboring G values. Is showing.

전술한 방법을 이용하여 모든 픽셀에 G 값을 구하고 나면 R 값과 B 값을 구하게 된다. 도9와 도10은 R 값을 구하는 방법이 도시되어 있고, 도11과 도12는 B 값을 구하는 방법이 도시되어 있다.After the G value is obtained for all the pixels using the aforementioned method, the R and B values are obtained. 9 and 10 illustrate a method of obtaining R values, and FIGS. 11 and 12 illustrate a method of obtaining B values.

도9는 본 발명의 바람직한 실시예에 따른 R 값의 Geometric closeness를 이용한 하이 그리드 매핑을 나타내는 도면이다.9 is a diagram illustrating high grid mapping using geometric closeness of an R value according to a preferred embodiment of the present invention.

도9의 <a>에는 X 위치의 픽셀의 R 값을 구하기 위해 주변에 4개의 R 데이터를 참조하는 것이 도시되어 있으며, 도9의 <b>에는 X 위치에 또 다른 4개의 R 데이터를 참조하는 것이 도시되어 있다. In FIG. 9, reference is made to refer to four R data in the periphery to obtain an R value of the pixel at the X position, and in FIG. 9, <B> refers to another four R data at the X position. Is shown.

전술한 G 값을 구하는 경우에 Geometric closeness를 이용한 것처럼, R 값을 구하는 경우에도 참조하는 픽셀의 R 값을 그 픽셀이 현재 값을 구하고자 하는 픽셀간의 거리에 따른 가중치를 이용한다. 가까운 위치에 있는 픽셀 데이터의 정보는 가중치를 크게 주어 큰 영향력을 갖게 하고, 먼 위치에 있는 픽셀 데이터의 정보는 가중치를 작게 하여 영향력을 줄인다. Geometric clossness 의 수식은 다음의 수학식 4와 같다. As in the case of obtaining the above-described G value, as in the case of using the geometric closeness, in the case of obtaining the R value, the R value of the reference pixel is used by the weight according to the distance between the pixels for which the pixel is to obtain the current value. The information of the pixel data in the near position has a large weight to have a large influence, and the information of the pixel data in the far position has a small weight to reduce the influence. The equation of geometric clossness is given by Equation 4 below.

Wk_geoR = D(Hx -HRx-k)Wk_geoR = D (Hx -HRx-k)

Wk_geoR는 k번째 geometric clossness를 나타내는 것이다. D()는 거리를 나타내는 함수이다. Hx는 하이 그리드 격자의 위치이며, HRx-k 는 H에 k번째로 가까운 R 값을 가진 픽셀의 위치정보를 나타낸다. G의 경우와 비슷하게 위치에 대한 정보는 배율이 정해지면 확정이 되기 때문에 매번 계산하지 않고 LUT 형태로 가지 고 있으면 된다. 거리를 나타내는 방법도 G와 동일하게 한다. 물론 G 값을 구할때와 R 값을 구할 때에 거기에 대한 가중치를 구하는 경우 서로 다른 방법을 사용할 수도 있다. Wk_geoR represents kth geometric clossness. D () is a function that represents a distance. Hx is a position of a high grid grating, and HRx-k represents position information of a pixel having an R value closest to H. Similar to the case of G, information about the position is confirmed when the magnification is determined, so it is only necessary to have the LUT form without calculating each time. The method of representing the distance is also the same as that of G. Of course, you can use different methods to get the weight of G and the value of R.

또한, R 값을 구할 때, 추가적으로 이미지 상에서 평탄면인지 에지인지를 파악하고 photometric similarity를 구하여, 보다 정확한 R 값을 찾는데 이용할 수 있다. photometric similarity를 구할 때에는 G 값을 이용하여 구하게 된다.In addition, when calculating the R value, it is possible to additionally determine whether the image is a flat surface or an edge and obtain a photometric similarity to find a more accurate R value. The photometric similarity is obtained using the G value.

도10은 본 발명의 바람직한 실시예에 따른 R 값의 photometric similiarity 가중치를 적용하는 일례를 나타내는 도면이다.10 is a diagram illustrating an example of applying a photometric similiarity weight of an R value according to a preferred embodiment of the present invention.

X 위치의 R 값을 구하기 위해 참조하기 위한 phtometric similarity를 구하기 위해서는 참조하는 픽셀의 R 값 위치에 해당하는 G의 값을 G 채널 값을 이용하여 재구성한다. 이때 사용하는 재구성 방법도 다양하게 존재할 수 있는데 한 예로 선형보간방법을 이용할 수 있다. 선형보간법(linear Interpolation)이외에도 다항식 보간법(Polynomial interpolation) 또는 스플라인 보간법(Spline Interpolation)을 사용할 수 있다.In order to obtain a phtometric similarity for referencing the R value of the X position, the G value corresponding to the R value position of the reference pixel is reconstructed using the G channel value. In this case, there may be various reconstruction methods used. For example, a linear interpolation method may be used. In addition to linear interpolation, polynomial interpolation or spline interpolation can be used.

이를 자세히 살펴보면, 재구성된 G 값을 이용하여 R 값에 대한 photometric similarity를 계산한다. Photometric similarity는 재구성하기를 원하는 위치의 G값과 참조하려는 G 값을 비교하여 차이가 많이 나면 가중치를 작게 하고, 값 차이가 적게 나면 가중치를 크게 한다. 이를 수식으로 나타내면 다음의 수학식5와 같다. 또한 이는 가우시안 함수나 다른 일반적인 함수를 이용하여 표현할 수 있다. In detail, we use the reconstructed G value to calculate the photometric similarity of the R value. Photometric similarity compares the G value of the desired position to be reconstructed with the G value to be referred to, and if the difference is large, the weight is decreased, and if the difference is small, the weight is increased. This is represented by the following equation (5). It can also be expressed using a Gaussian function or some other generic function.

Figure 112009062552845-PAT00002
Figure 112009062552845-PAT00002

여기서 Gx 는 R 값을 구하고자 하는 픽셀의 G 값이며, Gx-k 는 참조하는 픽셀의 재구성한 G 값이다. 즉, Gx-k 값은 n*n 픽셀정보를 이용하여 선형보간방법으로 지금 참조하는 R 픽셀 위치에서 구하여진 G 값이다.Where Gx is the G value of the pixel for which the R value is to be obtained, and Gx-k is a reconstructed G value of the reference pixel. That is, the Gx-k value is a G value obtained at the R pixel position which is now referred to by linear interpolation using n * n pixel information.

전술한 바와 같이, geometric closeness와 photometric similarity 모두 이용하여 최종적으로 구하게 되는 R 값의 수식은 아래 수학식 6에 도시되어 있다. As described above, the equation of R value finally obtained using both geometric closeness and photometric similarity is shown in Equation 6 below.

Figure 112009062552845-PAT00003
Figure 112009062552845-PAT00003

도10의 X 위치의 R 값을 구하기 위해서는 수학식 6에 도시된 바와 같이, 참조하게 되는 각 픽셀의 geometric closeness 가중치와 photometric similarity 가중치와 R 값을 곱한 다음 더하여 제1 값을 구하고, 참조하게 되는 각 픽셀의 geometric closeness 가중치와 photometric similarity 가중치를 곱한 이후에 더한 값을 제 2값으로 구한 다음, 제1 값을 제2 값으로 나누게 되면, 원하는 픽셀의 R 값을 최종적으로 구할 수 있다. 이렇게 제2 값으로 제1 값을 나누게 것이 Geometric closeness와 photometric similarity 가중치에 대해 노멀라이제이션(Normalization)을 수행하는 것이다.To obtain the R value of the X position of FIG. 10, as shown in Equation 6, the geometric closeness weight, the photometric similarity weight, and the R value of each pixel to be referred to are multiplied and then added to obtain a first value. After multiplying a pixel's geometric closeness weight by a photometric similarity weight and then adding the value to the second value and dividing the first value by the second value, the R value of the desired pixel can be finally obtained. Dividing the first value by the second value thus normalizes the geometric closeness and photometric similarity weights.

도10에서 X 위치의 픽셀의 B 값도 R 값을 구하는 경우와 비슷하게 할 수 있다. 도11은 본 발명의 바람직한 실시예에 따른 B 값의 Geometric closeness를 이용한 하이 그리드 매핑을 나타내는 도면이다. 도12는 본 발명의 바람직한 실시예에 따른 B 값의 photometric similiarity 가중치를 적용하는 일예를 나타내는 도면이다.In FIG. 10, the B value of the pixel at the X position may be similar to the case of obtaining the R value. 11 is a diagram illustrating high grid mapping using geometric closeness of a B value according to an exemplary embodiment of the present invention. 12 illustrates an example of applying a photometric similiarity weight of B value according to an embodiment of the present invention.

X위치의 픽셀의 B 값을 구하기 위한 수식이 수학식 7에 도시되어 있다. The equation for obtaining the B value of the pixel at the X position is shown in equation (7).

Figure 112009062552845-PAT00004
Figure 112009062552845-PAT00004

Figure 112009062552845-PAT00005
Figure 112009062552845-PAT00005

지금까지 살펴본 바와 같이, 본 실시예에 다른 인터폴레이션 방법을 수행하 면, 5 * 5 베이터 패턴의 데이터를 이용하여, 6 * 6 하이 그리드 픽셀의 RGB 정보를 모두 구할 수 있다. 본 실시예에서 설명한 인터폴레이션 과정을 수행하면서 해상도를 증가시키는 일례가 1.25배로 증가되는 것이기 때문에, 5 * 5 격자가 6 * 6 격자로 변환이 된다. 이와 같은 패턴이 하이 그리드 격자 0, 5, 10, 15,… 개의 그리드마다 같은 베이어 패턴의 반복이기 때문에, 하이 그리드 격자 0, 5, 10, 15,… 마다 반복적인 작업을 계속해서 수행할 수 있다. As described above, when another interpolation method is performed in this embodiment, all RGB information of 6 * 6 high grid pixels can be obtained using data of 5 * 5 bait patterns. Since one example of increasing the resolution while performing the interpolation process described in this embodiment is 1.25 times, the 5 * 5 grid is converted into a 6 * 6 grid. Such a pattern may be used for high grid lattice 0, 5, 10, 15,... High grid lattice 0, 5, 10, 15,... You can continue to perform repetitive tasks each time.

여기서는 5 * 5 격자가 6 * 6 격자로 변환이 되는 경우를 가지고 설명하였으나, 경우에 따라서 단위가 되는 격자의 픽셀은 달라질 수 있으며, 본 실시예에 따른 기술적 내용을 이용하여 다양한 사이즈의 해상도 증가에 적용할 수 있다. 구체적으로 인터폴레이션 과정을 수행하면서 2배 이상의 해상도 증가도 가능하다. 또한, 전술한 바와 같이, 베이어 패턴뿐만 아니라 CMY 패턴등 다양한 패턴에 본 실시예에 따른 기술적 내용을 적용할 수 있다.Herein, a 5 * 5 grid is described as being converted to a 6 * 6 grid, but in some cases, pixels of a unit grid may vary, and according to the technical details of the present embodiment, resolution of various sizes may be increased. Applicable Specifically, the resolution can be increased by more than twice while performing the interpolation process. In addition, as described above, the technical content according to the present embodiment may be applied to various patterns such as a CMY pattern as well as a Bayer pattern.

이상에서 대표적인 실시예를 통하여 본 발명에 대하여 상세하게 설명하였으나, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는 상술한 실시예에 대하여 본 발명의 범주에서 벗어나지 않는 한도 내에서 다양한 변형이 가능함을 이해할 것이다. 그러므로 본 발명의 권리범위는 설명된 실시예에 국한되어 정해져서는 안되며, 후술하는 특허청구범위뿐만 아니라 이 특허청구범위와 균등한 것들에 의해 정해져야 한다.Although the present invention has been described in detail with reference to exemplary embodiments above, those skilled in the art to which the present invention pertains can make various modifications to the above-described embodiments without departing from the scope of the present invention. Will understand. Therefore, the scope of the present invention should not be limited to the described embodiments, but should be determined by the scope of the appended claims, as well as the appended claims.

도1은 본 발명을 나타내기 위해, 인터폴레이션 과정을 나타내는 도면.1 illustrates an interpolation process to illustrate the present invention.

도2는 본 발명에 의한 인터폴레이션 과정의 전후에 이미지 상태를 나타내는 도면.Figure 2 shows the state of the image before and after the interpolation process according to the present invention.

도3은 베이어 패턴의 이미지 데이터의 하이 그리드 매핑을 나타내는 도면.3 is a diagram showing high grid mapping of image data of a Bayer pattern.

도4는 CMY 패턴의 이미지 데이터의 하이 그리드 매핑을 나타내는 도면.4 shows high grid mapping of image data of a CMY pattern.

도5는 본 발명에 의한 인터폴레이션 방법을 나타내는 흐름도.5 is a flowchart showing an interpolation method according to the present invention;

도6은 도5에 도시된 R 채널 하이 그리드 재구성 단계를 자세히 나타내는 흐름도.6 is a flowchart detailing the R channel high grid reconstruction step shown in FIG.

도7은 도5에 도시된 B 채널 하이 그리드 재구성 단계를 자세히 나타내는 흐름도.7 is a flowchart detailing the B channel high grid reconstruction step shown in FIG.

도8은 본 발명의 바람직한 실시예에 따른 G 값의 Geometric closeness를 이용한 하이 그리드 매핑을 나타내는 도면.8 illustrates high grid mapping using Geometric closeness of G values in accordance with a preferred embodiment of the present invention.

도9는 본 발명의 바람직한 실시예에 따른 R 값의 Geometric closeness를 이용한 하이 그리드 매핑을 나타내는 도면.9 illustrates high grid mapping using Geometric closeness of R values in accordance with a preferred embodiment of the present invention.

도10은 본 발명의 바람직한 실시예에 따른 R 값의 photometric similiarity 가중치를 적용하는 일예를 나타내는 도면.10 illustrates an example of applying a photometric similiarity weight of an R value according to a preferred embodiment of the present invention.

도11은 본 발명의 바람직한 실시예에 따른 B 값의 Geometric closeness를 이용한 하이 그리드 매핑을 나타내는 도면.Figure 11 illustrates high grid mapping using Geometric closeness of B values in accordance with a preferred embodiment of the present invention.

도12는 본 발명의 바람직한 실시예에 따른 B 값의 photometric similiarity 가중치를 적용하는 일예를 나타내는 도면.12 illustrates an example of applying a photometric similiarity weight of B value according to a preferred embodiment of the present invention.

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

G: 픽셀의 그린값G: Green value of pixel

B: 픽셀의 블루값B: the blue value of the pixel

R: 픽셀의 레드값R: Red value of the pixel

Claims (11)

n * n 픽셀(의 이미지를 인터폴레이션하는 방법에 있어서,In a method of interpolating an image of n * n pixels, n * n 픽셀 데이터를 m * m 그리드에 매핑하는 단계(n,m은 자연수); 및mapping n * n pixel data to an m * m grid, where n and m are natural numbers; And 상기 m * m 그리드 중 선택된 A 픽셀 값을 상기 n * n 픽셀 중 상기 A 픽셀의 주변에 있는 다수의 픽셀 데이터를 이용하여 구하는 단계Obtaining a selected A pixel value of the m * m grid using a plurality of pixel data in the periphery of the A pixel of the n * n pixels 를 포함하는 인터폴레이션 방법.Interpolation method comprising a. 제 1 항에 있어서,The method of claim 1, 상기 n * n 픽셀의 데이터는 베이어 패턴 또는 CMY 패턴으로 되어 있는 것을 특징으로 하는 인터폴레이션 방법.And the n * n pixel data is in a Bayer pattern or a CMY pattern. 제 1 항에 있어서,The method of claim 1, 상기 A 픽셀 값을 구하는 단계는Obtaining the A pixel value 상기 A 픽셀의 G 값을 상기 n * n 픽셀 데이터 중 상기 A 픽셀의 주변에 있는 X 개의 픽셀 데이터의 G 값을 이용하여 구하는 단계;Obtaining a G value of the A pixel by using a G value of X pixel data around the A pixel among the n * n pixel data; 상기 A 픽셀의 R 값을 상기 n * n 픽셀 데이터 중 상기 A 픽셀의 주변에 있는 Y 개의 픽셀 데이터의 R 값을 이용하여 구하는 단계; 및Obtaining an R value of the A pixel by using an R value of Y pixel data around the A pixel among the n * n pixel data; And 상기 A 픽셀의 B 값을 상기 n * n 픽셀 데이터 중 상기 A 픽셀의 주변에 있는 Z 개의 픽셀 데이터의 B 값을 이용하여 구하는 단계를 포함하는 인터폴레이션 방법.Obtaining a B value of the A pixel by using a B value of Z pixel data around the A pixel among the n * n pixel data. 제 3 항에 있어서,The method of claim 3, wherein 상기 X 개의 픽셀 데이터의 G 값을 이용하여 구하는 단계는 아래 수학식 8을 이용하는 것을 특징으로 하는 인터폴레이션 방법.And obtaining the G values of the X pixel data using Equation 8 below.
Figure 112009062552845-PAT00006
Figure 112009062552845-PAT00006
(GHx는 구하고자 하는 A 픽셀의 G값, Wk 는 A 픽셀의 위치와 n * n 픽셀중 참고하고자 하는 G 값을 가진 픽셀 위치와의 거리, Gx-k는 참고하고자 하는 픽셀의 G 값, N은 자연수로 A 픽셀의 GHx 값을 구하고자 할 때 참고하고자 하는 픽셀의 수)(G Hx is the G value of the A pixel to be obtained, Wk is the distance between the position of the A pixel and the pixel position of the G value among the n * n pixels, Gx-k is the G value of the pixel to be referred to, N is a natural number, and the number of pixels to refer to when obtaining the G Hx value of A pixels.)
제 3 항에 있어서,The method of claim 3, wherein 상기 A 픽셀의 주변에 있는 Y 개의 픽셀 데이터의 R 값을 이용하여 구하는 단계는 아래 수학식 9를 이용하는 것을 특징으로 하는 인터폴레이션 방법.The method of obtaining the R pixel of the Y pixel data in the periphery of the A pixel may use Equation 9 below.
Figure 112009062552845-PAT00007
Figure 112009062552845-PAT00007
(RHx는 구하고자 하는 A 픽셀의 R 값, WkgeoR 는 A 픽셀의 위치와 n * n 픽셀중 참고하고자 하는 B 값을 가진 픽셀 위치와의 거리, WkphotR은 참고하고자 하는 픽셀의 포토메트릭 시밀레러티(photometric similarity) 가중치, Rx-k는 참고하고자 하는 픽셀의 R 값, M은 자연수로 A 픽셀의 RHx 값을 구하고자 할 때 참고하고자 하는 픽셀의 수)(R Hx is the R value of A pixel to be obtained, WkgeoR is the distance between the position of A pixel and the pixel position of B value among n * n pixels to be referred to, WkphotR is the photometric scalability of the pixel to be referred to ( photometric similarity) weight, Rx-R k is a value of the pixel to be reference, M is the number of pixels to see if you want to obtain the R value of Hx a pixel with a natural number)
제 5 항에 있어서,The method of claim 5, 상기 포토메트릭 시밀레러티(photometric similarity) 가중치는 아래 수학식 10에 의해 정해지는 것을 특징으로 하는 인터폴레이션 방법.The photometric similarity weight is determined by Equation 10 below.
Figure 112009062552845-PAT00008
Figure 112009062552845-PAT00008
(여기서 Gx 는 R 값을 구하고자 하는 픽셀의 G 값이며, Gx-k 는 참조하는 픽셀에 해당되는 위치의 G 값(상기 G 값은 n*n 픽셀정보를 이용하여 참조하는 R 픽셀 위치에서 구하여진 G 값))Where Gx is the G value of the pixel for which the R value is to be obtained, and Gx-k is the G value of the position corresponding to the reference pixel. Binary G value))
제 6 항에 있어서, The method of claim 6, 상기 참조하는 픽셀에 해당되는 위치의 G 값은 선형보간법, 다항식 보간법 또는 스플라인 보간법을 이용하는 것을 특징으로 하는 인터폴레이션 방법.The G value of the position corresponding to the reference pixel is a linear interpolation method, a polynomial interpolation method or a spline interpolation method characterized in that the. 제 3 항에 있어서,The method of claim 3, wherein 상기 A 픽셀의 주변에 있는 Z 개의 픽셀 데이터의 B 값을 이용하여 구하는 단계는 아래 수학식 11를 이용하는 것을 특징으로 하는 인터폴레이션 방법.The method of obtaining using the B values of the Z pixel data in the periphery of the A pixel using the following equation (11).
Figure 112009062552845-PAT00009
Figure 112009062552845-PAT00009
(BHx는 구하고자 하는 A 픽셀의 B 값, WkgeoR 는 A 픽셀의 위치와 n * n 픽셀중 참고하고자 하는 B 값을 가진 픽셀 위치와의 거리, WkphotB은 참고하고자 하는 픽셀의 포토메트릭 시밀레러티(photometric similarity) 가중치, Bx-k는 참고하고자 하는 픽셀의 B 값, M은 자연수로 A 픽셀의 BHx 값을 구하고자 할 때 참고하고자 하는 픽셀의 수)(B Hx is the B value of the A pixel to be obtained, WkgeoR is the distance between the position of the A pixel and the pixel position of the B value to be referred to among n * n pixels, and WkphotB is the photometric scalability of the pixel to be referred to. photometric similarity) weight, Bx-k B is the value of the pixel to be reference, M is the number of pixels to see if you want to obtain the B Hx values of the pixel a as a natural number)
제 8 항에 있어서,The method of claim 8, 상기 포토메트릭 시밀레러티(photometric similarity) 가중치는 아래 수학식 12에 의해 정해지는 것을 특징으로 하는 인터폴레이션 방법.The photometric similarity weight is determined by Equation 12 below.
Figure 112009062552845-PAT00010
Figure 112009062552845-PAT00010
(여기서 Gx 는 B 값을 구하고자 하는 픽셀의 G 값이며, Gx-k 는 참조하는 픽셀에 해당되는 위치의 G 값(상기 G 값은 n*n 픽셀정보를 이용하여 참조하는 B 픽셀 위치에서 구하여진 G 값))Where Gx is the G value of the pixel for which the B value is to be obtained, and Gx-k is the G value of the position corresponding to the reference pixel. Binary G value))
제 9 항에 있어서, The method of claim 9, 상기 참조하는 픽셀에 해당되는 위치의 G 값은 선형보간법, 다항식 보간법 또는 스플라인 보간법을 이용하는 것을 특징으로 하는 인터폴레이션 방법.The G value of the position corresponding to the reference pixel is a linear interpolation method, a polynomial interpolation method or a spline interpolation method characterized in that the. 제 1 항에 있어서,The method of claim 1, 상기 A 픽셀의 주변에 있는 다수의 픽셀 데이터는The plurality of pixel data in the periphery of the A pixel 적어도 상기 A 픽셀의 좌우와 위 아래 4 방향에서 각각 하나의 픽셀 데이터를 포함하는 것을 특징으로 하는 인터폴레이션 방법.And at least one pixel data in at least four directions of left and right and up and down of the A pixel.
KR1020090097088A 2009-10-13 2009-10-13 Interpolation method KR20110039988A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020090097088A KR20110039988A (en) 2009-10-13 2009-10-13 Interpolation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020090097088A KR20110039988A (en) 2009-10-13 2009-10-13 Interpolation method

Publications (1)

Publication Number Publication Date
KR20110039988A true KR20110039988A (en) 2011-04-20

Family

ID=44046432

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020090097088A KR20110039988A (en) 2009-10-13 2009-10-13 Interpolation method

Country Status (1)

Country Link
KR (1) KR20110039988A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150015483A (en) * 2012-07-09 2015-02-10 니폰 덴신 덴와 가부시끼가이샤 Image encoding method, image decoding method, image encoding device, image decoding device, image encoding program, image decoding program, and recording medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150015483A (en) * 2012-07-09 2015-02-10 니폰 덴신 덴와 가부시끼가이샤 Image encoding method, image decoding method, image encoding device, image decoding device, image encoding program, image decoding program, and recording medium

Similar Documents

Publication Publication Date Title
KR101643319B1 (en) Apparatus and Method for obtaining high dynamic range image
JP4385282B2 (en) Image processing apparatus and image processing method
US6646246B1 (en) Method and system of noise removal for a sparsely sampled extended dynamic range image sensing device
US9338364B2 (en) Imaging device and image generation method
JP2012060641A (en) Digital raw image demosaic method, computer program thereof, and image sensor circuit or graphic circuit thereof
JP3968121B2 (en) Image compression method
US20070159542A1 (en) Color filter array with neutral elements and color image formation
JP2004343685A (en) Weighted gradient based and color corrected interpolation
JP4328424B2 (en) Image conversion method
US7072509B2 (en) Electronic image color plane reconstruction
JP2004074793A (en) Method of color correction of image
US8086032B2 (en) Image processing device, image processing method, and image pickup apparatus
WO2016047240A1 (en) Image processing device, image pickup element, image pickup device, and image processing method
CN107623844B (en) Determination of color values of pixels at intermediate positions
JP5709131B2 (en) Image processing system
JP7504629B2 (en) IMAGE PROCESSING METHOD, IMAGE PROCESSING APPARATUS, IMAGE PROCESSING PROGRAM, AND STORAGE MEDIUM
US7609300B2 (en) Method and system of eliminating color noises caused by an interpolation
EP1209900B1 (en) Method and apparatus for performing tone scale modifications
JP2011041210A (en) Signal processing apparatus, imaging apparatus and signal processing method
US11677918B2 (en) Method and apparatus for color space conversion
JP2018107731A (en) Image generating apparatus and imaging apparatus
JP2004519156A (en) Contour filter for output signal of image detector
JPWO2006059365A1 (en) Image processing device, non-imaging color signal calculation device, and image processing method
JP5454156B2 (en) Image processing apparatus, imaging apparatus, and image processing program
Paul et al. Maximum accurate medical image demosaicing using WRGB based Newton Gregory interpolation method

Legal Events

Date Code Title Description
WITN Application deemed withdrawn, e.g. because no request for examination was filed or no examination fee was paid