JPH10275229A - Filtering device and method for color image - Google Patents

Filtering device and method for color image

Info

Publication number
JPH10275229A
JPH10275229A JP9079881A JP7988197A JPH10275229A JP H10275229 A JPH10275229 A JP H10275229A JP 9079881 A JP9079881 A JP 9079881A JP 7988197 A JP7988197 A JP 7988197A JP H10275229 A JPH10275229 A JP H10275229A
Authority
JP
Japan
Prior art keywords
component
achromatic
value
pixel
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.)
Pending
Application number
JP9079881A
Other languages
Japanese (ja)
Inventor
Itaru Furukawa
至 古川
Kunio Muraji
国男 連
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.)
Dainippon Screen Manufacturing Co Ltd
Original Assignee
Dainippon Screen Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dainippon Screen Manufacturing Co Ltd filed Critical Dainippon Screen Manufacturing Co Ltd
Priority to JP9079881A priority Critical patent/JPH10275229A/en
Publication of JPH10275229A publication Critical patent/JPH10275229A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a color image filtering device and method capable of relieving the burden of the arithmetic processing needed for the filter processing and also significantly accelerating the filter processing speed. SOLUTION: This filtering device is provided with an achromatic signal production part 20 which extracts achromatic components by applying the weighted mean to the value of pixels having the color components corresponding to each other to form a color image, a filter part 24 which extracts the achromatic component having the intermediate value as the central value among those achromatic components of pixels included in a filter area set on the color image, the subtraction processing parts 21, 22 and 23 which subtract the achromatic component value of an attentional pixel from the value of this attentional pixel that should filter every color component, and the addition processing part 25, 26 and which and the center value extracted at the part 24 to the calculated value of the parts 21 to 13. In such a constitution, the attentional pixel and the filter area are successively scanned on the color image and the noises are eliminated from an entire color image.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ポジ若しくはネ
ガ、または透過若しくは反射原稿のカラースキャン画
像、或いはデジタルカメラ等のカラーデジタル画像等の
カラー画像のフィルタリング装置およびフィルタリング
方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a filtering apparatus and a filtering method for a color image such as a color scan image of a positive or negative or transmissive or reflective original, or a color digital image of a digital camera or the like.

【0002】[0002]

【従来の技術】スキャナ等によって読み取ったカラー画
像には、読取原稿上の凹凸(粒状性)や、電気的なノイ
ズ等の影響により種々のノイズが含まれているのである
が、中でも、カラー画像を構成するR,G,B等の各色
成分の全てに混入したグレー成分等の無彩色成分のノイ
ズが特に目立ちやすい。
2. Description of the Related Art A color image read by a scanner or the like contains various kinds of noise due to the influence of irregularities (granularity) on a read document and electric noise. The noise of an achromatic component such as a gray component mixed into all of the respective color components such as R, G, B, etc., which constitutes the image, is particularly conspicuous.

【0003】また、カラー画像の輪郭強調処理では、各
色成分の単色画像から無彩色成分を抽出して作成された
無彩色画像に基づいて、ボケ画像を作成し、このボケ画
像中の各画素の画素値から対応する無彩色画像中の各画
素の画素値を減算処理することにより、輪郭強調信号を
生成するため、無彩色成分のノイズは、輪郭強調信号に
混入しやすく、輪郭強調処理によって強調されやすい。
[0003] In the outline enhancement processing of a color image, a blurred image is created based on an achromatic image created by extracting an achromatic component from a monochromatic image of each color component, and each pixel in the blurred image is created. Since the edge-enhancement signal is generated by subtracting the pixel value of each pixel in the corresponding achromatic image from the pixel value, noise of the achromatic component is easily mixed into the edge-enhancement signal, and is enhanced by the edge enhancement process. Easy to be.

【0004】このような無彩色成分のノイズを除去する
ための第1の従来技術としては、図12に示されるフィ
ルタリング装置がある。このフィルタリング装置は、カ
ラー画像を構成するR,G,Bの各色信号ごとにメディ
アンフィルタ1,2,3を設け、各色信号ごとに個別に
メディアンフィルタ処理を行うようになっている。
A first prior art for removing such achromatic color noise is a filtering device shown in FIG. In this filtering device, median filters 1, 2, and 3 are provided for each of R, G, and B color signals forming a color image, and median filter processing is individually performed for each color signal.

【0005】このメディアンフィルタとは、フィルタ処
理を行うべき注目画素を含むように、画像内にマトリク
ス状のフィルタ領域を設定し、そのフィルタ領域内の注
目画素の画素値として、マトリクス領域内に位置する複
数の画素の画素値のうちの中間値を採用することによっ
て、高周波成分のノイズの除去を行うものであり、注目
画素およびフィルタ領域を画像上で順次走査することに
よって、画像全体のノイズが除去されるようになってい
る。
[0005] The median filter is such that a matrix-like filter region is set in an image so as to include a target pixel to be subjected to filter processing, and a pixel value of the target pixel in the filter region is set in the matrix region. The noise of the high-frequency component is removed by adopting an intermediate value among the pixel values of a plurality of pixels to be processed. By sequentially scanning the pixel of interest and the filter area on the image, noise of the entire image is reduced. It has been removed.

【0006】このメディアンフィルタ処理におけるフィ
ルタ領域内での中間値の選出処理では、フィルタ領域内
に位置する全ての画素同士について画素値の大小比較を
行い、各画素の画素値を値が小さい順に並べ替え、その
序列の中間位置に位置する画素値を中間値とするという
並べ替え演算を行っており、このような並べ替え演算
は、処理に時間が掛かるという性質がある。
[0006] In the median filter processing, in the process of selecting an intermediate value in a filter area, pixel values of all pixels located in the filter area are compared with each other, and the pixel values of each pixel are arranged in ascending order of value. In this case, a rearrangement operation is performed in which a pixel value located at an intermediate position in the sequence is set as an intermediate value, and such a rearrangement operation has a property that processing takes time.

【0007】この他、第2の従来技術として、フィルタ
領域内に位置する画素の画素値を加重平均し、それによ
って得られた平均値を、そのフィルタ領域の中央部に位
置する注目画素の画素値として出力する画像フィルタ
を、前記メディアンフィルタ1,2,3の代わりにR,
G,Bの各色信号ごとに設けたフィルタリング装置があ
る。
In addition, as a second conventional technique, a pixel value of a pixel located in a filter area is weighted and averaged, and an average value obtained by the weighted averaging is used as a pixel of a pixel of interest located in the center of the filter area. Image filters that output values are replaced by R, R instead of the median filters 1, 2, 3.
There is a filtering device provided for each of the G and B color signals.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、第1の
従来技術のフィルタリング装置では、各色信号ごとに個
別にメディアンフィルタ処理を行うようになっているの
で、演算処理の負担が大きく、処理に多大な時間がかか
るという問題がある。処理時間を短縮する方法として、
例えば3倍の並列演算処理が可能な処理装置を採用する
方法が考えられるが、装置の高コスト化を招くという問
題がある。
However, in the filtering device of the first prior art, the median filter processing is performed individually for each color signal, so that the processing load is large and the processing is enormous. There is a problem that it takes time. As a method to shorten the processing time,
For example, a method that employs a processing device capable of performing three times the parallel arithmetic processing can be considered, but there is a problem that the cost of the device is increased.

【0009】また、第2の従来技術のフィルタリング装
置においても、各色信号ごとに個別にフィルタ処理を行
っているので、処理負担の大きい平均処理を各色信号ご
とに行わなければならず、フィルタ処理に多大な時間が
かかるという同様な問題がある。
Also, in the filtering device of the second prior art, since the filtering process is individually performed for each color signal, an averaging process having a large processing load must be performed for each color signal. There is a similar problem that it takes a lot of time.

【0010】本発明は、上記課題に鑑みてなされたもの
であって、フィルタ処理に要する演算処理の負担を軽減
し、フィルタ処理を大幅に高速化できるカラー画像のフ
ィルタリング装置およびフィルタリング方法を提供する
ことを目的とする。
The present invention has been made in view of the above problem, and provides a color image filtering apparatus and a filtering method capable of reducing the load of arithmetic processing required for filter processing and greatly speeding up the filter processing. The purpose is to:

【0011】[0011]

【課題を解決するための手段】上記目的を達成するため
の技術的手段は、複数の色成分の単色画像が重ね合わさ
れてなるカラー画像上に、フィルタ処理を行うべき注目
画素を含むように所定のフィルタ領域を設定し、そのフ
ィルタ領域内で前記注目画素についてフィルタ処理を行
うとともに前記注目画素および前記フィルタ領域を前記
カラー画像上で順次走査することによって、前記カラー
画像に含まれるノイズ成分を除去するカラー画像のフィ
ルタリング装置であって、前記各単色画像中の各画素の
画素値に基づき、各画素ごとに無彩色成分を抽出する無
彩色成分抽出手段と、前記フィルタ領域内に位置する画
素の前記無彩色成分の成分値に基づく所定のフィルタ処
理によって、このフィルタ領域内の画素の無彩色成分の
成分値を代表する代表値を抽出するフィルタ手段と、前
記各色成分の注目画素の画素値から、その注目画素の前
記無彩色成分抽出手段が抽出した無彩色成分の成分値を
減算する減算手段と、前記減算手段の算出値に、前記フ
ィルタ手段が抽出した前記代表値を加算する加算手段
と、を備えることを特徴とする。
The technical means for achieving the above object is to provide a color image obtained by superimposing a plurality of color component monochromatic images such that a target pixel to be subjected to a filtering process is included in the color image. By performing a filtering process on the target pixel in the filter region and sequentially scanning the target pixel and the filter region on the color image, a noise component included in the color image is removed. A color component filtering device for extracting an achromatic component for each pixel based on a pixel value of each pixel in each of the monochrome images; and By performing a predetermined filtering process based on the component values of the achromatic components, the component values of the achromatic components of the pixels in the filter area are represented. Filter means for extracting a table value; subtraction means for subtracting, from the pixel value of the pixel of interest of each color component, the component value of the achromatic component extracted by the achromatic component extraction means of the pixel of interest; Adding means for adding the representative value extracted by the filter means to the calculated value.

【0012】好ましくは、前記フィルタ手段は、前記フ
ィルタ領域内に位置する画素の前記無彩色成分の成分値
のうちから、このフィルタ領域内において値が中間の値
となる成分値を前記代表値として抽出するのがよい。
Preferably, the filter means sets, as the representative value, a component value having an intermediate value in the filter region among component values of the achromatic component of a pixel located in the filter region. Good to extract.

【0013】また、好ましくは、前記フィルタ手段は、
前記フィルタ領域内に位置する画素の前記無彩色成分の
成分値を平均して得た平均値を前記代表値として抽出す
るのがよい。
[0013] Preferably, the filter means includes:
It is preferable that an average value obtained by averaging the component values of the achromatic components of the pixels located in the filter region is extracted as the representative value.

【0014】さらに、好ましくは、前記無彩色成分抽出
手段は、互いに対応する前記各色成分の画素の画素値を
平均して無彩色成分を抽出するのがよい。
Further, preferably, the achromatic component extracting means extracts the achromatic component by averaging the pixel values of the pixels of the respective color components corresponding to each other.

【0015】また、上記目的を達成するための技術的手
段は、複数の色成分の単色画像が重ね合わされてなるカ
ラー画像上に、フィルタ処理を行うべき注目画素を含む
ように所定のフィルタ領域を設定し、そのフィルタ領域
内で前記注目画素についてフィルタ処理を行うとともに
前記注目画素および前記フィルタ領域を前記カラー画像
上で順次走査することによって、前記カラー画像に含ま
れるノイズ成分を除去するカラー画像のフィルタリング
方法であって、前記各単色画像中の各画素の画素値に基
づき、各画素ごとに無彩色成分を抽出する無彩色成分抽
出工程と、前記フィルタ領域内に位置する画素の前記無
彩色成分の成分値に基づく所定のフィルタ処理によっ
て、このフィルタ領域内の画素の無彩色成分の成分値を
代表する代表値を抽出するフィルタ工程と、前記各色成
分の注目画素の画素値から、その注目画素の前記無彩色
成分抽出工程で抽出した無彩色成分の成分値を減算する
減算工程と、前記減算工程の算出値に、前記フィルタ工
程で抽出した前記代表値を加算する加算工程と、を備え
ることを特徴とする。
[0015] Further, a technical means for achieving the above object is to form a predetermined filter area on a color image formed by superimposing a plurality of color component monochromatic images so as to include a target pixel to be filtered. Setting, performing a filtering process on the target pixel in the filter region and sequentially scanning the target pixel and the filter region on the color image, thereby removing a noise component included in the color image. A filtering method, wherein an achromatic component extracting step of extracting an achromatic component for each pixel based on a pixel value of each pixel in each of the monochromatic images, and the achromatic component of a pixel located in the filter area By performing a predetermined filtering process based on the component values of the components, a representative value representing the component values of the achromatic components of the pixels in the filter area is extracted. A filtering step, a subtraction step of subtracting, from the pixel value of the target pixel of each color component, the component value of the achromatic component extracted in the achromatic component extraction step of the target pixel, and a calculated value of the subtraction step, An adding step of adding the representative value extracted in the filtering step.

【0016】[0016]

【発明の実施の形態】本発明の実施の形態が適用される
装置の全体構成の一例について説明する。図1は、本発
明の実施の形態が適用される装置の全体構成を示す図で
ある。画像入力部100は、入力スキャナなどのように
カラー原稿を光学的に読み取り、カラーディジタル画像
データを生成する。そして生成された画像データは画像
処理部200に転送される。そして画像データは画像処
理部200において所定の処理が施された後に、出力ス
キャナなどのような画像出力部300に出力される。そ
して出力スキャナ300においては、フィルムなどの記
録媒体に対して記録される。なお、画像入力部100,
画像処理部200,および画像出力部300に対してオ
ペレータの所望の動作を行わせるために、操作入力部2
01と情報表示部202とが設けられている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An example of the overall configuration of an apparatus to which an embodiment of the present invention is applied will be described. FIG. 1 is a diagram showing an overall configuration of an apparatus to which an embodiment of the present invention is applied. The image input unit 100 optically reads a color original, such as an input scanner, and generates color digital image data. Then, the generated image data is transferred to the image processing unit 200. The image data is output to an image output unit 300 such as an output scanner after a predetermined process is performed in the image processing unit 200. In the output scanner 300, the image is recorded on a recording medium such as a film. Note that the image input unit 100,
In order to cause the image processing unit 200 and the image output unit 300 to perform an operation desired by the operator, the operation input unit 2
01 and an information display unit 202 are provided.

【0017】また、画像処理部200には、カラー画像
中に含まれるノイズを除去するためのフィルタリング部
210と、このフィルタリング部210を経たカラー画
像に対して輪郭強調処理を行う輪郭強調処理部220と
が設けられており、フィルタリング部210に対して本
発明の実施形態が適用されるようになっている。
The image processing unit 200 includes a filtering unit 210 for removing noise contained in the color image, and an outline emphasis processing unit 220 for performing an outline emphasis process on the color image that has passed through the filtering unit 210. Are provided, and the embodiment of the present invention is applied to the filtering unit 210.

【0018】次に、本発明の第1実施形態のカラー画像
のフィルタリング装置におけるフィルタ処理の概要を説
明する。まず、図2に示されるように、カラー画像10
を構成するR,G,Bの各色成分の単色画像10a,1
0b,10c上に、フィルタ処理を行うべき各色成分の
注目画素OPa,OPb,OPcを中心部に含むように
(2m+1)×(2n+1)、ここでは3×3のマトリ
クス状のフィルタ領域Fを設定し、そのフィルタ領域F
内に位置する各色成分の画素の画素値に基づいて無彩色
成分を抽出する。
Next, an outline of the filtering process in the color image filtering apparatus according to the first embodiment of the present invention will be described. First, as shown in FIG.
, A single-color image 10a, 1 of each color component of R, G, B
(2m + 1) × (2n + 1), in this case, a 3 × 3 matrix filter area F is set on 0b and 10c so as to include the target pixels OPa, OPb and OPc of each color component to be subjected to the filter processing at the center. And the filter area F
The achromatic color component is extracted based on the pixel value of the pixel of each color component located inside the achromatic color component.

【0019】この無彩色成分の抽出は、各色成分の互い
に対応する画素の画素値Dr,Dg,Dbに、それぞれ
重み係数Ar,Ag,Abを掛けて、
The achromatic color component is extracted by multiplying the pixel values Dr, Dg, Db of the pixels corresponding to each color component by weighting factors Ar, Ag, Ab, respectively.

【0020】[0020]

【数1】 (Equation 1)

【0021】のように加重平均し、各画素ごとに無彩色
成分の成分値Dを求めることによって行われる。なお、
ここでは、Ar,Ag,Abは1に設定されており、数
1の平均値は実質的に単純平均の値となっている。この
明細書で単に「平均」と言うときは、加重平均および単
純平均の双方を含む概念を指している。
The weighted averaging is performed as described above to obtain a component value D of an achromatic component for each pixel. In addition,
Here, Ar, Ag, and Ab are set to 1, and the average value of Expression 1 is substantially a simple average value. The term “average” in this specification refers to a concept that includes both weighted average and simple average.

【0022】このようにしてフィルタ領域F内の画素の
無彩色成分を順次抽出してゆき、設定されているフィル
タ領域F内の全ての画素について無彩色成分の抽出が行
われると、そのフィルタ領域F内に位置する画素の無彩
色成分の成分値Dのうちから、中間の値を持つものを代
表値D’として選出する。
As described above, the achromatic components of the pixels in the filter area F are sequentially extracted. When the achromatic components are extracted from all the pixels in the set filter area F, the filter area is extracted. Among the component values D of the achromatic components of the pixels located in F, one having an intermediate value is selected as a representative value D ′.

【0023】そして、フィルタ処理を行うべき各色成分
の注目画素OPa,OPb,OPcの画素値Dr,D
g,Dbからこの注目画素OPa,OPb,OPcの無
彩色成分の成分値Dを減算し、その演算結果に、注目画
素OPa,OPb,OPcを含むフィルタ領域F内の画
素の無彩色成分の代表値D’を加算することによって、
注目画素OPa,OPb,OPcのノイズ、特に無彩色
成分のノイズが除去される。なお、実際にどのようにし
てノイズ除去が行われるかについては、図6ないし図8
に基づいて後述する。
The pixel values Dr, D of the target pixels OPa, OPb, OPc of each color component to be subjected to the filtering process
The component value D of the achromatic component of the target pixel OPa, OPb, OPc is subtracted from g, Db, and the result of the operation is represented by the representative of the achromatic component of the pixel in the filter region F including the target pixel OPa, OPb, OPc. By adding the value D ',
Noise of the pixels of interest OPa, OPb, OPc, particularly noise of achromatic components, is removed. FIGS. 6 to 8 show how the noise removal is actually performed.
Will be described later.

【0024】1個の注目画素OPa,OPb,OPcに
ついてのフィルタ処理が終了すると、注目画素OPa,
OPb,OPcおよびフィルタ領域Fを、図2に示され
るように、各単色画像10a,10b,10c上で順次
走査し、各単色画像10a,10b,10c内の全ての
画素について同様に前述のようなフィルタ処理を行うこ
とによって、カラー画像10全体のノイズ成分が除去さ
れるようになっている。即ち、本発明の特徴点は、R,
G,Bの各色成分の画素値から無彩色成分を抽出し、そ
の抽出した無彩色成分の成分値に基づいてフィルタ処理
を行う点にある。
When the filtering process for one target pixel OPa, OPb, OPc is completed, the target pixel OPa, OPb
OPb, OPc, and the filter area F are sequentially scanned on the single-color images 10a, 10b, and 10c, as shown in FIG. 2, and all the pixels in the single-color images 10a, 10b, and 10c are similarly scanned as described above. By performing an appropriate filtering process, a noise component of the entire color image 10 is removed. That is, the feature of the present invention is that R,
An achromatic color component is extracted from the pixel values of the G and B color components, and a filtering process is performed based on the extracted achromatic component values.

【0025】図3は、本発明の第1実施形態のカラー画
像のフィルタリング装置の電気的構成を示すブロック図
である。このフィルタリング装置への入力信号は、単色
画像10a,10b,10cを構成する各画素の画素値
を示すR,G,Bの色信号であり、各色成分の互いに対
応する画素の色信号が、無彩色信号生成部20(無彩色
成分抽出手段)、および各色信号ごとに設けられた減算
処理部(減算手段)21,22,23に順次入力される
ようになっている。
FIG. 3 is a block diagram showing the electrical configuration of the color image filtering apparatus according to the first embodiment of the present invention. The input signals to the filtering device are R, G, and B color signals indicating the pixel values of each pixel constituting the single-color images 10a, 10b, and 10c. The signals are sequentially input to a chromatic signal generation unit 20 (achromatic component extraction unit) and subtraction processing units (subtraction units) 21, 22, and 23 provided for each color signal.

【0026】無彩色信号生成部20は、入力された各色
信号R,G,Bの信号値(画素値)を前述のように加重
平均することにより無彩色信号Sを生成し、その生成し
た無彩色信号Sのうちのフィルタ処理を行うべき注目画
素OPa,OPb,OPcの無彩色信号Sを減算処理部
21,22,23に出力するとともに、注目画素OP
a,OPb,OPcを含むフィルタ領域F内の全画素の
無彩色信号Sをフィルタ部24に出力する。即ち、無彩
色信号生成部20からフィルタ部24へは、図4に示さ
れるように、フィルタ領域F内の9個の画素の無彩色信
号Sijが順次出力され、減算処理部21,22,23へ
は9個の信号Sijのうちの注目画素OPa,OPb,O
Pcの無彩色信号S22が出力されるようになっている。
ここで、無彩色信号Sの信号値は、無彩色成分の前記成
分値Dを示している。
The achromatic signal generator 20 generates an achromatic signal S by weighting and averaging the signal values (pixel values) of the input color signals R, G, and B as described above. The achromatic signal S of the target pixels OPa, OPb, and OPc to be subjected to the filtering process in the chromatic signal S is output to the subtraction processing units 21, 22, 23, and the target pixel OP
The achromatic signal S of all pixels in the filter area F including a, OPb, and OPc is output to the filter unit 24. That is, as shown in FIG. 4, the achromatic signal S ij of nine pixels in the filter area F is sequentially output from the achromatic signal generation unit 20 to the filter unit 24, and the subtraction processing units 21, 22, 23, the target pixels OPa, OPb, O of the nine signals S ij
Achromatic signal S 22 of the Pc is to be outputted.
Here, the signal value of the achromatic signal S indicates the component value D of the achromatic component.

【0027】各減算処理部21,22,23は、注目画
素OPa,OPb,OPcについてその色信号R,G,
Bからその無彩色信号Sを減算処理することにより、各
色成分に対応した信号r,g,bを生成し、各色成分ご
とに設けられた対応する加算処理部25,26,27
(加算手段)に出力する。ここで、信号r,g,bの信
号値は、色信号R,G,Bの信号値から無彩色信号Sの
信号値を減算した値となっている。
Each of the subtraction processing units 21, 22, and 23 outputs a color signal R, G,
By subtracting the achromatic signal S from B, signals r, g, b corresponding to each color component are generated, and the corresponding addition processing units 25, 26, 27 provided for each color component.
(Adding means). Here, the signal values of the signals r, g, b are values obtained by subtracting the signal value of the achromatic signal S from the signal values of the color signals R, G, B.

【0028】一方、フィルタ部24は、入力された9個
の無彩色信号Sijの信号値sijの大小比較を行い、その
9個の信号Sijの信号値sijを、図5に示されるよう
に、値が小さい順に並べ替え、その序列の中間位置に位
置する信号値sijを代表値D’として抽出し、その代表
値D’を信号値として有する信号S’を各加算処理部2
5,26,27に出力する。
On the other hand, the filter unit 24 performs a magnitude comparison between the signal value s ij of the nine achromatic signal S ij input, a signal value s ij of the nine signal S ij, shown in FIG. 5 So that the signal value s ij located at the middle position of the sequence is extracted as a representative value D ′, and the signal S ′ having the representative value D ′ as a signal value is added to each addition processing unit. 2
5, 26, 27.

【0029】各加算処理部25,26,27は、減算処
理部21,22,23およびフィルタ部24から注目画
素OPa,OPb,OPcについての信号r,g,bお
よび信号S’が入力されると、各信号r、g、bの信号
値に信号S’の信号値を加算し、その演算結果を信号値
として有するノイズ除去済みの色信号R’,G’,B’
を外部に出力する。
Each of the addition units 25, 26, 27 receives the signals r, g, b and the signal S 'for the target pixel OPa, OPb, OPc from the subtraction units 21, 22, 23 and the filter unit 24. And the noise-removed color signals R ′, G ′, B ′ having the signal value of the signal S ′ added to the signal values of the signals r, g, b, and having the operation result as the signal value.
Is output to the outside.

【0030】このように、1個の注目画素OPa,OP
b,OPcの色信号R,G,Bについてのフィルタ処理
が終了すると、注目画素OPa,OPb,OPcおよび
フィルタ領域Fが順次更新され、カラー画像10内の全
画素についてノイズ除去が行われる。また、ノイズ除去
された色信号R’,G’,B’は、後述する輪郭強調処
理部220に順次入力されるようになっている。
As described above, one attention pixel OPa, OP
When the filtering process on the color signals R, G, B of b, OPc is completed, the target pixels OPa, OPb, OPc and the filter area F are sequentially updated, and noise removal is performed on all the pixels in the color image 10. The color signals R ′, G ′, and B ′ from which noise has been removed are sequentially input to an outline emphasis processing unit 220 described later.

【0031】このような構成のフィルタリング装置にお
いて、1つの画素について何度も無彩色信号Sを生成す
るという無駄を省くために、無彩色信号生成部20に2
n+1ライン、ここでは3ライン分の画素の無彩色成信
号Sを記憶できるメモリを、無彩色信号生成部20に設
け、フィルタ部24がフィルタ処理を行うべきフィルタ
領域F内の画素の無彩色信号Sをこの無彩色信号生成部
24のメモリ内から順次読み出すようにしてもよい。そ
して、これに対応して、減算処理部21,22,23か
ら出力される信号r,g,b等と、フィルタ部24から
出力される信号S’との同期を取るために、減算処理部
21,22,23と加算処理部25,26,27との間
等に、遅延処理部を設けるようにしてもよい。
In the filtering device having such a configuration, the achromatic signal generation unit 20 is provided with two filters in order to eliminate the waste of generating the achromatic signal S for one pixel many times.
The achromatic signal generation unit 20 is provided with a memory capable of storing the achromatic color formation signals S of the pixels of the (n + 1) th line, here three lines, and the achromatic signal of the pixels in the filter region F where the filter unit 24 is to perform the filtering process. S may be sequentially read out from the memory of the achromatic signal generator 24. Correspondingly, in order to synchronize the signals r, g, b, etc. output from the subtraction processing units 21, 22, 23 and the signal S ′ output from the filter unit 24, the subtraction processing unit A delay processing unit may be provided between 21, 22, 23 and the addition processing units 25, 26, 27, and the like.

【0032】次に、図6ないし図8に基づいて、本実施
形態によるフィルタ処理によって各注目画素OPa,O
Pb,OPcのノイズが除去される様子を説明する。図
6(a)はフィルタ処理を行おうとしている各色成分の
注目画素OPa,OPb,OPcの色信号R,G,Bを
示しており、図6(b)は減算処理部21,22,23
から出力される信号r,g,bを示しており、図6
(c)は加算処理部25,26,27から出力されるノ
イズ除去済みの色信号R’,G’,B’を示している。
図7は、無彩色信号生成部20が生成したフィルタ領域
F内の各画素の無彩色信号Sijを示している。
Next, based on FIG. 6 to FIG. 8, each target pixel OPa, O
The manner in which the noise of Pb and OPc is removed will be described. FIG. 6A shows the color signals R, G, and B of the target pixels OPa, OPb, and OPc of the respective color components to be subjected to the filter processing, and FIG. 6B shows the subtraction processing units 21, 22, 23.
6 show signals r, g, and b output from FIG.
(C) shows the color signals R ′, G ′, and B ′ from the addition processing units 25, 26, and 27 from which noise has been removed.
FIG. 7 shows the achromatic signal S ij of each pixel in the filter area F generated by the achromatic signal generation unit 20.

【0033】図6(a)に示されるように、注目画素O
Pa,OPb,OPcの色信号R,G,Bにグレイ成分
等の無彩色成分のノイズ成分Nr,Ng,Nbが含まれ
ていると、このノイズ成分Nr,Ng,Nbの影響によ
り、図7に示されるように、注目画素OPa,OPb,
OPcの無彩色信号S22にもノイズ成分Nが含まれるこ
ととなり、その信号値s22がノイズを含んでいない周辺
画素の無彩色信号Sijの信号値sijから大きく外れた値
となる。このため、注目画素OPa,OPb,OPcの
無彩色信号の信号値S22は、フィルタ部24による代表
値の抽出処理で抽出されることなく、除外され、フィル
タ領域F内の他の画素の適正な無彩色信号Sijの信号値
ij、例えば信号S13の信号値s13が代表値D’として
抽出される。
As shown in FIG. 6A, the target pixel O
If the color signals R, G, and B of Pa, OPb, and OPc include noise components Nr, Ng, and Nb of achromatic components such as gray components, the noise components Nr, Ng, and Nb cause the noise components in FIG. As shown in the figure, the target pixels OPa, OPb,
Also it becomes possible to include noise components N achromatic signal S 22 of OPc, a large outlier from the signal values s ij of the achromatic signal S ij of the surrounding pixels whose signal value s 22 contains no noise. Thus, the pixel of interest OPa, OPb, the signal value S 22 of the achromatic signal OPc, without being extracted in the extraction process of the representative value by the filter unit 24, are excluded, proper other pixels in the filter region F a signal value s ij of the achromatic signal S ij, for example, the signal value s 13 of the signal S 13 is extracted as the representative value D '.

【0034】そして、図6(a)の色信号R,G,Bか
ら図7中の注目画素OPa,OPb,OPcの無彩色信
号S22を減算処理すると、図6(b)の信号r,g,b
が得られ、この図6(b)の信号r,g,bに、代表値
D’を信号値とする信号S’、ここでは信号S13を加算
処理すると、図6(c)に示されるノイズが除去された
色信号R’,G’,B’が得られるようになっている。
[0034] The color signals R, G, the pixel of interest in FIG. 7 B OPa in FIG 6 (a), OPb, when subtraction processing achromatic signal S 22 of the OPc, signal r of FIG. 6 (b), g, b
FIG. 6C shows the result of adding a signal S ′ having a representative value D ′, that is, a signal S 13 in this case, to the signals r, g, and b in FIG. 6B. The color signals R ′, G ′, B ′ from which noise has been removed are obtained.

【0035】見方を変えると、処理部21,22,23
の減算処理および25,26,27の加算処理では、図
8に示されるように、ノイズ成分Nを含んだ無彩色信号
22からノイズを含んでいない周辺画素の無彩色信号S
ij(例えばS13)を減算処理することによって、ノイズ
成分Nを抽出し、この抽出したノイズ成分Nを図6
(a)の色信号R,G,Bから減算処理していると言え
る。
In other words, the processing units 21, 22, 23
In the subtraction processing and addition processing of 25, 26 and 27, as shown in FIG. 8, achromatic signal S of the peripheral pixels including the noise component N from the achromatic signal S 22 does not include the noise
ij (for example, S 13 ), a noise component N is extracted, and the extracted noise component N is
It can be said that the subtraction processing is performed from the color signals R, G, and B in (a).

【0036】なお、厳密には、無彩色信号Sijに含まれ
ているノイズ成分Nの値は、各色信号R,G,Bに含ま
れているノイズ成分Nr,Ng,Nbの前記数1の平均
式に対応した平均値であるが、図面上では、簡単化のた
めに各ノイズ成分N,Nr,Ng,Nbの値は同一の値
として取り扱っている。
Strictly speaking, the value of the noise component N included in the achromatic signal S ij is the value of the noise component Nr, Ng, Nb included in each of the color signals R, G, B. Although the average value corresponds to the average expression, in the drawing, the values of the noise components N, Nr, Ng, and Nb are treated as the same value for simplification.

【0037】次に、3成分の色信号R,G,Bのうちの
1または2成分の色信号R,G,Bにのみノイズが混入
している場合について説明する。図9に示されるよう
に、注目画素OPa,OPb,OPcの色信号R,G,
Bのうちの色信号Bのみにノイズ成分Nbが含まれてい
る場合、その注目画素OPa,OPb,OPcの無彩色
信号S22には、ノイズ成分Nbの影響により、図9
(b)に示されるようにノイズ成分N’が含まれること
となる。ここで、ノイズ成分N’の値n’は、ノイズ成
分Nbの3分の1の値となっている。
Next, a case where noise is mixed in only one or two component color signals R, G, B of the three component color signals R, G, B will be described. As shown in FIG. 9, the color signals R, G,
If it contains noise component Nb only the color signal B of B, the target pixel OPa, OPb, the achromatic signal S 22 of OPc, due to the influence of the noise component Nb, 9
As shown in (b), the noise component N 'is included. Here, the value n ′ of the noise component N ′ is one third of the noise component Nb.

【0038】そして、前述の減算および加算処理によ
り、このノイズ成分N’を抽出して、図9(a)の色信
号R,G,Bから減算処理すると、図9(c)に示され
るような色信号R’,G’,B’が得られる。この色信
号R’,G’,B’うち、色信号B’に関しては、色信
号B’に含まれるノイズ成分Nb’が元のノイズ成分N
bのおよそ3分の2の値となり、ノイズの影響が改善さ
れているが、もともとノイズを含んでいない色信号
R’,G’に関しては、ノイズ成分N’の減算処理の結
果、色信号R’,G’の信号値が、本来の値からノイズ
成分N’の値n’だけ外れてしまっている。
Then, the noise component N 'is extracted by the above-described subtraction and addition processing, and is subtracted from the color signals R, G, and B of FIG. 9A, as shown in FIG. 9C. Color signals R ', G', B 'are obtained. Among the color signals R ', G', and B ', regarding the color signal B', the noise component Nb 'included in the color signal B' is replaced with the original noise component Nb.
b is about two-thirds of the value, and the influence of noise is improved. However, as for the color signals R ′ and G ′ which originally do not include noise, the color signal R ′ is obtained as a result of the subtraction processing of the noise component N ′. The signal values of 'and G' deviate from the original values by the value n 'of the noise component N'.

【0039】しかし、この図9(c)の色信号R’,
G’,B’に基づいて、前記数1の平均処理により、図
9(d)に示すように、無彩色信号S22’を生成する
と、図9(c)の色信号B’中のノイズ成分Nb’の値
nb’と、色信号R’,G’の信号値の減少分n’が相
殺され、ノイズ成分が除去された適正な無彩色信号
22’が得られるようになっている。
However, the color signals R ',
As shown in FIG. 9D, when the achromatic signal S 22 ′ is generated as shown in FIG. 9D based on G ′ and B ′, the noise in the color signal B ′ of FIG. and 'value nb' of components Nb, color signals R ', G' decrement n signal values 'are canceled, an appropriate achromatic signal noise component is removed S 22' is made so as to obtain .

【0040】このため、輪郭強調処理部220で図9
(c)の色信号R’,G’,B’に基づいて生成される
無彩色信号には、図9(a)の色信号Bに含まれるノイ
ズ成分Nbが混入することなく、よって、3成分の色信
号R,G,Bのうちの1または2成分の色信号R,G,
Bにのみノイズが混入している場合にも、輪郭強調処理
部220によってノイズが強調されることもない。した
がって、本実施形態のフィルタリング装置の無彩色成分
抽出処理における色信号の混合比と、輪郭強調処理部2
20の無彩色成分抽出処理における色信号の混合比とが
同一であることが望ましい。
For this reason, the outline emphasis processing section 220 performs the processing shown in FIG.
The achromatic signal generated based on the color signals R ′, G ′, and B ′ of FIG. 9C does not contain the noise component Nb included in the color signal B of FIG. One or two of the component color signals R, G, B,
Even when noise is mixed only into B, the noise is not enhanced by the outline enhancement processing unit 220. Therefore, the mixing ratio of the color signals in the achromatic color component extraction processing of the filtering device of the present embodiment and the contour enhancement processing unit 2
It is desirable that the mixing ratio of the color signals in the achromatic component extraction processing of No. 20 is the same.

【0041】以上のように、本実施形態によれば、カラ
ー画像10に含まれたノイズ、特に無彩色成分のノイズ
を除去できるとともに、R,G,Bの各色成分から無彩
色成分を抽出し、フィルタ処理において処理負担の大き
い中間値の抽出処理を無彩色成分の成分値Dに基づいて
行うようにしてあるので、図12の従来例のようにR,
G,Bの各色成分ごとに個別にメディアンフィルタ処理
を行う場合に比べて、演算処理の負担を大幅に軽減する
ことができ、フィルタ処理を3倍近く高速化することが
できる。
As described above, according to the present embodiment, the noise contained in the color image 10, particularly the noise of the achromatic component, can be removed, and the achromatic component is extracted from the R, G, B color components. In the filter processing, the extraction of the intermediate value having a large processing load is performed based on the component value D of the achromatic color component.
Compared to the case where the median filter processing is individually performed for each of the G and B color components, the load of the arithmetic processing can be greatly reduced, and the speed of the filter processing can be nearly tripled.

【0042】また、無彩色成分のノイズが除去されてい
るので、輪郭強調処理部220での輪郭強調処理により
ノイズが強調されてしまうことはない。
Since the noise of the achromatic component has been removed, the noise is not emphasized by the outline emphasis processing in the outline emphasis processing section 220.

【0043】さらに、フィルタ部24は、フィルタ領域
F内の画素の無彩色成分の成分値Dから中間の値の成分
値Dを代表値D’として抽出するメディアンフィルタ処
理によって代表値D’を抽出しているので、フィルタ処
理によるカラー画像10のボケを防止しつつ、ノイズ除
去を行うことができる。
Further, the filter unit 24 extracts a representative value D 'by a median filter process for extracting an intermediate component value D as a representative value D' from the achromatic component values D of the pixels in the filter area F. Accordingly, noise can be removed while preventing blurring of the color image 10 due to the filter processing.

【0044】また、R,G,Bの各色成分の画素値を平
均することによって無彩色成分を抽出しているので、カ
ラー画像に含まれているノイズに応じて単純平均とした
り、また加重平均を採用して、各色成分の画素値に掛け
る重み係数Ar,Ag,Abを変化させることにより無
彩色成分を抽出することができ、いろいろな種類のノイ
ズの除去に対応することができる。
Since the achromatic component is extracted by averaging the pixel values of each of the R, G, and B color components, a simple averaging or a weighted averaging is performed according to the noise included in the color image. The achromatic color component can be extracted by changing the weighting factors Ar, Ag, and Ab multiplied by the pixel value of each color component, and can cope with the removal of various types of noise.

【0045】次に、本発明の第2実施形態のフィルタリ
ング装置について説明する。本実施形態のフィルタリン
グ装置は、前述の図3のフィルタリング装置のフィルタ
部24の代わりに、フィルタ領域F内の画素の無彩色成
分の成分値を平均することにより、代表値D’を抽出す
るフィルタ部を採用する点を除いて、前述のフィルタリ
ング装置と同様であり、対応する部分は同一の参照部号
を付して図示および説明を省略する。
Next, a filtering device according to a second embodiment of the present invention will be described. The filtering device of the present embodiment is a filter that extracts a representative value D ′ by averaging the component values of the achromatic components of the pixels in the filter area F instead of the filter unit 24 of the filtering device of FIG. Except that a unit is adopted, it is the same as the above-described filtering device, and the corresponding parts are denoted by the same reference characters and their illustration and description are omitted.

【0046】本実施形態のフィルタ部は、無彩色信号生
成部20から入力された(2m+1)×(2n+1)の
フィルタ領域F内の画素の無彩色信号Sijを平均するこ
とによって無彩色成分の代表値D’を抽出し、その代表
値D’を信号値として有する信号S’を各加算処理部2
5,26,27に出力するようになっている。
The filter unit of the present embodiment averages the achromatic signal S ij of the pixels in the (2m + 1) × (2n + 1) filter area F input from the achromatic signal generation unit 20 to obtain the achromatic component. A representative value D ′ is extracted, and a signal S ′ having the representative value D ′ as a signal value is added to each addition processing unit 2.
5, 26, 27.

【0047】即ち、フィルタ領域F内の各画素には、図
10に示されるように、k-m-n〜kmnの重み係数が割り
当てられており、フィルタ領域F内の各画素の無彩色信
号Sijの信号値sijに対応する重み係数k-m-n〜kmn
掛けて、
[0047] That is, each pixel in the filter region F, as shown in FIG. 10, k -mn to k mn and weighting factors assigned, the achromatic signal S of each pixel in the filter region F is multiplied by the weighting factor k -mn to k mn corresponding to the signal value s ij of ij,

【0048】[0048]

【数2】 (Equation 2)

【0049】のように平均、ここでは加重平均すること
によって代表値D’を抽出するようになっている。図1
1は、フィルタ領域Fが3×3のマトリクスである場合
の重み係数k-m-n〜kmnの具体例を示している。
As described above, the representative value D 'is extracted by averaging, in this case, weighted averaging. FIG.
1 shows an example of the weighting factor k -mn to k mn when the filter region F is a matrix of 3 × 3.

【0050】フィルタ部から出力される信号S’は、前
記数2の平均処理によりノイズの影響が除去されている
ので、この信号S’を各加算処理部25,26,27に
送り込むことによって、注目画素OPa,OPb,OP
cの色信号R,G,Bに含まれるノイズ成分が除去され
るようになっている。
The signal S 'output from the filter unit is free from the influence of noise by the averaging process of the above equation (2). By sending this signal S' to each of the adding units 25, 26 and 27, Attention pixels OPa, OPb, OP
The noise components included in the color signals R, G, B of c are removed.

【0051】本実施形態においても、カラー画像10に
含まれたノイズ、特に無彩色成分のノイズを除去できる
とともに、R,G,Bの各色成分から無彩色成分を抽出
し、フィルタ処理において処理負担の大きい平均処理を
無彩色成分の成分値に基づいて行うようにしてあるの
で、従来例のようにR,G,Bの各色成分ごとに個別に
平均処理を行う場合に比べて、演算処理の負担を大幅に
軽減することができ、フィルタ処理を3倍近く高速化す
ることができる等の第1実施形態と同様な効果が得られ
る。
Also in the present embodiment, the noise contained in the color image 10, particularly the noise of the achromatic component, can be removed, and the achromatic component is extracted from each of the R, G, B color components, and the processing load in the filtering process is increased. Is performed on the basis of the component values of the achromatic color components. Therefore, compared to the case where the averaging process is individually performed for each of the R, G, and B color components as in the conventional example, the calculation process of the arithmetic process is large. The same effects as those of the first embodiment can be obtained such that the burden can be greatly reduced, and the speed of the filter processing can be nearly tripled.

【0052】また、本実施形態では、フィルタ部が平均
処理によって代表値D’を抽出するようになっているの
で、第1実施形態の並べ替え演算により中間値を抽出す
る方法に比べて処理を高速に行うことができるととも
に、フィルタ処理によって隣接する画素間で画素値に不
自然なトビが生じるのを防止することができる。
Further, in the present embodiment, the filter section extracts the representative value D 'by averaging, so that the processing is performed in comparison with the method of extracting the intermediate value by the reordering operation of the first embodiment. This can be performed at high speed, and the occurrence of unnatural occurrence of unnatural pixel values between adjacent pixels due to the filter processing can be prevented.

【0053】なお、上述の各実施形態では、R,G,B
の各色成分の画素値を平均して無彩色成分を抽出するよ
うにしたが、互いに対応するR,G,Bの3成分の画素
の画素値のうちから、値が最大の値、または最小の値と
なる画素値を選択し、その選択した画素値を無彩色成分
として抽出するようにしてもよい。
In each of the above embodiments, R, G, B
Although the achromatic color component is extracted by averaging the pixel values of the respective color components, the maximum value or the minimum value among the pixel values of the three component pixels of R, G and B corresponding to each other is extracted. A pixel value as a value may be selected, and the selected pixel value may be extracted as an achromatic component.

【0054】また、上述の各実施形態では、加色混合に
より構成されたカラー画像のノイズ除去について説明し
たが、減色混合により構成されたカラー画像のノイズ除
去も、各色成分の画素値から上述の各方法で無彩色成分
を抽出することによって同様に行うことができる。
In each of the embodiments described above, noise removal of a color image formed by additive color mixing has been described. However, noise removal of a color image formed by subtractive color mixing is also performed based on the pixel value of each color component. The same can be done by extracting an achromatic component with each method.

【0055】[0055]

【発明の効果】以上のように、請求項1および5記載の
発明によれば、カラー画像に含まれたノイズ、特に無彩
色成分のノイズを除去できるとともに、R,G,Bの各
色成分から無彩色成分を抽出し、処理負担の大きいフィ
ルタ処理を無彩色成分の成分値に基づいて行うようにし
てあるので、従来例のようにR,G,Bの各色成分ごと
に個別にメディアンフィルタ処理、または平均化処理を
行う場合に比べて、演算処理の負担を大幅に軽減するこ
とができ、フィルタ処理を3倍近く高速化することがで
きる。
As described above, according to the first and fifth aspects of the present invention, it is possible to remove noise contained in a color image, particularly noise of an achromatic color component, and to remove noise from R, G, and B color components. Since the achromatic components are extracted and the filtering process with a large processing load is performed based on the component values of the achromatic components, the median filtering process is individually performed for each of the R, G, and B color components as in the conventional example. , Or the load on the arithmetic processing can be greatly reduced as compared with the case of performing the averaging processing, and the filtering processing can be speeded up nearly three times.

【0056】また、無彩色成分のノイズが除去されるの
で、後の輪郭強調処理によりノイズが強調されてしまう
ことはない。
Further, since the noise of the achromatic component is removed, the noise is not emphasized by the subsequent outline emphasis processing.

【0057】請求項2記載の発明によれば、フィルタ手
段のフィルタ処理では、フィルタ領域内の画素の無彩色
成分の成分値のうちから中間の値の成分値を代表値とし
て抽出しているので、フィルタ処理によるカラー画像の
ボケを防止しつつ、ノイズ除去を行うことができる。
According to the second aspect of the present invention, in the filtering process of the filter means, an intermediate component value is extracted as a representative value from the achromatic component values of the pixels in the filter area. In addition, noise can be removed while preventing blurring of a color image due to filter processing.

【0058】請求項3記載の発明によれば、フィルタ手
段のフィルタ処理では、平均処理によって代表値を抽出
するようにしているので、中間値を代表値として抽出す
る方法に比べて処理を高速に行うことができるととも
に、フィルタ処理によって隣接する画素間で画素値に不
自然なトビが生じるのを防止することができる。
According to the third aspect of the present invention, in the filtering process of the filter means, the representative value is extracted by the averaging process, so that the process is performed at a higher speed than the method of extracting the intermediate value as the representative value. In addition to this, it is possible to prevent the occurrence of an unnatural drop in pixel values between adjacent pixels due to the filtering process.

【0059】請求項4記載の発明によれば、各色成分の
画素値を平均することによって無彩色成分を抽出してい
るので、カラー画像に含まれているノイズに応じて単純
平均としたり、また加重平均を採用して各色成分の画素
値に掛ける重み係数を変化させることにより無彩色成分
を抽出することができ、いろいろな種類のノイズの除去
に対応することができる。
According to the fourth aspect of the present invention, since the achromatic component is extracted by averaging the pixel values of each color component, a simple averaging is performed according to the noise included in the color image. Achromatic components can be extracted by changing the weighting factor applied to the pixel value of each color component by employing a weighted average, and can cope with the removal of various types of noise.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施形態が適用される装置の全体構成
を示す図である。
FIG. 1 is a diagram showing an overall configuration of an apparatus to which an embodiment of the present invention is applied.

【図2】本発明の第1実施形態のカラー画像のフィルタ
リング装置のフィルタ処理の概要を示す説明図である。
FIG. 2 is an explanatory diagram illustrating an outline of a filtering process of the color image filtering device according to the first embodiment of the present invention.

【図3】本発明の第1実施形態のカラー画像のフィルタ
リング装置のブロック図である。
FIG. 3 is a block diagram of a color image filtering device according to the first embodiment of the present invention.

【図4】フィルタ領域内の画素の無彩色信号を示す図で
ある。
FIG. 4 is a diagram showing an achromatic signal of a pixel in a filter area.

【図5】図4の無彩色信号の信号値が、その大小関係に
基づいて序列化された状態を示す図である。
FIG. 5 is a diagram showing a state in which the signal values of the achromatic signal of FIG. 4 are arranged in order based on the magnitude relation.

【図6】図6(a)は図3の装置に入力される各色成分
の注目画素の色信号を示す図であり、図6(b)は各減
算処理部から出力される信号を示す図であり、図6
(c)は各加算処理部から出力されるノイズ除去済みの
色信号を示す図である。
6A is a diagram illustrating a color signal of a target pixel of each color component input to the device of FIG. 3, and FIG. 6B is a diagram illustrating a signal output from each subtraction processing unit; And FIG.
(C) is a diagram showing a color signal from which noise has been removed and output from each addition processing unit.

【図7】フィルタ領域内の画素の無彩色信号をグラフで
示す図である。
FIG. 7 is a graph showing achromatic signals of pixels in a filter area.

【図8】無彩色信号に含まれているノイズ成分が抽出さ
れる様子を示す図である。
FIG. 8 is a diagram showing how noise components included in an achromatic signal are extracted.

【図9】図9(a)は図3の装置に入力される各色成分
の注目画素の色信号を示す図であり、注目画素の無彩色
信号を示す図であり、図6(c)は各加算処理部から出
力される色信号を示す図であり、図9(d)は図9
(c)の色信号から生成される無彩色信号を示す図であ
る。
9A is a diagram illustrating a color signal of a target pixel of each color component input to the apparatus of FIG. 3, and is a diagram illustrating an achromatic signal of the target pixel; FIG. FIG. 9D is a diagram illustrating a color signal output from each addition processing unit, and FIG.
FIG. 3C is a diagram illustrating an achromatic signal generated from the color signal of FIG.

【図10】フィルタ領域内の各画素に割り当てられた重
み係数を示す図である。
FIG. 10 is a diagram illustrating weighting factors assigned to each pixel in a filter area.

【図11】図10の重み係数の具体例を示す図である。FIG. 11 is a diagram illustrating a specific example of the weighting factors of FIG. 10;

【図12】従来のフィルタリング装置を示す図である。FIG. 12 is a diagram showing a conventional filtering device.

【符号の説明】[Explanation of symbols]

20 無彩色信号生成部 21,22,23 減算処理部 24 フィルタ部 25,26,27 加算処理部 F フィルタ領域 OPa,OPb,OPc 注目画素 Reference Signs List 20 achromatic signal generation section 21, 22, 23 subtraction processing section 24 filter section 25, 26, 27 addition processing section F filter area OPa, OPb, OPc Target pixel

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 複数の色成分の単色画像が重ね合わされ
てなるカラー画像上に、フィルタ処理を行うべき注目画
素を含むように所定のフィルタ領域を設定し、そのフィ
ルタ領域内で前記注目画素についてフィルタ処理を行う
とともに前記注目画素および前記フィルタ領域を前記カ
ラー画像上で順次走査することによって、前記カラー画
像に含まれるノイズ成分を除去するカラー画像のフィル
タリング装置であって、 前記各単色画像中の各画素の画素値に基づき、各画素ご
とに無彩色成分を抽出する無彩色成分抽出手段と、 前記フィルタ領域内に位置する画素の前記無彩色成分の
成分値に基づく所定のフィルタ処理によって、このフィ
ルタ領域内の画素の無彩色成分の成分値を代表する代表
値を抽出するフィルタ手段と、 前記各色成分の注目画素の画素値から、その注目画素の
前記無彩色成分抽出手段が抽出した無彩色成分の成分値
を減算する減算手段と、 前記減算手段の算出値に、前記フィルタ手段が抽出した
前記代表値を加算する加算手段と、を備えることを特徴
とするカラー画像のフィルタリング装置。
1. A predetermined filter area is set on a color image formed by superimposing a plurality of color component monochromatic images so as to include a target pixel to be subjected to a filtering process. A color image filtering device that performs a filtering process and sequentially scans the target pixel and the filter region on the color image, thereby removing a noise component included in the color image. Achromatic component extraction means for extracting an achromatic component for each pixel based on the pixel value of each pixel; and a predetermined filtering process based on the achromatic component values of the pixels located in the filter area. Filter means for extracting a representative value representing a component value of an achromatic component of a pixel in the filter area; Subtraction means for subtracting, from the elementary pixel value, the component value of the achromatic component extracted by the achromatic component extraction means of the target pixel; and calculating the subtraction means by adding the representative value extracted by the filter means to the calculated value of the subtraction means. A color image filtering apparatus, comprising: an adding unit that performs addition.
【請求項2】 前記フィルタ手段は、前記フィルタ領域
内に位置する画素の前記無彩色成分の成分値のうちか
ら、このフィルタ領域内において値が中間の値となる成
分値を前記代表値として抽出することを特徴とする請求
項1に記載のカラー画像のフィルタリング装置。
2. The filter unit extracts, from the component values of the achromatic component of a pixel located in the filter area, a component value having an intermediate value in the filter area as the representative value. The color image filtering apparatus according to claim 1, wherein the filtering is performed.
【請求項3】 前記フィルタ手段は、前記フィルタ領域
内に位置する画素の前記無彩色成分の成分値を平均して
得た平均値を前記代表値として抽出することを特徴とす
る請求項1に記載のカラー画像のフィルタリング装置。
3. The method according to claim 1, wherein the filter unit extracts, as the representative value, an average value obtained by averaging component values of the achromatic components of pixels located in the filter area. A filtering device for a color image as described in the above.
【請求項4】 前記無彩色成分抽出手段は、互いに対応
する前記各色成分の画素の画素値を平均して無彩色成分
を抽出することを特徴とする請求項2または3に記載の
カラー画像のフィルタリング装置。
4. The color image extracting apparatus according to claim 2, wherein the achromatic component extracting means extracts an achromatic component by averaging pixel values of pixels of the respective color components corresponding to each other. Filtering device.
【請求項5】 複数の色成分の単色画像が重ね合わされ
てなるカラー画像上に、フィルタ処理を行うべき注目画
素を含むように所定のフィルタ領域を設定し、そのフィ
ルタ領域内で前記注目画素についてフィルタ処理を行う
とともに前記注目画素および前記フィルタ領域を前記カ
ラー画像上で順次走査することによって、前記カラー画
像に含まれるノイズ成分を除去するカラー画像のフィル
タリング方法であって、 前記各単色画像中の各画素の画素値に基づき、各画素ご
とに無彩色成分を抽出する無彩色成分抽出工程と、 前記フィルタ領域内に位置する画素の前記無彩色成分の
成分値に基づく所定のフィルタ処理によって、このフィ
ルタ領域内の画素の無彩色成分の成分値を代表する代表
値を抽出するフィルタ工程と、 前記各色成分の注目画素の画素値から、その注目画素の
前記無彩色成分抽出工程で抽出した無彩色成分の成分値
を減算する減算工程と、 前記減算工程の算出値に、前記フィルタ工程で抽出した
前記代表値を加算する加算工程と、を備えることを特徴
とするカラー画像のフィルタリング方法。
5. A predetermined filter region is set on a color image formed by superimposing a plurality of color component monochromatic images so as to include a target pixel to be subjected to a filtering process. A color image filtering method for performing a filtering process and sequentially scanning the target pixel and the filter region on the color image, thereby removing a noise component included in the color image. Based on the pixel value of each pixel, an achromatic component extraction step of extracting an achromatic component for each pixel, and a predetermined filtering process based on the achromatic component values of the pixels located in the filter area, A filtering step of extracting a representative value representing a component value of an achromatic component of a pixel in the filter area; A subtraction step of subtracting, from the elementary pixel value, the component value of the achromatic component of the target pixel extracted in the achromatic component extraction step, and calculating the subtraction step by adding the representative value extracted in the filtering step to the calculated value of the subtraction step A color image filtering method, comprising: an adding step of adding.
JP9079881A 1997-03-31 1997-03-31 Filtering device and method for color image Pending JPH10275229A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9079881A JPH10275229A (en) 1997-03-31 1997-03-31 Filtering device and method for color image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9079881A JPH10275229A (en) 1997-03-31 1997-03-31 Filtering device and method for color image

Publications (1)

Publication Number Publication Date
JPH10275229A true JPH10275229A (en) 1998-10-13

Family

ID=13702596

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9079881A Pending JPH10275229A (en) 1997-03-31 1997-03-31 Filtering device and method for color image

Country Status (1)

Country Link
JP (1) JPH10275229A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002150282A (en) * 2000-11-10 2002-05-24 Sony Corp Image processing device and method therefor, and program recording medium
AU754544B2 (en) * 2000-03-16 2002-11-21 Canon Kabushiki Kaisha Wavelet filtering

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU754544B2 (en) * 2000-03-16 2002-11-21 Canon Kabushiki Kaisha Wavelet filtering
JP2002150282A (en) * 2000-11-10 2002-05-24 Sony Corp Image processing device and method therefor, and program recording medium

Similar Documents

Publication Publication Date Title
JP4526445B2 (en) Imaging device
JP4455897B2 (en) Image processing method, apparatus, and program
EP2124190A1 (en) Image processing to enhance image sharpness
JP2006319975A (en) Method and system for extending binary image data to contone image data
JP4944061B2 (en) Image processing apparatus and method, and program
JPH02127782A (en) Picture contour emphasizing method
JP3738791B2 (en) Image processing method and apparatus
JP2005115598A (en) Image processing method and apparatus
JP2007180851A (en) Gray scale transformation device, program and method for raw image, and electronic camera
US5862266A (en) Circuit for sharpening of edges of a pixel image in a color copier
JPH10275229A (en) Filtering device and method for color image
JP2004172726A (en) Image processing apparatus and method
WO2009141339A2 (en) Image processing to enhance image sharpness
US8180169B2 (en) System and method for multi-scale sigma filtering using quadrature mirror filters
JP7183015B2 (en) Image processing device, image processing method, and program
JPH0614218A (en) Noise reducing device
JP3106831B2 (en) Video signal processing device
JPH11203467A (en) Display and its method
JP2003070010A (en) Two-plate image capture device
JP3783815B2 (en) Image processing device
JP2006053859A (en) Image processor, method and program
EP4332834A1 (en) Method and camera device for generating a moiré-corrected image file
JPH10271348A (en) Filtering device and filtering method of color image
JPH06292014A (en) Picture processor
JPH1185971A (en) Method and device for gradation conversion