JP2005051379A - Image processing apparatus and method - Google Patents

Image processing apparatus and method Download PDF

Info

Publication number
JP2005051379A
JP2005051379A JP2003204243A JP2003204243A JP2005051379A JP 2005051379 A JP2005051379 A JP 2005051379A JP 2003204243 A JP2003204243 A JP 2003204243A JP 2003204243 A JP2003204243 A JP 2003204243A JP 2005051379 A JP2005051379 A JP 2005051379A
Authority
JP
Japan
Prior art keywords
data
image processing
image
smoothing
smoothed
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.)
Withdrawn
Application number
JP2003204243A
Other languages
Japanese (ja)
Inventor
Tetsuya Suwa
徹哉 諏訪
Kazuya Imafuku
和也 今福
Masao Kato
真夫 加藤
Fumitaka Goto
文孝 後藤
Takashi Ishikawa
尚 石川
Makoto Fujiwara
誠 藤原
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2003204243A priority Critical patent/JP2005051379A/en
Publication of JP2005051379A publication Critical patent/JP2005051379A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Image Processing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To effectively reduce noise included in an image. <P>SOLUTION: Difference values between a plurality of smoothed images and an input image are found and compared with a threshold to select smoothed pixels or input pixels, or further compared with pixels of low smoothness. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は画像処理装置及び画像処理方法に関し、特に、多値画像データのノイズ低減処理を行う画像処理装置及び画像処理方法に関する。
【0002】
【従来の技術】
デジタルカメラにて撮影された画像データやスキャナなどにて光学的に読み込まれた画像データにはCCD等の光学センサに由来する各種のノイズ、例えば高周波ノイズや、比較的大きな斑状ノイズなどの低周波ノイズが含まれている。
【0003】
これら、画像内に含まれるノイズを低減させる手段の一つとして、特開2000−207551の方法が挙げられる。この中では、ローパスフィルタなどで粒状性を低減させた画像と、鮮鋭度を強調した画像とをあらかじめ用意しておき、元の入力画像の画素と合わせて選択処理を行うことにより、ノイズの低減を図っている。
【0004】
【発明が解決しようとする課題】
しかしながら、上述のような選択処理によるノイズ低減の場合、画像選択の判定基準となるしきい値の設定が非常に難しくなる。例えば、粒状度を低減させた画像を選択されやすいように設定してしまうと、必要以上にローバスフィルタのかかり、ボケた画像となってしまったり、逆に選択されにくくすると、ノイズ低減の効果が上がらなかったりするためである。
【0005】
本発明は上述した課題を解決するものであり、より精度の高い選択を行うことにより、ノイズの低減効果を上げることのできる画像処理装置及び画像処理方法を提供することを目的とする。
【0006】
【課題を解決するための手段】
上記課題を達成するために本願発明の第1の発明による画像処理装置及び画像処理方法は、
入力画像データに複数の平滑化処理を実行する手段と、
前記平滑化処理により作成される複数の平滑化データを保持する手段と、
前記複数の平滑化データのうち、一つの画素データと、前記入力画像の画素データとの差分絶対値を、しきい値と比較する手段と、
前記比較手段での結果により、前記平滑化データまたは前記入力画素データを選択する手段と
前記比較手段での結果により、前記複数の平滑化データのうち、比較を行っていない画素データと前記入力画素データとの差分絶対値を、しきい値と比較する手段とを備える。
【0007】
また、上記課題を達成するために本願発明の第2の発明による画像処理装置及び画像処理方法は、
入力画像データに繰り返し平滑化処理を実行する手段と、
前記平滑化処理により作成される平滑化データを保持する手段と、
前記平滑化データの画素データと、前記入力画像の画素データとの差分絶対値を、しきい値と比較する手段と、
前記比較手段での結果により、前記平滑化データまたは前記入力画素データを選択する手段と、
前記比較手段での結果により、前記平滑化処理の繰り返し回数を変更する手段とを特徴とを備える。
【0008】
【発明の実施の形態】
以下に本願発明の一実施形態を示す。もちろん以下の実施形態は、本願発明の技術分野における当業者による実施を容易にするために開示を提供するものであり、特許請求の範囲によって確定される本願発明の技術的範囲に含まれるほんの一部の実施形態にすぎない。従って、本願明細書に直接的に記載されていない実施形態であっても、技術思想が共通する限り本願発明の技術的範囲に包含されることは当業者にとって自明であろう。
【0009】
なお、便宜上複数の実施形態を記載するが、これらは個別に発明として成立するだけでなく、もちろん、複数の実施形態を適宜組み合わせることでも発明が成立することは、当業者であれば容易に理解できよう。
【0010】
[第1実施形態]
以下、図面を参照して本発明の実施形態を詳細に説明する。
【0011】
図4は本発明の第1の実施形態に係わる画像処理装置の構成を説明するブロック図である。この画像処理装置では、デジタルカメラで撮影された画像に対し、本発明であるノイズ除去処理を実行し、プリントを行うことの出来る装置である。
図中400は、処理装置制御部である。処理装置制御部400には、操作パネル403が接続されており、これによりユーザーが画像の選択やプリント開始の実行を行うことが出来る。操作パネル403は、操作制御部404により制御されている。プリント開始が実行されると、カード制御部402がPCカード401から所定の画像を読み出し、必要であればデコード処理を実行し、ノイズ除去部405へとデータを転送する。ノイズ除去部405で後述する処理により、ノイズを取り除き、処理後の画像を画像処理部406へと送る。画像処理部406では、より好適な色再現が出来るような補正処理を施した後、プリント可能なデータ形式、例えばCMY形式に変換される。プリント可能となったデータは、プリンタ制御部407に送られ、そのデータに基づいて、プリンタエンジン408を制御し、印字を実行させる。
【0012】
尚、図示はしていないが、これら各部の制御を司るのはCPUであり、それらを実行するためのプログラムおよび各種パラメータが格納されているROM、実行するためのRAMが用意されている。
【0013】
図1で、ノイズ除去部の詳細を示す。図1において、100は入力画像の取得部である。入力画像取得部100により得られた画像は、101、102、103、104の平滑化処理部に送られ、ローパスフィルタ(以下、LPF)によって平滑化処理が実行される。本実施例では、選択に用いられる平滑化画像を4つとしたが、これは使用可能なメモリ容量で変わってくる。メモリ容量が多く選択画像の数が多く保持出来るほど、より効果的なノイズ除去処理が可能となる。また、効率的にメモリを使用するために、入力画像の画素数によって、平滑化画像の数を動的に変化させても良い。
【0014】
平滑化に用いられるLPFは、平滑度が異なるものを使用する。平滑化処理部101で行われる平滑度が最も強く、処理後の画像は最も高周波成分の少ないボケた画像となる。平滑化処理部102、103、104となるに従い、平滑度が弱く入力画像に近づいていく。
【0015】
図2は本実施例で用いられる、4つのフィルタマスクである。このフィルタ処理では、着目画素とマスク内にある画素の画素値を全て足し合わせ、画素数で徐算を行う。図中のLPF1であれば、着目画素と周囲の80画素の平均値をとることに相当する。LPF1〜LPF4で示しているのは、マスクサイズの違いによって、平滑度を変化させている場合である。マスクサイズでなく各成分の重み付けを変化させることにより、平滑度を変化させることも可能である。
【0016】
これらの処理によって得られた平滑度の異なる4つの平滑化画像105〜108は、入力画像とともに画素選択処理部109へと送られ、後述する画素の選択処理することにより、ノイズ除去された画像が得られる。その後、画像出力部110によって、画像データは出力される。
【0017】
図3は、画素選択処理部の流れを示すフローチャートである。平滑度の高い方から順に画素毎の比較を行っていく。S300では、最も平滑度の高い平滑化画像1をターゲット画素に設定する。S301においては、入力画素とターゲット画素の差を算出し、その値とあらかじめ設定されたしきい値Th1との比較を行う。その結果、しきい値の方が大きい場合には、平滑化しても差し障りのない画像平坦部分とみなされ、S309のターゲット画素の選択部へと進む。しきい値の方が小さかった場合は、ターゲット画素を使用すると、平滑化が行き過ぎ、画像がボケしまう部分とみなされ、S302に進む。S302では、ターゲット画素を平滑化画像2に設定しなおし、S303で同様の比較処理を実行する。しきい値Th2が大きい場合は、S309でターゲット画素が選択される。そうでない場合は、S304へと進む。以下、上記と同じように、S304、S305で、それぞれ、ターゲット画素の平滑化画像3の設定、しきい値Th3との比較を行い、S306、S307において、それぞれターゲット画素の平滑化画像4の設定、しきい値Th4との比較を行う。S307での比較で、しきい値Th4よりも大きい場合は、画像の最も鮮鋭度の高い部分とみなされ、S308において、入力画素が選択される。その後、S310において、全ての画素について処理が実行されたかの判定を行い、全ての画素について処理が行われていなかったならば、入力画素を一つ進め(S311)、S300に戻って、同様の処理が実行される。全ての画素について処理が完了すれば、画素選択処理は終了となる。
【0018】
ここで挙げたパラメータTh1〜Th4は、あらかじめ設定された値である。また、平滑度によって、しきい値を分けたが、全てにおいて共通のしきい値を用いることも可能である。
【0019】
この様に、本願発明の第1の実施形態によれば、異なるLPFで平滑化処理された4つの画像を用意し、選択処理を行うことで、ノイズ除去効果を向上させ、デジタルカメラで撮影した画像の高品位なプリントを実現可能とする。
【0020】
尚、本実施例では、処理装置としてプリンタを挙げたが、特にこれに限定されることはない。例えば、ノイズ除去したデータを表示する表示装置であっても、データを作成するデジタルカメラであっても、本発明の適用に全く問題は無い。
【0021】
[第2実施形態]
第2の実施形態では、第1実施形態での図4の画像処理装置において、ノイズ除去部405が異なる部分である。よって、以下、ノイズ除去部分405についての詳細な説明を行う。
【0022】
図5は本発明の第2の実施形態における、ノイズ除去部分を説明するブロック図である。入力画像取得部500によって得られた画像は、平滑化処理部501に送られる。501での平滑化処理は、第1実施形態と同様にLPFを用いた平滑化処理とする。ここで使用するLPFは、一度の処理で、強い平滑処理を行うのは望ましくないので、図2中のLPF4またはLPF3を用いるが適当である。比較部502では、入力画像の画素と平滑化された画像の画素との差分値を求め、その値とあらかじめ設定したしきい値との比較を行う。平滑回数判定部503では、比較が行われている平滑化画像が、何回平滑処理されたものかを監視している。画像出力部504では、ノイズ除去処理を実行した画像を出力する。
【0023】
これを使用した場合の処理フローは図6のようになる。S600において、平滑回数判定部で使用されるLPFカウンタを平滑化回数回に設定する。本実施例では、第1実施形態と同様に最大4回の平滑化処理を実行するので、4をセットする。S601で平滑化処理が実行されるが、この際、LPFカウンタ回、繰り返し平滑化処理が実行される。S602でターゲット画素に平滑化処理の施された画素を設定し、S603では、使用されるしきい値ThN(N=1〜4)をLPFカウンタを参照し設定する。S604で、入力画素とターゲット画素との差分を求め、その値としきい値ThNとの比較を行う。しきい値ThNの方が大きい場合、S605において、ターゲット画素値が出力値に選択される。小さい場合はS606に進み、LPFカウンタが0よりも大きいかを判定する。もし、カウンタが0以下の場合は、S609において入力画素が選択される。0よりも大きい場合は、S608でLPFカウンタを1減らした後、再度、入力画像の平滑化から始めるように、平滑化処理された画像をクリアし(S607)、S601に戻される。S605またはS609において、画素の選択処理が実行された後は、全ての画素に対して、処理が行われたかをS610で判定し、完了していない場合は、S611でターゲットとする画素を進め、S607で画像をクリアし、S600で再度、同様の処理を実行する。全ての画素に対して、処理が実行されたならば、終了となる。
【0024】
上述のように、本願発明の第2の実施形態においては、複数の平滑化画像を用意するのではなく、平滑化処理を繰り返し行うことで、高いノイズ除去効果を実現している。この結果、平滑化処理の回数が増加するものの、平滑化画像を4つ保持するメモリを用意する必要はなく、第1の実施形態に比べ、少ないメモリ容量で実現可能としている。
【0025】
[第3実施形態]
第1の実施形態および第2の実施形態においては、平滑化処理において、LPFを使用した。第3の実施形態では、フィルタ処理の代わりに、縮小・拡大処理を用いた場合を挙げる。
【0026】
図7は第1の実施形態を縮小・拡大処理で実行したブロック図を示す。図1のノイズ除去部から、異なる部分のみ説明する。
【0027】
平滑化処理部700〜703において、縮小・拡大処理を使用する。平滑化画像1の平滑度が最もの高いので、平滑処理部700の縮小・拡大率が最も大きいものとする。その他、700〜704に進むにつれ、縮小・拡大率は小さくなる。図8には本実施形態の一例を示す。縮小拡大処理1、2、3、4において縮小率は、それぞれ20%、40%、60%、80%とし、拡大処理はそれぞれ、500%、250%、167%、125%とする。
【0028】
また、図9は第2の実施形態を縮小・拡大処理により実現したブロック図である。図5のノイズ除去部と比べて異なる部分は、平滑部900である。ここでは、80%の縮小処理後、125%の拡大処理による平滑化を行う。
【0029】
尚、図7および図9により用いられる縮小・拡大処理は、リアレストネイバー法のような近似値を使用する補間処理ではなく、高周波成分を減らすことの出来る、バイリニア法またはバイキュービック法を使用する。
【0030】
以上、本願発明の第3の実施形態においては、平滑度画像を作成する際に、フィルタ処理を使用せずに、縮小・拡大処理を用いることで、高いノイズ除去効果を実現している。この結果、フィルタ処理で発生する例外的な端部処理を行わず、ノイズ除去を実現可能にしている。
【0031】
(他の実施形態)
本発明の目的は前述したように、実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体をシステム或は装置に提供し、そのシステム或は装置のコンピュータ(又はCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても達成される。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。このようなプログラムコードを供給するための記憶媒体としては、例えば、フロッピィディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROMなどを用いることができる。
【0032】
また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施の形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)などが実際の処理の一部又は全部を行い、その処理によって前述した実施の形態の機能が実現される場合も含まれている。
【0033】
更に、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書きこまれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部又は全部を行い、その処理によって前述した実施の形態の機能が実現される場合も含む。
【0034】
尚、本願発明は、前述した実施形態の機能を実現するソフトウエアのプログラムコードを記録した記憶媒体から、そのプログラムを、パソコン通信など通信ラインを介して要求者にそのプログラムを配信する場合にも適用できることは言うまでもない。
【0035】
【発明の効果】
以上、説明したように第1の観点によれば、複数の平滑化画像を作成し、平滑度の高い画像から画素毎に入力画素との差分絶対値を求め、しきい値との比較処理により、平滑化画素データまたは入力画素データの選択、平滑度の低い画素データの使用を行うことで、より効果的なノイズ除去効果を実現できる。
【0036】
また、第2の観点によれば、最初に繰り返し平滑化処理を実行することで、平滑度の高い画像を取得し、画素毎に入力画素との差分絶対値を求め、しきい値との比較処理により、平滑化画素データまたは入力画素データの選択、平滑回数を減らした平滑画素データの使用を行うことにより、より効果的なノイズ除去効果を実現する。こうすることで、第1の観点と比べ、少ないメモリ容量で、同様の効果を実現出来る。
【0037】
さらに、上記第1および第2の観点において、平滑画像の作成に画像の縮小・拡大処理を用いることで、フィルタリングによる端部処理を行うことなく、同様の効果を実現することが出来る。
【図面の簡単な説明】
【図1】図1は、第1の実施形態に係るノイズ除去部の構成を示すブロック図である。
【図2】図2は、第1の実施形態に係る平滑化処理で使用されるフィルタマスクを示す図である。
【図3】図3は、第1の実施形態に係る画素選択部の詳細な動作手順を説明するためのフローチャートである。
【図4】図4は、第1の実施形態に係る例示的な画像処理装置の構成を示すブロック図である。
【図5】図5は、第2の実施形態に係るノイズ除去部の構成を示すブロック図である。
【図6】図6は、第2の実施形態に係るノイズ除去部の詳細な動作手順を説明するためのフローチャートである。
【図7】図7は、第3の実施形態に係るノイズ除去部の構成を示すブロック図である。
【図8】図7は、第3の実施形態に係る縮小・拡大処理を説明する図である。
【図9】図7は、第3の実施形態に係るノイズ除去部の構成を示すブロック図である。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image processing device and an image processing method, and more particularly to an image processing device and an image processing method for performing noise reduction processing of multi-value image data.
[0002]
[Prior art]
Image data captured by a digital camera or image data optically read by a scanner or the like includes various noises derived from an optical sensor such as a CCD, for example, high frequency noise and low frequency such as relatively large patchy noise. Noise is included.
[0003]
One of these means for reducing noise contained in an image is the method disclosed in Japanese Patent Laid-Open No. 2000-207551. In this, noise is reduced by preparing an image with reduced granularity with a low-pass filter or the like and an image with enhanced sharpness in advance, and performing selection processing together with the pixels of the original input image. I am trying.
[0004]
[Problems to be solved by the invention]
However, in the case of noise reduction by the selection process as described above, it is very difficult to set a threshold value as a criterion for image selection. For example, if an image with reduced granularity is set so that it can be easily selected, a low-pass filter is applied more than necessary, resulting in a blurred image, or conversely, if it is difficult to select, the noise reduction effect This is because there is a risk that it will not rise.
[0005]
SUMMARY An advantage of some aspects of the invention is that it provides an image processing apparatus and an image processing method capable of increasing the noise reduction effect by performing selection with higher accuracy.
[0006]
[Means for Solving the Problems]
In order to achieve the above object, an image processing apparatus and an image processing method according to the first invention of the present invention include:
Means for performing a plurality of smoothing processes on the input image data;
Means for holding a plurality of smoothed data created by the smoothing process;
Means for comparing a difference absolute value of one pixel data of the plurality of smoothed data and the pixel data of the input image with a threshold value;
Based on the result of the comparison means, the smoothing data or the input pixel data is selected, and the result of the comparison means is the pixel data and the input pixel that are not compared among the plurality of smoothed data. Means for comparing a difference absolute value with the data with a threshold value.
[0007]
In order to achieve the above object, an image processing apparatus and an image processing method according to the second invention of the present application are provided.
Means for repeatedly performing smoothing processing on input image data;
Means for holding smoothed data created by the smoothing process;
Means for comparing a difference absolute value between pixel data of the smoothed data and pixel data of the input image with a threshold value;
Means for selecting the smoothed data or the input pixel data according to the result of the comparing means;
And means for changing the number of repetitions of the smoothing process according to the result of the comparison means.
[0008]
DETAILED DESCRIPTION OF THE INVENTION
An embodiment of the present invention is shown below. Of course, the following embodiments are provided for facilitating implementation by those skilled in the art of the present invention, and are only included in the technical scope of the present invention defined by the claims. It is only an embodiment of the part. Therefore, it will be apparent to those skilled in the art that even embodiments that are not directly described in the present specification are included in the technical scope of the present invention as long as they share the same technical idea.
[0009]
Note that although a plurality of embodiments are described for convenience, those skilled in the art can easily understand that these are not only individually established as inventions, but of course that the invention can also be realized by appropriately combining a plurality of embodiments. I can do it.
[0010]
[First Embodiment]
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
[0011]
FIG. 4 is a block diagram illustrating the configuration of the image processing apparatus according to the first embodiment of the present invention. This image processing apparatus is an apparatus that can perform printing by performing the noise removal processing according to the present invention on an image photographed by a digital camera.
In the figure, reference numeral 400 denotes a processing device control unit. An operation panel 403 is connected to the processing device control unit 400, which allows the user to select an image and start printing. The operation panel 403 is controlled by the operation control unit 404. When the print start is executed, the card control unit 402 reads a predetermined image from the PC card 401, executes a decoding process if necessary, and transfers the data to the noise removal unit 405. The noise removing unit 405 removes the noise by processing described later, and sends the processed image to the image processing unit 406. The image processing unit 406 performs correction processing that enables more suitable color reproduction, and then converts the data into a printable data format, for example, CMY format. The printable data is sent to the printer control unit 407, and based on the data, the printer engine 408 is controlled to execute printing.
[0012]
Although not shown in the figure, the CPU controls each of these units, and a ROM for storing programs and various parameters for executing them and a RAM for executing them are prepared.
[0013]
FIG. 1 shows details of the noise removing unit. In FIG. 1, reference numeral 100 denotes an input image acquisition unit. The image obtained by the input image acquisition unit 100 is sent to the smoothing processing units 101, 102, 103, and 104, and smoothing processing is executed by a low-pass filter (hereinafter referred to as LPF). In this embodiment, four smoothed images are used for selection, but this varies depending on the usable memory capacity. As the memory capacity increases and the number of selected images can be increased, more effective noise removal processing can be performed. In order to use the memory efficiently, the number of smoothed images may be dynamically changed according to the number of pixels of the input image.
[0014]
LPFs used for smoothing have different smoothness. The smoothness performed by the smoothing processing unit 101 is the strongest, and the processed image is a blurred image with the least amount of high frequency components. As the smoothing processing units 102, 103, and 104 become smoother, the smoothness becomes weaker and approaches the input image.
[0015]
FIG. 2 shows four filter masks used in this embodiment. In this filter processing, all pixel values of the pixel of interest and the pixels in the mask are added together, and a gradual calculation is performed by the number of pixels. LPF1 in the figure corresponds to taking the average value of the pixel of interest and the surrounding 80 pixels. LPF1 to LPF4 indicate a case where the smoothness is changed depending on the mask size. It is also possible to change the smoothness by changing the weight of each component instead of the mask size.
[0016]
The four smoothed images 105 to 108 having different smoothness obtained by these processes are sent to the pixel selection processing unit 109 together with the input image, and the image from which noise has been removed is obtained by performing pixel selection processing described later. can get. Thereafter, the image output unit 110 outputs the image data.
[0017]
FIG. 3 is a flowchart showing the flow of the pixel selection processing unit. The pixel-by-pixel comparison is performed in order from the highest smoothness. In S300, the smoothed image 1 having the highest smoothness is set as the target pixel. In S301, the difference between the input pixel and the target pixel is calculated, and the value is compared with a preset threshold value Th1. As a result, when the threshold value is larger, it is regarded as an image flat portion that does not interfere with smoothing, and the process proceeds to the target pixel selection unit in S309. If the threshold value is smaller, if the target pixel is used, it is considered that the image is blurred due to excessive smoothing, and the process proceeds to S302. In S302, the target pixel is reset to the smoothed image 2, and the same comparison process is executed in S303. If the threshold value Th2 is large, the target pixel is selected in S309. Otherwise, the process proceeds to S304. Thereafter, in the same manner as described above, the setting of the smoothed image 3 of the target pixel and the comparison with the threshold value Th3 are respectively performed in S304 and S305, and the setting of the smoothed image 4 of the target pixel is respectively performed in S306 and S307. Comparison with the threshold Th4 is performed. If the threshold value Th4 is larger than the threshold value Th4 in the comparison in S307, it is regarded as the sharpest part of the image, and the input pixel is selected in S308. Thereafter, in S310, it is determined whether or not processing has been performed for all pixels. If processing has not been performed for all pixels, the input pixel is advanced by one (S311), and the processing returns to S300 to perform similar processing. Is executed. If the process is completed for all the pixels, the pixel selection process ends.
[0018]
The parameters Th1 to Th4 listed here are preset values. Further, although the threshold value is divided according to the smoothness, it is also possible to use a common threshold value for all.
[0019]
As described above, according to the first embodiment of the present invention, four images smoothed with different LPFs are prepared, and the selection process is performed to improve the noise removal effect and photographed with a digital camera. Enables high-quality printing of images.
[0020]
In this embodiment, a printer is used as the processing apparatus, but the present invention is not limited to this. For example, there is no problem in applying the present invention to a display device that displays noise-removed data or a digital camera that creates data.
[0021]
[Second Embodiment]
In the second embodiment, the noise removing unit 405 is a different part in the image processing apparatus of FIG. 4 in the first embodiment. Accordingly, the noise removal portion 405 will be described in detail below.
[0022]
FIG. 5 is a block diagram for explaining a noise removing portion in the second embodiment of the present invention. The image obtained by the input image acquisition unit 500 is sent to the smoothing processing unit 501. The smoothing process in 501 is a smoothing process using LPF as in the first embodiment. As the LPF used here, it is not desirable to perform a strong smoothing process in a single process, so it is appropriate to use LPF4 or LPF3 in FIG. The comparison unit 502 obtains a difference value between the pixel of the input image and the pixel of the smoothed image, and compares the value with a preset threshold value. The smoothing number determination unit 503 monitors how many times the smoothed image being compared has been smoothed. The image output unit 504 outputs an image on which noise removal processing has been performed.
[0023]
The processing flow when this is used is as shown in FIG. In S600, the LPF counter used in the smoothing number determination unit is set to the number of smoothing times. In this example, the smoothing process is executed a maximum of four times as in the first embodiment, so 4 is set. In S601, the smoothing process is executed. At this time, the smoothing process is repeatedly executed by the LPF counter times. In S602, the target pixel is set to the smoothed pixel, and in S603, the threshold value ThN (N = 1 to 4) to be used is set with reference to the LPF counter. In S604, the difference between the input pixel and the target pixel is obtained, and the value is compared with the threshold value ThN. If the threshold value ThN is larger, the target pixel value is selected as the output value in S605. If it is smaller, the process proceeds to S606, and it is determined whether the LPF counter is larger than zero. If the counter is 0 or less, the input pixel is selected in S609. If larger than 0, the LPF counter is decremented by 1 in S608, and then the smoothed image is cleared again so as to start smoothing the input image (S607), and the process returns to S601. After the pixel selection process is executed in S605 or S609, it is determined in S610 whether the process has been performed for all the pixels. If the process has not been completed, the target pixel is advanced in S611. In step S607, the image is cleared, and in step S600, similar processing is executed again. If the process has been executed for all the pixels, the process ends.
[0024]
As described above, in the second embodiment of the present invention, a high noise removal effect is realized by repeatedly performing the smoothing process instead of preparing a plurality of smoothed images. As a result, although the number of smoothing processes increases, it is not necessary to prepare a memory that holds four smoothed images, and the memory can be realized with a smaller memory capacity than in the first embodiment.
[0025]
[Third Embodiment]
In the first embodiment and the second embodiment, LPF is used in the smoothing process. In the third embodiment, a case where a reduction / enlargement process is used instead of the filter process will be described.
[0026]
FIG. 7 shows a block diagram in which the first embodiment is executed by reduction / enlargement processing. Only a different part from the noise removal part of FIG. 1 is demonstrated.
[0027]
In the smoothing processing units 700 to 703, reduction / enlargement processing is used. Since the smoothness of the smoothed image 1 is the highest, it is assumed that the reduction / enlargement rate of the smoothing processing unit 700 is the highest. In addition, as the process proceeds from 700 to 704, the reduction / enlargement ratio decreases. FIG. 8 shows an example of this embodiment. In the reduction / enlargement processes 1, 2, 3, and 4, the reduction rates are 20%, 40%, 60%, and 80%, respectively, and the enlargement processes are 500%, 250%, 167%, and 125%, respectively.
[0028]
FIG. 9 is a block diagram in which the second embodiment is realized by reduction / enlargement processing. A different part from the noise removal part of FIG. Here, after 80% reduction processing, smoothing is performed by 125% enlargement processing.
[0029]
Note that the reduction / enlargement processing used in FIG. 7 and FIG. 9 uses a bilinear method or a bicubic method that can reduce high-frequency components, rather than an interpolation processing that uses approximate values such as the real neighbor method. .
[0030]
As described above, in the third embodiment of the present invention, a high noise removal effect is realized by using a reduction / enlargement process without using a filter process when creating a smoothness image. As a result, noise removal can be realized without performing exceptional edge processing that occurs in filter processing.
[0031]
(Other embodiments)
As described above, the object of the present invention is to provide a system or apparatus with a storage medium storing software program codes for realizing the functions of the embodiment, and the computer of the system or apparatus (or CPU or MPU) stores it. It is also achieved by reading and executing the program code stored on the medium. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention. As a storage medium for supplying such a program code, for example, a floppy disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like is used. Can do.
[0032]
Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) running on the computer based on the instruction of the program code Includes a case where the function of the above-described embodiment is realized by performing part or all of the actual processing.
[0033]
Furthermore, after the program code read from the storage medium is written in the memory provided in the function expansion board inserted into the computer or the function expansion unit connected to the computer, the function is determined based on the instruction of the program code. This includes the case where the CPU of the expansion board or function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.
[0034]
The present invention also applies to a case where the program is distributed to a requester via a communication line such as personal computer communication from a storage medium in which a program code of software that realizes the functions of the above-described embodiments is recorded. Needless to say, it can be applied.
[0035]
【The invention's effect】
As described above, according to the first aspect, according to the first aspect, a plurality of smoothed images are created, an absolute value of a difference from the input pixel is obtained for each pixel from an image with high smoothness, and a comparison process with a threshold value is performed. By selecting smoothed pixel data or input pixel data and using pixel data with low smoothness, a more effective noise removal effect can be realized.
[0036]
In addition, according to the second aspect, by executing the smoothing process repeatedly first, an image with high smoothness is obtained, the absolute value of the difference from the input pixel is obtained for each pixel, and the comparison with the threshold value is performed. By selecting smoothed pixel data or input pixel data and using smoothed pixel data with a reduced number of smoothing operations, a more effective noise removal effect is realized. By doing so, the same effect can be realized with a smaller memory capacity than in the first aspect.
[0037]
Furthermore, in the first and second aspects, by using the image reduction / enlargement processing for creating a smooth image, the same effect can be realized without performing edge processing by filtering.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration of a noise removing unit according to a first embodiment.
FIG. 2 is a diagram illustrating a filter mask used in the smoothing process according to the first embodiment.
FIG. 3 is a flowchart for explaining a detailed operation procedure of a pixel selection unit according to the first embodiment;
FIG. 4 is a block diagram illustrating a configuration of an exemplary image processing apparatus according to the first embodiment.
FIG. 5 is a block diagram illustrating a configuration of a noise removing unit according to a second embodiment.
FIG. 6 is a flowchart for explaining a detailed operation procedure of the noise removing unit according to the second embodiment;
FIG. 7 is a block diagram illustrating a configuration of a noise removing unit according to a third embodiment.
FIG. 7 is a diagram for explaining reduction / enlargement processing according to the third embodiment;
FIG. 7 is a block diagram illustrating a configuration of a noise removing unit according to a third embodiment.

Claims (10)

入力画像データに複数の平滑化処理を実行する手段と、
前記平滑化処理により作成される複数の平滑化データを保持する手段と、
前記複数の平滑化データのうち、一つの画素データと、前記入力画像の画素データとの差分絶対値を、しきい値と比較する手段と、
前記比較手段での結果により、前記平滑化データまたは前記入力画素データを選択する手段と
前記比較手段での結果により、前記複数の平滑化データのうち、比較を行っていない画素データと前記入力画素データとの差分絶対値を、しきい値と比較する手段とを備えることを特徴とする画像処理装置および画像処理方法。
Means for performing a plurality of smoothing processes on the input image data;
Means for holding a plurality of smoothed data created by the smoothing process;
Means for comparing a difference absolute value of one pixel data of the plurality of smoothed data and the pixel data of the input image with a threshold value;
Based on the result of the comparison means, the smoothing data or the input pixel data is selected, and the result of the comparison means is the pixel data and the input pixel that are not compared among the plurality of smoothed data. An image processing apparatus and an image processing method comprising: means for comparing a difference absolute value with data with a threshold value.
前記複数の平滑化データから最も平滑度の高い画素データを選択する手段と、
前記比較手段での結果により、平滑度の低くなる順に、平滑化データを選択する手段を特徴とする請求項1に記載の画像処理装置および画像処理方法。
Means for selecting pixel data having the highest smoothness from the plurality of smoothed data;
The image processing apparatus and the image processing method according to claim 1, wherein smoothing data is selected in order of decreasing smoothness based on a result of the comparison unit.
前記複数の平滑化処理を実行する手段とは、異なるフィルタマスクを使用する手段であることを特徴とする請求項1に記載の画像処理装置および画像処理方法。The image processing apparatus and the image processing method according to claim 1, wherein the means for executing the plurality of smoothing processes is a means for using a different filter mask. 前記複数の平滑化処理を実行する手段とは、異なる比率での画像縮小・拡大手段であることを特徴とする請求項1に記載の画像処理装置および画像処理方法。The image processing apparatus and the image processing method according to claim 1, wherein the means for executing the plurality of smoothing processes is an image reduction / enlargement means at a different ratio. 前記保持する複数の平滑化データの数は、入力画像データの画素数によって変化させることを特徴とする請求項1乃至請求項4に記載の画像処理装置および画像処理方法。5. The image processing apparatus and the image processing method according to claim 1, wherein the number of the plurality of smoothed data to be held is changed according to the number of pixels of the input image data. 入力画像データに繰り返し平滑化処理を実行する手段と、
前記平滑化処理により作成される平滑化データを保持する手段と、
前記平滑化データの画素データと、前記入力画像の画素データとの差分絶対値を、しきい値と比較する手段と、
前記比較手段での結果により、前記平滑化データまたは前記入力画素データを選択する手段と、
前記比較手段での結果により、前記平滑化処理の繰り返し回数を変更する手段とを特徴とする画像処理装置および画像処理方法。
Means for repeatedly performing smoothing processing on input image data;
Means for holding smoothed data created by the smoothing process;
Means for comparing a difference absolute value between pixel data of the smoothed data and pixel data of the input image with a threshold value;
Means for selecting the smoothed data or the input pixel data according to the result of the comparing means;
An image processing apparatus and an image processing method characterized by comprising means for changing the number of repetitions of the smoothing process according to the result of the comparison means.
前記平滑化処理を実行する手段とは、フィルタマスクを使用する手段または画像縮小・拡大手段であることを特徴とする請求項6に記載の画像処理装置および画像処理方法。7. The image processing apparatus and image processing method according to claim 6, wherein the means for executing the smoothing process is a means using a filter mask or an image reduction / enlargement means. 前記平滑化処理の繰り返し回数を変更する手段は、減少するように変更することを特徴とする請求項6に記載の画像処理装置および画像処理方法。The image processing apparatus and the image processing method according to claim 6, wherein the means for changing the number of repetitions of the smoothing process is changed so as to decrease. 入力画像データに複数の平滑化処理を実行するステップと、
前記平滑化処理により作成される複数の平滑化データを保持するステップと、
前記複数の平滑化データのうち、一つの画素データと、前記入力画像の画素データとの差分絶対値を、しきい値と比較するステップと、
前記比較ステップでの結果により、前記平滑化データまたは前記入力画素データを選択するステップと
前記比較ステップでの結果により、前記複数の平滑化データのうち、比較を行っていない画素データと前記入力画素データとの差分絶対値を、しきい値と比較するステップとを備えることをコンピュータに実行させるための画像処理プログラム。
Performing a plurality of smoothing processes on the input image data;
Holding a plurality of smoothed data created by the smoothing process;
Comparing a difference absolute value between one pixel data of the plurality of smoothed data and the pixel data of the input image with a threshold value;
Based on the result of the comparison step, the step of selecting the smoothed data or the input pixel data, and the result of the comparison step, the pixel data that has not been compared among the plurality of smoothed data and the input pixel An image processing program for causing a computer to execute a step of comparing a difference absolute value with data with a threshold value.
入力画像データに繰り返し平滑化処理を実行するステップと、
前記平滑化処理により作成される平滑化データを保持するステップと、
前記平滑化データの画素データと、前記入力画像の画素データとの差分絶対値を、しきい値と比較するステップと、
前記比較ステップでの結果により、前記平滑化データまたは前記入力画素データを選択するステップと、
前記比較ステップでの結果により、前記平滑化処理の繰り返し回数を変更するステップとを備えることをコンピュータに実行させるための画像処理プログラム。
Repeatedly executing smoothing processing on input image data;
Holding the smoothed data created by the smoothing process;
Comparing a difference absolute value between pixel data of the smoothed data and pixel data of the input image with a threshold value;
Selecting the smoothed data or the input pixel data according to the result of the comparing step;
An image processing program for causing a computer to execute a step of changing the number of repetitions of the smoothing process according to a result of the comparison step.
JP2003204243A 2003-07-31 2003-07-31 Image processing apparatus and method Withdrawn JP2005051379A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003204243A JP2005051379A (en) 2003-07-31 2003-07-31 Image processing apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003204243A JP2005051379A (en) 2003-07-31 2003-07-31 Image processing apparatus and method

Publications (1)

Publication Number Publication Date
JP2005051379A true JP2005051379A (en) 2005-02-24

Family

ID=34263302

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003204243A Withdrawn JP2005051379A (en) 2003-07-31 2003-07-31 Image processing apparatus and method

Country Status (1)

Country Link
JP (1) JP2005051379A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008154150A (en) * 2006-12-20 2008-07-03 Sony Corp Image-processing device, image-processing method, program of image-processing method, and recording medium recording program of image^processing method
JP2009253675A (en) * 2008-04-07 2009-10-29 Canon Inc Reproducing apparatus and method, and program
JP2010079780A (en) * 2008-09-29 2010-04-08 Keyence Corp Image processing apparatus, image processing method and computer program
JP2012105091A (en) * 2010-11-10 2012-05-31 Canon Inc Imaging apparatus and control method of the same
US8464323B2 (en) 2008-06-30 2013-06-11 Fujitsu Limited Authentication apparatus
WO2013179963A1 (en) * 2012-05-28 2013-12-05 富士フイルム株式会社 Image-processing device, imaging device and image-processing method, as well as program
JP2016163169A (en) * 2015-03-02 2016-09-05 キヤノン株式会社 Image processing device, photographing device, image processing method, image processing program, and recording medium
US9928577B2 (en) 2016-01-14 2018-03-27 Fujitsu Limited Image correction apparatus and image correction method
JP2018151715A (en) * 2017-03-10 2018-09-27 コニカミノルタ株式会社 Image processing device
US10438333B2 (en) 2016-09-27 2019-10-08 Fujitsu Limited Apparatus, method, and non-transitory computer-readable storage medium
JP2023072643A (en) * 2021-11-12 2023-05-24 國立臺灣大學 Data processing method for suppressing background high frequency noise in digitized image

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4661775B2 (en) * 2006-12-20 2011-03-30 ソニー株式会社 Image processing apparatus, image processing method, program for image processing method, and recording medium recording program for image processing method
US8031945B2 (en) 2006-12-20 2011-10-04 Sony Corporation Image-processing device, image-processing method, program of image-processing method, and recording medium recording program of image-processing method
JP2008154150A (en) * 2006-12-20 2008-07-03 Sony Corp Image-processing device, image-processing method, program of image-processing method, and recording medium recording program of image^processing method
US8803949B2 (en) 2008-04-07 2014-08-12 Canon Kabushiki Kaisha Reproducing apparatus and reproducing method
JP2009253675A (en) * 2008-04-07 2009-10-29 Canon Inc Reproducing apparatus and method, and program
US8464323B2 (en) 2008-06-30 2013-06-11 Fujitsu Limited Authentication apparatus
JP5365632B2 (en) * 2008-06-30 2013-12-11 富士通株式会社 Authentication apparatus and authentication method
JP2010079780A (en) * 2008-09-29 2010-04-08 Keyence Corp Image processing apparatus, image processing method and computer program
JP2012105091A (en) * 2010-11-10 2012-05-31 Canon Inc Imaging apparatus and control method of the same
CN104350735A (en) * 2012-05-28 2015-02-11 富士胶片株式会社 Image-processing device, imaging device and image-processing method, as well as program
WO2013179963A1 (en) * 2012-05-28 2013-12-05 富士フイルム株式会社 Image-processing device, imaging device and image-processing method, as well as program
JP5694607B2 (en) * 2012-05-28 2015-04-01 富士フイルム株式会社 Image processing apparatus, imaging apparatus, image processing method, and program
US9148587B2 (en) 2012-05-28 2015-09-29 Fujifilm Corporation Image processing device, imaging device, image processing method, and non-transitory computer readable medium
US9436979B2 (en) 2012-05-28 2016-09-06 Fujifilm Corporation Image processing device, imaging device, image processing method, and non-transitory computer readable medium
JP2016163169A (en) * 2015-03-02 2016-09-05 キヤノン株式会社 Image processing device, photographing device, image processing method, image processing program, and recording medium
US9928577B2 (en) 2016-01-14 2018-03-27 Fujitsu Limited Image correction apparatus and image correction method
US10438333B2 (en) 2016-09-27 2019-10-08 Fujitsu Limited Apparatus, method, and non-transitory computer-readable storage medium
JP2018151715A (en) * 2017-03-10 2018-09-27 コニカミノルタ株式会社 Image processing device
JP2023072643A (en) * 2021-11-12 2023-05-24 國立臺灣大學 Data processing method for suppressing background high frequency noise in digitized image
JP7385311B2 (en) 2021-11-12 2023-11-22 國立臺灣大學 Data processing method to suppress background high frequency noise in digital images

Similar Documents

Publication Publication Date Title
US7663779B2 (en) Image processing apparatus, image processing method and program therefor
JP5595121B2 (en) Image processing apparatus, image processing method, and program
JP2002262094A (en) Image processing method and image processor
JP2000115539A (en) Method and device for processing image and recording medium
US8625893B2 (en) Image processing device and image processing method
JP2008067315A (en) Imaging device, image processor, imaging system, and image processing program
JP2005051379A (en) Image processing apparatus and method
JP2006050109A (en) Noise reducing device and method
JP4137015B2 (en) Image processing apparatus and method
JP2005167974A (en) Image processing method and image processor, image processing program, and semiconductor device
JP6355315B2 (en) Image processing apparatus, image processing method, and program
JP2006343863A (en) Image processor and image processing method
JP4941219B2 (en) Noise suppression device, noise suppression method, noise suppression program, and imaging device
JP2007013475A (en) Image processing apparatus and method
JP2005260908A (en) Image processing method, image processing device, semiconductor device, electronic apparatus, image processing program, and computer-readable recording medium
JP3775260B2 (en) Image processing method, image processing program, and recording medium recording image processing program
JP2004213415A (en) Image processor, image processing program and storage medium
JP4854344B2 (en) Image processing apparatus and image processing method
CN111698389A (en) Image processing apparatus, image capturing apparatus, image processing method, and storage medium
JP4087807B2 (en) Image processing method, apparatus, and program
JP2004253909A (en) Image processing method
JP2003209686A (en) Image processor, image processing method, image processing program, and storage medium storing image processing program
KR100919979B1 (en) Method and apparatus retouching an photographed image
JP2002259960A (en) Image processing device and image processing method
JP5414384B2 (en) Image processing apparatus, image processing method, and program

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20061003