TW201234866A - Pixel interpolation circuit, pixel interpolation method, and recording medium - Google Patents

Pixel interpolation circuit, pixel interpolation method, and recording medium Download PDF

Info

Publication number
TW201234866A
TW201234866A TW101114057A TW101114057A TW201234866A TW 201234866 A TW201234866 A TW 201234866A TW 101114057 A TW101114057 A TW 101114057A TW 101114057 A TW101114057 A TW 101114057A TW 201234866 A TW201234866 A TW 201234866A
Authority
TW
Taiwan
Prior art keywords
pixel
value
interpolation
correlation
difference
Prior art date
Application number
TW101114057A
Other languages
Chinese (zh)
Other versions
TWI387353B (en
Inventor
Shohei Sakamoto
Original Assignee
Casio Computer Co Ltd
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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Publication of TW201234866A publication Critical patent/TW201234866A/en
Application granted granted Critical
Publication of TWI387353B publication Critical patent/TWI387353B/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

Landscapes

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

Abstract

A correlation along a horizontal direction and a correlation along a vertical direction are calculated with respect to a neighboring region around an interpolation target pixel by using respective pixel values of R pixels, G pixels, and B pixels in Bayer data. The pixel value of the G pixel to be interpolated for the interpolation target pixel is determined based upon pixel values of pixels adjacent to the interpolation target pixel along a direction exhibiting a stronger correlation between the calculated correlations. The interpolation target pixel in the Bayer data is interpolated by using the G pixel of the pixel value determined.

Description

201234866 六、發明說明: 【發明所屬之技術領域】 本發明係關於一種用於採 的攝像裝置等之畫素插補電;用:=之彩色攝像方式 體。 1素插補方法及s己錄媒 【先前技術】 單板爾排列之畫素排列的攝像元件之 攝像之景物影像資料的拜爾;狀攝像元件所 插補配置於拜爾資料中之 侍圖像k號時,需要 (晝素值)。特別是因為G /素的濾色器以外的色資訊 以G畫素之資訊影二、之資訊影響亮度資訊’所 在此,先前之解像度及輪廊的銳度。 素之資訊未存在的R畫素及插補對象畫素(G晝 记載於日本專利公開公 | Μ插補G畫素者’有 開_2隊135564號公報的技二购π,號公報及特 爾資料中之在插補對象書网此等先前技術係考慮拜 插補對象畫素中插;去周邊的晝素之相關性’而在 【發明内容】 晝素。 發明所欲解決之問題 但是,此等券此 畫素插補G晝素時= 對拜爾資料中之插補對象 Γ因而,在插補對象補對象畫素周邊之〇畫 素的資訊少。結要 —”中插補G畫素時,參照 之畫素的相關性,而】:確地判定在插補對象晝素周邊 之G晝素的問題。 …、法在插補對象晝素中插補正確 • 4 - 201234866 因此,士 λ义 ♦ η 本舍明之目的為對鮮爾咨制 素之資。 爾資料正確地插補G書 解決問題之手段 本發明之1個態樣,係具借 使用前述拜爾資料 、鸯.相關性算出部,其係 素值,算出插補對象佥I—、、G畫素及B晝素各自的畫 性與垂直方向之相^ '周邊區域之水平方向的相關201234866 VI. Description of the Invention: [Technical Field] The present invention relates to a pixel interpolation power for an image pickup apparatus or the like for use, and a color image pickup method using: =. 1 prime interpolation method and s recording medium [previous technique] Bayer's image of the camera image of the image element arranged by the single-plate arrangement; the image sensor of the image is interpolated and arranged in the Bayer data. Like the k number, you need (the pixel value). In particular, because of the color information other than the G/α color filter, the information of the G pixel, the information affects the brightness information, here, the previous resolution and the sharpness of the corridor. R-pixels and interpolation target pixels that are not present in the information (G昼 is described in the Japanese Patent Publications | Μ Interpolation G-Pictures] has opened the 2nd 135564 bulletin In the data of the plug-in object, the prior art system considers the interpolation of the pixels in the interpolation object; the correlation of the pixels in the surrounding area is in the [invention]. The invention is intended to be solved. However, when these vouchers are interpolated with G 昼 = = = 插 对 对 对 对 对 对 对 对 Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ Γ When the G pixel is interpolated, the correlation of the pixels is referred to, and the problem of the G element in the vicinity of the interpolation target is determined. The method is correctly interpolated in the interpolation object. - 201234866 Therefore, the purpose of the λ 义 ♦ ♦ 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本The data, the correlation calculation unit, and the eigenvalues, calculate the interpolation target 佥I—, G pixel, and B昼Associated with each of the vertical direction of the drawing ^ horizontal 'direction of the peripheral area

畫素的畫素;及書音’該插補對象畫素屬未存在有G # , $素值決定部,i# 算出部所算出 其係在藉由前述相關性 ,,. 各相關性中相關.丨生$ & + ^ 述插補對象畫素鄰接之書辛的』:強的方向,依據與前 插補對象畫素之〇書素;c,決定插補於前述 所構成的〇畫:補藉前述晝素值決定部所決定之畫素值 本發明JL # , 7 用拜爾資料中R當固’'、樣,係包含:第1步驟,其係使 算出屬未存在有f、G畫素及B畫素各自的畫素值, 域之水平方向沾旦素之畫素的插補對象畫素在周邊區The pixel of the pixel; and the book sound 'The interpolation object has no G # , $ prime value determination unit, and the i# calculation unit calculates the correlation between the correlation and the correlation. Related. Twins & + ^ The interpolated object pixel adjacent to the book Xin: "strong direction, based on the pre-interpolated object pixel; c, decided to interpolate the above-mentioned composition Painting: supplementing the pixel value determined by the above-mentioned pixel value determining unit. The invention JL #, 7 uses the Bayer data in the form of R, which includes: the first step, which is such that the calculated genus does not exist. f, G pixel and B pixel each pixel value, the horizontal direction of the domain, the pixel of the pixel of the pixel is in the surrounding area

的相關性與垂直方A 驟,其係在前述第,本 之相關性;第2步 〜迎第1步驟所算出之久h M i 的方向,依掳也4 出之各相關性中相關性強 值,來決二述插補對象畫素鄰接之晝素的畫素 值;及第3步二述插補對象晝素之G晝素的畫素 插補在前㈣2Λ 據前述拜爾資料之圖像信號, 疋第2步驟中決定之晝素值的^晝 本舍明其他1個態樣,係使電腦' 其係使用拜爾資料中R書辛、處理’ 素值,算出屈 —” |素及B畫素各自的畫 子在有G晝素之晝素的插補對象畫素在 201234866 周邊區域之水平方合& 卜丁乃向的相關性與垂直 2處理,立係在Μ 士‘ ° /、係在稭由前述第i處理所 相關性強的方向,依播盘5,+ 依據與别述插補對象畫素鄰The correlation between the correlation and the vertical square A is related to the above-mentioned first, the correlation; the second step ~ the direction of the long-term h M i calculated by the first step, and the dependence of each correlation in the correlation The strong value refers to the pixel value of the pixel adjacent to the pixel of the interpolation object; and the pixel interpolation of the G element of the interpolation object in the third step is (4) 2Λ according to the aforementioned Bayer data. The image signal, 其他 决定 决定 决定 决定 决定 决定 决定 疋 疋 疋 疋 其他 其他 其他 疋 其他 其他 疋 疋 疋 疋 其他 其他 其他 其他 其他 疋 其他 疋 其他 疋 其他 其他 其他 疋 疋 疋 疋 疋 疋 疋 疋 疋 疋 疋 疋 疋 疋素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素 素士 ' ° /, in the direction of the straw by the aforementioned i-th processing, according to the strong disc, according to the disc 5, + according to the interpolated object pixel

,旦素值,決疋插補於前述插補對象畫素之G 素值’及第3處理,立将斜佑姑二 ” >、你對依據月述拜爾資料 號’插補藉由前述第 罘2處理所決定之晝素值的 發明之效果 採用本發明,可對拜爾資料正確地插補G 訊 實施方式】 就本發明之貫施形態作說明。首先,參照 明本貫施形態之數位相機1 〇 〇的全體結構。 攝像透鏡62包含:聚焦透鏡及變焦透鏡, 透鏡驅動區塊6 3。此透鏡驅動區塊6 3係由使 聚焦透鏡及變焦透鏡分別驅動於與攝像面平行 向的聚焦馬達及變焦馬達,與按照來自CPU70 號’使聚焦馬達及變焦馬達分別驅動之聚焦驅 焦驅動器而構成。 光圈兼用快門64包含無圖示之驅動電路, 路按照從CPU70送達之控制信號使光圈兼用快 另外,此光圈兼用快門64發揮光圈與快門之吟 在攝像元件之CCD 50中’於受光面上設有 之濾色器。CCD50將經由攝像透鏡62及光圈 64而投影之景物的光變換成電信號,並將變換 號作為攝像信號而輸出至圖像處理部20。此外 關性;第 相關性中 接之晝素 畫素的畫 之圖像信 G畫素。 晝素之資 第1圖說 且連接於 無圖示之 之光轴方 之控制信 動器及變 此驅動電 門動作。 ,能。 拜爾排列 兼用快門 後之電信 > CCD50 201234866 按照TG66按照來自CPU70之控制信號所產生的特定頻 率之時序信號而驅動。 卡I/F76中可裝卸地連接記憶卡8〇。 記憶體69儲存藉由CpU70控制數位相機1〇〇之各 部時需要的程式及資料。 DRAM68用作藉由CCD5〇攝像後,暫時記憶送達 CPU70之圖像資料的緩衝記憶體,並且亦用作cpu7〇之 工作記憶體。 圖像顯示部7丨由液晶顯示器與其驅動電路而構 成。數位相機100在攝影待機狀態時,將藉由CCD50所 拍攝之景物作為通過圖像而顯示於液晶顯示器。圖像顯 示部7丄於數位㈣1〇〇再生圖像時’將從記憶卡8〇讀 取之圖像顯示於液晶顯示器。 勒入邛72包含:快門按鈕、模式鍵、鍵、十 字鍵:攝影模式選擇鍵等複數的操作鍵,並將依使用者 之鍵刼作的操作信號輸出至CPU70。 CPU70控制數位相機1〇〇之全體。以仍〇藉由斑從 記憶體69讀取之招 買取之私式合作,而執行各種動作。 其夂,參照第2圖,就圖像處理部2〇之結構作說明。 圖像處理部20你i ,ι 20係由類比處理部(CDS、AGC、A/d) 21、 ..β_ Ρ 22白平衡調整部23、γ修正部24、畫素 插補單元30、yuv #拖伞饰加一 變換處理邛27及JPEG變換部28而 構成。 圖像處理部20中 從CCD50輸出之類比 ’相關雙重抽樣電路(CDS )減少 信號之攝像信號中包含的雜訊。自 201234866 動增益控制電路(AGC )調整雜訊減低後之攝像信號的 增益。A/ D變換器(A/ D )將增益調整後之攝像信號 變換成數位信號,也就是,變換成依濾色器之拜爾排列 的R (顯示紅色資訊之畫素資料)、G (顯示綠色資訊之 晝素資料)、B (顯示藍色資訊之晝素資料)的畫素資料 之拜爾資料。 黑位準調整部22將拜爾資料夾入特定之黑位準。白 平衡調整部23對夾入後之拜爾資料,每R,G,B進行增 益調整,而執行白平衡之調整”修正部24於白平衡^ 整後,進行對拜爾資料之γ特性(灰階特性)修正。畫 素插補單元30對丫特性修正後之拜爾資料插補畫素值之 資訊’而產生圖像信號。就畫素插補單元3〇之詳細内容 產生由亮度信號(Υ)與色差信號(u、 i ' 5儿 信號。JPEG變換部28以jpEG ^形構成的圖像 碼。並將壓縮編碼後之圖像彳_ <信號壓縮編 1豕彳。就δ己錄於記憶卡80。 書,ηι圖’就晝素插補單元3°詳細地說明。 ==:=::=;:、第二電一 構成。第一電路部3。&係由寬頻6夕加法广36而 Μ插補電路…播補…4而;1成Τ電路 部30b係由G畫素抽出電路4〇 。第-電路 而構成。 PF(兩通濾波器)37 201234866 在 爾資料 生成為 彩色圖 在 開專利 理相同 時,在 B晝素 值時, 因而, 之畫素 象畫素 中插補 而 中發生 圖像信 尚頻成 時,雖 的銳度 因 拜爾資 3 6 中,: 訊。因 所以藉 廓,再 第·~電路 Ί Λ — σ| 3 0 a中,對於從γ修正部24送達之拜 $施插補欠缺之晝素的資訊之信號處理,而產 在旦素插補單元30中產生之圖像信號的基準之 像信號。 此,第一 φ 电路部3 0 a中之信號處理,係與日本公 么報·特開2〇〇6·ΐ35564號公報所揭示之信號處 者也被*是’在第一電路部30a中實施信號處理 拜爾資料中’於未存在G晝素之資訊的R畫素及 (以下稱「播補對象畫素」)中插補G畫素之晝素 僅參照在播補對象晝素周邊之G畫素的晝素值。 在插補對象畫素中插補G畫素之畫素值時,參照 值的資afl變少。結果,無法正確地判定在插補對 周邊之畫素值的相關性,而無法在插補對象畫素 G畫素之正確的畫素值。 該不適切之G畫素成為孤立點,有時在圖像信號 雜甙。因而’ & 了除去此雜訊成分,係藉由使此 號通過低通遽波器之LPF26,而除去圖像信號之 分(雜訊成分等)。但是,使圖像信號通過[Μ% 可除去雜訊成分,❻是亦造成圖像信號中之輪廓 降低’依據圖像信號之再生圖像會變成模糊。 此,藉由第二電路部3〇b,從γ修正部24送達之 料另行抽* G晝素之正確資訊。而後,在加法器 對通過LPF26之圖像信號加上抽出之〇畫素的資 為G晝素之資訊影響輪廓在再生圖像_的銳度,、, the value of the denier, the imputation of the G value of the imputed object pixel and the third treatment, the vertical will be auspicious 2" >, you are based on the monthly Bayer data number 'interpolation by The effect of the invention of the pixel value determined by the second processing described above is based on the present invention, and the implementation method of the present invention can be explained by correctly interpolating the data of the Bayer data. First, the reference is made to the present invention. The overall configuration of the digital camera 1 。 The imaging lens 62 includes a focusing lens and a zoom lens, and a lens driving block 63. The lens driving block 63 is driven by the focusing lens and the zoom lens respectively. The parallel focus motor and the zoom motor are configured to be driven by a focus drive driver that drives the focus motor and the zoom motor from the CPU No. 70. The aperture shutter 64 includes a drive circuit (not shown), and the path is controlled by the CPU 70. The signal is used to make the aperture fast. In addition, the aperture shutter 64 functions as a color filter provided on the light receiving surface in the CCD 50 of the imaging element after the aperture and the shutter. The CCD 50 passes through the imaging lens 62 and The light of the scene projected by the circle 64 is converted into an electric signal, and the converted number is output as an image pickup signal to the image processing unit 20. Further, the image of the image of the picture of the pixel of the pixel in the first correlation is G. Fig. 1 shows the control actuator connected to the optical axis of the unillustrated and changes the driving of the electric actuator. Yes, Bayer arranges the telecom after the shutter> CCD50 201234866 according to TG66 The drive is driven in accordance with a timing signal of a specific frequency generated by a control signal from the CPU 70. The memory card 8 is detachably connected to the card I/F 76. The memory 69 stores a program required to control the respective portions of the digital camera 1 by the CpU 70. The DRAM 68 is used as a buffer memory for temporarily storing image data of the CPU 70 after being captured by the CCD 5 ,, and is also used as a working memory of the CPU 7. The image display unit 7 is composed of a liquid crystal display and its driving circuit. When the digital camera 100 is in the shooting standby state, the scene captured by the CCD 50 is displayed as a passing image on the liquid crystal display. The image display unit 7 is in a digital (four) 1〇〇 reproduction map. When the image is 'displayed, the image read from the memory card 8〇 is displayed on the liquid crystal display. The input button 72 includes: a shutter button, a mode button, a button, a cross button: a plurality of operation keys such as a shooting mode selection button, and will be used. The operation signal of the key operation is output to the CPU 70. The CPU 70 controls the entirety of the digital camera 1 to perform various actions by still collaborating with the purchase of the spotted memory from the memory 69. The structure of the image processing unit 2A will be described with reference to Fig. 2. The image processing unit 20, i, ι 20 is balanced by the analog processing unit (CDS, AGC, A/d) 21, ..β_ Ρ 22 The adjustment unit 23, the γ correction unit 24, the pixel interpolation unit 30, the yuv #towing decoration plus conversion processing unit 27, and the JPEG conversion unit 28 are configured. The analog 'correlated double sampling circuit (CDS) output from the CCD 50 in the image processing unit 20 reduces noise included in the image pickup signal of the signal. Since 201234866, the dynamic gain control circuit (AGC) adjusts the gain of the image signal after the noise is reduced. The A/D converter (A/D) converts the gain-adjusted imaging signal into a digital signal, that is, into a Bayer array of color filters (displaying red information pixel data), G (display) Bayer data for the pixel data of the green information) and B (the blue information of the blue information). The black level alignment unit 22 sandwiches the Bayer data into a specific black level. The white balance adjusting unit 23 performs gain adjustment for each of R, G, and B on the Bayer data after the sandwiching, and performs adjustment of the white balance. The correction unit 24 performs the γ characteristic on the Bayer data after the white balance is corrected ( Gray scale characteristic) correction. The pixel interpolation unit 30 generates an image signal for the information of the Bayer data interpolated pixel value after the 丫 characteristic correction. The detailed content of the pixel interpolation unit 3 产生 is generated by the luminance signal. (Υ) and the color difference signal (u, i '5 children signal. The JPEG conversion unit 28 is formed by an image code of jpEG^ shape. The compression-encoded image 彳_ < signal is compressed and compiled. It has been recorded on the memory card 80. The book, ηι图 'details the detailed description of the pixel interpolation unit 3°. ==:=::=;:, the second electric one. The first circuit part 3. & Broadband 6 加 加 加 36 36 Μ Μ Μ ... 播 播 播 播 播 播 播 播 播 播 播 播 播 播 播 播 播 播 播 播 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 When the data is generated as a color map, when the patent is the same, at the B-value, the pixel is interpolated in the pixel. When the image letter is still frequent, although the sharpness is due to Bayer's 3:6, the signal is transmitted from the γ correction unit 24 for the reason, and then the circuit is 第 σ | The image signal of the image signal generated in the denier interpolation unit 30 is generated by the signal processing of the information of the missing element. The signal of the first φ circuit part 3 0 a The processing is also performed by the signal that is disclosed in the Japanese Patent Publication No. JP-A No. Hei. In the R pixel of the information of the prime, and the element of the G pixel (hereinafter referred to as "the subject of the target"), only the pixel value of the G pixel around the pixel of the broadcast object is referred to. When the pixel value of the G pixel is interpolated in the pixel, the reference value afl decreases. As a result, the correlation between the pixel values of the interpolation pair and the pixel value of the interpolation cannot be correctly determined, and the pixel of the interpolation target cannot be accurately obtained. The correct pixel value of the pixel. The unsuitable G pixel becomes an isolated point, sometimes in the image signal. Therefore, '& The component removes the image signal (noise component, etc.) by passing the number through the LPF 26 of the low-pass chopper. However, the image signal is passed [Μ% to remove the noise component, and The image in the image signal is lowered. The reproduced image according to the image signal becomes blurred. Therefore, the second circuit portion 3〇b, the material sent from the γ correction unit 24 is separately extracted. Then, in the adder, the image of the image signal passing through the LPF 26 is added to the image of the pixel, and the information of the image is affected by the sharpness of the reconstructed image _,

由此種方式強調依據拜爾資料之再生圖像^ 生圖像不致模糊。 W ~ 9 - 201234866 "、-人,就第二電路部30b中 明。第二電路部3 〇 b中之 ,號處理詳細地說 應對拜爾資料中之插補對象書辛(出4〇係用於抽出 的尺晝素、”。插補晝素之資訊未存在 電路。如第4圖所示 資3“晝素值)之 基準圖像產生部41、节古― 电路40係由水平方向 界厓玍邛41、垂直方向基準 方向相關度算出部43、垂 產生邛42、水平 值決定部45及書素抽出A 。目關度算出部44、畫素 重I柚出部46而構成。 水平方向基準圖像產生部41 :接於水平方向之畫素的畫素值的運二爾=進行使用 向基準圖像。水平方向基準圖 =產生水平方 插補對象畫素的周邊求出 之、用於在拜爾資料之各 訊》 、之相關性強的方向之資 具體而言,水平方向基準 =各插補對象畫素周邊的各畫::::爾資料 至一任何,理,^ = (A1)就在水平方向鄰接於g畫素之 R晝素之畫素值減去在水平 —’、 畫素,從該 素的畫素值之平均值的處理肖鄰接於該R畫素之G畫 (A2)就在水平方向鄰接於r 水平方向鄰接於該G畫辛之晝素,從在 減去該G畫素之畫素值的^畫素的畫素值之平均值, (A3)就在水平方向鄰接於 :平方=…畫素…素的畫=在 减去該G畫素之畫素值的處理 之+均值, -10- 201234866In this way, it is emphasized that the reproduced image based on the Bayer data is not blurred. W ~ 9 - 201234866 ", - person, in the second circuit part 30b. In the second circuit unit 3 〇b, the number processing is detailed in response to the interpolation object book in the Bayer data (the ruler is used for extraction). The information of the interpolation element has no circuit. As shown in Fig. 4, the reference image generating unit 41 and the epoch-the circuit 40 of the 33 "quality value" are defined by the horizontal direction cliff 41, the vertical direction reference direction correlation calculating unit 43, and the vertical 邛42. The level value determining unit 45 and the book extracting unit A. The visibility calculation unit 44 and the pixel weight I capsule output unit 46 are configured. The horizontal direction reference image generating unit 41: the binary value of the pixel value of the pixel connected to the horizontal direction = the use of the reference image. The horizontal direction reference map = the direction in which the horizontally interpolated object pixel is obtained and used in the direction of the Bayer data, and the correlation is strong. In particular, the horizontal direction reference = each interpolation object The paintings around the pixels:::: er data to any, rational, ^ = (A1) is in the horizontal direction adjacent to the pixel of the g-pixel pixel value minus the level - ', pixel, The processing of the average value of the pixel values of the element is adjacent to the G picture (A2) of the R pixel, and is adjacent to the horizontal direction of the r in the horizontal direction adjacent to the G picture, and subtracts the G from The average value of the pixel value of the pixel of the pixel of the pixel, (A3) is adjacent to the horizontal direction: square = ... pixel of the picture element = the pixel value of the G pixel is subtracted Processing + mean, -10- 201234866

(A4)就在水平方向鄰接於G R當音之當去估晝素’從該 Β畫素之畫素值減去在水平方 卞万门鄰接於該Β晝素之G畫 素的畫素值之平均值的處理 第5圖顯示拜爾資料中之各晝素的畫素 狂士 8專以B註記之位置,係在 拜爾資料中配置有B畫素之位置。G1、G3、· · .G47 等以G註記之位置’係在拜爾資料中配置有 置。R8、R10、· · · R4 —不诅 汉4〇 #以R註圯之位置,係在拜 爾資料中配置有R晝素之位置。 此外,在第5圖中,b〇、R?、 Τ β2、· · · Β48顯示有各 Β畫素之書素值。^ G1 G3' · · · G47顯示有各G畫素 之畫素值。R8、Ri〇、· · . R4 顯不有各R畫素之畫 素值。 ’著眼於拜爾資料中之各 6圖中顯示水平方向基準 40H。水平方向基準圖像 」的位置之畫素(插補對 〇 40H時,著眼於由在第5 產生水平方向基準圖像時 插補對象晝素的周邊區域。第 圖像之例的水平方向基準圖像 40H係就在第5圖所示之「R24 象晝素)的水平方向基準圖像 如產生水平方向基準圖像 圖所不之R24」位置的晝素周邊區域之7 χ7個畫素的 B〇、G1+:B2、· · ·Β48之位置的各晝素構成的區威。 另外,著眼之周邊區域亦可並非是由7x7個畫素構成的 區域。 其次,水平方向基準圖像中之各成分之例,就水平 方向基準圖像4〇Η中之各成分作說明。 201234866 水平方向基準圖像40H中之成分「h8」,藉由使用第 5圖所示之G7、R8、G9之晝素值的(Α1;)之處理,而 成為以下之值。 h8 = R8 - (G7 + G9)/ 2 水平方向基準圖像40H中之成分r h9」,藉由使用第 5圖所示之R8、G9、Rl〇之畫素值的(A2)之處理,而 成為以下之值。 h9 = (R8 + R10)/2— G9 水平方向基準圖像40H中之成分「hl5」,藉由使用 第5圖所示之B14、G15、B16之畫素值的(A3)之處理, 而成為以下之值。 hl5 = (B14 + B16)/ 2- G15 水平方向基準圖像40Η中之成分「hl6」,藉由使用 第5圖所示之G15、B16、G17之畫素值的(A4)之處理, 而成為以下之值。 hl6 = B16- (G15 + G17) 同樣地,就水平方向基準圖像40H中之其他成分, 可藉由執行(A1)至(A4)之處理而求出。 除了(A1)至(A4)之處理外’就拜爾資料之在插 補對象畫素周邊的各畫素,亦可藉由依序執行其次之 (A5)至(A8)的任何一個處理,而產生水平方向基準 圓像。 (A5)就在水平方向鄰接於G畫素之R畫素,從在 水平方向鄰接於該R畫素之G畫素的晝素值之平均值, 減去該R晝素之晝素值的處理 201234866 (A 6 ) ί尤在水平方向郝η G 素 G 素 乃问一接於R畫素之(}畫素,從該 畫素之畫素值減去在水平 牡枣十方向鄰接於該G晝素之R畫 的旦素值之平均值的處理 (A 7 )就在水平方向鄰;J直·^ η ▲ .j. 乃门鄰接於B畫素之G畫素,從該 晝素之晝素值減去在水平太·Η*Κ丨* 你&十方向鄰接於該G畫素之Β畫 的晝素值之平均值的處理 (Α8)就在水平方向鄰接於G畫素之Β畫素,從在 水平方向鄰接於該Β晝素之G畫素的畫素值之平均值, 減去該B晝素之畫素值的處理 另外,垂直方向基準圖像產生部42對拜爾資料進行 使用鄰接於垂直方向之畫素的畫素值的運算,而產生垂 直方向基準圖像。垂直方向基準圖像係用於在拜爾資料 之各插補對象畫素 • - v qκ 1冢常之相關性強的方向之 資Λ具體而5’垂直方向基準圖像產生部42就拜爾資 料之在插補對象晝素周邊的各畫素,藉由依序執行其次 之(Β1)至(Β4)的任何_個處理,而產生垂直方向基 準圖像。 (Β1)就在垂直方向鄰接於G晝素之尺晝素從該 R晝素之晝素值減去在垂直方向鄰接於該R晝素之g晝 素的畫素值之平均值的處理 (B2)就在垂直方向鄰接於R畫素之G晝素,從在 垂直方向鄰接於該G晝素之R畫素的畫素值之平均值, 減去該G晝素之晝素值的處理 (B3)就在垂直方向鄰接於β畫素之g晝素,從在 垂直方向鄰接於該G晝素之B晝素的晝素值之平均值, 減去該G晝素之畫素值的處理 -13- 201234866 (B4)就在垂直方向鄰接於g晝素之b畫素, B畫素之畫素值減去在垂直方向鄰接於該B晝素之 素的畫素值之平均值的處理 第7圖中’顯示垂直方向基準圖像40V作為垂 向基準圖像之例。在此,就垂直方向基準圖像4〇v 各成分作說明。 垂直方向基準圖像40V中之成分「V8」,藉由使 5圖所示之G1、R8、G15之晝素值的(B1)之處理 成為以下之值。 v8 = R8 - (Gl+Gl 5)/ 2 垂直方向基準圖像40V中之成分「vl5」,藉由 第5圖所示之R8、G15、R22之畫素值的(β2)之處 而成為以下之值。 V15 = (R8 + R22)/ 2— G15 垂直方向基準圖像40V中之成分「v9」,藉由使 5圖所示之B2、G9、B16之晝素值的(B3)之處理 成為以下之值。 V9 = (B2 + B16)/ 2- G9 垂直方向基準圖像40V中之成分rvl6」,藉由 第5圖所示之G9、Β16、G23之畫素值的(Β4)之處 而成為以下之值。 V16 = B16- (G9 + G23)/ 2 同樣地,就垂直方向基準圖像40V中之其他成 可藉由執行(B1)至(B4)之處理而求出。 從該 G晝 直方 中之 用第 ,而 使用 理, 用第 ,而 使用 理, 分 -14- 201234866 除了 ( B1 )至(B4 )之處理外,就拜爾資料之在插 補對象晝素周邊的各晝素’亦可藉由依序執行其^之 (B5 )至(B8 )的任何_個處理,而產生垂直方向美 圖像。 〇 土, (B5)就在垂直方向鄰接於G晝素之R晝素,從在 垂直方向鄰接於該R畫素之G畫素的畫素值之平均值, 減去該R晝素之畫素值的處理 (B6)就在垂直方向鄰接於R畫素之G畫素,從該 G畫素之畫素值減去在垂直方向鄰接於該g畫素之尺書 素的畫素值之平均值的處理 (B7)就在垂直方向鄰接於B畫素之g晝素,從該 G畫素之晝素值減去在垂直方向鄰接於該g畫素之B書 素的畫素值之平均值的處理 一 (B8)就在垂直方向鄰接於G畫素之b畫素,從在 垂直方向鄰接於該B畫素之G畫素的畫素值之平均值, 減去該B畫素之晝素值的處理 ::方向相關度算出部43就拜爾資料令之各插補 :素,從水平方向基準圖像算出水平方向之相關度 1二平相關度Hr。水平方向相關度算出部43藉由執行 、-人(C1 )至(C3 )之處理,而算出水平相關度汾。 枯(C1)求出水平方向基準圖像中之各成分間的差分 值0 (C2 ) ’托出(C1 )中求出之各差分值的絕對值。 (⑶算出(C2)中求出之各㈣值乘上特定係數 之t和’作為水平相關度Hr。 -15- 201234866 列舉(C1 )至(C3 )之處理例時,關於在第5圖所 不之「R24」位置的畫素之水平相關度Hr如下。(A4) is in the horizontal direction adjacent to the GR when the sound is estimated to subtract the pixel value of the G pixel adjacent to the element in the horizontal direction from the pixel value of the pixel. Processing of the average value Fig. 5 shows the position of the pixel of the pixel of the Bayer data, which is marked with B, and is located in the Bayer data. G1, G3, · · .G47, etc., where G is noted, is placed in the Bayer data. R8, R10, · · · R4 — Not 诅 Han 4〇 # The position of the R note is the position where the R element is placed in the Bayer data. Further, in Fig. 5, b 〇, R 、, Τ β2, · · · Β 48 show the pixel values of the respective pixels. ^ G1 G3' · · · G47 displays the pixel values of each G pixel. R8, Ri〇, · · . R4 shows the prime value of each R pixel. ‘The horizontal direction reference 40H is shown in each of the 6 figures in the Bayer data. The pixel of the position of the horizontal direction reference image (at the time of the interpolation target 40H, attention is paid to the peripheral region where the target pixel is interpolated when the horizontal reference image is generated in the fifth. The horizontal reference of the example of the first image The image 40H is the horizontal reference image of the "R24 pixel" shown in Fig. 5, such as the 7 χ 7 pixels of the peripheral region of the pixel at the position R24 where the horizontal reference image is not displayed. B〇, G1+: B2, · · · The location of each element of the Β48 position. In addition, the surrounding area may not be an area composed of 7x7 pixels. Next, an example of each component in the horizontal direction reference image will be described for each component in the horizontal direction reference image 4A. 201234866 The component "h8" in the horizontal direction reference image 40H is obtained by the processing of (昼1;) of the pixel values of G7, R8, and G9 shown in Fig. 5, and becomes the following value. H8 = R8 - (G7 + G9) / 2 The component r h9" in the horizontal direction reference image 40H, by using the processing of the pixel values of R8, G9, and R1 shown in Fig. 5 (A2), And become the following value. H9 = (R8 + R10)/2 - G9 The component "hl5" in the horizontal direction reference image 40H is processed by using the pixel values of B14, G15, and B16 shown in Fig. 5 (A3). Become the following value. Hl5 = (B14 + B16) / 2- G15 The component "hl6" in the horizontal reference image 40Η, by using the processing of the pixel values of G15, B16, and G17 shown in Fig. 5 (A4) Become the following value. Hl6 = B16- (G15 + G17) Similarly, the other components in the horizontal direction reference image 40H can be obtained by performing the processes of (A1) to (A4). In addition to the processing of (A1) to (A4), the pixels surrounding the pixel of the Bayer data can be processed by any of the following (A5) to (A8). A horizontal reference circle image is generated. (A5) The R pixel adjacent to the G pixel in the horizontal direction is subtracted from the average value of the pixel value of the G pixel adjacent to the R pixel in the horizontal direction, and the pixel value of the R element is subtracted. Handling 201234866 (A 6 ) ί especially in the horizontal direction Hao η G G is asked by the R pixel (} pixel, subtracted from the pixel value of the pixel in the ten direction of the horizontal date The treatment of the average value of the denier value of the R picture of G 昼 ( (A 7 ) is adjacent in the horizontal direction; J straight · ^ η ▲ .j. The door is adjacent to the G pixel of B pixel, from the element The processing of the prime value minus the average value of the pixel values of the Β 邻接 邻接 你 你 你 你 你 你 你 你 你 你 你 你 Α Α Α Α Α Α Α Α Α Α Α Α Α Α Α Α Α Α Α Α The process of subtracting the pixel value of the B element from the average value of the pixel values of the G pixels adjacent to the pixel in the horizontal direction, and the vertical reference image generating unit 42 The Bayer data is used to perform a vertical direction reference image using an operation of a pixel value adjacent to a pixel in the vertical direction. The vertical reference image is used for each interpolation target pixel in the Bayer data. - v q κ 1 冢 之 Λ Λ Λ 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 ' 5 ' ' ' ' ' ' ' ' ' ' ' ' ' ' 5 5 5 5 5 5 5 5 5 5 (Β1) to (Β4) any _ processing, and a vertical direction reference image is produced. (Β1) The rule element adjacent to the G element in the vertical direction is subtracted from the pixel value of the R element in the vertical direction. The process (B2) in which the average value of the pixel values of the g-crystals adjacent to the R element is adjacent to the G element of the R pixel in the vertical direction, and the R drawn adjacent to the G element in the vertical direction The average value of the prime value of the element, the process of subtracting the pixel value of the G element (B3) is adjacent to the g element of the β pixel in the vertical direction, and is adjacent to the G element in the vertical direction. The average value of the pixel value of the halogen, the process of subtracting the pixel value of the G element from -13 to 201234866 (B4) is adjacent to the b pixel of the g element in the vertical direction, the pixel value of the B pixel The process of subtracting the average value of the pixel values adjacent to the B element in the vertical direction is shown in FIG. 7 'displaying the vertical direction reference image 40V as the vertical reference image Here, each component of the vertical direction reference image 4〇v will be described. The component "V8" in the vertical direction reference image 40V is obtained by making the pixel values of G1, R8, and G15 shown in FIG. The processing of B1) becomes the following value: v8 = R8 - (Gl+Gl 5)/ 2 The component "vl5" in the vertical reference image 40V, and the pixels of R8, G15, and R22 shown in Fig. 5 The value of (β2) becomes the following value: V15 = (R8 + R22) / 2 - G15 The component "v9" in the vertical reference image 40V, by making B2, G9, B16 shown in Fig. 5 The processing of the prime value (B3) becomes the following value. V9 = (B2 + B16) / 2- G9 The component rvl6" in the vertical reference image 40V is represented by the following (Β4) of the pixel values of G9, Β16, and G23 shown in Fig. 5 value. V16 = B16- (G9 + G23) / 2 Similarly, other processing in the vertical direction reference image 40V can be obtained by performing the processing of (B1) to (B4). From the use of the G 昼 straight, and the use of the use, the use of the first, and the use of the rules, points -14-201234866 In addition to the processing of (B1) to (B4), the Bayer data in the vicinity of the interpolation object Each of the elements can also produce a vertical beauty image by performing any of the processing of (B5) to (B8) in sequence. The bauxite, (B5) is adjacent to the R element of the G element in the vertical direction, and subtracts the R element from the average of the pixel values of the G pixel adjacent to the R pixel in the vertical direction. The processing of the prime value (B6) is adjacent to the G pixel of the R pixel in the vertical direction, and subtracts the pixel value of the ruler of the g pixel adjacent to the g pixel from the pixel value of the G pixel. The processing of the average value (B7) is adjacent to the pixel element of the B pixel in the vertical direction, and subtracts the pixel value of the B pixel adjacent to the g pixel in the vertical direction from the pixel value of the G pixel. The processing of the average value (B8) is adjacent to the b pixel of the G pixel in the vertical direction, and subtracts the B pixel from the average value of the pixel values of the G pixel adjacent to the B pixel in the vertical direction. The processing of the pixel value: the direction correlation degree calculation unit 43 calculates the correlation degree 1 in the horizontal direction and the second correlation degree Hr from the horizontal direction reference image. The horizontal direction correlation degree calculation unit 43 calculates the horizontal correlation degree 藉 by executing the processing of - people (C1) to (C3). In the dry (C1), the difference value between each component in the horizontal direction reference image is obtained (C2)'. The absolute value of each difference value obtained in (C1) is calculated. (3) Calculate the (four) value obtained in (C2) by multiplying the specific coefficient t and 'as the horizontal correlation degree Hr. -15- 201234866 When the processing examples of (C1) to (C3) are listed, regarding the fifth figure The horizontal correlation Hr of the pixel at the "R24" position is as follows.

Hr=abs(h8-h9)+2xabs(h9-hl0)+2xabs(hl0-hll)+abs( hll-hl2)+2x{abs(hl5-hl6)+2xabs(hl6-hl7)+2xabs(hl7-h 18) + abs(hl8-hl9)} + 2χ {abs(h22-h2 3) + 2xabs(h2 3-h24) + 2 xabs(h24-h25)+abs(h25-h26)}+2x{abs(h29-h30)+2xabs(h 30-h31)+2xabs(h31-h32)+abs(h32-h33)}+abs(h36-h37)+2 xabs(h37-h38)+2xabs(h38-h39)+abs(h39-h40) 其中,abs()表示求出絕對值之運算。 水平相關度Hr之值愈小,水平方向之相關性愈強。 垂直方向相關度算出部44就拜爾資料中之各插補 對象晝素,從垂直方向基準圖像算出垂直方向之相關度 的垂直相關度Vd。垂直方向相關度算出部44藉由執行 其次(D1)至(D3)之處理,而算出垂直相關度Vd。 (D 1 )求出垂直方向基準圖像中之各成分間的差分 值。 (D2 )求出(D 1 )中求出之各差分值的絕對值。 (D3)算出(D2)中求出之各絕對值乘上特定係數 之總和,作為垂直相關度Vd。 列舉(D1 )至(D3 )之處理例時,關於在第5圖所 示之「R24」位置的晝素之垂直相關度Vd如下。Hr=abs(h8-h9)+2xabs(h9-hl0)+2xabs(hl0-hll)+abs(hll-hl2)+2x{abs(hl5-hl6)+2xabs(hl6-hl7)+2xabs(hl7- h 18) + abs(hl8-hl9)} + 2χ {abs(h22-h2 3) + 2xabs(h2 3-h24) + 2 xabs(h24-h25)+abs(h25-h26)}+2x{abs( H29-h30)+2xabs(h 30-h31)+2xabs(h31-h32)+abs(h32-h33)}+abs(h36-h37)+2 xabs(h37-h38)+2xabs(h38-h39)+ Abs(h39-h40) where abs() represents the operation for finding the absolute value. The smaller the value of the horizontal correlation Hr, the stronger the correlation in the horizontal direction. The vertical direction correlation degree calculation unit 44 calculates the vertical correlation degree Vd of the correlation degree in the vertical direction from the vertical direction reference image with respect to each interpolation target element in the Bayer data. The vertical direction correlation degree calculation unit 44 calculates the vertical correlation degree Vd by performing the processes of (D1) to (D3). (D 1 ) The difference value between the components in the vertical reference image is obtained. (D2) The absolute value of each difference value obtained in (D 1 ) is obtained. (D3) Calculate the sum of the absolute values obtained in (D2) multiplied by the specific coefficient as the vertical correlation Vd. When the processing examples of (D1) to (D3) are listed, the vertical correlation Vd of the pixels in the position "R24" shown in Fig. 5 is as follows.

Vd = abs(v8-vl5) + 2xabs(vl5-v22) + 2xabs(v22-v29) + a bs(v29-v36) + 2X {abs(v9-v16) + 2xabs(vl6-v23) + 2xabs(v23 -v30)+abs(v30-v37)}+2x{abs(vl0-vl7)+2xabs(vl7-v24)+ 2xabs(v24-v31)+abs(v31-v38))+2x(abs(vll-vl8)+2xabs( -16- 201234866Vd = abs(v8-vl5) + 2xabs(vl5-v22) + 2xabs(v22-v29) + a bs(v29-v36) + 2X {abs(v9-v16) + 2xabs(vl6-v23) + 2xabs(v23 -v30)+abs(v30-v37)}+2x{abs(vl0-vl7)+2xabs(vl7-v24)+ 2xabs(v24-v31)+abs(v31-v38))+2x(abs(vll-vl8) )+2xabs( -16- 201234866

Vl8-v25)+2xabs(v25-v32)+abs(v32-v39)}+abs(vl2-vl9)+ 2xabs(vl9-v25)+2xabs(v26-v33)+abs(v33-v40) 其中’ abs〇表示求出絕對值之運算。 垂直相關度V d之值愈小,垂直方向之相關性愈強。 畫素值決定部45依據水平相關度Hr與垂直相關度 Vd決定對插補對象晝素之插補的G畫素之畫素值。 水平相關度Hr比垂直相關度Vd小,換言之,水平 方向之相關性比垂直方向之相關性強時,晝素值決定部 C決定在插補對象畫素之水平方向鄰接的〇晝素之晝^ 值之平均值,作為對插補對象晝素插補之Gt素的畫素 此時,如畫素值決定部45就對第5圖所示之「 ,ϋ 4 t (插補對象畫素)插補之G晝素的晝素值 」’係使用在水平方向鄰接於在「R24」位置 素的G畫素之畫素值^G23」、「G25 ,決定m 畫 值。 」G25」,决疋以下之畫素 G24 = (G23 + G25)/ 2 之:外’垂直相關度Vd比水平相關度Hr小時… 值、…直方向之相關性比水平方向之相關性強時,佥: 晝素之畫素值之平均值=之垂直方向鄰接的〇 晝素的晝素值。 乍為對插補對象畫素插補之〇 位置二::晝素值決定部45就對第5圖所示之「R24 :置的畫素(插補對象畫素)插補之 之T」 係使用在垂直方向鄰接於在「R24」位置之書 201234866 y、、一素之晝素值「〇17」、「G31」,決定以下之畫素 值。 G24 = (Gi7 + G3 1)/ 2 旦素抽出部46抽出畫素值決定部所決定之畫素 作為肩對拜爾資料中之插補對象畫素插補的〇書素 之晝素值。 一 > G畫素抽出電路40除了在「R24」位置之畫素外, :就拜爾資料中之全部插補對象晝素(G畫素之資訊未 子在的R畫素、"素)’實施上述說明之處理,抽出須 對各插補對象插補之G晝素的晝素值。也就是G晝素抽 出電路4〇就拜爾謝之全部插㈣象晝素之各個,虞 生水平方向基準圖像與垂直方向基準圖像,使用此等水 平方向基準圖像與垂直方向基準圖像中之成分,算出在 艮平方向之畫素值的相關性與在垂直方向之畫素值的相 ^ 而抽出須對各插補對象插補的(3晝素之畫素值。 藉由此處理,而猶^日址丄 、 _ 又仔僅由從拜爾資料抽出之正確的G晝 ' 成的圖像k號(以下稱為「G圖像信號」)。 雷“η 1第?圖,在第二電路部3〇b中,使G畫素抽出 侍之G圖像信號通過高通濾波器之HpF37,而 除去G圖像信號之低頻成分。 1在加去窃36中,加上對於在第一電路部 中實施信號處理,诵堝T ^ 2 & 通過LPF (低通濾波器)26之彩色圖 像信號,除去低頻Λ八+ ^ 巴圖 。&頻成分之G圖像信號,也就是實施插補。 "去3 i之說明,採用本實施形態時,除了在插補對 一 ’、》、之G畫素外,亦參照在插補對象晝素周邊之 -18- 201234866Vl8-v25)+2xabs(v25-v32)+abs(v32-v39)}+abs(vl2-vl9)+ 2xabs(vl9-v25)+2xabs(v26-v33)+abs(v33-v40) where 'abs 〇 denotes the operation of finding the absolute value. The smaller the value of the vertical correlation Vd, the stronger the correlation in the vertical direction. The pixel value determining unit 45 determines the pixel value of the G pixel of the interpolation of the interpolation target pixel based on the horizontal correlation degree Hr and the vertical correlation degree Vd. When the horizontal correlation degree Hr is smaller than the vertical correlation degree Vd, in other words, when the correlation in the horizontal direction is stronger than the vertical direction, the pixel value determining unit C determines the neighboring pixels in the horizontal direction of the interpolation target pixel. ^ The average value of the value is used as the pixel of the Gt element of the interpolation target. In this case, the pixel value determining unit 45 displays the image shown in Fig. 5, ϋ 4 t (interpolated pixel of interest). "The pixel value of the G element of the interpolation" is the pixel value of the G pixel adjacent to the "R24" position in the horizontal direction ^G23", and "G25, the m value is determined." G25", The following pixels G24 = (G23 + G25) / 2: The outer 'vertical correlation Vd is lower than the horizontal correlation Hr... When the correlation between the value and the straight direction is stronger than the horizontal direction, 佥: 昼The average value of the prime value of the prime = the pixel value of the element adjacent to the vertical direction.乍 is the position 2 of the interpolation target pixel interpolation: The pixel value determination unit 45 performs the interpolation of the "R24: set pixel (interpolation target pixel) interpolation shown in Fig. 5" The following pixel values are determined by using the book 201234866 y, which is adjacent to the "R24" position in the vertical direction, and the pixel values "〇17" and "G31" of the prime. G24 = (Gi7 + G3 1) / 2 The pixel extracting unit 46 extracts the pixel determined by the pixel value determining unit as the pixel value of the book of the interpolation target pixel interpolation in the Bayer data. A > G pixel extraction circuit 40 except for the pixel at the "R24" position: all the interpolation elements in the Bayer data (the R pixel of the G pixel information is not in the R pixel, " The process of the above description is carried out, and the pixel value of the G gas which is to be interpolated for each interpolation object is extracted. That is, the G-cell extraction circuit 4〇 is all inserted into the (four) symbolic elements, and the horizontal direction reference image and the vertical direction reference image are generated, and the horizontal direction reference image and the vertical direction reference map are used. In the image, the correlation between the pixel value in the horizontal direction and the pixel value in the vertical direction is calculated, and the pixel value to be interpolated for each interpolation object is extracted. This processing, and the date of the ^, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ In the second circuit portion 3b, the G pixel is extracted from the G image signal through the HpF37 of the high-pass filter, and the low-frequency component of the G image signal is removed. For performing signal processing in the first circuit portion, 诵埚T ^ 2 & through the color image signal of the LPF (Low Pass Filter) 26, removing the low frequency Λ8 + ^ Batu. & G component of the frequency component Signal, that is, the implementation of interpolation. " Go to the description of 3 i, when using this embodiment, except in the interpolation pair ", Outside the G pixel, also in reference to -18-201234866 surrounding the interpolation target pixel day

R畫素及B佥% IR pixel and B佥% I

一 ^素,決疋對拜爾資料插補之G書辛的愈I 值。如此,對秸瞄答』丨』 一瓦的畫素 訊多4果,爾資料_G晝素時,參照之畫素的資 此外,J對圖像信號插補G畫素之正確的晝素值。 採用本實施形態時,係使用在插 畫素、R畫素、B晝素的各個畫素值,= 準圖像與垂直方向基準圖像,並使用此等水平 、,° 土》圖像與垂直方向基準圖像中之成分,算出在 :方:之晝素值的相關性與在垂直方向之晝素值的相關 . 异出關於晝素值之相關性時,參照之畫素的 ^ 、°果,可減低誤判關於畫素值之相關性強的方 向之可能性。 此外,採用本實施形態時,係對於在第一電路部3〇a 中實施信號處理,而通過LPF (低通濾波器)%之彩色 圖像k號,插補在第二電路部3〇b中抽出之G晝素的正 確之資訊。因為G畫素之資訊影響再生圖像中之輪廓的 銳度,所以,如此可強調依據拜爾資料之再生圖像的輪 廊’而使再生圖像之畫質提高。 <改良例> 其-欠’就本實施形態之改良例作說明。就在插補尉 象晝素周邊之晝素,有時水平方向之相關性與垂直方向 之相關性的差異微小。也就是在插補對象晝素之周邊, 有時灰階層次緩和。此時,藉由第一種實施形態之處理, 對拜爾育料之插補對象畫素插補G晝素時,插補對象書 ” 堇素值形成明顯之值(孤立點),而有依據圖像信號 之再生圖像的晝質惡化之問題。本改良例係對應該問題 者。 -19- 201234866 此改良例中,如第8 m叱_ 圖所示’與上述實施形態不同 之處僅為在G晝素抽出雷改j Λη . 出電路40中設置了混合比決定部 47 ^其他結構及處理係 你興上述之實施形態相同。 混合比決定部4 7传您士 τ 山, 係從水平方向相關度算出部43算 出之水平相關度Hr虚從番古士 ^ ^ ^ 疋垂直方向相關度算出部44算出 之垂直相關度Vd中’決定混合比。 水平相關度Hr vl·· + dt t ,^ 4 H 比垂直相關度Vd小,也就是水平方 向之相關性比垂直方Θ4日日 .^ u / 向之相關性強時,混合比決定部47 決定Hr/ Vd之值作Λ 丨〜 水平相,為混&比。另外,垂直相關度Vd比 '^十相關度Hr小,也就县击古 之相關性強時,混二二:相關性比水平方向 混合比。H比決疋部〇決定Vd/Hr之值作為 平方向之相關性比垂直方向之相關性強時,畫素 >、定部45決定以依據混合比之比 θ 鄰接於插補對象書素之G晝音的佥去/在水+方向 —畫素的晝素值之平均值,與在 7 向及垂直方向鄰接於插補對象畫素之4個(5金音 之平均值的畫素值之〇#音_ ^ ^ 之G畫素的畫素值。對插補對象畫素插補 補之1Π去如對於在第5圖所示之「R24j位置的晝素插 補之G晝素的晝素值「G24」,成為以下之畫素值。 024 = (1.0 - (Hr/ Vd))X(G23 + 025)/2 + rw / Vd)X (Gl7+G31 + G23+G25)/4 垂直方向之相關性比水平方向之相關性強時,查 、疋。P 45決定以依據混合比之比率相加在垂 鄰接於插補對象畫素…素的畫素值之平均值: -20- 201234866 水平方向及垂直方向鄰接於插 之平均值的畫素值之G畫素, 之G畫素的畫素值。 補對象畫素之4個G畫素 作為對插補對象畫素插補 R24」位置的畫素 以下之晝素值。 + G31)/ 2 + (Vd 插A prime, the more I value of the G book Xin interpolated with Bayer data. In this way, the stalking 丨 丨 一 一 一 一 一 一 一 一 一 一 一 一 一 一 一 一 一 一 一 一 一 一 一 一 一 一 一 一 一 一 一 一 一 一 一 一 一 一 一 一 一 一 一value. In the present embodiment, the pixel values of the illustrator, the R pixel, and the B element are used, and the quasi-image and the vertical direction reference image are used, and the horizontal and vertical images are used. The component in the direction reference image is calculated as the correlation between the correlation between the pixel value and the pixel value in the vertical direction. When the correlation with the pixel value is different, the ^, ° of the reference pixel As a result, the possibility of misjudging the direction of the correlation of the pixel values can be reduced. Further, in the present embodiment, the signal processing is performed in the first circuit portion 3a, and the color image k number of the LPF (Low Pass Filter)% is interpolated in the second circuit portion 3b. The correct information of the G-salt extracted in the middle. Since the information of the G pixel affects the sharpness of the outline in the reproduced image, the image quality of the reproduced image can be improved by emphasizing the rim of the reproduced image based on the Bayer data. <Modified Example> This is a modified example of the present embodiment. Just in the case of interpolating the elements around the pixel, there is a small difference in the correlation between the correlation in the horizontal direction and the vertical direction. That is to say, in the vicinity of the imputation object, sometimes the gray level is moderated. At this time, according to the processing of the first embodiment, when the pixel of the interpolation object of Bayer's feed is interpolated with G element, the value of the interpolation object forms a distinct value (isolated point), and According to the problem of deterioration of the quality of the reproduced image of the image signal, the present modification corresponds to the problem. -19- 201234866 In this modified example, the difference from the above embodiment is as shown in Fig. 8 m叱_ The mixture ratio determination unit 47 is provided only in the output circuit 40. The other configuration and processing system are the same as the above-described embodiment. The mixture ratio determination unit 4 transmits the τ τ mountain, The horizontal correlation degree Hr calculated from the horizontal direction correlation degree calculation unit 43 is determined from the vertical correlation degree Vd calculated by the verticals correlation coefficient calculation unit 44 to determine the mixture ratio. The horizontal correlation degree Hr vl·· + Dt t , ^ 4 H is smaller than the vertical correlation Vd, that is, the correlation in the horizontal direction is greater than the vertical square Θ4 day. When the correlation is strong, the mixture ratio determining unit 47 determines the value of Hr/Vd as the Λ丨 ~ horizontal phase, for mixing & ratio, in addition, vertical correlation Vd is more than '^10 Hr is small, and when the correlation between the county and the ancient times is strong, the mixture is two: the correlation ratio is higher than the horizontal direction. The ratio of H to the 疋 determines the value of Vd/Hr as the correlation between the flat direction and the vertical direction. In the case of strong time, the pixel and the fixed portion 45 determine the mean value of the pixel value of the 佥/in water + direction-pixel of the G 昼 邻接 邻接 依据 依据 插 插 插 插 插 插 插 插In the 7-direction and the vertical direction, the pixel values of the G-pixels of the four pixels of the interpolation target pixel (the mean value of the 5 gold tones 〇#音_^^) are adjacent to the pixel of the interpolation object. For example, the pixel value "G24" of the G element of the pixel interpolation at the R24j position shown in Fig. 5 becomes the following pixel value. 024 = (1.0 - (Hr/ Vd )) X(G23 + 025)/2 + rw / Vd)X (Gl7+G31 + G23+G25)/4 When the correlation between the vertical direction is stronger than the horizontal direction, check and 疋. P 45 decides to add the average value of the pixel values adjacent to the pixel of the interpolation target according to the ratio of the mixture ratio: -20- 201234866 The pixel value adjacent to the average value of the interpolation in the horizontal direction and the vertical direction G pixel, the pixel value of G pixel. The four G pixels of the complement pixel are the pixels of the R24" position of the interpolation target pixel. The following pixel values. + G31) / 2 + (Vd plug

此時,如對於在第5圖所示之「 補之G畫素的畫素值「〇24」,成為 G24 = (1.0 - (Vd/ Hr))x(Gl7At this time, as shown in Fig. 5, the pixel value "〇24" of the G pixel is G24 = (1.0 - (Vd/ Hr)) x (Gl7

Hr)x (G17+G31+G23+G25)/4 畫素抽出部46抽出畫素值決定部所決定之晝素 值,作為須對拜爾資料中之插補對象畫素插補的G畫素 之畫素值。如此獲得僅由從拜爾資料抽出之正確的〇畫 素之資訊構成的圖像信號(G圖像信號)。 而後,回到第3圖,在加法器36中,對於在第一電 路部30a中實施信號處理,並通過LpF (低通濾波器) 26之彩色圖像信號加上G圖像信號,也就是實施插補。 採用以上說明之改良例,於決定對拜爾資料插補之 G畫素的畫素值時,除了在相關性強的方向鄰接於插補 對象晝素之2個畫素之平均值之外,亦使用在水平方向 及垂直方向鄰接於插補對象畫素之4個畫素的平均值。 如此’即使水平方向之相關性與垂直方向之相關性之差. 異微小時’插補對象畫素之晝素值不致成為明顯之值(孤 立點)’而可防止依據圖像信號之再生圖像的晝質惡化。 本發明並非限定於上述實施形態及改良例者,亦包 含在不脫離本發明之要旨的範圍内之設計變更。 -2 1- 201234866 【圖式簡單說明】 第1圖係顯示數位相機1 00之全體結構圖。 第2圖係顯示圖像處理部20之結構圖。 第3圖係顯示晝素插補單元30之結構圖。 第4圖係G晝素抽出電路40之結構圖。 第5圖係顯示拜爾排列之例圖。 第6圖係顯示水平基準圖像之例圖。 第7圖係顯示垂直基準圖像之例圖。 第8圖係改良例中之G晝素抽出電路40的結構圖 【主要元件符號說明】 20 圖像處理部 21 類比處理部 22 黑位準調整部 23 白平衡調整部 24 γ修正部 26 LPF (低通濾波器) 27 YUV變換處理部 28 JPEG變換部 30 晝素插補單元 30a 第一電路部 30b 第二電路部 31 寬頻帶LPF 32 G插補電路 33 R插補電路 34 B插補電路 -22- 201234866 36 37 38 40 40 41 42 43 44 45 46 47 50 62 63 64 66 68 69 70 71 72 80 100Hr)x (G17+G31+G23+G25)/4 The pixel extracting unit 46 extracts the pixel value determined by the pixel value determining unit as a G picture to be interpolated by the pixel of the interpolation target in the Bayer data. Prime prime value. Thus, an image signal (G image signal) composed only of the information of the correct pupil extracted from the Bayer data is obtained. Then, returning to Fig. 3, in the adder 36, the signal processing is performed in the first circuit portion 30a, and the color image signal of the LpF (low pass filter) 26 is added with the G image signal, that is, Implement interpolation. According to the modified example described above, when the pixel value of the G pixel of the Bayer data interpolation is determined, the average value of the two pixels adjacent to the interpolation target pixel is in the direction of strong correlation, The average value of the four pixels adjacent to the interpolation target pixel in the horizontal direction and the vertical direction is also used. Thus, even if the correlation between the correlation between the horizontal direction and the vertical direction is different, the pixel value of the interpolation target pixel does not become a significant value (isolated point), and the reproduction map according to the image signal can be prevented. The temperament of the image deteriorates. The present invention is not limited to the above-described embodiments and modifications, and includes design changes that do not depart from the gist of the present invention. -2 1- 201234866 [Simple description of the drawing] Fig. 1 shows the overall structure of the digital camera 100. Fig. 2 is a view showing the configuration of the image processing unit 20. Fig. 3 is a view showing the structure of the pixel interpolation unit 30. Fig. 4 is a structural diagram of the G gas extraction circuit 40. Figure 5 is a diagram showing an example of a Bayer arrangement. Figure 6 is a diagram showing an example of a horizontal reference image. Figure 7 is a diagram showing an example of a vertical reference image. Fig. 8 is a structural diagram of a G-halogen extraction circuit 40 in a modified example. [Description of main component symbols] 20 Image processing unit 21 Analog processing unit 22 Black level adjustment unit 23 White balance adjustment unit 24 γ correction unit 26 LPF ( Low-pass filter) 27 YUV conversion processing unit 28 JPEG conversion unit 30 Prime interpolation unit 30a First circuit unit 30b Second circuit unit 31 Broadband LPF 32 G interpolation circuit 33 R interpolation circuit 34 B interpolation circuit - 22- 201234866 36 37 38 40 40 41 42 43 44 45 46 47 50 62 63 64 66 68 69 70 71 72 80 100

R、G、B 加法器R, G, B adder

HPF 減法器HPF subtractor

G晝素抽出電路 畫素插補電路 水平方向基準圖像產生部 垂直方向基準圖像產生部 水平方向相關度算出部 垂直方向相關度算出部 畫素值決定部 畫素抽出部 混合比決定部 CCDG-dimensional extraction circuit, pixel interpolation circuit, horizontal direction reference image generation unit, vertical direction reference image generation unit, horizontal direction correlation calculation unit, vertical direction correlation calculation unit, pixel value determination unit, pixel extraction unit, mixture ratio determination unit, CCD

攝像透鏡 透鏡驅動區塊 光圈兼用快門 TGCamera lens lens drive block aperture shutter TG

DRAM 記憶體DRAM memory

CPU 圖像顯示部 鍵輸入部 記憶卡 數位相機 晝素、信號 -23- 201234866 76 卡 I/F 40H 水 平 方 向 基 準 圖 像 Hr 水 平 相 關 度 Vd 垂 直 相 關 度 Y 亮 度 信 號 U、V 色 差 信 號 CDS 相 關 雙 重 抽 樣 電 路 AGC 白 動 增 益 控 制 電 路 A/D A/ D變換器 -24-CPU image display part key input part memory card digital camera element, signal -23- 201234866 76 card I/F 40H horizontal direction reference image Hr horizontal correlation Vd vertical correlation degree Y brightness signal U, V color difference signal CDS correlation double Sampling Circuit AGC White Gain Control Circuit A/DA/D Converter-24-

Claims (1)

具備: 201234866 七、申請專利範圍: 1 · 一種晝素插補電 畫素插補部,其佐# A m 區域…素之書辛:僅使用一插補對“ 查辛之G ^值,而決定插補於前匈 素值,並藉將所決定之G 素值插補於前述插補對象畫素,從而 號’其中’該插補對象畫素係拜爾資料中之 畫素值不存在的畫素; 相關性算出部,其係對於前述拜爾資剩 畫素、G畫素、B晝素之中之作為注目畫素存 素值與前述注目畫素之周邊區域之—周邊或 值之間實行運算,從而算出前述插補對“ 區域之水平方向上的相關性盥垂直 /、尤且々向上纪 其中,該周邊晝素的畫素值係與前述注目售 分相異的色成分之周邊畫素的畫素值; 畫素值決定部,其係依據在藉前述相關 所算出之各相關性中之相關性強的方向上與 對象晝素鄰接之晝素的畫素值,決定插補於 對象晝素之G晝素的第2之G插補晝素值; G圖像信號取得部’其係取得一 G圖像十 圖像信號係僅由具有藉前述晝素值決定部所 2之G插補畫素值的G畫素所構成; 高通濾波器,其係除去藉前述Ο圖像信 所取得之前述G圖像信號的低頻成分;以及 素之周邊 插補對象 畫素之晝 補圖像信 G晝素之 ’藉在R 晝素之晝 素的畫素 素之周邊 相關性, 素之色成 性算出部 前述插補 前述插補 :r號,該G 決定之第 號取得部 -25- 201234866 加法部,其係對藉前述晝素插補部所產生之 圖像:號加上藉前述高通遽波器而除去低頻成分之捕 像k號令之第2之G插補畫素佶;其中, 圖像信號令之第2之G插補晝$ mt } =述畫素值決定料將按特定 值與另一平均值所得的畫素值決定為前述第2之= 戶斤算出之各相關性之中之相刖述相關性算出部 補對象畫素鄰接之畫f的書 上〜則述插 均值係水平方向及垂直 值該另一平 接之畫素的平均值。 预對象畫素鄰 2.如申請專利範圍第1項之畫素插補電路, 其中更具備: 第1基準圖像產生部,1 乂 *之周邊區域,進行使用了鄰接 素值之:算,而產…基準圖像;及向之…畫 基準圖像產生部,盆 素之周邊區域,進行使、、f於别述插補對象畫 素值之運算,而產生第2基準圖像直方向之畫素的晝 前述相闕性算出部依據藉前 部所產生之第}基準圖像,算 *準圖像產生 並依據藉前述第2基準顯j +方向上之相關性, 基準圖像,算出垂直 產生部所產生之第2 罝方向上之相 3.如申知專利範圍 拴。 其中前述第i 補電路, k弟1基準圊像產 部,其係對於前述插補對象書 ° 一備水平差分運算 '、之周邊區域,取得第】 -26- 201234866 晝素之晝素值_ 在水平方向和該第二:值的差分值,該再一平均值係 各自的畫素值之平均值鄰接之第2晝素及第3畫素 依據藉前述水平#八 生前述第1基準H °取得之各差分值,產 伟射:ί第2基準圖像產生部具備垂直差分運算部,其 係對於别述插補對象畫 畫素值與再另域,取得第1畫素之 垂直方而“ +句值的差分值’該再另-平均值係在 自的畫;:亥第1畫素相鄰接之第4畫素及第5晝素各 目的畫素值之平均值, ::藉前述垂直差分運算部所取得之各差分值,產 生前述第2基準圖像。 利範圍第2項之晝素插補電路,其中前述第1 土旱圖像產生部具備: 第=水平差分運算部’其係取得R畫素之晝素值 :水平方向上鄰接該R畫素之G畫素 均值的差分值; t f 2水平差分運算部’其係取得B畫素之畫素值 與在水平方向上鄰接該B畫素之G畫素的晝素值之 均值的差分值; 、 3水平差分運异’其係取得在水平方向上鄰 接0畫素之R晝素的畫素值之平均值與該^晝 素值的差分值;及 〃旦 第4水平差分運算部,其係取得在水平方向上鄰 接G晝素之Β晝素的晝素值之平均值與該G晝素之晝 素值的差分值; -27- 201234866 依據藉前述第!至第4水 各差分值,產左運异部所取俨— _ 產生前述第1基準圖像, J取件之 則述第2基準圖像產生部具備: 第1垂直差分運算部,其係 與在垂直方向上 畫素之畫素值 州按畫素之G書音的查* 均值的差分值; —常的畫素值之平 第2垂直差分運算部,其係取得β 與在垂直方向上鄰接該 二:之畫素值 均值的差分值; 置京之G畫素的畫素值之平 第 垂直差分運算部,装你雨 接G畫素之R書素的書去估仔在垂直方向上鄰 素值的差分值Γ及晝素值之平均值與該G畫素之晝 =4垂直差分運算部,其 接G畫素之3書 伢隹!互方向上鄰 素值的差分值「素的晝素值之平均值與該G畫素之畫 依據藉前述第1 $ 各差分值,產生^、f笛 垂直差分運算部所取得之 ..^ ^ 生則述第2基準圖像。 •如申睛專利範圍 算出部具備: 項之晝素插補電路,其中相關性 第1算出部,1後曾, 值係藉前述第i至:’第1相關值’該第1相關 分值的絕對值i本 水平差分運算部所取得之各差 I,二 者乘上特定係數之值後的總和;及 第2算出部,复总缺 值係藉前述第丨至;鼻出第2相關值,該第2相關 分值的絕對值各㈣ 直差分運算部所取得之各差 ^上·特定係數之值後的總和; -28- 201234866 依據藉前述第】算出 前述第2算出部所算出之丨之第1相關值與藉 之相關性與垂直方向之相關性相關值,算出水平方向 6.如申請專利範圍第丨項之查 素值決定部係將在 /素插補電路,其中前述 關f生酽之相關性強的方向 所鼻出之各相 之畫素的畫素值之平均值,決、^補對象畫素鄰接 畫素值。 、疋為則述第2之G插補 7. 如申請專利範圍帛5項之畫素 謂特定之比率係依照藉前述第、,路’其中前述所 相關值與藉前述第2算出部所算算出之第1 率。 第2相關值的比 8. —種畫素插補方法,包含以下步驟: 僅使用-插補對象晝素之周邊區域之g書素之* 素值,而决疋插補於前述插補對象晝素之G畫素^ 素值,並藉將所決定之G畫素之奮杏伯& —、畫 , 素之晝素值插補於前述插 補對象至素,從而產生插補圖像信號,其中,該插 對象晝素係拜爾資料中之G畫素之畫素值不存在 素; ' 對於前述拜爾資料’藉在r畫素、〇畫素、B晝 素之中之作為注目晝素的晝素之晝素值與前述注目晝 素之周邊£域之一周邊晝素的畫素值之間實行運算, 從而算出前述插補對象晝素之周邊區域之水平方向上 的相關性與垂直方向上的相關性,其中,該周邊書素 的畫素值係與前述注目晝素之色成分相異的色成分之 周邊畫素的畫素值; -29- 201234866 將按特定之比率相加一平均 的書音枯4 J值與另—平均值所得 描站補於前述插補對象畫素之第2之 關性:中值,其中’該平均值係在前述所算出之各相 之相關性強的方向上與前述插補對象畫素鄰 的晝素值之平均值’該另-平均值係水平方 方向上與前述插補對象畫素鄰接之畫素的平 均值; …取得一 G圖像信號,該G圖像信號係僅由具有前 迷所決^第2之G插補畫素值的G畫素所構成; 除去前述所取得之前述G圖像信號的低頻成分; 以及 十月』述所產生之插捕圖像信號加上前述低頻成分 、’!除去之G圖像信號中之第2之G插補畫素值。 9.種°己錄媒體’係記憶有電腦可讀取之程式,其係使 電腦執行以下處理: 僅使用一插補對象晝素之周邊區域之G畫素之晝 素值而決又插補於前述插補對象畫素之G晝素之畫 素值並藉將所決定之G晝素之畫素值插補於前述插 補對象里素A而產生插補圖像信號,其中,該插補 對象直素係拜爾資料中之g畫素之晝素值不存在的晝 素; 對於前述拜爾資料,藉在R畫素、G畫素、b晝 素之中之作為注目畫素的晝素之畫素值與前述注目畫 素之周邊區域之一周邊晝素的畫素值之間實行運算, 從而算出前述插補對象晝素之周邊區域之水平方向上 -30- 201234866 的相關 的畫素 周邊畫 將 的畫素 插補晝 關性之 接之畫 向及垂 性與垂 值係與 素的畫 按特定 值決定 素值, 中之相 素的畫 直方向 均值; 取得一 G 述所決定之第 除去前述 以及 對前述所產生 經除去之G圖像信 直方向上的相關性,其中,該周邊晝素 前述注目晝素之色成分相異的色成;;之 素值; 之比率相加-平均值與另—平均值所得 為插補於前述插補對象畫素之第2 其t,該平均值係在前述所算出之各相 關性強的#向上肖前述插補❹畫素鄰 素值之平均值’該另一平均值係水平方 上與前述插補對象畫素鄰接之畫素的平 圖像k號’該G圖像信號係僅由具有前 2之G插補畫素值的G畫素所構成; 所取得之前述G圖像信號的低頻成分; 之插捕圖像信號加上前述低頻成分 唬中之第2之G插補晝素值。 -31·With: 201234866 VII, the scope of application for patents: 1 · A morpheme interpolation electric pixel interpolating part, its Zuo # A m area ... Su Zhishu: use only an interpolation pair "Cha Xin's G ^ value, and Deciding to interpolate the former Hungarian value, and interpolating the determined G-value by the interpolation target pixel, so that the pixel value in the interpolation object is not present in the interpolation object pixel The correlation calculation unit is a peripheral value or a value of the peripheral region of the above-mentioned pixel of interest, which is the value of the pixel of the left-eye pixel, the G pixel, and the B element. The calculation is performed to calculate the correlation between the interpolation in the horizontal direction of the region, the vertical/in particular, and the upper pixel, and the pixel value of the peripheral element is different from the above-mentioned target sales. The pixel value of the peripheral pixels; the pixel value determining unit determines the pixel value of the pixel adjacent to the object element in the direction in which the correlation in each correlation calculated by the correlation is strong. The second G interpolation imputed value of the G 昼 插 ; ; ; ;; The image acquisition unit' is configured to acquire a G image. The ten image signal system is composed only of G pixels having the G interpolation pixel value by the pixel value determining unit 2; the high pass filter is removed. The low-frequency component of the aforementioned G image signal obtained by the above-mentioned Ο image letter; and the 图像 图像 之 借 借 借 借 借 借 借 借 借 借 借 借 借 借In the peripheral correlation, the prime color calculation unit interpolates the interpolation: r number, the G-determined number acquisition unit -25-201234866, the addition unit, which is generated by the pixel interpolation unit. Image: plus the second G interpolated pixel of the capture k of the low-frequency component by the aforementioned high-pass chopper; wherein the image signal causes the second G interpolation 昼$ mt } = The pixel value is determined to be the pixel value obtained by the specific value and the other average value, and the correlation coefficient calculation unit is adjacent to each of the correlations calculated by the second calculation. Draw the book on f~ then the mean value of the horizontal and vertical values of the other flattened pixels . Pre-target pixel neighbor 2. The pixel interpolation circuit according to the first item of the patent application, which further includes: a first reference image generating unit, a peripheral region of 1 乂*, and a neighboring prime value is used: And the reference image generation unit; and the reference image generation unit, the peripheral region of the pelt, the calculation of the pixel value of the interpolated object, and the second reference image is generated in the straight direction. The phase correlation calculation unit calculates the *quasi-image generation based on the first reference image generated by the front portion, and based on the second reference, the correlation in the j + direction, the reference image, Calculate the phase in the second 罝 direction generated by the vertical generating portion. 3. As claimed in the patent scope 拴. The ith complement circuit, the k-division 1 reference 产 image production unit, obtains the 昼 昼 昼 】 周边 周边 周边 周边 周边 周边 周边 周边 周边 周边 周边 周边 周边 周边 周边 周边 -26 -26 -26 -26 -26 -26 -26 -26 -26 -26 In the horizontal direction and the difference value of the second value, the further average value is the second element of the respective pixel values adjacent to the second element and the third pixel is based on the aforementioned level #八生前第一第一基The difference between the obtained difference values and the radiance: 第 The second reference image generation unit includes a vertical difference calculation unit that obtains the vertical direction of the first pixel by drawing the pixel value and the other region of the interpolation target. And the "differential value of the + sentence value" is further the average value is in the picture; the average value of the pixel values of the fourth pixel and the fifth element adjacent to the first pixel: The second reference image is generated by each of the difference values obtained by the vertical difference calculation unit. The pixel interpolation circuit of the second aspect of the present invention, wherein the first soil image generation unit includes: a horizontal difference The computing unit' obtains the pixel value of the R pixel: the G picture adjacent to the R pixel in the horizontal direction The difference value of the mean value; the tf 2 horizontal difference operation unit' obtains a difference value between the pixel value of the B pixel and the mean value of the pixel value of the G pixel adjacent to the B pixel in the horizontal direction; The difference between the average value of the pixel value of the R element adjacent to the 0 pixel in the horizontal direction and the difference between the value of the pixel element and the fourth level difference operation unit is obtained in The difference between the average value of the elemental value of the halogen adjacent to the G element in the horizontal direction and the elemental value of the G element; -27- 201234866 based on the difference value of the above-mentioned 4th to 4th water, the left运 运 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 第 第 第 第 第 第 第 第 第 第 第 第 第 第 第 第 第 第 第 第 第 第 第 第 第 第 第 第 第 第 第 第 第The value of the difference between the average value of the G-sound of the pixel of the state; the second vertical difference operation of the constant pixel value, which obtains the mean value of the pixel value of β and the adjacent two in the vertical direction. The difference value; the vertical difference calculation unit of the pixel value of the G-pixel of the Beijing, which is loaded with rain The book of the R-character of G-pixels is used to estimate the difference between the difference value of the neighboring value and the value of the pixel value in the vertical direction and the 垂直=4 vertical difference operation unit of the G-pixel, which is connected to the G pixel. 3 book 伢隹! The difference value of the adjacent prime value in the mutual direction "the average value of the prime value of the prime and the basis of the G pixel are obtained by the difference value of the first $, and the vertical difference operation unit of the flute is generated. The obtained reference image calculation unit includes: a parametric interpolation circuit of the item, wherein the correlation first calculation unit, 1 is followed by the value I- to: 'first correlation value': the absolute value of the first correlation score i, the difference I obtained by the horizontal difference calculation unit, the sum of the two values multiplied by the value of the specific coefficient; and the second calculation unit The total value of the total value is the sum of the second correlation value, the absolute value of the second correlation score, and the sum of the values of the difference and the specific coefficient obtained by the straight difference calculation unit; 28-201234866 Calculate the correlation between the first correlation value calculated by the second calculation unit and the correlation between the borrowing and the The correlation value of the direction is calculated, and the horizontal direction is calculated. 6. The check value determining unit of the third paragraph of the patent application scope will be in the direction of the interpolation circuit, in which the aforementioned correlation is strong. The average value of the pixel values of the pixels of each phase determines the adjacent pixel values of the object pixels. In the case of the second application of the second calculation unit, Calculate the first rate. The ratio of the second correlation value is 8. The pixel interpolation method includes the following steps: Only the interpolation value of the g-study of the peripheral region of the object pixel is used, and the interpolation object is interpolated. The element of G is a prime value, and the interpolated object is interpolated by the interpolation of the determined pixel of the G-pixel of the G-pixel, which is determined by the G-pixel, to generate an interpolated image. a signal in which the pixel value of the G pixel in the Bayer data is non-existent; 'for the aforementioned Bayer data', the r-pixel, the 〇 素, B 昼The pixel value of the pixel of the pixel is calculated by calculating the pixel value of the surrounding element of the pixel of the interpolation target, thereby calculating the correlation in the horizontal direction of the peripheral region of the interpolation target pixel. Correlation between sex and vertical direction, wherein the pixel value of the surrounding pheromone is a pixel value of a peripheral pixel of a color component different from the color component of the above-mentioned attention pixel; -29- 201234866 will be specified The ratio is added to the average book tone and the 4 J value and the other value are obtained. The second correlation of the pixel: the median value, where 'the average value is the average value of the pixel values adjacent to the interpolation target pixel in the direction in which the correlation between the calculated phases is strong' The other value is an average value of the pixels adjacent to the interpolation target pixel in the horizontal direction; ... obtains a G image signal, and the G image signal is only determined by the former fan. The G pixel of the interpolation pixel value is configured; the low frequency component of the G image signal obtained as described above is removed; and the interpolation image signal generated by the October description is added to the low frequency component, '! The second G interpolated pixel value of the G image signal removed. 9. The type of recorded media 'memory has a computer readable program, which causes the computer to perform the following processing: only use the pixel value of the G pixel of the peripheral region of the interpolation object and interpolate And interpolating the pixel value of the G element of the pixel of the interpolation object, and interpolating the pixel value of the determined G element into the interpolation object A to generate an interpolation image signal, wherein the interpolation image signal is generated. The complement of the object is a non-existent element of the g-pixel of the g-pixel in the Bayer data; for the Bayer data, the R-pixel, the G-pixel, and the b-crystal are used as the pixel of interest. The pixel value of the pixel is calculated by calculating the pixel value of the surrounding pixel of one of the peripheral regions of the pixel of interest, thereby calculating the correlation between the horizontal direction of the peripheral region of the interpolation target -30-201234866. In the peripheral paintings of the pixels, the painting direction and the vertical and vertical values of the vertical and vertical values are determined by a specific value, and the mean value of the phase in the picture is the straight direction; The determined determination removes the aforementioned and generated G image removed as described above Correlation in the straight direction, wherein the color of the peripheral element of the pixel is different; the prime value; the ratio of the addition - the average value and the other value are interpolated to the interpolation The second of the target pixels, t, the average value is the average of the interpolated ❹ prime pixel values of the above-mentioned calculated strong correlations, and the other average is horizontally The flat image k number of the pixel adjacent to the interpolation target pixel is composed of only the G pixel having the first two G interpolation pixel values; the obtained G image signal The low frequency component; the interpolated image signal plus the second G interpolated pixel value of the low frequency component 唬. -31·
TW101114057A 2007-07-30 2008-07-29 Pixel interpolation circuit, pixel interpolation method, and recording medium TWI387353B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2007197117 2007-07-30
JP2008141945A JP4497233B2 (en) 2007-07-30 2008-05-30 Pixel interpolation circuit and program

Publications (2)

Publication Number Publication Date
TW201234866A true TW201234866A (en) 2012-08-16
TWI387353B TWI387353B (en) 2013-02-21

Family

ID=40332569

Family Applications (2)

Application Number Title Priority Date Filing Date
TW097128554A TWI387352B (en) 2007-07-30 2008-07-29 Pixel interpolation circuit, pixel interpolation method, and recording medium
TW101114057A TWI387353B (en) 2007-07-30 2008-07-29 Pixel interpolation circuit, pixel interpolation method, and recording medium

Family Applications Before (1)

Application Number Title Priority Date Filing Date
TW097128554A TWI387352B (en) 2007-07-30 2008-07-29 Pixel interpolation circuit, pixel interpolation method, and recording medium

Country Status (4)

Country Link
JP (1) JP4497233B2 (en)
KR (2) KR101003605B1 (en)
CN (1) CN101360248B (en)
TW (2) TWI387352B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5169994B2 (en) * 2009-05-27 2013-03-27 ソニー株式会社 Image processing apparatus, imaging apparatus, and image processing method
KR101634141B1 (en) 2009-11-18 2016-06-28 삼성전자주식회사 Image interpolation method using reference block according to direction and apparatus for performing the method
JP5353945B2 (en) * 2011-05-13 2013-11-27 株式会社ニコン Image processing apparatus, image processing program, and electronic camera
WO2014188950A1 (en) * 2013-05-23 2014-11-27 富士フイルム株式会社 Pixel interpolation device and operation control method
JP6598507B2 (en) * 2015-05-11 2019-10-30 キヤノン株式会社 Imaging apparatus, imaging system, and signal processing method
KR102276006B1 (en) 2021-01-14 2021-07-13 주식회사 에머스 Recycling garbage collection device using QR code

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4292625B2 (en) * 1998-06-01 2009-07-08 株式会社ニコン Interpolation processing apparatus and recording medium recording interpolation processing program
JP2000069492A (en) * 1998-08-26 2000-03-03 Nikon Corp Interpolation processor and storage medium in which interpolation processing program is recorded
JP2004229055A (en) * 2003-01-24 2004-08-12 Pentax Corp Image processor
JP4303525B2 (en) 2003-06-09 2009-07-29 富士フイルム株式会社 Interpolated pixel generation apparatus and method
JP2005159957A (en) * 2003-11-28 2005-06-16 Mega Chips Corp Color interpolation method
TWI253848B (en) * 2004-04-09 2006-04-21 Mstar Semiconductor Inc Pixel interpolation method and related pixel interpolation device
JP4352331B2 (en) 2004-09-09 2009-10-28 富士フイルム株式会社 Signal processing apparatus, signal processing method, and signal processing program
JP2006135564A (en) * 2004-11-05 2006-05-25 Casio Comput Co Ltd Device and method for pixel interpolation

Also Published As

Publication number Publication date
KR101003605B1 (en) 2010-12-23
TW200913729A (en) 2009-03-16
TWI387353B (en) 2013-02-21
CN101360248A (en) 2009-02-04
KR20100057558A (en) 2010-05-31
KR20090013047A (en) 2009-02-04
JP2009055595A (en) 2009-03-12
JP4497233B2 (en) 2010-07-07
CN101360248B (en) 2011-03-30
TWI387352B (en) 2013-02-21
KR101003681B1 (en) 2010-12-23

Similar Documents

Publication Publication Date Title
JP5284537B2 (en) Image processing apparatus, image processing method, image processing program, and imaging apparatus using the same
JP6525718B2 (en) Image processing apparatus, control method therefor, and control program
JP5527448B2 (en) Image input device
WO2011121760A1 (en) Image processing apparatus and image capturing apparatus using same
JP4395789B2 (en) Image processing apparatus, imaging apparatus, image processing method, and program
WO2016047240A1 (en) Image processing device, image pickup element, image pickup device, and image processing method
TW200939796A (en) Image pickup apparatus, color noise reduction method, and color noise reduction program
TW201234866A (en) Pixel interpolation circuit, pixel interpolation method, and recording medium
TW200901747A (en) Image processing device, image processing method, program, and imaging device
TW201015974A (en) Noise canceling circuit, noise canceling method, and solid-state imaging device
JP4986820B2 (en) Image processing apparatus and image processing method
US8009935B2 (en) Pixel interpolation circuit, pixel interpolation method, and recording medium
JP5353945B2 (en) Image processing apparatus, image processing program, and electronic camera
JP5948167B2 (en) Imaging device
JP3863808B2 (en) Outline enhancement circuit
JP2007180893A (en) Image processor and imaging apparatus
JP5904753B2 (en) Image processing apparatus and image processing apparatus control method
JP4973428B2 (en) Image processing apparatus, electronic camera, and image processing program
JP2020092288A (en) Image processing device, image processing method, and program
JP2011041094A (en) Image processing apparatus, imaging apparatus, and method of processing image
TWI636686B (en) High dynamic range imaging
JP2011055280A (en) Image processing apparatus, image processing method and electronic camera
JP2020182163A (en) Image processing apparatus, image processing method, and program
JP2020061726A (en) Image processing device and image processing method
JP2000023184A (en) Digital camera and picture signal processing storage medium