TWI458335B - Image signal processor and method for image enhancement - Google Patents

Image signal processor and method for image enhancement Download PDF

Info

Publication number
TWI458335B
TWI458335B TW100138667A TW100138667A TWI458335B TW I458335 B TWI458335 B TW I458335B TW 100138667 A TW100138667 A TW 100138667A TW 100138667 A TW100138667 A TW 100138667A TW I458335 B TWI458335 B TW I458335B
Authority
TW
Taiwan
Prior art keywords
image
color
signal
component
color component
Prior art date
Application number
TW100138667A
Other languages
Chinese (zh)
Other versions
TW201318406A (en
Inventor
Yuan Chih Peng
Po Chang Chen
Jing Chu Chan
Original Assignee
Himax Imaging 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 Himax Imaging Ltd filed Critical Himax Imaging Ltd
Priority to TW100138667A priority Critical patent/TWI458335B/en
Publication of TW201318406A publication Critical patent/TW201318406A/en
Application granted granted Critical
Publication of TWI458335B publication Critical patent/TWI458335B/en

Links

Landscapes

  • Color Television Image Signal Generators (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

用以進行影像強化的影像訊號處理器以及影像處理方法Image signal processor for image enhancement and image processing method

本發明係關於影像處理技術,更係關於強化影像的影像處理技術。The invention relates to image processing technology, and more relates to image processing technology for enhancing images.

拜耳濾波器,廣泛應用於數位相機以及攝錄像機之中,是一種在影像感應器上排列RGB色彩濾波器的色彩濾波陣列(color filter array,CFA)。第1圖表示一拜耳濾波器之配置。由於人類的眼睛對綠色光線的最為敏感,因此拜耳濾波器中所配置的綠色感測元件具有兩倍於紅色或藍色感測元件之數量。如第1圖所示,拜耳濾波器配置了50%的綠色感測元件、25%的紅色綠色感測元件、以及25%的藍色感測元件。The Bayer filter, widely used in digital cameras and camcorders, is a color filter array (CFA) that arranges RGB color filters on an image sensor. Figure 1 shows the configuration of a Bayer filter. Since the human eye is most sensitive to green light, the green sensing element configured in the Bayer filter has twice the number of red or blue sensing elements. As shown in Figure 1, the Bayer filter is configured with 50% green sensing elements, 25% red green sensing elements, and 25% blue sensing elements.

第2圖係用以說明習知技術中影像訊號處理技術(image signal processing,ISP)。其中,在影像感測器處理色彩感測程序(步驟S202)之後會進行解馬賽克(demosaicking)程序(步驟S204),目的在透過某種內插法將前述影像感測器所取得之色彩資料(原始資料格式)重新組建成一全彩影像(full color image)。在此全彩影像中,各像素具有一RGB訊號,而其又包括一紅色成分(R)、一綠色成分(G)、以及一藍色成份(B)。在此習知技術中,為了進行諸如降低雜訊、提高銳利度等影像強化作業(步驟S208),像素的RGB訊號必須透過一種稱為色域轉換(color space conversion,CSC)的步驟而進一步轉換成亮度及色差訊號(即YCbCr訊號)。因為在降低影像雜訊以及提高影像銳利度方面,習知技術都將亮度訊號看得比色彩訊號來得重要,所以在進行影像強化時通常僅對亮度訊號做處理而將色差訊號予以忽略。在影像強化作業(步驟S208)之後,習知技術又會將已處理的亮度及色差訊號再次轉換成原先的RGB訊號(步驟S210)。Figure 2 is a diagram for explaining image signal processing (ISP) in the prior art. After the image sensor processes the color sensing program (step S202), a demosaicking process is performed (step S204), and the color data obtained by the image sensor is obtained by some interpolation method ( The original data format) was reorganized into a full color image. In this full color image, each pixel has an RGB signal, which in turn includes a red component (R), a green component (G), and a blue component (B). In this prior art, in order to perform image enhancement operations such as reducing noise and improving sharpness (step S208), the RGB signal of the pixel must be further converted by a step called color space conversion (CSC). It is a brightness and color difference signal (ie YCbCr signal). Because the conventional technology regards the brightness signal as being more important than the color signal in reducing the image noise and improving the image sharpness, when performing image enhancement, the luminance signal is usually processed only and the color difference signal is ignored. After the image enhancement operation (step S208), the conventional technique again converts the processed luminance and color difference signals into the original RGB signals (step S210).

基於相同理由(人眼對綠色光線較為敏感),綠色感測器通常會設計成相對較其他兩種顏色的感測器(紅色及藍色感測器)具有更好及更高的訊號雜訊比(signal to noise ratio,SNR)。因此,前述習知技術在將RGB訊號進行色域轉變後所取得的亮度訊號受到綠色訊號的影響將遠大於受到其他顏色訊號的影響(舉例來說,依照ITU601標準,亮度訊號Y與RGB訊號具有如下關係:Y =16+0.299×R +0.587×G +0.114×B ,其中,Y值顯然受到G值的影響較大)。對影像強化而言,綠色訊號也可能會將更多的雜訊引進其後來所轉換成的亮度訊號之中。此外,習知技術只對亮度訊號進行銳利度提升此一作法,亦可能使影像在解馬賽克程序後產生更加嚴重的假色現象。For the same reason (the human eye is more sensitive to green light), the green sensor is usually designed to have better and higher signal noise than the other two color sensors (red and blue sensors). Signal to noise ratio (SNR). Therefore, the brightness signal obtained by the prior art in the color gamut conversion of the RGB signal is greatly affected by the green signal (for example, according to the ITU 601 standard, the luminance signal Y and the RGB signal have The following relationship: Y = 16 + 0.299 × R + 0.587 × G + 0.114 × B , where the Y value is obviously affected by the G value is large). For image enhancement, the green signal may also introduce more noise into the brightness signal that it later converts into. In addition, the conventional technique only improves the brightness of the luminance signal, and can also cause the image to have a more serious false color after the demosaicing process.

因此需要一種能夠解決前述問題的新的影像訊號處理器及影像處理方法Therefore, there is a need for a new image signal processor and image processing method capable of solving the aforementioned problems.

本發明提供一種用以強化影像的影像訊號處理器。該影像訊號處理器接收一影像中各像素的一色彩訊號的一第一、一第二、以及一第三色彩成份,包括:一影像強化器,用以對該色彩訊號之該第一色彩成份進行影像強化,以產生一強化的第一色彩成份;一增益產生器,耦接至該影像強化器,用以依據該色彩訊號之該強化的第一色彩成份產生一影像強化增益;以及一增益乘法器,耦接至該增益產生器,用以依據該影像強化增益對該第二以及該第三色彩成份進行影像強化,以產生一強化的第二色彩成份以及一強化的第三色彩成份。The invention provides an image signal processor for enhancing images. The image signal processor receives a first, a second, and a third color component of a color signal of each pixel in an image, and includes: an image intensifier for the first color component of the color signal Performing image enhancement to generate a reinforced first color component; a gain generator coupled to the image intensifier for generating an image enhancement gain according to the enhanced first color component of the color signal; and a gain The multiplier is coupled to the gain generator for image enhancement of the second and third color components according to the image enhancement gain to generate a strengthened second color component and a strengthened third color component.

本發明另提供一種用以強化影像的影像訊號處理方法。該影像訊號處理方法包括下列步驟:接收一影像中各像素的一色彩訊號的一第一、一第二、以及一第三色彩成份;對該色彩訊號之該第一色彩成份進行影像強化,以產生一強化的第一色彩成份;依據該色彩訊號之該強化的第一色彩成份產生一影像強化增益;以及依據該影像強化增益對該第二以及該第三色彩成份進行影像強化,以產生一強化的第二色彩成份以及一強化的第三色彩成份。The invention further provides an image signal processing method for enhancing an image. The image signal processing method includes the steps of: receiving a first, a second, and a third color component of a color signal of each pixel in an image; performing image enhancement on the first color component of the color signal to Generating a strengthened first color component; generating an image enhancement gain according to the enhanced first color component of the color signal; and performing image enhancement on the second and third color components according to the image enhancement gain to generate a An enhanced second color component and a strengthened third color component.

下文為介紹本發明之最佳實施例。各實施例用以說明本發明之原理,但非用以限制本發明。本發明之範圍當以後附之權利要求項為準。為簡化說明,下述實施例中之影像訊號處理器以及影像訊號處理方法皆以處理RGB訊號為例。然而,可以了解到的是,本發明之裝置或方法同樣可應用在處理其他的色彩訊號上,例如CYMK訊號。更明確地說,下文中,當色彩訊號為RGB訊號時,該色彩訊號之第一、第二以及第三色彩成份色可分別為RGB訊號之綠色、紅色及藍色成份;而當色彩訊號為CYMK訊號時,則該色彩訊號之第一、第二以及第三色彩成份可為該CMYK訊號之青色、黃色、洋紅色及黑色成份。The following is a description of the preferred embodiment of the invention. The examples are intended to illustrate the principles of the invention, but are not intended to limit the invention. The scope of the invention is defined by the appended claims. To simplify the description, the image signal processor and the image signal processing method in the following embodiments are all examples of processing RGB signals. However, it will be appreciated that the apparatus or method of the present invention is equally applicable to processing other color signals, such as CYMK signals. More specifically, in the following, when the color signal is an RGB signal, the first, second, and third color component colors of the color signal are respectively green, red, and blue components of the RGB signal; and when the color signal is In the case of the CYMK signal, the first, second and third color components of the color signal may be the cyan, yellow, magenta and black components of the CMYK signal.

影像訊號處理器-實施例1Image signal processor - embodiment 1

第3A圖為依據本發明一實施例之用以進行影像強化作業的影像訊號處理示意圖。影像訊號處理器300接收一影像中各個像素的RGB訊號影像(舉例而言,在解馬賽克程序後接收該RGB訊號),並在未執行色域轉換程序的情況下對該RGB訊直接進行影像強化作業。其中,如上所述,該RGB訊號包括紅色成份(R)、綠色成份(G)以及藍色成份(B)。本發明之影像訊號處理器300至少包括一影像強化器310、一增益產生器320、以及一增益乘法器330,當影像強化器310接收RGB訊號其中一色彩成份時,該增益乘法器330即接收另外兩種色彩成份。FIG. 3A is a schematic diagram of image signal processing for performing an image enhancement operation according to an embodiment of the invention. The image signal processor 300 receives the RGB signal image of each pixel in an image (for example, receiving the RGB signal after the demosaicing process), and directly performs image enhancement on the RGB signal without performing a color gamut conversion process. operation. Wherein, as described above, the RGB signal includes a red component (R), a green component (G), and a blue component (B). The image signal processor 300 of the present invention includes at least an image intensifier 310, a gain generator 320, and a gain multiplier 330. When the image intensifier 310 receives one of the color components of the RGB signal, the gain multiplier 330 receives the image. Two other color components.

影像強化器310係用以對該RGB訊號中單一色彩成份行影像強化作業,而影像強化又包括雜訊降低作業以及銳利度提升作業。由於綠色成份通常具有較高的取樣率以及較高的訊號雜訊比(SNR),所以在一較佳實施例中,影像強化器310可單就RGB訊號之綠色成份進行影像強化。值得注意的是,後文將再詳述第3圖的實施例,而此實施例僅為方便說明,並非用以限制本發明。在其他實施例中,影像強化器310亦可單就紅色成份R或單就藍色成份B進行處理。在第3圖的實施例中,在對綠色成份G進行影像強化之後,影像強化器310將產生一強化的綠色成份G_out。The image intensifier 310 is used to enhance the image processing of the single color component in the RGB signal, and the image enhancement includes the noise reduction operation and the sharpness lifting operation. Since the green component typically has a higher sampling rate and a higher signal to noise ratio (SNR), in a preferred embodiment, the image intensifier 310 can perform image enhancement on the green component of the RGB signal alone. It is to be noted that the embodiment of FIG. 3 will be described in detail later, and this embodiment is for convenience of description and is not intended to limit the present invention. In other embodiments, the image intensifier 310 can also process the red component R or the blue component B alone. In the embodiment of Fig. 3, after image enhancement of the green component G, the image intensifier 310 will produce a enhanced green component G_out.

本發明之增益產生器320耦接至影像強化器310,在此實施例中,可依據該綠色成份G以及強化的綠色成份G_out產生一影像強化增益Igain。舉例而言,增益產生器320將強化的綠色成份G_out除以綠色成份G以產生該影像強化增益Igain。此即表示,影像強化增益Igain為強化的綠色成份G_out與該綠色成份G之比值()。The gain generator 320 of the present invention is coupled to the image intensifier 310. In this embodiment, an image enhancement gain Igain can be generated according to the green component G and the enhanced green component G_out. For example, the gain generator 320 divides the enhanced green component G_out by the green component G to generate the image enhancement gain Igain. This means that the image enhancement gain Igain is the ratio of the enhanced green component G_out to the green component G ( ).

本發明之增益乘法器330係耦接至該增益產生器320,可依據該增益產生器320所產生的該影像強化增益Igain對紅色及藍色成份R及B進行影像強化,藉以產生一強化的紅色成份R_out以及一強化的藍色成份B_out。舉例而言,該增益乘法器320可將紅色成份R以及藍色成份B分別乘上影像強化增益Igain而得到強化的紅色成份R_out以及強化的藍色成份B_out(R_out =I gain ×RB_out =I gain ×B )。The gain multiplier 330 of the present invention is coupled to the gain generator 320, and image enhancement of the red and blue components R and B according to the image enhancement gain Igain generated by the gain generator 320, thereby generating a enhanced Red component R_out and a strengthened blue component B_out. For example, the gain multiplier 320 can multiply the red component R and the blue component B by the image enhancement gain Igain to obtain the enhanced red component R_out and the enhanced blue component B_out ( R_out = I gain × R ; B_out = I gain × B ).

如第3A圖所示,影像強化器310在此實施例中又包括一邊緣偵測單元312、一雜訊降低單元314、一銳利度提升單元316以及一混合單元318。As shown in FIG. 3A, the image intensifier 310 further includes an edge detecting unit 312, a noise reducing unit 314, a sharpness increasing unit 316, and a mixing unit 318.

本發明之雜訊降低單元314係用以降低影像中之雜訊。更明確地說,在一實施例中,雜訊降低單元314可藉由將原始影像與代表低通濾波器的一遮罩(mask)兩者進行卷積(convolution)而降低其雜訊。按此方法,雜訊降低單元314會以一像素其周邊的像素重新計算該像素之綠色成份。舉例來說,假設綠色成份陣列為G ,而用以降低雜訊的濾波器遮罩為F _nr ,如下所示:The noise reduction unit 314 of the present invention is used to reduce noise in an image. More specifically, in one embodiment, the noise reduction unit 314 can reduce its noise by convolving both the original image and a mask representing the low pass filter. In this way, the noise reduction unit 314 recalculates the green component of the pixel with pixels around its pixel. For example, suppose the green component array is G and the filter mask used to reduce noise is F _ nr as follows:

則,對原綠色成份G 12 而言,其降低雜訊後的綠色成份G _nr 可以下式重新計算而取得:Then, for the original green component G 12 , the green component G _ nr after reducing the noise can be recalculated by the following formula:

G _nr =a ×[(G6 +G8 +G16 +G18 )+2×(G7 +G11 +G13 +G17 )+4×G12 ]/16+(1-a )×G12 G _ nr = a ×[(G 6 +G 8 +G 16 +G 18 )+2×(G 7 +G 11 +G 13 +G 17 )+4×G 12 ]/16+(1- a ) ×G 12 ,

其中影像訊號處理器可利用係數a 對降低雜訊後的綠色成份G _nr 做進一步調整。The image signal processor can further adjust the green component G _ nr after noise reduction by using the coefficient a .

本發明之銳利度提升單元316係用以強化該影像之銳利度。與該雜訊降低單元314相似,在一實施例中,該銳利度提升單元316可藉由將原始影像與代表另一濾波器的一遮罩(mask)兩者進行卷積(convolution)而提升其銳利度。按此方法,銳利度提升單元316會以一像素其周邊的像素重新計算該像素之綠色成份。舉例而言,假設綠色成份陣列G ,而用以提升銳利度的濾波器遮罩為F _se ,如下所示:The sharpness enhancement unit 316 of the present invention is used to enhance the sharpness of the image. Similar to the noise reduction unit 314, in one embodiment, the sharpness enhancement unit 316 can be boosted by convolution of both the original image and a mask representing another filter. Its sharpness. In this way, the sharpness enhancement unit 316 recalculates the green component of the pixel with pixels around it. For example, suppose the green component array G , and the filter mask used to increase the sharpness is F _ se , as shown below:

則,對原綠色成份G 12 而言,其提升銳利度後的綠色成份G_nr 可以下式重新計算而取得:Then, for the original green component G 12 , the green component G_nr after the sharpness is improved can be obtained by recalculating the following formula:

G_se =b ×[8×G12 -(G6 +G7 +G8 +G11 +G13 +G16 +G17 +G18 )]+G12 , G_se = b × [8 × G 12 - (G 6 + G 7 + G 8 + G 11 + G 13 + G 16 + G 17 + G 18 )] + G 12 ,

其中影像訊號處理器可利用係數b 對提升銳利度後的綠色成份G_se 做進一步調整。The image signal processor can further adjust the green component G_se after the sharpness is improved by using the coefficient b .

本發明之邊緣偵測單元312係用以偵測影像中圖案之邊緣,更明確地說,係用以辨識該影像中亮度或色彩不連續的點。在影像訊號處理中,移除雜訊通常伴隨部分影像細節之犧性,或影像銳利度之衰減。為了在雜訊降低以及銳利度提升之間取得平衡,邊緣偵測單元312會進一步判斷某像素與一圖案邊緣間的關係。由於當該像素越靠近圖案邊緣時,則越需要提升銳利度而較不需要去除雜訊;反之,當該像素越遠離圖案邊緣時,則越不需要提升銳利度但需要加強雜訊的去除。之後,混合單元318(耦接至雜訊降低單元314、銳利度提升單元316以及邊緣偵測單元312)會利用邊緣偵測單元312所取得之像素與邊緣的關係將雜訊降低的綠色成份G_nr 與銳利度提升的綠色成份G_se 兩者予以適度地混合,並產生最後影像強化的綠色成份G_out。舉例而言,假設綠色成份陣列為G ,而用以偵測圖案邊緣的濾波器遮罩為F_ed ,如下所示:The edge detection unit 312 of the present invention is used to detect the edge of a pattern in an image, and more specifically, to identify a point in the image where the brightness or color is discontinuous. In image signal processing, removing noise is usually accompanied by the sacrifice of partial image detail or the attenuation of image sharpness. In order to balance the noise reduction and sharpness improvement, the edge detection unit 312 further determines the relationship between a pixel and a pattern edge. As the pixel is closer to the edge of the pattern, the sharpness needs to be increased and the noise is less needed. Conversely, as the pixel is farther away from the edge of the pattern, the sharpness is not required but the noise removal needs to be enhanced. Then, the mixing unit 318 (coupled to the noise reduction unit 314, the sharpness enhancement unit 316, and the edge detection unit 312) uses the relationship between the pixel and the edge obtained by the edge detection unit 312 to reduce the green component G_nr of the noise. Both the sharpness- adjusted green component G_se is moderately mixed and produces the final image-enhanced green component G_out. For example, suppose the green component array is G and the filter mask used to detect the edge of the pattern is F_ed as follows:

則,對原綠色成份G 12 而言,其像素與圖案邊緣的關係可以下式重新計算而取得:Then, for the original green component G 12 , the relationship between the pixel and the edge of the pattern can be obtained by recalculating the following formula:

Ed =|8×G12 -(G6+ G7+ G8+ G11+ G13+ G16+ G17+ G18 )|。 Ed =|8×G 12 -(G 6+ G 7+ G 8+ G 11+ G 13+ G 16+ G 17+ G 18 )|.

當鄰近關係存在一上限Ed _max,則Ed 可依下列關係式進一步轉換成一比例:When there is an upper limit Ed _max in the neighbor relationship, Ed can be further converted into a ratio according to the following relationship:

Ed >Ed _max,α =1;When Ed> Ed _max, α = 1 ;

否則, otherwise,

最後,依照下式可得到影像強化的綠色成份Gout:Finally, the image-enhanced green component Gout can be obtained according to the following formula:

G_out =α×G_se+(1-α)×G_nr, G_out = α × G_se + (1 - α) × G_nr,

透過此方法,雜訊降低與銳利度提高之間可獲得適度的平衡。In this way, a moderate balance can be obtained between noise reduction and sharpness improvement.

影像訊號處理器-實施例2Image signal processor - embodiment 2

第3B圖本發明另一實施例之用以執行影像強化的影像訊號處理器示意圖。相似地,影像訊號處理器300’接收一影像中各像素之RGB訊號(舉例而言,在解馬賽克程序後接收該RGB訊號),並在未執行色域轉換程序的情況下對該RGB訊直接進行影像強化作業。其中,如上所述,該RGB訊號包括紅色成份(R)、綠色成份(G)以及藍色成份(B)。該影像訊號處理器300’亦包括一影像強化器310’、一增益產生器320’以及一增益乘法器330’,其中該影像強化器310’接收RGB訊號其中一色彩成份,而該增益乘法器330’則接收另外兩種色彩成份。FIG. 3B is a schematic diagram of an image signal processor for performing image enhancement according to another embodiment of the present invention. Similarly, the image signal processor 300' receives the RGB signals of each pixel in an image (for example, receiving the RGB signal after the demosaicing process), and directly outputs the RGB signal without performing the color gamut conversion process. Perform image enhancement work. Wherein, as described above, the RGB signal includes a red component (R), a green component (G), and a blue component (B). The image signal processor 300' also includes an image intensifier 310', a gain generator 320', and a gain multiplier 330', wherein the image intensifier 310' receives one of the color components of the RGB signal, and the gain multiplier The 330' receives the other two color components.

相似地,影像強化器310’用以對該RGB訊號中單一色彩成份(例如綠色成份)進行影像強化作業,而影像強化又包括雜訊降低作業以及銳利度提升作業。在對該綠色成份G進行影像強化之後,影像強化器310’會產生一強化的綠色成份G_out’。增益產生器320’係耦接至影像強化器310’,可產生一影像強化增益。增益乘法器330’耦接至增益產生器320’,可依據該增益產生器320所產生的該影像強化增益Igain對紅色及藍色成份R及B進行影像強化,藉以產生一強化的紅色成份R_out’以及一強化的藍色成份B_out’。Similarly, the image intensifier 310' is used for image enhancement of a single color component (such as a green component) in the RGB signal, and the image enhancement includes a noise reduction operation and a sharpness enhancement operation. After image enhancement of the green component G, the image intensifier 310' produces a strengthened green component G_out'. Gain generator 320' is coupled to image enhancer 310' to produce an image enhancement gain. The gain multiplier 330' is coupled to the gain generator 320', and the image enhancement of the red and blue components R and B is performed according to the image enhancement gain Igain generated by the gain generator 320, thereby generating a enhanced red component R_out. 'And a strengthened blue component B_out'.

影像強化器310’亦包括一邊緣偵測單元312’、一雜訊降低單元314’、一銳利度提升單元316’、以及一混合單元318’,其中各元件具有與前述實施例相似之用途,即降低雜訊以及提升銳利度。The image intensifier 310' also includes an edge detecting unit 312', a noise reducing unit 314', a sharpness lifting unit 316', and a mixing unit 318', wherein each element has a similar use as the foregoing embodiment. That is to reduce noise and improve sharpness.

然而,與實施例1不同之處在於:實施例2中的影像訊號處理器300’更包括三個低通濾波器3401、3402以及3403,分別用以在將紅色、綠色及藍色成份訊號輸出至增益產生器320’或增益乘法器330’之前將其中的高頻雜訊濾除。低通濾波器3401、3402以及3403可分別產生一已低通濾波的紅色成份R_LPF,一已低通濾波的綠色成份G_LPF,以及一已低通濾波的藍色成份B_LPF。舉例而言,已低通濾波的綠色成份G_LPF可表示為:However, the difference from Embodiment 1 is that the image signal processor 300' in Embodiment 2 further includes three low-pass filters 3401, 3402, and 3403 for outputting red, green, and blue component signals, respectively. The high frequency noise therein is filtered out before the gain generator 320' or the gain multiplier 330'. The low pass filters 3401, 3402, and 3403 can respectively generate a low pass filtered red component R_LPF, a low pass filtered green component G_LPF, and a low pass filtered blue component B_LPF. For example, the low-pass filtered green component G_LPF can be expressed as:

G_out =(G 6 +G 7 +G 8 +G 11 +G 12 +G 13 +G 16 +G 17 +G 18 )/9 G_out = ( G 6 + G 7 + G 8 + G 11 + G 12 + G 13 + G 16 + G 17 + G 18 ) / 9

而後,增益產生器320’產生影像強化增益Igain’,其值可為;最後,增益乘法器320’進一步將紅色成份R以及藍色成份B乘上影像強化增益而產生強化的紅色成份R_out’以及強化的藍色成份B_out’(R_out '=I gain ' ×R ;B_out '=I gain ' ×B )。Then, the gain generator 320' generates an image enhancement gain Igain', which may be Finally, the gain multiplier 320' further multiplies the red component R and the blue component B by the image enhancement gain to produce a strengthened red component R_out' and a strengthened blue component B_out' ( R_out '= I gain ' × R ; B_out '= I gain' × B) .

藉由使用低通濾波器3401、3402以及3403,影像訊號處理器所輸出的影像訊號品質可獲得大幅提升。雖然本實施例僅以三個濾波器為例,但熟悉本技藝人士可了解到本發明所採用的濾波器之數量、型式及排列皆不必以此為限。By using the low-pass filters 3401, 3402, and 3403, the image signal quality output by the image signal processor can be greatly improved. Although the present embodiment is only exemplified by three filters, those skilled in the art can understand that the number, type and arrangement of the filters used in the present invention are not limited thereto.

影像訊號處理方法Image signal processing method

除了前述的影像訊號處理器300,本發明另提供一影像訊號處理方法,目的亦在進行影像強化。第4圖為依據本發明一實施例之影像訊號處理方法流程圖。影像訊號處理方法包括:在步驟S402中,接收一影像中各像素的一色彩訊號的一第一、一第二、以及一第三色彩成份,其中該第一、該第二、以及該第三色彩成份分別由該RGB訊號中的一紅色成份、一綠色成份、一及一藍色成份中所選出;在步驟S404中,對該色彩訊號之該第一色彩成份進行影像強化,以產生一強化的第一色彩成份;在步驟S406中,依據該色彩訊號之該強化的第一色彩成份產生一影像強化增益;以及在步驟S408中,依據該影像強化增益對該第二以及該第三色彩成份進行影像強化,以產生一強化的第二色彩成份以及一強化的第三色彩成份。在一實施例中,可透過將已強化的第一色彩成份除以未強化的第一色彩成份以取得該影像強化增益;並透過將第二及第三色彩成份乘上該影像強化增以以取得一強化的第二色彩成份以及一強化的第三色彩成份。由於本方法之步驟S402~408可由前述第3圖之影像訊號處理器中之元件實施並達到相同的功能,因此,本文將不再贅述本發明之方法的其他實施例以簡省篇幅。In addition to the foregoing image signal processor 300, the present invention further provides an image signal processing method for the purpose of image enhancement. FIG. 4 is a flow chart of a method for processing video signals according to an embodiment of the invention. The image signal processing method includes: in step S402, receiving a first color, a second color, and a third color component of a color signal of each pixel in an image, wherein the first, the second, and the third color component The color components are respectively selected from a red component, a green component, and a blue component of the RGB signal; in step S404, the first color component of the color signal is image-enhanced to generate a reinforcement a first color component; in step S406, an image enhancement gain is generated according to the enhanced first color component of the color signal; and in step S408, the second and the third color component are enhanced according to the image enhancement gain Image enhancement is performed to produce a strengthened second color component and a strengthened third color component. In one embodiment, the image enhancement gain can be obtained by dividing the enhanced first color component by the unenhanced first color component; and by multiplying the second and third color components by the image enhancement A strengthened second color component and a strengthened third color component are obtained. Since the steps S402-408 of the method can be implemented by the components in the image signal processor of the foregoing FIG. 3 and achieve the same function, other embodiments of the method of the present invention will not be further described herein.

由前文可了解到,無論是本發明的影像訊號處理器或影像訊號處理方法,其皆可在不經色域轉換(color space conversion,CSC)的情況下降低雜訊及提升銳利度,有助於降低影像處理在硬體上的成本開銷。It can be understood from the foregoing that whether the image signal processor or the image signal processing method of the present invention can reduce noise and improve sharpness without color space conversion (CSC), it is helpful. To reduce the cost of image processing on the hardware.

本發明雖以較佳實施例揭露如上,然其並非用以限定本發明的範圍,任何熟習此項技藝者,在不脫離本發明之精神和範圍內,當可做些許的更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。The present invention has been described above with reference to the preferred embodiments thereof, and is not intended to limit the scope of the present invention, and the invention may be modified and modified without departing from the spirit and scope of the invention. The scope of the invention is defined by the scope of the appended claims.

300...影像訊號處理器300. . . Video signal processor

310...影像強化器310. . . Image intensifier

312...邊緣偵測單元312. . . Edge detection unit

314...雜訊降低單元314. . . Noise reduction unit

316...銳利度提升單元316. . . Sharpness lifting unit

318...混合單元318. . . Mixing unit

320...增益產生器320. . . Gain generator

330...增益乘法器330. . . Gain multiplier

310’...影像強化器310’. . . Image intensifier

312’...邊緣偵測單元312’. . . Edge detection unit

314’...雜訊降低單元314’. . . Noise reduction unit

316’...銳利度提升單元316’. . . Sharpness lifting unit

318’...混合單元318’. . . Mixing unit

320’...增益產生器320’. . . Gain generator

330’...增益乘法器330’. . . Gain multiplier

3401...低通濾波器3401. . . Low pass filter

3402...低通濾波器3402. . . Low pass filter

3403...低通濾波器3403. . . Low pass filter

R...紅色成份R. . . Red ingredient

G...綠色成份G. . . Green ingredients

B...藍色成份B. . . Blue ingredients

G_nr...雜訊降低的綠色成份G_nr. . . Noise reduction green ingredients

G_se...銳利度提升的綠色成份G_se. . . Sharpness-enhancing green ingredients

G_out...強化的綠色成份G_out. . . Enhanced green ingredients

R_out...強化的紅色成份R_out. . . Fortified red ingredients

B_out...強化的藍色成份B_out. . . Fortified blue ingredients

G_LPF...低通濾波的綠色成份G_LPF. . . Low pass filtered green ingredients

R_LPF...低通濾波的紅色成份R_LPF. . . Low pass filtered red component

B_LPF...低通濾波的藍色成份B_LPF. . . Low pass filtered blue component

第1圖表示一拜耳濾波器之配置。Figure 1 shows the configuration of a Bayer filter.

第2圖係用以說明習知技術中影像訊號處理技術。Figure 2 is a diagram for explaining the image signal processing technique in the prior art.

第3A圖為依據本發明一實施例之用以進行影像強化作業的影像訊號處理示意圖。FIG. 3A is a schematic diagram of image signal processing for performing an image enhancement operation according to an embodiment of the invention.

第3B圖本發明另一實施例之用以執行影像強化的影像訊號處理器示意圖。FIG. 3B is a schematic diagram of an image signal processor for performing image enhancement according to another embodiment of the present invention.

第4圖為依據本發明一實施例之影像訊號處理方法流程圖。FIG. 4 is a flow chart of a method for processing video signals according to an embodiment of the invention.

300...影像訊號處理器300. . . Video signal processor

310...影像強化器310. . . Image intensifier

312...邊緣偵測單元312. . . Edge detection unit

314...雜訊降低單元314. . . Noise reduction unit

316...銳利度提升單元316. . . Sharpness lifting unit

318...混合單元318. . . Mixing unit

320...增益產生器320. . . Gain generator

330...增益乘法器330. . . Gain multiplier

R...紅色成份R. . . Red ingredient

G...綠色成份G. . . Green ingredients

B...藍色成份B. . . Blue ingredients

G_nr...雜訊降低的綠色成份G_nr. . . Noise reduction green ingredients

G_se...銳利度提升的綠色成份G_se. . . Sharpness-enhancing green ingredients

G_out...強化的綠色成份G_out. . . Enhanced green ingredients

R_out...強化的紅色成份R_out. . . Fortified red ingredients

B_out...強化的藍色成份B_out. . . Fortified blue ingredients

Claims (14)

一種用以強化影像的影像訊號處理器,其接收一影像中各像素的一色彩訊號的一第一、一第二、以及一第三色彩成份,包括:一影像強化器,用以對該色彩訊號之該第一色彩成份進行影像強化,以產生一強化的第一色彩成份,其中上述影像強化器更包括:一雜訊降低單元,用以接收該第一色彩成份、對該第一色彩成份進行雜訊降低作業、以及產生一雜訊降低的色彩成份;一銳利度提升單元,用以接收該第一色彩成份、對該第一色彩成份進行銳利度提升作業、以及產生一銳利度提升的色彩成份;一邊緣偵測單元,用以偵測該影像中無關圖案之邊緣,並判斷各像素與該邊緣間之關係;一混合單元,耦接至該雜訊降低單元、該銳利度提升單元、以及該邊緣偵測單元,用以依據該該邊緣偵測單元所判斷的關係混合該雜訊降低的色彩成份與該銳利度提升的色彩成份以產生該強化的第一色彩成份;一增益產生器,耦接至該影像強化器,用以依據該色彩訊號之該強化的第一色彩成份產生一影像強化增益;以及 一增益乘法器,耦接至該增益產生器,用以依據該影像強化增益對該第二以及該第三色彩成份進行影像強化,以產生一強化的第二色彩成份以及一強化的第三色彩成份。 An image signal processor for enhancing an image, which receives a first, a second, and a third color component of a color signal of each pixel in an image, including: an image intensifier for the color The first color component of the signal is image-enhanced to generate a reinforced first color component, wherein the image intensifier further comprises: a noise reduction unit for receiving the first color component, the first color component Performing noise reduction operations and generating a noise-reduced color component; a sharpness enhancement unit for receiving the first color component, sharpening the first color component, and generating a sharpness enhancement a color detecting component; an edge detecting unit configured to detect an edge of the unrelated pattern in the image and determine a relationship between each pixel and the edge; a mixing unit coupled to the noise reducing unit and the sharpness improving unit And the edge detecting unit, configured to mix the color component of the noise reduction and the color of the sharpness improvement according to the relationship determined by the edge detecting unit A first component to generate the enhanced color components; a gain generator, coupled to the image intensifier, for generating a gain image intensifier according to the first color components of the color signal of the enhanced; and a gain multiplier coupled to the gain generator for image enhancement of the second and third color components according to the image enhancement gain to generate a enhanced second color component and a enhanced third color Ingredients. 如申請專利範圍第1項所述之用以強化影像的影像訊號處理器,其中該影像強化增益為該強化的第一色彩成份與該第一色彩成份之比值。 The image signal processor for enhancing image according to claim 1, wherein the image enhancement gain is a ratio of the enhanced first color component to the first color component. 如申請專利範圍第2項所述之用以強化影像的影像訊號處理器,其中該增益乘法器將該第二以及該第三色彩成份乘上該影像強化增益以產生該強化的第二以及第三色彩成份。 An image signal processor for enhancing an image as described in claim 2, wherein the gain multiplier multiplies the second and the third color components by the image enhancement gain to generate the enhanced second and Three color components. 如申請專利範圍第1項所述之用以強化影像的影像訊號處理器,其中該雜訊降低作業係以一低通濾波器對該影像進行卷積(convolution)而達成。 The image signal processor for enhancing image according to claim 1, wherein the noise reduction operation is achieved by convolving the image with a low pass filter. 如申請專利範圍第1項所述之用以強化影像的影像訊號處理器,其中該色彩訊號係一RBG訊號,而該第一、該第二、以及該第三色彩成份分別由該RGB訊號中的一紅色成份、一綠色成份、一及一藍色成份中所選出。 The image signal processor for enhancing image according to claim 1, wherein the color signal is an RBG signal, and the first, second, and third color components are respectively included in the RGB signal. One of the red ingredients, one green ingredient, one and one blue ingredient selected. 如申請專利範圍第5項所述之一種用以強化影像的影像訊號處理器,其中,當該RGB訊號係來自一拜耳濾波器(Bayer filter)時,該第一色彩成份為該RGB訊號之該綠色成份。 An image signal processor for enhancing an image according to claim 5, wherein when the RGB signal is from a Bayer filter, the first color component is the RGB signal. Green ingredients. 如申請專利範圍第1項所述之用以強化影像的影像訊號處理器,其中該色彩訊號係一CYMK訊號,而該第一、該第二、以及該第三色彩成份係分別由該CMYK訊號之一青色成份、一黃色成份、一洋紅成份、一及一黑色成份所選出。 The image signal processor for enhancing images according to claim 1, wherein the color signal is a CYMK signal, and the first, the second, and the third color components are respectively used by the CMYK signal. One of the cyan components, one yellow component, one magenta component, one and one black component is selected. 一種用以強化影像的影像訊號處理方法,包括下列步驟:接收一影像中各像素的一色彩訊號的一第一、一第二、以及一第三色彩成份;接收該第一色彩成份、對該第一色彩成份進行雜訊降低作業、以及產生一雜訊降低的色彩成份;接收該第一色彩成份、對該第一色彩成份進行銳利度提升作業、以及產生一銳利度提升的色彩成份;偵測該影像中無關圖案之邊緣,並判斷各像素與該邊緣間之關係;依據該邊緣偵測單元所判斷的關係混合該雜訊降低的色彩成份與該銳利度提升的色彩成份以產生一強化的第一色彩成份;依據該色彩訊號之該強化的第一色彩成份產生一影像強化增益;以及 依據該影像強化增益對該第二以及該第三色彩成份進行影像強化,以產生一強化的第二色彩成份以及一強化的第三色彩成份。 An image signal processing method for enhancing an image, comprising the steps of: receiving a first color, a second color, and a third color component of a color signal of each pixel in an image; receiving the first color component, The first color component performs a noise reduction operation, and generates a noise-reduced color component; receives the first color component, performs a sharpness enhancement operation on the first color component, and generates a sharply enhanced color component; Measure the edge of the unrelated pattern in the image, and determine the relationship between each pixel and the edge; mix the color component of the noise reduction and the color component of the sharpness enhancement according to the relationship judged by the edge detection unit to generate a reinforcement a first color component; generating an image enhancement gain based on the enhanced first color component of the color signal; The second and the third color components are image enhanced according to the image enhancement gain to generate a strengthened second color component and a strengthened third color component. 如申請專利範圍第8項所述之用以強化影像的影像訊號處理方法,其中該影像強化增益為該強化的第一色彩成份與該第一色彩成份之比值。 The image signal processing method for enhancing image according to claim 8 , wherein the image enhancement gain is a ratio of the enhanced first color component to the first color component. 如申請專利範圍第9項所述之用以強化影像的影像訊號處理方法,其中該強化的第二以及第三色彩成份係透過將該第二以及該第三色彩成份乘上該影像強化增益而產生。 The image signal processing method for enhancing image according to claim 9, wherein the enhanced second and third color components are obtained by multiplying the second and third color components by the image enhancement gain. produce. 如申請專利範圍第8項所述之用以強化影像的影像訊號處理方法,其中該雜訊降低作業係以一低通濾波器對該影像進行卷積(convolution)而達成。 The image signal processing method for enhancing image according to claim 8 of the patent application, wherein the noise reduction operation is achieved by convolving the image with a low pass filter. 如申請專利範圍第8項所述之用以強化影像的影像訊號處理方法,其中該色彩訊號係一RBG訊號,而該第一、該第二、以及該第三色彩成份分別由該RGB訊號中的一紅色成份、一綠色成份、一及一藍色成份中所選出。 The image signal processing method for enhancing image according to claim 8 , wherein the color signal is an RBG signal, and the first, second, and third color components are respectively included in the RGB signal. One of the red ingredients, one green ingredient, one and one blue ingredient selected. 如申請專利範圍第12項所述之用以強化影像的影像訊號處理方法,其中,當該RGB訊號係來自一拜耳濾波器(Bayer filter)時,該第一色彩成份為該RGB訊號之該綠色成份。 The image signal processing method for enhancing image according to claim 12, wherein when the RGB signal is from a Bayer filter, the first color component is the green color of the RGB signal. Ingredients. 如申請專利範圍第8項所述之用以強化影像的影像訊號處理方法,其中該色彩訊號係一CYMK訊號,而該第一、該第二、以及該第三色彩成份係分別由該CMYK訊號之一青色成份、一黃色成份、一洋紅成份、以及一黑色成份所選出。The image signal processing method for enhancing image according to claim 8 , wherein the color signal is a CYMK signal, and the first, the second, and the third color components are respectively used by the CMYK signal. One of the cyan ingredients, one yellow ingredient, one magenta ingredient, and one black ingredient are selected.
TW100138667A 2011-10-25 2011-10-25 Image signal processor and method for image enhancement TWI458335B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW100138667A TWI458335B (en) 2011-10-25 2011-10-25 Image signal processor and method for image enhancement

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW100138667A TWI458335B (en) 2011-10-25 2011-10-25 Image signal processor and method for image enhancement

Publications (2)

Publication Number Publication Date
TW201318406A TW201318406A (en) 2013-05-01
TWI458335B true TWI458335B (en) 2014-10-21

Family

ID=48872151

Family Applications (1)

Application Number Title Priority Date Filing Date
TW100138667A TWI458335B (en) 2011-10-25 2011-10-25 Image signal processor and method for image enhancement

Country Status (1)

Country Link
TW (1) TWI458335B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI762562B (en) * 2018-01-26 2022-05-01 國立中央大學 Image recognition method and image recognition device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104243942B (en) * 2013-06-21 2016-06-29 英属盖曼群岛恒景科技股份有限公司 Image processing method and image processing apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200417241A (en) * 2003-02-28 2004-09-01 Hewlett Packard Development Co Restoration and enhancement of scanned document images
US20080316221A1 (en) * 2007-06-19 2008-12-25 Aas Eric F Down-sampled image display
TW200945746A (en) * 2008-01-30 2009-11-01 Cirrus Logic Inc Switching regular with boosted auxiliary winding supply
US20110037901A1 (en) * 2009-08-11 2011-02-17 Sony Corporation Video signal processing apparatus, enhancement gain generating method, and enhanced gain generating program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200417241A (en) * 2003-02-28 2004-09-01 Hewlett Packard Development Co Restoration and enhancement of scanned document images
US20080316221A1 (en) * 2007-06-19 2008-12-25 Aas Eric F Down-sampled image display
TW200945746A (en) * 2008-01-30 2009-11-01 Cirrus Logic Inc Switching regular with boosted auxiliary winding supply
US20110037901A1 (en) * 2009-08-11 2011-02-17 Sony Corporation Video signal processing apparatus, enhancement gain generating method, and enhanced gain generating program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI762562B (en) * 2018-01-26 2022-05-01 國立中央大學 Image recognition method and image recognition device

Also Published As

Publication number Publication date
TW201318406A (en) 2013-05-01

Similar Documents

Publication Publication Date Title
JP5045421B2 (en) Imaging apparatus, color noise reduction method, and color noise reduction program
US8144221B2 (en) Image sensor apparatus and methods employing unit pixel groups with overlapping green spectral content
US8081239B2 (en) Image processing apparatus and image processing method
JP2008289090A (en) Imaging signal processor
US8648937B2 (en) Image processing apparatus, image processing method, and camera module
US8471933B2 (en) Image processing apparatus, image processing method and computer program
CN101399996A (en) Color filter lens array interpolation method
JP2007318280A (en) Image processor
US8559745B2 (en) Image signal processor and method for image enhancement
US20140037207A1 (en) System and a method of adaptively suppressing false-color artifacts
JP2005109991A (en) Signal processing method and device, and imaging device
TWI458335B (en) Image signal processor and method for image enhancement
US20090027534A1 (en) Image pickup device
JPH11313336A (en) Signal processor and photographing signal processing method
US8345116B2 (en) Noise reduction filter processing circuit, image processing circuit, imaging device, and storage medium storing noise reduction program
JP2003224859A (en) Image processing apparatus, image processing method, and program
US8995766B1 (en) Image processing method and image processing device
JP6413210B2 (en) Image processing apparatus, imaging apparatus, and program
JP2005354585A (en) Device, method and program of image processing
US7499086B2 (en) Image signal processing apparatus, image signal processing circuit, image signal processing method, program, and recording medium
JPH11177995A (en) Image processing device and method and camera
US8654225B2 (en) Color interpolation system and method thereof
US9088740B2 (en) System and method of reducing noise
JPH11177996A (en) Image processing device and method and camera
JP5790657B2 (en) Imaging apparatus and false color suppression method

Legal Events

Date Code Title Description
GD4A Issue of patent certificate for granted invention patent