Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4934839B2 - Image processing apparatus, method thereof, and program - Google Patents
[go: Go Back, main page]

JP4934839B2 - Image processing apparatus, method thereof, and program - Google Patents

Image processing apparatus, method thereof, and program Download PDF

Info

Publication number
JP4934839B2
JP4934839B2 JP2008037908A JP2008037908A JP4934839B2 JP 4934839 B2 JP4934839 B2 JP 4934839B2 JP 2008037908 A JP2008037908 A JP 2008037908A JP 2008037908 A JP2008037908 A JP 2008037908A JP 4934839 B2 JP4934839 B2 JP 4934839B2
Authority
JP
Japan
Prior art keywords
region
area
color
false color
image
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
JP2008037908A
Other languages
Japanese (ja)
Other versions
JP2009200635A (en
Inventor
伸之 志摩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Olympus Corp
Original Assignee
Olympus Corp
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 Olympus Corp filed Critical Olympus Corp
Priority to JP2008037908A priority Critical patent/JP4934839B2/en
Publication of JP2009200635A publication Critical patent/JP2009200635A/en
Application granted granted Critical
Publication of JP4934839B2 publication Critical patent/JP4934839B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、画像処理装置及びその方法並びにプログラムに関するものである。   The present invention relates to an image processing apparatus, a method thereof, and a program.

撮像素子とそれに付随するアナログ回路およびA/Dコンバータ等で構成される撮像系から得られるデジタル化された画像信号中に含まれる、本来あるはずのない画素からなる偽色画素を、色鮮鋭度を保ったまま低減する方法として、画像の高周波信号を取得し、取得した高周波信号に近接した画素の偽色画素判定を行った後、色差情報に対して平滑化処理を行うことが提案されている。   The color sharpness of a false color pixel composed of a pixel that should not be originally included in a digitized image signal obtained from an imaging system including an imaging element and an accompanying analog circuit and an A / D converter. As a method for reducing the color difference information, it has been proposed to acquire a high-frequency signal of an image, perform false color pixel determination of a pixel close to the acquired high-frequency signal, and then perform a smoothing process on the color difference information. Yes.

例えば、特開2002−262299号公報には、エッジ検出フィルタ等を使用して輝度差の大きいエッジ領域を検出し、エッジ領域に近接した画素の色差(Cb,Cr)が任意の範囲にあるか否かを判定することで偽色画素を検出し、検出したエッジ領域のエッジ勾配の大きさおよびエッジ勾配の方向からなるエッジ情報を算出し、算出したエッジ情報に基づいて予め設定されている平滑化フィルタを使用して平滑化を行うことで偽色を低減する方法が開示されている。
特開2002−262299号公報
For example, in Japanese Patent Laid-Open No. 2002-262299, an edge region having a large luminance difference is detected using an edge detection filter or the like, and the color difference (Cb, Cr) of a pixel adjacent to the edge region is in an arbitrary range. The false color pixel is detected by determining whether or not, edge information including the edge gradient magnitude and the edge gradient direction of the detected edge region is calculated, and smoothness set in advance based on the calculated edge information is calculated. A method of reducing false colors by performing smoothing using a conversion filter is disclosed.
JP 2002-262299 A

上述のように、特許文献1に開示されている偽色低減方法では、エッジの方向を検出し、エッジ方向に沿った平滑化処理を行うことで、偽色を低減している。しかしながら、この方法では、エッジの角が丸まってしまい、色が黒ずむ等の問題があった。また、この問題は、上述したエッジ方向に沿って平滑化処理を行う方法に限られるものではなく、例えば、エッジ領域において等方向に平滑化処理を行う場合にも生じるものであった。   As described above, in the false color reduction method disclosed in Patent Document 1, the false color is reduced by detecting the edge direction and performing the smoothing process along the edge direction. However, this method has a problem that the corner of the edge is rounded and the color is darkened. This problem is not limited to the method of performing the smoothing process along the edge direction described above. For example, this problem also occurs when the smoothing process is performed in the same direction in the edge region.

本発明は、上記問題を解決するためになされたもので、色の黒ずみが生ずるという弊害を解消し、色鮮鋭度を保ちながら、エッジ付近、特に、斜め方向のエッジ付近に発生する偽色を低減することが可能な画像処理装置及びその方法並びにプログラムを提供することを目的とする。   The present invention has been made to solve the above-described problems, and eliminates the negative effect of darkening of colors, while maintaining the color sharpness while preventing false colors generated near edges, in particular, near diagonal edges. An object of the present invention is to provide an image processing apparatus, method and program that can be reduced.

上記課題を解決するために、本発明は以下の手段を採用する。
本発明の第1の態様は、カラー画像を構成する複数の色成分画像のうち、いずれかの色成分画像を用いて偽色低減領域を特定し、特定した該偽色低減領域に対して偽色低減処理を行う画像処理装置であって、前記色成分画像の注目画素の周辺に位置する周辺画素の画素値を用いて、前記注目画素周辺がエッジが交差する領域であるか否か判定する構造判定を行い、前記注目画素周辺がエッジが交差する領域であると判定された場合に、前記注目画素周辺を偽色低減領域から除外する除外領域として特定する構造判定部と、前記除外領域以外の領域において、斜め方向のエッジ領域を検出する高周波取得部と、前記高周波取得部によって検出された斜め方向のエッジ領域から偽色低減領域を特定する偽色低減領域特定部とを具備する画像処理装置である。
In order to solve the above problems, the present invention employs the following means.
According to a first aspect of the present invention, a false color reduction region is specified using any one of a plurality of color component images constituting a color image, and the specified false color reduction region is false. An image processing apparatus that performs color reduction processing, and determines whether or not the periphery of the target pixel is an area where edges intersect by using pixel values of peripheral pixels positioned around the target pixel of the color component image A structure determination unit that performs structure determination and identifies the area around the target pixel as an excluded area to be excluded from the false color reduction area when it is determined that the area around the target pixel intersects an edge; In this area, the image processing includes a high-frequency acquisition unit that detects an edge region in a diagonal direction, and a false color reduction region specification unit that specifies a false color reduction region from the edge region in the diagonal direction detected by the high-frequency acquisition unit Dress It is.

本発明の第2の態様は、カラー画像を構成する複数の色成分画像を用いて偽色低減領域を特定し、特定した該偽色低減領域に対して偽色低減処理を行う画像処理装置であって、カラー画像を構成する複数の色成分画像のうち、少なくとも一つの色成分画像を用いて、偽色低減領域の候補領域を特定する第1領域特定部と、カラー画像を構成する複数の色成分画像のうち、少なくとも一つの色成分画像を用いて、その色情報から偽色低減領域の候補領域を特定する第2領域特定部と、前記第1領域特定部によって特定された前記偽色低減領域の候補領域と、前記第2領域特定部によって特定された前記偽色低減領域の候補領域とから、偽色低減領域を決定する偽色低減領域決定部とを具備し、前記第1領域特定部は、前記色成分画像の注目画素の周辺に位置する周辺画素の画素値を用いて、前記注目画素周辺がエッジが交差する領域であるか否かを判定する構造判定を行い、前記注目画素周辺がエッジが交差する領域であると判定された場合には前記注目画素周辺を前記偽色低減領域の候補領域から除外する除外領域として特定する構造判定部と、前記除外領域以外の領域において、斜め方向のエッジ領域を検出する高周波取得部と、前記高周波取得部によって検出された斜め方向のエッジ領域から偽色低減領域の候補領域を特定する第1偽色低減領域特定部とを具備する画像処理装置である。 A second aspect of the present invention is an image processing apparatus that specifies a false color reduction region using a plurality of color component images constituting a color image and performs false color reduction processing on the specified false color reduction region. A first region specifying unit that specifies a candidate region for a false color reduction region using at least one color component image among a plurality of color component images forming a color image, and a plurality of colors forming the color image Among the color component images, using at least one color component image, a second region specifying unit that specifies a candidate region of a false color reduction region from the color information, and the false color specified by the first region specifying unit and the candidate region of the reduction region, and a second region candidate region of the false color reduction region specified by the specifying unit, provided with a false color reduction region determining unit for determining a false color reduction region, the first region The specific unit is a pixel of interest of the color component image Using the pixel values of peripheral pixels located in the periphery, a structure determination is performed to determine whether or not the periphery of the target pixel is an area where edges intersect, and it is determined that the periphery of the target pixel is an area where edges intersect And a structure determination unit that identifies the periphery of the target pixel as an excluded region excluded from the false color reduction region candidate region, and a high-frequency acquisition unit that detects an edge region in an oblique direction in a region other than the excluded region And a first false color reduction region specifying unit that specifies a candidate region of the false color reduction region from the oblique edge region detected by the high frequency acquisition unit .

本発明の第3の態様は、カラー画像を構成する複数の色成分画像のうち、いずれかの色成分画像を用いて偽色低減領域を特定し、特定した該偽色低減領域に対して偽色低減処理を行う画像処理方法であって、前記色成分画像の注目画素の周辺に位置する周辺画素の画素値を用いて、前記注目画素周辺がエッジが交差する領域であるか否か判定する構造判定を行い、前記注目画素周辺がエッジが交差する領域であると判定された場合に、前記注目画素周辺を偽色低減領域から除外する除外領域として特定する過程と、前記除外領域以外の領域において、斜め方向のエッジ領域を検出する過程と、検出された前記斜め方向のエッジ領域から偽色低減領域を特定する過程とを有する画像処理方法である。 According to a third aspect of the present invention, a false color reduction region is specified using any one of a plurality of color component images constituting a color image, and the specified false color reduction region is false. An image processing method for performing color reduction processing, wherein pixel values of peripheral pixels located around a pixel of interest in the color component image are used to determine whether the periphery of the pixel of interest is an area where edges intersect. A process of performing structure determination and specifying the area around the target pixel as an excluded area to be excluded from the false color reduction area when it is determined that the area around the target pixel is an intersecting edge; and an area other than the excluded area The image processing method includes a step of detecting an edge region in an oblique direction and a step of specifying a false color reduction region from the detected edge region in the oblique direction.

本発明の第4の態様は、カラー画像を構成する複数の色成分画像を用いて偽色低減領域を特定し、特定した該偽色低減領域に対して偽色低減処理を行う画像処理方法であって、カラー画像を構成する複数の色成分画像のうち、少なくとも一つの色成分画像を用いて、偽色低減領域の第1の候補領域を特定する過程と、カラー画像を構成する複数の色成分画像のうち、少なくとも一つの色成分画像を用いて、その色情報から偽色低減領域の第2の候補領域を特定する過程と、前記第1の候補領域と前記第2の候補領域とから、偽色低減領域を決定する過程とを有し、前記第1の候補領域を特定する過程が、前記色成分画像の注目画素の周辺に位置する周辺画素の画素値を用いて、前記注目画素周辺がエッジが交差する領域であるか否かを判定する構造判定を行い、前記注目画素周辺がエッジが交差する領域であると判定された場合には前記注目画素周辺を前記偽色低減領域の候補領域から除外する除外領域として特定する過程と、前記除外領域以外の領域において、斜め方向のエッジ領域を検出する過程と、検出された斜め方向のエッジ領域から偽色低減領域の第1の候補領域を特定する過程と、を含む画像処理方法である。 A fourth aspect of the present invention is an image processing method for specifying a false color reduction area using a plurality of color component images constituting a color image and performing a false color reduction process on the specified false color reduction area. The process of specifying the first candidate area of the false color reduction area using at least one color component image among the plurality of color component images constituting the color image, and the plurality of colors constituting the color image Of the component images, at least one color component image is used to identify the second candidate area of the false color reduction area from the color information, and from the first candidate area and the second candidate area A step of determining a false color reduction region, and the step of specifying the first candidate region uses the pixel values of peripheral pixels located around the pixel of interest of the color component image, Determine whether the periphery is an area where edges intersect Performing a structure determination, and when the periphery of the target pixel is determined to be an area where edges intersect, identifying the periphery of the target pixel as an excluded area to be excluded from the candidate area of the false color reduction area; and the exclusion This is an image processing method including a process of detecting an edge area in an oblique direction in an area other than the area and a process of specifying a first candidate area of a false color reduction area from the detected edge area in the oblique direction .

本発明の第5の態様は、カラー画像を構成する複数の色成分画像のうち、いずれかの色成分画像を用いて偽色低減領域を特定し、特定した該偽色低減領域に対して偽色低減処理を行うための画像処理プログラムであって、前記色成分画像の注目画素の周辺に位置する周辺画素の画素値を用いて、前記注目画素周辺がエッジが交差する領域であるか否か判定する構造判定を行い、前記注目画素周辺がエッジが交差する領域であると判定された場合に、前記注目画素周辺を偽色低減領域から除外する除外領域として特定する処理と、前記除外領域以外の領域において、斜め方向のエッジ領域を検出する処理と、検出された前記斜め方向のエッジ領域から偽色低減領域を特定する処理とをコンピュータに実行させるための画像処理プログラム。 According to a fifth aspect of the present invention, a false color reduction region is specified using any one of a plurality of color component images constituting a color image, and the specified false color reduction region is false. An image processing program for performing color reduction processing , wherein whether or not the periphery of the target pixel is an area where edges intersect by using pixel values of peripheral pixels located around the target pixel of the color component image A process for determining a structure to determine, and when the periphery of the target pixel is determined to be an area where edges intersect, a process of specifying the periphery of the target pixel as an excluded area to be excluded from the false color reduction area; An image processing program for causing a computer to execute processing for detecting an edge region in an oblique direction and processing for specifying a false color reduction region from the detected edge region in the oblique direction.

本発明の第6の態様は、カラー画像を構成する複数の色成分画像を用いて偽色低減領域を特定し、特定した該偽色低減領域に対して偽色低減処理を行うための画像処理プログラムであって、カラー画像を構成する複数の色成分画像のうち、少なくとも一つの色成分画像の注目画素の周辺に位置する周辺画素の画素値を用いて、前記注目画素周辺がエッジが交差する領域であるか否かを判定する構造判定を行い、前記注目画素周辺がエッジが交差する領域であると判定された場合には前記注目画素周辺を前記偽色低減領域の候補領域から除外する除外領域として特定する処理と、前記除外領域以外の領域において、斜め方向のエッジ領域を検出する処理と、検出された斜め方向のエッジ領域から偽色低減領域の第1の候補領域を特定する処理と、カラー画像を構成する複数の色成分画像のうち、少なくとも一つの色成分画像を用いて、その色情報から偽色低減領域の第2の候補領域を特定する処理と、前記第1の候補領域と前記第2の候補領域とから、偽色低減領域を決定する処理と、をコンピュータに実行させるための画像処理プログラム。
According to a sixth aspect of the present invention, there is provided image processing for specifying a false color reduction area using a plurality of color component images constituting a color image and performing false color reduction processing on the specified false color reduction area A program that uses a pixel value of a peripheral pixel located around a target pixel of at least one color component image among a plurality of color component images constituting a color image, and edges around the target pixel intersect Exclusion is performed to determine whether or not the region is a region, and when it is determined that the periphery of the pixel of interest is a region where edges intersect, excluding the region of the pixel of interest from the candidate region of the false color reduction region A process for specifying as an area, a process for detecting an edge area in a diagonal direction in an area other than the exclusion area, and a process for specifying a first candidate area for a false color reduction area from the detected edge area in the diagonal direction Among the plurality of color component images constituting the color image, using at least one color component image, a process of identifying a second candidate region of a false color reduction region from the color information, and the first candidate region An image processing program for causing a computer to execute a process of determining a false color reduction area from the second candidate area .

本発明によれば、色の黒ずみが生ずるという弊害を解消し、色鮮鋭度を保ちながら、エッジ付近、特に、斜め方向のエッジ付近に発生する偽色を低減することができるという効果を奏する。   According to the present invention, it is possible to eliminate the adverse effect of darkening of color and to reduce false colors generated near edges, particularly near edges in an oblique direction, while maintaining color sharpness.

以下に、本発明に係る画像処理装置及びその方法並びにプログラムの各実施形態について、図面を参照して説明する。   Hereinafter, embodiments of an image processing apparatus, method, and program according to the present invention will be described with reference to the drawings.

〔第1の実施形態〕
図1は本発明の第1の実施形態に係る撮像システムの全体構成を示すブロック図である。図1に示されるように、本実施形態に係る撮像システム1は、撮像部2及び画像処理装置3を備えている。
[First Embodiment]
FIG. 1 is a block diagram showing the overall configuration of the imaging system according to the first embodiment of the present invention. As shown in FIG. 1, the imaging system 1 according to the present embodiment includes an imaging unit 2 and an image processing device 3.

撮像部2は、不図示のレンズ系、IRカットフィルタ、光学ローパスフィルタ、RGB原色系の単板撮像素子(例えば、CCD、CMOS等)等を備えている。撮像部2において、レンズ系、IRカットフィルタ、光学ローパスフィルタを通じて単板撮像素子上に結像した光は、光電変換され、アナログ信号の画像信号が生成される。アナログ信号の画像信号は、画像処理装置3に転送される。   The imaging unit 2 includes a lens system (not shown), an IR cut filter, an optical low-pass filter, an RGB primary color single-plate image sensor (for example, a CCD, a CMOS, and the like). In the imaging unit 2, the light imaged on the single-plate imaging device through the lens system, the IR cut filter, and the optical low-pass filter is photoelectrically converted to generate an analog image signal. The analog image signal is transferred to the image processing device 3.

画像処理装置3は、例えば、ASIC等を備え、アナログ/デジタル変換部(以下「A/D変換部」という。)101、信号処理部102、補間処理部103、偽色低減部104、エッジ強調部105、画質調整部106、加算部107、ノイズ低減部108、圧縮記録部109、撮影制御部110等を主な構成要素として備えている。また、画像処理装置3は、電源スイッチ、シャッターボタン、並びに撮影時の各種モードの切替を行うためのインターフェースを備えた外部I/F部(図示略)、出力部(図示略)等を備えている。   The image processing apparatus 3 includes, for example, an ASIC, an analog / digital conversion unit (hereinafter referred to as “A / D conversion unit”) 101, a signal processing unit 102, an interpolation processing unit 103, a false color reduction unit 104, an edge enhancement. The image processing apparatus includes a unit 105, an image quality adjustment unit 106, an addition unit 107, a noise reduction unit 108, a compression recording unit 109, an imaging control unit 110, and the like as main components. Further, the image processing apparatus 3 includes a power switch, a shutter button, an external I / F unit (not shown) having an interface for switching various modes at the time of shooting, an output unit (not shown), and the like. Yes.

A/D変換部101は、アナログ信号の画像信号をデジタル信号の画像信号に変換して出力する。ここで、本実施形態に係る撮像システムは、RGB原色系の単板撮像素子を想定しているため、A/D変換部101からは、Rs(赤)、Gs(緑)、Bs(青)の各色成分画像が出力されることとなる。   The A / D converter 101 converts an analog image signal into a digital image signal and outputs the digital signal. Here, since the imaging system according to the present embodiment assumes an RGB primary color single-plate imaging device, the A / D converter 101 receives Rs (red), Gs (green), and Bs (blue). Each color component image is output.

A/D変換部101から出力された各色成分画像は、信号処理部102に転送される。信号処理部102は、Rs、Gs、Bsの各色成分画像に対してオプティカルブラック処理、ホワイトバランス処理等の公知の信号処理を施し、処理後の各色成分画像を補間処理部103に出力する。   Each color component image output from the A / D conversion unit 101 is transferred to the signal processing unit 102. The signal processing unit 102 performs known signal processing such as optical black processing and white balance processing on the Rs, Gs, and Bs color component images, and outputs the processed color component images to the interpolation processing unit 103.

補間処理部103は、例えば、図2に示すように、高域生成部201、RGB生成部202、色差LPF部203、及び水平垂直偽色低減部204等を主な構成要素として備えている。
補間処理部103のRGB生成部202は、Rs、Bs、Gsの各色成分画像の各画素に対して、欠落している色成分を補うことにより、各画素に対してRGB(赤、緑、青)の各色が補間された各色成分画像を生成し、補間後の色成分画像を色差LPF部203に出力する。色差LPF部203は、各色成分画像の色差を平滑化処理し、水平垂直偽色低減部204に出力する。水平垂直偽色低減部204は、緑色成分画像を使用して赤色成分画像、青色成分画像の水平垂直方向のエッジ付近に発生する偽色を低減し、偽色低減処理後の各色成分画像を偽色低減部104(図1参照)に出力する。更に、補間処理部103は、入力されたRs、Bs、Gsの各色成分画像からエッジ強調用の高周波信号YHを生成し、高周波信号YHをエッジ強調部105に出力する。
As shown in FIG. 2, for example, the interpolation processing unit 103 includes a high-frequency generation unit 201, an RGB generation unit 202, a color difference LPF unit 203, a horizontal / vertical false color reduction unit 204, and the like as main components.
The RGB generation unit 202 of the interpolation processing unit 103 compensates for the missing color component for each pixel of each color component image of Rs, Bs, and Gs, so that RGB (red, green, blue) ) Are interpolated, and the interpolated color component image is output to the color difference LPF unit 203. The color difference LPF unit 203 smoothes the color difference of each color component image and outputs the result to the horizontal / vertical false color reduction unit 204. The horizontal / vertical false color reduction unit 204 uses the green component image to reduce false colors generated near edges in the horizontal / vertical direction of the red component image and blue component image, and falsely displays each color component image after the false color reduction process. It outputs to the color reduction part 104 (refer FIG. 1). Further, the interpolation processing unit 103 generates a high-frequency signal YH for edge enhancement from the input Rs, Bs, and Gs color component images, and outputs the high-frequency signal YH to the edge enhancement unit 105.

偽色低減部104では、補間処理部103から入力されたRGBの各色成分画像のうち、特に、画素配列方向に対して斜め方向のエッジ付近に発生する偽色を低減し、処理後の各色成分画像を画質調整部106へ出力する。ここで、偽色低減部104は本発明の特徴部分であり、その詳細については後述する。   In the false color reduction unit 104, among the RGB color component images input from the interpolation processing unit 103, in particular, false colors generated near edges in the diagonal direction with respect to the pixel arrangement direction are reduced, and each processed color component is reduced. The image is output to the image quality adjustment unit 106. Here, the false color reduction unit 104 is a characteristic part of the present invention, and details thereof will be described later.

エッジ強調部105は、補間処理部103から入力された高周波信号YHに対して所定の強調処理を行うことにより、高周波信号YH´を求め、この高周波信号YH´を加算部107に出力する。   The edge enhancement unit 105 obtains a high frequency signal YH ′ by performing a predetermined enhancement process on the high frequency signal YH input from the interpolation processing unit 103, and outputs the high frequency signal YH ′ to the addition unit 107.

画質調整部106は、図3に示されるように、カラーマトリックス処理部401、ガンマ補正部402,403,404、及び信号変換処理部405を主な構成要素として備えている。画質調整部106において、カラーマトリックス処理部401は、偽色低減部104から出力されたRBG色空間で表された各色成分画像をsRBG等の所定色空間に変換し、出力する。変換後の各成分画像は、それぞれγ補正部402、403、404に出力され、色毎にビット変換が行われる。例えば、12ビットの信号が8ビットの信号に変換される。γ補正後のRγ,Gγ,Bγの各色成分画像は、信号変換処理部405に出力される。信号変換処理部405は、以下の式を用いることにより、RγGγBγの各色成分画像をYCbCr色空間で表される各成分画像に変換し、出力する。   As shown in FIG. 3, the image quality adjustment unit 106 includes a color matrix processing unit 401, gamma correction units 402, 403, and 404, and a signal conversion processing unit 405 as main components. In the image quality adjustment unit 106, the color matrix processing unit 401 converts each color component image expressed in the RBG color space output from the false color reduction unit 104 into a predetermined color space such as sRBG and outputs the image. The converted component images are output to the γ correction units 402, 403, and 404, and bit conversion is performed for each color. For example, a 12-bit signal is converted into an 8-bit signal. The Rγ, Gγ, and Bγ color component images after γ correction are output to the signal conversion processing unit 405. The signal conversion processing unit 405 converts each color component image of RγGγBγ into each component image represented in the YCbCr color space by using the following expression, and outputs the converted component image.

Y=0.299R+0.587G+0.114B(0≦Y≦255)
Cb=−0.169R−0.331G+0.500B(−128≦Cb≦127)
Cr=0.500R−0.419G−0.081B(−128≦Cr≦127)
Y = 0.299R + 0.587G + 0.114B (0 ≦ Y ≦ 255)
Cb = −0.169R−0.331G + 0.500B (−128 ≦ Cb ≦ 127)
Cr = 0.500R−0.419G−0.081B (−128 ≦ Cr ≦ 127)

画質調整部106から出力されたY成分画像は、加算部107においてエッジ強調部105から出力される高周波信号YH´と加算され、加算後のY´成分画像がノイズ低減部108に出力される。一方、画質調整部106から出力されたCb、Crの各成分画像については、そのままノイズ低減部108に出力される。   The Y component image output from the image quality adjustment unit 106 is added to the high frequency signal YH ′ output from the edge enhancement unit 105 in the addition unit 107, and the Y ′ component image after the addition is output to the noise reduction unit 108. On the other hand, the Cb and Cr component images output from the image quality adjustment unit 106 are output to the noise reduction unit 108 as they are.

ノイズ低減部108は、入力されたYCbCrの各成分画像から、カラー撮像系に起因するランダムノイズ、スパイクノイズ等を低減し、低減したYCbCrの各成分画像を圧縮記録部109に出力する。
圧縮記録部109はノイズ低減部107から入力されたYCbCrの各成分画像を画像圧縮し、フラッシュメモリやハードディスク、磁気テープ等の所定記録媒体に記録する。
The noise reduction unit 108 reduces random noise, spike noise, and the like caused by the color imaging system from the input YCbCr component images, and outputs the reduced YCbCr component images to the compression recording unit 109.
The compression recording unit 109 compresses each YCbCr component image input from the noise reduction unit 107 and records it on a predetermined recording medium such as a flash memory, a hard disk, or a magnetic tape.

次に、本発明の特徴部分である上記偽色低減部104について図を用いて詳しく説明する。図4は、偽色低減部104の概略構成を示すブロック図である。図4に示すように、偽色低減部104は、緑色成分画像の注目画素の周辺に位置する周辺画素の画素値を用いて、該注目画素周辺の構造判定を行い、偽色低減領域から除外する除外領域を特定する構造判定部303と、除外領域以外の領域において、斜め方向のエッジ領域を検出する高周波取得部304と、高周波取得部304によって特定された斜め方向のエッジ領域を偽色低減領域として特定する第1偽色低減領域特定部(偽色低減領域特定部)307とを主な構成として備えている。更に、偽色低減部104は、色差生成部302、エッジ方向判別部309、色平滑化部310、及びRGB生成部311等を備えている。   Next, the false color reduction unit 104, which is a characteristic part of the present invention, will be described in detail with reference to the drawings. FIG. 4 is a block diagram illustrating a schematic configuration of the false color reduction unit 104. As shown in FIG. 4, the false color reduction unit 104 determines the structure around the target pixel using pixel values of peripheral pixels located around the target pixel of the green component image, and excludes it from the false color reduction region. The structure determination unit 303 that identifies the exclusion region to be detected, the high-frequency acquisition unit 304 that detects the edge region in the oblique direction in the region other than the exclusion region, and the false edge reduction of the edge region in the oblique direction identified by the high-frequency acquisition unit 304 A first false color reduction area specifying part (false color reduction area specifying part) 307 specified as an area is provided as a main configuration. Furthermore, the false color reduction unit 104 includes a color difference generation unit 302, an edge direction determination unit 309, a color smoothing unit 310, an RGB generation unit 311, and the like.

上記色差生成部302には、RGBの各色成分画像が入力される。色差生成部302は、R(赤)−G(緑)色差成分、B(青)−G(緑)色差成分を算出し、算出結果を色平滑化部310に出力する。
上記構造判定部303及び高周波取得部304には、補間処理部103から出力された緑色成分画像が入力される。構造判定部303は、補間処理部103から入力される緑色成分画像について、画素毎に構造判定値thrを求める。例えば、図5(a)に示すように、注目画素をa0、注目画素a0を中心として斜め方向に位置する4つの周辺画素をa1,a2,a3,a4とすると、注目画素a0の構造判定値thrは以下の(1)式で求められる。
Each color component image of RGB is input to the color difference generation unit 302. The color difference generation unit 302 calculates the R (red) -G (green) color difference component and the B (blue) -G (green) color difference component, and outputs the calculation result to the color smoothing unit 310.
The green component image output from the interpolation processing unit 103 is input to the structure determination unit 303 and the high frequency acquisition unit 304. The structure determination unit 303 obtains a structure determination value thr for each pixel of the green component image input from the interpolation processing unit 103. For example, as shown in FIG. 5A, if the target pixel is a0, and the four peripheral pixels positioned in the oblique direction with the target pixel a0 as the center are a1, a2, a3, and a4, the structure determination value of the target pixel a0. thr is obtained by the following equation (1).

thr=||a1−a4|−|a2−a3|| (1)   thr = || a1-a4 |-| a2-a3 || (1)

ここで、a1とa4、及びa2とa3は、注目画素を挟んで対角線上にそれぞれ位置している。例えば、注目画素a0、周辺画素a1〜a4が、図5(b)に示すような画素値を持っている場合には、注目画素a0における構造判定値thrは大きな値をとり、例えば、図5(c)に示すような画素値を持っている場合には、構造判定値thrは小さな値をとる。構造判定値が大きな値となる領域は、例えば、図6の領域Bで表されるような斜めのエッジ領域に属する各画素に相当し、構造判定値が小さな値となる領域は、例えば、図6の領域Aのようなエッジが交差する領域に属する各画素に相当する。   Here, a1 and a4 and a2 and a3 are located on the diagonal line with the target pixel in between. For example, when the target pixel a0 and the peripheral pixels a1 to a4 have pixel values as shown in FIG. 5B, the structure determination value thr at the target pixel a0 takes a large value, for example, FIG. When the pixel value as shown in (c) has, the structure determination value thr takes a small value. The region where the structure determination value is large corresponds to, for example, each pixel belonging to the oblique edge region represented by the region B in FIG. 6, and the region where the structure determination value is small is, for example, FIG. 6 corresponds to each pixel belonging to a region where edges intersect, such as region A.

ここで、図6に領域Aで示されるようなエッジが交差する領域は、等方向或いはエッジの方向に沿った単一方向に平滑化を行うと不安定になり、角を丸めて色を黒ずませる原因となる。従って、構造判定部303では、このような領域を除外領域として検出し、偽色低減領域から除外する。そのため、例えば、構造判定部303は、各画素について算出した構造判定値thrを予め設定されている所定の値slantTHとそれぞれ比較し、所定の値slantTHよりも小さな構造判定値thrを持つ画素を除外領域として特定する。除外領域として特定した画素についてはフラグを0に設定し、除外領域以外の領域については、フラグを1に設定する。
このフラグは、後段の高周波取得部304において、高周波信号を取得するか否か、つまり、エッジ検出処理を行うか否かを示すものであり、フラグ1の場合には、高周波信号を取得する旨を示し、フラグ0の場合には、高周波信号を取得しない旨を示している。
Here, the region where the edges intersect as shown by region A in FIG. 6 becomes unstable when smoothing in the same direction or in a single direction along the edge direction, and the corners are rounded to make the color black. It can cause misunderstanding. Therefore, the structure determination unit 303 detects such an area as an excluded area and excludes it from the false color reduction area. Therefore, for example, the structure determination unit 303 compares the structure determination value thr calculated for each pixel with a predetermined value slantTH set in advance, and excludes pixels having a structure determination value thr smaller than the predetermined value slantTH. Specify as an area. The flag is set to 0 for the pixel specified as the excluded area, and the flag is set to 1 for the area other than the excluded area.
This flag indicates whether the high-frequency signal acquisition unit 304 in the subsequent stage acquires a high-frequency signal, that is, whether to perform edge detection processing. In the case of flag 1, the high-frequency signal is acquired. In the case of flag 0, it indicates that a high-frequency signal is not acquired.

高周波取得部304は、バンドパスフィルタを保有している。図7(a),(b)に、高周波取得部304が保有するバンドパスフィルタの一例を示す。バンドパスフィルタは、斜め方向のエッジを取得する周波数特性を持っていれば良く、係数やフィルタサイズは図7(a),(b)に示すフィルタに限られない。例えば、画素の微分値に基づいてエッジ領域を検出するGradient、Laplacian、Prewitt、Sobelオペレータ等のエッジ検出フィルタを用いてもよいし、注目画素と周辺画素との分散を評価する値に基づいてエッジ領域を検出しても良い。   The high frequency acquisition unit 304 has a band pass filter. FIGS. 7A and 7B show an example of a band-pass filter held by the high-frequency acquisition unit 304. FIG. The bandpass filter only needs to have a frequency characteristic for acquiring an edge in an oblique direction, and the coefficients and the filter size are not limited to the filters shown in FIGS. For example, an edge detection filter such as a Gradient, Laplacian, Prewitt, or Sobel operator that detects an edge region based on a differential value of a pixel may be used, or an edge based on a value that evaluates a variance between a target pixel and surrounding pixels. An area may be detected.

高周波取得部304は、構造判定部303から入力される各画素に与えられたフラグの状態を判別する。この結果、フラグが1であれば、バンドパスフィルタを用いて高周波信号を得る。一方、フラグが0である場合には、当該画素位置の高周波信号を0に設定する。更に、高周波取得部304は、バンドパスフィルタを用いて得られる高周波信号が負である場合には高周波信号を0に変更(クリップ)する。この結果、構造判定部303から入力される各画素に与えられたフラグが1である画素位置については、高周波信号が検出され、更に、その高周波信号の値が負である画素については高周波信号が0に設定される。また、構造判定部303から入力される各画素に与えられたフラグが0である画素位置については、その画素位置の高周波信号が0に設定されることとなる。フィルタリング処理後の高周波信号は、第1偽色低減領域特定部307に出力される。   The high frequency acquisition unit 304 determines the state of the flag given to each pixel input from the structure determination unit 303. As a result, if the flag is 1, a high-frequency signal is obtained using a bandpass filter. On the other hand, when the flag is 0, the high-frequency signal at the pixel position is set to 0. Further, the high frequency acquisition unit 304 changes (clips) the high frequency signal to 0 when the high frequency signal obtained using the bandpass filter is negative. As a result, a high-frequency signal is detected for a pixel position where the flag given to each pixel input from the structure determination unit 303 is 1, and a high-frequency signal is output for a pixel whose value of the high-frequency signal is negative. Set to zero. In addition, for a pixel position where the flag given to each pixel input from the structure determination unit 303 is 0, the high-frequency signal at that pixel position is set to 0. The high-frequency signal after the filtering process is output to the first false color reduction area specifying unit 307.

第1偽色低減領域特定部307は、高周波取得部304からの高周波信号において、各画素位置の高周波信号が予め設定されている所定の値以上であるか否か、例えば、0よりも大きいか否かを判断し、0の場合には非偽色低減領域と判断し、高周波信号が0よりも大きい場合に偽色低減領域であると判断する。この判断結果は、色平滑化部310に出力される。   The first false color reduction region specifying unit 307 determines whether or not the high-frequency signal at each pixel position is greater than or equal to a predetermined value in the high-frequency signal from the high-frequency acquisition unit 304, for example, greater than 0. If it is 0, it is determined as a non-false color reduction region, and if the high frequency signal is greater than 0, it is determined as a false color reduction region. This determination result is output to the color smoothing unit 310.

エッジ方向判別部309は、高周波取得部304からの色成分画像において、注目画素とその周辺画素との差分を複数方向に対して算出し、差分が最小の方向をエッジ方向として決定し、このエッジ方向を色平滑化部310へ出力する。具体的には、エッジ方向判別部309は、図8に示される例において、e0〜e7の8方向に対する差分を以下の式を用いて算出し、e0〜e7のうち差分が最小の値となる方向にエッジが存在すると判断して、エッジ方向を色平滑化部310へ出力する。図8では、Y22を注目画素とし、この注目画素を中心として5×5の画素範囲を周辺画素として設定している。   The edge direction determination unit 309 calculates the difference between the target pixel and its surrounding pixels in a plurality of directions in the color component image from the high frequency acquisition unit 304, determines the direction with the smallest difference as the edge direction, The direction is output to the color smoothing unit 310. Specifically, in the example illustrated in FIG. 8, the edge direction determination unit 309 calculates a difference with respect to eight directions of e0 to e7 using the following formula, and the difference is the smallest value among e0 to e7. It is determined that there is an edge in the direction, and the edge direction is output to the color smoothing unit 310. In FIG. 8, Y22 is set as a target pixel, and a 5 × 5 pixel range is set as a peripheral pixel around the target pixel.

e0=|Y22−Y23|+|Y22−Y24|+|Y22−Y21|+|Y22−Y20|
e1=|Y22−Y23|+|Y22−Y14|+|Y22−Y21|+|Y22−Y30|
e2=|Y22−Y13|+|Y22−Y04|+|Y22−Y31|+|Y22−Y40|
e3=|Y22−Y12|+|Y22−Y03|+|Y22−Y32|+|Y22−Y41|
e4=|Y22−Y12|+|Y22−Y02|+|Y22−Y32|+|Y22−Y42|
e5=|Y22−Y12|+|Y22−Y01|+|Y22−Y32|+|Y22−Y43|
e6=|Y22−Y11|+|Y22−Y00|+|Y22−Y33|+|Y22−Y44|
e7=|Y22−Y31|+|Y22−Y10|+|Y22−Y23|+|Y22−Y34|
e0 = | Y22-Y23 | + | Y22-Y24 | + | Y22-Y21 | + | Y22-Y20 |
e1 = | Y22-Y23 | + | Y22-Y14 | + | Y22-Y21 | + | Y22-Y30 |
e2 = | Y22-Y13 | + | Y22-Y04 | + | Y22-Y31 | + | Y22-Y40 |
e3 = | Y22-Y12 | + | Y22-Y03 | + | Y22-Y32 | + | Y22-Y41 |
e4 = | Y22-Y12 | + | Y22-Y02 | + | Y22-Y32 | + | Y22-Y42 |
e5 = | Y22-Y12 | + | Y22-Y01 | + | Y22-Y32 | + | Y22-Y43 |
e6 = | Y22-Y11 | + | Y22-Y00 | + | Y22-Y33 | + | Y22-Y44 |
e7 = | Y22-Y31 | + | Y22-Y10 | + | Y22-Y23 | + | Y22-Y34 |

なお、図8では、注目画素の近傍5×5画素の範囲を周辺画素として、8方向についてエッジ方向を判別しているが、周辺画素の範囲は任意に設定することが可能である。エッジ方向の判別精度を向上させるためには、7×7画素や9×9画素の範囲で判別しても良いし、範囲を拡張させることに伴い、エッジ方向を16方向に設定して判別することも可能である。   In FIG. 8, the edge direction is determined for the eight directions using the 5 × 5 pixel range in the vicinity of the target pixel as the peripheral pixel, but the peripheral pixel range can be arbitrarily set. In order to improve the discrimination accuracy of the edge direction, it may be discriminated in the range of 7 × 7 pixels or 9 × 9 pixels, or the edge direction is set to 16 directions and discriminated as the range is expanded. It is also possible.

色平滑化部310には、上記色差生成部302からR−G色差成分及びB−G色差成分が、また、第1偽色低減領域特定部307から偽色低減領域に関する情報が入力される。色平滑化部310は、第1偽色低減領域特定部307によって偽色低減領域であると判定された領域に属する画素のR−G色差成分、B−G色差成分を抽出し、これらの色差成分に対して、エッジ方向判別部309によって判別されたエッジ方向(単一方向)に沿った相加平均又は加重平均処理を行うことで色平滑化処理を行い、その結果をRGB生成部311へ出力する。ここで、相加平均又は加重平均処理を行う範囲は、エッジ方向判別部309でエッジ方向を判別した周辺画素の範囲と同じサイズで処理することが好ましい。   The color smoothing unit 310 receives the RG color difference component and the BG color difference component from the color difference generation unit 302 and information on the false color reduction region from the first false color reduction region specifying unit 307. The color smoothing unit 310 extracts the RG color difference component and the BG color difference component of the pixels belonging to the area determined to be the false color reduction area by the first false color reduction area specifying unit 307, and extracts these color differences. Color smoothing processing is performed on the component by performing arithmetic averaging or weighted averaging processing along the edge direction (single direction) determined by the edge direction determination unit 309, and the result is sent to the RGB generation unit 311. Output. Here, it is preferable that the range in which the arithmetic average or weighted average processing is performed is processed with the same size as the range of the peripheral pixels whose edge direction is determined by the edge direction determination unit 309.

RGB生成部311は、色平滑化部310から入力されたR−G色差成分、B−G色差成分に対して補間処理部102から入力された緑色成分を加算することで、RGBの色成分画像を生成し、画質調整部105へ出力する。   The RGB generation unit 311 adds the green color component input from the interpolation processing unit 102 to the RG color difference component and the BG color difference component input from the color smoothing unit 310, thereby obtaining an RGB color component image. Is output to the image quality adjustment unit 105.

このような構成を備える偽色低減部104においては、構造判定部303による構造判定が緑色成分画像に基づいて行われることにより、偽色低減処理を施してしまうと黒ずみなどの弊害が生ずる領域、例えば、エッジが交差する領域等が除外領域として特定され、続く高周波取得部304において、除外領域以外の領域に対してバンドパスフィルタを用いた高周波取得処理が行われるとともに、除外領域については高周波信号に0を設定し、処理後の高周波信号が第1偽色低減領域特定部307に出力される。第1偽色低減領域特定部307は、各画素位置の高周波信号を予め設定されている所定の値と比較し、所定の値以上(或いは、所定の値よりも大きな値)を有する領域を偽色低減領域として決定し、この結果を色平滑化部311に出力する。一方、エッジ方向判別部309では、高周波取得部304から出力される高周波信号に基づいてエッジ方向が検出され、エッジ方向の情報が色平滑化部310に出力される。   In the false color reduction unit 104 having such a configuration, the structure determination by the structure determination unit 303 is performed based on the green component image, and thus an area that causes adverse effects such as darkening when false color reduction processing is performed, For example, a region where edges intersect or the like is specified as an excluded region, and the subsequent high frequency acquisition unit 304 performs a high frequency acquisition process using a bandpass filter on a region other than the excluded region. Is set to 0, and the processed high-frequency signal is output to the first false color reduction area specifying unit 307. The first false color reduction area specifying unit 307 compares the high-frequency signal at each pixel position with a predetermined value set in advance, and falsely determines an area having a predetermined value or more (or a value larger than the predetermined value). The color reduction area is determined, and the result is output to the color smoothing unit 311. On the other hand, the edge direction determination unit 309 detects the edge direction based on the high frequency signal output from the high frequency acquisition unit 304, and outputs information on the edge direction to the color smoothing unit 310.

色平滑化部310では、第1偽色低減領域特定部307により偽色低減領域であると特定された領域に該当するR−G色差成分及びB−G色差成分に対してエッジ方向判別部309から取得したエッジ方向に基づく相加平均または加重平均処理が行われることにより、偽色低減処理が施され、処理後の色差成分がRGB生成部311に出力される。RGB生成部311では、偽色低減処理後の色差成分と緑色成分とに基づいてRGBの各色成分画像が生成され、画質調整部105に出力される。   In the color smoothing unit 310, the edge direction discrimination unit 309 is applied to the RG color difference component and the BG color difference component corresponding to the region specified as the false color reduction region by the first false color reduction region specifying unit 307. By performing the arithmetic average or weighted average processing based on the edge direction acquired from the above, false color reduction processing is performed, and the processed color difference component is output to the RGB generation unit 311. In the RGB generation unit 311, RGB color component images are generated based on the color difference component and the green color component after the false color reduction process, and are output to the image quality adjustment unit 105.

以上、説明してきたように、本実施形態に係る画像処理装置及び画像処理方法によれば、偽色低減処理を施してしまうと黒ずみが発生してしまうような領域、例えば、エッジが交差するような領域を偽色低減処理の対象領域から除外し、黒ずみが発生しない領域のみ、例えば、斜めのエッジ領域に対してのみ偽色低減処理を実施するので、色の黒ずみを防止しながら、偽色の低減を実現させることが可能となる。   As described above, according to the image processing apparatus and the image processing method according to the present embodiment, an area where darkening occurs when the false color reduction process is performed, for example, the edges intersect. Area is excluded from the target area of the false color reduction process, and the false color reduction process is performed only on the area where blackening does not occur, for example, only on the oblique edge area. Can be reduced.

〔第2の実施形態〕
次に、本発明の第2の実施形態に係る画像処理装置及び画像処理方法について説明する。本実施形態に係る画像処理装置は、図9に示すように、偽色低減部104Aにおいて、高周波取得部304の後段に安定化部306が設けられている点で、上述した第1の実施形態に係る画像処理装置と異なる。
以下、本実施形態において第1の実施形態と共通する点については説明を省略し、異なる点について主に説明する。
[Second Embodiment]
Next, an image processing apparatus and an image processing method according to the second embodiment of the present invention will be described. As shown in FIG. 9, the image processing apparatus according to the present embodiment is the first embodiment described above in that a false color reduction unit 104A is provided with a stabilization unit 306 after the high frequency acquisition unit 304. This is different from the image processing apparatus according to FIG.
Hereinafter, in this embodiment, description of points that are common to the first embodiment will be omitted, and different points will be mainly described.

本実施形態に係る画像処理装置では、偽色低減部104Aの高周波取得部304によってフィルタリング処理が行われた後の高周波信号は、安定化部306に出力される。安定化部306は、例えば、ナイキスト周波数付近を制限する周波数特性を有するローパスフィルタを保有しており、このローパスフィルタを用いて、入力された高周波信号に対してフィルタリング処理を行う。図10に、安定化部306が保有するローパスフィルタの一例を示す。図10に示されるローパスフィルタの係数やフィルタサイズは一例であり、この例に限定されない。   In the image processing apparatus according to the present embodiment, the high-frequency signal after the filtering process is performed by the high-frequency acquisition unit 304 of the false color reduction unit 104A is output to the stabilization unit 306. The stabilization unit 306 has, for example, a low-pass filter having a frequency characteristic that limits the vicinity of the Nyquist frequency, and performs filtering processing on the input high-frequency signal using the low-pass filter. FIG. 10 shows an example of the low-pass filter held by the stabilization unit 306. The coefficients and filter sizes of the low-pass filter shown in FIG. 10 are examples, and are not limited to this example.

ここで、図11に示すように、偽色はエッジの外側付近に多く発生する。また、高周波信号を取得する元となる緑色成分画像にモアレが混入していた場合には、後段のエッジ方向判別部309におけるエッジの方向判別精度が低下し、処理が不安定となる。そこで、本実施形態では、エッジ方向判別部309の前段に安定化部306を設け、エッジ方向判別部309におけるエッジの方向判別の精度を向上させることとしている。また、第1偽色低減領域特定部307の前段に安定化部306を設け、偽色が発生しやすいエッジの外側を偽色低減領域に含めさせることとしている。   Here, as shown in FIG. 11, many false colors occur near the outside of the edge. Further, when moire is mixed in the green component image from which the high-frequency signal is acquired, the edge direction determination accuracy in the edge direction determination unit 309 in the subsequent stage is lowered, and the processing becomes unstable. Therefore, in the present embodiment, a stabilization unit 306 is provided before the edge direction determination unit 309 to improve the accuracy of edge direction determination in the edge direction determination unit 309. In addition, a stabilization unit 306 is provided in front of the first false color reduction region specifying unit 307 so that the outside of the edge where false colors are likely to occur is included in the false color reduction region.

以上説明してきたように、本実施形態に係る画像処理装置及び画像処理方法によれば、偽色低減部104Aにおいて、エッジ方向判別部309及び第1偽色低減領域特定部307の前段にローパスフィルタリングを行う安定化部306を備えているので、エッジの外側領域についても偽色低減領域に含めることが可能となる。これにより、エッジ方向判別等の精度を向上させることが可能となるとともに、偽色が発生する領域をより適切に特定することが可能となる。この結果、偽色低減処理の精度を向上させることができ、より品質の高い画像を取得することができる。   As described above, according to the image processing apparatus and the image processing method according to the present embodiment, the false color reduction unit 104A has low-pass filtering before the edge direction determination unit 309 and the first false color reduction region specifying unit 307. Since the stabilizing unit 306 for performing the above is provided, the outer region of the edge can be included in the false color reduction region. As a result, it is possible to improve the accuracy of edge direction discrimination and the like, and it is possible to more appropriately specify the region where the false color is generated. As a result, the accuracy of the false color reduction process can be improved, and a higher quality image can be acquired.

〔第3の実施形態〕
次に、本発明の第3の実施形態に係る画像処理装置及び画像処理方法について説明する。
上述した第1の実施形態及び第2の実施形態においては、画像の構造情報に基づいてのみ偽色低減領域を特定していたが、本実施形態においては、画像の構造情報に加えて、色情報も考慮し、構造情報及び色情報の両方から偽色低減領域を特定する。以下、上述した各実施形態と共通する部分については説明を省略し、異なる部分について主に説明する。
[Third Embodiment]
Next, an image processing apparatus and an image processing method according to the third embodiment of the present invention will be described.
In the first embodiment and the second embodiment described above, the false color reduction area is specified only based on the image structure information. However, in this embodiment, in addition to the image structure information, the color Considering the information, the false color reduction region is specified from both the structure information and the color information. Hereinafter, description of parts common to the above-described embodiments will be omitted, and different parts will be mainly described.

図12は、本実施形態に係る画像処理装置における偽色低減部104Bの一構成例を示したブロック図である。図12に示されるように、本実施形態に係る偽色低減部104Bは、RGBカラー画像を構成する複数の各色成分画像のうち、緑色成分画像を用いてその構造情報から偽色低減領域の候補領域を特定する第1領域特定部5と、カラー画像を構成する複数の色成分画像のうち、赤色成分画像及び青色成分画像を用いて、その色情報から偽色低減領域の候補領域を特定する第2領域特定部6と、第1領域特定部5によって特定された偽色低減領域の候補領域と、第2領域特定部6によって特定された偽色低減領域の候補領域とから、偽色低減領域を決定する偽色低減領域決定部308とを主な構成要素として備えている。更に、偽色低減部104Bは、色差生成部302、エッジ方向判別部309、色平滑化部310、及びRGB生成部311等を備えている。   FIG. 12 is a block diagram illustrating a configuration example of the false color reduction unit 104B in the image processing apparatus according to the present embodiment. As illustrated in FIG. 12, the false color reduction unit 104B according to the present embodiment uses a green component image among a plurality of color component images constituting an RGB color image and uses the structure information to identify false color reduction region candidates. Using a first component specifying unit 5 that specifies a region and a red component image and a blue component image among a plurality of color component images constituting a color image, a candidate region for a false color reduction region is specified from the color information. False color reduction from the second region specifying unit 6, the false color reduction region candidate region specified by the first region specifying unit 5, and the false color reduction region candidate region specified by the second region specifying unit 6 A false color reduction area determination unit 308 that determines an area is provided as a main component. Furthermore, the false color reduction unit 104B includes a color difference generation unit 302, an edge direction determination unit 309, a color smoothing unit 310, an RGB generation unit 311, and the like.

第1領域特定部5は、構造判定部303、高周波取得部304、安定化部306、及び第1偽色低減領域特定部307を備えている。第2領域特定部6は、偽色指標算出部301、及び第2偽色低減領域特定部305を備えている。
第1領域特定部5において、各構成要素は上述したとおりであるが、上述した第3の実施形態における第1偽色低減領域特定部307において特定された偽色低減領域は、本実施形態においては、偽色低減領域の候補領域として偽色低減領域決定部308に出力される。
The first region specifying unit 5 includes a structure determination unit 303, a high frequency acquisition unit 304, a stabilization unit 306, and a first false color reduction region specifying unit 307. The second area specifying unit 6 includes a false color index calculating unit 301 and a second false color reduction area specifying unit 305.
In the first region specifying unit 5, each component is as described above, but the false color reduction region specified in the first false color reduction region specifying unit 307 in the third embodiment described above is the same in this embodiment. Is output to the false color reduction area determination unit 308 as a candidate area for the false color reduction area.

第2領域特定部6において、偽色指標算出部301は、青色成分画像及び赤色成分画像からR(赤)−B(青)色差成分の絶対値|R−B|を偽色指標として算出し、第2偽色低減領域特定部305に出力する。
第2偽色低減領域特定部305は、偽色指標算出部301によって算出された偽色指標が、予め設定されている所定の値よりも小さい領域を偽色低減領域の候補領域として特定する。例えば、斜め方向のエッジ付近に発生する偽色は、グリーンとマゼンタが交互に色づくパターンが多い。グリーンもマゼンタもRGBで表現するとグリーン(0,255,0)、マゼンタ(255,0,255)となり、どちらもB−Rの絶対値が小さい値となる。従って、注目画素のB−Rの絶対値が小さい場合には、注目画素は偽色の可能性が高いと判断することができる。そこで、このような偽色低減領域を偽色低減領域の候補領域として特定すべく、第2偽色低減領域特定部305は、偽色指標算出部301から入力されたB−R色差成分の絶対値|R−B|を所定の値RmBTHと比較し、絶対値|R−B|が所定の値RmBTHよりも小さいとき、この領域を偽色低減領域の候補領域として特定し、その領域の情報を偽色低減領域決定部308に出力する。上記所定の値RmBTHは任意に設定可能である。
In the second area specifying unit 6, the false color index calculation unit 301 calculates the absolute value | R−B | of the R (red) -B (blue) color difference component from the blue component image and the red component image as a false color index. And output to the second false color reduction area specifying unit 305.
The second false color reduction area specifying unit 305 specifies an area in which the false color index calculated by the false color index calculation unit 301 is smaller than a predetermined value as a candidate area for the false color reduction area. For example, many false colors that occur near the edges in the diagonal direction are green and magenta. When green and magenta are expressed in RGB, they are green (0, 255, 0) and magenta (255, 0, 255), both of which have a small absolute value of BR. Therefore, when the absolute value of BR of the target pixel is small, it can be determined that the target pixel has a high possibility of false color. Therefore, in order to specify such a false color reduction area as a candidate area for the false color reduction area, the second false color reduction area specifying unit 305 determines the absolute value of the BR color difference component input from the false color index calculation unit 301. The value | R−B | is compared with a predetermined value RmBTH, and when the absolute value | R−B | is smaller than the predetermined value RmBTH, this region is specified as a candidate region for the false color reduction region, and information on the region Is output to the false color reduction area determination unit 308. The predetermined value RmBTH can be arbitrarily set.

偽色低減領域決定部308は、第1偽色低減領域特定部307及び第2偽色低減領域特定部305の両方によって偽色低減領域の候補領域であると特定された領域を偽色低減領域として決定し、この情報を色平滑化部310に出力する。この後の処理については、上述した第1実施形態等と同様である。   The false color reduction area determination unit 308 determines an area identified as a false color reduction area candidate area by both the first false color reduction area specification unit 307 and the second false color reduction area specification unit 305. And the information is output to the color smoothing unit 310. The subsequent processing is the same as in the first embodiment described above.

このように、画像の構造情報だけでなく、色情報も加味して偽色低減領域を決定することにより、偽色低減処理を行うことによって黒ずみが発生してしまう領域のうち、第1偽色低減領域特定部307で除去しきれない領域についても、色低減処理の対象領域から除外することが可能となる。例えば、色情報に基づいて偽色低減領域を決定することにより、図13の領域Cで表されるような、鋭角のエッジ付近の領域を除外領域とすることができ、偽色低減処理に起因する当該領域の黒ずみ発生を更に防止することが可能となる。   In this way, by determining not only the image structure information but also the color information and determining the false color reduction region, the first false color among the regions in which darkening occurs due to the false color reduction process is performed. Even a region that cannot be removed by the reduced region specifying unit 307 can be excluded from a target region for color reduction processing. For example, by determining the false color reduction area based on the color information, an area in the vicinity of an acute edge as represented by the area C in FIG. 13 can be set as an exclusion area, resulting from the false color reduction process. It is possible to further prevent the occurrence of darkening in the area.

なお、上述した各実施形態では、偽色低減部104,104A,104Bとしてハードウェアによる処理を前提としていたが、このような構成に限定される必要はない。例えば、別途ソフトウェアにて処理する構成も可能である。この場合、偽色低減部104,104A,104Bは、CPU、RAM等の主記憶装置、上記処理の全て或いは一部を実現させるためのプログラムが記録されたコンピュータ読み取り可能な記録媒体を備えている。そして、CPUが上記記憶媒体に記録されているプログラム(画像処理プログラム)を読み出して、情報の加工・演算処理を実行することにより、上述の偽色低減部104等と同様の処理を実現させる。   In each of the above-described embodiments, the false color reduction units 104, 104A, and 104B are premised on processing by hardware, but are not necessarily limited to such a configuration. For example, a configuration in which processing is performed separately by software is also possible. In this case, the false color reduction units 104, 104A, and 104B include a main storage device such as a CPU and a RAM, and a computer-readable recording medium on which a program for realizing all or part of the above processing is recorded. . Then, the CPU reads out a program (image processing program) recorded in the storage medium and executes information processing / calculation processing, thereby realizing processing similar to that of the false color reduction unit 104 described above.

ここでコンピュータ読み取り可能な記録媒体とは、磁気ディスク、光磁気ディスク、CD−ROM、DVD−ROM、半導体メモリ等をいう。また、このコンピュータプログラムを通信回線によってコンピュータに配信し、この配信を受けたコンピュータが当該プログラムを実行するようにしても良い。   Here, the computer-readable recording medium means a magnetic disk, a magneto-optical disk, a CD-ROM, a DVD-ROM, a semiconductor memory, or the like. Alternatively, the computer program may be distributed to the computer via a communication line, and the computer that has received the distribution may execute the program.

以下、CPUが画像処理プログラムを実行することにより実現される画像処理方法のうち、偽色低減処理の処理手順について図14を参照して説明する。ここでは、上述した各実施形態のうち、第3の実施形態に係るノイズ低減部104B(図12参照)の処理手順について説明する。   Hereinafter, among the image processing methods realized by the CPU executing the image processing program, the processing procedure of the false color reduction processing will be described with reference to FIG. Here, the processing procedure of the noise reduction part 104B (refer FIG. 12) which concerns on 3rd Embodiment among each embodiment mentioned above is demonstrated.

まず、欠落画素を補間した赤(R)、青(G)、緑(B)の各色成分画像に基づいて色差成分(R−G、B−G)を求める(図14のステップS1000)。続いて、R−B色差成分の絶対値|R−B|を算出する(ステップS1001)。次に、緑色成分画像について、注目画素の周辺に位置する周辺画素の画素値に基づいて構造判定値thrを求め、これを予め設定されている所定の値slantTHと比較し、除外領域を特定する(ステップS1002)。   First, color difference components (RG, BG) are obtained based on red (R), blue (G), and green (B) color component images obtained by interpolating missing pixels (step S1000 in FIG. 14). Subsequently, the absolute value | R−B | of the RB color difference component is calculated (step S1001). Next, for the green component image, a structure determination value thr is obtained based on pixel values of surrounding pixels located around the pixel of interest, and is compared with a predetermined value slantTH that is set in advance to specify an exclusion region. (Step S1002).

次に、上記ステップS1002において除外領域として特定されなかった領域(除外領域以外)に対して、バンドパスフィルタによるフィルタリング処理を行うことで高周波信号を取得し、更に、その高周波信号の値が負数であった場合には0でクリップする(ステップS1003)。一方、上記ステップS1002において、除外領域として特定された領域に関しては、フィルタリング処理を行わずに、その画素値をゼロに設定する(ステップS1004)。   Next, a high-frequency signal is obtained by performing a filtering process using a bandpass filter on a region (other than the excluded region) that is not specified as an excluded region in step S1002, and the value of the high-frequency signal is a negative number. If there is, it is clipped with 0 (step S1003). On the other hand, regarding the area specified as the excluded area in step S1002, the pixel value is set to zero without performing the filtering process (step S1004).

続くステップS1005では、エッジ方向判別を安定的に行うため、且つ、偽色低減を行う範囲を外側に広げるために、上記ステップS1003で得られた高周波信号に対して平滑化処理を行う。ステップS1006では、ステップS1005で平滑化した高周波信号の周辺画素を参照してエッジの方向判別を行う。続くステップS1007では、ステップS1005で平滑化した高周波信号の値が所定の値以上であるか否かを判断し(例えば、0よりも大きいか否かを判断し)、所定の値以上であった場合に、上記ステップS1001で求めたR−B色差成分の絶対値|R−B|と任意の閾値RmBTHを比較する(ステップS1008)。   In subsequent step S1005, smoothing processing is performed on the high-frequency signal obtained in step S1003 in order to stably perform edge direction discrimination and to expand the range of false color reduction to the outside. In step S1006, edge direction determination is performed with reference to peripheral pixels of the high-frequency signal smoothed in step S1005. In subsequent step S1007, it is determined whether or not the value of the high-frequency signal smoothed in step S1005 is equal to or greater than a predetermined value (for example, whether or not it is greater than 0), and is equal to or greater than the predetermined value. In this case, the absolute value | R−B | of the RB color difference component obtained in step S1001 is compared with an arbitrary threshold value RmBTH (step S1008).

ステップS1008において、上記ステップS1001で求めたR−B色差成分の絶対値|R−B|が所定の値RmBTHよりも小さい場合には、上記ステップS1000で求めたR−G色差成分及びB−G色差成分に対して、ステップS1006で判別したエッジ方向に沿って単一方向に平滑化処理を行うことで偽色低減処理を実施する(ステップS1009)。続くステップS1010では、ステップS1009で偽色低減処理を行った後のR−G色差成分、B−G色差成分に、欠落画素を補完した緑色成分画像を加算してRGBの各色成分画像を生成する。   In step S1008, if the absolute value | R−B | of the RB color difference component obtained in step S1001 is smaller than the predetermined value RmBTH, the RG color difference component and BG obtained in step S1000 are determined. A false color reduction process is performed on the color difference components by performing a smoothing process in a single direction along the edge direction determined in step S1006 (step S1009). In subsequent step S1010, each of RGB color component images is generated by adding the green component image in which the missing pixel is complemented to the RG color difference component and the BG color difference component after the false color reduction processing in step S1009. .

一方、ステップS1007において、ステップS1005で平滑化した高周波信号の値が所定の値よりも小さかった場合、或いは、ステップS1008において、ステップS1001で求めたR−B色差成分の絶対値|R−B|が所定の値RmBTH以上であった場合には、その画素について偽色低減処理を行わずに、ステップS1010に進み、RGBの各色成分画像を生成する。そして、上記一連の処理を各画素について繰り返し行い、全ての画素について処理を実行すると、本処理を終了する。   On the other hand, when the value of the high frequency signal smoothed in step S1005 is smaller than a predetermined value in step S1007, or in step S1008, the absolute value | RB of the RB color difference component obtained in step S1001. Is equal to or greater than the predetermined value RmBTH, the process proceeds to step S1010 without performing false color reduction processing for the pixel, and RGB color component images are generated. Then, the above-described series of processing is repeated for each pixel, and when the processing is executed for all the pixels, this processing ends.

なお、本発明の画像処理方法及び画像処理プログラムに関する処理手順については、上記処理フローに限定されない。即ち、構造情報から特定される偽色低減領域の候補領域と、色情報から特定される偽色低減領域の候補領域の両方から偽色低減領域を決定できればよく、候補領域を特定する順序などには左右されない。   The processing procedure relating to the image processing method and the image processing program of the present invention is not limited to the above processing flow. In other words, it is only necessary to determine the false color reduction area from both the false color reduction area candidate area specified from the structure information and the false color reduction area candidate area specified from the color information. Is not affected.

〔第4の実施形態〕
次に、本発明の第4の実施形態に係る画像処理装置及び画像処理方法について説明する。上記実施形態の画像処理装置は、図15に示すように、上述した偽色低減部に代えて、偽色低減領域特定部507が設けられ、この偽色低減領域特定部507からノイズ低減部506に対して偽色低減領域マップが出力される点で、上述した各実施形態に係る画像処理装置と異なる。また、偽色低減領域特定部507は、画質調整部106の後段に設けられている、処理する色空間がRGB色空間ではなくYCbCr色空間である点で上述した各実施形態に係る画像処理装置と異なる。以下、本実施形態において第1〜第3の実施形態と共通する点については説明を省略し、異なる点について主に説明する。
[Fourth Embodiment]
Next, an image processing apparatus and an image processing method according to the fourth embodiment of the present invention will be described. As shown in FIG. 15, the image processing apparatus according to the above embodiment includes a false color reduction region specifying unit 507 instead of the false color reduction unit described above, and the false color reduction region specifying unit 507 to the noise reduction unit 506. However, the image processing apparatus according to each embodiment described above is different in that a false color reduction area map is output. Further, the false color reduction area specifying unit 507 is provided in the subsequent stage of the image quality adjustment unit 106, and the image processing apparatus according to each embodiment described above in that the color space to be processed is not the RGB color space but the YCbCr color space. And different. Hereinafter, in this embodiment, description of points that are common to the first to third embodiments is omitted, and different points are mainly described.

図16は、偽色低減領域特定部507の概略構成を示したブロック図である。図16に示すように、偽色低減領域特定部507は、偽色指標算出部601、第2偽色低減領域特定部602、構造判定部603、高周波取得部604、安定化部605、第1偽色低減領域特定部606、及び偽色低減領域MAP作成部607を主な構成要素として備えている。   FIG. 16 is a block diagram illustrating a schematic configuration of the false color reduction area specifying unit 507. As illustrated in FIG. 16, the false color reduction region specifying unit 507 includes a false color index calculation unit 601, a second false color reduction region specifying unit 602, a structure determination unit 603, a high frequency acquisition unit 604, a stabilization unit 605, and a first. A false color reduction area specifying unit 606 and a false color reduction area MAP creation unit 607 are provided as main components.

偽色指標算出部601には、図15に示されるエッジ強調部105から出力された高周波成分YH´と画質調整部106から出力された輝度成分Yとが加算された輝度成分Y´と、画質調整部504から出力されたCb色差成分、Cr色差成分が入力される。
偽色指標算出部601は、以下に示す(2),(3)式を用いて、YCbCr色空間の各成分をRGB色空間の各成分に変換する。
The false color index calculation unit 601 includes a luminance component Y ′ obtained by adding the high frequency component YH ′ output from the edge enhancement unit 105 and the luminance component Y output from the image quality adjustment unit 106 shown in FIG. The Cb color difference component and the Cr color difference component output from the adjustment unit 504 are input.
The false color index calculation unit 601 converts each component in the YCbCr color space into each component in the RGB color space using the following equations (2) and (3).

R=Y´+1.40200Cr (2)
B=Y´+1.77200Cb (3)
R = Y ′ + 1.40200Cr (2)
B = Y ′ + 1.77200 Cb (3)

そして、変換後の赤色成分画像及び青色成分画像を用いて、R−B色差成分の絶対値|R−B|を算出し、算出結果を第2偽色低減領域特定部602に出力する。   Then, using the converted red component image and blue component image, the absolute value | R−B | of the RB color difference component is calculated, and the calculation result is output to the second false color reduction area specifying unit 602.

第2偽色低減領域特定部602は、偽色指標算出部601から入力されたR−B色差成分の絶対値|R−B|を予め設定されている所定の値RmBTHと比較し、R−B色差成分の絶対値|R−B|が閾値RmBTHよりも小さいときに偽色低減領域の候補領域と特定し、この結果を偽色低減領域MAP作成部607に出力する。   The second false color reduction area specifying unit 602 compares the absolute value | RB | of the RB color difference component input from the false color index calculation unit 601 with a predetermined value RmBTH set in advance, and R− When the absolute value | R−B | of the B color difference component is smaller than the threshold value RmBTH, the false color reduction region candidate region is identified, and the result is output to the false color reduction region MAP creation unit 607.

他方、構造判定部603は、輝度成分Y´を用いて上述した第1の実施形態と同様の算出方法によって、注目画素の構造判定値thr´を算出し、この構造判定値thr´と予め設定されている所定の値slantTH´と比較し、所定の値slantTH´よりも大きな値の構造判定値thr´をもつ画素を抽出する。そして、抽出した画素については、フラグを1に設定し、抽出されなかった画素についてはフラグを0に設定する。   On the other hand, the structure determination unit 603 calculates the structure determination value thr ′ of the target pixel by using the luminance component Y ′ by the same calculation method as in the first embodiment described above, and sets the structure determination value thr ′ in advance. Compared with the predetermined value slantTH ′, a pixel having a structure determination value thr ′ larger than the predetermined value slantTH ′ is extracted. Then, the flag is set to 1 for the extracted pixels, and the flag is set to 0 for the pixels that are not extracted.

高周波取得部604は、構造判定部603から入力される各画素に与えられたフラグの状態を判別し、フラグが1であれば、バンドパスフィルタを用いたフィルタリング処理を実施した後、その画素値が負を示すものについては0にクリップし、それ以外、つまり除外領域であれば、画素値に0を設定し、処理後の輝度成分を安定化部605に出力する。   The high frequency acquisition unit 604 determines the state of the flag given to each pixel input from the structure determination unit 603. If the flag is 1, the pixel value is obtained after performing a filtering process using a bandpass filter. If it is negative, it is clipped to 0, and in other cases, that is, if it is an exclusion region, the pixel value is set to 0, and the processed luminance component is output to the stabilization unit 605.

安定化部605は、上述した第2の実施形態と同様に、例えば、ナイキスト周波数付近を制限する周波数特性を有するローパスフィルタを保有しており、このローパスフィルタを用いて、入力された輝度成分に対してフィルタリング処理を行う。フィルタリング処理後の輝度成分は、第1偽色低減領域特定部606に出力される。   Similar to the second embodiment described above, the stabilization unit 605 has a low-pass filter having a frequency characteristic that limits the vicinity of the Nyquist frequency, for example, and uses this low-pass filter to convert the input luminance component into the luminance component. A filtering process is performed on the image. The luminance component after the filtering process is output to the first false color reduction area specifying unit 606.

第1偽色低減領域特定部606は、安定化部605からの輝度成分において、各画素の画素値が所定の値よりも大きい画素を抽出し、この画素を偽色低減領域の候補領域と判断し、この判断結果を偽色低減領域MAP作成部607に出力する。   The first false color reduction region specifying unit 606 extracts a pixel having a pixel value larger than a predetermined value from the luminance component from the stabilization unit 605, and determines this pixel as a candidate region for the false color reduction region. The determination result is output to the false color reduction area MAP creation unit 607.

偽色低減領域MAP作成部607は、第1偽色低減領域特定部606及び第2偽色低減領域特定部602の両方において、偽色低減領域の候補領域であると特定された領域を偽色低減領域として特定し、それ以外の領域を除外領域として特定する。そして、偽色低減領域として判断した画素については信号値1が、除外領域として判断した画素については信号値0が書き込まれた偽色低減領域MAPを作成し、これをノイズ低減部506へ出力する。   The false color reduction area MAP creation unit 607 generates a false color for an area identified as a false color reduction area candidate area by both the first false color reduction area specification unit 606 and the second false color reduction area specification unit 602. The reduction area is specified, and the other areas are specified as exclusion areas. Then, a false color reduction area MAP in which the signal value 1 is written for the pixel determined as the false color reduction area and the signal value 0 is written for the pixel determined as the exclusion area is generated and output to the noise reduction unit 506. .

図17は、ノイズ低減部506の概略構成を示したブロック図である。本実施形態において、ノイズ低減部506は、2段構成の多重解像度ノイズ低減法を採用している。ノイズ低減部506において、第1フィルタリング部701、708は、入力信号を特定の周波数帯域に分解するために用いられる任意のローパスフィルタである。縮小処理部702,709は入力信号を1/4に縮小するダウンサンプリングを行う。拡大部703,710,715は、入力信号を4倍に拡大するアップサンプリング処理を行う。   FIG. 17 is a block diagram illustrating a schematic configuration of the noise reduction unit 506. In the present embodiment, the noise reduction unit 506 employs a two-stage multi-resolution noise reduction method. In the noise reduction unit 506, the first filtering units 701 and 708 are arbitrary low-pass filters used for decomposing an input signal into a specific frequency band. The reduction processing units 702 and 709 perform downsampling to reduce the input signal to ¼. The enlargement units 703, 710, and 715 perform upsampling processing for enlarging the input signal four times.

第2フィルタリング部704,711,716は、入力信号の帯域を落とすローパスフィルタである。減算器705は、第1フィルタリング部701,縮小処理部702,拡大部703,第2フィルタリング部704を経由することにより所定の処理が行われた画像信号と、第1フィルタリング部701に入力される画像信号との差分を算出して、方向フィルタ706に出力する。減算部712も第1フィルタリング部708に入力される画像信号と第2フィルタリング部711からの画像信号との差分を算出して方向フィルタ713に出力する。   The second filtering units 704, 711, and 716 are low-pass filters that reduce the bandwidth of the input signal. The subtractor 705 is input to the first filtering unit 701 through the first filtering unit 701, the reduction processing unit 702, the enlargement unit 703, and the second filtering unit 704, and the image signal that has undergone predetermined processing. The difference from the image signal is calculated and output to the direction filter 706. The subtraction unit 712 also calculates a difference between the image signal input to the first filtering unit 708 and the image signal from the second filtering unit 711 and outputs the difference to the directional filter 713.

方向フィルタ706、713は、入力された差分信号の方向判別を行い、判別した方向に沿って単一方向に近傍分散値から導き出される任意の強度で加重平均あるいは相加平均を行い、それぞれ、コアリング707、714へ出力する。コアリング707、714は方向フィルタからの入力信号に対して任意の閾値を用いてコアリング処理を行う。   The direction filters 706 and 713 determine the direction of the input difference signal, perform a weighted average or an arithmetic average with an arbitrary intensity derived from the neighborhood dispersion value in a single direction along the determined direction, Output to rings 707 and 714. The coring 707 and 714 performs coring processing using an arbitrary threshold value on the input signal from the directional filter.

加算器717は、第1フィルタリング部701からコアリング707に至る入力信号の高帯域をノイズ低減処理した信号と第1フィルタリング部708からコアリング714に至る入力信号の低帯域をノイズ低減処理した信号とを加算することでノイズ低減済み信号Y’Cb’Cr’を生成し、出力する。   The adder 717 performs noise reduction processing on the high band of the input signal from the first filtering unit 701 to the coring 707 and the signal obtained by noise reduction processing on the low band of the input signal from the first filtering unit 708 to the coring 714. Are added to generate and output a noise-reduced signal Y′Cb′Cr ′.

上記構成を備えるノイズ低減部506において、入力信号であるY、Cb、Crの各成分画像は、それぞれ独立して処理される。ここで、Cb,Crの成分画像を処理するときのみ、偽色低減領域特定部507から偽色低減領域MAPがCb,Crと並列に入力される。
ノイズ低減部506において、Cb,Crの成分画像が処理される場合には、縮小処理部709のみCb,Cr成分画像と同様に縮小処理を行い、それ以外のブロックでは方向フィルタ706、713まで偽色低減領域MAPに関して処理を行わない。方向フィルタ706、713において処理対象画素に対応した位置の偽色低減領域MAPを参照し、信号値が1:偽色の場合には、方向フィルタ706、713において行われる加重平均或いは相加平均の強度を強くして、ノイズ低減処理を行う。
In the noise reduction unit 506 having the above-described configuration, the Y, Cb, and Cr component images that are input signals are processed independently. Here, only when the Cb and Cr component images are processed, the false color reduction area MAP is input from the false color reduction area specifying unit 507 in parallel with Cb and Cr.
When the Cb and Cr component images are processed in the noise reduction unit 506, only the reduction processing unit 709 performs reduction processing in the same manner as the Cb and Cr component images. In other blocks, the direction filters 706 and 713 are false. No processing is performed for the color reduction area MAP. In the direction filters 706 and 713, the false color reduction area MAP at the position corresponding to the processing target pixel is referred to. When the signal value is 1: false color, the weighted average or arithmetic average performed in the direction filters 706 and 713 is performed. Increase the intensity and perform noise reduction processing.

これにより、偽色低減領域特定部507によって偽色低減領域として特定された領域に対しては、他の領域よりも強めのノイズ低減処理を実行することが可能となる。換言すれば、偽色低減領域として特定されなかった領域、例えば、偽色低減処理を実施してしまうと黒ずみが発生してしまう可能性の高い領域に関しては、弱めのノイズ低減処理を実行することにより、黒ずみの発生を防止することが可能となる。   As a result, it is possible to execute a stronger noise reduction process than the other areas for the area specified as the false color reduction area by the false color reduction area specifying unit 507. In other words, a weak noise reduction process is performed for an area that has not been specified as a false color reduction area, for example, an area where blackening is likely to occur when the false color reduction process is performed. This makes it possible to prevent the occurrence of darkening.

以上、説明してきたように、本実施形態に係る画像処理装置及び画像処理方法によれば、色の黒ずみを回避することができるとともに、色鮮鋭度を保ったまま斜め方向のエッジ付近に発生する偽色を低減することができる。   As described above, according to the image processing apparatus and the image processing method according to the present embodiment, it is possible to avoid darkening of the color and to occur near the edge in the oblique direction while maintaining the color sharpness. False colors can be reduced.

なお、本実施形態においては、ノイズ低減部506に、2段構成の多重解像度ノイズ低減法を適用した場合について説明したが、段数は2段に限られない。ここで、多重解像度の段数が多くなれば、より低帯域のノイズ低減処理も可能となり、また、偽色に関してもより低帯域の偽色を低減できるという利点がある。
また、ノイズ低減部506は、エッジに沿った単一方向へ平滑化する能力を持っていればよく、上述した多重解像度ノイズ低減法を採用する場合に限られない。
In the present embodiment, the case where the two-stage multi-resolution noise reduction method is applied to the noise reduction unit 506 has been described. However, the number of stages is not limited to two. Here, if the number of stages of multi-resolution increases, lower-band noise reduction processing can be performed, and there is an advantage that lower-band false colors can be reduced with respect to false colors.
Moreover, the noise reduction part 506 should just have the capability to smooth in the single direction along an edge, and is not restricted to the case where the multi-resolution noise reduction method mentioned above is employ | adopted.

また、上記実施形態においては、専用回路により各処理を実現する場合について述べたが、上述した第3の実施形態と同様、ソフトウェアによる処理で実現することも可能である。以下、本実施形態に係る偽色低減領域特定部507の処理手順を図18を参照して説明する。図18は、本実施形態に係る偽色低減領域特定部507の処理手順を示したフローチャートである。   In the above-described embodiment, the case where each process is realized by a dedicated circuit has been described. However, as in the third embodiment described above, the process can be realized by software. Hereinafter, the processing procedure of the false color reduction area specifying unit 507 according to the present embodiment will be described with reference to FIG. FIG. 18 is a flowchart showing a processing procedure of the false color reduction area specifying unit 507 according to this embodiment.

まず、YCbCr色空間で表されたY´,Cb,Crの各成分画像を上述した(2),(3)式を用いて、RGB色空間の各色成分画像に変換し(ステップS2000)、更に、R−B色差成分の絶対値|R−B|を求める(ステップS2001)。続いて、輝度成分Y´について、注目画素の周辺に位置する周辺画素の画素値を用いて構造判定値thr´を求め、所定の値slantTH´と比較し、除外領域を特定する(ステップS2002)。   First, Y ′, Cb, and Cr component images represented in the YCbCr color space are converted into RGB color space image components using the above-described equations (2) and (3) (step S2000), and further , The absolute value | RB | of the RB color difference component is obtained (step S2001). Subsequently, for the luminance component Y ′, a structure determination value thr ′ is obtained using pixel values of peripheral pixels located around the pixel of interest, and compared with a predetermined value slantTH ′ to specify an exclusion region (step S2002). .

次に、上記ステップS2002において、除外領域として特定されなかった領域に対しては、バンドパスフィルタによるフィルタリング処理を行うことで高周波信号を取得し、更に高周波信号が負数の画素値に関しては0でクリップする(ステップS2003)、一方、上記ステップS2002において、除外領域として特定された領域に関しては、フィルタリング処理を行うことなく、その画素値をゼロに設定する(ステップS2004)。   Next, in the above step S2002, a high-frequency signal is obtained by performing a filtering process using a band-pass filter for an area that has not been specified as an excluded area, and a high-frequency signal having a negative pixel value is clipped with 0. On the other hand, regarding the area specified as the excluded area in step S2002, the pixel value is set to zero without performing the filtering process (step S2004).

続くステップS2005では、エッジ方向判別を安定的に行うため、且つ、偽色低減を行う範囲を外側に広げるために、ステップS2003で得られた高周波信号に対して平滑化処理を行う。ステップS2006では、ステップS2005で平滑化した高周波信号が所定の値(例えば、0)よりも大きいか否か、かつ、ステップS2002で求めたR−B色差成分の絶対値|R−B|が所定の値RmBTH´よりも小さいかを判定することにより、偽色領域の判定を行う。この結果、ステップS2005で平滑化した高周波信号が所定の値よりも大きく、且つ、上記ステップS2002で求めたR−B色差成分の絶対値|R−B|が、所定の値RmBTH´よりも小さかった場合に、偽色低減領域MAPに偽色低減領域であることを示す1を設定する(ステップS2007)。一方、ステップS2006において、ステップS2005で平滑化した高周波信号が所定の値以下、又は、上記ステップS2002で求めたR−B色差成分の絶対値|R−B|が所定の値RmBTH´よりも大きかった場合には、偽色低減領域MAPに除外領域であることを示す0を設定する(ステップS2008)。そして、上記一連の処理を全ての画素に対して実行すると、作成した偽色低減領域MAPを出力する。   In subsequent step S2005, smoothing processing is performed on the high-frequency signal obtained in step S2003 in order to stably perform edge direction discrimination and to expand the range of false color reduction to the outside. In step S2006, whether or not the high-frequency signal smoothed in step S2005 is larger than a predetermined value (for example, 0), and the absolute value | R−B | of the RB color difference component obtained in step S2002 is predetermined. The false color area is determined by determining whether it is smaller than the value RmBTH ′. As a result, the high-frequency signal smoothed in step S2005 is larger than a predetermined value, and the absolute value | RB | of the RB color difference component obtained in step S2002 is smaller than the predetermined value RmBTH ′. In this case, 1 indicating the false color reduction area is set in the false color reduction area MAP (step S2007). On the other hand, in step S2006, the high-frequency signal smoothed in step S2005 is equal to or smaller than a predetermined value, or the absolute value | RB | of the RB color difference component obtained in step S2002 is larger than a predetermined value RmBTH ′. In the case where it is detected, 0 indicating the exclusion area is set in the false color reduction area MAP (step S2008). When the above-described series of processing is executed for all pixels, the created false color reduction area MAP is output.

以上、本発明の実施形態について図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、本発明の要旨を逸脱しない範囲の設計変更等も含まれる。   As mentioned above, although embodiment of this invention was explained in full detail with reference to drawings, the specific structure is not restricted to this embodiment, The design change etc. of the range which does not deviate from the summary of this invention are included.

本発明の第1の実施形態に係る撮像システムの全体構成を示すブロック図である。1 is a block diagram illustrating an overall configuration of an imaging system according to a first embodiment of the present invention. 図1に示した補間処理部の一構成例を示すブロック図である。It is a block diagram which shows one structural example of the interpolation process part shown in FIG. 図1に示した画質調整部の一構成例を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration example of an image quality adjustment unit illustrated in FIG. 1. 図1に示した偽色低減部の一構成例を示すブロック図である。It is a block diagram which shows one structural example of the false color reduction part shown in FIG. 構造判定部によって算出される構造評価値について説明するための図である。It is a figure for demonstrating the structure evaluation value calculated by the structure determination part. 除外領域と偽色低減領域とを説明するための図である。It is a figure for demonstrating an exclusion area | region and a false color reduction area | region. 高周波取得部によって用いられるバンドパスフィルタの一例を示した図である。It is the figure which showed an example of the band pass filter used by the high frequency acquisition part. エッジ方向判定部によって判定されるエッジ方向について説明するための図である。It is a figure for demonstrating the edge direction determined by the edge direction determination part. 本発明の第2の実施形態に係る画像処理装置が備える偽色低減部の一構成例を示すブロック図である。It is a block diagram which shows the example of 1 structure of the false color reduction part with which the image processing apparatus which concerns on the 2nd Embodiment of this invention is provided. 安定化部で用いられるローパスフィルタの一例を示した図である。It is the figure which showed an example of the low pass filter used by the stabilization part. 安定化部の作用について説明するための図である。It is a figure for demonstrating the effect | action of a stabilization part. 本発明の第3の実施形態に係る画像処理装置が備える偽色低減部の一構成例を示すブロック図である。It is a block diagram which shows the example of 1 structure of the false color reduction part with which the image processing apparatus which concerns on the 3rd Embodiment of this invention is provided. 色情報に基づいて偽色低減領域を判断した場合に、除外領域として特定される領域について説明するための図である。It is a figure for demonstrating the area | region specified as an exclusion area | region, when a false color reduction area | region is judged based on color information. 本発明の第3の実施形態に係る画像処理装置が備える偽色低減部の処理フローを示した図である。It is the figure which showed the processing flow of the false color reduction part with which the image processing apparatus which concerns on the 3rd Embodiment of this invention is provided. 本発明の第4の実施形態に係る撮像システムの全体構成を示すブロック図である。It is a block diagram which shows the whole structure of the imaging system which concerns on the 4th Embodiment of this invention. 図15に示した偽色低減領域判定部の一構成例を示したブロック図である。FIG. 16 is a block diagram illustrating a configuration example of a false color reduction area determination unit illustrated in FIG. 15. 図15に示したノイズ低減部の一構成例を示したブロック図である。FIG. 16 is a block diagram illustrating a configuration example of a noise reduction unit illustrated in FIG. 15. 本発明の第4の実施形態に係る画像処理装置が備える偽色低減領域判定部の処理フローを示した図である。It is the figure which showed the processing flow of the false color reduction area | region determination part with which the image processing apparatus which concerns on the 4th Embodiment of this invention is provided.

符号の説明Explanation of symbols

1 撮像システム
2 撮像部
3 画像処理装置
5 第1領域特定部
6 第2領域特定部
104,104A,104B 偽色低減部
301,601 偽色指標算出部
302 色差生成部
303,603 構造判定部
304,604 高周波取得部
305,602 第2偽色低減領域特定部
306,605 安定化部
307,606 第1偽色低減領域特定部
308 偽色低減領域決定部
309 エッジ方向判別部
310 色平滑化部
311 RGB生成部
506 ノイズ低減部
507 偽色低減領域特定部
607 偽色低減領域MAP作成部
DESCRIPTION OF SYMBOLS 1 Imaging system 2 Imaging part 3 Image processing apparatus 5 1st area | region specific part 6 2nd area | region specific part 104,104A, 104B False color reduction part 301,601 False color index calculation part 302 Color difference generation part 303,603 Structure determination part 304 , 604 High-frequency acquisition unit 305, 602 Second false color reduction region specifying unit 306, 605 Stabilization unit 307, 606 First false color reduction region specifying unit 308 False color reduction region determining unit 309 Edge direction determining unit 310 Color smoothing unit 311 RGB generation unit 506 Noise reduction unit 507 False color reduction region specifying unit 607 False color reduction region MAP creation unit

Claims (18)

カラー画像を構成する複数の色成分画像のうち、いずれかの色成分画像を用いて偽色低減領域を特定し、特定した該偽色低減領域に対して偽色低減処理を行う画像処理装置であって、
前記色成分画像の注目画素の周辺に位置する周辺画素の画素値を用いて、前記注目画素周辺がエッジが交差する領域であるか否か判定する構造判定を行い、前記注目画素周辺がエッジが交差する領域であると判定された場合に、前記注目画素周辺を偽色低減領域から除外する除外領域として特定する構造判定部と、
前記除外領域以外の領域において、斜め方向のエッジ領域を検出する高周波取得部と、
前記高周波取得部によって検出された斜め方向のエッジ領域から偽色低減領域を特定する偽色低減領域特定部と、
を具備する画像処理装置。
An image processing apparatus that specifies a false color reduction region using any one of a plurality of color component images constituting a color image, and performs false color reduction processing on the specified false color reduction region There,
Using the pixel values of peripheral pixels located around the pixel of interest in the color component image, a structure determination is performed to determine whether the periphery of the pixel of interest is an area where edges intersect, and the edge of the pixel of interest includes an edge A structure determination unit that identifies the area around the target pixel as an excluded area to be excluded from the false color reduction area when it is determined that the area intersects ;
In a region other than the exclusion region, a high-frequency acquisition unit that detects an edge region in an oblique direction;
A false color reduction region specifying unit for specifying a false color reduction region from an oblique edge region detected by the high frequency acquisition unit;
An image processing apparatus comprising:
前記高周波取得部は、前記除外領域以外の領域に対して斜め方向のエッジを検出する周波数特性を持つフィルタリング処理を施して高周波信号を得るとともに、前記除外領域に対しては前記フィルタリング処理を行うことなく前記偽色低減領域から除外する請求項1に記載の画像処理装置。   The high-frequency acquisition unit obtains a high-frequency signal by performing a filtering process having a frequency characteristic for detecting an edge in an oblique direction with respect to an area other than the excluded area, and performs the filtering process on the excluded area The image processing apparatus according to claim 1, wherein the image processing apparatus is excluded from the false color reduction area. 前記高周波取得部から出力される高周波信号に対して、ローパスフィルタを用いたフィルタリング処理を行い、処理後の前記高周波信号を出力する安定化部を備え、
前記偽色低減領域特定部は、前記安定化部から出力される前記高周波信号の値が所定の値以上である領域を偽色低減領域として特定する請求項1又は請求項2に記載の画像処理装置。
A high-frequency signal output from the high-frequency acquisition unit is subjected to a filtering process using a low-pass filter, and includes a stabilization unit that outputs the high-frequency signal after processing,
3. The image processing according to claim 1, wherein the false color reduction area specifying unit specifies an area in which a value of the high-frequency signal output from the stabilization unit is a predetermined value or more as a false color reduction area. apparatus.
前記高周波取得部から出力される高周波信号に対して、ローパスフィルタを用いたフィルタリング処理を行い、処理後の前記高周波信号を出力する安定化部と、
前記安定化部の出力に基づいてエッジ方向を判別するエッジ方向判別部と、
前記偽色低減領域の色差信号に対して前記エッジ方向に沿った色平滑化処理を行う色平滑化部と、
を具備する請求項1又は請求項2に記載の画像処理装置。
A stabilization unit that performs a filtering process using a low-pass filter on the high-frequency signal output from the high-frequency acquisition unit, and outputs the high-frequency signal after processing,
An edge direction determining unit that determines an edge direction based on an output of the stabilizing unit;
A color smoothing unit that performs a color smoothing process along the edge direction on the color difference signal of the false color reduction region;
The image processing apparatus according to claim 1, further comprising:
前記偽色低減領域特定部は、前記斜め方向のエッジ領域において前記高周波取得部から出力される前記高周波信号が所定の値以上である領域を偽色低減領域として特定する請求項1、請求項2及び請求項4の何れか1項に記載の画像処理装置。   The false color reduction region specifying unit specifies a region where the high frequency signal output from the high frequency acquisition unit is equal to or more than a predetermined value in the oblique edge region as a false color reduction region. And an image processing apparatus according to claim 4. 前記カラー画像を処理する色空間がRGB色空間である場合において、前記色成分画像は緑色成分画像であり、前記カラー画像を処理する色空間がYUVまたはYCbCr色空間の場合には、前記色成分画像は輝度成分画像である請求項1乃至請求項5の何れか1項に記載の画像処理装置。   When the color space for processing the color image is an RGB color space, the color component image is a green component image, and when the color space for processing the color image is a YUV or YCbCr color space, the color component image The image processing apparatus according to claim 1, wherein the image is a luminance component image. 前記安定化部によって用いられる前記ローパスフィルタは、ナイキスト周波数付近を制限する周波数特性を有するフィルタである請求項3又は請求項4に記載の画像処理装置。   The image processing apparatus according to claim 3, wherein the low-pass filter used by the stabilization unit is a filter having a frequency characteristic that limits the vicinity of the Nyquist frequency. カラー画像を構成する複数の色成分画像を用いて偽色低減領域を特定し、特定した該偽色低減領域に対して偽色低減処理を行う画像処理装置であって、
カラー画像を構成する複数の色成分画像のうち、少なくとも一つの色成分画像を用いて、偽色低減領域の候補領域を特定する第1領域特定部と、
カラー画像を構成する複数の色成分画像のうち、少なくとも一つの色成分画像を用いて、その色情報から偽色低減領域の候補領域を特定する第2領域特定部と、
前記第1領域特定部によって特定された前記偽色低減領域の候補領域と、前記第2領域特定部によって特定された前記偽色低減領域の候補領域とから、偽色低減領域を決定する偽色低減領域決定部と、
を具備し、
前記第1領域特定部は、
前記色成分画像の注目画素の周辺に位置する周辺画素の画素値を用いて、前記注目画素周辺がエッジが交差する領域であるか否かを判定する構造判定を行い、前記注目画素周辺がエッジが交差する領域であると判定された場合には前記注目画素周辺を前記偽色低減領域の候補領域から除外する除外領域として特定する構造判定部と、
前記除外領域以外の領域において、斜め方向のエッジ領域を検出する高周波取得部と、
前記高周波取得部によって検出された斜め方向のエッジ領域から偽色低減領域の候補領域を特定する第1偽色低減領域特定部と、
を具備する画像処理装置。
An image processing apparatus that identifies a false color reduction region using a plurality of color component images constituting a color image, and performs false color reduction processing on the identified false color reduction region,
A first region specifying unit that specifies a candidate region of a false color reduction region using at least one color component image among a plurality of color component images constituting the color image;
A second region specifying unit that specifies a candidate region of a false color reduction region from the color information using at least one of the plurality of color component images constituting the color image;
A false color for determining a false color reduction region from the candidate region for the false color reduction region specified by the first region specification unit and the candidate region for the false color reduction region specified by the second region specification unit A reduction area determination unit;
Equipped with,
The first area specifying unit includes:
Using the pixel values of peripheral pixels located around the pixel of interest in the color component image, a structure determination is performed to determine whether the periphery of the pixel of interest is an area where edges intersect, and the region around the pixel of interest is an edge Is determined to be an area that intersects, the structure determination unit that identifies the area around the target pixel as an excluded area to be excluded from the candidate area of the false color reduction area,
In a region other than the exclusion region, a high-frequency acquisition unit that detects an edge region in an oblique direction;
A first false color reduction region specifying unit for specifying a candidate region of the false color reduction region from the oblique edge region detected by the high frequency acquisition unit;
An image processing apparatus comprising:
前記高周波取得部は、前記除外領域以外の領域に対して斜め方向のエッジを検出する周波数特性を持つフィルタリング処理を施して高周波信号を得るとともに、前記除外領域に対しては前記フィルタリング処理を行うことなく前記偽色低減領域から除外する請求項8に記載の画像処理装置。   The high-frequency acquisition unit obtains a high-frequency signal by performing a filtering process having a frequency characteristic for detecting an edge in an oblique direction with respect to an area other than the excluded area, and performs the filtering process on the excluded area The image processing apparatus according to claim 8, wherein the image processing device is excluded from the false color reduction region. 前記第1領域特定部は、前記高周波取得部から出力される高周波信号に対して、ローパスフィルタを用いたフィルタリング処理を行い、処理後の前記高周波信号を出力する安定化部を備え、
前記第1偽色低減領域特定部は、前記安定化部から出力される前記高周波信号の値が所定の値以上である領域を前記偽色低減領域の候補領域として特定する請求項8又は請求項9に記載の画像処理装置。
The first region specifying unit includes a stabilization unit that performs a filtering process using a low-pass filter on the high-frequency signal output from the high-frequency acquisition unit and outputs the processed high-frequency signal.
The first false color reduction area specifying unit specifies an area in which a value of the high-frequency signal output from the stabilization unit is a predetermined value or more as a candidate area of the false color reduction area. The image processing apparatus according to 9.
前記カラー画像を処理する色空間がRGB色空間である場合において、前記第1領域特定部が用いる前記色成分画像は緑色成分画像であり、前記カラー画像を処理する色空間がYUVまたはYCbCr色空間の場合には、前記第1領域特定部が用いる前記色成分画像は輝度成分画像である請求項8乃至請求項10の何れか1項に記載の画像処理装置。   When the color space for processing the color image is an RGB color space, the color component image used by the first region specifying unit is a green component image, and the color space for processing the color image is a YUV or YCbCr color space. 11. The image processing apparatus according to claim 8, wherein the color component image used by the first region specifying unit is a luminance component image. 前記安定化部によって用いられる前記ローパスフィルタは、ナイキスト周波数付近を制限する周波数特性を有するフィルタである請求項10に記載の画像処理装置。   The image processing apparatus according to claim 10, wherein the low-pass filter used by the stabilization unit is a filter having a frequency characteristic that limits the vicinity of the Nyquist frequency. 前記第2領域特定部は、
いずれか二つの前記色成分画像の色差情報の絶対値を偽色指標として算出する偽色指標算出部と、
前記偽色指標が予め設定されている所定の値よりも小さい領域を前記偽色低減領域の候補領域として特定する第2偽色低減領域特定部と
を具備する請求項8から請求項12の何れか1項に記載の画像処理装置。
The second area specifying unit is
A false color index calculation unit that calculates the absolute value of the color difference information of any two color component images as a false color index;
The system according to any one of claims 8 to 12, further comprising a second false color reduction area specifying unit that specifies an area in which the false color index is smaller than a predetermined value set in advance as a candidate area for the false color reduction area. The image processing apparatus according to claim 1.
前記偽色指標算出部は、赤色成分画像と青色成分画像との色差情報の絶対値を前記偽色指標として算出する請求項13に記載の画像処理装置。   The image processing apparatus according to claim 13, wherein the false color index calculation unit calculates an absolute value of color difference information between a red component image and a blue component image as the false color index. カラー画像を構成する複数の色成分画像のうち、いずれかの色成分画像を用いて偽色低減領域を特定し、特定した該偽色低減領域に対して偽色低減処理を行う画像処理方法であって、
前記色成分画像の注目画素の周辺に位置する周辺画素の画素値を用いて、前記注目画素周辺がエッジが交差する領域であるか否か判定する構造判定を行い、前記注目画素周辺がエッジが交差する領域であると判定された場合に、前記注目画素周辺を偽色低減領域から除外する除外領域として特定する過程と、
前記除外領域以外の領域において、斜め方向のエッジ領域を検出する過程と、
検出された前記斜め方向のエッジ領域から偽色低減領域を特定する過程と、
を有する画像処理方法。
An image processing method for specifying a false color reduction region using any one of a plurality of color component images constituting a color image and performing false color reduction processing on the specified false color reduction region There,
Using the pixel values of peripheral pixels located around the pixel of interest in the color component image, a structure determination is performed to determine whether the periphery of the pixel of interest is an area where edges intersect, and the edge of the pixel of interest includes an edge When it is determined that the region is an intersecting region, a process of specifying the periphery of the target pixel as an excluded region excluded from the false color reduction region ;
In a region other than the excluded region, a process of detecting an edge region in an oblique direction;
Identifying a false color reduction region from the detected edge region in the oblique direction;
An image processing method.
カラー画像を構成する複数の色成分画像を用いて偽色低減領域を特定し、特定した該偽色低減領域に対して偽色低減処理を行う画像処理方法であって、
カラー画像を構成する複数の色成分画像のうち、少なくとも一つの色成分画像を用いて、偽色低減領域の第1の候補領域を特定する過程と、
カラー画像を構成する複数の色成分画像のうち、少なくとも一つの色成分画像を用いて、その色情報から偽色低減領域の第2の候補領域を特定する過程と、
前記第1の候補領域と前記第2の候補領域とから、偽色低減領域を決定する過程と
を有し、
前記第1の候補領域を特定する過程が、
前記色成分画像の注目画素の周辺に位置する周辺画素の画素値を用いて、前記注目画素周辺がエッジが交差する領域であるか否かを判定する構造判定を行い、前記注目画素周辺がエッジが交差する領域であると判定された場合には前記注目画素周辺を前記偽色低減領域の候補領域から除外する除外領域として特定する過程と、
前記除外領域以外の領域において、斜め方向のエッジ領域を検出する過程と、
検出された斜め方向のエッジ領域から偽色低減領域の第1の候補領域を特定する過程と、を含む画像処理方法。
An image processing method for specifying a false color reduction region using a plurality of color component images constituting a color image and performing a false color reduction process on the specified false color reduction region,
Identifying a first candidate area of a false color reduction area using at least one color component image among a plurality of color component images constituting a color image;
Using at least one color component image among a plurality of color component images constituting the color image, and identifying a second candidate region of the false color reduction region from the color information;
Determining a false color reduction region from the first candidate region and the second candidate region ,
Identifying the first candidate region comprises:
Using the pixel values of peripheral pixels located around the pixel of interest in the color component image, a structure determination is performed to determine whether the periphery of the pixel of interest is an area where edges intersect, and the region around the pixel of interest is an edge Is determined to be an excluded area to be excluded from the candidate area of the false color reduction area, if it is determined that the area intersects,
In a region other than the excluded region, a process of detecting an edge region in an oblique direction;
Identifying a first candidate area of the false color reduction area from the detected edge area in the oblique direction .
カラー画像を構成する複数の色成分画像のうち、いずれかの色成分画像を用いて偽色低減領域を特定し、特定した該偽色低減領域に対して偽色低減処理を行うための画像処理プログラムであって、
前記色成分画像の注目画素の周辺に位置する周辺画素の画素値を用いて、前記注目画素周辺がエッジが交差する領域であるか否か判定する構造判定を行い、前記注目画素周辺がエッジが交差する領域であると判定された場合に、前記注目画素周辺を偽色低減領域から除外する除外領域として特定する処理と、
前記除外領域以外の領域において、斜め方向のエッジ領域を検出する処理と、
検出された前記斜め方向のエッジ領域から偽色低減領域を特定する処理と
をコンピュータに実行させるための画像処理プログラム。
Image processing for specifying a false color reduction region using any one of a plurality of color component images constituting a color image and performing false color reduction processing on the specified false color reduction region A program,
Using the pixel values of peripheral pixels located around the pixel of interest in the color component image, a structure determination is performed to determine whether the periphery of the pixel of interest is an area where edges intersect, and the edge of the pixel of interest includes an edge When it is determined that the region intersects, a process of specifying the periphery of the target pixel as an exclusion region excluded from the false color reduction region ;
In a region other than the excluded region, a process of detecting an edge region in an oblique direction;
An image processing program for causing a computer to execute processing for identifying a false color reduction region from the detected edge region in the oblique direction.
カラー画像を構成する複数の色成分画像を用いて偽色低減領域を特定し、特定した該偽色低減領域に対して偽色低減処理を行うための画像処理プログラムであって、
カラー画像を構成する複数の色成分画像のうち、少なくとも一つの色成分画像の注目画素の周辺に位置する周辺画素の画素値を用いて、前記注目画素周辺がエッジが交差する領域であるか否かを判定する構造判定を行い、前記注目画素周辺がエッジが交差する領域であると判定された場合には前記注目画素周辺を前記偽色低減領域の候補領域から除外する除外領域として特定する処理と、
前記除外領域以外の領域において、斜め方向のエッジ領域を検出する処理と、
検出された斜め方向のエッジ領域から偽色低減領域の第1の候補領域を特定する処理と、
カラー画像を構成する複数の色成分画像のうち、少なくとも一つの色成分画像を用いて、その色情報から偽色低減領域の第2の候補領域を特定する処理と、
前記第1の候補領域と前記第2の候補領域とから、偽色低減領域を決定する処理と、
をコンピュータに実行させるための画像処理プログラム。
An image processing program for specifying a false color reduction area using a plurality of color component images constituting a color image and performing a false color reduction process on the specified false color reduction area,
Whether or not the periphery of the target pixel is an area where edges intersect by using pixel values of peripheral pixels positioned around the target pixel of at least one color component image among a plurality of color component images constituting the color image A process of determining whether or not the surrounding area of the target pixel is an area where edges intersect, and specifying the area around the target pixel as an excluded area to be excluded from the candidate area of the false color reduction area When,
In a region other than the excluded region, a process of detecting an edge region in an oblique direction;
A process of identifying a first candidate area of the false color reduction area from the detected oblique edge area;
A process of specifying a second candidate area of the false color reduction area from the color information using at least one color component image among a plurality of color component images constituting the color image;
A process of determining a false color reduction region from the first candidate region and the second candidate region ;
An image processing program for causing a computer to execute.
JP2008037908A 2008-02-19 2008-02-19 Image processing apparatus, method thereof, and program Expired - Fee Related JP4934839B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008037908A JP4934839B2 (en) 2008-02-19 2008-02-19 Image processing apparatus, method thereof, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008037908A JP4934839B2 (en) 2008-02-19 2008-02-19 Image processing apparatus, method thereof, and program

Publications (2)

Publication Number Publication Date
JP2009200635A JP2009200635A (en) 2009-09-03
JP4934839B2 true JP4934839B2 (en) 2012-05-23

Family

ID=41143703

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008037908A Expired - Fee Related JP4934839B2 (en) 2008-02-19 2008-02-19 Image processing apparatus, method thereof, and program

Country Status (1)

Country Link
JP (1) JP4934839B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5458906B2 (en) * 2010-01-21 2014-04-02 株式会社ニコン Image processing device
JP5677040B2 (en) * 2010-11-08 2015-02-25 キヤノン株式会社 Image processing apparatus and control method thereof
KR101241739B1 (en) 2011-07-12 2013-03-11 엘지이노텍 주식회사 Method of processing video, computer readable recording medium and device of processing video therefor
KR102009185B1 (en) 2013-01-10 2019-08-09 삼성전자 주식회사 Method for removing color fringe
JP6891014B2 (en) * 2017-03-22 2021-06-18 キヤノン株式会社 Image processing device, image processing method, and program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4035688B2 (en) * 2001-02-28 2008-01-23 セイコーエプソン株式会社 False color removal apparatus, false color removal program, false color removal method, and digital camera
JP4105942B2 (en) * 2002-12-20 2008-06-25 ペンタックス株式会社 Image processing device
JP2005167974A (en) * 2003-11-10 2005-06-23 Seiko Epson Corp Image processing method, image processing apparatus, image processing program, and semiconductor device

Also Published As

Publication number Publication date
JP2009200635A (en) 2009-09-03

Similar Documents

Publication Publication Date Title
JP4706635B2 (en) Image processing apparatus having color misregistration correction function, image processing program, and electronic camera
US8509533B2 (en) Image processing device and image processing method
JP5047048B2 (en) Image processing apparatus, imaging apparatus, control method, program, and storage medium
CN103202022B (en) Image processing device and control method thereof
EP1931130B1 (en) Image processing apparatus, image processing method, and program
JP3706789B2 (en) Signal processing apparatus and signal processing method
WO2013031367A1 (en) Image processing device, image processing method, and program
KR101389562B1 (en) Image signal processing apparatus and Method for the same
US20140125847A1 (en) Image processing apparatus and control method therefor
JP2013017142A (en) Image processing apparatus, imaging apparatus, image processing method, and program
JP4861667B2 (en) Image processing apparatus and image processing method
JP4934839B2 (en) Image processing apparatus, method thereof, and program
KR101600312B1 (en) Apparatus and method for processing image
JP2010268426A (en) Image processing apparatus, image processing method, and program
JP5907590B2 (en) Image processing apparatus, image processing method, and program
JP2015122634A (en) Image processing device, imaging apparatus, program and image processing method
KR101327790B1 (en) Image interpolation method and apparatus
US9401006B2 (en) Image processing apparatus, image processing method, and storage medium
KR20140006751A (en) Image signal processing apparatus and method for the same
JP5274697B2 (en) Image processing apparatus and image processing method
JP4945943B2 (en) Image processing device
JP5178421B2 (en) Image processing apparatus, image processing method, and imaging apparatus
JP6238673B2 (en) Image processing apparatus, imaging apparatus, imaging system, image processing method, image processing program, and storage medium
JP5963913B2 (en) Image processing apparatus, imaging apparatus, image processing method, and image processing program
JP4748278B2 (en) Interpolation processing apparatus and recording medium recording interpolation processing program

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20090925

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20090925

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101208

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111017

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111025

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111222

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120117

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120130

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150302

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 4934839

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150302

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees