TW201234866A - Pixel interpolation circuit, pixel interpolation method, and recording medium - Google Patents
Pixel interpolation circuit, pixel interpolation method, and recording medium Download PDFInfo
- 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
Links
- 238000000034 method Methods 0.000 title claims description 15
- 238000012545 processing Methods 0.000 claims description 44
- 230000002093 peripheral effect Effects 0.000 claims description 18
- 230000015654 memory Effects 0.000 claims description 6
- 238000010422 painting Methods 0.000 claims description 4
- 230000000295 complement effect Effects 0.000 claims description 3
- 229910052736 halogen Inorganic materials 0.000 claims description 3
- 239000013078 crystal Substances 0.000 claims description 2
- 150000002367 halogens Chemical class 0.000 claims description 2
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims description 2
- 239000003016 pheromone Substances 0.000 claims 1
- 239000002689 soil Substances 0.000 claims 1
- 230000001747 exhibiting effect Effects 0.000 abstract 1
- 239000000203 mixture Substances 0.000 description 8
- 230000008569 process Effects 0.000 description 8
- 238000012937 correction Methods 0.000 description 7
- 238000000605 extraction Methods 0.000 description 7
- 238000006243 chemical reaction Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 238000003384 imaging method Methods 0.000 description 4
- 239000004973 liquid crystal related substance Substances 0.000 description 3
- 239000000284 extract Substances 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 210000000712 G cell Anatomy 0.000 description 1
- 229910001570 bauxite Inorganic materials 0.000 description 1
- 230000003796 beauty Effects 0.000 description 1
- 239000002775 capsule Substances 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 238000005034 decoration Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000006866 deterioration Effects 0.000 description 1
- IEXIPYCHASVPFD-UHFFFAOYSA-L disodium;7-hydroxynaphthalene-1,3-disulfonate Chemical compound [Na+].[Na+].C1=C(S([O-])(=O)=O)C=C(S([O-])(=O)=O)C2=CC(O)=CC=C21 IEXIPYCHASVPFD-UHFFFAOYSA-L 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- PCHJSUWPFVWCPO-UHFFFAOYSA-N gold Chemical compound [Au] PCHJSUWPFVWCPO-UHFFFAOYSA-N 0.000 description 1
- 239000010931 gold Substances 0.000 description 1
- 229910052737 gold Inorganic materials 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 210000001747 pupil Anatomy 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000010902 straw Substances 0.000 description 1
- 230000001502 supplementing effect Effects 0.000 description 1
- 230000003936 working memory Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4015—Image 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
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)
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)
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)
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 |
-
2008
- 2008-05-30 JP JP2008141945A patent/JP4497233B2/en active Active
- 2008-07-23 KR KR1020080071433A patent/KR101003605B1/en active IP Right Grant
- 2008-07-29 TW TW097128554A patent/TWI387352B/en active
- 2008-07-29 TW TW101114057A patent/TWI387353B/en active
- 2008-07-30 CN CN2008101301462A patent/CN101360248B/en active Active
-
2010
- 2010-04-29 KR KR1020100039858A patent/KR101003681B1/en active IP Right Grant
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 |