JP3775458B2 - Image processing apparatus and image smoothing method - Google Patents
Image processing apparatus and image smoothing method Download PDFInfo
- Publication number
- JP3775458B2 JP3775458B2 JP16223798A JP16223798A JP3775458B2 JP 3775458 B2 JP3775458 B2 JP 3775458B2 JP 16223798 A JP16223798 A JP 16223798A JP 16223798 A JP16223798 A JP 16223798A JP 3775458 B2 JP3775458 B2 JP 3775458B2
- Authority
- JP
- Japan
- Prior art keywords
- image data
- change point
- pixel
- image
- smoothing
- 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
Links
Images
Landscapes
- Image Processing (AREA)
- Editing Of Facsimile Originals (AREA)
- Facsimile Image Signal Circuits (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、画像処理装置に関し、特に画像データに平滑化処理を施す画像処理装置およびその画像平滑化方法に関するものである。
【0002】
【従来の技術】
近年、編集ソフトウェアや、スキャナ、電子スティルカメラ等の画像入力機器の発達、普及に伴い、例えば写真をスキャナあるいは電子スティルカメラでコンピュータに取り込んで日付や文章を添付するといったように、写真やイラストと文章を編集加工して1つの文書として取り扱う機会が増えている。このような文書をプリントアウトする際には、高い画質の出力が要求される。そのために、高い解像性が求められる文字や線画の部分については平滑化処理を施してプリントアウトするのが一般的となっている。
【0003】
ところで、上記のような文書を1つの画像データとしてプリントアウトしようとすると、絵柄部分と平滑化処理の対象となる文字・線画部分を分離する必要がある。しかし、両者を完全に分離することは難しい。従来は、特に絵柄部分と文字・線画部分が重複している場合には、絵柄部分を文字・線画部分として取り扱ったり、文字・線画部分を絵柄部分として取り扱っていた。そのため、それぞれの部分に適した処理が施されずに画質劣化の原因となっていた。
【0004】
そこで、上記のような文書の編集、加工の際に、あらかじめ絵柄部分と文字・線画部分とに分けて別個の画像データとして保存しておくとともに、プリントアウトの際にどちらの画像データを選択するかを示す選択情報を上記2つの画像データとともにプリンタに転送して、プリンタで選択情報に基づいて上記2つの画像データを合成する方法が考えられている。このような方法として、例えば特開平8−256255号公報に開示されている技術がある。この技術では、文字や線画からなる2値画像データと、絵柄からなる多値画像データと、両者を合成する際の合成情報とを受け取って、2値画像データと多値画像データを合成する。その際に、2値画像データのある画素の値がその画素を印字すべき旨を示している場合には2値画像データを優先するとともに、合成情報に基づいてそのまま合成するかあるいはその画素を白抜きとする。また、2値画素データのある画素の値がその画素を印字しない旨を示している場合には、多値画像データを優先する。このようにして、絵柄部分と文字・線画部分を良好に合成することができる。
【0005】
ところで平滑化処理は、一般的に次のような手順で行なわれる。まず入力画像から注目画素を中心とするm画素×nライン(m、nはともに自然数)のブロック(以下m×nブロックと呼ぶ)を切り出す。そして、切り出したブロックと、そのブロックと同じ大きさの複数のパターンとのパターンマッチングを行なう。一致するパターンが存在する場合には、その一致したパターンに応じて注目画素を変換し、一致するパターンがない場合には、注目画素をそのまま出力する。つまり、検出するパターンによっては、もともと文字・線画部分には属していない画素を変換して出力することがある。上述の文献にもこのような平滑化処理の例が記載されており、一致したパターンに応じて注目画素の印字幅を変化させている。
【0006】
図95は、平滑化処理の一例の説明図である。上述のような平滑化処理を行なうと、図95(A)に示す1画素ずれた線分は、接続点を挟む数画素について、その印字幅を変化させることで図95(B)に示すように平滑化される。これによって滑らかな直線をプリントすることができる。このとき、図95(B)において矢印で示した画素は、本来は下地画像などの絵柄部分が選択される画素であって、平滑化処理によって直線の一部を表わす画素となったものである。これらの画素は直線を構成するとはいえ、印字幅も小さい。そのため、これらの画素においては印字部分を除く多くの部分は絵柄もプリントされず、白抜けの状態となる。例えば絵柄部分および文字・線画部分がともに濃色の場合には、この白抜け部分によって画質が低下する。逆に絵柄部分が淡色で文字・線画部分が濃色の場合には、これらの画素を絵柄部分としてしまうと、平滑化処理の効果を発揮できないことになる。さらに、このような白抜けとなる部分を考慮して平滑化処理を行なうと、文字・線画部分に細りやかすれなどが発生しやすいという問題もあった。
【0007】
【発明が解決しようとする課題】
本発明は、上述した事情に鑑みてなされたもので、入力された画像データに対して平滑化処理を行ない、高画質で出力することのできる画像処理装置を提供するとともに、そのような高画質で出力可能な画像平滑化処理方法を提供することを目的とするものである。
【0008】
【課題を解決するための手段】
本発明は、テキストあるいは線画データの情報を含む第1の画像データと、第1の画像データにて表現される情報以外の情報を含む第2の画像データと、第1の画像データまたは第2の画像データを画素ごとに選択する第3の画像データが入力され、第3の画像データに従って平滑化処理を実行する。例えば、第1の画像データまたは前記第2の画像データを画素ごとに選択して合成画像データを得るか、あるいは第3の画像データを用いずに第1の画像データまたは前記第2の画像データを画素ごとに選択して合成画像データを得た後に、合成画像データに対して平滑化処理を行なうことができる。
【0009】
平滑化処理によって上述のように例えば絵柄の領域とテキストあるいは線画の領域の間に白抜けなどが発生する場合がある。そのため、第3の画像データに基づいて平滑化処理を行なうことによって、例えばテキストあるいは線画の領域とそれ以外の絵柄の領域の変化点を検出して変化点情報とし、その変化点情報を用いて例えば白抜けが目立つ画像であれば絵柄部分を選択し、文字などのエッジが目立つ画像であれば平滑化結果を選択することができ、高品質の画像を形成することができる。平滑化処理の際には、画像データに対して施すべき画像処理の属性を定義した処理制御データも用いることができる。
【0010】
【発明の実施の形態】
図1は、本発明の画像処理装置の第1の実施の形態を示すブロック図である。図中、1,7はセレクタ、2,3はバッファ、4は2値化部、5は平滑化処理部、6は変化点検出部である。本発明の平滑化手段は図1に示す各ブロックによって構成される。この画像処理装置は3つの入力端a〜cと1つの出力端dを有している。これらの入力端が入力部を構成している。入力端aには、テキストあるいは線画データの情報を含む第1の画像データが入力される。入力端bには、第1の画像データで表現される情報以外の情報、例えば絵柄などを含む第2の画像データが入力される。入力端cには、第1の画像データまたは第2の画像データを画素ごとに選択する第3の画像データが入力される。出力端dからは、平滑化処理された画像が出力される。
【0011】
セレクタ1は、入力端cから入力される第3の画像データに基づいて、入力端aから入力される第1の画像データまたは入力端bから入力される第2の画像データのいずれかを画素ごとに選択して出力する。これによって3つの画像データに分解されて入力された画像データが合成され、合成画像データとして出力される。
【0012】
バッファ2は、合成画像データを一時的に保持し、バッファ3は、入力端cに入力される第3の画像データを一時的に保持する。これらのバッファ2,3は、遅延量の調整を行なうとともに、以降の処理でm×nブロックのデータが必要な場合に、そのブロックデータを形成する。
【0013】
2値化部4は、合成画像データに基づいて2値画像データを作成する。平滑化処理部5は、2値化部4において作成された2値画像データに対して平滑化処理を施し、平滑化画像データを出力する。変化点検出部6は、合成画像データおよび入力端cから入力される第3の画像データに基づいて変化点を検出し、変化点に関係する変化点情報を出力する。
【0014】
セレクタ7は、バッファ2内の合成画像データまたは平滑化処理部5から出力される平滑化画像データのいずれかを、変化点検出部6から出力される変化点情報に基づいて画素ごとに選択し、出力画像データを出力端cに出力する。
【0015】
図2は、本発明の画像処理装置の第1の実施の形態における動作の概要を示すフローチャートである。なお、図2において、iおよびjは先頭ラインの先頭画素を原点としたときの副走査および主走査方向における画素位置を示すインデックス、PおよびLは入力画像データの主走査および副走査方向の画素数である。また、P1は第1の画像データ、P2は第2の画像データ、P3は第3の画像データ、P4は合成画像データであり、添字i、jは各画像の主走査方向j+1番目、副走査方向i+1番目の画素であることを表わす。ここではP1,P2,P4は多値データであり、P3は2値データである。第1ないし第3の画像データは同時に同じ位置の画素が入力されるものとする。関数smoothは画像に平滑化処理を施すことを、関数maxは最大値を取ることをそれぞれ表わしている。上線の付加は論理否定、・は論理積、+は論理和を表わすが、P1,P2,P4は論理データではないので、ここではP3との論理積によって選択されるか否かが決定され、論理和によって2項のいずれかが左辺となることを示している。以下、各実施の形態におけるフローチャートについて同様である。
【0016】
まずS101において、画素位置を示す添字i,jをともに0にリセットし、処理すべき画素を画像の先頭ラインの先頭画素に設定する。S102において、セレクタ1は、入力された第1の画像データP1i,j および第2の画像データP2i,j から、第3の画像データの画素値P3i,j に基づいて合成画像データP4i,j を作成する。この例では論理式より、第3の画像データP3i,j が‘1’であれば第1の画像データP1i,j を選択し、第3の画像データP3i,j が‘0’であれば第2の画像データP2i,j を選択して合成画像データP4i,j とすることを示している。合成画像データP4i,j はバッファ2に格納される。さらに、バッファ2に格納されている合成画像データP4に対し、2値化部4で2値化した後、平滑化処理部5で平滑化処理smoothを施す。平滑化された合成画像データをP4’として示している。
【0017】
一方、変化点検出部6では、バッファ3に格納されている第3の画像データP3i,j およびバッファ2に格納されている合成画像データP4i,j が変化点であるか否かを調べる。S103でこれを判定し、ともに変化点である場合にはさらにS104において第3の画像データの画素が‘0’であるか否かを調べる。いずれかが変化点でない場合、あるいは両方が変化点であっても第3の画像データP3i,j が‘1’すなわち第1の画像データを選択している場合には、S105において、第3の画像データP3i,j に従って平滑化後の画像データP4’i,j あるいは平滑化処理を行なっていない合成画像データP4i,j のいずれかをセレクタ7で選択して出力する。
【0018】
S103で第3の画像データP3i,j および合成画像データP4i,j がともに変化点であると判定され、S104で第3の画像データP3i,j が‘0’すなわち第2の画像データを選択している場合には、絵柄部分などの背景となる画素がテキストや線画部分に変更される可能性がある。このような画素では、境界部分に白抜けなどが発生しやすく、画質が低下する可能性がある。そのため、S106において、合成画像データP4i,j と平滑化処理を施した画像データP4’i,j のうち画素値が大きい方の画素をセレクタ7で選択して出力する。これにより、背景部分の画素値が大きい場合には、テキストや線画部分の画素に置き換えると画質が低下する恐れがあるのでそのまま背景部分の画素を出力して画質を向上させる。逆に、例えば背景部分の画素値が小さく、テキストや線画部分が目立つ場合には、平滑化処理された画像データを選択することでテキストや線画部分の画質を向上させることができる。
【0019】
S107では、処理すべき画素の位置がラインの終端に達しているか否かを判定し、ラインの途中である場合にはS108において添字jの値を1だけ増加させ、処理すべき画素の位置を隣に移す。そしてS102へ戻り、新たな画素についての処理を行なう。また、S107で処理すべき画素の位置がラインの終端に達している場合には、S109で最後のラインまで処理したか否かを判定し、未処理のラインが残っている場合には、S110において添字iの値を1だけ増加させて次のラインを処理すべきラインとし、添字jの値を0としてそのラインの始端の画素を処理すべき画素とする。そしてS102へ戻り、新たな画素についての処理を行なう。このようにして原点となる画素から最後のラインの終端の画素まで処理を繰り返し行なうことで、この処理を終了する。
【0020】
なお、このフローチャートは、1つの色成分に対する処理アルゴリズムを示したものである。入力される画像データが複数の色成分を有する場合には、本アルゴリズムを色成分ごとに適用する。例えば、入力される画像データの各色成分が面順次、例えば入力画像データがイエロー(Y)・マゼンタ(M)・シアン(C)・黒(K)各成分からなる場合にY→M→C→Kといった順序で上記3種類の画像データが入力される場合には、入力される順に各色成分の画像を処理してゆけばよい。もちろん、入力される色の順序は任意であるし、また面順次に入力されなくてもよく、その場合にはバッファなどに一時的に蓄積したり、この画像処理装置を各色ごとに設け、マルチプレクサなどで切り換えるようにしてもよい。また、入力される画像データの色は、YMCKに限らず、例えばRGBやL* a* b* といった他の色成分構成であってもよい。
【0021】
本発明の画像処理装置の第1の実施の形態について、一部では具体例を用いながら、さらに説明を加えてゆく。図3は、入力される画像データの一例の説明図である。この画像処理装置に入力される画像データは、主走査・副走査両方向の大きさが同じ3種類の画像データから構成される。例えば図3(A)に示す画像は、図3(B)〜(D)に示す3つの画像データとしてそれぞれ入力端a〜cに入力される。図3(A)に示した例では、「AB」という色文字と絵柄が存在する。なお、図示の都合上、色部分にはハッチングを施して示している。
【0022】
第1の画像データは、テキストあるいは線画データの色情報を保持する。例えば図3(B)に示すように、色文字「AB」の色の情報のみを保持する。この第1の画像データは、各画素ごとに保持する必要はなく、もとの画像よりも低解像度のデータであってよいが、入力される際には同じ解像度であるものとする。具体的にはこの第1の画像データは、1画素あたり8ビットのデータからなる256階調の文字・線画の色情報からなる画像データとすることができる。
【0023】
第2の画像データは、テキストあるいは線画データ以外の情報、例えば図3(C)に示すように絵柄を含む情報を保持する。この第2の画像データは、例えばフルカラーの高解像度の画像であることが望ましい。具体的にはこの第2の画像データは、1画素あたり8ビットのデータからなる256階調の文字・線画以外のいわゆる絵柄画像からなる画像データとすることができる。
【0024】
第3の画像データは、第1の画像データまたは第2の画像データを画素ごとに選択するための情報を保持する。この例では、図3(D)に示すように、色文字「AB」の形状を保持している。この第3の画像データは、2つの画像データのいずれかを選択するための情報であるので、1画素あたり1ビットの2値データであってよい。以下の説明では、図3(B)に示す第1の画像データを選択する場合を‘1’、図3(C)に示す第2の画像データを選択する場合を‘0’とする。図3(D)に示す例では、文字「AB」の部分を‘1’とし、図3(B)に示す第1の画像データの色が選択されることを示す。他の部分は第2の画像データが選択されることを示す。
【0025】
なお、第1の画像データおよび第2の画像データにおける画素値は、例えば256階調の場合には‘0’の場合を最低濃度、‘255’の場合を最高濃度、‘1’〜‘254’の場合は画素値に応じた中間濃度であることを表わしているものとする。
【0026】
上述のような第1ないし第3の画像データは、各画像データで同じ位置にある画素がセレクタ1に入力され、また第3の画像データはバッファ3にも入力される。なお、第1ないし第3の画像データの到着に時間的なずれがある場合などは、前段にバッファを設けるなどにより、対応する位置の画素が取り出せるようにすればよい。セレクタ1では、第3の画像データの画素値が‘0’のときは第1の画像データの画素値を、‘1’のときは第2の画像データの画素値を選択する。図3に示す例では、文字「AB」の部分は第1の画像データが選択されて、文字「A」,「B」の部分に第1の画像データの色が施される。文字「AB」の部分以外は第2の画像データが選択される。これによって、例えば図3(A)に示すような画像が合成されることになる。セレクタ1の出力は合成画像データとしてバッファ2に格納される。
【0027】
バッファ2は、セレクタ1から出力される合成画像データの遅延量を調整して2値化部4およびセレクタ7に出力するとともに、例えば3×3ブロックのブロックデータを形成して変化点検出部6に出力する。また、バッファ3は、入力された第3の画像データの遅延量を調整するとともに、第3の画像データから例えば3×3ブロックを形成して変化点検出部6に出力する。なお、バッファ2,3の遅延量は、セレクタ7のすべての入力画像データの画素位置が同じとなるよう調整される。
【0028】
図4は、本発明の画像処理装置の第1の実施の形態における2値化部の一例を示すブロック構成図である。図中、11はレジスタ、12は比較器である。レジスタ11は、2値化のための閾値を記憶している。比較器12は、バッファ2から出力される合成画像データとレジスタ11より出力される2値化のための閾値とを画素ごとに比較し、画素値が閾値以上であれば‘1’を、画素値が閾値より小さければ‘0’を2値画像データとして出力する。ここでは固定閾値を用いた2値化手法を用いた例を示したが、これに限らず、他の2値化手法を用いてよい。
【0029】
図5は、本発明の画像処理装置の第1の実施の形態における平滑化処理部の一例を示すブロック構成図、図6は、5×5ブロックデータの説明図、図7は、パターン検出部で5×5ブロックデータと比較するパターンの一例の説明図、図8は、パターン検出部の一例を示す構成図、図9は、メモリの内容の一例の説明図である。図中、21はバッファ、22a〜22xはパターン検出部、23はメモリ、24a〜24dは論理否定素子、25は論理積素子である。平滑化処理部5では、2値化部4より出力される2値画像データを平滑化処理する。ここでは一例として5×5ブロックのデータをもとに、所定のパターンと一致した場合に平滑化パターンを出力するものとする。もちろん、ブロックの大きさは任意である。
【0030】
バッファ21は、2値化部4より出力される2値画像データから、例えば図6に示す5×5ブロックのブロックデータ(P0,0 ,・・・,P4,0 ,P0,1 ,・・・,P4,4 )を作成するとともに、P2,2 の位置の画素値を注目画素値として出力する。
【0031】
パターン検出部22a〜22xは、バッファ21から出力される5×5ブロックデータと、図7に示すようなそれぞれ所定のパターン(a)〜(x)を比較する。図7に示すパターンにおいて、白い部分が画素値‘0’の画素、黒い部分が画素値‘1’の画素、ハッチングを施した部分は画素値が‘0’,‘1’のいずれでもよい画素を示している。なお、パターンは平滑化すべき画素が判断できれば任意である。また、パターン数も任意である。ここではそれぞれのパターンについてパターン検出部を配置したが、1つのパターン検出部で数個あるいはすべてのパターンとの比較を行なうように構成してもよい。パターン検出部22a〜22xは、比較の結果、例えば比較するパターンと5×5ブロックパターンが一致した場合には‘1’、一致しない場合には‘0’を出力する。
【0032】
例えばパターン検出部22aは、図8に示すように論理素子によって構成できる。パターン検出部22aで比較する図7(a)に示すパターンから、5×5ブロックデータのうちP1,0 ,P1,1 ,P2,1 ,P2,2 が‘0’、P2,0 ,P3,1 ,P3,2 が‘1’であれば、出力を‘1’とする。このような論理とするため、P1,0 ,P1,1 ,P2,1 ,P2,2 については論理否定素子24a〜24dにより論理を反転して論理積素子25に入力し、P2,0 ,P3,1 ,P3,2 についてはそのまま論理積素子25に入力する。論理積素子25はこれらの論理積を演算し、出力値とする。
【0033】
メモリ23は、パターン検出部22a〜22xからの出力に対応した画像データおよび制御データを保持している。例えばメモリ23には、図9に示すような内容のデータを保持させておくことができる。パターン検出部22a〜22xのいずれか1つから‘1’が出力された場合には、図9に示すデータをもとに、‘1’を出力したパターン検出部で比較したパターンに対応した画像データおよび制御データを平滑化画像データとして出力する。例えばパターン検出部22aで図7の(a)に示すパターンと5×5ブロックパターンを比較した結果、一致しており‘1’が出力され、他のパターン検出部22b〜22xからは‘0’が出力されていた場合には、図9より画像データとして‘63’、制御データとして‘0111b’が出力される。なお、数値の末尾に‘b’の付くものは2進数を表わしている。
【0034】
また、2つ以上のパターン検出器から‘1’が出力された場合、および、すべてのパターン検出器から‘0’が出力された場合には、バッファ21より入力された画素値に応じた画像データおよび制御データを平滑化画像データとして出力する。例えば、バッファ21より入力された画素値が‘1’のときは、画像データとして‘255’、制御データとして‘1111b’を、‘0’のときは画像データとして‘0’、制御データとして‘1111b’を出力する。
【0035】
変化点検出部6は、バッファ3から出力される、第3の画像データから形成された3×3ブロック、および、バッファ2から出力される、合成画像データから形成された3×3ブロックから、ブロックデータの中心画素が変化点か否かを検出し、その結果を変化点情報としてセレクタ7に出力する。図10は、本発明の画像処理装置の第1の実施の形態における変化点検出部の一例を示すブロック構成図、図11は、第1のエッジ検出部の一例を示すブロック構成図、図12は、特定方向のエッジを検出するフィルタの一例の説明図、図13は、エッジ情報作成部において生成されるエッジ情報の説明図である。図中、31は第1のエッジ検出部、32は第2のエッジ検出部、33は変化点情報生成部、34a〜34dはフィルタ、35はエッジ情報作成部である。
【0036】
第1のエッジ検出部31は、バッファ2から出力される3×3ブロックデータの内容からブロックデータの中心画素がエッジであるか否かを調べ、エッジの有無および方向を表わすエッジ情報を出力する。第1のエッジ検出部31は、図11に示すように、フィルタ34a〜34dおよびエッジ情報作成部35から構成されている。フィルタ34a〜34dは、特定方向のエッジを検出するフィルタである。それぞれ、例えば図12(A)〜図12(D)に示すエッジ検出オペレータを用いて3×3ブロックデータとの間で演算を行ない、その結果を出力する。エッジ情報作成部35は、フィルタ34a〜34dの出力の絶対値の最大値と閾値とを比較して比較結果を得る。また、いずれのフィルタの出力の絶対値が最大であったかを判定し、その判定結果と、その絶対値が最大であった出力の正負を得る。得られた比較結果、判定結果、出力の正負によって、エッジ情報を作成して出力する。このとき、例えば図13に示す条件に従ってエッジ情報を作成することができる。例えば出力の絶対値の最大値が閾値以下である場合には、エッジ情報として‘000b’が出力される。また、例えば出力の全体値の最大値が閾値より大きく、その出力がフィルタ34bから出力されており、出力が正であった場合には、‘101b’が出力される。なお、2つ以上のフィルタからの出力の絶対値が同値かつ最大であった場合には、図13の優先順位に従うものとする。このエッジ情報は、1ビット目がエッジか否かを示し、2,3ビット目がエッジの方向を示している。
【0037】
第2のエッジ検出部32は、バッファ3から出力される3×3ブロックデータの全画素値の排他的論理和を演算し、その演算結果によりブロックデータの中心画素が変化点であるか否かを調べる。例えば、排他的論理和が‘1’であった場合には‘1’、‘0’であった場合には‘0’を出力する。これによって、第3の画像データのエッジを含む境界領域のみが‘1’となる。
【0038】
変化点情報生成部33は、第1のエッジ検出部31の出力であるエッジ情報と第2のエッジ検出部32の出力とから変化点情報を生成する。変化点情報は、例えば第2のエッジ検出部32の出力を最上位1ビット、第1のエッジ検出部31の出力を下位3ビットとして合成し、4ビットの変化点情報を作成する。変化点検出部6からは、この変化点情報が出力される。
【0039】
セレクタ7では、バッファ2から入力される合成画像データ、または、平滑化処理部3から入力される平滑化画像データのいずれか1つの画像データの画素を、両画像データの画素値の比較結果および変化点検出部6から出力される変化点情報に基づいて選択する。図14は、セレクタ7の選択動作の一例の説明図である。図14では、合成画像データを‘IMAGE’、平滑化画像データを‘SMOOTH’と表記している。図14に示すように、セレクタ7は、変化点検出部6から出力される4ビットの変化点情報、合成画像データと平滑化画像データの画素値の比較結果、それに合成画像データの画素値をもとに、出力する出力画像データを生成する。なお、この例ではセレクタ7は画像データとともに、後述する出力機器の制御のための制御データも出力する。また、画素値は0〜255の範囲内の整数値をとるものとしている。
【0040】
例えば、変化点検出部6の第1および第2のエッジ検出部31,32がともにエッジを検出しないときは、変化点情報が‘0000b’であるので、出力画像データとしては合成画像データを選択して出力し、制御データとして‘1111b’を出力する。また、例えば変化点検出部6の第1および第2のエッジ検出部31,32がともにエッジを検出し、変化点情報が‘1101b’である場合には、さらに合成画像データと平滑化画像データの画素値を比較し、平滑化画像データの画素値の方が大きければ平滑化画像データの画素値と制御データを選択して出力し、合成画像データの方が大きければ合成画像データの画素値を選択して出力するとともに制御データとして‘1011b’を出力する。
【0041】
このようにして、変化点の部分では、例えば第3の画像データで第2の画像データが選択されている合成画像データと、平滑化処理部5によって平滑化処理された平滑化画像データとの間で、エッジの方向性なども考慮しながら、いずれの画素値が大きいかによって画素値の大きい方が選択される。これにより、例えば背景部分が目立つ色であって平滑化処理のために従来では白抜けが発生していた部分では、平滑化処理の結果を採用せずに背景部分の画素値を選択して白抜けを回避したり、背景が目立たない場合には逆に平滑化処理結果を採用して線画を滑らかに再生可能な画像データを出力することができる。そのため、出力画像データを用いて再現された画像の画質を向上させることができる。
【0042】
次に、このようにして画像処理装置から出力された画像データ、および制御データに従って出力処理を行なう例を示す。ここでは一例として、パルス幅変調機能および強度変調機能を有するレーザービームプリンタに出力する場合について説明する。まず、パルス幅変調および強度変調について説明する。図15は、レーザービームプリンタにおいてパルス幅変調機能を実現するための一構成例を示すブロック図である。図中、41はD/A変換器、42は参照波発生器、43は比較器である。パルス幅変調はレーザー発光素子の発光タイミングを制御して画素の主走査方向の印字幅および印字位置を制御するための機能であり、例えば図15に示すような構成をレーザービームプリンタに備えることにより実現する。D/A変換器41は、入力された画素をその値に応じた電圧レベルの信号に変換する。参照波発生器42は、画素が入力される周期の自然数倍の周期の参照波を発生する。比較器43は、D/A変換器41の出力信号と参照波発生器42より発生される参照波とを比較し、D/A変換器41の出力信号の電圧レベルが大きい場合にはレーザー発光素子が発光する電圧レベルの信号を、参照波の電圧レベルが大きい場合にはレーザー発光素子が発光しない電圧レベルの信号を発生する。
【0043】
図16ないし図19は、レーザービームプリンタにおけるパルス幅変調の動作の一例の説明図である。図15に示す各点a,b,c,dにおける波形と、基準クロックおよび印字結果を示している。これらの例では、端子aに入力される画素値として順に‘FFh’,‘BFh’,‘7Fh’,‘3Fh’,‘0h’が2画素ずつ入力された場合を示している。ここで、末尾に‘h’を付加した値は16進数を示している。以下同様である。図16ないし図19では、それぞれ参照波発生器42で発生する参照波の形状が異なる。図16に示した例では、参照波は1クロック中に下降して再び上昇する三角波形状である。そのため、D/A変換器41で変換後の電圧とこの参照波を比較器43で比較すると、1クロックの中央部でレーザー発光素子が発光する電圧レベルの信号が出力される。その幅は、D/A変換器41で変換後の電圧が高い方が広く、電圧が低くなるに従って幅は細くなる。そのため、この例による印字結果は、端子aに入力される画素値に応じた幅の帯状の領域が各画素の中央部に印字されることになる。
【0044】
図17に示した例では参照波として1クロック中で次第に減少する鋸波状の波形を発生させた場合を示している。この場合には、印字される帯状の領域は、各画素の右端に寄って印字される。また、図18に示した例では逆に1クロック中で次第に増加する鋸波状の参照波を発生された場合を示している。この場合には、印字される帯状の領域は、各画素の左端に寄って印字される。これらの場合も画素値に応じた幅となる。
【0045】
図19に示した例では、図17に示した次第に減少する波形と図18に示した次第に増加する波形を交互に発生させた参照波を用いている。この場合には1画素おきに印字される帯状の領域が左あるいは右に寄って印字される。この場合も画素値に応じた幅で印字される。
【0046】
図20は、レーザービームプリンタにおいて強度変調機能を実現するための一構成例を示すブロック図である。図中、44はレーザー発光素子、45は電流制御器である。強度変調は、レーザー発光素子44の発光強度を制御して露光スポットの大きさを変え、画素の副走査方向の印字幅を制御するための機能である。例えば図20に示すような構成をレーザービームプリンタに備えることにより実現する。電流制御器45は、入力される値に応じてレーザー発光素子44に供給する駆動電流を制御する。
【0047】
図21は、レーザービームプリンタにおける強度変調の動作の一例の説明図である。図20に示す各点a,bにおける波形と、基準クロックおよび印字結果を示している。この例では、端子aに入力される画素値として順に‘FFh’,‘BFh’,‘7Fh’,‘3Fh’,‘0h’が2画素ずつ入力された場合を示している。端子aに入力される画素値に応じて電流制御器45から出力される電流が制御され、印字結果に示すように画素の副走査方向の印字幅が変化する。このようにして画素値に応じた印字幅で印字を行なうことができる。
【0048】
このようなレーザービームプリンタに備えられているパルス幅変調機能および強度変調機能を用いることによって、平滑化処理による1画素以下の小領域の印字が可能である。例えば図95(B)に示したような縦線の平滑化処理結果を印字する際には、図17および図18に示したパルス幅変調機能を用いて1画素以下の小領域を付加すればよい。また、横線であれば、強度変調機能を用いて1画素以下の小領域を付加すれば、平滑化結果が得られる。このような機能を選択するため、上述の画像処理装置から出力される制御データを用いる。例えば図14に示したようなセレクタ7から出力される4ビットの制御データのうち、上位2ビットを参照波選択指示信号として用いる。例えば、制御データの上位2ビットが‘01b’のときは図17、‘10b’のときは図18、‘11b’のときは図16に示した参照波を選択するように制御することができる。また、制御データの下位2ビットを、変調強度を選択する信号として用いることができる。例えば、制御データの下位2ビットが‘11b’のときの副走査方向の印字幅を全幅として、下位2ビットが‘00b’のときは1/4の印字幅、‘01b’のときは1/2の印字幅、‘10b’のときは3/4の印字幅となるように、電流制御器45はレーザー発光素子44に供給する駆動電流を制御するように構成することができる。
【0049】
このようにして、上述の画像処理装置から出力される画像データと制御データに従って印字記録を行なうことにより、平滑化処理の施された画像を印字することができる。平滑化処理によって例えば上述の図16ないし図18において画素値が‘3Fh’の場合などのように、1画素に細幅の領域しか印字しない場合が発生する。そのため背景が濃色の場合、従来は境界部分で白抜けが目立っていたが、本発明の画像処理装置では白抜けが目立つような場合にはその画素を背景の画素として印字するため、白抜けが目立つようなことはない。また、白抜けが目立たない場合には、平滑化結果に従って印字することにより、上述のような出力制御によってエッジ部分が良好に印字されることになる。このようにして、高画質の画像を得ることができる。
【0050】
以下、具体的な画像データの例を用いて動作を説明する。図22は、本発明の画像処理装置の第1の実施の形態において入力される画像データの具体例の説明図、図23ないし図31は、同じく処理過程における画像データの具体例の説明図である。なお、各図において矩形は画素を表わし、各画素値あるいは各値は各図の右横に示すとおりであり、ハッチングあるいは矩形内の記号によって区別している。また、画素値は0〜255の範囲の値を取るものとする。以下の説明では、各図によって画像全体の処理の様子を示すとともに、具体的な処理を示すため、一例として、各図において矢印で示した行および列の交点の画素、すなわち主走査方向に4番目、副走査方向に9番目の画素P48,3 について注目する。
【0051】
入力端aに図22(A)に示す画像データが、入力端bに図22(B)に示す画像データが、入力端cに図22(C)に示す画像データが、それぞれ同じ位置の画素が同時に入力されるものとする。上述のように、入力端aに入力される図22(A)に示す画像データは文字「AB」の色(ここではある単色の濃度)を示しており、文字「A」が画素値255で記録され、文字「B」が画素値0すなわち白抜きで表現されることを示している。入力端bに入力される図22(B)に示す画像データは背景画像を示しており、この例では一様に画素値90で記録されるものとする。入力端cに入力される図22(C)に示す画像データは、図22(A)または図22(B)のいずれかを選択する画像データであり、画素値1で図22(A)の画像を、画素値0で図22(B)の画像を選択するものとする。
【0052】
入力端a〜入力端cに各画素が入力されると、セレクタ1では、入力端cに入力された図22(C)に示す第3の画像データの画素値が‘1’の場合には入力端aに入力される画像データが、‘0’の場合には入力端bに入力される画像データが選択される。このようなセレクタ1の動作によって、図22(A)に示す画像データと図22(B)に示す画像データが合成され、図23に示す合成画像データがセレクタ1から出力される。画素P48,3 の第3の画像データの画素値は‘0’であるので、図22(B)の第2の画像データが選択される。
【0053】
セレクタ1から出力された合成画像データは、バッファ2で遅延調整された後、2値化部4に入力され、2値化される。例えば2値化を固定閾値で行なうものとし、2値化のための閾値の値を‘255’とすれば、図23に示す画像のうち画素値が‘255’以上の部分だけ抽出され、図24に示すような2値化画像データが得られる。画素P48,3 は‘0’になる。
【0054】
2値化部4で2値化された図24に示すような2値化画像データは、平滑化処理部5に入力され、平滑化処理を施される。例えば図7に示すパターン(a)〜(x)を用いてパターン検出を行ない、図9に示すメモリ23の内容に従って図24に示す2値化画像データに平滑化処理を施すと、その結果は図25に示す画像データと、図26に示す制御データが得られる。例えば画素P48,3 は、図7に示すパターン(j)に該当し、図9に示すメモリ内容から画素値‘63’、制御データ‘0111b’が得られる。
【0055】
また、セレクタ1から出力された合成画像データは、バッファ2で遅延調整された後、変化点検出部6に入力される。変化点検出部6の第1のエッジ検出部31で図12に示すようなフィルタ処理の後、図13に示す条件に基づいてエッジ情報が作成される。画素P48,3 では、図12(B),(D)に示すパターンを有するフィルタ34bにおいて‘−165’、他のフィルタは‘0’が演算されて出力される。図13に示す条件に従い、例えば閾値を‘85’とすると、フィルタ34bからの出力の絶対値は閾値より大きく、フィルタ34bの出力は負であるので、エッジ情報として‘100b’が出力される。
【0056】
また、入力端cに入力された図22(C)に示す第3の画像データも、バッファ3で遅延調整された後、変化点検出部6に入力される。変化点検出部6の第2のエッジ検出部32は、図22(C)に示す第3の画像データに対して3×3ブロックの排他論理和を順次演算する。上述の画素P48,3 では、3×3ブロック内に‘1’の画素と‘0’の画素が混在するので、演算値は‘1’となる。
【0057】
変化点検出部6の変化点情報生成部33は、第2のエッジ検出部32の出力を最上位ビットとし、第1のエッジ検出部31のエッジ情報を下位3ビットとして変化点情報を生成する。このようにして、図27に示すような変化点情報が得られる。例えば画素P48,3 では、第2のエッジ検出部32から‘1’が出力され、第1のエッジ検出部31からエッジ情報として‘100b’が出力されるので、変化点検出部6の出力として変化点情報‘1100b’が出力される。
【0058】
セレクタ7では、バッファ2から入力される図23に示した合成画像データの画素または平滑化処理部5から入力される図25に示す平滑化画像データの画素のいずれかを選択する。このとき、変化点検出部6から出力される図27に示す変化点情報、合成画像データの画素値と平滑化画像データの画素値の比較結果などに基づいて、図14に示したような条件に従って選択する。なお、制御データの選択も画素の選択結果に従って行なわれる。
【0059】
例えば画素P48,3 では、変化点検出部6から出力される変化点情報は‘1100b’である。また、図23に示す合成画像データから得られるこの画素の画素値は‘90’であり、図25に示す平滑化画像データから得られるこの画素の画素値は‘63’であるので、合成画像データの方が画素値が大きい。この条件は図14の2行目に該当し、画像データとして合成画像データが選択され、制御データとして‘0111b’が出力される。すなわち、画素P48,3 では図25に示すように平滑化処理によって文字「A」の一部を構成する画素として出力されたが、上述のように背景画像である合成画像データが選択された。このようにして、画素P48,3 においては、画素値が小さくなって白抜けを起こすことなく、画素値が大きい合成画像データに従って印字されることになる。
【0060】
なお、この図28に示す出力画像データでは、文字「B」の横線近傍の画素値が背景となる第2の画像データや文字の色を示す第1の画像データとも異なる‘255’の値が付与されている。これは以下に示すように出力装置としてレーザービームプリンタを用いた場合にこれらの画素は強度変調によって濃度を出すので、主走査方向の記録幅を全幅とするための処置である。
【0061】
図28、図29に示した出力画像データおよび制御データに基づいて、上述のようにパルス幅変調機能および強度変調機能を有する電子写真方式を用いたレーザービームプリンタで画像を形成させる。すると、図30に示すように、各画素にレーザービームが照射される。上述の画素P48,3 では、画素値が‘90’、制御データが‘0111b’である。制御データの上位2ビットが‘01b’であるから図17に示すように右寄りに画素値‘90’に対応した幅にレーザービームが照射されることになる。このようにして図30に示すようにレーザービームが照射され、プリントアウトされたイメージは図31に示すようになる。
【0062】
以上、本発明の画像処理装置の第1の実施の形態について説明したが、上述の形態に限定されるわけではなく、本発明の趣旨を逸脱しない範囲ならばどのような態様でも構わない。例えば上述の例では、平滑化処理部5においては、5×5ブロックを形成して、図7に示したパターン(a)〜パターン(x)とパターンマッチングを行なうことによりパターン検出を行ない、このパターン検出の結果に応じて図9に示したメモリの内容より画像データおよび制御データを出力しているが、演算等により画像データおよび制御データを求めてもよい。また、複数のパターンを検出した場合には、パターン検出結果によらず入力された2値画像の注目値を出力したが、パターン間で優先順位を予め決めておいて、検出した複数のパターンの中で最も優先順位が高いパターンに応じてメモリより画像データおよび制御データを出力してもよい。さらに、検出するパターンの大きさおよび種類は上記に限定されないことは言うまでもなく、パターン検出部22の構成は図8に示した構成例に限定されるものではない。
【0063】
また、変化点検出部6においては、第1のエッジ検出部31で図12に示す4つのフィルタを用いてセレクタ1から出力される合成画像データのエッジを検出しているが、使用するフィルタの数、フィルタ形状あるいはフィルタ係数はこれらに限定されず、合成画像データのエッジを検出できるならばどのようなフィルタであっても構わない。また、第2のエッジ検出部32においては、バッファ3から出力される、第3の画像データより形成された3×3ブロックの全画素値の排他的論理和によって第3の画像データの変化点を検出しているが、第3の画像データの変化点を検出できる方法ならば他の変化点検出方法でも構わない。もちろん、ブロックの大きさが3×3に限定されるものではなく、またエッジ/非エッジの判定に用いる閾値も上述の具体例で用いた‘85’に限定されないことも明らかである。
【0064】
また、セレクタ7においては、バッファ2から入力される合成画像データまたは平滑化処理部5から入力される平滑化画像データのいずれか1つの画像データの画素を、両画像データの画素値の比較結果および変化点検出部6から出力される変化点情報に基づいて選択するとしているが、画素の選択方法は図14に示した方法に限定されるものではない。
【0065】
また、この実施の形態においては、合成画像データを2値化した後、パターンマッチングを行なうことにより平滑化を行なうパターンの検出を行ない、パターン検出結果に応じて合成画像データの画素値を変えるとともに制御データを生成しているが、注目画素の周辺画素の色情報により色変換を施してもよい。
【0066】
また、入力される第1の画像データおよび第2の画像データは1画素あたり256階調(1画素あたり8ビット)に限るものではなく、それぞれの階調数で表現されていてよい。第3の画像データも2値データに限るものではない。また、画像データを選択する論理値も任意に設定可能である。なお、第1の画像データは第2、第3の画像データよりも低解像度でよいが、セレクタ1に入力される時点では第2、第3の画像データと同じ解像度に変換しておくとよい。
【0067】
図32は、本発明の画像処理装置の第2の実施の形態を示すブロック図である。図中、図1と同様の部分には同じ符号を付して説明を省略する。8はバッファである。この第2の実施の形態では、入力される画像データとして第1ないし第3の画像データとともに、処理制御データが入力端dに入力される。セレクタ7では、この処理制御データも用いて、合成画像データあるいは平滑化画像データの選択を行なう。
【0068】
処理制御データは、第3の画像データにより選択される画像データに対する処理を画素ごとに指定する処理制御データである。選択する処理の数に応じて1画素あたり1ないし数ビットで構成することができる。ここでは一例として平滑化処理を行なうか否かを処理制御データで示すこととし、1画素あたり1ビットのデータとして説明する。画素値が‘1’の場合は平滑化処理を施すことを、‘0’の場合は平滑化処理を施さないことを指定していることを表わすものとする。なお、この処理制御データも、他の第1ないし第3の画像データとともに対応する画素のデータが入力端dに入力されるものとする。
【0069】
セレクタ1、バッファ2,3、2値化部4、平滑化処理部5、変化点検出部6は、上述の第1の実施の形態と同様に動作する。バッファ8は、入力端dに入力される処理制御データを一時的に保持し、適当な遅延時間を経て出力する。
【0070】
セレクタ7は、バッファ2内の合成画像データまたは平滑化処理部5から出力される平滑化画像データのいずれかを、バッファ8内の処理制御データおよび変化点検出部6から出力される変化点情報に基づいて画素ごとに選択する。図33は、本発明の画像処理装置の第2の実施の形態におけるセレクタ7の選択動作の一例の説明図である。図33においても図14と同様に、合成画像データを‘IMAGE’、平滑化画像データを‘SMOOTH’と表記している。図33に示すように、セレクタ7は、バッファ8に格納されている処理制御データと、変化点検出部6から出力される4ビットの変化点情報のうちの下位3ビット、合成画像データと平滑化画像データの画素値の比較結果、それに合成画像データの画素値をもとに、出力する画像データおよび制御データを生成する。なお、図33に示す例において、処理制御データ=‘0’かつ変化点情報の下位3ビット=‘000b’のときの制御データは、‘0111b’と‘1011b’を交互に出力し、各ラインの先頭は‘0111b’を出力するものとする。図33に示した条件は一例であって、別の条件を設定してもよく、例えば図14と同様に細かく制御してもよい。また、図33に示した例では変化点情報の上位1ビットを用いていないので、変化点検出部6における第2のエッジ検出部32およびバッファ3を設けずに構成し、変化点情報を3ビットで構成してもよい。
【0071】
図34は、本発明の画像処理装置の第2の実施の形態における動作の一例を示すフローチャートである。なお、図34の表記については図2と同様である。図34においては、P4は処理制御データであり、P5が合成画像データである。S111において画素位置を示す添字i,jをともに0にリセットし、処理すべき画素を画像の先頭ラインの先頭画素に設定する。S112において、セレクタ1は、入力された第1の画像データP1i,j および第2の画像データP2i,j から、第3の画像データの画素値P3i,j に基づいて合成画像データP5i,j を作成する。この例では論理式より、第3の画像データP3i,j が‘1’であれば第1の画像データP1i,j を選択し、第3の画像データP3i,j が‘0’であれば第2の画像データP2i,j を選択して合成画像データP5i,j とすることを示している。合成画像データP5i,j はバッファ2に格納される。さらに、バッファ2に格納されている合成画像データP5に対し、2値化部4で2値化した後、平滑化処理部5で平滑化処理smoothを施す。この例では関数smoothは引数として2つの値を取る。1つは合成画像データP5であり、もう一つは平滑化を行なうか否かを表わす処理制御データP4である。処理制御データP4が‘1’の時のみ平滑化処理が行なわれ、‘0’の場合には平滑化処理は行なわれずそのまま合成画像データP5が出力される。平滑化処理smoothの結果を平滑化画像データP5’として示している。これによって不用意に平滑化処理が施されるのを防ぐことができる。なお、図32に示した構成では、平滑化処理を行なうか否かを選択する代わりに、平滑化処理を行なった後、その平滑化処理結果を選択するか否かを切り換えている。
【0072】
一方、変化点検出部6では、バッファ3に格納されている第3の画像データP3i,j およびバッファ2に格納されている合成画像データP5i,j が変化点であるか否かを調べる。S113でこれを判定し、ともに変化点である場合にはさらにS114において第3の画像データの画素が‘0’であるか否かを調べる。いずれかが変化点でない場合、あるいは両方が変化点であっても第3の画像データP3i,j が‘1’すなわち第1の画像データを選択している場合には、S115において、第3の画像データP3i,j に従って平滑化後の画像データP5’i,j あるいは平滑化処理を行なっていない合成画像データP5i,j のいずれかをセレクタ7で選択して出力する。
【0073】
S113で第3の画像データP3i,j および合成画像データP5i,j がともに変化点であると判定され、S114で第3の画像データP3i,j が‘0’すなわち第2の画像データを選択している場合には、S116において、合成画像データP5i,j と平滑化処理を施した画像データP5’i,j のうち画素値が大きい方の画素をセレクタ7で選択して出力する。
【0074】
S117〜S120は図2におけるS107〜S110と同様であり、順次、処理すべき画素を変えながらすべての画素について処理を行なう。
【0075】
以下、具体的な画像データの例を用いて動作を説明する。図35、図36は、本発明の画像処理装置の第2の実施の形態において入力される画像データの具体例の説明図、図37ないし図45は、同じく処理過程における画像データの具体例の説明図である。なお、各図において矩形は画素を表わし、各画素値あるいは各値は各図の右横に示すとおりであり、ハッチングあるいは矩形内の記号によって区別している。また、画素値は0〜255の範囲の値を取るものとする。
【0076】
入力端aに図35(A)に示す画像データが、入力端bに図35(B)に示す画像データが、入力端cに図36(A)に示す画像データが、入力端dに図36(B)に示す処理制御データが、それぞれ同じ位置の画素が同時に入力されるものとする。上述のように、入力端aに入力される図35(A)に示す画像データは文字「AA」の色(ここではある単色の濃度)を示しており、画素値255で記録されることを示している。入力端bに入力される図35(B)に示す画像データは背景画像を示しており、この例では一様に画素値90で記録されるものとする。入力端cに入力される図36(A)に示す画像データは、図35(A)または図35(B)のいずれかを選択する画像データであり、画素値1で図35(A)の画像を、画素値0で図35(B)の画像を選択するものとする。この例では、文字「AA」の部分について図35(A)の画像を、他の部分については図35(B)の画像を選択する。入力端dに入力される図36(B)に示す処理制御データは、‘1’の時のみ本発明の平滑化処理を行なうこととし、‘0’の場合には平滑化処理は行なわない。この例では、左側の文字「A」については平滑化処理を行なわず、右側の文字「A」については本発明の平滑化処理を行なう。
【0077】
入力端a〜入力端dに各画素が入力されると、セレクタ1では、入力端cに入力された図36(A)に示す第3の画像データの画素値が‘1’の場合には入力端aに入力される画像データを、‘0’の場合には入力端bに入力される画像データを選択し、図37に示す合成画像データをセレクタ1から出力する。
【0078】
セレクタ1から出力された合成画像データは、バッファ2で遅延調整された後、2値化部4に入力され、2値化される。例えば2値化を固定閾値で行なうものとし、2値化のための閾値の値を‘255’とすれば、図23に示す画像のうち画素値が‘255’以上の部分だけ抽出され、図38に示すように文字「AA」の部分のみからなる2値化画像データが得られる。
【0079】
2値化部4で2値化された図38に示すような2値化画像データは、平滑化処理部5に入力され、平滑化処理を施される。例えば上述の第1の実施の形態における具体例と同様に、図7に示すパターン(a)〜(x)を用いてパターン検出を行ない、図9に示すメモリ23の内容に従って図24に示す2値化画像データに平滑化処理を施すと、その結果は図39に示す画像データと、図40に示す制御データが得られる。
【0080】
また、セレクタ1から出力された合成画像データは、バッファ2で遅延調整された後、変化点検出部6に入力される。変化点検出部6では、例えば上述の図12に示すようなフィルタ処理の後、図13に示す条件に基づいてエッジ情報が作成される。また、入力端cに入力された図36(A)に示す第3の画像データも、バッファ3で遅延調整された後、変化点検出部6に入力され、例えば3×3ブロックの排他論理和を演算する。例えば図13に示す条件における閾値を‘85’として変化点を検出すると、変化点検出部6から出力される変化点情報は図41に示すようになる。
【0081】
セレクタ7では、バッファ2から入力される図37に示した合成画像データの画素または平滑化処理部5から入力される図39に示す平滑化画像データの画素のいずれかを選択する。このとき、変化点検出部6から出力される図41に示す変化点情報、バッファ8から入力される処理制御データ、合成画像データの画素値と平滑化画像データの画素値の比較結果などに基づいて、図33に示したような条件に従って選択する。なお、制御データの選択も画素の選択結果に従って行なわれる。
【0082】
このようにして、セレクタ7からは図42に示す画像データおよび図43に示す制御データが出力される。図42の右側に示す文字「A」は平滑化処理が施され、一部の画素が中間濃度によって表現されている。また、左側の文字「A」は平滑化処理が施されなかったものであり、斜め線のギザギザが目立っている。
【0083】
図42、図43に示した出力画像データおよび制御データに基づいて、上述のようにパルス幅変調機能および強度変調機能を有する電子写真方式を用いたレーザービームプリンタで画像を形成させる。すると、図44に示すように、各画素にレーザービームが照射される。そして、プリントアウトされたイメージは図45に示すようになる。なお、この具体例において、平滑化処理を行なわない部分の背景部分は図19に示した制御方式を採用した例を示し、平滑化処理を行なった部分と異なる画質を得ている。
【0084】
以上、本発明の画像処理装置の第2の実施の形態について説明したが、これらの態様は上記に限定されるわけではなく、本発明の趣旨を逸脱しない範囲ならばどのような実施態様でも構わない。例えば上述の第1の実施の形態と同様の変形が可能である。なお、処理制御データは、上述の例では平滑化処理を行なう場合に‘1’、平滑化処理を行なわない場合に‘0’としたが、これに限らず、逆の論理でもよい。また、他の処理を行なうか否かの情報とともに複数ビットによって構成されていてもよい。
【0085】
図46は、本発明の画像処理装置の第3の実施の形態を示すブロック図である。図中、図1と同様の部分には同じ符号を付して説明を省略する。この第3の実施の形態では、入力される画像データとして第1の画像データおよび第2の画像データのみが入力される例を示している。この第3の実施の形態においては、第1の画像データは、文字・線画を示す画像データであり、第2の画像データは、文字・線画以外の画像データである。
【0086】
セレクタ1は、この例では第1の画像データと第2の画像データを選択するための第3の画像データが入力されないので、所定の条件に従って画素毎に第1の画像データあるいは第2の画像データを選択し、合成画像データを生成する。合成の際の条件としては、例えばいずれか画素値の大きい方を選択するように構成することができる。もちろん、他の条件に従ってもよい。セレクタ1から出力される合成画像データはバッファ2に格納される。
【0087】
変化点検出部6は、バッファ2に格納されている合成画像データのみを用いて変化点を検出する。例えば上述の図10に示す変化点検出部6の構成において、第1のエッジ検出部31のみで構成することができる。変化点検出部6から出力される変化点情報は、第1のエッジ検出部31から出力されるエッジ情報がそのまま出力される。
【0088】
2値化部4および平滑化処理部5は、上述の第1、第2の実施の形態と同様であり、2値化部4で合成画像データを2値化し、平滑化処理部5で平滑化処理を施して、平滑化画像データを出力する。
【0089】
セレクタ7は、バッファ2内の合成画像データまたは平滑化処理部5から出力される平滑化画像データのいずれかを、バッファ8内の処理制御データおよび変化点検出部6から出力される変化点情報に基づいて画素ごとに選択する。図47は、本発明の画像処理装置の第3の実施の形態におけるセレクタ7の選択動作の一例の説明図である。図47においても上述の図14、図33と同様に、合成画像データを‘IMAGE’、平滑化画像データを‘SMOOTH’と表記している。この第3の実施の形態では、変化点検出部6から出力される変化点情報が3ビットであるので、例えば図14に示した第1の実施の形態におけるセレクタ7の条件のうち、変化点情報の最上位ビットが‘1’の時の条件のみを用いて、図47に示すような条件を設定して選択動作を行なうことができる。もちろん、このほかの条件を設定してもよく、例えば図33に示した第2の実施の形態におけるセレクタ7の選択条件のうち、処理制御データが‘1’の場合の条件を設定してもよい。
【0090】
図48は、本発明の画像処理装置の第3の実施の形態における動作の一例を示すフローチャートである。なお、図48の表記については図2と同様である。図48においては、P3が合成画像データを示す。S121において画素位置を示す添字i,jをともに0にリセットし、処理すべき画素を画像の先頭ラインの先頭画素に設定する。S122において、セレクタ1は、入力された第1の画像データP1i,j および第2の画像データP2i,j のうち、画素値の大きい方を選択して合成画像データP3i,j を作成する。合成画像データP3i,j はバッファ2に格納される。さらに、バッファ2に格納されている合成画像データP3に対し、2値化部4で2値化した後、平滑化処理部5で平滑化処理smoothを施し、平滑化画像データP3’i,j を得る。
【0091】
変化点検出部6では、バッファ2に格納されている合成画像データP3i,j が変化点であるか否かを調べ、変化点でない場合にはセレクタ7はS124において合成画像データP3i,j を選択して出力する。変化点である場合には、セレクタ7はS125において合成画像データP3i,j と平滑化画像データP3’i,j のいずれか大きい方の画素を選択して出力する。
【0092】
S126〜S129は図2におけるS107〜S110と同様であり、順次、処理すべき画素を変えながらすべての画素について処理を行なう。
【0093】
以下、具体的な画像データの例を用いて動作を説明する。図49は、本発明の画像処理装置の第3の実施の形態において入力される画像データの具体例の説明図、図50ないし図58は、同じく処理過程における画像データの具体例の説明図である。なお、各図において矩形は画素を表わし、各画素値あるいは各値は各図の右横に示すとおりであり、ハッチングあるいは矩形内の記号によって区別している。また、画素値は0〜255の範囲の値を取るものとする。
【0094】
入力端aに図49(A)に示す画像データ、および、入力端bに図49(B)に示す画像データが、それぞれ同じ位置の画素が同時に入力されるものとする。入力端aに入力される図49(A)に示す画像データは文字「A」を示しており、画素値255で記録されている。入力端bに入力される図49(B)に示す画像データは背景画像を示しており、この例では画素値90で記録されるものとする。また、この第2の画像データには文字「B」が画素値0すなわち白抜きで表現されている。
【0095】
入力端a、入力端bに各画素が入力されると、セレクタ1では、量画像データの画素値のうち、画素値が大きい画素を選択する。これによって、図49(A)に示す画像データと図49(B)に示す画像データが合成され、図50に示す合成画像データがセレクタ1から出力される。
【0096】
セレクタ1から出力された合成画像データは、バッファ2で遅延調整された後、2値化部4に入力され、2値化される。例えば2値化を固定閾値で行なうものとし、2値化のための閾値の値を‘255’とすれば、図50に示す画像のうち画素値が‘255’以上の部分だけ抽出され、図51に示すように左側の文字「A」の部分のみの2値化画像データが得られる。さらに、平滑化処理部5に入力され、平滑化処理を施される。例えば図7に示すパターン(a)〜(x)を用いてパターン検出を行ない、図9に示すメモリ23の内容に従って図51に示す2値化画像データに平滑化処理を施すと、その結果は図52に示す画像データと、図53に示す制御データが得られる。
【0097】
また、セレクタ1から出力された合成画像データは、バッファ2で遅延調整された後、変化点検出部6に入力される。変化点検出部6では、例えば図12に示すようなフィルタ処理の後、図13に示す条件に基づいてエッジ情報、すなわち変化点情報を作成する。例えば図13における閾値を‘85’として変化点を検出すると、変化点検出部6から出力される変化点情報は図54に示すようになる。変化点検出部6から出力される変化点情報は、この例では3ビットである。
【0098】
セレクタ7では、バッファ2から入力される図50に示した合成画像データの画素または平滑化処理部5から入力される図52に示す平滑化画像データの画素のいずれかを選択する。このとき、変化点検出部6から出力される図54に示す変化点情報、合成画像データの画素値と平滑化画像データの画素値の比較結果などに基づいて、例えば図47に示したような条件に従って選択する。なお、制御データの選択も画素の選択結果に従って行なわれる。このようにして、セレクタ7からは図55に示す画像データおよび図56に示す制御データが出力される。
【0099】
図55、図56に示した出力画像データおよび制御データに基づいて、上述のようにパルス幅変調機能および強度変調機能を有する電子写真方式を用いたレーザービームプリンタで画像を形成させる。すると、図57に示すように、各画素にレーザービームが照射される。そして、プリントアウトされたイメージは図58に示すようになる。
【0100】
以上、本発明の画像処理装置の第3の実施の形態について説明したが、これらの態様は上記に限定されるわけではなく、本発明の趣旨を逸脱しない範囲ならばどのような実施態様でも構わない。例えば上述の第1の実施の形態および第2の実施の形態と同様の変形が可能である。また、上述の例ではセレクタ1において第1の画像データの画素または第2の画像データの画素のいずれかを選択する際に、画素値が大きい方を選択するとしているが、画素値が小さい方を選択してもよいし、あるいは第1の画像データおよび第2の画像データの選択すべき画素の値と、該画素の周辺の画素の値とに基づく演算の結果からどちらを選択するかを決定してもよい。
【0101】
図59は、本発明の画像処理装置の第4の実施の形態を示すブロック図である。図中、図1と同様の部分には同じ符号を付して説明を省略する。51はバッファ、52は2値化部、53はセレクタ部である。上述の第1ないし第3の実施の形態では、入力された第1ないし第3の画像データから一旦合成画像データを作成した後に平滑化処理を施す構成を示した。この第4の実施の形態では、平滑化処理を実行した後に合成処理を行なう例を示す。
【0102】
バッファ51は、入力端a〜入力端cに入力された第1ないし第3の画像データを一時的に保持する。バッファ51は、遅延量の調整を行なうとともに、以降の処理でm×nブロックのデータが必要な場合に、そのブロックデータを形成する。
【0103】
2値化部52は、入力された第1ないし第3の画像データに基づいて2値画像データを作成する。図60は、本発明の画像処理装置の第4の実施の形態における2値化部の一例を示すブロック構成図である。図中、図4と同様の構成には同じ符号を付して説明を省略する。61はセレクタである。セレクタ61は、バッファ51から出力される第3の画像データの画素値が‘1’の場合には第1の画像データを出力し、‘0’の場合には第2の画像データを出力する。そして第1の実施の形態と同様に、セレクタ61から出力されるデータとレジスタ11に格納されている閾値とを比較器12で比較し、比較結果を2値画像データとして出力する。このようにして、第1の画像データと第2の画像データを第3の画像データに基づいて合成し、その結果得られる合成画像データを固定閾値で2値化する。ここでは固定閾値を用いた2値化手法を用いた例を示したが、これに限らず、他の2値化手法を用いてもよい。
【0104】
平滑化処理部5は、上述の第1の実施の形態と同様に、2値化部52において作成された2値画像データに対して平滑化処理を施し、平滑化画像データを出力する。
【0105】
セレクタ部53は、バッファ51内の第1または第2の画像データのいずれかを第3の画像データに基づいて画素ごとに選択し、合成画像データを作成する。さらに、作成された合成画像データか、あるいは平滑化処理部5から出力される平滑化画像データのいずれかを、両画像データの画素値および閾値に基づいて選択し、出力画像データとして出力端dに出力する。図61は、本発明の画像処理装置の第4の実施の形態におけるセレクタ部53の一例を示すブロック構成図、図62は、同じくセレクタ部53の選択動作の一例の説明図である。図中、71,73はセレクタ、72はレジスタである。セレクタ71は、第3の画像データの画素値が‘1’の場合には第1の画像データを出力し、‘0’の場合には第2の画像データを出力する。レジスタ72は、例えば2値化部52中のレジスタ11と同じ値を記憶させておくことができる。セレクタ73は、セレクタ71から出力される合成画像データの画素値と、平滑化処理部5から出力される平滑化画像データの画素値、それにレジスタ72に記憶されている閾値が入力され、これらの値に応じて、例えば図62に示すような選択動作に従って、出力画像データを生成する。図62において、合成画像データを‘MERGE’、平滑化画像データを‘SMOOTH’と表記している。図62に示した例では、合成画像データの画素値が閾値より小さければ、合成画像データと平滑化画像データのいずれか小さい方を出力する。また、合成画像データの画素値が閾値以上の場合には、平滑化画像データが‘0’のときは合成画像データをそのまま出力し、平滑化画像データが‘0’でないときには、合成画像データと平滑化画像データのいずれか小さい方を出力している。なお、この例ではセレクタ部53は、出力画像データとともに、出力機器の制御のための制御データも出力する。
【0106】
図63は、本発明の画像処理装置の第4の実施の形態における動作の概要を示すフローチャートである。なお、図63において、iおよびjは先頭ラインの先頭画素を原点としたときの副走査および主走査方向における画素位置を示すインデックス、PおよびLは入力画像データの主走査および副走査方向の画素数である。また、P1は第1の画像データ、P2は第2の画像データ、P3は第3の画像データ、P4およびP4' は合成画像データ、P5は平滑化画像データであり、添字i、jは各画像の主走査方向j+1番目、副走査方向i+1番目の画素であることを表わす。ここではP3以外は多値データであり、P3は2値データである。関数minは最小値を取ることをそれぞれ表わしている。論理式の表記は上述の第1の実施の形態と同様である。P3以外は論理データではないので、ここではP3との論理積によって選択されるか否かが決定され、論理和によって2項のいずれかが左辺の値となる。
【0107】
第1ないし第3の画像データは、入力されると一旦バッファ51に格納される。第1ないし第3の画像データは同時に同じ位置の画素が入力されてもよいし、それぞれが順次入力されてもよい。少なくとも2値化部52における二値化処理およびセレクタ部53における合成処理時にバッファ51から同じ位置の画素について第1ないし第3の画像データが読み出せればよい。
【0108】
S131において、画素位置を示す添字i,jをともに0にリセットし、処理すべき画素を画像の先頭ラインの先頭画素に設定する。S132において、2値化部52は、バッファ51から読み出された第1の画像データP1i,j および第2の画像データP2i,j から、第3の画像データの画素値P3i,j に基づいて合成画像データP4'i,jを作成する。この例では論理式より、第3の画像データP3i,j が‘1’であれば第1の画像データP1i,j を選択し、第3の画像データP3i,j が‘0’であれば第2の画像データP2i,j を選択して、合成画像データP4'i,jとしている。この処理は、図60におけるセレクタ61において行なう。さらに2値化部52は、合成画像データP4'i,jを比較器12によって閾値と比較し、2値化する。2値化部52で合成画像データP4'i,jを2値化した後、平滑化処理部5で平滑化処理smoothを施し、平滑化画像データP5i,j を得る。
【0109】
一方、セレクタ部53では、S133においてS132における論理と同様の選択論理にて第1および第2の画像データのうちのいずれかを第3の画像データに従ってセレクタ71で選択し、合成画像データP4i,j を作成する。セレクタ73において、S134で平滑化処理部5から出力された平滑化画像データP5i,j を調べ、合成画像データP4i,j が平滑化対象か否かを調べる。合成画像データP4i,j が平滑化対象であった場合には、S135で合成画像データP4i,j と平滑化画像データP5i,j のうち大きい方の画素値を選択して出力する。また、合成画像データP4i,j が平滑化対象でなかった場合には、S136で合成画像データP4i,j と平滑化画像データP5i,j のうち小さい方の画素値を選択して出力する。
【0110】
S137では、処理すべき画素の位置がラインの終端に達しているか否かを判定し、ラインの途中である場合にはS138において添字jの値を1だけ増加させ、処理すべき画素の位置を隣に移す。そしてS132へ戻り、新たな画素についての処理を行なう。また、S137で処理すべき画素の位置がラインの終端に達している場合には、S139で最後のラインまで処理したか否かを判定し、未処理のラインが残っている場合には、S140において添字iの値を1だけ増加させて次のラインを処理すべきラインとし、添字jの値を0としてそのラインの始端の画素を処理すべき画素とする。そしてS132へ戻り、新たな画素についての処理を行なう。このようにして原点となる画素から最後のラインの終端の画素まで処理を繰り返し行なうことで、この処理を終了する。
【0111】
なお、このフローチャートは、上述の第1の実施の形態と同様、1つの色成分に対する処理アルゴリズムを示したものである。入力される画像データが複数の色成分を有する場合には、本アルゴリズムを色成分ごとに適用すればよい。
【0112】
以下、具体的な画像データの例を用いて動作を説明する。図64は、本発明の画像処理装置の第4の実施の形態において入力される画像データの具体例の説明図、図65ないし図72は、同じく処理過程における画像データの具体例の説明図である。なお、各図において矩形は画素を表わし、各画素値あるいは各値は各図の右横に示すとおりであり、ハッチングあるいは矩形内の記号によって区別している。また、画素値は0〜255の範囲の値を取るものとする。
【0113】
入力端aに図64(A)に示す画像データが、入力端bに図64(B)に示す画像データが、入力端cに図64(C)に示す画像データが、それぞれ入力されるものとする。なお、図64に示した画像データは、上述の図22に示した画像データと同じものである。
【0114】
入力端a〜入力端cから各画像データがバッファ51に入力されると、2値化部52のセレクタ61では、図64(C)に示す第3の画像データの画素値が‘1’の場合には第1の画像データが選択され、‘0’の場合には第2の画像データが選択される。このようなセレクタ61の動作によって、図64(A)に示す画像データと図64(B)に示す画像データが合成され、図65に示す合成画像データがセレクタ61から出力される。
【0115】
セレクタ61から出力された合成画像データは比較器12に入力され、レジスタ11に記憶されている閾値と比較され、2値化される。例えば2値化を固定閾値で行なうものとし、2値化のための閾値の値を‘255’とすれば、図65に示す画像のうち画素値が‘255’以上の部分だけ抽出され、図66に示すような2値化画像データが得られる。この2値化画像データが2値化部52から出力される。
【0116】
2値化部52で2値化された図66に示すような2値化画像データは、平滑化処理部5に入力され、平滑化処理が施される。例えば図7に示すパターン(a)〜(x)を用いてパターン検出を行ない、図9に示すメモリ23の内容に従って図66に示す2値化画像データに平滑化処理を施すと、その結果は図67に示す画像データと、図68に示す制御データが得られる。
【0117】
一方、セレクタ部53では、バッファ51から入力される図64に示した第1ないし第3の画像データを、セレクタ71において2値化部52中のセレクタ61と同様の選択論理にて合成画像データを作成する。作成された合成画像データは、図65と同じ画像データである。そして、合成画像データの画素または平滑化処理部5から入力される図67に示す平滑化画像データの画素のいずれかを選択する。このとき、合成画像データの画素値、平滑化画像データの画素値および閾値に基づいて、図62に示したような条件に従って選択する。これによって図69に示す出力画像データが得られる。なお、制御データの選択も画素の選択結果に従って行なわれ、図70に示す制御データが出力される。
【0118】
例えば主走査方向に4画素目、副走査方向に9画素目の画素では、セレクタ71から出力される合成画像データの画素P48,3 の画素値は図65から‘90’である。ここで、レジスタ72に閾値として‘255’が格納されているとすると、この合成画像データの画素P48,3 の画素値‘90’は閾値‘255’より小さい。一方、図67に示す平滑化画像データから得られる画素P58,3 の画素値は‘63’であるので、合成画像データの方が画素値が大きい。この条件は図62の4行目の条件に該当し、画像データとして合成画像データの画素P48,3 の画素値‘90’が選択されて出力される。また、制御データとして‘0111b’が出力される。すなわち、主走査方向に4画素目、副走査方向に9画素目の画素では、図67に示すように平滑化処理によって文字「A」の一部を構成する画素として出力されていたものが、上述のように背景画像である合成画像データが選択され、出力された。このようにして、主走査方向に4画素目、副走査方向に9画素目の画素では、画素値が小さくなって白抜けを起こすことなく、画素値が大きい合成画像データに従って印字されることになる。
【0119】
図69、図70に示した出力画像データおよび制御データに基づいて、上述の第1の実施の形態と同様にパルス幅変調機能および強度変調機能を有する電子写真方式を用いたレーザービームプリンタで画像を形成させる。すると、図71に示すように各画素にレーザービームが照射され、図72に示すようなイメージのプリントアウトがなされる。
【0120】
以上、本発明の画像処理装置の第4の実施の形態について説明したが、上述の形態に限定されるわけではなく、本発明の趣旨を逸脱しない範囲ならばどのような態様でも構わない。例えば上述の例では、セレクタ部53においては、バッファ51から入力される第1ないし第3の画像データまたは平滑化処理部5から入力される平滑化画像データのいずれか1つの画像データの画素を、両画像データの画素値および閾値に基づいて選択するとしているが、画素の選択方法は図62に示した方法に限定されるものではない。
【0121】
また、この第4の実施の形態においては、一旦第1ないし第3の画像データを合成し、2値化した後、パターンマッチングを行なうことにより平滑化を行なうパターンの検出を行ない、パターン検出結果に応じて合成画像データの画素値を変えるとともに制御データを生成しているが、注目画素の周辺画素の色情報により色変換を施してもよい。このほかにも上述の各実施の形態と同様の各種の変形が可能である。
【0122】
図73は、本発明の画像処理装置の第5の実施の形態を示すブロック図である。図中の符号は、図59及び図32と同様である。この第5の実施の形態では、上述の第4の実施の形態と同様、第3の画像データに基づいて平滑化処理を実行した後、合成処理を行なう。また、上述の第2の実施の形態と同様、処理制御データが入力端dに入力される。セレクタ部53では、この処理制御データも用いて、第1ないし第3の画像データあるいは平滑化画像データの選択を行なう。なお、処理制御データについては、上述の第2の実施の形態と同様であるとする。
【0123】
バッファ51,2値化部52,平滑化処理部5は、上述の第4の実施の形態と同様に動作する。また、バッファ8は、上述の第2の実施の形態と同様に動作する。なお、バッファ51およびバッファ8の遅延量は、セレクタ部53に入力されるすべての画像データの画素位置が同じとなるように調整される。
【0124】
セレクタ部53は、まず、バッファ51内の第1または第2の画像データのいずれかを第3の画像データに基づいて画素ごとに選択し、合成画像データを作成する。さらに、作成された合成画像データか、あるいは平滑化処理部5から出力される平滑化画像データのいずれかを、バッファ8から入力される処理制御データの画素値、合成画像データの画素値、平滑化画像データの画素値、および閾値に基づいて選択し、出力画像データとして出力端eに出力する。図74は、本発明の画像処理装置の第5の実施の形態におけるセレクタ部53の選択動作の一例の説明図である。図74においても図62と同様に、合成画像データを‘MERGE’、平滑化画像データを‘SMOOTH’と表記している。図74に示す例では、処理制御データの画素値が‘1’のときは平滑化処理を行なうことを示し、図62と同様の条件によって出力画像データおよび出力する制御データを決定する。また、処理制御データの画素値が‘0’のときは平滑化処理を行なわないことを示し、合成画像データをそのまま出力画像データとし、制御データとして‘1111b’を出力するように設定している。
【0125】
図75は、本発明の画像処理装置の第5の実施の形態における動作の概要を示すフローチャートである。なお、図75における表記については図63及び図34と同様である。図75においては、P1が第1の画像データ、P2が第2の画像データ、P3が第3の画像データ、P4が処理制御データ、P5' およびP6が合成画像データ、P5が平滑化画像データである。ここではP3,P4以外は多値データであり、P3,P4は2値データである。
【0126】
第1ないし第3の画像データは、入力されると一旦バッファ51に格納される。また、処理制御データは、入力されると一旦バッファ8に格納される。S141において、画素位置を示す添字i,jをともに0にリセットし、処理すべき画素を画像の先頭ラインの先頭画素に設定する。S142において、2値化部52は、バッファ51から読み出された第1の画像データP1i,j および第2の画像データP2i,j から、第3の画像データの画素値P3i,j に基づいて合成画像データP5'i,jを作成する。この例では論理式より、第3の画像データP3i,j が‘1’であれば第1の画像データP1i,j を選択し、第3の画像データP3i,j が‘0’であれば第2の画像データP2i,j を選択して、合成画像データP5'i,jとしている。この処理は、図60におけるセレクタ61において行なう。さらに2値化部52は、合成画像データP5'i,jを比較器12によって閾値と比較し、2値化する。
【0127】
2値化部52で合成画像データP5'i,jを2値化した後、平滑化処理部5で平滑化処理smoothを施し、平滑化画像データP5i,j を得る。この例では関数smoothは引数として2つの値をとる。1つは2値化された合成画像データP5' であり、もう1つは平滑化を行なうか否かを表わす処理制御データP4である。処理制御データP4が‘1’のときのみ平滑化処理が行なわれ、‘0’の場合には平滑化処理は行なわれずそのまま2値化された合成画像データP5' が出力される。平滑化処理smoothの結果を平滑化画像データP5として示している。なお、図73に示した構成では、平滑化処理部5で平滑化処理を行なうか否かを選択する代わりに、平滑化処理部5では処理制御データに関わらず平滑化処理を行ない、その後セレクタ部53において、平滑化処理結果を処理制御データによって切り換えている。
【0128】
一方、セレクタ部53では、S143においてS142における論理と同様の選択論理にて第1および第2の画像データのうちのいずれかを第3の画像データに従ってセレクタ71で選択し、合成画像データP6i,j を作成する。セレクタ73において、S144で平滑化処理部5から出力された平滑化画像データP5i,j の値から、合成画像データP6i,j が平滑化対象か否かを調べる。合成画像データP6i,j が平滑化対象であった場合には、S145で合成画像データP6i,j と平滑化画像データP5i,j のうち大きい方の画素値を選択して出力する。また、合成画像データP6i,j が平滑化対象でなかった場合には、S146で合成画像データP6i,j と平滑化画像データP5i,j のうち小さい方の画素値を選択して出力する。
【0129】
S147〜S150の処理は、図63におけるS137〜S140の処理と同様であり、順次、処理すべき画素を変えながらすべての画素について処理を行なう。なお、このフローチャートは、上述の各実施の形態と同様、1つの色成分に対する処理アルゴリズムを示したものである。入力される画像データが複数の色成分を有する場合には、本アルゴリズムを色成分ごとに適用すればよい。
【0130】
以下、具体的な画像データの例を用いて動作を説明する。図76、図77は、本発明の画像処理装置の第5の実施の形態において入力される画像データの具体例の説明図、図78ないし図85は、同じく処理過程における画像データの具体例の説明図である。なお、各図において矩形は画素を表わし、各画素値あるいは各値は各図の右横に示すとおりであり、ハッチングあるいは矩形内の記号によって区別している。また、画素値は0〜255の範囲の値を取るものとする。
【0131】
入力端aに図76(A)に示す画像データが、入力端bに図76(B)に示す画像データが、入力端cに図77(A)に示す画像データが、入力端dに図77(B)に示す処理制御データが入力されるものとする。なお、図76、図77に示した画像データは、上述の図35、図36に示した画像データと同じものである。
【0132】
入力端a〜入力端cから各画像データがバッファ51に入力され、また入力端dから処理制御データがバッファ8に入力されると、2値化部52のセレクタ61では、図77(A)に示す第3の画像データの画素値が‘1’の場合には第1の画像データが選択され、‘0’の場合には第2の画像データが選択される。このようなセレクタ61の動作によって、図76(A)に示す画像データと図76(B)に示す画像データが合成され、図78に示す合成画像データがセレクタ61から出力される。
【0133】
セレクタ61から出力された合成画像データは比較器12に入力され、レジスタ11に記憶されている閾値と比較され、2値化される。例えば2値化を固定閾値で行なうものとし、2値化のための閾値の値を‘255’とすれば、図78に示す画像のうち画素値が‘255’以上の部分だけ抽出され、図79に示すような2値化画像データが得られる。この2値化画像データが2値化部52から出力される。
【0134】
2値化部52で2値化された図79に示すような2値化画像データは、平滑化処理部5に入力され、平滑化処理が施される。例えば図7に示すパターン(a)〜(x)を用いてパターン検出を行ない、図9に示すメモリ23の内容に従って図79に示す2値化画像データに平滑化処理を施すと、その結果は図80に示す画像データと、図81に示す制御データが得られる。
【0135】
一方、セレクタ部53では、まずセレクタ71において、バッファ51から入力される図76(A)示した第1の画像データと図76(B)に示した第2の画像データを図77(A)に示した第3の画像データに従って合成する。このときの選択論理は、2値化部52中のセレクタ61と同様である。よって作成された合成画像データは、図78と同じ画像データとなる。そして、図78に示す合成画像データの画素、または、平滑化処理部5から入力される図80に示す平滑化画像データの画素のいずれかを選択する。このとき、バッファ8に格納されている処理制御データの画素値、合成画像データの画素値、平滑化画像データの画素値および閾値に基づいて、図74に示したような条件に従って選択する。これによって図82に示す出力画像データが得られる。なお、制御データの選択も画素の選択結果に従って行なわれ、図83に示す制御データが出力される。
【0136】
このようにして、セレクタ部53から出力された画像データは、図82に示すように右側に示す文字「A」には平滑化処理が施され、左側の文字「A」には平滑化処理が施されない画像となる。
【0137】
図82、図83に示した出力画像データおよび制御データに基づいて、上述の第1の実施の形態と同様にパルス幅変調機能および強度変調機能を有する電子写真方式を用いたレーザービームプリンタで画像を形成させる。すると、図84に示すように各画素にレーザービームが照射され、図85に示すようなイメージのプリントアウトがなされる。
【0138】
以上、本発明の画像処理装置の第5の実施の形態について説明したが、上述の形態に限定されるわけではなく、本発明の趣旨を逸脱しない範囲ならばどのような態様でも構わない。例えば上述の各実施の形態で説明したような変形が可能である。なお、処理制御データは、上述の第2の実施例と同様に、論理が逆でもよいし、他の処理内容を指定する情報とともに‘0’、‘1’以外の任意の値をとってもよい。
【0139】
なお、上述の第4、第5の実施の形態において、第1、第2の画像データは第3の画像データよりも低解像度でもよいが、バッファ51に入力される時点では第1ないし第3の画像データの解像度が同じとなるように変換しておくとよい。また、第2,第5の実施の形態における処理制御データも、第3の画像データよりも低解像度でよいが、バッファ8に入力される時点では第3の画像データと同じ解像度に変換しておくとよい。
【0140】
図86は、本発明の画像処理装置の第6の実施の形態を示すブロック図である。図中の符号は、図59と同様である。上述の第4の実施の形態では、平滑化処理の際に、入力された第1ないし第3の画像データから一旦合成画像データを作成し、合成画像データを2値化した後に平滑化処理を施す構成を示した。第4の実施の形態ではこれによって平滑化処理の品質の向上を図っている。この第6の実施の形態では、文字や線画などの形状を表現している第3の画像データのみに対して平滑化処理を行ない、その後に合成処理を行なう例を示している。
【0141】
平滑化処理部5は、上述の第1の実施の形態と同様に、バッファ51内の第3の画像データに対して平滑化処理を施し、平滑化画像データを出力する。第3の画像データは2値のデータであるので、上述の平滑化手法をそのまま用いることができる。もちろん、他の手法を用いてもよい。
【0142】
セレクタ部53は、バッファ51内の第1の画像データまたは第2の画像データ、あるいは平滑化処理部5から出力される平滑化画像データのいずれかを、バッファ51内の第3の画像データ、平滑化画像データ、および閾値をもとに選択し、合成画像データを作成して出力端dに出力する。図87は、本発明の画像処理装置の第6の実施の形態におけるセレクタ部53の選択動作の一例の説明図である。図中、平滑化画像データを‘SMOOTH’と表記している。この選択動作の例では、平滑化画像データの画素値が0または255である場合には、文字や線画を構成する線の内部の画素あるいは背景内の画素であるので、第3の画像データP3i,j の値によって第1の画像データまたは第2の画像データを選択する。また、平滑化画像データの画素値が0より大きく、255より小さい場合には、エッジ部分の平滑化処理の行なわれた画素である。この場合にはさらに第1の画像データの画素値P1i,j を調べ、閾値THより小さければ文字部は薄い色であるので、そのまま第3の画像データP3i,j の値によって第1の画像データまたは第2の画像データを選択する。第1の画像データの画素値P1i,j が閾値TH以上であれば、文字などのエッジ部分における平滑化の影響が顕著に現れる。そのため、文字や線画部分においては平滑化画像データを出力し、背景部分においては、平滑化画像データと第2の画像データの大きい方を出力する。これによって、平滑化処理による白抜けを防止することができる。なお、この例においても、セレクタ部53は出力画像データとともに、出力機器の制御のための制御データも出力する。
【0143】
図88は、本発明の画像処理装置の第6の実施の形態における動作の概要を示すフローチャートである。なお、図88の表記についても、上述の各フローチャートと同様である。図88においてはP4が平滑化画像データを示している。
【0144】
第1ないし第3の画像データは、入力されると一旦バッファ51に格納される。S151において、画素位置を示す添字i,jをともに0にリセットし、処理すべき画素を画像の先頭ラインの先頭画素に設定する。S152において、バッファ51から読み出された第3の画像データP3i,j に対して平滑化処理部5で平滑化処理smoothを施し、平滑化画像データP4i,j を得る。
【0145】
セレクタ部53ではS153において、平滑化処理部5から出力された平滑化画像データP4i,j が0より大きく255より小さい値であり、かつ、第1の画像データP1i,j が閾値TH以上か否かを判定する。この条件に合致する場合、S154において、第3の画像データP3i,j が‘1’の場合は平滑化画像データP4i,j を出力画像データとし、‘0’の場合は平滑化画像データP4i,j と第2の画像データP2i,j のいずれか大きい方を出力画像データとする。また、S153における条件に合致しない場合には、S155において、第3の画像データP3i,j に応じて第1の画像データP1i,j または第2の画像データP2i,j のいずれかを選択し、出力画像データとする。
【0146】
S156〜S159は、例えば図2におけるS107〜S110などと同様であり、順次、処理すべき画素を変えながらすべての画素について処理を行なう。なお、このフローチャートは、上述の第1の実施の形態等と同様、1つの色成分に対する処理アルゴリズムを示したものである。入力される画像データが複数の色成分を有する場合には、本アルゴリズムを色成分ごとに適用すればよい。
【0147】
以下、具体的な画像データの例を用いて動作を説明する。図89ないし図94は、本発明の画像処理装置の第6の実施の形態の処理過程における画像データの具体例の説明図である。なお、各図において矩形は画素を表わし、各画素値あるいは各値は各図の右横に示すとおりであり、ハッチングあるいは矩形内の記号によって区別している。また、画素値は0〜255の範囲の値を取るものとする。入力される画像データとしては、図64(A)〜(C)に示した第1ないし第3の画像データが、それぞれ入力端a〜入力端cに入力されるものとする。
【0148】
入力端a〜入力端cから各画像データがバッファ51に入力されると、第3の画像データが平滑化処理部5に入力され、平滑化処理が施される。例えば図7に示すパターン(a)〜(x)を用いてパターン検出を行ない、図9に示すメモリ23の内容に従って図64(C)に示す第3の画像データに平滑化処理を施すと、その結果は図89に示す画像データと、図90に示す制御データが得られる。
【0149】
セレクタ部53では、バッファ51から入力される図64に示した第1の画像データ、第2の画像データ、第3の画像データと、平滑化処理部5から入力される平滑化画像データに基づいて、図87に示したような条件に従って、入力された画像データのうちのいずれかを選択する。これによって図91に示す出力画像データが得られる。なお、制御データの選択も画素の選択結果に従って行なわれ、図92に示す制御データが出力される。
【0150】
図91、図92に示した出力画像データおよび制御データに基づいて、上述の第1の実施の形態と同様にパルス幅変調機能および強度変調機能を有する電子写真方式を用いたレーザービームプリンタで画像を形成させる。すると、図93に示すように各画素にレーザービームが照射され、図94に示すようなイメージのプリントアウトがなされる。
【0151】
以上、本発明の画像処理装置の第6の実施の形態について説明したが、上述の形態に限定されるわけではなく、本発明の趣旨を逸脱しない範囲ならばどのような態様でも構わない。例えば上述の各実施の形態で説明したような変形が可能である。また、平滑化処理部5における平滑化処理において、この例では第3の画像データのみを用いたが、平滑化処理手法によって、例えば第1の画像データあるいは第2の画像データも用いて平滑化処理を行なってもよい。さらに、上述の第2および第5の実施の形態のように、処理制御データを入力可能として構成することもできる。
【0152】
なお、この第6の実施の形態においても、上述の第4、第5の実施の形態と同様に、第1、第2の画像データが第3の画像データよりも低解像度であってもよい。また、第2,第5の実施の形態と同様に処理制御データが入力できるように構成した場合には、処理制御データも、第3の画像データよりも低解像度であってもよい。
【0153】
上述の第1ないし第6の実施の形態では、出力装置の具体例としてパルス幅変調機能および強度変調機能を有する電子写真方式を用いたレーザービームプリンタを用いたが、出力装置は任意であって、出力先に従って本発明の趣旨を逸脱せずに変形することができる。例えば、電子写真方式を用いたレーザービームプリンタへ出力する場合であっても、そのプリンタがパルス幅変調機能のみを有している場合には、強度変調を用いて平滑化処理を行なっている部分を、パルス幅変調を用いて平滑化処理を行なうようにすればよい。また、電子写真方式を用いたレーザービームプリンタへ出力する場合で、該プリンタがパルス幅変調機能の変わりに画像データの入力基準クロックの周波数の自然数倍の周波数のクロックを基準としてカウンタを動作させ、該カウンタのカウント値と画素値を比較した結果に応じて画素を印字する、いわゆるDSG(Digital Screen Generate)機能を有している場合には、上述の各実施の形態において参照波の選択を制御する制御データを、カウンタの動作を制御する制御データに置き換えればよい。
【0154】
また、電子写真方式を用いたレーザービームプリンタのみならず、インクジェットプリンタや熱転写プリンタといった他の印字方式を用いたプリンタにも適用できる。さらに、プリンタではなくCRTや液晶ディスプレイといった画像表示装置に出力する場合にも適用できる。
【0155】
【発明の効果】
以上の説明から明らかなように、本発明によれば、テキストあるいは線画データの情報を含む第1の画像データと、第1の画像データにて表現される情報以外の情報を含む第2の画像データと、第1の画像データの画素または第2の画像データの画素を画素ごとに選択する第3の画像データが入力され、第3の画像データに基づいて平滑化処理を実行する。これによって単純に合成画像データを出力する場合に比べて平滑化によって文字や線画部分の画質が向上する。また、単純に平滑化処理を行なった場合には文字や線画部分のエッジに白抜けが発生することがあったが、本発明によれば第3の画像データに基づいて、例えば白抜けが目立つ画像であれば絵柄部分を選択し、文字などのエッジが目立つ画像であれば平滑化結果を選択することができ、単純に平滑化処理を行なった場合に比べて高品質の画像を形成することができる。また第3の画像データがなくても、第1の画像データと第2の画像データを所定の手順に従って合成し、その合成画像データの画素と、合成データに対して平滑化処理を施した画像データの画素を、変化点情報に従って選択して出力するようにしても、単純に平滑化処理を行なった場合に発生する文字や線画部分のエッジに白抜けを低減し、また平滑化によって文字や線画部分の画質を向上させることができる。
【0156】
さらに、第3の画像データとともに処理制御データを用いて平滑化処理を実行することによって、さらに高い画質で記録あるいは表示することができる画像を生成できるという効果がある。
【図面の簡単な説明】
【図1】 本発明の画像処理装置の第1の実施の形態を示すブロック図である。
【図2】 本発明の画像処理装置の第1の実施の形態における動作の概要を示すフローチャートである。
【図3】 入力される画像データの一例の説明図である。
【図4】 本発明の画像処理装置の第1の実施の形態における2値化部の一例を示すブロック構成図である。
【図5】 本発明の画像処理装置の第1の実施の形態における平滑化処理部の一例を示すブロック構成図である。
【図6】 5×5ブロックデータの説明図である。
【図7】 パターン検出部で5×5ブロックデータと比較するパターンの一例の説明図である。
【図8】 パターン検出部の一例を示す構成図である。
【図9】 メモリの内容の一例の説明図である。
【図10】 本発明の画像処理装置の第1の実施の形態における変化点検出部の一例を示すブロック構成図である。
【図11】 第1のエッジ検出部の一例を示すブロック構成図である。
【図12】 特定方向のエッジを検出するフィルタの一例の説明図である。
【図13】 エッジ情報作成部において生成されるエッジ情報の説明図である。
【図14】 セレクタ7の選択動作の一例の説明図である。
【図15】 レーザービームプリンタにおいてパルス幅変調機能を実現するための一構成例を示すブロック図である。
【図16】 レーザービームプリンタにおけるパルス幅変調の動作の一例の説明図である。
【図17】 レーザービームプリンタにおけるパルス幅変調の動作の別の例の説明図である。
【図18】 レーザービームプリンタにおけるパルス幅変調の動作のさらに別の例の説明図である。
【図19】 レーザービームプリンタにおけるパルス幅変調の動作のさらに別の例の説明図である。
【図20】 レーザービームプリンタにおいて強度変調機能を実現するための一構成例を示すブロック図である。
【図21】 レーザービームプリンタにおける強度変調の動作の一例の説明図である。
【図22】 本発明の画像処理装置の第1の実施の形態において入力される画像データの具体例の説明図である。
【図23】 本発明の画像処理装置の第1の実施の形態における合成画像データの具体例の説明図である。
【図24】 本発明の画像処理装置の第1の実施の形態における2値化画像データの具体例の説明図である。
【図25】 本発明の画像処理装置の第1の実施の形態における平滑化画像データの具体例の説明図である。
【図26】 本発明の画像処理装置の第1の実施の形態における平滑化処理部から出力される制御データの具体例の説明図である。
【図27】 本発明の画像処理装置の第1の実施の形態における変化点情報の具体例の説明図である。
【図28】 本発明の画像処理装置の第1の実施の形態における出力画像データの具体例の説明図である。
【図29】 本発明の画像処理装置の第1の実施の形態において出力される制御データの具体例の説明図である。
【図30】 本発明の画像処理装置の第1の実施の形態において出力された出力画像データおよび制御データに基づいてレーザビームプリンタで画像を形成する際のレーザ照射イメージの具体例の説明図である。
【図31】 本発明の画像処理装置の第1の実施の形態において出力された出力画像データおよび制御データに基づいてレーザビームプリンタで形成した画像の具体例の説明図である。
【図32】 本発明の画像処理装置の第2の実施の形態を示すブロック図である。
【図33】 本発明の画像処理装置の第2の実施の形態におけるセレクタ7の選択動作の一例の説明図である。
【図34】 本発明の画像処理装置の第2の実施の形態における動作の一例を示すフローチャートである。
【図35】 本発明の画像処理装置の第2の実施の形態において入力される画像データ(第1の画像データ、第2の画像データ)の具体例の説明図である。
【図36】 本発明の画像処理装置の第2の実施の形態において入力される画像データ(第3の画像データ、処理制御データ)の具体例の説明図である。
【図37】 本発明の画像処理装置の第2の実施の形態における合成画像データの具体例の説明図である。
【図38】 本発明の画像処理装置の第2の実施の形態における2値化画像データの具体例の説明図である。
【図39】 本発明の画像処理装置の第2の実施の形態における平滑化画像データの具体例の説明図である。
【図40】 本発明の画像処理装置の第2の実施の形態において平滑化処理によって出力される制御データの具体例の説明図である。
【図41】 本発明の画像処理装置の第2の実施の形態における変化点情報の具体例の説明図である。
【図42】 本発明の画像処理装置の第2の実施の形態における出力画像データの具体例の説明図である。
【図43】 本発明の画像処理装置の第2の実施の形態において出力される制御データの具体例の説明図である。
【図44】 本発明の画像処理装置の第2の実施の形態において出力された出力画像データおよび制御データに基づいてレーザビームプリンタで画像を形成する際のレーザ照射イメージの具体例の説明図である。
【図45】 本発明の画像処理装置の第2の実施の形態において出力された出力画像データおよび制御データに基づいてレーザビームプリンタで形成した画像の具体例の説明図である。
【図46】 本発明の画像処理装置の第3の実施の形態を示すブロック図である。
【図47】 本発明の画像処理装置の第3の実施の形態におけるセレクタ7の選択動作の一例の説明図である。
【図48】 本発明の画像処理装置の第3の実施の形態における動作の一例を示すフローチャートである。
【図49】 本発明の画像処理装置の第3の実施の形態において入力される画像データの具体例の説明図である。
【図50】 本発明の画像処理装置の第3実施の形態における合成画像データの具体例の説明図である。
【図51】 本発明の画像処理装置の第3実施の形態における2値化画像データの具体例の説明図である。
【図52】 本発明の画像処理装置の第3実施の形態における平滑化画像データの具体例の説明図である。
【図53】 本発明の画像処理装置の第3実施の形態における平滑化処理によって出力される制御データの具体例の説明図である。
【図54】 本発明の画像処理装置の第3実施の形態における変化点情報の具体例の説明図である。
【図55】 本発明の画像処理装置の第3実施の形態における出力画像データの具体例の説明図である。
【図56】 本発明の画像処理装置の第3実施の形態において出力される制御データの具体例の説明図である。
【図57】 本発明の画像処理装置の第3の実施の形態において出力された出力画像データおよび制御データに基づいてレーザビームプリンタで画像を形成する際のレーザ照射イメージの具体例の説明図である。
【図58】 本発明の画像処理装置の第3の実施の形態において出力された出力画像データおよび制御データに基づいてレーザビームプリンタで形成した画像の具体例の説明図である。
【図59】 本発明の画像処理装置の第4の実施の形態を示すブロック図である。
【図60】 本発明の画像処理装置の第4の実施の形態における2値化部の一例を示すブロック構成図である。
【図61】 本発明の画像処理装置の第4の実施の形態におけるセレクタ部の一例を示すブロック構成図である。
【図62】 本発明の画像処理装置の第4の実施の形態におけるセレクタ部の選択動作の一例の説明図である。
【図63】 本発明の画像処理装置の第4の実施の形態における動作の概要を示すフローチャートである。
【図64】 本発明の画像処理装置の第4の実施の形態において入力される画像データの具体例の説明図である。
【図65】 本発明の画像処理装置の第4の実施の形態における合成画像データの具体例の説明図である。
【図66】 本発明の画像処理装置の第4の実施の形態における2値化画像データの具体例の説明図である。
【図67】 本発明の画像処理装置の第4の実施の形態における平滑化画像データの具体例の説明図である。
【図68】 本発明の画像処理装置の第4の実施の形態における平滑化処理部から出力される制御データの具体例の説明図である。
【図69】 本発明の画像処理装置の第4の実施の形態における出力画像データの具体例の説明図である。
【図70】 本発明の画像処理装置の第4の実施の形態において出力される制御データの具体例の説明図である。
【図71】 本発明の画像処理装置の第4の実施の形態において出力された出力画像データおよび制御データに基づいてレーザビームプリンタで画像を形成する際のレーザ照射イメージの具体例の説明図である。
【図72】 本発明の画像処理装置の第4の実施の形態において出力された出力画像データおよび制御データに基づいてレーザビームプリンタで形成した画像の具体例の説明図である。
【図73】 本発明の画像処理装置の第5の実施の形態を示すブロック図である。
【図74】 本発明の画像処理装置の第5の実施の形態におけるセレクタ部53の選択動作の一例の説明図である。
【図75】 本発明の画像処理装置の第5の実施の形態における動作の概要を示すフローチャートである。
【図76】 本発明の画像処理装置の第5の実施の形態において入力される画像データ(第1の画像データ、第2の画像データ)の具体例の説明図である。
【図77】 本発明の画像処理装置の第5の実施の形態において入力される画像データ(第3の画像データ、処理制御データ)の具体例の説明図である。
【図78】 本発明の画像処理装置の第5の実施の形態における合成画像データの具体例の説明図である。
【図79】 本発明の画像処理装置の第5の実施の形態における2値化画像データの具体例の説明図である。
【図80】 本発明の画像処理装置の第5の実施の形態における平滑化画像データの具体例の説明図である。
【図81】 本発明の画像処理装置の第5の実施の形態における平滑化処理部から出力される制御データの具体例の説明図である。
【図82】 本発明の画像処理装置の第5の実施の形態における出力画像データの具体例の説明図である。
【図83】 本発明の画像処理装置の第5の実施の形態において出力される制御データの具体例の説明図である。
【図84】 本発明の画像処理装置の第5の実施の形態において出力された出力画像データおよび制御データに基づいてレーザビームプリンタで画像を形成する際のレーザ照射イメージの具体例の説明図である。
【図85】 本発明の画像処理装置の第5の実施の形態において出力された出力画像データおよび制御データに基づいてレーザビームプリンタで形成した画像の具体例の説明図である。
【図86】 本発明の画像処理装置の第6の実施の形態を示すブロック図である。
【図87】 本発明の画像処理装置の第6の実施の形態におけるセレクタ部の選択動作の一例の説明図である。
【図88】 本発明の画像処理装置の第6の実施の形態における動作の概要を示すフローチャートである。
【図89】 本発明の画像処理装置の第6の実施の形態における平滑化画像データの具体例の説明図である。
【図90】 本発明の画像処理装置の第6の実施の形態における平滑化処理部から出力される制御データの具体例の説明図である。
【図91】 本発明の画像処理装置の第6の実施の形態における出力画像データの具体例の説明図である。
【図92】 本発明の画像処理装置の第6の実施の形態において出力される制御データの具体例の説明図である。
【図93】 本発明の画像処理装置の第6の実施の形態において出力された出力画像データおよび制御データに基づいてレーザビームプリンタで画像を形成する際のレーザ照射イメージの具体例の説明図である。
【図94】 本発明の画像処理装置の第6の実施の形態において出力された出力画像データおよび制御データに基づいてレーザビームプリンタで形成した画像の具体例の説明図である。
【図95】 平滑化処理の一例の説明図である。
【符号の説明】
1,7…セレクタ、2,3…バッファ、4…2値化部、5…平滑化処理部、6…変化点検出部、8…バッファ、11…レジスタ、12…比較器、21…バッファ、22a〜22x…パターン検出部、23…メモリ、24a〜24d…論理否定素子、25…論理積素子、31…第1のエッジ検出部、32…第2のエッジ検出部、33…変化点情報生成部、34a〜34d…フィルタ、35…エッジ情報作成部、41…D/A変換器、42…参照波発生器、43…比較器、44…レーザー発光素子、45…電流制御器、51…バッファ、52…2値化部、53…セレクタ部、61…セレクタ、71,73…セレクタ、72…レジスタ。[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image processing apparatus, and more particularly to an image processing apparatus that performs smoothing processing on image data and an image smoothing method thereof.
[0002]
[Prior art]
In recent years, with the development and popularization of editing software, image input devices such as scanners and electronic still cameras, photographs and illustrations such as taking pictures with a scanner or electronic still camera and attaching dates and sentences, for example, Opportunities to edit and process sentences as a single document are increasing. When printing out such a document, high image quality output is required. For this reason, it is common to print out a character or line drawing portion that requires high resolution by performing a smoothing process.
[0003]
By the way, when printing out the above document as one image data, it is necessary to separate the pattern portion and the character / line drawing portion to be smoothed. However, it is difficult to completely separate the two. Conventionally, especially when the pattern portion and the character / line drawing portion overlap, the pattern portion is handled as the character / line drawing portion, or the character / line drawing portion is handled as the pattern portion. For this reason, processing suitable for each portion is not performed, causing deterioration in image quality.
[0004]
Therefore, when editing and processing the document as described above, the image portion and the character / line drawing portion are stored in advance as separate image data, and which image data is selected when printing out. A method is conceivable in which selection information indicating the above is transferred to the printer together with the two image data, and the two image data are combined based on the selection information by the printer. As such a method, for example, there is a technique disclosed in JP-A-8-256255. In this technique, binary image data made up of characters and line drawings, multi-valued image data made up of a pattern, and composite information for combining both are received, and the binary image data and the multi-valued image data are combined. At that time, if the value of a certain pixel in the binary image data indicates that the pixel should be printed, the binary image data is prioritized and either synthesized as it is based on the synthesis information or the pixel is It is white. If the value of a certain pixel in the binary pixel data indicates that the pixel is not printed, priority is given to the multivalued image data. In this way, the pattern portion and the character / line drawing portion can be satisfactorily synthesized.
[0005]
Incidentally, the smoothing process is generally performed in the following procedure. First, a block (hereinafter referred to as m × n block) of m pixels × n lines (m and n are both natural numbers) centering on the target pixel is cut out from the input image. Then, pattern matching is performed between the cut block and a plurality of patterns having the same size as the block. If there is a matching pattern, the target pixel is converted according to the matched pattern, and if there is no matching pattern, the target pixel is output as it is. That is, depending on the pattern to be detected, pixels that do not originally belong to the character / line drawing portion may be converted and output. An example of such smoothing processing is also described in the above-mentioned document, and the print width of the target pixel is changed according to the matched pattern.
[0006]
FIG. 95 is an explanatory diagram of an example of the smoothing process. When the smoothing process as described above is performed, the line segment shifted by one pixel shown in FIG. 95A is changed as shown in FIG. 95B by changing the print width of several pixels across the connection point. To be smoothed. As a result, a smooth straight line can be printed. At this time, the pixels indicated by arrows in FIG. 95B are pixels for which a pattern portion such as a background image is originally selected, and are pixels that represent a part of a straight line by the smoothing process. . Although these pixels form a straight line, the print width is also small. For this reason, in these pixels, many portions except for the print portion are not printed with a pattern, and are in a blank state. For example, when the pattern portion and the character / line drawing portion are both dark, the image quality deteriorates due to the blank portion. On the other hand, when the pattern portion is light and the character / line drawing portion is dark, if these pixels are used as the pattern portion, the effect of the smoothing process cannot be exhibited. Furthermore, when smoothing processing is performed in consideration of such white areas, there is a problem that thinning or fading is likely to occur in the character / line drawing area.
[0007]
[Problems to be solved by the invention]
The present invention has been made in view of the above-described circumstances, and provides an image processing apparatus that can perform smoothing processing on input image data and output the image data with high image quality. It is an object of the present invention to provide an image smoothing method that can be output with the.
[0008]
[Means for Solving the Problems]
The present invention relates to first image data including information of text or line drawing data, second image data including information other than information expressed by the first image data, first image data or second image data. The third image data for selecting the image data for each pixel is input, and the smoothing process is executed according to the third image data. For example, the first image data or the second image data is selected for each pixel to obtain composite image data, or the first image data or the second image data without using the third image data. Can be selected for each pixel to obtain composite image data, and then smoothing processing can be performed on the composite image data.
[0009]
As described above, for example, white spots may occur between the pattern area and the text or line drawing area due to the smoothing process. For this reason, by performing smoothing processing based on the third image data, for example, a change point in a text or line drawing area and other picture areas is detected and used as change point information, and the change point information is used. For example, if the image has conspicuous white spots, the pattern portion can be selected. If the image has conspicuous edges such as characters, the smoothing result can be selected, and a high-quality image can be formed. In the smoothing process, process control data defining attributes of image processing to be performed on the image data can also be used.
[0010]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 is a block diagram showing a first embodiment of an image processing apparatus of the present invention. In the figure, 1 and 7 are selectors, 2 and 3 are buffers, 4 is a binarization unit, 5 is a smoothing processing unit, and 6 is a change point detection unit. The smoothing means of the present invention is constituted by each block shown in FIG. This image processing apparatus has three input terminals a to c and one output terminal d. These input terminals constitute an input unit. First image data including text or line drawing data information is input to the input terminal a. Information other than the information expressed by the first image data, for example, second image data including a pattern or the like is input to the input terminal b. The input terminal c receives third image data for selecting the first image data or the second image data for each pixel. From the output end d, a smoothed image is output.
[0011]
Based on the third image data input from the input terminal c, the
[0012]
The
[0013]
The
[0014]
The
[0015]
FIG. 2 is a flowchart showing an outline of the operation of the image processing apparatus according to the first embodiment of the present invention. In FIG. 2, i and j are indices indicating pixel positions in the sub-scanning and main-scanning directions when the first pixel of the first line is the origin, and P and L are pixels in the main-scanning and sub-scanning directions of the input image data. Is a number. P1 is the first image data, P2 is the second image data, P3 is the third image data, and P4 is the composite image data. Subscripts i and j are j + 1th in the main scanning direction of each image, and sub-scanning. Indicates that the pixel is in the direction i + 1. Here, P1, P2, and P4 are multi-value data, and P3 is binary data. It is assumed that pixels at the same position are input to the first to third image data at the same time. The function smooth represents that the image is smoothed, and the function max represents the maximum value. The addition of an overline represents a logical negation, · represents a logical product, and + represents a logical sum, but since P1, P2, and P4 are not logical data, it is determined here whether or not to be selected by a logical product with P3. The logical sum indicates that one of the two terms is the left side. The same applies to the flowcharts in the following embodiments.
[0016]
First, in S101, subscripts i and j indicating pixel positions are both reset to 0, and the pixel to be processed is set as the first pixel of the first line of the image. In S102, the
[0017]
On the other hand, in the
[0018]
In S103, the third image data P3 i, j And composite image data P4 i, j Are determined to be change points, and the third image data P3 is determined in S104. i, j Is “0”, that is, when the second image data is selected, there is a possibility that the background pixel such as the pattern portion is changed to the text or line drawing portion. In such a pixel, white spots or the like are likely to occur at the boundary portion, and the image quality may be deteriorated. Therefore, in S106, the composite image data P4 i, j And smoothed image data P4 ′ i, j The pixel having the larger pixel value is selected by the
[0019]
In S107, it is determined whether or not the position of the pixel to be processed has reached the end of the line. If it is in the middle of the line, the value of the subscript j is increased by 1 in S108, and the position of the pixel to be processed is determined. Move to the next. Then, the process returns to S102 and a process for a new pixel is performed. If the position of the pixel to be processed in S107 has reached the end of the line, it is determined whether or not the last line has been processed in S109, and if an unprocessed line remains, S110 is determined. The value of the subscript i is incremented by 1 to set the next line to be processed, and the value of the subscript j is set to 0 to set the pixel at the beginning of the line to be processed. Then, the process returns to S102 and a process for a new pixel is performed. In this way, the process is repeated by repeatedly performing the process from the pixel serving as the origin to the pixel at the end of the last line.
[0020]
This flowchart shows a processing algorithm for one color component. When the input image data has a plurality of color components, this algorithm is applied for each color component. For example, when each color component of the input image data is field sequential, for example, when the input image data is composed of yellow (Y), magenta (M), cyan (C), and black (K) components, Y → M → C → When the three types of image data are input in the order of K, the image of each color component may be processed in the input order. Of course, the order of the input colors is arbitrary, and it is not necessary to input them in the frame order. In this case, the colors are temporarily stored in a buffer or the like, or this image processing apparatus is provided for each color, and the multiplexer You may make it switch by. Also, the color of the input image data is not limited to YMCK, but for example RGB or L * a * b * Other color component configurations may be used.
[0021]
The first embodiment of the image processing apparatus according to the present invention will be further described in part using specific examples. FIG. 3 is an explanatory diagram of an example of input image data. The image data input to this image processing apparatus is composed of three types of image data having the same size in both the main scanning direction and the sub-scanning direction. For example, the image shown in FIG. 3A is input to the input terminals a to c as three pieces of image data shown in FIGS. In the example shown in FIG. 3A, a color character “AB” and a design exist. For the convenience of illustration, the color portion is shown hatched.
[0022]
The first image data holds color information of text or line drawing data. For example, as shown in FIG. 3B, only the color information of the color character “AB” is held. The first image data does not need to be stored for each pixel and may be data having a lower resolution than the original image, but is assumed to have the same resolution when input. Specifically, the first image data can be image data composed of 256-gradation character / line drawing color information composed of 8-bit data per pixel.
[0023]
The second image data holds information other than text or line drawing data, for example, information including a picture as shown in FIG. The second image data is preferably a full-color high-resolution image, for example. Specifically, the second image data can be image data composed of so-called picture images other than 256 gradation character / line images composed of 8-bit data per pixel.
[0024]
The third image data holds information for selecting the first image data or the second image data for each pixel. In this example, as shown in FIG. 3D, the shape of the color character “AB” is retained. Since the third image data is information for selecting one of the two image data, the third image data may be binary data of 1 bit per pixel. In the following description, the case where the first image data shown in FIG. 3B is selected is “1”, and the case where the second image data shown in FIG. 3C is selected is “0”. In the example shown in FIG. 3D, the character “AB” is set to “1” to indicate that the color of the first image data shown in FIG. 3B is selected. The other part indicates that the second image data is selected.
[0025]
For example, in the case of 256 gradations, the pixel values in the first image data and the second image data are the lowest density when “0”, the highest density when “255”, and “1” to “254”. In the case of ', it represents an intermediate density according to the pixel value.
[0026]
In the first to third image data as described above, pixels at the same position in each image data are input to the
[0027]
The
[0028]
FIG. 4 is a block configuration diagram showing an example of the binarization unit in the first embodiment of the image processing apparatus of the present invention. In the figure, 11 is a register and 12 is a comparator. The
[0029]
FIG. 5 is a block configuration diagram showing an example of a smoothing processing unit in the first embodiment of the image processing apparatus of the present invention, FIG. 6 is an explanatory diagram of 5 × 5 block data, and FIG. 7 is a pattern detection unit. FIG. 8 is an explanatory diagram of an example of a pattern to be compared with 5 × 5 block data, FIG. 8 is a configuration diagram illustrating an example of a pattern detection unit, and FIG. 9 is an explanatory diagram of an example of the contents of a memory. In the figure, 21 is a buffer, 22a to 22x are pattern detection units, 23 is a memory, 24a to 24d are logical negation elements, and 25 is a logical product element. The smoothing
[0030]
The
[0031]
The
[0032]
For example, the
[0033]
The
[0034]
In addition, when “1” is output from two or more pattern detectors and when “0” is output from all pattern detectors, an image corresponding to the pixel value input from the
[0035]
The change
[0036]
The first
[0037]
The second
[0038]
The change point
[0039]
In the
[0040]
For example, when both the first and second
[0041]
In this way, at the change point portion, for example, the composite image data in which the second image data is selected from the third image data, and the smoothed image data smoothed by the smoothing
[0042]
Next, an example in which output processing is performed according to the image data and control data output from the image processing apparatus in this way will be described. Here, as an example, the case of outputting to a laser beam printer having a pulse width modulation function and an intensity modulation function will be described. First, pulse width modulation and intensity modulation will be described. FIG. 15 is a block diagram illustrating a configuration example for realizing a pulse width modulation function in a laser beam printer. In the figure, 41 is a D / A converter, 42 is a reference wave generator, and 43 is a comparator. The pulse width modulation is a function for controlling the light emission timing of the laser light emitting element to control the print width and print position of the pixel in the main scanning direction. For example, the laser beam printer has a configuration as shown in FIG. Realize. The D / A converter 41 converts the input pixel into a signal having a voltage level corresponding to the value. The
[0043]
16 to 19 are explanatory diagrams of an example of the pulse width modulation operation in the laser beam printer. The waveforms at the points a, b, c, and d shown in FIG. 15, the reference clock, and the printing result are shown. In these examples, “FFh”, “BFh”, “7Fh”, “3Fh”, and “0h” are sequentially input as the pixel values input to the terminal a. Here, the value with 'h' added to the end indicates a hexadecimal number. The same applies hereinafter. 16 to 19, the shapes of the reference waves generated by the
[0044]
The example shown in FIG. 17 shows a case where a sawtooth waveform that gradually decreases in one clock is generated as a reference wave. In this case, the printed band-like area is printed near the right end of each pixel. Further, in the example shown in FIG. 18, a sawtooth reference wave that gradually increases in one clock is generated. In this case, the printed band-like area is printed near the left end of each pixel. In these cases as well, the width corresponds to the pixel value.
[0045]
In the example shown in FIG. 19, a reference wave in which the gradually decreasing waveform shown in FIG. 17 and the gradually increasing waveform shown in FIG. 18 are alternately generated is used. In this case, the band-like area printed every other pixel is printed to the left or right. Also in this case, printing is performed with a width corresponding to the pixel value.
[0046]
FIG. 20 is a block diagram showing a configuration example for realizing the intensity modulation function in the laser beam printer. In the figure, 44 is a laser light emitting element, and 45 is a current controller. The intensity modulation is a function for controlling the light emission intensity of the laser
[0047]
FIG. 21 is an explanatory diagram of an example of the intensity modulation operation in the laser beam printer. The waveforms at the points a and b shown in FIG. 20, the reference clock, and the printing result are shown. In this example, “FFh”, “BFh”, “7Fh”, “3Fh”, and “0h” are sequentially input as the pixel values input to the terminal a. The current output from the
[0048]
By using the pulse width modulation function and the intensity modulation function provided in such a laser beam printer, it is possible to print a small area of one pixel or less by a smoothing process. For example, when printing a vertical line smoothing processing result as shown in FIG. 95B, a small area of one pixel or less is added using the pulse width modulation function shown in FIGS. Good. In the case of a horizontal line, a smoothing result can be obtained by adding a small area of one pixel or less using the intensity modulation function. In order to select such a function, control data output from the above-described image processing apparatus is used. For example, among the 4-bit control data output from the
[0049]
In this way, by performing printing and recording in accordance with the image data and control data output from the above-described image processing apparatus, it is possible to print an image that has been subjected to smoothing processing. As a result of the smoothing process, for example, a case where only a narrow area is printed in one pixel occurs as in the case where the pixel value is “3Fh” in FIGS. For this reason, when the background is dark, white spots have been conspicuous at the boundary portion. However, when white spots are noticeable in the image processing apparatus of the present invention, the pixels are printed as background pixels. Will not stand out. If white spots are not noticeable, printing is performed according to the smoothing result, so that the edge portion is printed well by the output control as described above. In this way, a high-quality image can be obtained.
[0050]
Hereinafter, the operation will be described using specific examples of image data. FIG. 22 is an explanatory diagram of a specific example of image data input in the first embodiment of the image processing apparatus of the present invention, and FIGS. 23 to 31 are explanatory diagrams of specific examples of image data in the same process. is there. In each figure, a rectangle represents a pixel, and each pixel value or each value is as shown on the right side of each figure, and is distinguished by hatching or a symbol in the rectangle. In addition, the pixel value takes a value in the range of 0 to 255. In the following description, each figure shows the state of processing of the entire image, and in order to show specific processing, as an example, the pixel at the intersection of the row and column indicated by the arrow in each figure, that is, 4 in the main scanning direction. 9th pixel P4 in the sub-scanning direction 8,3 Pay attention to.
[0051]
The image data shown in FIG. 22A at the input end a, the image data shown in FIG. 22B at the input end b, and the image data shown in FIG. Are input simultaneously. As described above, the image data shown in FIG. 22A input to the input terminal a indicates the color of the character “AB” (here, a single color density), and the character “A” has a pixel value of 255. It is recorded and indicates that the character “B” is expressed with a pixel value of 0, ie, white. The image data shown in FIG. 22B input to the input terminal b represents a background image, and in this example, it is assumed that the pixel values are uniformly recorded. The image data shown in FIG. 22C input to the input terminal c is image data for selecting either FIG. 22A or FIG. 22B, and a pixel value of 1 in FIG. Assume that the image in FIG. 22B is selected with a pixel value of 0.
[0052]
When each pixel is input to the input terminal a to the input terminal c, the
[0053]
The composite image data output from the
[0054]
The binarized image data binarized by the
[0055]
The composite image data output from the
[0056]
Also, the third image data shown in FIG. 22C input to the input terminal c is also subjected to delay adjustment in the
[0057]
The change point
[0058]
The
[0059]
For example, pixel P4 8,3 Then, the change point information output from the change
[0060]
In the output image data shown in FIG. 28, the value “255”, which is different from the second image data in which the pixel value near the horizontal line of the character “B” is the background and the first image data indicating the color of the character, is used. Has been granted. As described below, when a laser beam printer is used as an output device, these pixels produce density by intensity modulation.
[0061]
Based on the output image data and control data shown in FIGS. 28 and 29, an image is formed by a laser beam printer using an electrophotographic method having a pulse width modulation function and an intensity modulation function as described above. Then, as shown in FIG. 30, each pixel is irradiated with a laser beam. Pixel P4 described above 8,3 In this case, the pixel value is “90” and the control data is “0111b”. Since the upper 2 bits of the control data are “01b”, the laser beam is irradiated to the right corresponding to the pixel value “90” as shown in FIG. Thus, the laser beam is irradiated as shown in FIG. 30, and the printed image is as shown in FIG.
[0062]
The first embodiment of the image processing apparatus of the present invention has been described above. However, the present invention is not limited to the above-described form, and any form may be used as long as it does not depart from the spirit of the present invention. For example, in the above example, the smoothing
[0063]
Further, in the change
[0064]
Further, in the
[0065]
In this embodiment, after the composite image data is binarized, a pattern to be smoothed is detected by performing pattern matching, and the pixel value of the composite image data is changed according to the pattern detection result. Although the control data is generated, color conversion may be performed based on the color information of the peripheral pixels of the target pixel.
[0066]
The input first image data and second image data are not limited to 256 gradations per pixel (8 bits per pixel), and may be expressed by the number of gradations. The third image data is not limited to binary data. Further, a logical value for selecting image data can be arbitrarily set. The first image data may have a lower resolution than the second and third image data. However, when the first image data is input to the
[0067]
FIG. 32 is a block diagram showing a second embodiment of the image processing apparatus of the present invention. In the figure, the same parts as those in FIG. 8 is a buffer. In the second embodiment, the process control data is input to the input terminal d together with the first to third image data as the input image data. The
[0068]
The process control data is process control data that designates a process for image data selected by the third image data for each pixel. Depending on the number of processes to be selected, one to several bits per pixel can be used. Here, as an example, whether or not smoothing processing is performed is indicated by processing control data, and description will be made assuming that the data is 1 bit per pixel. When the pixel value is “1”, the smoothing process is performed. When the pixel value is “0”, it is designated that the smoothing process is not performed. In this processing control data, it is assumed that pixel data corresponding to the first to third image data is input to the input terminal d.
[0069]
The
[0070]
The
[0071]
FIG. 34 is a flowchart showing an example of the operation in the second embodiment of the image processing apparatus of the present invention. Note that the notation in FIG. 34 is the same as that in FIG. In FIG. 34, P4 is processing control data, and P5 is composite image data. In S111, subscripts i and j indicating the pixel position are both reset to 0, and the pixel to be processed is set as the first pixel of the first line of the image. In S112, the
[0072]
On the other hand, in the
[0073]
In S113, the third image data P3 i, j And composite image data P5 i, j Are determined to be change points, and the third image data P3 is determined in S114. i, j Is '0', that is, when the second image data is selected, in S116, the composite image data P5 i, j And smoothed image data P5 ′ i, j The pixel having the larger pixel value is selected by the
[0074]
S117 to S120 are the same as S107 to S110 in FIG. 2, and processing is performed for all the pixels while sequentially changing the pixels to be processed.
[0075]
Hereinafter, the operation will be described using specific examples of image data. FIGS. 35 and 36 are explanatory diagrams of specific examples of image data input in the second embodiment of the image processing apparatus of the present invention, and FIGS. 37 to 45 are specific examples of image data in the same process. It is explanatory drawing. In each figure, a rectangle represents a pixel, and each pixel value or each value is as shown on the right side of each figure, and is distinguished by hatching or a symbol in the rectangle. In addition, the pixel value takes a value in the range of 0 to 255.
[0076]
The image data shown in FIG. 35A at the input end a, the image data shown in FIG. 35B at the input end b, the image data shown in FIG. 36A at the input end c, and the image data shown in FIG. It is assumed that the pixels at the same position in the processing control data shown in 36 (B) are input simultaneously. As described above, the image data shown in FIG. 35A input to the input terminal a indicates the color of the character “AA” (here, a certain single color density) and is recorded with a pixel value of 255. Show. The image data shown in FIG. 35B input to the input terminal b represents a background image, and in this example, it is assumed that the pixel values are uniformly recorded. The image data shown in FIG. 36 (A) input to the input terminal c is image data for selecting either FIG. 35 (A) or FIG. 35 (B), and a pixel value of 1 in FIG. 35 (A). Assume that the image shown in FIG. 35B is selected with a pixel value of 0. In this example, the image of FIG. 35A is selected for the character “AA”, and the image of FIG. 35B is selected for the other portions. The process control data shown in FIG. 36 (B) input to the input terminal d is subjected to the smoothing process of the present invention only when “1”, and when it is “0”, the smoothing process is not performed. In this example, the smoothing process of the present invention is performed for the right character “A” without performing the smoothing process for the left character “A”.
[0077]
When each pixel is input to the input terminal a to the input terminal d, the
[0078]
The composite image data output from the
[0079]
The binarized image data binarized by the
[0080]
The composite image data output from the
[0081]
The
[0082]
In this way, the
[0083]
Based on the output image data and control data shown in FIGS. 42 and 43, an image is formed by a laser beam printer using an electrophotographic system having a pulse width modulation function and an intensity modulation function as described above. Then, as shown in FIG. 44, each pixel is irradiated with a laser beam. The printed image is as shown in FIG. In this specific example, the background portion where the smoothing process is not performed shows an example in which the control method shown in FIG. 19 is adopted, and an image quality different from that obtained by the smoothing process is obtained.
[0084]
The second embodiment of the image processing apparatus of the present invention has been described above. However, these aspects are not limited to the above, and any embodiment is possible as long as it does not depart from the spirit of the present invention. Absent. For example, the same modifications as those in the first embodiment described above are possible. In the above-described example, the process control data is “1” when the smoothing process is performed and “0” when the smoothing process is not performed. Further, it may be constituted by a plurality of bits together with information on whether or not to perform other processing.
[0085]
FIG. 46 is a block diagram showing a third embodiment of the image processing apparatus of the present invention. In the figure, the same parts as those in FIG. In the third embodiment, an example is shown in which only the first image data and the second image data are input as input image data. In the third embodiment, the first image data is image data indicating a character / line drawing, and the second image data is image data other than the character / line drawing.
[0086]
In this example, the
[0087]
The change
[0088]
The
[0089]
The
[0090]
FIG. 48 is a flowchart showing an example of the operation of the image processing apparatus according to the third embodiment of the present invention. Note that the notation of FIG. 48 is the same as that of FIG. In FIG. 48, P3 indicates composite image data. In S121, subscripts i and j indicating the pixel position are both reset to 0, and the pixel to be processed is set as the first pixel of the first line of the image. In S122, the
[0091]
In the change
[0092]
S126 to S129 are the same as S107 to S110 in FIG. 2, and processing is performed for all the pixels while sequentially changing the pixels to be processed.
[0093]
Hereinafter, the operation will be described using specific examples of image data. FIG. 49 is an explanatory diagram of a specific example of image data input in the third embodiment of the image processing apparatus of the present invention, and FIGS. 50 to 58 are explanatory diagrams of specific examples of image data in the same process. is there. In each figure, a rectangle represents a pixel, and each pixel value or each value is as shown on the right side of each figure, and is distinguished by hatching or a symbol in the rectangle. In addition, the pixel value takes a value in the range of 0 to 255.
[0094]
Assume that the image data shown in FIG. 49A is input to the input terminal a and the image data shown in FIG. 49B is input to the input terminal b at the same position. The image data shown in FIG. 49A input to the input terminal a represents the character “A” and is recorded with a pixel value of 255. The image data shown in FIG. 49B input to the input terminal b represents a background image, and is recorded with a pixel value of 90 in this example. In the second image data, the character “B” is expressed with a pixel value of 0, ie, white.
[0095]
When each pixel is input to the input terminal a and the input terminal b, the
[0096]
The composite image data output from the
[0097]
The composite image data output from the
[0098]
The
[0099]
Based on the output image data and control data shown in FIGS. 55 and 56, an image is formed by a laser beam printer using an electrophotographic system having a pulse width modulation function and an intensity modulation function as described above. Then, as shown in FIG. 57, each pixel is irradiated with a laser beam. The printed image is as shown in FIG.
[0100]
The third embodiment of the image processing apparatus of the present invention has been described above. However, these aspects are not limited to the above, and any embodiment may be used as long as it does not depart from the spirit of the present invention. Absent. For example, the same modifications as those in the first embodiment and the second embodiment described above are possible. In the above example, when the
[0101]
FIG. 59 is a block diagram showing a fourth embodiment of the image processing apparatus of the present invention. In the figure, the same parts as those in FIG. 51 is a buffer, 52 is a binarization unit, and 53 is a selector unit. In the first to third embodiments described above, the configuration in which the composite image data is once generated from the input first to third image data and then smoothed is performed. In the fourth embodiment, an example in which the synthesis process is performed after the smoothing process is executed is shown.
[0102]
The
[0103]
The
[0104]
The smoothing
[0105]
The
[0106]
FIG. 63 is a flowchart showing an outline of the operation in the fourth embodiment of the image processing apparatus of the present invention. In FIG. 63, i and j are indices indicating pixel positions in the sub-scanning and main-scanning directions when the top pixel of the top line is the origin, and P and L are pixels in the main-scanning and sub-scanning directions of the input image data. Is a number. P1 is first image data, P2 is second image data, P3 is third image data, P4 and P4 ′ are composite image data, P5 is smoothed image data, and subscripts i and j are respectively This indicates that the pixel is the j + 1th pixel in the main scanning direction and the i + 1th sub-scanning direction of the image. Here, data other than P3 is multi-value data, and P3 is binary data. Each function min represents taking a minimum value. The notation of the logical expression is the same as that in the first embodiment. Since data other than P3 is not logical data, it is determined here whether or not to be selected by a logical product with P3, and one of the two terms becomes the value on the left side by the logical sum.
[0107]
The first to third image data are temporarily stored in the
[0108]
In S131, subscripts i and j indicating the pixel position are both reset to 0, and the pixel to be processed is set as the first pixel of the first line of the image. In S132, the
[0109]
On the other hand, the
[0110]
In S137, it is determined whether or not the position of the pixel to be processed has reached the end of the line. If it is in the middle of the line, the value of the subscript j is increased by 1 in S138, and the position of the pixel to be processed is determined. Move to the next. Then, the process returns to S132 and a process for a new pixel is performed. If the position of the pixel to be processed in S137 has reached the end of the line, it is determined in S139 whether or not the last line has been processed. If an unprocessed line remains, S140 is determined. The value of the subscript i is incremented by 1 to set the next line to be processed, and the value of the subscript j is set to 0 to set the pixel at the beginning of the line to be processed. Then, the process returns to S132 and a process for a new pixel is performed. In this way, the process is repeated by repeatedly performing the process from the pixel serving as the origin to the pixel at the end of the last line.
[0111]
Note that this flowchart shows a processing algorithm for one color component, as in the first embodiment. When the input image data has a plurality of color components, this algorithm may be applied for each color component.
[0112]
Hereinafter, the operation will be described using specific examples of image data. FIG. 64 is an explanatory diagram of a specific example of image data input in the fourth embodiment of the image processing apparatus of the present invention, and FIGS. 65 to 72 are explanatory diagrams of specific examples of image data in the same process. is there. In each figure, a rectangle represents a pixel, and each pixel value or each value is as shown on the right side of each figure, and is distinguished by hatching or a symbol in the rectangle. In addition, the pixel value takes a value in the range of 0 to 255.
[0113]
64A is input to the input terminal a, the image data illustrated in FIG. 64B is input to the input terminal b, and the image data illustrated in FIG. 64C is input to the input terminal c. And Note that the image data shown in FIG. 64 is the same as the image data shown in FIG.
[0114]
When each image data is input to the
[0115]
The composite image data output from the selector 61 is input to the
[0116]
The binarized image data binarized by the
[0117]
On the other hand, in the
[0118]
For example, in the fourth pixel in the main scanning direction and the ninth pixel in the sub-scanning direction, the pixel P4 of the composite image data output from the
[0119]
Based on the output image data and control data shown in FIGS. 69 and 70, an image is obtained by a laser beam printer using an electrophotographic method having a pulse width modulation function and an intensity modulation function as in the first embodiment. To form. Then, each pixel is irradiated with a laser beam as shown in FIG. 71, and an image is printed out as shown in FIG.
[0120]
The fourth embodiment of the image processing apparatus of the present invention has been described above. However, the present invention is not limited to the above-described embodiment, and any mode may be used as long as it does not depart from the spirit of the present invention. For example, in the above-described example, the
[0121]
In the fourth embodiment, the first to third image data are temporarily combined, binarized, and then pattern matching is performed to detect a smoothing pattern. The pattern detection result The pixel value of the composite image data is changed and control data is generated according to the color information. However, color conversion may be performed based on the color information of the peripheral pixels of the target pixel. In addition, various modifications similar to those of the above-described embodiments are possible.
[0122]
FIG. 73 is a block diagram showing a fifth embodiment of the image processing apparatus of the present invention. The reference numerals in the figure are the same as those in FIGS. 59 and 32. In the fifth embodiment, as in the fourth embodiment described above, the smoothing process is executed based on the third image data, and then the synthesis process is performed. Further, as in the second embodiment described above, process control data is input to the input terminal d. The
[0123]
The
[0124]
The
[0125]
FIG. 75 is a flowchart showing an outline of the operation in the fifth embodiment of the image processing apparatus of the present invention. Note that the notation in FIG. 75 is the same as that in FIGS. 63 and 34. In FIG. 75, P1 is first image data, P2 is second image data, P3 is third image data, P4 is processing control data, P5 ′ and P6 are composite image data, and P5 is smoothed image data. It is. Here, data other than P3 and P4 is multi-value data, and P3 and P4 are binary data.
[0126]
The first to third image data are temporarily stored in the
[0127]
In the
[0128]
On the other hand, the
[0129]
The processing of S147 to S150 is the same as the processing of S137 to S140 in FIG. 63, and processing is performed for all the pixels while sequentially changing the pixels to be processed. Note that this flowchart shows a processing algorithm for one color component, as in the above-described embodiments. When the input image data has a plurality of color components, this algorithm may be applied for each color component.
[0130]
Hereinafter, the operation will be described using specific examples of image data. 76 and 77 are explanatory diagrams of specific examples of image data input in the fifth embodiment of the image processing apparatus of the present invention, and FIGS. 78 to 85 are specific examples of image data in the same process. It is explanatory drawing. In each figure, a rectangle represents a pixel, and each pixel value or each value is as shown on the right side of each figure, and is distinguished by hatching or a symbol in the rectangle. In addition, the pixel value takes a value in the range of 0 to 255.
[0131]
The image data shown in FIG. 76A at the input terminal a, the image data shown in FIG. 76B at the input terminal b, the image data shown in FIG. 77A at the input terminal c, and the image data shown in FIG. It is assumed that the process control data shown in 77 (B) is input. Note that the image data shown in FIGS. 76 and 77 is the same as the image data shown in FIGS. 35 and 36 described above.
[0132]
When the image data is input to the
[0133]
The composite image data output from the selector 61 is input to the
[0134]
The binarized image data binarized by the
[0135]
On the other hand, in the
[0136]
In this way, the image data output from the
[0137]
Based on the output image data and control data shown in FIGS. 82 and 83, an image is obtained by a laser beam printer using an electrophotographic method having a pulse width modulation function and an intensity modulation function as in the first embodiment. To form. Then, each pixel is irradiated with a laser beam as shown in FIG. 84, and an image is printed out as shown in FIG.
[0138]
The fifth embodiment of the image processing apparatus of the present invention has been described above. However, the present invention is not limited to the above-described embodiment, and any mode may be used as long as it does not depart from the spirit of the present invention. For example, the modifications described in the above embodiments can be made. Note that the processing control data may be reversed in logic as in the second embodiment described above, or may take any value other than “0” and “1” together with information specifying other processing contents.
[0139]
In the fourth and fifth embodiments described above, the first and second image data may have a lower resolution than the third image data, but at the time of input to the
[0140]
FIG. 86 is a block diagram showing the sixth embodiment of the image processing apparatus of the present invention. The reference numerals in the figure are the same as those in FIG. In the fourth embodiment described above, at the time of the smoothing process, the composite image data is once created from the input first to third image data, and the composite image data is binarized and then the smoothing process is performed. The configuration to apply is shown. In the fourth embodiment, this improves the quality of the smoothing process. In the sixth embodiment, an example is shown in which smoothing processing is performed only on the third image data expressing the shape of characters, line drawings, and the like, and then synthesis processing is performed.
[0141]
The smoothing
[0142]
The
[0143]
FIG. 88 is a flowchart showing an outline of the operation in the sixth embodiment of the image processing apparatus of the present invention. Note that the notation in FIG. 88 is the same as that in each of the flowcharts described above. In FIG. 88, P4 indicates smoothed image data.
[0144]
The first to third image data are temporarily stored in the
[0145]
In the
[0146]
S156 to S159 are the same as S107 to S110 in FIG. 2, for example, and all pixels are processed while changing the pixels to be processed sequentially. This flowchart shows a processing algorithm for one color component, as in the first embodiment described above. When the input image data has a plurality of color components, this algorithm may be applied for each color component.
[0147]
Hereinafter, the operation will be described using specific examples of image data. FIGS. 89 to 94 are explanatory diagrams of specific examples of image data in the process of the sixth embodiment of the image processing apparatus of the present invention. In each figure, a rectangle represents a pixel, and each pixel value or each value is as shown on the right side of each figure, and is distinguished by hatching or a symbol in the rectangle. In addition, the pixel value takes a value in the range of 0 to 255. As input image data, the first to third image data shown in FIGS. 64A to 64C are input to the input terminal a to the input terminal c, respectively.
[0148]
When each image data is input to the
[0149]
The
[0150]
Based on the output image data and control data shown in FIGS. 91 and 92, an image is obtained by a laser beam printer using an electrophotographic method having a pulse width modulation function and an intensity modulation function, as in the first embodiment. To form. Then, each pixel is irradiated with a laser beam as shown in FIG. 93, and an image is printed out as shown in FIG.
[0151]
The sixth embodiment of the image processing apparatus of the present invention has been described above. However, the present invention is not limited to the above-described embodiment, and any mode may be used as long as it does not depart from the spirit of the present invention. For example, the modifications described in the above embodiments can be made. In the smoothing process in the smoothing
[0152]
In the sixth embodiment, the first and second image data may have a lower resolution than the third image data, as in the fourth and fifth embodiments described above. . In the case where processing control data can be input as in the second and fifth embodiments, the processing control data may also have a lower resolution than the third image data.
[0153]
In the first to sixth embodiments described above, a laser beam printer using an electrophotographic method having a pulse width modulation function and an intensity modulation function is used as a specific example of the output device, but the output device is arbitrary. It can be modified according to the output destination without departing from the spirit of the present invention. For example, even when outputting to a laser beam printer using an electrophotographic method, if the printer has only a pulse width modulation function, a portion that performs smoothing processing using intensity modulation May be smoothed using pulse width modulation. In addition, when outputting to a laser beam printer using an electrophotographic system, the printer operates a counter based on a clock having a frequency that is a natural number multiple of the input reference clock frequency of image data instead of the pulse width modulation function. In the case of having a so-called DSG (Digital Screen Generate) function for printing a pixel in accordance with the result of comparing the count value of the counter with the pixel value, the reference wave is selected in each of the above-described embodiments. Control data to be controlled may be replaced with control data for controlling the operation of the counter.
[0154]
Further, the present invention can be applied not only to a laser beam printer using an electrophotographic method but also to a printer using another printing method such as an ink jet printer or a thermal transfer printer. Further, the present invention can be applied to the case of outputting to an image display device such as a CRT or a liquid crystal display instead of a printer.
[0155]
【The invention's effect】
As is apparent from the above description, according to the present invention, the first image data including information of text or line drawing data, and the second image including information other than the information represented by the first image data. The data and the third image data for selecting the pixel of the first image data or the pixel of the second image data for each pixel are input, and the smoothing process is executed based on the third image data. As a result, the image quality of characters and line drawing parts is improved by smoothing compared to the case of simply outputting composite image data. Further, when the smoothing process is simply performed, white spots may occur at the edges of characters and line drawings. According to the present invention, white spots, for example, are conspicuous based on the third image data. If it is an image, the pattern part can be selected, and if the image has conspicuous edges such as characters, the smoothing result can be selected, and a higher quality image can be formed compared to the case where the smoothing process is simply performed. Can do. Further, even if there is no third image data, the first image data and the second image data are synthesized according to a predetermined procedure, and the pixel of the synthesized image data and an image obtained by performing a smoothing process on the synthesized data Even if data pixels are selected and output according to the change point information, white spots are reduced at the edges of characters and line drawing parts that are generated when the smoothing process is simply performed. The image quality of the line drawing portion can be improved.
[0156]
Furthermore, by executing the smoothing process using the process control data together with the third image data, there is an effect that an image that can be recorded or displayed with higher image quality can be generated.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a first embodiment of an image processing apparatus of the present invention.
FIG. 2 is a flowchart showing an outline of operation in the first embodiment of the image processing apparatus of the present invention;
FIG. 3 is an explanatory diagram of an example of input image data.
FIG. 4 is a block configuration diagram showing an example of a binarization unit in the first embodiment of the image processing apparatus of the present invention.
FIG. 5 is a block configuration diagram showing an example of a smoothing processing unit in the first embodiment of the image processing apparatus of the present invention;
FIG. 6 is an explanatory diagram of 5 × 5 block data.
FIG. 7 is an explanatory diagram of an example of a pattern to be compared with 5 × 5 block data by a pattern detection unit.
FIG. 8 is a configuration diagram illustrating an example of a pattern detection unit.
FIG. 9 is an explanatory diagram of an example of the contents of a memory.
FIG. 10 is a block configuration diagram showing an example of a change point detection unit in the first embodiment of the image processing apparatus of the present invention.
FIG. 11 is a block configuration diagram illustrating an example of a first edge detection unit.
FIG. 12 is an explanatory diagram of an example of a filter for detecting an edge in a specific direction.
FIG. 13 is an explanatory diagram of edge information generated in an edge information creation unit.
FIG. 14 is an explanatory diagram illustrating an example of a selection operation of the
FIG. 15 is a block diagram illustrating a configuration example for realizing a pulse width modulation function in a laser beam printer.
FIG. 16 is an explanatory diagram of an example of pulse width modulation operation in the laser beam printer.
FIG. 17 is an explanatory diagram of another example of the operation of pulse width modulation in the laser beam printer.
FIG. 18 is an explanatory diagram of still another example of the operation of pulse width modulation in the laser beam printer.
FIG. 19 is an explanatory diagram of still another example of the operation of pulse width modulation in the laser beam printer.
FIG. 20 is a block diagram illustrating a configuration example for realizing an intensity modulation function in a laser beam printer.
FIG. 21 is an explanatory diagram of an example of an intensity modulation operation in the laser beam printer.
FIG. 22 is an explanatory diagram of a specific example of image data input in the first embodiment of the image processing apparatus of the present invention;
FIG. 23 is an explanatory diagram of a specific example of composite image data according to the first embodiment of the image processing apparatus of the invention.
FIG. 24 is an explanatory diagram of a specific example of binarized image data according to the first embodiment of the image processing apparatus of the invention.
FIG. 25 is an explanatory diagram of a specific example of smoothed image data according to the first embodiment of the image processing device of the invention.
FIG. 26 is an explanatory diagram of a specific example of control data output from the smoothing processing unit in the first embodiment of the image processing device of the invention;
FIG. 27 is an explanatory diagram of a specific example of change point information according to the first embodiment of the image processing apparatus of the invention;
FIG. 28 is an explanatory diagram of a specific example of output image data according to the first embodiment of the image processing apparatus of the invention.
FIG. 29 is an explanatory diagram of a specific example of control data output in the first embodiment of the image processing apparatus of the invention.
30 is an explanatory diagram of a specific example of a laser irradiation image when an image is formed by a laser beam printer based on output image data and control data output in the first embodiment of the image processing apparatus of the present invention. FIG. is there.
FIG. 31 is an explanatory diagram of a specific example of an image formed by a laser beam printer based on output image data and control data output in the first embodiment of the image processing apparatus of the invention.
FIG. 32 is a block diagram showing a second embodiment of the image processing apparatus of the present invention.
FIG. 33 is an explanatory diagram showing an example of the selection operation of the
FIG. 34 is a flowchart showing an example of the operation of the image processing apparatus according to the second embodiment of the present invention.
FIG. 35 is an explanatory diagram of a specific example of image data (first image data and second image data) input in the second embodiment of the image processing apparatus of the present invention;
FIG. 36 is an explanatory diagram of a specific example of image data (third image data, process control data) input in the second embodiment of the image processing apparatus of the present invention;
FIG. 37 is an explanatory diagram of a specific example of composite image data according to the second embodiment of the image processing apparatus of the invention.
FIG. 38 is an explanatory diagram of a specific example of binarized image data in the second embodiment of the image processing apparatus of the present invention;
FIG. 39 is an explanatory diagram of a specific example of smoothed image data according to the second embodiment of the image processing device of the invention.
FIG. 40 is an explanatory diagram of a specific example of control data output by the smoothing process in the second embodiment of the image processing apparatus of the present invention;
FIG. 41 is an explanatory diagram of a specific example of changing point information according to the second embodiment of the image processing device of the invention;
FIG. 42 is an explanatory diagram of a specific example of output image data according to the second embodiment of the image processing device of the invention.
FIG. 43 is an explanatory diagram of a specific example of control data output in the second embodiment of the image processing apparatus of the present invention;
FIG. 44 is an explanatory diagram of a specific example of a laser irradiation image when an image is formed by a laser beam printer based on output image data and control data output in the second embodiment of the image processing apparatus of the present invention. is there.
FIG. 45 is an explanatory diagram of a specific example of an image formed by a laser beam printer based on output image data and control data output in the second embodiment of the image processing apparatus of the invention.
FIG. 46 is a block diagram showing a third embodiment of the image processing apparatus of the present invention.
FIG. 47 is an explanatory diagram showing an example of a selection operation of the
FIG. 48 is a flowchart showing an example of an operation in the third embodiment of the image processing apparatus of the present invention;
FIG. 49 is an explanatory diagram of a specific example of image data input in the third embodiment of the image processing apparatus of the present invention;
FIG. 50 is an explanatory diagram of a specific example of composite image data in the third embodiment of the image processing device of the invention.
FIG. 51 is an explanatory diagram of a specific example of binarized image data according to the third embodiment of the image processing device of the invention.
FIG. 52 is an explanatory diagram of a specific example of smoothed image data according to the third embodiment of the image processing device of the invention.
FIG. 53 is an explanatory diagram of a specific example of control data output by the smoothing process according to the third embodiment of the image processing apparatus of the invention.
FIG. 54 is an explanatory diagram of a specific example of changing point information according to the third embodiment of the image processing device of the invention;
FIG. 55 is an explanatory diagram of a specific example of output image data in the third embodiment of the image processing apparatus of the invention.
FIG. 56 is an explanatory diagram of a specific example of control data output in the third embodiment of the image processing apparatus of the present invention;
FIG. 57 is an explanatory diagram of a specific example of a laser irradiation image when an image is formed by a laser beam printer based on output image data and control data output in the third embodiment of the image processing apparatus of the present invention. is there.
FIG. 58 is an explanatory diagram of a specific example of an image formed by a laser beam printer based on output image data and control data output in the third embodiment of the image processing apparatus of the present invention.
FIG. 59 is a block diagram showing a fourth embodiment of the image processing apparatus of the present invention.
FIG. 60 is a block configuration diagram showing an example of a binarization unit in the fourth embodiment of the image processing apparatus of the present invention.
FIG. 61 is a block configuration diagram showing an example of a selector unit in the fourth embodiment of the image processing apparatus of the present invention;
FIG. 62 is an explanatory diagram showing an example of the selection operation of the selector unit in the fourth embodiment of the image processing apparatus of the present invention;
FIG. 63 is a flowchart showing an outline of operations in the fourth embodiment of the image processing apparatus of the present invention;
FIG. 64 is an explanatory diagram of a specific example of image data input in the fourth embodiment of the image processing apparatus of the present invention;
FIG. 65 is an explanatory diagram of a specific example of composite image data in the fourth embodiment of the image processing device of the invention;
FIG. 66 is an explanatory diagram of a specific example of binarized image data according to the fourth embodiment of the image processing device of the invention.
FIG. 67 is an explanatory diagram of a specific example of smoothed image data according to the fourth embodiment of the image processing device of the invention;
FIG. 68 is an explanatory diagram of a specific example of control data output from the smoothing processing unit according to the fourth embodiment of the image processing apparatus of the present invention;
FIG. 69 is an explanatory diagram of a specific example of output image data in the fourth embodiment of the image processing apparatus of the present invention;
FIG. 70 is an explanatory diagram of a specific example of control data output in the fourth embodiment of the image processing apparatus of the present invention;
FIG. 71 is an explanatory diagram of a specific example of a laser irradiation image when an image is formed by a laser beam printer based on output image data and control data output in the fourth embodiment of the image processing apparatus of the present invention. is there.
FIG. 72 is an explanatory diagram of a specific example of an image formed by a laser beam printer based on output image data and control data output in the fourth embodiment of the image processing apparatus of the invention.
FIG. 73 is a block diagram showing a fifth embodiment of an image processing apparatus of the present invention.
FIG. 74 is an explanatory diagram showing an example of a selection operation of the
FIG. 75 is a flowchart showing an outline of operations in the fifth embodiment of the image processing apparatus of the present invention;
FIG. 76 is an explanatory diagram of a specific example of image data (first image data and second image data) input in the fifth embodiment of the image processing apparatus of the present invention;
77 is an explanatory diagram of a specific example of image data (third image data, processing control data) input in the fifth embodiment of the image processing device of the invention; FIG.
FIG. 78 is an explanatory diagram of a specific example of composite image data according to the fifth embodiment of the image processing device of the invention;
FIG. 79 is an explanatory diagram of a specific example of binarized image data according to the fifth embodiment of the image processing device of the invention;
FIG. 80 is an explanatory diagram of a specific example of smoothed image data according to the fifth embodiment of the image processing device of the invention;
FIG. 81 is an explanatory diagram of a specific example of control data output from the smoothing processing unit in the fifth embodiment of the image processing apparatus of the present invention;
FIG. 82 is an explanatory diagram of a specific example of output image data in the fifth embodiment of the image processing device of the invention;
FIG. 83 is an explanatory diagram of a specific example of control data output in the fifth embodiment of the image processing device of the invention;
FIG. 84 is an explanatory diagram of a specific example of a laser irradiation image when an image is formed by a laser beam printer based on output image data and control data output in the fifth embodiment of the image processing apparatus of the invention. is there.
FIG. 85 is an explanatory diagram of a specific example of an image formed by a laser beam printer based on output image data and control data output in the fifth embodiment of the image processing apparatus of the invention.
FIG. 86 is a block diagram showing a sixth embodiment of the image processing apparatus of the present invention.
FIG. 87 is an explanatory diagram showing an example of the selection operation of the selector unit in the sixth embodiment of the image processing apparatus of the present invention;
FIG. 88 is a flowchart showing an outline of operation in the sixth embodiment of the image processing apparatus of the present invention;
FIG. 89 is an explanatory diagram of a specific example of smoothed image data according to the sixth embodiment of the image processing device of the invention.
FIG. 90 is an explanatory diagram of a specific example of control data output from the smoothing processing unit according to the sixth embodiment of the image processing apparatus of the present invention;
FIG. 91 is an explanatory diagram of a specific example of output image data according to the sixth embodiment of the image processing device of the invention;
FIG. 92 is an explanatory diagram of a specific example of control data output in the sixth embodiment of the image processing apparatus of the present invention;
FIG. 93 is an explanatory diagram of a specific example of a laser irradiation image when an image is formed by a laser beam printer based on output image data and control data output in the sixth embodiment of the image processing apparatus of the invention. is there.
FIG. 94 is an explanatory diagram of a specific example of an image formed by a laser beam printer based on output image data and control data output in the sixth embodiment of the image processing apparatus of the invention.
FIG. 95 is an explanatory diagram of an example of a smoothing process.
[Explanation of symbols]
DESCRIPTION OF
Claims (15)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP16223798A JP3775458B2 (en) | 1997-06-25 | 1998-06-10 | Image processing apparatus and image smoothing method |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9-169221 | 1997-06-25 | ||
| JP16922197 | 1997-06-25 | ||
| JP16223798A JP3775458B2 (en) | 1997-06-25 | 1998-06-10 | Image processing apparatus and image smoothing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH1175068A JPH1175068A (en) | 1999-03-16 |
| JP3775458B2 true JP3775458B2 (en) | 2006-05-17 |
Family
ID=26488108
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP16223798A Expired - Fee Related JP3775458B2 (en) | 1997-06-25 | 1998-06-10 | Image processing apparatus and image smoothing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3775458B2 (en) |
-
1998
- 1998-06-10 JP JP16223798A patent/JP3775458B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH1175068A (en) | 1999-03-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR0156956B1 (en) | Method and device for forming image | |
| US6266153B1 (en) | Image forming device having a reduced toner consumption mode | |
| US6781720B1 (en) | Gradient-based trapping using patterned trap zones | |
| JP2009100228A (en) | Image processing apparatus and control method thereof | |
| US6204934B1 (en) | Image processing device and image processing method | |
| JP2008252700A (en) | Image processing apparatus and image processing method | |
| US6069636A (en) | Embedding information into images by varying pixel parameters | |
| JPH1141465A (en) | Multilevel halftoning method | |
| US6437872B1 (en) | Multibit screening of print documents in a PDL environment | |
| JP3603766B2 (en) | Electrophotographic image processing apparatus and electrophotographic apparatus using the same | |
| EP0949801A2 (en) | Image process apparatus, image process method and storage medium | |
| JP5715386B2 (en) | Image processing apparatus, control method therefor, program, and storage medium | |
| JP4501791B2 (en) | Image processing method and image processing program | |
| JP3736593B2 (en) | Image processing apparatus and image smoothing method | |
| US6643030B1 (en) | Quantization method for color document reproduction in a color printing system | |
| JP3775458B2 (en) | Image processing apparatus and image smoothing method | |
| JP2004135317A (en) | Color image processing apparatus and color image processing method | |
| US6466335B1 (en) | Image forming apparatus | |
| JP3812131B2 (en) | Image processing apparatus and image processing method | |
| JP2004148820A (en) | Multi-tone method for digital image having at least one group of similar color channels | |
| JP3796985B2 (en) | Image processing apparatus, image processing method, and storage medium | |
| JP2005252911A (en) | Image processing method and image processor | |
| US6356360B1 (en) | Apparatus and method for rendering halftone dot structures using grey level dots | |
| JP4169054B2 (en) | Image processing apparatus, image processing method, and program | |
| JP4539979B2 (en) | Image processing apparatus and image processing method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20050527 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20050615 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20050812 |
|
| 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: 20060201 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20060214 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100303 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110303 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120303 Year of fee payment: 6 |
|
| LAPS | Cancellation because of no payment of annual fees |