TW202335489A - Method and image processor unit for processing raw image data - Google Patents

Method and image processor unit for processing raw image data Download PDF

Info

Publication number
TW202335489A
TW202335489A TW111144952A TW111144952A TW202335489A TW 202335489 A TW202335489 A TW 202335489A TW 111144952 A TW111144952 A TW 111144952A TW 111144952 A TW111144952 A TW 111144952A TW 202335489 A TW202335489 A TW 202335489A
Authority
TW
Taiwan
Prior art keywords
pixel array
pixel
color
array
imd
Prior art date
Application number
TW111144952A
Other languages
Chinese (zh)
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 德商夢想芯片技術股份有限公司
Publication of TW202335489A publication Critical patent/TW202335489A/en

Links

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • H04N23/84Camera processing pipelines; Components thereof for processing colour signals
    • H04N23/843Demosaicing, e.g. interpolating colour pixel values
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/10Circuitry of solid-state image sensors [SSIS]; Control thereof for transforming different wavelengths into image signals
    • H04N25/11Arrangement of colour filter arrays [CFA]; Filter mosaics
    • H04N25/13Arrangement of colour filter arrays [CFA]; Filter mosaics characterised by the spectral characteristics of the filter elements
    • H04N25/134Arrangement of colour filter arrays [CFA]; Filter mosaics characterised by the spectral characteristics of the filter elements based on three different wavelength filter elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/40Extracting pixel data from image sensors by controlling scanning circuits, e.g. by modifying the number of pixels sampled or to be sampled
    • H04N25/46Extracting pixel data from image sensors by controlling scanning circuits, e.g. by modifying the number of pixels sampled or to be sampled by combining or binning pixels

Landscapes

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

Abstract

The invention relates to a method for processing raw image data (IMG RAW) provided by an image sensor, wherein the image data comprising a first array of pixel, said first pixel array being overlaid with a color filter array (3), so the pixel represent color information according to a first specific color pattern defined by the color filter array (3), said first specific color filter pattern comprising blocks of adjacent pixel assigned to the same color characterized by: a) Binning of the blocks of adjacent pixel assigned to the same color down to achieve a second pixel array of reduced size and resolution of the image compared to the image of the first pixel array; b) Demosaicing of the second pixel array according to a second color filter array (3) which is related to the color distribution pattern of the second pixel array; and c) Upscaling the demosaiced second pixel array to the size of the color distribution pattern of the first pixel array to achieve an upscaled third pixel array (PA IMD).

Description

用於處理原始影像資料的方法及影像處理單元Method and image processing unit for processing original image data

本發明係關於一種用於處理由影像感測器提供的原始影像資料的方法,其中影像感測器包含第一像素陣列,所述第一像素陣列與第一濾色器陣列重疊,使得像素根據由濾色器陣列界定的第一特定色彩圖案表示色彩資訊,所述第一特定色彩圖案包含分配至同一色彩的相鄰像素的區塊。The present invention relates to a method for processing raw image data provided by an image sensor, wherein the image sensor includes a first pixel array, the first pixel array overlaps a first color filter array, so that the pixels are arranged according to the A first specific color pattern defined by the color filter array represents color information, the first specific color pattern including blocks of adjacent pixels assigned to the same color.

本發明進一步係關於一種用於處理由影像感測器提供的原始影像資料的影像處理單元,所述影像感測器包含第一像素陣列的一感測器陣列,提供包含第一像素資料陣列的影像,所述第一像素陣列與濾色器陣列重疊,使得像素根據由濾色器陣列界定的第一特定色彩圖案來表示色彩資訊,所述第一特定色彩圖案包含分配至同一色彩的相鄰像素的區塊。The present invention further relates to an image processing unit for processing raw image data provided by an image sensor, the image sensor including a first pixel array providing a sensor array including the first pixel data array. An image in which the first pixel array overlaps with the color filter array such that the pixels represent color information according to a first specific color pattern defined by the color filter array, the first specific color pattern including adjacent pixels assigned to the same color. block of pixels.

本發明進一步係關於一種包含用以執行上述方法的指令的電腦程式。The invention further relates to a computer program comprising instructions for performing the above method.

標準數位影像感測器,特別是CMOS影像感測器的像素陣列設計成在不偏向任何特定波長的情況下擷取光。所得影像將是沒有任何色彩資訊的單色影像。為了產生色彩資訊,像素陣列與濾色器陣列重疊,濾色器陣列是用於不同波長的濾光器之柵格。最常見的濾色器陣列圖案是拜耳(Bayer)濾色器,其由2x2個基本單元組成,含有一個紅(red,R)、兩個綠(green,G)及一個藍(blue,B)像素單元點。在影像感測器的整個像素陣列上重複基本單元,產生具有R、G及B像素的影像。由於這一過程,色彩資訊是不完整的。重建遺漏的色彩資訊,例如,重建每一個像素的R、G及B的過程稱為去馬賽克。The pixel array of a standard digital image sensor, especially a CMOS image sensor, is designed to capture light without being biased towards any particular wavelength. The resulting image will be a monochrome image without any color information. To generate color information, the pixel array overlaps with a color filter array, which is a grid of filters for different wavelengths. The most common color filter array pattern is the Bayer color filter, which consists of 2x2 basic units, containing one red (red, R), two green (green, G) and one blue (blue, B) Pixel unit point. The basic unit is repeated across the entire pixel array of the image sensor, producing an image with R, G, and B pixels. Due to this process, color information is incomplete. The process of reconstructing missing color information, for example, the R, G, and B of each pixel, is called demosaicing.

除拜耳濾色器以外,還存在其他高階濾色器陣列圖案,如四拜耳(QuadBayer)、HexaDeca或6x6 CFA。在低光照條件下,可藉由組合同一色彩的像素的區塊來對用這些濾色器陣列獲取的像素進行合成。個別色彩的像素再次形成拜耳圖案。這會減小影像解析度,但會提高影像的訊號雜訊比(signal to noise ratio,SNR)。In addition to Bayer filters, other higher-order color filter array patterns exist, such as QuadBayer, HexaDeca or 6x6 CFA. In low light conditions, pixels acquired with these color filter arrays can be synthesized by combining blocks of pixels of the same color. The individual colored pixels again form a Bayer pattern. This will reduce the image resolution, but will increase the signal to noise ratio (SNR) of the image.

Cui, K.; Jin, Z. & Steinbach, E.在2018年第25屆IEEE國際影像處理會議(International Conference on Image Processing,ICIP)的2018「使用3級卷積神經網路結構的色彩影像去馬賽克」中描述了一種用於色彩去馬賽克的3級卷積神經元網路結構,其中綠通道在第一階段獨立重建。藉由使用重建之綠通道作為導引,在第二階段對紅通道及藍通道進行恢復。最後,在第三階段重建3-品質RGB色彩影像。Cui, K.; Jin, Z. & Steinbach, E. In 2018 "Color Image Removal Using 3-Level Convolutional Neural Network Structure" at the 25th IEEE International Conference on Image Processing (ICIP) in 2018 Mosaic" describes a 3-level convolutional neuron network structure for color demosaicing, in which the green channel is independently reconstructed in the first stage. By using the reconstructed green channel as a guide, the red and blue channels are restored in the second stage. Finally, the 3-quality RGB color image is reconstructed in the third stage.

US 2018/0357750 A1描述了一種用於具有多單元馬賽克圖案的影像的去馬賽克方法,其中多單元馬賽克影像包括第一四分之一、第二四分之一、第三四分之一、及第四四分之一。各個四分之一包括多個單元,且各個單元包括一像素值。對影像執行影像分割過程,以獲得四個拜耳平面影像。在四個四分之一解析度平面影像中之各者上,執行四分之一解析度去馬賽克過程,以在各個色彩通道中獲得四分之一解析度影像。最後,在各個色彩通道中組合四個四分之一解析度影像,以在各個色彩通道中產生全解析度影像。US 2018/0357750 A1 describes a demosaicing method for an image having a multi-unit mosaic pattern, where the multi-unit mosaic image includes a first quarter, a second quarter, a third quarter, and Fourth quarter. Each quarter includes a plurality of cells, and each cell includes a pixel value. An image segmentation process was performed on the image to obtain four Bayer plane images. On each of the four quarter-resolution planar images, a quarter-resolution demosaic process is performed to obtain a quarter-resolution image in each color channel. Finally, the four quarter-resolution images are combined in each color channel to produce a full-resolution image in each color channel.

Hirakawa,K.&Parks,T.W.在IEEE影像處理會刊,IEEE,2005,14,360~369:「自適應均勻定向去馬賽克算法」中描述了通常與去馬賽克算法的定向內插方法相關聯的固有問題,即,誤導引色彩假影、內插色彩假影及混疊。提出了一種去馬賽克算法,該算法藉由在色彩假影較少的方向上進行內插來估計遺漏的像素。藉由將濾波器組技術應用於定向內插來解決混疊問題。使用非線性迭代流程來減少內插假影。這是用於標準拜耳圖案影像之去馬賽克的適用標準算法。Hirakawa, K. & Parks, T.W., "Adaptive Uniform Oriented Demosaic Algorithm" in IEEE Transactions on Image Processing, IEEE, 2005, 14, 360~369: "Adaptive Uniform Oriented Demosaic Algorithm" describe the inherent limitations commonly associated with directional interpolation methods of demosaicing algorithms. The problems, namely, misdirection color artifacts, interpolated color artifacts, and aliasing. A demosaicing algorithm is proposed that estimates missing pixels by interpolating in directions with fewer color artifacts. The aliasing problem is solved by applying filter bank technology to directional interpolation. Use a nonlinear iterative process to reduce interpolation artifacts. This is a suitable standard algorithm for demosaicing standard Bayer pattern images.

問題是除標準拜耳濾色器陣列以外,還要處理多種高階濾色器陣列圖案。這需要高度複雜的硬體及軟體資源。The problem is dealing with a variety of higher-order color filter array patterns in addition to the standard Bayer color filter array. This requires highly sophisticated hardware and software resources.

本發明的目的是提供一種改良方法,用於用標準去馬賽克過程來處理由影像感測器提供的具有第一特定濾色器圖案的原始影像資料,標準去馬賽克過程是根據第二濾色器陣列處理第二像素陣列。It is an object of the present invention to provide an improved method for processing raw image data provided by an image sensor having a first specific color filter pattern using a standard demosaicing process based on a second color filter pattern. The array handles the second array of pixels.

該目的藉由包含請求項1所述之步驟、如請求項15所述之影像處理單元、及如請求項17所述之電腦程式的方法來得到。較佳實施例在附屬項請求項中描述。This object is achieved by a method comprising the steps of claim 1, the image processing unit of claim 15, and the computer program of claim 17. Preferred embodiments are described in the accompanying claims.

為了處理包含根據第一特定色彩圖案的第一像素陣列的影像資料,藉由使用配置用於根據第二濾色器陣列對第二像素陣列進行去馬賽克的去馬賽克過程。該方法包含以下步驟: a) 將分配至同一色彩的相鄰像素的區塊向下合成,以得到第二像素陣列,與第一像素陣列的影像相比,第二像素陣列的影像尺寸及解析度減小; b) 根據與第二像素陣列的色彩分佈圖案相關的第二濾色器陣列對第二像素陣列進行去馬賽克;及 c) 將去馬賽克之第二像素陣列放大至第一像素陣列的色彩分佈圖案的尺寸,以得到放大之第三像素陣列。 To process image data including a first array of pixels according to a first specific color pattern, a demosaicing process configured for demosaicing a second array of pixels according to a second color filter array is used. The method consists of the following steps: a) Combine blocks of adjacent pixels assigned to the same color downward to obtain a second pixel array. Compared with the image of the first pixel array, the image size and resolution of the second pixel array are reduced; b) demosaicing the second pixel array according to the second color filter array associated with the color distribution pattern of the second pixel array; and c) Enlarge the demosaiced second pixel array to the size of the color distribution pattern of the first pixel array to obtain an enlarged third pixel array.

建議根據第二濾色器陣列,例如,拜耳圖案影像,將像素第一次向下合成為低解析度的第二像素陣列。接著,使用根據第二濾色器陣列的用於第二像素陣列的標準公知去馬賽克算法,例如,標準拜耳去馬賽克,以供對影像資料進行去馬賽克。接著根據第一濾色器陣列將去馬賽克之影像上取樣至第一像素陣列的初始高解析度,以得到並放大第三像素陣列。It is recommended that the pixels are first downcomposited into a low resolution second pixel array based on a second color filter array, e.g. a Bayer pattern image. Next, a standard well-known demosaicing algorithm for the second pixel array according to the second color filter array, for example, standard Bayer demosaicing, is used to demosaic the image data. Then, the demosaiced image is upsampled to the original high resolution of the first pixel array according to the first color filter array to obtain and amplify the third pixel array.

這允許使用及實施用於去馬賽克的僅一個標準流程,而根據第一濾色器陣列的原始影像資料藉由像素的個別合成而適合於第二濾色器。This allows the use and implementation of only one standard process for demosaicing, while the raw image data according to the first color filter array are adapted to the second color filter by individual synthesis of pixels.

因此,根據本發明,原始影像資料的解析度首先由於去馬賽克過程而減小,接著藉由放大去馬賽克之影像而提高回來。Therefore, according to the present invention, the resolution of the original image data is first reduced by the demosaicing process and then increased back by enlarging the demosaiced image.

較佳地,可藉由使用原始影像資料來進一步重建放大之第三像素陣列。因此,使用根據第一濾色器陣列的第一像素陣列中提供的最初原始影像資料中的資訊以改善包含第三像素陣列的放大之影像的品質。Preferably, the enlarged third pixel array can be further reconstructed by using the original image data. Therefore, information from the original original image data provided in the first pixel array according to the first color filter array is used to improve the quality of the enlarged image including the third pixel array.

該方法的優點在於可使用核心標準去馬賽克算法,舉例而言,標準拜耳去馬賽克過程。不需要手邊有可對高階圖案進行原樣去馬賽克的一算法。不需要訊框緩衝區,因為該方法能夠一次對幾個訊框線的集合進行操作。不需要針對原生濾色器陣列圖案的特定算法。公知構建區塊算法可用作核心去馬賽克過程,其中該方法仍然能夠用於高階濾色器圖案去馬賽克。The advantage of this approach is that core standard demosaicing algorithms can be used, for example, the standard Bayer demosaicing process. There is no need to have an algorithm on hand that can demosaic the high-order patterns intact. No frame buffer is required because this method can operate on a collection of several frame lines at once. No specific algorithm is required for native color filter array patterns. A well-known building block algorithm can be used as the core demosaicing process, where the method can still be used for high-order color filter pattern demosaicing.

該方法可進一步包括在步驟b)之後對去馬賽克之第二像素陣列中的像素資料進行過濾的步驟,以減少混疊假影,混疊假影可在整個進一步方法中由於例如在臨界取樣區域中進行合成而發生。這一過濾器是可選的。The method may further comprise the step of filtering the pixel data in the demosaiced second pixel array after step b) to reduce aliasing artifacts which may occur throughout the further method due to e.g. in critical sampling areas Occurs during synthesis. This filter is optional.

可藉由計算第一像素陣列中一個色彩區塊的像素的平均值來執行對分配至同一色彩的相鄰像素的區塊進行合成的步驟a)。平均值可例如計算為直接相鄰像素的區塊中的像素值的均值或中值。舉例而言,同一色彩像素的區塊,例如,2x2、3x3、4x4、5x5等區塊的像素值可進行平均,以獲得影像尺寸及解析度減小的第二像素陣列的所得像素值。Step a) of compositing blocks of adjacent pixels assigned to the same color may be performed by calculating an average of the pixels of a color block in the first pixel array. The average may, for example, be calculated as the mean or median of pixel values in a block of directly adjacent pixels. For example, the pixel values of blocks of the same color pixels, such as 2x2, 3x3, 4x4, 5x5, etc., can be averaged to obtain the resulting pixel values of the second pixel array with reduced image size and resolution.

在步驟a)中分配至同一像素陣列的同一色彩的相鄰像素的區塊可應用於四拜耳4x4或HexaDeca 8x8濾色器陣列,以將此類第一像素陣列向下合成為根據拜耳2x2濾色器陣列的第二像素陣列。The blocks of adjacent pixels of the same color assigned to the same pixel array in step a) can be applied to a quad Bayer 4x4 or HexaDeca 8x8 color filter array to down-synthesize such first pixel array into a Bayer 2x2 filter array. The second pixel array of the color device array.

可藉由最近鄰內插、雙線性內插、雙三次內插、Lanczos重新取樣或樣條內插或其組合來處理對去馬賽克之第二像素陣列進行放大的步驟c)。這些是除其他方法以外用於放大像素陣列的較佳方法。Step c) of upscaling the demosaiced second pixel array may be handled by nearest neighbor interpolation, bilinear interpolation, bicubic interpolation, Lanczos resampling or spline interpolation, or a combination thereof. These are the preferred methods for scaling up pixel arrays among others.

在執行對第二像素陣列進行去馬賽克的步驟b)之前,可重複對分配至同一色彩的相鄰像素的區塊進行合成的步驟a),第二像素陣列是在將第一像素陣列的區塊第一次向下合成為中間第二像素陣列的區塊、及將這一中間第二像素的區塊第二次向下合成為最終第二像素陣列的兩個後續步驟之後得到的。藉由將進行合成的步驟a)重複至少兩次,可將根據高階濾色器陣列的高階像素陣列向下合成為根據低階濾色器陣列的低階像素陣列,例如,將HexaDeca 8x8濾色器陣列向下合成為拜耳2x2濾色器陣列。Before performing the step b) of demosaicing the second pixel array, the step a) of compositing blocks of adjacent pixels assigned to the same color may be repeated. It is obtained after two subsequent steps of a first down-synthesis of a block into a block of an intermediate second pixel array, and a second down-synthesis of this block of intermediate second pixels into a final second pixel array. By repeating the compositing step a) at least twice, the high-order pixel array based on the high-order color filter array can be down-composited into a low-order pixel array based on the low-order color filter array, for example, HexaDeca 8x8 color filter The filter array is combined down into a Bayer 2x2 color filter array.

可在兩個後續步驟中重複對去馬賽克之第二像素陣列進行放大的步驟c): - 將去馬賽克之最終像素陣列第一次放大至具有根據中間第二像素陣列的尺寸及色彩分佈圖案的中間第三像素陣列,及 - 將中間第三像素陣列第二次放大至第一像素陣列的尺寸及色彩分佈圖案,以得到放大之第三像素陣列。 Step c) of upscaling the demosaiced second pixel array can be repeated in two subsequent steps: - first upscaling the demosaiced final pixel array to an intermediate third pixel array having a size and color distribution pattern according to the intermediate second pixel array, and - Enlarge the middle third pixel array for a second time to the size and color distribution pattern of the first pixel array to obtain an enlarged third pixel array.

因此,在根據低階濾色器陣列,例如,拜耳2x2濾色器陣列來對低階像素陣列進行放大的步驟中,亦可根據高階濾色器陣列,例如,HexaDeca 8x8濾色器陣列來放大回高階像素陣列。Therefore, in the step of amplifying the low-order pixel array according to the low-order color filter array, for example, the Bayer 2x2 color filter array, the amplification can also be performed according to the high-order color filter array, for example, the HexaDeca 8x8 color filter array. Return to the higher-order pixel array.

在各個放大步驟之後,可藉由使用最終第三像素陣列的原始影像資料及藉由使用在第一合成步驟中得到的用於中間第三像素陣列的中間第二像素陣列來重建所得像素陣列。因此,由原始影像資料產生的最初影像資訊經重新使用,以改善放大之中間第二像素陣列的影像品質,從而得到包含最終第三像素陣列的改良影像。After each upscaling step, the resulting pixel array can be reconstructed by using the original image data of the final third pixel array and by using the intermediate second pixel array for the intermediate third pixel array obtained in the first synthesis step. Therefore, the initial image information generated from the original image data is reused to improve the image quality of the enlarged intermediate second pixel array, resulting in an improved image including the final third pixel array.

在步驟c)之後得到的放大之中間第三像素陣列可藉由用來自相關影像資料(即,原始影像資料或中間第二像素陣列)的可用像素替換放大之第三像素陣列中的像素來重建,具有相同的像素位置,同時保持放大之第三像素陣列中存在的色彩通道差值。The enlarged intermediate third pixel array obtained after step c) can be reconstructed by replacing the pixels in the enlarged third pixel array with available pixels from the relevant image data (ie, the original image data or the intermediate second pixel array) , having the same pixel positions while maintaining the color channel differences present in the amplified third pixel array.

放大之(中間)第三像素陣列的重建可藉由基於相關影像資料(即,原始影像資料或中間第二像素陣列)對第三像素陣列周圍的區塊進行區域邊緣偵測、並藉由使用偵測之邊緣定向及在放大之第三像素陣列中存在的色彩通道差值來對個別色彩通道中的區塊進行內插來執行。The reconstruction of the enlarged (middle) third pixel array can be performed by regional edge detection of the block surrounding the third pixel array based on the relevant image data (i.e., the original image data or the middle second pixel array), and by using Interpolation of blocks in individual color channels is performed by detecting edge orientation and color channel differences present in the amplified third pixel array.

如請求項11及12所述之重建步驟可各個包含以下步驟:判定指示替換之低階區塊與其鄰域的適配的區塊誤差度量,及將藉由如請求項11及12所述之重建得到的經重建的放大之第三像素陣列的結果合併為基於相關區塊誤差度量來選擇像素或區塊的最終重建之像素陣列。The reconstruction step as described in claims 11 and 12 may each comprise the step of determining a block error metric indicating the adaptation of the replaced low-order block to its neighborhood, and applying the block error metric as described in claims 11 and 12 The results of the reconstructed amplified third pixel array are combined into a final reconstructed pixel array in which pixels or blocks are selected based on the associated block error metric.

這允許處理用於替換像素並估計哪種重建策略最適用於個別區塊的至少兩個特定方法。This allows processing of at least two specific methods for replacing pixels and estimating which reconstruction strategy is best for individual blocks.

對像素陣列進行過濾的可選步驟可在個別重建步驟之後及/或藉由對最終重建之像素陣列進行過濾得到。An optional step of filtering the pixel array may be performed after individual reconstruction steps and/or by filtering the final reconstructed pixel array.

影像處理單元可設計成影像處理硬體,例如,ASIC、FPGA或適合的程式微處理器,所述硬體配置成藉由執行上述方法步驟來處理影像資料。The image processing unit may be designed as image processing hardware, such as an ASIC, FPGA, or a suitable program microprocessor, and the hardware is configured to process image data by executing the above method steps.

該方法可實施成包含指令的電腦程式,當程式由處理單元執行時,指令使處理單元用根據本發明之方法的步驟處理由影像感測器提供的原始影像資料。The method may be implemented as a computer program containing instructions. When the program is executed by a processing unit, the instructions cause the processing unit to process the original image data provided by the image sensor using the steps of the method according to the invention.

第1圖圖示包含光電感測器2的影像相機1之示意方塊圖,光電感測器2包含第一像素陣列,第一像素陣列與濾色器陣列3重疊。Figure 1 illustrates a schematic block diagram of an image camera 1 including a photoelectric sensor 2. The photoelectric sensor 2 includes a first pixel array, and the first pixel array overlaps with the color filter array 3.

光電感測器2頂部上的此類濾色器陣列3光學地遮蔽某些波長,以獲得針對特定像素的色彩資訊。濾色器陣列3是用於不同波長的濾光器的柵格。藉由使用此類濾色器陣列3,光電感測器2的單色像素分配為特定色彩。光電感測器2的個別像素的像素值指示這一個別像素位置處影像的色彩之亮度。Such a color filter array 3 on top of the photo sensor 2 optically blocks certain wavelengths to obtain color information for specific pixels. The color filter array 3 is a grid of filters for different wavelengths. By using such a color filter array 3, the monochromatic pixels of the photo sensor 2 are assigned to specific colors. The pixel value of an individual pixel of the photoelectric sensor 2 indicates the brightness of the color of the image at that individual pixel position.

將光電感測器2的原始影像資料IMG RAW提供至影像處理單元4,影像處理單元4配置用於對原始影像資料IMG RAW進行去馬賽克,以如下文中更詳細地解釋的特定方式得到最終影像IMG FINThe original image data IMG RAW of the photoelectric sensor 2 is provided to the image processing unit 4. The image processing unit 4 is configured to demosaic the original image data IMG RAW to obtain the final image IMG in a specific manner as explained in more detail below. FIN .

第2圖呈現分配至不同濾色器陣列的不同像素陣列。Figure 2 shows different pixel arrays assigned to different color filter arrays.

在a)處,顯示分配至拜耳濾色器陣列的公知低階拜耳像素陣列。在8x8像素陣列上重複包括紅(red,R)、綠(green,G)及藍(blue,B)像素的許多2x2區塊。用於對這一拜耳像素陣列進行去馬賽克的多種經充分證明的算法在先前技術中可用,並可用於處理原始影像資料的本方法。At a), a well-known low-order Bayer pixel array assigned to a Bayer color filter array is shown. Many 2x2 blocks including red (red, R), green (green, G), and blue (blue, B) pixels are repeated on the 8x8 pixel array. Several well-proven algorithms for demosaicing this Bayer pixel array are available in the prior art and can be used in the present method of processing raw image data.

在b)處,顯示6x6 CFA圖案,與拜耳濾色器陣列圖案相比,其形成高階濾色器陣列圖案。6x6區塊含有個別色彩紅(red,R)、綠(green,G)及藍(blue,B)的四個3x3區塊。特定色彩RGB的3x3區塊根據拜耳濾色器陣列圖案(R-G-G-B)中的2x2區塊的色彩配置來配置。At b), a 6x6 CFA pattern is shown, which forms a higher order color filter array pattern compared to the Bayer color filter array pattern. The 6x6 block contains four 3x3 blocks of individual colors red (red, R), green (green, G), and blue (blue, B). The 3x3 blocks of color-specific RGB are configured according to the color configuration of the 2x2 blocks in the Bayer color filter array pattern (R-G-G-B).

在c)處,顯示四拜耳濾色器陣列圖案。高階像素陣列含有8x8矩陣中的像素,其中重複4x4區塊,而各個4x4區塊由個別色彩R、G及B的四個2x2區塊形成。個別色彩RGB的2x2區塊以低階拜耳圖案R-G-G-B的方式配置。At c), a four-Bayer color filter array pattern is shown. High-order pixel arrays contain pixels in an 8x8 matrix with repeated 4x4 blocks, with each 4x4 block formed from four 2x2 blocks for individual colors R, G, and B. The 2x2 blocks of individual color RGB are arranged in a low-level Bayer pattern R-G-G-B.

在d)處,呈現由8x8矩陣形成的HexaDeca濾色器陣列圖案。此處,將4x4陣列尺寸的四個區塊分配為個別色彩R、G、B。At d), a HexaDeca color filter array pattern formed by an 8x8 matrix is presented. Here, four blocks of 4x4 array size are assigned to individual colors R, G, and B.

個別色彩的四個區塊以類似於a)處所示的低階拜耳濾色器陣列圖案的次序配置。The four blocks of individual colors are arranged in an order similar to the low-order Bayer color filter array pattern shown at a).

第3圖顯示處理由影像感測器提供的原始影像資料IMG RAW的方法之流程圖,而所述原始影像資料IMG RAW包含第一像素陣列,其中各個像素根據由特定第一濾色器陣列界定的第一特定色彩圖案表示色彩資訊。 Figure 3 shows a flow chart of a method of processing raw image data IMG RAW provided by an image sensor, and the raw image data IMG RAW includes a first pixel array, wherein each pixel is defined by a specific first color filter array The first specific color pattern represents color information.

原始影像資料IMG RAW可為例如第2圖的b)、c)及d)中所示的高階濾色器陣列,即,6x6 CFA像素陣列、四拜耳像素陣列或HexaDeca像素陣列的第一像素陣列。 The original image data IMG RAW can be, for example, the high-order color filter array shown in b), c) and d) of Figure 2, that is, the first pixel array of a 6x6 CFA pixel array, a quad Bayer pixel array or a HexaDeca pixel array .

原始影像資料IMG RAW亦可為分配至另一更複雜結構之濾色器陣列,如Sony®RGBW、RYYB、MYYC、Fuji®X-Trans®及類似者的第一像素陣列。 The original image data IMG RAW can also be the first pixel array assigned to another more complex color filter array, such as Sony® RGBW, RYYB, MYYC, Fuji® X-Trans® and the like.

原始影像資料IMG RAW在第一步驟a)中處理,藉由對分配至同一色彩的相鄰像素的區塊向下合成,以得到第二像素陣列,與第一像素陣列之影像相比,第二像素陣列的影像尺寸及解析度減小。 The original image data IMG RAW is processed in the first step a) by down-compositing blocks of adjacent pixels assigned to the same color to obtain a second pixel array. Compared with the image of the first pixel array, the second pixel array is obtained. The image size and resolution of the two-pixel array are reduced.

舉例而言,第2圖的b)、c)或d)中的高階像素陣列的同一色彩的2x2、3x3或4x4區塊可向下合成為低階像素陣列(例如,第2圖的a)的拜耳像素陣列)的個別色彩R、G或B的一個像素值。For example, the 2x2, 3x3 or 4x4 blocks of the same color in the high-order pixel array in b), c) or d) of Figure 2 can be down-synthesized into a low-order pixel array (e.g., a in Figure 2) A pixel value for an individual color R, G or B of a Bayer pixel array).

分配至同一色彩的像素的區塊的像素值之集合可進行平均以接收所得像素值,舉例而言,低階像素陣列的一個相關像素。A set of pixel values of a block of pixels assigned to the same color may be averaged to receive a resulting pixel value, for example, a related pixel of a low-order pixel array.

在第二步驟b)執行對第二像素陣列的去馬賽克,第二像素陣列是根據與第二像素陣列的色彩分佈圖案相關的第二濾色器陣列配置的。這允許使用用於對包含根據由個別第二濾色器陣列界定的低階特定色彩圖案的色彩資訊的低階像素陣列進行去馬賽克的標準過程。舉例而言,可在根據低階拜耳濾色器陣列圖案配置的第二像素陣列上進行去馬賽克步驟。In the second step b), demosaicing of the second pixel array is performed, the second pixel array being configured according to the second color filter array in relation to the color distribution pattern of the second pixel array. This allows the use of standard procedures for demosaicing low-level pixel arrays containing color information according to low-level specific color patterns defined by individual second color filter arrays. For example, the demosaic step may be performed on a second array of pixels configured according to a low-order Bayer color filter array pattern.

可執行對藉由去馬賽克步驟b)得到的像素資料進行過濾的可選步驟(e),以減少混疊假影。An optional step (e) of filtering the pixel data obtained by demosaicing step b) can be performed to reduce aliasing artifacts.

接著在步驟c)中將經去馬賽克並可選地經過濾的第二像素陣列放大至第一像素陣列的色彩分佈圖案的尺寸,以得到放大之第三像素陣列PA IMD。因此,在藉由合成步驟a)縮小原始影像資料之後接收的第二像素陣列再次經重新放大為在第一濾色器陣列的相關第一特定色彩圖案中的第一像素陣列中指定的像素尺寸及色彩分佈。 Then in step c) the demosaiced and optionally filtered second pixel array is enlarged to the size of the color distribution pattern of the first pixel array to obtain an enlarged third pixel array PA IMD . Therefore, the second array of pixels received after reducing the original image data by synthesis step a) is again re-amplified to the pixel size specified in the first array of pixels in the associated first specific color pattern of the first color filter array and color distribution.

在最終步驟d)中,藉由使用原始影像資料對放大之第三像素陣列進行重建。因此,使用原始影像資料IMG RAW的最初像素資訊來改善在放大去馬賽克之第二像素陣列的步驟c)之後接收的影像。 In the final step d), the enlarged third pixel array is reconstructed by using the original image data. Therefore, the initial pixel information of the original image data IMG RAW is used to improve the image received after step c) of enlarging the second pixel array of demosaicing.

結果是包含根據最初原始影像資料的第一像素陣列的解析度的最終去馬賽克之影像。The result is a final demosaiced image containing a resolution based on the first pixel array of the original raw image data.

第4圖顯示根據第3圖的用於處理原始影像資料IMG RAW的方法之方塊圖,但重複步驟對原始影像資料IMG RAW進行合成的a1)及對中間第二像素陣列IMG IMD進行合成的a2),IMG IMD是在第一步驟a1)之後接收的,第一步驟a1)將分配至第一像素陣列的同一色彩的相鄰像素的區塊向下合成以得到尺寸及解析度減小的中間第二像素陣列。 Figure 4 shows a block diagram of a method for processing the original image data IMG RAW according to Figure 3, but repeating the steps a1) for compositing the original image data IMG RAW and a2 for compositing the intermediate second pixel array IMG IMD ), IMG IMD is received after the first step a1), which combines blocks of adjacent pixels of the same color assigned to the first pixel array downward to obtain an intermediate image with reduced size and resolution. Second pixel array.

對中間第二像素陣列IMG IMD進行合成的第二後續步驟a2)將在同一子區塊中彼此相鄰配置的同一色彩之像素進行合併,以接收標準色彩分佈的第二像素陣列。對這一第二像素陣列進行去馬賽克的後續步驟b)適用於具有個別標準第二濾色器陣列的色彩分佈的特定標準像素陣列。因此,藉由執行將最初原始影像資料IMG RAW向下合成為根據第二像素陣列的影像資料的兩個後續步驟a1)及a2),色彩分佈圖案適合於標準第二濾色器陣列。這允許根據具有不同色彩分佈圖案的原始影像資料IMG RAW上的第二色彩分佈圖案對第二像素陣列進行去馬賽克的標準過程。 The second subsequent step a2) of compositing the intermediate second pixel array IMG IMD is to combine pixels of the same color that are arranged adjacent to each other in the same sub-block to receive a second pixel array with a standard color distribution. The subsequent step b) of demosaicing this second pixel array applies to a specific standard pixel array having the color distribution of the respective standard second color filter array. Therefore, by performing the two subsequent steps a1) and a2) of down-synthesizing the initial raw image data IMG RAW into image data based on the second pixel array, the color distribution pattern is adapted to the standard second color filter array. This allows the standard process of demosaicing the second pixel array according to the second color distribution pattern on the original image data IMG RAW with a different color distribution pattern.

在對放大之第二像素陣列進行過濾的可選步驟(e)之後,執行根據中間色彩像素分佈圖案的尺寸及解析度將去馬賽克之第二像素陣列放大至中間像素陣列PA IMD1的第一步驟c1)。在步驟d1)中,藉由使用中間影像資料IMG IMD1(即,在對最初原始影像資料IMG RAW進行合成的第一步驟a1)之後得到的中間第二像素陣列IMG IMD)來對所得中間第三像素陣列進行重建。 After the optional step (e) of filtering the enlarged second pixel array, a first step of enlarging the demosaiced second pixel array to the intermediate pixel array PA IMD1 according to the size and resolution of the intermediate color pixel distribution pattern is performed. c1). In step d1), the obtained intermediate third pixel array IMG IMD is modified by using the intermediate image data IMG IMD1 (ie, the intermediate second pixel array IMG IMD obtained after the first step a1 of synthesizing the initial raw image data IMG RAW ). Pixel array is reconstructed.

接著在步驟c2)中,根據尺寸及色彩分佈圖案將所得中間第三像素陣列放大為中間像素陣列PA IMD2,對應於包含根據第一濾色器陣列的像素分佈圖案的最初第一像素陣列。 Then in step c2), the obtained intermediate third pixel array is enlarged into an intermediate pixel array PA IMD2 according to the size and color distribution pattern, corresponding to the original first pixel array including the pixel distribution pattern according to the first color filter array.

接著在步驟d2)中,藉由使用原始影像資料IMG RAW對放大之像素陣列PA IMD2(對應於根據第一像素陣列的去馬賽克之原始影像資料)進行重建,以接收包含第三像素陣列的最終影像IMG FINThen in step d2), the enlarged pixel array PA IMD2 (corresponding to the original image data demosaiced according to the first pixel array) is reconstructed by using the original image data IMG RAW to receive the final image including the third pixel array. Image img fin .

因此,藉由該方法接收的第三像素陣列(幾乎)類似於根據特定第一色彩圖案對包含第一像素陣列的原始影像資料直接進行去馬賽克。Therefore, the third pixel array received by this method is (almost) similar to direct demosaicing of the original image data including the first pixel array according to the specific first color pattern.

第5圖例示性地圖示根據HexaDeca 8x8 RGB圖案將第一像素陣列的區塊合成為根據四拜耳4x4圖案的中間第二像素陣列及根據拜耳2x2圖案的第二像素陣列的兩個後續步驟。將HexaDeca 8x8像素陣列進行合成的第一步驟a1)將尺寸為mxn (8x8)的陣列減少至尺寸為一半尺寸m/2xn/2(即,4x4)。根據拜爾2x2圖案將四拜耳4x4像素陣列合成為最終第二像素陣列的第二步驟a2)將尺寸減少至m/4xn/4。在這一實例中,各個合成步驟將輸入像素陣列的尺寸減少一半。Figure 5 schematically illustrates the two subsequent steps of synthesizing blocks of the first pixel array according to the HexaDeca 8x8 RGB pattern into an intermediate second pixel array according to the quad Bayer 4x4 pattern and a second pixel array according to the Bayer 2x2 pattern. The first step in compositing the HexaDeca 8x8 pixel array a1) reduces the array of size mxn (8x8) to half size m/2xn/2 (i.e. 4x4). The second step a2) of synthesizing four Bayer 4x4 pixel arrays into a final second pixel array according to the Bayer 2x2 pattern reduces the size to m/4xn/4. In this example, each synthesis step reduces the size of the input pixel array by half.

合成步驟藉由將同一色彩的2x2像素區塊合併為一個像素值來執行。舉例而言,合成流程可自左側的第一上線及第二上線開始,其中四個像素值分配至紅色R,即,第一個2x2區塊。例如藉由估計四個像素的均值或中值來合併像素值,以在四拜耳4x4中間像素陣列的左上像素位置處得到用於紅色的一個像素值。對以下分配至紅色的2x2區塊、接著是綠色G、最後是藍色B,均重複該流程。The compositing step is performed by combining 2x2 pixel blocks of the same color into a single pixel value. For example, the compositing process can start with the first and second upper lines on the left, where four pixel values are assigned to the red R, ie, the first 2x2 block. For example, pixel values are combined by estimating the mean or median of four pixels to obtain one pixel value for red at the upper left pixel position of a four-Bayer 4x4 intermediate pixel array. Repeat this process for the following 2x2 blocks assigned to red, then green G, and finally blue B.

以同樣的方式,合成的第二步驟a2)將分配至同一色彩R、G或B的像素的2x2區塊合併為分配至同一色彩R、G及B的一個像素值,以得到根據標準拜耳2x2圖案的第二像素陣列。In the same way, the second step a2) of the synthesis combines the 2x2 blocks of pixels assigned to the same color R, G or B into one pixel value assigned to the same color R, G and B to obtain the Bayer 2x2 according to the standard Pattern the second pixel array.

接著對這一減小之標準第二像素陣列執行步驟b)中的標準去馬賽克過程。The standard demosaicing process in step b) is then performed on this reduced standard second pixel array.

第6圖顯示在去馬賽克過程經執行且所得像素陣列放大至高階濾色器陣列圖案之後對放大之第三像素陣列進行重建的步驟d)的逐個方塊處理之方塊圖。Figure 6 shows a block diagram of the block-by-block processing of step d) of reconstructing the enlarged third pixel array after the demosaic process has been performed and the resulting pixel array is enlarged to a high-order color filter array pattern.

將放大之像素陣列PA IMD與個別像素陣列的原始影像資料IMG RAW一起作為輸入轉送至用於像素替換的處理方塊R1_a)。此處,放大之第三像素陣列(即,中間像素陣列PA IMD)的像素由原始影像資料IMG RAW的個別像素值替換,同時保持在先前的去馬賽克過程中估計的色彩差值。因此,細節重建流程使用根據第一特定色彩圖案的原始影像資料IMG RAW對放大之影像PA IMD中的細節進行重建。然而,原始影像資料同時僅含有僅一個色彩的逐個方塊資訊(例如,用於四拜耳的2x2 R像素或用於HexaDeca的4x4 R像素)。處理是逐個方塊執行的,例如,按順序的2x2四拜耳或4x4 HexaDeca區塊。有兩個路徑在步驟R_d)中合併用於最終輸出,其中左路徑是使用最初原始影像資料IMG RAW的替換策略,右路徑是考慮周圍濾色器陣列的內插策略。 The enlarged pixel array PA IMD and the original image data IMG RAW of the individual pixel array are forwarded as input to the processing block R1_a) for pixel replacement. Here, the pixels of the enlarged third pixel array (ie, the intermediate pixel array PA IMD ) are replaced by individual pixel values of the original image data IMG RAW while maintaining the color difference values estimated in the previous demosaicing process. Therefore, the detail reconstruction process uses the original image data IMG RAW according to the first specific color pattern to reconstruct the details in the enlarged image PA IMD . However, the raw image data contains only block-by-block information for only one color at a time (e.g., 2x2 R-pixels for Quad Bayer or 4x4 R-pixels for HexaDeca). Processing is performed block by block, for example, sequential 2x2 Quad Bayer or 4x4 HexaDeca blocks. There are two paths that are combined in step R_d) for the final output, where the left path is a replacement strategy using the original original image data IMG RAW , and the right path is an interpolation strategy that takes into account the surrounding color filter array.

在右路徑的步驟R1_a)中,用來自最初濾色器陣列的原始影像資料的可用像素替換放大之影像PA IMD中的像素,同時保持放大之影像中存在的色彩通道差值。稍後將結合第7圖對此進行更詳細的解釋。 In step R1_a) of the right path, the pixels in the upscaled image PA IMD are replaced with available pixels from the original image data of the initial color filter array, while maintaining the color channel differences present in the upscaled image. This will be explained in more detail later in conjunction with Figure 7.

在可選的過濾步驟R1_b)之後,在步驟R1_c)中計算區塊誤差度量,以查看替換之區塊(例如,2x2四拜耳或4x4 HexaDeca)是否很好地適配其鄰域。After the optional filtering step R1_b), in step R1_c) a block error metric is calculated to see if the replaced block (e.g. 2x2 Quad Bayer or 4x4 HexaDeca) fits its neighborhood well.

左路徑在步驟R2_a)中基於根據第一濾色器陣列的最初原始影像資料IMG RAW對周圍區塊進行區域邊緣偵測,並在步驟R2_b)中考慮到偵測之邊緣定向對個別色彩通道中的區塊進行內插。同樣在此處,使用來自放大之影像的色彩通道差值來恢復全色彩資訊,例如,RGB資訊。在這一路徑中,在步驟R2_d)中計算區塊誤差度量之前,進行過濾的另一可選步驟R2_c)亦是可能的。 The left path performs regional edge detection on the surrounding blocks based on the initial raw image data IMG RAW according to the first color filter array in step R2_a), and takes into account the detected edge orientation in individual color channels in step R2_b) blocks are interpolated. Also here, the color channel differences from the upscaled image are used to recover full color information, for example, RGB information. In this path, another optional step R2_c) of filtering is also possible before calculating the block error metric in step R2_d).

基於先前計算之誤差度量,做出是否自右路徑或左路徑獲得像素值的最終決定。步驟R_d)中兩個路徑之合併可為硬判定或類似軟混合的方法。Based on the previously calculated error metric, the final decision is made whether to obtain the pixel value from the right or left path. The merging of the two paths in step R_d) may be a hard decision or a method similar to soft mixing.

在步驟R_e)中對色彩像素的最終後處理過濾可以可選地用於增強影像品質。Final post-processing filtering of color pixels in step R_e) may optionally be used to enhance image quality.

結果是最終影像IMG FINThe result is the final image IMG FIN .

步驟R1_a)中的像素替換可例如用以下等式來執行:Pixel replacement in step R1_a) can be performed, for example, using the following equation:

針對個別濾色器陣列內的選定綠像素位置: d G -R=G Dem-R Demd G -B=G Dem-B DemG replace=G RAWR replace=G RAW-d G -RB replace=G RAW-d G -B For selected green pixel positions within individual color filter arrays: d G -R =G Dem -R Dem d G -B =G Dem -B Dem G replace =G RAW R replace =G RAW -d G -R B replace =G RAW -d G -B

針對個別濾色器陣列內的選定紅像素位置: d R -B=R Dem-G Demd R -B=R Dem-B DemR replace=R RAWG replace=R RAW-d R -GB replace=R RAW-d R -B For selected red pixel positions within individual color filter arrays: d R -B =R Dem -G Dem d R -B =R Dem -B Dem R replace =R RAW G replace =R RAW -d R -G B replace =R RAW -d R -B

針對個別濾色器陣列內的選定藍像素位置: d B-G=B Dem-G Demd B-R=B Dem-R DemB replace=B RAWR replace=B RAW-d B-RG replace=B RAW-d B-G For selected blue pixel positions within individual color filter arrays: d BG =B Dem -G Dem d BR =B Dem -R Dem B replace =B RAW R replace =B RAW -d BR G replace =B RAW -d BG

針對綠像素G位置,綠像素由最初綠原始像素資料G RAW替換,而用於所述最初綠像素位置的去馬賽克之紅像素R及藍像素B由最初綠像素G RAW減去個別差值d G -R或d G -B來替換。 For the green pixel G position, the green pixel is replaced by the original green pixel data G RAW , and the demosaiced red pixels R and blue pixels B used for the original green pixel position are subtracted from the original green pixel G RAW by individual differences d G -R or d G -B to replace.

綠、紅或藍像素的差值是藉由作為基本像素的個別去馬賽克之綠像素G Dem、紅像素R Dem、藍像素B Dem與基本綠像素位置處經去馬賽克的相關去馬賽克之紅或藍像素(存在於去馬賽克之影像PA_IMD中)的差值來計算的。在基本紅像素存在於原始影像資料中的情況下,基於去馬賽克之紅像素R Dem以及針對這一基本紅像素的去馬賽克之綠像素及藍像素來計算差值。類似地,針對藍像素B RAW,藉由去馬賽克之藍像素B Dem及相關的去馬賽克之紅像素R Dem或綠像素G Dem來計算差值。 The difference between the green, red or blue pixels is determined by the demosaiced green pixel G Dem , the red pixel R Dem , the blue pixel B Dem as the basic pixel and the demosaiced associated demosaiced red or demosaiced red pixel at the position of the basic green pixel. Calculated by the difference of blue pixels (existing in the demosaiced image PA_IMD). In the case where a basic red pixel exists in the original image data, a difference value is calculated based on the demosaiced red pixel R Dem and the demosaiced green and blue pixels for this basic red pixel. Similarly, for the blue pixel B RAW , the difference is calculated by the demosaic blue pixel B Dem and the associated demosaic red pixel R Dem or green pixel G Dem .

因此,當自同一色彩的高階像素區塊(例如,4x4像素陣列)得到特定色彩RGB的1x1像素區塊時,藉由去馬賽克步驟針對這一1x1像素區塊得到色彩向量G Dem、R Dem及B Dem。這一色彩向量與分配至一個特定色彩(例如,綠色G)的原始影像資料的最初像素陣列組合。放大去馬賽克之1x1像素區塊會產生高階像素陣列,例如,4x4像素陣列,接著將4x4像素陣列與這一個色彩的最初像素陣列組合。最初像素陣列的色彩會指定基本色彩,從而指定上述針對綠、紅或藍色的用於原始影像資料G RAW、R RAW或B RAW的等式。 Therefore, when a 1x1 pixel block of a specific color RGB is obtained from a high-order pixel block of the same color (for example, a 4x4 pixel array), the color vectors G Dem , R Dem and B Dem . This color vector is combined with the original array of pixels assigned to the original image data for a specific color (eg, green G). Enlarging the demosaiced 1x1 pixel block produces a higher-order pixel array, for example, a 4x4 pixel array, and then combining the 4x4 pixel array with the original pixel array for that color. The color of the initial pixel array specifies the basic color, thereby specifying the above equation for the raw image data G RAW , R RAW or B RAW for green, red or blue.

第7圖顯示用於在第6圖的步驟R1_a)中執行像素替換的功能電路之方塊圖。Figure 7 shows a block diagram of a functional circuit for performing pixel replacement in step R1_a) of Figure 6.

將用於三個色彩RGB的CFA資料R CFA、G CFA及B CFA形式的區塊的原始影像資料提供至加法邏輯ADD、減法邏輯SUB及多工器MUX1、MUX2及MUX3。此外,將這三個通道R Upscale、G Upscale及B Upscale中區塊的放大之RGB影像輸入至減法邏輯SUB,以便藉由使用上述等式來計算差值d G -R、d G -B、d B-G、d B-R、d R -G、d R -BRaw image data for blocks in the form of CFA data R CFA , G CFA and B CFA for three colors RGB are provided to the addition logic ADD, the subtraction logic SUB and the multiplexers MUX1, MUX2 and MUX3. In addition, the enlarged RGB images of the blocks in these three channels R Upscale , G Upscale and B Upscale are input to the subtraction logic SUB to calculate the differences d G -R , d G -B , by using the above equations. dBG , dBR , dR -G , dR -B .

第7圖顯示用於藍區塊B的方塊圖之實例,其中計算差值d G -B及d G -R(GB Upscale及GR Upscale)。多工器MUX1、MUX2及MUX3一起獨立於區塊類型地控制,以在MUX1、MUX2或MUX3處提供針對紅區塊類型、綠區塊類型或藍區塊類型的原始影像資料R CFA、G CFA或B CFA。此外,在未選擇最初原始資料R CFA、G CFA或B CFA的多工器MUX1、MUX2或MUX3的輸出處提供用於其他色彩的校正之像素值。因為像素值可能會藉由這一處理離開允許的值範圍,所以需要將像素值削至零及最大。這由個別多工器MUX1、MUX2及MUX3的輸出處的CLIP邏輯控制。 Figure 7 shows an example of a block diagram for blue block B, where the differences d G -B and d G -R (GB Upscale and GR Upscale ) are calculated. Multiplexers MUX1, MUX2 and MUX3 are controlled together independently of the block type to provide raw image data R CFA , G CFA for red block type, green block type or blue block type at MUX1, MUX2 or MUX3 or B CFA . Furthermore, corrected pixel values for other colors are provided at the output of the multiplexers MUX1, MUX2 or MUX3 for which the original raw material R CFA , G CFA or B CFA is not selected. Because pixel values may leave the allowed value range through this process, pixel values need to be clipped to zero and to the maximum. This is controlled by CLIP logic at the outputs of individual multiplexers MUX1, MUX2 and MUX3.

第8圖與第6圖中的「內插」步驟R2_b)有關,例示性情況下,區域邊緣偵測未偵測到邊緣。在這方面,其以藍區塊為例,提出估計第6圖的左路徑處的周圍區塊之實例。綠像素G I可藉由綠像素G I周圍的四個相鄰像素值的平均值來估計。 Figure 8 is related to the "interpolation" step R2_b) in Figure 6. In an exemplary case, the edge is not detected by the area edge detection. In this regard, it takes the blue block as an example to propose an example of estimating the surrounding blocks on the left path in Figure 6. The green pixel G I can be estimated by the average of the four neighboring pixel values around the green pixel G I .

這可藉由以下等式表示: G 0=(t 0+t 1+I 0+I 1)/4 G 1=(t 0+t 1+r 0+r 1)/4 G 2=(I 0+I 1+b 0+b 1)/4 G 3=(b 0+b 1+r 0+r 1)/4 This can be expressed by the following equation: G 0 =(t 0 +t 1 +I 0 +I 1 )/4 G 1 =(t 0 +t 1 +r 0 +r 1 )/4 G 2 =(I 0 +I 1 +b 0 +b 1 )/4 G 3 =(b 0 +b 1 +r 0 +r 1 )/4

針對藍像素,適用同一方案: B 0=(t 0+t 1+I 0+I 1)/4 B 1=(t 0+t 1+r 0+r 1)/4 B 2=(I 0+I 1+b 0+b 1)/4 B 3=(b 0+b 1+r 0+r 1)/4 For blue pixels, the same scheme applies: B 0 =(t 0 +t 1 +I 0 +I 1 )/4 B 1 =(t 0 +t 1 +r 0 +r 1 )/4 B 2 =(I 0 +I 1 +b 0 +b 1 )/4 B 3 =(b 0 +b 1 +r 0 +r 1 )/4

這適用於一個色彩的四拜耳2x2像素陣列。This works with a color quad Bayer 2x2 pixel array.

紅像素值r 0 1 2 3可藉由使用第6圖及第7圖中右路徑上的像素替換方法R1_a)藉由以下等式計算: R 0=G 0-(GR Upscale) R 1=G 1-(GR Upscale) 等。 The red pixel values r 0 , 1 , 2 , 3 can be calculated by using the pixel replacement method R1_a) on the right path in Figures 6 and 7 by the following equation: R 0 =G 0 -(GR Upscale ) R 1 =G 1 -(GR Upscale ) etc.

針對其他高階像素陣列區塊,例如HexaDeca,可如上所述計算外角處的像素值,例如 G 0=(t 0+t 1+I 0+I 1)/4 等。 For other high-order pixel array blocks, such as HexaDeca, the pixel values at the outer corners can be calculated as described above, such as G 0 =(t 0 +t 1 +I 0 +I 1 )/4, etc.

基於外部周圍像素計算內部像素值,例如 G 6=(t 2+t 3+r 0+r 1)/4 G 10=(r 2+r 3+b 2+b 3)/4。 Calculate the inner pixel value based on the outer surrounding pixels, for example G 6 =(t 2 +t 3 +r 0 +r 1 )/4 G 10 =(r 2 +r 3 +b 2 +b 3 )/4.

外部中間像素值可估計為相鄰三個周圍像素的平均值,例如 G 14=(b 1+b 2+b 3)/3 G 8=(I 1+I 2+I 3)/3。 The outer middle pixel value can be estimated as the average of three adjacent surrounding pixels, for example, G 14 =(b 1 +b 2 +b 3 )/3 G 8 =(I 1 +I 2 +I 3 )/3.

這同樣適用於藍像素。The same applies to blue pixels.

針對特定色彩的例示性四拜耳2x2區塊,第6圖中左側方案的誤差度量可藉由以下等式計算: E=|G0-t0|+|G0-I0|+|G1-t1|+|G1-r0|+|G2-I1|+|G2-b0|+|G3-r1|+|G3-bl|。 For an exemplary four-Bayer 2x2 block of a specific color, the error metric for the scheme on the left in Figure 6 can be calculated by the following equation: E=|G0-t0|+|G0-I0|+|G1-t1|+|G1-r0|+|G2-I1|+|G2-b0|+|G3-r1|+|G3-bl|.

誤差值可如下計算 The error value can be calculated as follows

在這一誤差值ε大於針對特定色彩的預定臨限值,例如,針對綠像素G的t G或針對藍像素B的t B的情況下,區塊由這一重建方案替換。 In case this error value ε is greater than a predetermined threshold value for a specific color, for example t G for green pixel G or t B for blue pixel B, the block is replaced by this reconstruction scheme.

1:影像相機 2:光電感測器 3:濾色器陣列 4:影像處理單元 B CFA,G CFA,R CFA:CFA資料 B Upscale,G Upscale,R Upscale:通道 GB Upscale:差值d G -BGR Upscale:差值d G -RIMG FIN:最終影像 IMG IMD:中間第二像素陣列 IMG RAW:原始影像資料 PA IMD:放大之第三像素陣列 PA IMD1,PA IMD2:中間像素陣列 1: Image camera 2: Photoelectric sensor 3: Color filter array 4: Image processing unit B CFA , G CFA , R CFA : CFA data B Upscale , G Upscale , R Upscale : Channel GB Upscale : Difference d G - B GR Upscale : difference d G -R IMG FIN : final image IMG IMD : middle second pixel array IMG RAW : original image data PA IMD : amplified third pixel array PA IMD1 , PA IMD2 : middle pixel array

本發明藉由帶有附圖的例示性實施例更詳細地進行解釋。其顯示:The invention is explained in more detail by means of exemplary embodiments with accompanying drawings. It shows:

第1圖:影像處理單元之示意方塊圖;Figure 1: Schematic block diagram of the image processing unit;

第2圖:根據特定濾色器陣列的像素陣列之實例;Figure 2: An example of a pixel array based on a specific color filter array;

第3圖:用於處理原始影像資料以對影像資料進行去馬賽克從而得到最終影像的方法之流程圖;Figure 3: Flowchart of the method used to process the original image data to demosaic the image data to obtain the final image;

第4圖:合成區塊及重建個別放大之像素陣列的兩個後續步驟的方法之流程圖;Figure 4: Flowchart of the method for the two subsequent steps of synthesizing blocks and reconstructing individually enlarged pixel arrays;

第5圖:用於執行將高階濾色器陣列的相鄰像素的區塊合成為低階濾色器陣列的步驟之例示性像素陣列;Figure 5: An exemplary pixel array for performing steps of synthesizing blocks of adjacent pixels of a high-order color filter array into a low-order color filter array;

第6圖:用於重建放大之像素陣列的方法之流程圖;Figure 6: Flowchart of a method for reconstructing an enlarged pixel array;

第7圖:用於重建像素陣列的放大之像素流的例示性硬體邏輯;Figure 7: Exemplary hardware logic for reconstructing an amplified pixel stream of a pixel array;

第8圖:用於自周圍像素估計的四拜耳區塊及HexaDeca區塊。Figure 8: Four Bayer blocks and HexaDeca blocks for estimation from surrounding pixels.

國內寄存資訊(請依寄存機構、日期、號碼順序註記) 無 國外寄存資訊(請依寄存國家、機構、日期、號碼順序註記) 無 Domestic storage information (please note in order of storage institution, date and number) without Overseas storage information (please note in order of storage country, institution, date, and number) without

1:影像相機 1:Image camera

2:光電感測器 2: Photoelectric sensor

3:濾色器陣列 3: Color filter array

4:影像處理單元 4:Image processing unit

IMGFIN:最終影像 IMG FIN : final image

IMGRAW:原始影像資料 IMG RAW : original image data

Claims (17)

一種用於處理由一影像感測器提供的原始影像資料(IMG RAW)的方法,其中該影像資料包含一第一像素陣列,所述第一像素陣列與一濾色器陣列(3)重疊,使得該像素表示根據由該濾色器陣列(3)界定的一第一特定色彩圖案的色彩資訊,所述第一特定濾色器圖案包含分配至同一色彩的相鄰像素的多個區塊,本方法的特徵在於以下步驟: a) 將分配至同一色彩的相鄰像素的該些區塊進行向下合成,以得到與該第一像素陣列的影像相比影像之尺寸及解析度減小的一第二像素陣列; b) 根據與該第二像素陣列的該色彩分佈圖案相關的一第二濾色器陣列(3)對該第二像素陣列進行去馬賽克;及 c) 將該去馬賽克之第二像素陣列放大至該第一像素陣列的該色彩分佈圖案的該尺寸,以得到一放大之第三像素陣列(PA IMD)。 A method for processing raw image data (IMG RAW ) provided by an image sensor, wherein the image data includes a first pixel array overlapping a color filter array (3), such that the pixel represents color information according to a first specific color pattern defined by the color filter array (3), said first specific color filter pattern including a plurality of blocks of adjacent pixels assigned to the same color, The method is characterized by the following steps: a) Down-synthesize the blocks of adjacent pixels assigned to the same color to obtain an image with reduced size and resolution compared to the image of the first pixel array. a second pixel array; b) demosaicing the second pixel array according to a second color filter array (3) associated with the color distribution pattern of the second pixel array; and c) demosaicing the demosaiced The second pixel array is enlarged to the size of the color distribution pattern of the first pixel array to obtain an enlarged third pixel array (PA IMD ). 如請求項1所述之方法,其特徵在於以下步驟: d) 藉由使用該原始影像資料(IMG RAW)對該放大之第三像素陣列(PA IMD)進行重建。 The method of claim 1, characterized by the following steps: d) reconstructing the amplified third pixel array (PA IMD ) by using the original image data (IMG RAW ). 如請求項1或2所述之方法,其特徵在於以下步驟: e) 在步驟b)之後對該去馬賽克之第二像素陣列中的該像素資料進行過濾以減少多個混疊假影。 The method according to claim 1 or 2, characterized by the following steps: e) After step b), filter the pixel data in the demosaiced second pixel array to reduce multiple aliasing artifacts. 如請求項1至3中任一項所述之方法,其特徵在於藉由計算該第一像素陣列中的一個色彩區塊的該些像素的一平均值來執行對分配至同一色彩的相鄰像素的該些區塊進行合成的步驟a)。The method according to any one of claims 1 to 3, characterized in that the comparison of adjacent pixels assigned to the same color is performed by calculating an average value of the pixels of a color block in the first pixel array. Step a) of synthesizing the blocks of pixels. 如請求項4所述之方法,其中該平均值計算為多個直接相鄰像素的一區塊中的該些像素值的均值或中值。The method of claim 4, wherein the average value is calculated as a mean or median value of the pixel values in a block of directly adjacent pixels. 如前述請求項中之一者所述之方法,其特徵在於在步驟a)中根據四拜耳4x4或HexaDeca 8x8濾色器陣列圖案(3)將分配至該第一像素陣列的同一色彩的多個相鄰像素的該些區塊向下合成為根據拜耳2x2濾色器陣列圖案(3)的一第二像素陣列。Method according to one of the preceding claims, characterized in that in step a) a plurality of the same color assigned to the first pixel array according to a quad Bayer 4x4 or HexaDeca 8x8 color filter array pattern (3) The blocks of adjacent pixels are combined down into a second pixel array according to the Bayer 2x2 color filter array pattern (3). 如前述請求項中之一者所述之方法,其中對該去馬賽克之第二像素陣列進行放大的該步驟c)藉由最近鄰內插、雙線性內插、雙三次內插、Lanczos重新取樣或樣條內插來處理。The method according to one of the preceding claims, wherein the step c) of amplifying the demosaiced second pixel array is performed by nearest neighbor interpolation, bilinear interpolation, bicubic interpolation, Lanczos re-interpolation Processed by sampling or spline interpolation. 如前述請求項中之一者所述之方法,其特徵在於,在執行對該第二像素陣列進行去馬賽克的該步驟b)之前重複對分配至同一色彩的多個相鄰像素的該些區塊進行合成的步驟a),該第二像素陣列是在將該第一像素陣列的該些區塊第一次向下合成為一中間第二像素陣列(IMG IMD)、及將該中間第二像素陣列(IMG IMD)的該些區塊第二次向下合成為該最終第二像素陣列的兩個後續步驟之後得到的。 The method according to one of the preceding claims, characterized in that, before performing the step b) of demosaicing the second pixel array, the regions of adjacent pixels assigned to the same color are repeatedly de-mosaicd. In the step a) of block synthesis, the second pixel array is composed of the blocks of the first pixel array for the first time into an intermediate second pixel array (IMG IMD), and the intermediate second pixel array (IMG IMD ). The blocks of the pixel array (IMG IMD ) are obtained after a second down-synthesis of the two subsequent steps of the final second pixel array. 如請求項8所述之方法,其特徵在於在以下兩個後續步驟中重複對該去馬賽克之第二像素陣列進行放大的步驟c): 將該去馬賽克之最終第二像素陣列第一次放大至具有根據該中間第二像素陣列(IMG IMD)的一尺寸及一色彩分佈圖案的一中間第三像素陣列,及 將該中間第三像素陣列第二次放大至該第一像素陣列的該尺寸及該色彩分佈圖案,以得到該放大之第三像素陣列(PA IMD)。 The method of claim 8, characterized in that step c) of amplifying the demosaiced second pixel array is repeated in the following two subsequent steps: a first amplification of the demosaiced final second pixel array to an intermediate third pixel array having a size and a color distribution pattern according to the intermediate second pixel array (IMG IMD ), and enlarging the intermediate third pixel array to the size of the first pixel array for a second time and the color distribution pattern to obtain the amplified third pixel array (PA IMD ). 如請求項9所述之方法,其中在各個放大步驟之後,該所得像素陣列藉由使用用於該最終第三像素陣列的該原始影像資料(IMG RAW)及藉由使用在該第一合成步驟中得到的用於該中間第三像素陣列的該中間第二像素陣列(IMG IMD)來重建。 The method of claim 9, wherein after each upscaling step, the resulting pixel array is obtained by using the original image data (IMG RAW ) for the final third pixel array and by using the IMG RAW in the first synthesis step. The intermediate second pixel array (IMG IMD ) obtained for the intermediate third pixel array is reconstructed. 如前述請求項中之一者所述之方法,其特徵在於藉由以下步驟對該放大之中間第三像素陣列進行重建: 用來自該相關影像資料(即,該原始影像資料(IMG RAW)或中間第二像素陣列(IMG IMD))的該些可用像素替換該放大之第三像素陣列(PA IMD)中的該些像素,具有同一像素位置,同時保持該放大之第三像素陣列(PA IMD)中存在的多個色彩通道差值。 The method according to one of the preceding claims, characterized in that the enlarged middle third pixel array is reconstructed by: using data from the relevant image data (ie, the original image data (IMG RAW ) or The available pixels of the intermediate second pixel array (IMG IMD ) replace the pixels in the amplified third pixel array (PA IMD ) with the same pixel position while maintaining the amplified third pixel array (PA IMD ) . ) exists in multiple color channel differences. 如前述請求項中之一者所述之方法,其特徵在於藉由基於該相關影像資料(即,該原始影像資料(IMG RAW)或中間第二像素陣列(IMG IMD))對一個別像素或多個像素之區塊周圍的該區塊進行區域邊緣偵測、及藉由使用該偵測之邊緣定向及在該放大之第三像素陣列(PA IMD)中存在的該些色彩通道差值在該個別色彩通道中對該區塊進行內插來對該放大之(中間)第三像素陣列進行重建的步驟。 The method according to one of the preceding claims, characterized in that by mapping an individual pixel or Area edge detection is performed around the block of pixels, and by using the detected edge orientation and the color channel differences present in the amplified third pixel array (PA IMD ), The step of interpolating the block in the individual color channel to reconstruct the enlarged (middle) third pixel array. 如請求項11與12之組合所述之方法,其中如請求項11及12所述之該些重建步驟各個包含以下步驟:判定指示該些替換之低階區塊與其鄰域的適配的多個區塊誤差度量,及將藉由根據請求項11及12所述之該重建得到的該重建之放大第三像素陣列(PA IMD)的該些結果合併為基於該些相關區塊誤差度量選擇該些像素或該些區塊的一最終重建之像素陣列。 A method as claimed in claims 11 and 12 in combination, wherein the reconstruction steps as claimed in claims 11 and 12 each comprise the step of determining a number indicative of the adaptation of the replaced low-order blocks to their neighbours. block error metrics, and combining the results of the reconstructed upscaled third pixel array (PA IMD ) obtained by the reconstruction according to claims 11 and 12 into a selection based on the associated block error metrics A final reconstructed pixel array of the pixels or the blocks. 如請求項11至13中之一者所述之方法,其特徵在於對在該個別重建步驟之後得到的該像素陣列進行過濾及/或對該最終重建之像素陣列進行過濾的步驟。Method according to one of claims 11 to 13, characterized by the step of filtering the pixel array obtained after the individual reconstruction step and/or filtering the final reconstructed pixel array. 一種用於處理由一影像感測器提供的原始影像資料(IMG RAW)的影像處理單元(4),所述影像感測器包含一第一像素陣列之一感測器陣列,提供包含一第一像素陣列資料的一影像,所述第一像素陣列與一第一濾色器陣列(3)重疊,使得該像素根據由該濾色器陣列(3)界定的一第一特定色彩圖案來表示色彩資訊,所述第一特定色彩圖案包含分配至同一色彩的相鄰像素的多個區塊,該影像處理單元(4)的特徵在於配置成: a) 將分配至同一色彩的相鄰像素的該些區塊向下合成,以得到與該第一像素陣列的影像相比影像尺寸及解析度減小的一第二像素陣列; b) 根據與該第二像素陣列的該色彩分佈圖案相關的一第二濾色器陣列(3)對該第二像素陣列進行去馬賽克;及 c) 將該去馬賽克之第二像素陣列放大至該第一像素陣列的該色彩分佈圖案的該尺寸,以得到一放大之第三像素陣列(PA IMD)。 An image processing unit (4) for processing raw image data (IMG RAW ) provided by an image sensor. The image sensor includes a sensor array including a first pixel array. An image of data from a pixel array overlapping a first color filter array (3) such that the pixels are represented according to a first specific color pattern defined by the color filter array (3) Color information, the first specific color pattern includes multiple blocks of adjacent pixels assigned to the same color, and the image processing unit (4) is characterized in that it is configured to: a) convert the adjacent pixels assigned to the same color The blocks are combined downward to obtain a second pixel array with reduced image size and resolution compared to the image of the first pixel array; b) according to the color distribution pattern associated with the second pixel array a second color filter array (3) demosaicing the second pixel array; and c) enlarging the demosaiced second pixel array to the size of the color distribution pattern of the first pixel array to obtain An amplified third pixel array (PA IMD ). 如請求項15所述之影像處理單元,其特徵在於該影像處理單元(4)經配置以藉由執行如請求項1至14中之一者所述之該些方法步驟來處理影像資料。The image processing unit of claim 15, characterized in that the image processing unit (4) is configured to process image data by performing the method steps of one of claims 1 to 14. 一種包含多個指令的電腦程式,當該程式由一處理單元執行時,該些指令使該處理單元進行如請求項1至14中之一者所述之該方法的該些步驟。A computer program comprising instructions which, when executed by a processing unit, cause the processing unit to perform the steps of the method as described in one of claims 1 to 14.
TW111144952A 2022-02-18 2022-11-24 Method and image processor unit for processing raw image data TW202335489A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
WOPCT/EP2022/054104 2022-02-18
PCT/EP2022/054104 WO2023155999A1 (en) 2022-02-18 2022-02-18 Method and image processor unit for processing raw image data

Publications (1)

Publication Number Publication Date
TW202335489A true TW202335489A (en) 2023-09-01

Family

ID=80786564

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111144952A TW202335489A (en) 2022-02-18 2022-11-24 Method and image processor unit for processing raw image data

Country Status (2)

Country Link
TW (1) TW202335489A (en)
WO (1) WO2023155999A1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106791477B (en) * 2016-11-29 2019-07-19 Oppo广东移动通信有限公司 Image processing method, image processing apparatus, imaging device and manufacturing method
CN109005392B (en) 2017-06-07 2021-01-12 联发科技股份有限公司 Demosaicing method and circuit thereof
CN110675404B (en) * 2019-09-03 2023-03-21 RealMe重庆移动通信有限公司 Image processing method, image processing apparatus, storage medium, and terminal device
CN112767290B (en) * 2019-11-01 2022-11-11 RealMe重庆移动通信有限公司 Image fusion method, image fusion device, storage medium and terminal device
CN112954251B (en) * 2019-12-10 2023-03-21 RealMe重庆移动通信有限公司 Video processing method, video processing device, storage medium and electronic equipment

Also Published As

Publication number Publication date
WO2023155999A1 (en) 2023-08-24

Similar Documents

Publication Publication Date Title
JP4184802B2 (en) System and method for asymmetric demosaicing a raw data image using color discontinuity equalization
JP4520886B2 (en) High-quality gradient-corrected linear interpolation for demosaicing color images
TWI516132B (en) An image processing apparatus, an image processing method, and a program
CN110324546B (en) Image processing method and filter array
CN110430403B (en) Image processing method and device
CN107623844B (en) Determination of color values of pixels at intermediate positions
CN110852953B (en) Image interpolation method and device, storage medium, image signal processor and terminal
CN108122201A (en) A kind of Bayer interpolation slide fastener effect minimizing technology
WO2022061879A1 (en) Image processing method, apparatus and system, and computer-readable storage medium
US6842191B1 (en) Color image restoration with anti-alias
KR100565429B1 (en) Apparatus and method for reconstructing missing color values in a color filter array
JP2004519156A (en) Contour filter for output signal of image detector
WO2009098619A2 (en) Method and device for reconstructing a color image
Paul et al. Maximum accurate medical image demosaicing using WRGB based Newton Gregory interpolation method
TW202335489A (en) Method and image processor unit for processing raw image data
US7978908B2 (en) Color signal interpolation system and method
Saito et al. Demosaicing approach based on extended color total-variation regularization
KR101327790B1 (en) Image interpolation method and apparatus
JP3777861B2 (en) Image processing method, image processing apparatus, and computer-readable recording medium storing image processing program
CN110139087B (en) Image processing method based on Bayer arrangement
Yuk et al. Color demosaicking using direction similarity in color difference spaces
Chang et al. Adaptive color filter array demosaicing with artifact suppression
CN118233764A (en) Image demosaicing method and device
CN117274060A (en) Unsupervised end-to-end demosaicing method and system
Kim Full channel color restoration approach using directional interpolation