JP3820815B2 - Image processing apparatus and image processing method - Google Patents

Image processing apparatus and image processing method Download PDF

Info

Publication number
JP3820815B2
JP3820815B2 JP24471099A JP24471099A JP3820815B2 JP 3820815 B2 JP3820815 B2 JP 3820815B2 JP 24471099 A JP24471099 A JP 24471099A JP 24471099 A JP24471099 A JP 24471099A JP 3820815 B2 JP3820815 B2 JP 3820815B2
Authority
JP
Japan
Prior art keywords
image data
resolution
unit
processing
edge
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP24471099A
Other languages
Japanese (ja)
Other versions
JP2001069344A (en
Inventor
ゆみ 関口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP24471099A priority Critical patent/JP3820815B2/en
Publication of JP2001069344A publication Critical patent/JP2001069344A/en
Application granted granted Critical
Publication of JP3820815B2 publication Critical patent/JP3820815B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Facsimiles In General (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Image Processing (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、公衆回線またはネットワーク回線を介して画像データを受信して、これを可視画像として出力する画像処理装置およびこの画像処理装置にて用いられる画像処理方法に関するものである。
【0002】
【従来の技術】
近年、オフィス内では、ドキュメントのカラー化の進展に伴い、カラーコピーやカラープリンタ等が広く普及しているのに加えて、カラーのドキュメントを伝送する機会も増えつつある。また、一般家庭においても、ISDN(Integrated Services Digital Network)網の普及等により、白黒ファクシミリの他にカラーファクシミリの利用が増えつつある。
【0003】
従来、カラーファクシミリ等を用いたカラードキュメントの伝送は、以下のようにして行われている。
例えば、その送信側では、伝送効率を向上すべく、カラー光学系で読み取ったカラー画像データを、所定の解像度で、JPEG(Joint Photographic Experts Group)方式により多重圧縮して行うのが一般的である。ただし、現在のG3カラーファクシミリの送受信解像度は100dpi(dot per inch),200dpi,300dpi,400dpi が標準規格となっているが、伝送時間、通信コスト、受信側能力等を考慮すると、必須規格である200dpiの解像度でカラー画像データを送信することが殆どである。
【0004】
一方、受信側では、JPEG方式により多重圧縮されたカラー画像データを受信すると、これを復号した後に、可視画像として記録用紙上に印字出力する。ただし、カラー画像データを伝送する際の解像度は上述したように200dpiが主流であるが、受信側の出力機器(プリンタエンジン等)に関しては、年々高解像度化が進み、現在では600dpi,1200dpi程度の高解像度出力が一般的になってきている。そのため、受信側では、例えば200dpiの解像度でカラー画像データを受信した場合に、そのカラー画像データを600dpiや1200dpi といった解像度に変換して、出力機器の特性に合わせるようになっている。
【0005】
【発明が解決しようとする課題】
ところで、カラー画像データの伝送時に用いられる標準規格の一つであるJPEG方式は、非可逆圧縮方式であるため、データ量を削減するために圧縮率を高くすることも可能であるが、圧縮率を高くするのに連れて、文字の周辺部の画質が劣化するモスキートノイズが発生したり、写真背景等の濃度変化に応じてブロック状の境目が目立つようになるブロックノイズが発生するおそれがある。さらには、文字のエッジ部分の画質劣化により文字全体がぼやけてしまい、その文字が判読不可能になってしまうことも考えられる。つまり、非可逆圧縮方式では、圧縮率を高くするのに連れて、出力画像にディフェクト(画質劣化等)が現れるようになる。
【0006】
したがって、上述したように、受信側において、復号後のカラー画像データに対して、出力機器の特性に合わせた解像度変換を行う場合には、出力画像に発生するディフェクトがさらに目立つようになってしまう。例えば、受信解像度が200dpiで出力解像度が600dpiである場合には、モスキートノイズやブロックノイズ等が略3倍の大きさに拡大されてしまい、より一層目立つようになる。また、文字のエッジ部分についても、劣化部分のボケが略3倍に拡大されてしまい、益々判読不可能になってしまう。
【0007】
本発明はこのような問題点を鑑みてなされたものであり、その目的とするところは、公衆回線またはネットワーク回線を介して受信した非可逆圧縮後の画像データを、その画像データに対する復号および解像度変換を行った後に出力する場合であっても、高品位な画像を出力することのできる画像処理装置および画像処理方法を提供することにある。
【0008】
【課題を解決するための手段】
本発明は、上記目的を達成するために案出された画像処理装置で、第1の解像度の画像データを非可逆圧縮した圧縮画像データを復号する復号手段と、前記復号手段が復号した画像データを前記第1の解像度より高い第2の解像度へ変換する解像度変換手段と、前記解像度変換手段による変換後の画像データについてエッジ部の有無を判定するエッジ判定手段と、前記エッジ判定手段での判定結果を基に前記解像度変換手段による変換後の画像データに対する補正処理としてエッジ強調処理とノイズ除去処理とのいずれか一方または両方を行う補正処理手段とを備え、前記補正処理手段が、前記解像度変換手段による変換後の画像データに対する補正処理を当該画像データを構成する複数の領域毎に行うとともに、前記領域の大きさを前記非可逆圧縮の際の処理単位ブロックの大きさおよび前記解像度変換手段での解像度変換の倍率に基づいて決定するものであることを特徴とする。
【0010】
また、本発明は、上記目的を達成するために案出された画像処理方法で、第1の解像度の画像データを非可逆圧縮した圧縮画像データを復号し、復号した後の画像データを前記第1の解像度より高い第2の解像度へ変換し、前記第2の解像度へ変換した後の画像データについてエッジ部の有無を判定し、その判定結果を基に前記第2の解像度へ変換した後の画像データに対する補正処理としてエッジ強調処理とノイズ除去処理とのいずれか一方または両方を当該画像データを構成する複数の領域毎に行うとともに、前記領域の大きさを前記非可逆圧縮の際の処理単位ブロックの大きさおよび前記第1の解像度から前記第2の解像度への解像度変換の倍率に基づいて決定するようになっている。
【0012】
上述した構成の画像処理装置および上述した手順の画像処理方法によれば、解像度変換後の画像データに対する補正処理を、その画像データを構成する複数の領域毎に行うとともに、非可逆圧縮の際の各処理単位ブロック毎の濃度差がブロックノイズとして現れてしまうのを防ぐべく、その領域の大きさを処理単位ブロックの大きさおよび解像度変換の倍率に基づいて決定するので、圧縮画像データの復号および解像度変換によって画像データにノイズ等が重畳しても、そのノイズ等が補正処理によって除去される。したがって、その補正処理後の画像データを可視画像として出力しても、圧縮画像データの復号やその後の解像度変換に起因する画質劣化が目立ってしまうことがない。
【0014】
【発明の実施の形態】
以下、図面に基づき本発明に係る画像処理装置および画像処理方法について説明する。
【0015】
〔第1の実施の形態〕
ここでは、第1の実施の形態について説明する。
【0016】
先ずはじめに、本実施形態における画像処理装置の構成について説明する。
図1は本実施形態における画像処理装置の概略構成を示すブロック図である。
【0017】
図例のように、本実施形態における画像処理装置10は、受信部11と、復号部12と、解像度変換部13と、補正処理部14と、出力部15と、から構成されている。
【0018】
受信部11は、公衆電話回線網等の公衆回線またはインターネットと呼ばれる広域ネットワーク等を構成するためのネットワーク回線と接続するインタフェースからなり、その公衆回線上のファクシミリ装置またはネットワーク回線上のコンピュータ装置から送信される画像データを受信するものである。ただし、ファクシミリ装置またはコンピュータ装置からは、例えばJPEG方式により圧縮された後の圧縮画像データが、例えば200dpiの解像度で送信されるものとする。
【0019】
復号部12は、受信部11で受信した圧縮画像データを復号するためのものである。この復号部12による圧縮画像データの復号については、周知技術を利用したものであるため、ここではその詳細な説明を省略するものとする。
【0020】
解像度変換部13は、復号部12で復号された画像データを、出力部15の特性に合わすべく、受信時の解像度よりも高い出力解像度へ変換するものである。具体的には、例えば200dpiの解像度で受信した画像データを600dpiの出力解像度に変換するようになっている。
【0021】
このときの解像度変換は、受信解像度と出力解像度、および画像処理装置10の装置構成等に応じた任意の方法を用いて行えばよい。すなわち、受信する画像データの特性や処理時間、解像度変換倍率等によって好適な方法を選択するようにしても良いし、または予め設定された変換方法を用いるようにしても良い。例えば、解像度変換方法としては、単純なものとして単純変倍法、文字エッジのなまりを防ぐものとしてニアレストネイバー(最近傍)法、写真や絵柄の階調を維持するものであれば線形近似を用いたバイリニアー法やジンク関数を用いたキュービックコンボリューション法等の補間による変換方法などがある。また、受信した画像データ中に含まれる文字部分と写真部分を判別し、それぞれの部分について異なる変換方法を切り替えて用いることも考えられる。
【0022】
補正処理部14は、解像度変換部13による解像度変換後の画像データに対して、詳細を後述するような補正処理を行うものである。そのために、補正処理部14は、ブロックサイズ決定部14aと、エッジ判定部14bと、エッジ強調部14cと、ノイズ除去部14dと、セレクタ14eと、を有している。
【0023】
これらのうち、ブロックサイズ決定部14aは、補正処理部14での補正処理の対象となる画素ブロックのサイズを決定するものである。ここで、ブロックサイズ決定部14aによるブロックサイズの決定について詳しく説明する。
【0024】
図2は補正処理ブロックの一具体例を示す説明図である。
ブロックサイズ決定部14aは、ブロックサイズの大きさを解像度変換部13による解像度変換の倍率に基づいて決定する。具体的には、例えばJPEG方式による場合には圧縮が8画素×8画素のブロック単位で行われるために、ブロックサイズ決定部14aは、図2に示すように、補正処理の対象となるブロックサイズ、さらに詳しくは注目ブロックのサイズおよびその周辺ブロックのサイズを(8×n)画素×(8×n)画素とする。このときのnの値は、例えば解像度変換部13が200dpiの受信解像度を600dpiの出力解像度に変換する場合であれば、その解像度変換の倍率に応じて「3」となる。
【0025】
このように8画素×8画素のブロック単位を基にするのは、各ブロック毎の濃度差がブロックノイズとして現れてしまうのを防ぐためである。また、補正処理の対象となるブロックサイズを解像度変換の倍率に応じてn倍するのは、解像度変換が行われると、対応するブロックサイズも変換されるためである。
したがって、JPEG以外の非可逆圧縮を用いた場合で、異なるブロックサイズで処理されているものを対象とする場合であれば、適宜対象となるブロックサイズを変更すればよい。また、8×nの値が整数以外になる場合には、その値を四捨五入する等して、その都度ブロックサイズを変えるようにすればよい。
【0026】
また図1において、エッジ判定部14bは、解像度変換部13で解像度変換された後画像データに対し、ブロックサイズ決定部14aで決定されたブロックサイズ毎に、エッジ部の有無を判定するものである。エッジ部有無の判定は、周知技術を用いて行うようにすればよい。具体的には、例えば特開平3−126180号公報に開示されているような最適2値化を利用して行うことが考えられる。
【0027】
エッジ強調部14cは、エッジ判定部14bでの判定の結果、補正処理の対象となるブロックにエッジ部が存在していれば、そのエッジ部のエッジ画素に対してエッジ強調処理を行うものである。エッジ強調処理は、周知である任意の方法を用いて行えばよいが、最も一般的な例としては図3に示すようなエッジ強調フィルタをかけることが考えられる。なお、エッジ強調フィルタを用いる場合であっても、そのフィルタサイズを任意に決定し得ることはいうまでもない。
【0028】
また図1において、ノイズ除去部14dは、エッジ判定部14bでの判定の結果、補正処理の対象となるブロックにエッジ部が存在していなければ、そのブロックに対して詳細を後述するようなノイズ除去処理を行うものである。
【0029】
セレクタ14eは、エッジ判定部14bでの判定の結果を基に、エッジ強調部14cでのエッジ強調処理後の画像データとノイズ除去部14dでのノイズ除去処理後の画像データとのいずれか一方または両方を、出力部15へ送出する画像データとするものである。
【0030】
出力部15は、フルカラーに対応したプリンタエンジン等からなるもので、補正処理部14のセレクタ14eから送出された画像データを可視画像として記録用紙上に出力するものである。ただし、出力部15は、補正処理部14からの画像データを、CRT(Cathode Ray Tube)やLED(Light Emitting Diode)等に表示出力するものであってもよい。
【0031】
次に、以上のように構成された画像処理装置10において受信した画像データに対する補正処理を行う場合の動作例、すなわち本実施形態における画像処理方法について説明する。
図4は本実施形態における補正処理動作の流れを示すフローチャートである。
【0032】
この画像処理装置10では、受信部11が圧縮画像データを受信すると、復号部12による圧縮画像データの復号および解像度変換部13による解像度の変換を経た後に、補正処理部14がその解像度変換後の画像データに対して補正処理を行う。
【0033】
補正処理部14では、補正処理を行うのにあたって、図4に示すように、先ずはじめに、ブロックサイズ決定部14aが注目ブロックおよび周辺ブロックのサイズを決定する。例えば、受信部11で受信した圧縮画像データがJPEG方式により圧縮されたものであれば、ブロックサイズ決定部14aは、既に説明したように、注目ブロックのサイズおよび周辺ブロックのサイズを、解像度変換の倍率に応じて、(8×n)画素×(8×n)画素と決定する(ステップ101、以下ステップをSと略す)。
【0034】
ブロックサイズ決定部14aが注目ブロックおよび周辺ブロックのサイズを決定すると、続いて、補正処理部14では、ブロックサイズ決定部14aによりサイズが決定された注目ブロックについて、エッジ判定部14bがエッジ部の有無を判定する(S102)。
【0035】
この判定の結果、注目ブロック内にエッジ画素が存在する場合には、エッジ強調部14cが注目ブロック内のエッジ画素に対してエッジ強調処理を行うとともに(S103)、セレクタ14eがそのノイズ除去処理後のデータを出力部15へ送出することで、注目ブロック内の処理を終了する。その後、出力部15は、セレクタ14eから送出されたエッジ強調処理後の画像データを可視画像として出力する。
【0036】
このように、この画像処理装置10では、画像データの注目ブロック内にエッジ画素があれば、その注目ブロック内には文字のエッジ部分が存在すると判断して、そのエッジ画素に対してエッジ強調部14cがエッジ強調処理を行うので、復号部12による圧縮画像データの復号および解像度変換部13による解像度変換の後であっても、出力画像上の文字のエッジ部分が劣化してぼやけてしまうのを防げるようになる。
【0037】
一方、注目ブロック内にエッジ画素が存在しない場合には、続いて、ノイズ除去部14dが、その注目ブロックと周辺ブロックとの間で濃度差があるか否かを判断する(S104)。濃度差があるか否かを判断は、次に述べるようにして行えばよい。
【0038】
ノイズ除去部14dは、図2に示すように、注目ブロックとその周辺に位置する4つの周辺ブロック1〜4について、各ブロック内の画素データの平均値を求め、注目ブロックについての画素平均値av5を、周辺ブロック1〜4についての画素平均値av1〜av4と比較する。すなわち、ノイズ除去部14dは、予め設定された所定のしきい値を「C」とすると、それぞれの画素平均値av1〜av5が以下の式(1)に示す関係を満たすか否かを判断する。
【0039】
|avj−av5|<C(ただし、j=1,2,3,4)……(1)
【0040】
この関係を満たす場合には注目ブロックと各周辺ブロック1〜4の濃度差が小さく、注目ブロックと周辺ブロック1〜4との境界部にブロックノイズが発生し易くなるので、ノイズ除去部14dは、その注目ブロックに対してノイズ除去処理を行う(S105)。
【0041】
このときのノイズ除去処理は、例えば、注目ブロック内の各画素データの濃度値を各画素平均値av1〜av5の平均値に置き換えるようにしても、あるいは注目ブロック内の各画素データの濃度値を各画素平均値av1〜av4を参照して段階的に変化させるようにしてもよい。また、必ずしも各画素平均値av1〜av5を参照する必要はなく、周辺ブロック1〜4を構成する各画素データの濃度値を参照するようにしてもよい。さらには、注目ブロック内の全画素データを置き換えるのではなく、各画素平均値av1〜av5を参照しつつ、周辺ブロック1〜4との境界部近傍の画素データのみを置き換えるようにしてもよい。つまり、ノイズ除去部14dは、注目ブロックに対するノイズ除去処理を、周知のノイズ除去処理方法のうちの一つを用いて、あるいは複数の方法を任意に組み合わせて行えばよい。
【0042】
そして、ノイズ除去処理が終了すると、セレクタ14eがそのノイズ除去処理後のデータを出力部15へ送出することで、注目ブロック内の処理を終了する。その後、出力部15は、セレクタ14eから送出されたノイズ除去処理後の画像データを可視画像として出力する。
【0043】
このように、この画像処理装置10では、画像データの注目ブロック内にエッジ画素が存在しなければ、その注目ブロックに対してノイズ除去部14dがノイズ除去処理を行うので、復号部12による圧縮画像データの復号および解像度変換部13による解像度変換の後であっても、出力画像上でブロックノイズが目立ってしまうのを防げるようになる。
【0044】
ただし、各画素平均値av1〜av5が上述した式(1)に示す関係を満たさない場合には、濃度変化に応じたブロックノイズ発生のおそれが極めて小さいので、ノイズ除去部14dは上述したようなノイズ除去処理を行わずに注目ブロック内の画素データに対する処理を終了する。
【0045】
なお、ノイズ除去部14dがノイズ除去処理を行うか否かの判断基準は、上述した式(1)に示す関係に限定されるものではない。すなわち、注目ブロックの画素平均値av5が、周辺ブロック1〜4の画素平均値av1〜av4の全てについて、必ずしも式(1)に示す関係を満たす必要はなく、例えば周辺ブロック1,2について式(1)に示す関係を満たす場合と、周辺ブロック3,4について式(1)に示す関係を満たす場合とで、異なるノイズ除去処理を行うようにしても構わない。
【0046】
また、周辺ブロック1〜4のサイズは、必ずしも注目ブロックのサイズと同一である必要はない。さらには、周辺ブロックの数も、注目ブロックの周辺に位置する4つに限るものではなく、例えば周辺ブロック1,2若しくは周辺ブロック3,4といったようにその数を限定してもよいし、あるいはより多くの周辺ブロックを参照するようにしてもよい。
【0047】
つまり、ノイズ除去処理を行うか否かの判断は、注目ブロックとその周辺の4つのブロックとの濃度差に基づいて行う場合に限られず、任意の基準を用いて構わない。
【0048】
ところで、ここでは、補正処理部14が補正処理を行うのにあたって、エッジ判定部14bでのエッジ有無の判定結果を基に、エッジ強調部14cによるエッジ強調処理とノイズ除去部14dによるノイズ除去処理とのいずれか一方を選択的に行う場合を例に挙げて説明したが、補正処理部14による補正処理としては、エッジ強調処理とノイズ除去処理との両方を行うことも考えられる。具体的には、エッジ画素が存在すると判定された注目ブロックに対して、エッジ強調部14cがエッジ強調処理を行うとともに、ノイズ除去部14dがエッジ部分の周辺画素を参照してモスキートノイズ発生部分を判定し、そのノイズ除去処理を行うようにしてもよい。
【0049】
このように、画像データの注目ブロック内にエッジ画素がある場合に、エッジ強調部14cによるエッジ強調処理のみならず、エッジ強調部14cによるエッジ強調処理とノイズ除去部14dによるノイズ除去処理との両方を行うようにすれば、復号部12による圧縮画像データの復号および解像度変換部13による解像度変換の後であっても、出力画像上の文字の周辺部の画質が劣化してしまうモスキートノイズが現れてしまうのを防げるようになる。
【0050】
以上に説明したように、本実施形態の画像処理装置10およびその画像処理装置10が行う画像処理方法では、解像度変換部13による解像度変換後の画像データに対して、補正処理部14がエッジ強調処理とノイズ除去処理とのいずれか一方または両方を行うようになっている。そのため、受信部11で受信した圧縮画像データの圧縮率の高さに起因して、文字のボケ、ブロックノイズまたはモスキートノイズといったディフェクトの要因となるノイズ等が重畳しても、そのノイズ等を補正処理部14での補正処理によって除去することができるので、出力画像上にディフェクトが現れてしまうのを防ぐことができる。
【0051】
しかも、補正処理部14による補正処理は、解像度変換部13による解像度変換後の画像データに対して行うようになっているので、復号時に発生するディフェクトのみに拘らず、解像度変換によって現れるディフェクトも同時に防止することができる。つまり、受信解像度から出力解像度へ画像データを変換した後に補正処理部14が補正処理を行うので、出力画像にディフェクトが現れるのを確実に防止することができ、結果として高品位な画像の出力を実現することできるようになる。
【0052】
さらに、本実施形態の画像処理装置10およびその画像処理装置10が行う画像処理方法では、補正処理部14が補正処理を行うのにあたって、その補正処理の対象となるブロックサイズを、ブロックサイズ決定部14aが解像度変換部13による解像度変換の倍率に応じて決定するようになっているので、その決定を容易なものとすることができる。しかも、その決定が容易であるのにも拘らず、ブロックノイズ等の発生位置を逃すことなく、これを確実に除去することができるようになる。つまり、ブロックサイズの大きさを解像度変換の倍率に基づいて決定することで、任意の解像度を持ち、かつ、任意の方式で非可逆圧縮された画像に対しても、簡単な構成で適切な補正処理を行うことができるようになる。
【0053】
〔第2の実施の形態〕
次に、第2の実施の形態について説明する。ただし、ここでは、上述した第1の実施の形態との相違点についてのみ説明する。
【0054】
先ず、本実施形態における画像処理装置の構成について説明する。
図5は本実施形態における画像処理装置の概略構成を示すブロック図である。なお、図中において、第1の実施の形態と同一の構成要素については同一の符号を与えている。
【0055】
図例のように、本実施形態における画像処理装置20は、補正処理部21と、解像度変換部22とが、上述した第1の実施の形態の場合と異なっている。
【0056】
補正処理部21は、復号部12で復号された画像データに対する補正処理を行うものである。すなわち、補正処理部21は、解像度変換部22による解像度変換が行われる前の画像データに対して補正処理を行うようになっている。そのため、この補正処理部21では、第1の実施の形態の場合とは異なりブロックサイズ決定部14aを有しておらず、補正処理の対象となるブロックサイズを常に固定された値、例えばJPEG方式による圧縮画像データであれば8画素×8画素とするようになっている。これは、図2においてn=1の場合に相当する。
【0057】
また、解像度変換部22は、補正処理部21による補正処理が行われた後の画像データに対し、これを出力部15の特性に合わすべく、受信時の解像度よりも高い出力解像度へ変換するものである。なお、このときの解像度変換は、第1の実施の形態で説明した場合と同様にして行えばよい。
【0058】
次に、以上のように構成された画像処理装置20において受信した画像データに対する補正処理を行う場合の動作例、すなわち本実施形態における画像処理方法について説明する。
図6は本実施形態における補正処理動作の流れを示すフローチャートである。
【0059】
この画像処理装置20では、受信部11が圧縮画像データを受信すると、復号部12による圧縮画像データの復号を経た後に、補正処理部21がその復号後の画像データに対して補正処理を行う。
【0060】
補正処理部21では、補正処理を行うのにあたって、図6に示すように、先ずはじめに、注目ブロックについてエッジ判定部14bがエッジ部の有無を判定する(S201)。このとき、注目ブロックのサイズは例えば8画素×8画素の固定サイズであるため、第1の実施の形態で説明したような注目ブロックサイズおよび周辺ブロックサイズの決定は行わない。
【0061】
そして、この判定の結果、注目ブロック内にエッジ画素が存在する場合には、エッジ強調部14cが注目ブロック内のエッジ画素に対してエッジ強調処理を行い(S201)、そのエッジ強調処理後のデータをセレクタ14eが解像度変換部22へ送出することで、注目ブロック内の処理を終了する。
【0062】
一方、注目ブロック内にエッジ画素が存在しない場合には、続いて、ノイズ除去部14dが、その注目ブロックについての画素平均値av5と周辺ブロック1〜4についての画素平均値av1〜av4とを比較し(S203)、濃度差が小さい場合にはブロックノイズが発生し易いので、ノイズ除去処理を行う(S204)。このときのノイズ除去処理については、第1の実施の形態で説明した場合と同様にして行う。
【0063】
なお、補正処理部21は、第1の実施の形態で説明した場合と同様に、エッジ判定部14bでのエッジ有無の判定結果を基に、エッジ強調部14cによるエッジ強調処理とノイズ除去部14dによるノイズ除去処理との両方を行うようにしてもよい。
【0064】
そして、補正処理部21が補正処理を行うと、その補正処理後の画像データに対して、解像度変換部22が解像度の変換を行った後に、出力部15がその解像度変換後の画像データを可視画像として出力する。
【0065】
以上に説明したように、本実施形態の画像処理装置20およびその画像処理装置20が行う画像処理方法においても、第1の実施の形態の場合と同様に、補正処理部21がエッジ強調処理とノイズ除去処理とのいずれか一方または両方を行うようになっている。そのため、圧縮画像データの復号によって文字のボケ、ブロックノイズまたはモスキートノイズといったディフェクトの要因となるノイズ等が重畳しても、そのノイズ等を補正処理部21での補正処理によって除去することができるので、出力画像上にディフェクトが現れてしまうのを防ぐことができる。また、補正処理によってノイズ等が除去されることから、その後に解像度変換部22が解像度変換を行っても、その解像度変換によってディフェクトが目立つようになってしまうこともない。
【0066】
しかも、補正処理部21による補正処理は、解像度変換部22による解像度変換の前に行うようになっている。すなわち、解像度変換前の解像度が低い状態で、処理対象となるブロックのサイズを常に固定(例えば8画素×8画素)して、補正処理を行うようになっている。そのため、ブロックサイズを決定するための構成(処理)を必要としたり、補正処理時に大量のメモリを必要とすることがないので、補正処理を簡単な装置構成で、かつ、迅速に行い得るようになる。また、例えばエッジ判定部14bでの判定結果を基に解像度変換の方式を画素毎に切り換えるといったことも容易に実現可能となる。ただし、固定の方式を用いてもよいことは勿論である。
【0067】
なお、上述した第1および第2の実施の形態では、JPEG方式により圧縮された後の圧縮画像データを受信する場合を例に挙げて説明したが、本発明はこれに限定されるものではなく、他の非可逆圧縮方式により圧縮された画像データについても適用可能であることはいうまでもない。
【0068】
【発明の効果】
以上に説明したように、本発明の画像処理装置および画像処理方法によれば、非可逆圧縮をされた第1の解像度の画像データを復号した後にこれを第1の解像度より高い第2の解像度へ変換する場合であっても、その画像データについてエッジ部の有無を判定し、その判定結果を基にエッジ強調処理とノイズ除去処理とのいずれか一方または両方を行うようになっている。したがって、画像データの圧縮率の高さに起因して、文字のボケ、ブロックノイズまたはモスキートノイズといったディフェクトの要因となるノイズ等が重畳しても、そのノイズ等を除去して出力画像上にディフェクトが現れてしまうのを防ぐことができる。つまり、受信した圧縮画像データに対する復号および解像度変換を行っても、エッジ部分のボケ等がなく、しかもノイズも低減された、高品位な画像を出力することができる。
【図面の簡単な説明】
【図1】 本発明に係る画像処理装置の第1の実施の形態の概略構成を示すブロック図である。
【図2】 第1の実施の形態における補正処理ブロックの一具体例を示す説明図である。
【図3】 第1の実施の形態におけるエッジ強調フィルタの一具体例を示す説明図である。
【図4】 第1の実施の形態における補正処理動作の流れを示すフローチャートである。
【図5】 本発明に係る画像処理装置の第2の実施の形態の概略構成を示すブロック図である。
【図6】 第2の実施の形態における補正処理動作の流れを示すフローチャートである。
【符号の説明】
10,20…画像処理装置、11…受信部、12…復号部、13,22…解像度変換部、14,21…補正処理部、14a…ブロックサイズ決定部、14b…エッジ判定部、14c…エッジ強調部、14d…ノイズ除去部、14e…セレクタ、15…出力部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image processing apparatus that receives image data via a public line or a network line and outputs the image data as a visible image, and an image processing method used in the image processing apparatus.
[0002]
[Prior art]
In recent years, with the progress of colorization of documents, in addition to the widespread use of color copies, color printers, and the like, the opportunity to transmit color documents is also increasing. In general households, the use of color facsimiles in addition to monochrome facsimiles is increasing due to the spread of ISDN (Integrated Services Digital Network) networks.
[0003]
Conventionally, transmission of a color document using a color facsimile or the like is performed as follows.
For example, on the transmitting side, in order to improve transmission efficiency, color image data read by a color optical system is generally subjected to multiple compression at a predetermined resolution by a JPEG (Joint Photographic Experts Group) method. . However, the current G3 color facsimile transmission / reception resolution is 100dpi (dot per inch), 200dpi, 300dpi, 400dpi, but it is an indispensable standard considering transmission time, communication cost, receiving side capability, etc. In most cases, color image data is transmitted at a resolution of 200 dpi.
[0004]
On the other hand, on the receiving side, when color image data that has been multiple-compressed by the JPEG method is received, it is decoded and then printed out as a visible image on recording paper. However, as described above, 200 dpi is the main resolution for transmitting color image data. However, with respect to output devices (printer engines, etc.) on the receiving side, the resolution has been increasing year by year, and currently it is about 600 dpi and 1200 dpi. High resolution output is becoming common. Therefore, on the receiving side, for example, when color image data is received at a resolution of 200 dpi, the color image data is converted to a resolution of 600 dpi or 1200 dpi to match the characteristics of the output device.
[0005]
[Problems to be solved by the invention]
By the way, since the JPEG method, which is one of the standards used when transmitting color image data, is an irreversible compression method, it is possible to increase the compression rate in order to reduce the data amount. There is a risk that mosquito noise that deteriorates the image quality in the peripheral area of characters or block noise that makes block boundaries become conspicuous according to changes in density such as the background of the photograph may occur. . Furthermore, it is conceivable that the entire character is blurred due to image quality degradation at the edge portion of the character, making the character unreadable. That is, in the irreversible compression method, as the compression rate is increased, a defect (image quality degradation or the like) appears in the output image.
[0006]
Therefore, as described above, when resolution conversion is performed on the color image data after decoding on the receiving side in accordance with the characteristics of the output device, defects occurring in the output image become more conspicuous. . For example, when the reception resolution is 200 dpi and the output resolution is 600 dpi, mosquito noise, block noise, and the like are enlarged to about three times and become more conspicuous. In addition, the blur of the deteriorated portion is enlarged about three times in the edge portion of the character, and it becomes more difficult to read.
[0007]
The present invention has been made in view of such problems, and an object of the present invention is to decode image data after irreversible compression received via a public line or a network line, and to decode and resolve the image data. An object of the present invention is to provide an image processing apparatus and an image processing method capable of outputting a high-quality image even when output after conversion.
[0008]
[Means for Solving the Problems]
The present invention has been devised to achieve the above object. Image data of the first resolution is irreversibly compressed by the image processing device Decoding means for decoding the compressed image data, resolution conversion means for converting the image data decoded by the decoding means to a second resolution higher than the first resolution, and edge of the image data converted by the resolution conversion means One or both of edge enhancement processing and noise removal processing as correction processing for image data after conversion by the resolution conversion unit based on the determination result of the edge determination unit Correction processing means The correction processing means performs correction processing on the image data after conversion by the resolution conversion means for each of a plurality of areas constituting the image data, and the size of the area is set in the lossy compression. Is determined based on the size of the processing unit block and the resolution conversion magnification in the resolution conversion means. It is characterized by that.
[0010]
Also, The present invention is an image processing method devised to achieve the above object, and irreversibly compresses image data of the first resolution. Decoding the compressed image data, converting the decoded image data to a second resolution higher than the first resolution, determining the presence or absence of an edge portion of the image data after the conversion to the second resolution, Based on the determination result, either or both of edge enhancement processing and noise removal processing are performed as correction processing for the image data after conversion to the second resolution. It is performed for each of a plurality of areas constituting the image data, and the size of the area is set to the size of the processing unit block in the lossy compression and the resolution conversion from the first resolution to the second resolution. Determine based on magnification It is like that.
[0012]
Image processing apparatus having the above-described configuration and image processing method having the above-described procedure According to Correction processing for image data after resolution conversion is performed for each of a plurality of areas constituting the image data, and density difference for each processing unit block at the time of irreversible compression is prevented from appearing as block noise. Because the size of the area is determined based on the size of the processing unit block and the magnification of resolution conversion, Even if noise or the like is superimposed on the image data by decoding the compressed image data and converting the resolution, the noise or the like is removed by the correction process. Therefore, even if the corrected image data is output as a visible image, image quality deterioration due to decoding of the compressed image data and subsequent resolution conversion is not conspicuous.
[0014]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an image processing apparatus and an image processing method according to the present invention will be described with reference to the drawings.
[0015]
[First Embodiment]
here, First embodiment Will be described.
[0016]
First, the configuration of the image processing apparatus in the present embodiment will be described.
FIG. 1 is a block diagram illustrating a schematic configuration of an image processing apparatus according to the present embodiment.
[0017]
As shown in the figure, the image processing apparatus 10 according to this embodiment includes a receiving unit 11, a decoding unit 12, a resolution conversion unit 13, a correction processing unit 14, and an output unit 15.
[0018]
The receiving unit 11 includes an interface connected to a public line such as a public telephone line network or a network line for constituting a wide area network called the Internet, and is transmitted from a facsimile apparatus on the public line or a computer apparatus on the network line. The received image data is received. However, it is assumed that the compressed image data after being compressed by, for example, the JPEG method is transmitted from the facsimile apparatus or the computer apparatus at a resolution of 200 dpi, for example.
[0019]
The decoding unit 12 is for decoding the compressed image data received by the receiving unit 11. The decoding of the compressed image data by the decoding unit 12 uses a well-known technique, and thus detailed description thereof is omitted here.
[0020]
The resolution converter 13 converts the image data decoded by the decoder 12 to an output resolution higher than the resolution at the time of reception so as to match the characteristics of the output unit 15. Specifically, for example, image data received at a resolution of 200 dpi is converted to an output resolution of 600 dpi.
[0021]
The resolution conversion at this time may be performed using an arbitrary method according to the reception resolution and output resolution, the apparatus configuration of the image processing apparatus 10, and the like. That is, a suitable method may be selected according to the characteristics of image data to be received, processing time, resolution conversion magnification, or the like, or a preset conversion method may be used. For example, as a resolution conversion method, the simple scaling method is used as a simple method, the nearest neighbor method is used as a method to prevent the character edge from being rounded, and the linear approximation is used if the gradation of a photograph or a picture is maintained. There are conversion methods by interpolation such as the bilinear method used and the cubic convolution method using a zinc function. It is also conceivable to distinguish between a character portion and a photograph portion included in the received image data and switch between different conversion methods for each portion.
[0022]
The correction processing unit 14 performs correction processing, which will be described in detail later, on the image data after the resolution conversion by the resolution conversion unit 13. For this purpose, the correction processing unit 14 includes a block size determination unit 14a, an edge determination unit 14b, an edge enhancement unit 14c, a noise removal unit 14d, and a selector 14e.
[0023]
Among these, the block size determination unit 14 a determines the size of the pixel block that is the target of the correction processing in the correction processing unit 14. Here, the determination of the block size by the block size determination unit 14a will be described in detail.
[0024]
FIG. 2 is an explanatory diagram showing a specific example of the correction processing block.
The block size determination unit 14 a determines the block size based on the resolution conversion magnification by the resolution conversion unit 13. Specifically, for example, in the case of the JPEG method, since the compression is performed in units of blocks of 8 pixels × 8 pixels, the block size determination unit 14a, as shown in FIG. More specifically, the size of the block of interest and the size of its peripheral blocks are (8 × n) pixels × (8 × n) pixels. If the resolution conversion unit 13 converts the 200 dpi reception resolution into the 600 dpi output resolution, for example, the value of n at this time is “3” according to the resolution conversion magnification.
[0025]
The reason why the block unit is 8 pixels × 8 pixels is to prevent the density difference for each block from appearing as block noise. The reason why the block size to be corrected is multiplied by n in accordance with the resolution conversion magnification is that when the resolution conversion is performed, the corresponding block size is also converted.
Therefore, if irreversible compression other than JPEG is used and the processing is performed with a different block size, the target block size may be changed as appropriate. Further, when the value of 8 × n becomes other than an integer, the block size may be changed each time by rounding off the value.
[0026]
In FIG. 1, the edge determination unit 14 b determines the presence or absence of an edge portion for each block size determined by the block size determination unit 14 a with respect to the image data after the resolution conversion by the resolution conversion unit 13. . The determination of the presence or absence of an edge portion may be performed using a known technique. Specifically, for example, it is conceivable to carry out using the optimum binarization as disclosed in JP-A-3-126180.
[0027]
As a result of the determination by the edge determination unit 14b, the edge enhancement unit 14c performs edge enhancement processing on the edge pixels of the edge portion if the edge portion is present in the block to be corrected. . The edge enhancement process may be performed using any known method, but the most common example is to apply an edge enhancement filter as shown in FIG. Needless to say, even when an edge enhancement filter is used, the filter size can be arbitrarily determined.
[0028]
In FIG. 1, the noise removing unit 14d determines that noise is described in detail later for a block that is not subject to correction processing as a result of the determination by the edge determining unit 14b. A removal process is performed.
[0029]
The selector 14e, based on the determination result in the edge determination unit 14b, either one of the image data after the edge enhancement processing in the edge enhancement unit 14c and the image data after the noise removal processing in the noise removal unit 14d or Both are used as image data to be sent to the output unit 15.
[0030]
The output unit 15 includes a printer engine or the like that supports full color, and outputs the image data sent from the selector 14e of the correction processing unit 14 on a recording sheet as a visible image. However, the output unit 15 may display and output the image data from the correction processing unit 14 on a CRT (Cathode Ray Tube), an LED (Light Emitting Diode), or the like.
[0031]
Next, an operation example when performing correction processing on received image data in the image processing apparatus 10 configured as described above, that is, an image processing method in the present embodiment will be described.
FIG. 4 is a flowchart showing the flow of the correction processing operation in the present embodiment.
[0032]
In this image processing apparatus 10, when the receiving unit 11 receives the compressed image data, after the decoding of the compressed image data by the decoding unit 12 and the resolution conversion by the resolution conversion unit 13, the correction processing unit 14 performs the resolution conversion after the resolution conversion. Correction processing is performed on the image data.
[0033]
In the correction processing unit 14, when performing the correction processing, as shown in FIG. 4, first, the block size determination unit 14a determines the sizes of the block of interest and the peripheral blocks. For example, if the compressed image data received by the receiving unit 11 is compressed by the JPEG method, the block size determining unit 14a converts the size of the target block and the size of the peripheral block into resolution conversion as already described. According to the magnification, it is determined as (8 × n) pixels × (8 × n) pixels (step 101, hereinafter, step is abbreviated as S).
[0034]
When the block size determination unit 14a determines the sizes of the target block and the peripheral blocks, the correction processing unit 14 then determines whether the edge determination unit 14b has an edge portion for the target block whose size is determined by the block size determination unit 14a. Is determined (S102).
[0035]
If the result of this determination is that there are edge pixels in the block of interest, the edge enhancement unit 14c performs edge enhancement processing on the edge pixels in the block of interest (S103), and the selector 14e performs the noise removal processing. Is sent to the output unit 15 to finish the processing in the block of interest. Thereafter, the output unit 15 outputs the image data after the edge enhancement process sent from the selector 14e as a visible image.
[0036]
As described above, in the image processing apparatus 10, if there is an edge pixel in the target block of the image data, it is determined that the edge portion of the character exists in the target block, and the edge enhancement unit is applied to the edge pixel. 14c performs edge emphasis processing, so that even after decoding of the compressed image data by the decoding unit 12 and resolution conversion by the resolution conversion unit 13, the edge portion of the character on the output image deteriorates and becomes blurred. You can prevent it.
[0037]
On the other hand, when there is no edge pixel in the target block, the noise removing unit 14d subsequently determines whether or not there is a density difference between the target block and the surrounding blocks (S104). Whether or not there is a density difference may be determined as described below.
[0038]
As shown in FIG. 2, the noise removing unit 14d obtains an average value of pixel data in each block for the target block and the four peripheral blocks 1 to 4 located in the vicinity thereof, and an average pixel value av5 for the target block. Is compared with the pixel average values av1 to av4 for the peripheral blocks 1 to 4. That is, when the predetermined threshold value set in advance is “C”, the noise removing unit 14d determines whether or not the respective pixel average values av1 to av5 satisfy the relationship represented by the following expression (1). .
[0039]
| Avj−av5 | <C (where j = 1, 2, 3, 4) (1)
[0040]
When this relationship is satisfied, the density difference between the target block and each of the peripheral blocks 1 to 4 is small, and block noise is likely to occur at the boundary between the target block and the peripheral blocks 1 to 4. Noise removal processing is performed on the target block (S105).
[0041]
The noise removal processing at this time may be performed, for example, by replacing the density value of each pixel data in the target block with the average value of the pixel average values av1 to av5, or by changing the density value of each pixel data in the target block. You may make it change in steps with reference to each pixel average value av1-av4. Further, it is not always necessary to refer to the pixel average values av1 to av5, and the density values of the pixel data constituting the peripheral blocks 1 to 4 may be referred to. Furthermore, instead of replacing all the pixel data in the target block, only the pixel data in the vicinity of the boundary with the peripheral blocks 1 to 4 may be replaced while referring to the average pixel values av1 to av5. That is, the noise removal unit 14d may perform noise removal processing on the block of interest using one of known noise removal processing methods or by arbitrarily combining a plurality of methods.
[0042]
When the noise removal processing is completed, the selector 14e sends the data after the noise removal processing to the output unit 15 to complete the processing in the block of interest. Thereafter, the output unit 15 outputs the image data after the noise removal processing sent from the selector 14e as a visible image.
[0043]
As described above, in this image processing apparatus 10, if there is no edge pixel in the target block of the image data, the noise removing unit 14 d performs noise removal processing on the target block. Even after data decoding and resolution conversion by the resolution converter 13, block noise can be prevented from being noticeable on the output image.
[0044]
However, when the pixel average values av1 to av5 do not satisfy the relationship shown in the above-described equation (1), the noise removal unit 14d has the above-described possibility because the possibility of block noise generation according to the density change is extremely small. The process for the pixel data in the block of interest is terminated without performing the noise removal process.
[0045]
Note that the criterion for determining whether or not the noise removing unit 14d performs the noise removing process is not limited to the relationship represented by the above-described equation (1). That is, the pixel average value av5 of the block of interest does not necessarily satisfy the relationship shown in Expression (1) for all of the pixel average values av1 to av4 of the peripheral blocks 1 to 4. For example, the expression ( Different noise removal processing may be performed when the relationship shown in 1) is satisfied and when the relationship shown in Expression (1) is satisfied for the peripheral blocks 3 and 4.
[0046]
Further, the sizes of the peripheral blocks 1 to 4 are not necessarily the same as the size of the block of interest. Furthermore, the number of peripheral blocks is not limited to four located around the block of interest, and may be limited to, for example, peripheral blocks 1 and 2 or peripheral blocks 3 and 4, or More peripheral blocks may be referenced.
[0047]
That is, the determination as to whether or not to perform noise removal processing is not limited to the case where the determination is made based on the density difference between the block of interest and the four surrounding blocks, and an arbitrary criterion may be used.
[0048]
By the way, here, when the correction processing unit 14 performs the correction processing, the edge enhancement processing by the edge enhancement unit 14c and the noise removal processing by the noise removal unit 14d are performed based on the determination result of the edge presence / absence in the edge determination unit 14b. The case where either one of the above is selectively performed has been described as an example. However, as the correction processing by the correction processing unit 14, it is possible to perform both edge enhancement processing and noise removal processing. Specifically, the edge emphasizing unit 14c performs edge emphasis processing on the target block for which it is determined that the edge pixel exists, and the noise removing unit 14d refers to the peripheral pixels of the edge part to determine the mosquito noise generation part. It may be determined and the noise removal process may be performed.
[0049]
As described above, when there is an edge pixel in the target block of the image data, not only the edge enhancement processing by the edge enhancement unit 14c but also both the edge enhancement processing by the edge enhancement unit 14c and the noise removal processing by the noise removal unit 14d. As a result, even after the decoding of the compressed image data by the decoding unit 12 and the resolution conversion by the resolution conversion unit 13, mosquito noise appears that deteriorates the image quality of the peripheral portion of the character on the output image. You can prevent it.
[0050]
As described above, in the image processing apparatus 10 of this embodiment and the image processing method performed by the image processing apparatus 10, the correction processing unit 14 performs edge enhancement on the image data after the resolution conversion by the resolution conversion unit 13. One or both of processing and noise removal processing are performed. Therefore, even if noise that causes defects such as character blur, block noise, or mosquito noise is superimposed due to the high compression rate of the compressed image data received by the receiving unit 11, the noise is corrected. Since it can be removed by correction processing in the processing unit 14, it is possible to prevent defects from appearing on the output image.
[0051]
In addition, since the correction processing by the correction processing unit 14 is performed on the image data after the resolution conversion by the resolution conversion unit 13, the defects appearing at the resolution conversion are not limited to the defects occurring at the time of decoding. Can be prevented. That is, since the correction processing unit 14 performs the correction process after converting the image data from the reception resolution to the output resolution, it is possible to surely prevent the appearance of defects in the output image, and as a result, the output of a high-quality image is achieved. Can be realized.
[0052]
Furthermore, in the image processing apparatus 10 and the image processing method performed by the image processing apparatus 10 according to the present embodiment, when the correction processing unit 14 performs the correction process, the block size to be corrected is determined as a block size determination unit. Since 14a is determined according to the magnification of resolution conversion performed by the resolution conversion unit 13, the determination can be facilitated. In addition, despite the fact that the determination is easy, it is possible to surely remove this without missing the occurrence position of block noise or the like. In other words, by determining the block size based on the resolution conversion magnification, appropriate correction can be made with a simple configuration even for images with arbitrary resolution and irreversibly compressed by an arbitrary method. Processing can be performed.
[0053]
[Second Embodiment]
next, Second embodiment Will be described. However, here, only differences from the first embodiment described above will be described.
[0054]
First, the configuration of the image processing apparatus in the present embodiment will be described.
FIG. 5 is a block diagram illustrating a schematic configuration of the image processing apparatus according to the present embodiment. In the figure, the same reference numerals are given to the same components as those in the first embodiment.
[0055]
As shown in the figure, the image processing apparatus 20 in the present embodiment is different from the first embodiment described above in the correction processing unit 21 and the resolution conversion unit 22.
[0056]
The correction processing unit 21 performs correction processing on the image data decoded by the decoding unit 12. That is, the correction processing unit 21 performs correction processing on the image data before the resolution conversion by the resolution conversion unit 22 is performed. Therefore, the correction processing unit 21 does not have the block size determination unit 14a unlike the case of the first embodiment, and the block size to be corrected is always a fixed value, for example, the JPEG method. In the case of compressed image data according to the above, 8 pixels × 8 pixels are set. This corresponds to the case of n = 1 in FIG.
[0057]
The resolution conversion unit 22 converts the image data after the correction processing by the correction processing unit 21 into an output resolution higher than the resolution at the time of reception so as to match the characteristics of the output unit 15. It is. Note that the resolution conversion at this time may be performed in the same manner as described in the first embodiment.
[0058]
Next, an operation example when performing correction processing on received image data in the image processing apparatus 20 configured as described above, that is, an image processing method in the present embodiment will be described.
FIG. 6 is a flowchart showing the flow of the correction processing operation in the present embodiment.
[0059]
In the image processing apparatus 20, when the receiving unit 11 receives the compressed image data, the decoding unit 12 performs a correction process on the decoded image data after the decoding unit 12 decodes the compressed image data.
[0060]
In the correction processing unit 21, when performing the correction processing, as shown in FIG. 6, first, the edge determination unit 14b determines the presence or absence of an edge portion for the block of interest (S201). At this time, since the size of the target block is, for example, a fixed size of 8 pixels × 8 pixels, the determination of the target block size and the peripheral block size as described in the first embodiment is not performed.
[0061]
If the result of this determination is that there is an edge pixel in the block of interest, the edge enhancement unit 14c performs edge enhancement processing on the edge pixel in the block of interest (S201), and the data after the edge enhancement processing Is transmitted to the resolution conversion unit 22 by the selector 14e, and the processing in the block of interest is completed.
[0062]
On the other hand, when there is no edge pixel in the target block, the noise removing unit 14d subsequently compares the pixel average value av5 for the target block with the pixel average values av1 to av4 for the peripheral blocks 1 to 4. However, since block noise is likely to occur when the density difference is small, noise removal processing is performed (S204). The noise removal processing at this time is performed in the same manner as described in the first embodiment.
[0063]
As in the case described in the first embodiment, the correction processing unit 21 uses the edge enhancement processing by the edge enhancement unit 14c and the noise removal unit 14d based on the determination result of the edge presence / absence in the edge determination unit 14b. You may make it perform both with the noise removal process by.
[0064]
When the correction processing unit 21 performs the correction process, the resolution conversion unit 22 converts the resolution of the image data after the correction processing, and then the output unit 15 displays the image data after the resolution conversion. Output as an image.
[0065]
As described above, also in the image processing apparatus 20 of this embodiment and the image processing method performed by the image processing apparatus 20, the correction processing unit 21 performs the edge enhancement process as in the case of the first embodiment. One or both of the noise removal processing is performed. Therefore, even if noise that causes defects such as character blur, block noise, or mosquito noise is superimposed by decoding the compressed image data, the noise can be removed by correction processing in the correction processing unit 21. It is possible to prevent defects from appearing on the output image. Further, since noise and the like are removed by the correction processing, even if the resolution conversion unit 22 performs resolution conversion thereafter, the defect does not become conspicuous due to the resolution conversion.
[0066]
Moreover, the correction processing by the correction processing unit 21 is performed before the resolution conversion by the resolution conversion unit 22. That is, correction processing is performed with the size of a block to be processed always fixed (for example, 8 pixels × 8 pixels) in a state where the resolution before resolution conversion is low. Therefore, a configuration (processing) for determining the block size is not required, and a large amount of memory is not required for the correction processing, so that the correction processing can be performed quickly with a simple device configuration. Become. In addition, for example, switching the resolution conversion method for each pixel based on the determination result in the edge determination unit 14b can be easily realized. However, it goes without saying that a fixed method may be used.
[0067]
In the first and second embodiments described above, the case where the compressed image data compressed by the JPEG method is received has been described as an example. However, the present invention is not limited to this. Needless to say, the present invention can also be applied to image data compressed by other lossy compression methods.
[0068]
【The invention's effect】
As described above, according to the image processing apparatus and the image processing method of the present invention, the first resolution subjected to the lossy compression is used. Decrypt image data Even when this is converted to a second resolution higher than the first resolution, the presence or absence of an edge portion is determined for the image data, and the edge enhancement processing and noise removal processing are performed based on the determination result. Do one or both. Therefore, even if noise that causes a defect such as character blur, block noise, or mosquito noise is superimposed due to the high compression rate of the image data, the noise is removed and the defect is displayed on the output image. Can be prevented from appearing. In other words, even if decoding and resolution conversion are performed on the received compressed image data, a high-quality image with no blurring at the edge portion and with reduced noise can be output.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a schematic configuration of an image processing apparatus according to a first embodiment of the present invention.
FIG. 2 is an explanatory diagram illustrating a specific example of a correction processing block according to the first embodiment.
FIG. 3 is an explanatory diagram illustrating a specific example of an edge enhancement filter according to the first embodiment.
FIG. 4 is a flowchart showing a flow of a correction processing operation in the first embodiment.
FIG. 5 is a block diagram showing a schematic configuration of a second embodiment of an image processing apparatus according to the present invention.
FIG. 6 is a flowchart showing a flow of a correction processing operation in the second embodiment.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 10,20 ... Image processing apparatus, 11 ... Reception part, 12 ... Decoding part, 13, 22 ... Resolution conversion part, 14, 21 ... Correction processing part, 14a ... Block size determination part, 14b ... Edge determination part, 14c ... Edge Emphasis unit, 14d ... noise removal unit, 14e ... selector, 15 ... output unit

Claims (3)

第1の解像度の画像データを非可逆圧縮した圧縮画像データを復号する復号手段と、
前記復号手段が復号した画像データを前記第1の解像度より高い第2の解像度へ変換する解像度変換手段と、
前記解像度変換手段による変換後の画像データについてエッジ部の有無を判定するエッジ判定手段と、
前記エッジ判定手段での判定結果を基に前記解像度変換手段による変換後の画像データに対する補正処理としてエッジ強調処理とノイズ除去処理とのいずれか一方または両方を行う補正処理手段とを備え、
前記補正処理手段は、前記解像度変換手段による変換後の画像データに対する補正処理を当該画像データを構成する複数の領域毎に行うとともに、前記領域の大きさを前記非可逆圧縮の際の処理単位ブロックの大きさおよび前記解像度変換手段での解像度変換の倍率に基づいて決定するものである
ことを特徴とする画像処理装置。
Decoding means for decoding compressed image data obtained by irreversibly compressing image data of the first resolution ;
Resolution conversion means for converting the image data decoded by the decoding means to a second resolution higher than the first resolution;
Edge determination means for determining the presence or absence of an edge portion for the image data converted by the resolution conversion means;
Correction processing means for performing either or both of edge enhancement processing and noise removal processing as correction processing for the image data after conversion by the resolution conversion means based on the determination result by the edge determination means ,
The correction processing means performs correction processing on the image data after conversion by the resolution conversion means for each of a plurality of areas constituting the image data, and the size of the area is a processing unit block for the lossy compression. An image processing apparatus characterized in that it is determined on the basis of the size of the image and the resolution conversion magnification of the resolution conversion means .
非可逆圧縮した圧縮画像データがJPEG方式で圧縮されている場合には、前記補正処理手段における処理単位ブロックの大きさを8画素×8画素の大きさとするWhen the irreversibly compressed image data is compressed by the JPEG method, the size of the processing unit block in the correction processing means is set to 8 pixels × 8 pixels.
ことを特徴とする請求項1に記載の画像処理装置。The image processing apparatus according to claim 1.
第1の解像度の画像データを非可逆圧縮した圧縮画像データを復号し、Decoding compressed image data obtained by irreversibly compressing first resolution image data;
復号した後の画像データを前記第1の解像度より高い第2の解像度へ変換し、Converting the decoded image data to a second resolution higher than the first resolution;
前記第2の解像度へ変換した後の画像データについてエッジ部の有無を判定し、Determining the presence or absence of an edge for the image data after conversion to the second resolution;
その判定結果を基に前記第2の解像度へ変換した後の画像データに対する補正処理としてエッジ強調処理とノイズ除去処理とのいずれか一方または両方を当該画像データを構成する複数の領域毎に行うとともに、前記領域の大きさを前記非可逆圧縮の際の処理単位ブロックの大きさおよび前記第1の解像度から前記第2の解像度への解像度変換の倍率に基づいて決定するAs a correction process for the image data after conversion to the second resolution based on the determination result, either or both of an edge enhancement process and a noise removal process are performed for each of a plurality of areas constituting the image data. The size of the area is determined based on the size of the processing unit block in the lossy compression and the magnification of resolution conversion from the first resolution to the second resolution.
ことを特徴とする画像処理方法。An image processing method.
JP24471099A 1999-08-31 1999-08-31 Image processing apparatus and image processing method Expired - Fee Related JP3820815B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24471099A JP3820815B2 (en) 1999-08-31 1999-08-31 Image processing apparatus and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24471099A JP3820815B2 (en) 1999-08-31 1999-08-31 Image processing apparatus and image processing method

Publications (2)

Publication Number Publication Date
JP2001069344A JP2001069344A (en) 2001-03-16
JP3820815B2 true JP3820815B2 (en) 2006-09-13

Family

ID=17122780

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24471099A Expired - Fee Related JP3820815B2 (en) 1999-08-31 1999-08-31 Image processing apparatus and image processing method

Country Status (1)

Country Link
JP (1) JP3820815B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4987688B2 (en) * 2007-12-25 2012-07-25 株式会社東芝 Method and apparatus for increasing image resolution
US8204336B2 (en) 2008-07-16 2012-06-19 Panasonic Corporation Removing noise by adding the input image to a reference image

Also Published As

Publication number Publication date
JP2001069344A (en) 2001-03-16

Similar Documents

Publication Publication Date Title
US20040169890A1 (en) Restoration and enhancement of scanned document images
US8035862B2 (en) Fast method for fax encoded data conversion
US8437043B2 (en) Compression of grayscale image data using multi-bit halftoning
JP4037824B2 (en) Image encoding method and image apparatus
US20080205765A1 (en) Light compression for color images using error diffusion
WO2004015984A1 (en) Image data processing device, image data processing method, program, recording medium, and image reading device
US20080266580A1 (en) Scaling methods for binary image data
JP3614358B2 (en) Image encoding device
JP4528843B2 (en) Line buffer circuit, image processing apparatus, and image forming apparatus
US20040190023A1 (en) Image processing method, apparatus and program
JP3820815B2 (en) Image processing apparatus and image processing method
US7312898B2 (en) Transformation of an input image to produce an output image
JP2003186635A (en) Image processing apparatus and program
US7430342B2 (en) Image processing apparatus and image processing program to perform image data resolution conversion
US7336400B2 (en) Transforming an input image to produce an output image
JP3815214B2 (en) Image processing apparatus and storage medium storing screen processing program
JP4011494B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP2004112140A (en) Image processing apparatus
JP2002158879A (en) Method for compressing/uncompressing image with gradation and compressing/uncompressing device
JP4926128B2 (en) Image processing apparatus, image reading apparatus, image forming apparatus, computer program, recording medium, and image processing method
JP2976386B2 (en) Binary image scaling device
JPH1093816A (en) Digital picture processor
JP3545464B2 (en) Composite device
JPH07274017A (en) Picture processor
JPH05191632A (en) Binary picture processor

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050615

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050628

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050829

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060530

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060612

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees