JP4195947B2 - Image forming apparatus - Google Patents
Image forming apparatus Download PDFInfo
- Publication number
- JP4195947B2 JP4195947B2 JP18717596A JP18717596A JP4195947B2 JP 4195947 B2 JP4195947 B2 JP 4195947B2 JP 18717596 A JP18717596 A JP 18717596A JP 18717596 A JP18717596 A JP 18717596A JP 4195947 B2 JP4195947 B2 JP 4195947B2
- Authority
- JP
- Japan
- Prior art keywords
- processing
- edge
- sample window
- resolution
- scanning direction
- 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
Description
【0001】
【発明の属する技術分野】
本発明は、行方向および列方向の直交マトリクスを構成する画像データを水平および垂直走査により形成するレーザプリンタ等の画像形成装置に関する。
【0002】
【従来の技術】
近年、プリンタの印字可能な解像度が高くなってきたが、データを転送する際のメモリの容量と転送時間を節約するため、転送されたデータの解像度以上に滑らかな外形(従って解像度自体も高められた外形)が得られることが要望される。そのため、多様なスムージング技術が考案されている。従来のスムージング技術としては例えば特開平4−323959号公報に記載されているものがある。これは、エッジ検出手段によりエッジを検出するとともに、このエッジに重み付け手段で重み付けを行い、論理演算手段で重み付けに従って論理演算を施し、補整制御手段で演算結果に応じてドットの大きさを選び、信号発生手段で補整制御手段により選ばれたドットの大きさに応じて画像ドットデータに補整を行う技術である。この補整技術は、解像度向上処理を加える前のデータの解像度とプリンタの解像度が副走査方向において一致しているときに使われるものであり、ドットの大きさ、すなわち印字濃度を変化させることによりスムージング処理を行うものである。
【0003】
図9は一般的な画像形成装置を示すブロック図である。図9において、サンプルウインドウ設定手段1は解像度向上処理前の画像の被処理対象画素を中心に据えてサンプルウインドウを設定し、エッジ検出手段2はサンプルウインドウ内においてエッジを検出し、論理演算手段3はサンプルウインドウ内において所定の箇所に定められた論理演算を施して検出されたエッジが重みを乗算するエッジか否かを判定し、重み付け演算手段4は論理演算手段3において重みを乗算するエッジと判定されたエッジに対してサンプルウインドウ内に分布する重みを乗算してサンプルウインドウ内について後述の重み付けデータ値の総和を算出する。処理制御手段5は上記総和が或るしきい値を越えた場合に被処理エッジフラグを立て、後述する処理を施す。エッジ検出手段2から重み付け演算手段4までは、一つの被処理対象画素に対して主走査方向および副走査方向すなわち左右上下それぞれのエッジについて同様の処理を施す。
【0004】
以上のように構成された従来の画像形成装置について、その処理動作を図10〜図18を用いて説明する。図10(a)はサンプルウインドウを示すサンプルウインドウ図、図10(b)はサンプルウインドウの動きを示すサンプルウインドウ動き図であり、図10(a)は解像度向上処理前の画像8の被処理対象画素6を中心に据えてサンプルウインドウ7を設定した場合を示し、8aは解像度向上処理前の最小単位画素であり、図10(b)は解像度向上処理前の画像8の被処理対象画素6を中心に据えてとられたサンプルウインドウ7の動き9を示す。図11(a)、(b)は左エッジを例としたエッジ検出方法を説明するためのエッジ検出方法説明図であり、図11(a)はサンプルウインドウ10aの被処理対象画素10を示し、10bは解像度向上処理前の最小単位画素で、図11(b)はエッジデータの分布11を示す。図12(a)、(b)は論理演算における各種エッジを示すエッジ図であり、図12は被処理対象画素対象エッジ12(白丸)、論理演算使用エッジ13(白四角)、論理演算対象エッジ14(黒四角)、論理演算エッジ状態15、16を示す。図13は重み付け分布を示す重み付け分布図であり、被処理対象画素対象エッジ12に対する重み付け分布17を示す。図14(a)〜(e)は不具合を説明するためのパターンを示すパターン図である。図15(a)は主走査方向エッジ用座標表示を示す座標表示図、図15(b)は副走査方向エッジ用座標表示を示す座標表示図であり、図15(a)は主走査方向エッジ用座標表示における被処理対象画素10を示し、図15(b)は副走査方向エッジ用座標表示における被処理対象画素10を示し、18a、19aは解像度向上処理前の最小単位画素である。図16(a)、(b)は処理制御手段5を用いて得られた主走査方向の変換テーブルを示す変換テーブル図であり、図16(a)は主走査方向の変換テーブル20を示し、図16(b)は主走査方向の変換テーブル21を示す。図16(a)と(b)とはデータBがオール「0」かオール「1」かの点で相違する。図17は処理制御手段5を用いて得られた副走査方向の変換テーブルを示す変換テーブル図であり、図17は副走査方向の変換テーブル22を示す。図18(a)、(b)は従来のスムージング処理を施した結果としての主走査方向動作図、図18(c)〜(e)は従来のスムージング処理を施した結果としての副走査方向動作図であり、図18(e)は副走査方向の動作後のイメージ23を示す。
【0005】
まず、サンプルウインドウ設定手段1の動作について図10を用いて説明する。図10(a)に示すように、被処理対象画素6を中心に据えて、サンプルウインドウを設定する。解像度向上処理前の画像8のすべての画素が被処理対象画素6となるようにする。そのためのサンプルウインドウ7の動き9を図10(b)に示す。なお、1行目の処理が終わったら、次は2行目、3行目というようにサンプルウインドウ7を動かしていく。ただし、以降の説明においては、固定状態のサンプルウインドウ7について説明する。
【0006】
次に、エッジ検出手段2の動作について図11を用いて説明する。図11(a)に示すように、被処理対象画素10の左側の画素が被処理対象画素10と色が違っている場合、その色の違い方と同じパターンがあるか否かをサンプルウインドウ内において検索する。図11(b)に示すようにフラグを立て、同じパターンが存在する部分のフラグを「1」、同じパターンが存在しない部分のフラグを「0」とする。同一の被処理対象画素10の右エッジ、上下エッジに対して同様の処理を行う。図11においては被処理対象画素10が黒、その左の画素が白の場合を示したが、被処理対象画素10が白、その左の画素が黒の場合も図11(b)で示すエッジデータの分布11と全く同じである。
【0007】
次に、論理演算手段3の動作について図12を用いて説明する。白い円は被処理対象画素対象エッジ(ここでは左エッジ)12を示す。白い四角で示す論理演算使用エッジ13が存在しているときにのみ、論理演算使用エッジ13からの矢印で示す黒い四角の論理演算対象エッジ14は重み付け演算に使用できるエッジであるとみなされる。その位置関係は図12(a)、(b)で示した通りである。なお、この位置関係は被処理対象画素対象エッジ12を左右上下にとったとき、それぞれ対象になる。また、論理演算対象エッジ14以外のエッジデータの値は図11(b)に示すエッジデータの値と全く同じである。つまり、論理演算手段3は重み付け演算の補助的な役割を果たすに過ぎず、単純に重み付け演算処理を施すことによる不具合を避けるためである。
【0008】
この不具合の例を示すため、図14(a)〜(e)に不具合を説明するためのパターンの例を示す。本パターンにおいて、本アルゴリズムを用い、図14(a)、(b)に記した対象画素17aと対象画素18bが処理された結果を記すと図14(c)のようになる。すると、対象画素17aと対象画素18bとの間にすが入った形になり、不具合となる。その理由は次に記述されたようになる。その対象画素1の左エッジに対し、重み付け演算手段4を通した、すなわち図13中の重みと対応するエッジデータの値と掛け算をし、サンプルウィンドウ内での総和をとった結果が8になる。したがって、あらかじめ指定しておいたしきい値8以上であるため、エッジが補正されてしまうためである。
【0009】
そこで、論理演算手段3を用いて、論理演算対象エッジ14の位置に対応する重みをキャンセルするか否かの判断をする。その判断は、周囲のエッジ状態、すなわち論理演算使用エッジ13の分布により行う。本例では、図12(b)に記された論理演算手段が適用される。図14(d)に示したように、Lc3が存在しないため、La6に対応する重み、すなわち図14(d)中のは加算されないようになる。従って、対象画素1の左エッジに対し、重み付け演算手段4と論理演算手段3を用いてサンプルウィンドウ内での総和を取り直した結果、7になる。この結果はしきい値8を越えていないため、エッジが補正されず、従って図14(e)に示したように不具合をなくすことができる。
【0010】
次に、重み付け演算手段4の動作について図13を用いて説明する。重み付けの位置関係は重み付け分布17に示す通りで、論理演算手段3における論理演算適用後のエッジデータの値とその場所に対応する重みとの積(以下、「重み付けデータ値」という)をとり、サンプルウインドウ7内において重み付けデータ値の総和をとる。
【0011】
図15は1から4までで用いられるサンプルウインドウ内で用いられる座標表現の一例を示している。例えば、被処理対象画素対象エッジ12が左右のエッジである場合、主走査方向エッジ用座標表示18を用い、それぞれLb4、Rc4と表す。被処理対象画素対象エッジ12が上下のエッジである場合、副走査方向エッジ用座標表示19を用い、それぞれUB4、DC4と表す。なお、通常、論理演算と重み付け演算を適用した後の重み付けデータ値の総和は(数1)のLで表す(Lは左エッジを対象としたときを示す)。
【0012】
【数1】
【0013】
なお、1から4までで用いられるサンプルウインドウ内において、被処理対象画素対象エッジ12が左でなく右、上、下のときは、論理演算、重み付け演算の分布を被処理対象画素対象エッジ12に対して同じ位置になる。すなわち、論理演算、重み付け演算の分布をそれぞれ回転させたイメージになる。また、論理演算と重み付け演算を適用した後の重み付けデータ値の総和を左、右、上、下においてL((数1)参照)、R、U、Dと定義する。
【0014】
次に、処理制御手段5の動作について図16、図17を用いて説明する。図16に主走査方向の変換テーブル20、21を示し、図17に副走査方向の変換テーブル22を示す。なお、論理演算と重み付け演算を適用した後の重み付けデータ値の総和L、R、U、Dのしきい値を2段階設ける。そして、総和L、R、U、Dが低い方のしきい値を越えたときに通常処理フラグl、r、u、dを「1」とし、総和L、R、U、Dが高い方のしきい値を越えたときに強調処理フラグlk、rk、kを「1」とする。ただし、副走査方向の強調処理フラグkは総和U、Dのどちらかが高い方のしきい値を越えたときに「1」とするものとする。また、被処理対象画素が黒のとき処理フラグBを「1」とする。その上で、各方向の変換テーブル20、21、22に記載された処理をする。なお、各処理フラグが変換テーブル20〜22に記載されている組合わせ以外の組合わせをとる場合、すなわち、主走査方向の処理フラグと副走査方向の処理フラグが同時に「1」になった場合、各走査方向においてなされる処理の論理和をとった形になる。その際、黒い部分を「1」、白い部分を「0」とおいて考える。なお、図16の斜線で表した処理のイメージは、こういう処理フラグの組合わせ自体が存在しない場合を示している。
【0015】
図18に、以上のスムージング処理を施した結果を示す。図18(a)は主走査方向の処理動作を示すための原画像を示し、図18(b)は主走査方向の処理動作を示し、図18(c)は副走査方向の処理動作を示すための原画像を示し、図18(d)は副走査方向の実際の処理動作を示し、図18(e)は副走査方向の処理動作後のイメージ23を示す。図18で、特に副走査方向のスムージングについては、プリンタの解像度が処理前のデータの解像度と変わらないため、実印字時のドットの大きさすなわち印字濃度を変化させることによって、副走査方向の処理動作後のイメージ(以下、「処理動作イメージ」という)23を等価的に実現させていた。
【0016】
【発明が解決しようとする課題】
しかしながら、上記従来の画像形成装置では、上述したように、主走査方向においては、転送された処理前のデータの解像度よりもプリンタの印字可能な解像度の方が高いために、実際に印字された画像と処理動作イメージとは一致していたが、副走査方向においては、転送された元のデータの解像度とプリンタの印字可能な解像度とが同じであるため、処理をかけるドットの印字濃度を調整することにより実際の印字を行っており、実際の印字された画像と処理動作イメージとが異なるという問題点を有していた。
【0017】
この画像形成装置では、副走査方向において転送された処理前のデータの解像度よりもプリンタの印字可能な解像度の方が高い場合には解像度向上処理を行うことができることが要望されていた。
【0018】
本発明は、転送された処理前のデータの解像度よりもプリンタの印字可能な解像度の方が高い場合に解像度向上処理を行うことができる画像形成装置を提供することを目的とする。
【0019】
【課題を解決するための手段】
この課題を解決するために本発明による画像形成装置は、解像度向上処理前の画像の被処理対象画素を中心に据えてサンプルウインドウを設定するサンプルウインドウ設定手段と、前記サンプルウインドウ内においてエッジを検出するエッジ検出手段と、前記サンプルウインドウ内において所定の箇所に定められた論理演算を施して前記検出されたエッジが重みを乗算するエッジか否かを判定する論理演算手段と、前記論理演算手段において重みを乗算するエッジと判定されたエッジに対して前記サンプルウインドウ内に分布する重みを乗算して前記サンプルウインドウ内について重み付けデータ値の総和を算出する重み付け演算手段と、プリンタの印字可能な最小ドットの組み合わせから構成されているパターンを保持するテーブルと、副走査方向で前記解像度向上処理前の画像データの解像度をプリンタの印字可能な解像度が上回る場合に、前記重み付け演算手段で得られた前記重み付けデータ値の総和と周囲のエッジの状態とに応じて、前記テーブルが保持するパターンの中から、前記解像度向上処理前の画像データの1ドットの処理を選択することにより、前記選択された処理の内容を印字濃度と印字位置を変化させることなく出力する処理制御手段とを有するように構成したものである。
【0020】
これにより、転送された処理前のデータの解像度よりもプリンタの印字可能な解像度の方が高い場合に解像度向上処理を行うことができる画像形成装置が得られる。
【0021】
【発明の実施の形態】
本発明の請求項1に記載の発明は、解像度向上処理前の画像の被処理対象画素を中心に据えてサンプルウインドウを設定するサンプルウインドウ設定手段と、前記サンプルウインドウ内においてエッジを検出するエッジ検出手段と、前記サンプルウインドウ内において所定の箇所に定められた論理演算を施して前記検出されたエッジが重みを乗算するエッジか否かを判定する論理演算手段と、前記論理演算手段において重みを乗算するエッジと判定されたエッジに対して前記サンプルウインドウ内に分布する重みを乗算して前記サンプルウインドウ内について重み付けデータ値の総和を算出する重み付け演算手段と、プリンタの印字可能な最小ドットの組み合わせから構成されているパターンを保持するテーブルと、副走査方向で前記解像度向上処理前の画像データの解像度をプリンタの印字可能な解像度が上回る場合に、前記重み付け演算手段で得られた前記重み付けデータ値の総和と周囲のエッジの状態とに応じて、前記テーブルが保持するパターンの中から、前記解像度向上処理前の画像データの1ドットの処理を選択することにより、前記選択された処理の内容を印字濃度と印字位置を変化させることなく出力する処理制御手段とを有することとしたものであり、転送された処理前のデータの解像度よりもプリンタの印字可能な解像度の方が高い場合には解像度向上処理が施されるという作用を有する。
【0022】
以下、本発明の実施の形態について、図1〜図9を用いて説明する。
(実施の形態1)
本発明の実施の形態1による画像形成装置の構成は従来の画像形成装置と同様に図9に示す構成である。本実施の形態が従来の画像形成装置と異なる点は処理制御手段5における処理である。本実施の形態による処理制御手段5における処理では、主走査方向の処理を行った後、主走査方向の処理を施していない部分に関してのみ副走査方向の処理を施しているので、従来の処理制御手段におけるような論理和演算が不要となる。
【0023】
以上のように構成された画像形成装置について、論理演算手段4および処理制御手段5の動作を図1〜図8を用いて説明する。図1(a)、図1(b)、図2(a)、図2(b)、図3(a)、図3(b)、図3(c)、図4は左エッジにおける論理演算処理を示す処理図である。図1〜図4において斜線で示す部分は被処理対象画素30である。なお、図1〜図4において、白丸○はエッジが存在しないときに「1」とする部分であり、黒丸●はエッジが存在しているときに「1」とする部分、●→●は論理積演算、●←→●は論理和演算を示す。
【0024】
図1〜図4と(数2)との対応関係について記す。なお、図1〜図4は左エッジ判定を例にとった図であり、右エッジ、上エッジ、下エッジの判定についてはそれぞれ回転して使用できるような対称関係にある。
【0025】
【数2】
【0026】
(数2)で用いられているエッジデータの座標表現については、図15(a)における主走査方向エッジ用座標表示を表す座標表現に準拠し、左エッジであることを示すために一番左にLをつけることにする。例を挙げると、被処理対象画素30の左エッジのエッジ座標表現はLb4である。
【0027】
また、図1はa列のエッジにおける論理演算処理を示し、図2はb列のエッジにおける論理演算処理を示し、図3はc列のエッジにおける論理演算処理を示し、図4はd列のエッジにおける論理演算処理を示している。
【0028】
図1(a)は(数2)における第1項目すなわちA1の部分を示し、図1(b)は(数2)における第2項目と第3項目すなわちA2+A3の部分を示している。
【0029】
図2(a)は(数2)における第4項目すなわちA4の部分を示し、図2(b)は(数2)における第6項目すなわちA6の部分を示している。図3(a)は(数2)における第9項目すなわちA9の部分を示し、図3(b)は(数2)における第10項目すなわちA10の部分を示し、図3(c)は(数2)における第11項目すなわちA11の部分を示している。図4は(数2)における第12項目と第13項目すなわちA12+A13の部分を示している。
【0030】
図5は、被処理対象画素30の左エッジを例にとった重み付け分布を示す重み付け分布図である。この重み付け分布により重み付け演算を行う。すなわち、重み付け演算手段4は、サンプルウインドウ内において重み付けデータ値の総和をとる。
【0031】
被処理対象画素30の左エッジに対して論理演算と重み付け演算を適用した後の重み付けデータ値の総和を(数2)のLで表す(Lは左エッジを対象としたときを示す)。
【0032】
このように一度に重み付けデータ値の総和Lを算出することができる。
次に、処理制御手段5の動作について図6、図7を用いて説明する。図6は主走査方向の変換テーブル31を示す変換テーブル図、図7は副走査方向の変換テーブル32を示す変換テーブル図である。なお、上述したように、本実施の形態による処理制御手段5における処理では、主走査方向での処理を行った後、主走査方向の処理を施していない部分にのみ副走査方向での処理を施しているので、記載した変換テーブル以外の変換処理は存在しない。また、副走査方向の被処理対象画素対象エッジの箇所が判定され、かつ、被処理対象画素の主走査方向の左エッジ、右エッジのうちどちらかが存在した場合にのみ副走査方向の変換テーブル32で示す処理を行う。なお、変換テーブル32の中の1行目と2行目において、左、右のエッジが存在したときは「1」、存在しないときは「0」としている。
【0033】
図8に、以上のスムージング処理を施した結果を示す。図8(a)、(b)はスムージング処理を施した結果としての主走査方向動作図、図8(c)、(d)はスムージング処理を施した結果としての副走査方向動作図である。図8(a)は主走査方向の処理動作を示すための原画像を示し、図8(b)は主走査方向の処理動作を示し、図8(c)は副走査方向の処理動作を示すための原画像を示し、図8(d)は副走査方向の処理動作後の状態を示す。図8(c)、(d)に記載された副走査方向での処理は、ドットの濃度を調整することによって疑似的にスムージングを実現しているような従来例とは異なり、ドットの濃度は何ら調整されないので、実際の施される処理動作後の画像と処理動作イメージとは一致する。
【0034】
以上のように本実施の形態によれば、処理制御手段5は、副走査方向で解像度向上処理前の画像データの解像度をプリンタの印字可能な解像度が上回る場合に、重み付け演算手段4で得られた重み付けデータ値の総和と周囲のエッジの状態とに応じて、プリンタの印字可能な最小ドットの組み合わせから構成されている解像度向上処理前の画像データの最小ドットと同じ大きさの複数のパターンの中から、解像度向上処理前の画像データの1ドットの処理を選択することにより、選択された処理の内容を印字濃度と印字位置を変化させることなく出力するようにしたので、転送された処理前のデータの解像度よりもプリンタの印字可能な解像度の方が高い場合に解像度向上処理を行うことができる。
【0035】
【発明の効果】
以上のように本発明の画像形成装置によれば、処理制御手段においては選択された処理の内容を印字濃度と印字位置を変化させることなく出力するようにしたので、転送された処理前のデータの解像度よりもプリンタの印字可能な解像度の方が高い場合に解像度向上処理を行うことができるという有利な効果が得られる。
【図面の簡単な説明】
【図1】(a)左エッジにおける論理演算処理を示す処理図
(b)左エッジにおける論理演算処理を示す処理図
【図2】(a)左エッジにおける論理演算処理を示す処理図
(b)左エッジにおける論理演算処理を示す処理図
【図3】(a)左エッジにおける論理演算処理を示す処理図
(b)左エッジにおける論理演算処理を示す処理図
(c)左エッジにおける論理演算処理を示す処理図
【図4】左エッジにおける論理演算処理を示す処理図
【図5】被処理対象画素の左エッジを例にとった重み付け分布を示す重み付け分布図
【図6】主走査方向の変換テーブルを示す変換テーブル図
【図7】副走査方向の変換テーブルを示す変換テーブル図
【図8】(a)スムージング処理を施した結果としての主走査方向動作図
(b)スムージング処理を施した結果としての主走査方向動作図
(c)スムージング処理を施した結果としての副走査方向動作図
(d)スムージング処理を施した結果としての副走査方向動作図
【図9】一般的な画像形成装置を示すブロック図
【図10】(a)サンプルウインドウを示すサンプルウインドウ図
(b)サンプルウインドウの動きを示すサンプルウインドウ動き図
【図11】(a)左エッジを例としたエッジ検出方法を説明するためのエッジ検出方法説明図
(b)左エッジを例としたエッジ検出方法を説明するためのエッジ検出方法説明図
【図12】(a)論理演算における各種エッジを示すエッジ図
(b)論理演算における各種エッジを示すエッジ図
【図13】重み付け分布を示す重み付け分布図
【図14】(a)不具合を説明するためのパターンの例を示すパターン図
(b)不具合を説明するためのパターンの例を示すパターン図
(c)不具合を説明するためのパターンの例を示すパターン図
(d)不具合を説明するためのパターンの例を示すパターン図
(e)不具合を説明するためのパターンの例を示すパターン図
【図15】(a)主走査方向エッジ用座標表示を示す座標表示図
(b)副走査方向エッジ用座標表示を示す座標表示図
【図16】(a)処理制御手段を用いて得られた主走査方向の変換テーブルを示す変換テーブル図
(b)処理制御手段を用いて得られた主走査方向の変換テーブルを示す変換テーブル図
【図17】処理制御手段を用いて得られた副走査方向の変換テーブルを示す変換テーブル図
【図18】(a)従来のスムージング処理を施した結果としての主走査方向動作図
(b)従来のスムージング処理を施した結果としての主走査方向動作図
(c)従来のスムージング処理を施した結果としての副走査方向動作図
(d)従来のスムージング処理を施した結果としての副走査方向動作図
(e)従来のスムージング処理を施した結果としての副走査方向動作図
【符号の説明】
1 サンプルウインドウ設定手段
2 エッジ検出手段
3 論理演算手段
4 重み付け演算手段
5 処理制御手段
30 被処理対象画素
31 主走査方向の変換テーブル
32 副走査方向の変換テーブル[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image forming apparatus such as a laser printer that forms image data constituting an orthogonal matrix in a row direction and a column direction by horizontal and vertical scanning.
[0002]
[Prior art]
In recent years, the printable resolution of printers has increased, but in order to save memory capacity and transfer time when transferring data, the outer shape is smoother than the resolution of the transferred data (and therefore the resolution itself is also increased). It is demanded that an external shape) can be obtained. Therefore, various smoothing techniques have been devised. A conventional smoothing technique is disclosed in, for example, Japanese Patent Laid-Open No. 4-323959. This is to detect the edge by the edge detection means, weight the edge by the weighting means, perform the logical operation according to the weighting by the logical operation means, select the dot size according to the calculation result by the compensation control means, This is a technique for correcting image dot data according to the size of the dot selected by the correction control means in the signal generation means. This correction technique is used when the resolution of the data before the resolution enhancement processing and the resolution of the printer match in the sub-scanning direction. Smoothing is performed by changing the dot size, that is, the print density. The processing is performed.
[0003]
FIG. 9 is a block diagram showing a general image forming apparatus. In FIG. 9, a sample window setting means 1 sets a sample window centering on a pixel to be processed of an image before resolution enhancement processing, an edge detection means 2 detects an edge in the sample window, and a logical operation means 3 Determines whether an edge detected by performing a logical operation defined at a predetermined location in the sample window is an edge to be multiplied by the weight, and the weighting operation means 4 The determined edge is multiplied by the weight distributed in the sample window to calculate the sum of weighted data values to be described later in the sample window. The processing control means 5 sets an edge flag to be processed when the sum exceeds a certain threshold value, and performs processing described later. From the edge detection means 2 to the weighting calculation means 4, the same processing is performed on one edge to be processed for each edge in the main scanning direction and the sub-scanning direction, that is, left, right, up and down.
[0004]
The processing operation of the conventional image forming apparatus configured as described above will be described with reference to FIGS. FIG. 10A is a sample window diagram showing the sample window, FIG. 10B is a sample window motion diagram showing the movement of the sample window, and FIG. 10A is a processing target of the
[0005]
First, the operation of the sample window setting means 1 will be described with reference to FIG. As shown in FIG. 10A, a sample window is set with the
[0006]
Next, the operation of the edge detection means 2 will be described with reference to FIG. As shown in FIG. 11A, when the pixel on the left side of the
[0007]
Next, the operation of the logical operation means 3 will be described with reference to FIG. A white circle indicates a processing target pixel target edge (here, the left edge) 12. Only when the logical
[0008]
In order to show an example of this defect, examples of patterns for explaining the problem are shown in FIGS. FIG. 14C shows the result of processing the target pixel 17a and the target pixel 18b shown in FIGS. 14A and 14B using this algorithm in this pattern. As a result, a shape is formed between the target pixel 17a and the target pixel 18b, which causes a problem. The reason is as described next. The result obtained by multiplying the left edge of the
[0009]
Therefore, the logical operation means 3 is used to determine whether or not to cancel the weight corresponding to the position of the logical
[0010]
Next, the operation of the weight calculation means 4 will be described with reference to FIG. The weighting positional relationship is as shown in the
[0011]
FIG. 15 shows an example of the coordinate expression used in the sample window used from 1 to 4. For example, when the processing target
[0012]
[Expression 1]
[0013]
In the sample window used in 1 to 4, when the processing target
[0014]
Next, the operation of the processing control means 5 will be described with reference to FIGS. FIG. 16 shows conversion tables 20 and 21 in the main scanning direction, and FIG. 17 shows a conversion table 22 in the sub scanning direction. It should be noted that two threshold values are provided for the sum L, R, U, and D of the weighted data values after applying the logical operation and the weighting operation. Then, when the sum L, R, U, D exceeds the lower threshold, the normal processing flags l, r, u, d are set to “1”, and the sum L, R, U, D is higher. When the threshold value is exceeded, the emphasis processing flags lk, rk, k are set to “1”. However, the emphasis processing flag k in the sub-scanning direction is set to “1” when either the sum U or D exceeds the higher threshold value. Further, when the pixel to be processed is black, the processing flag B is set to “1”. Then, the processing described in the conversion tables 20, 21, and 22 for each direction is performed. When each processing flag takes a combination other than the combinations described in the conversion tables 20 to 22, that is, when the processing flag in the main scanning direction and the processing flag in the sub scanning direction are simultaneously “1”. The logical sum of the processing performed in each scanning direction is obtained. At that time, the black part is considered as “1” and the white part as “0”. Note that the image of processing represented by hatching in FIG. 16 shows a case where such a combination of processing flags does not exist.
[0015]
FIG. 18 shows the result of the above smoothing process. 18A shows an original image for showing the processing operation in the main scanning direction, FIG. 18B shows the processing operation in the main scanning direction, and FIG. 18C shows the processing operation in the sub scanning direction. 18D shows an actual processing operation in the sub-scanning direction, and FIG. 18E shows an
[0016]
[Problems to be solved by the invention]
However, as described above, in the conventional image forming apparatus, since the resolution that can be printed by the printer is higher than the resolution of the transferred data before processing in the main scanning direction, the image is actually printed. The image and the processing operation image matched, but in the sub-scanning direction, the resolution of the transferred original data and the printable resolution of the printer are the same, so the print density of the dots to be processed is adjusted As a result, actual printing is performed, and the actual printed image and the processing operation image are different.
[0017]
This image forming apparatus is required to be able to perform resolution improvement processing when the resolution that can be printed by the printer is higher than the resolution of data before processing transferred in the sub-scanning direction.
[0018]
An object of the present invention is to provide an image forming apparatus capable of performing resolution improvement processing when the resolution of a printer that can be printed is higher than the resolution of transferred data before processing.
[0019]
[Means for Solving the Problems]
In order to solve this problem, an image forming apparatus according to the present invention includes sample window setting means for setting a sample window centering on a pixel to be processed of an image before resolution enhancement processing, and detecting an edge in the sample window. An edge detecting means that performs a logical operation determined at a predetermined location in the sample window and determines whether or not the detected edge is an edge that is multiplied by a weight; and Weighting calculation means for calculating the sum of weighted data values in the sample window by multiplying the edge determined as the edge to be multiplied by the weight distributed in the sample window, and the minimum printable dot of the printer a table for holding a pattern of a combination of being configured, sub When in 査 direction the resolution of the resolution enhancement processing prior to image data printable resolution of the printer above, according to the state of total and around the edges of the weighting data value obtained by the weighting calculation means, Processing for outputting the contents of the selected processing without changing the print density and the printing position by selecting the processing of one dot of the image data before the resolution improvement processing from the patterns held in the table And a control means.
[0020]
As a result, an image forming apparatus capable of performing the resolution improvement process when the resolution that can be printed by the printer is higher than the resolution of the transferred data before the processing is obtained.
[0021]
DETAILED DESCRIPTION OF THE INVENTION
According to the first aspect of the present invention, sample window setting means for setting a sample window centering on a pixel to be processed of an image before resolution enhancement processing, and edge detection for detecting an edge in the sample window Means, logical operation means for determining whether or not the detected edge is an edge for multiplying a weight by performing a logical operation defined at a predetermined location in the sample window, and multiplying the weight in the logical operation means A combination of weighting calculation means for calculating a sum of weighted data values in the sample window by multiplying an edge determined to be an edge to be distributed in the sample window, and a minimum printable dot of the printer a table for holding a pattern that is configured, the resolution sub-scanning direction When exceeding the resolution of the image data before the above processing is printable resolution of the printer, according to the state of total and around the edges of the weighting data value obtained by the weighting calculation means, the table holds Processing control means for outputting the content of the selected process without changing the print density and the print position by selecting one dot process of the image data before the resolution improving process from the pattern. In the case where the resolution that can be printed by the printer is higher than the resolution of the transferred data before processing, the resolution improving process is performed.
[0022]
Hereinafter, embodiments of the present invention will be described with reference to FIGS.
(Embodiment 1)
The configuration of the image forming apparatus according to the first embodiment of the present invention is the configuration shown in FIG. 9 as in the conventional image forming apparatus. The difference between the present embodiment and the conventional image forming apparatus is the processing in the
[0023]
With respect to the image forming apparatus configured as described above, the operations of the logical operation means 4 and the processing control means 5 will be described with reference to FIGS. 1 (a), FIG. 1 (b), FIG. 2 (a), FIG. 2 (b), FIG. 3 (a), FIG. 3 (b), FIG. 3 (c), and FIG. It is a processing figure showing processing. In FIG. 1 to FIG. 4, the hatched portion is the
[0024]
The correspondence between FIGS. 1 to 4 and (Equation 2) will be described. 1 to 4 are diagrams using left edge determination as an example, and the determination of the right edge, the upper edge, and the lower edge is in a symmetrical relationship that can be rotated and used.
[0025]
[Expression 2]
[0026]
The coordinate expression of the edge data used in (Equation 2) is based on the coordinate expression representing the coordinate display for the main scanning direction edge in FIG. 15A, and is leftmost to indicate that it is the left edge. Let's add L to. For example, the edge coordinate representation of the left edge of the
[0027]
1 shows the logical operation processing at the edge of the column a, FIG. 2 shows the logical operation processing at the edge of the column b, FIG. 3 shows the logical operation processing at the edge of the column c, and FIG. Fig. 4 shows logical operation processing at an edge.
[0028]
FIG. 1 (a) shows the first item in (Equation 2), that is, the portion of A1, and FIG. 1 (b) shows the second item in (Equation 2) and the third item, that is, the portion of A2 + A3.
[0029]
2A shows the fourth item in (Equation 2), that is, the portion of A4, and FIG. 2B shows the sixth item in (Equation 2), that is, the portion of A6. 3 (a) shows the ninth item in (Equation 2), that is, the portion of A9, FIG. 3 (b) shows the tenth item in (Equation 2), that is, the portion of A10, and FIG. The eleventh item in 2), that is, the portion of A11 is shown. FIG. 4 shows the twelfth item and the thirteenth item, that is, the portion of A12 + A13 in (Equation 2).
[0030]
FIG. 5 is a weighting distribution diagram showing a weighting distribution taking the left edge of the
[0031]
The sum of weighted data values after applying logical operation and weighting operation to the left edge of the
[0032]
In this way, the sum L of the weighted data values can be calculated at a time.
Next, the operation of the processing control means 5 will be described with reference to FIGS. FIG. 6 is a conversion table showing the conversion table 31 in the main scanning direction, and FIG. 7 is a conversion table showing the conversion table 32 in the sub-scanning direction. As described above, in the processing in the
[0033]
FIG. 8 shows the result of the above smoothing process. 8A and 8B are operation diagrams in the main scanning direction as a result of performing the smoothing process, and FIGS. 8C and 8D are operation diagrams in the sub-scanning direction as a result of performing the smoothing process. FIG. 8A shows an original image for showing the processing operation in the main scanning direction, FIG. 8B shows the processing operation in the main scanning direction, and FIG. 8C shows the processing operation in the sub scanning direction. FIG. 8D shows a state after the processing operation in the sub-scanning direction. The processing in the sub-scanning direction described in FIGS. 8C and 8D differs from the conventional example in which the smoothing is realized in a pseudo manner by adjusting the dot density. Since no adjustment is made, the image after the actual processing operation and the processing operation image match.
[0034]
As described above, according to the present embodiment, the
[0035]
【The invention's effect】
As described above, according to the image forming apparatus of the present invention, the content of the selected process is output without changing the print density and the print position in the process control unit. An advantageous effect is obtained in that the resolution improvement processing can be performed when the resolution that can be printed by the printer is higher than the resolution.
[Brief description of the drawings]
1A is a processing diagram showing logical operation processing at the left edge; FIG. 1B is a processing diagram showing logical operation processing at the left edge; FIG. 2A is a processing diagram showing logical operation processing at the left edge; Processing diagram showing logical operation processing at left edge FIG. 3 (a) Processing diagram showing logical operation processing at left edge (b) Processing diagram showing logical operation processing at left edge (c) Logical operation processing at left edge FIG. 4 is a processing diagram showing logical operation processing at the left edge. FIG. 5 is a weighting distribution diagram showing weighting distribution taking the left edge of the pixel to be processed as an example. FIG. 6 is a conversion table in the main scanning direction. FIG. 7 is a conversion table diagram showing a conversion table in the sub-scanning direction. FIG. 8A is an operation diagram in the main scanning direction as a result of performing the smoothing process. FIG. (C) Sub-scanning direction operation diagram as a result of performing smoothing processing (d) Sub-scanning direction operation diagram as a result of performing smoothing processing [FIG. 9] General image formation [FIG. 10] (a) Sample window diagram showing sample window (b) Sample window motion diagram showing movement of sample window [FIG. 11] (a) Edge detection method taking left edge as example (B) Edge detection method explanatory diagram for explaining the edge detection method taking the left edge as an example. FIG. 12 (a) Edge diagram showing various edges in the logical operation. Edge diagram showing various edges in calculation. [FIG. 13] Weighting distribution diagram showing weighting distribution. [FIG. 14] (a) Example of pattern for explaining failure. (B) A pattern diagram showing an example of a pattern for explaining the defect (c) A pattern diagram showing an example of the pattern for explaining the defect (d) A pattern showing an example of the pattern for explaining the defect FIG. 15E is a pattern diagram showing an example of a pattern for explaining a defect. FIG. 15A is a coordinate display diagram showing coordinate display for edge in the main scanning direction. FIG. 15B is a coordinate display showing coordinate display for edge in the sub scanning direction. FIG. 16A is a conversion table showing a conversion table in the main scanning direction obtained by using the processing control means. FIG. 16B is a conversion table showing a conversion table in the main scanning direction obtained by using the processing control means. FIG. 17 is a conversion table diagram showing a conversion table in the sub-scanning direction obtained by using the processing control means. FIG. 18A is an operation diagram in the main scanning direction as a result of performing a conventional smoothing process. b) Operation diagram in the main scanning direction as a result of performing the conventional smoothing process (c) Operation diagram in the sub scanning direction as a result of performing the conventional smoothing process (d) Sub-scanning as a result of performing the conventional smoothing process Directional operation diagram (e) Sub-scanning direction operation diagram as a result of conventional smoothing processing
DESCRIPTION OF
Claims (1)
前記サンプルウインドウ内においてエッジを検出するエッジ検出手段と、
前記サンプルウインドウ内において所定の箇所に定められた論理演算を施して前記検出されたエッジが重みを乗算するエッジか否かを判定する論理演算手段と、
前記論理演算手段において重みを乗算するエッジと判定されたエッジに対して前記サンプルウインドウ内に分布する重みを乗算して前記サンプルウインドウ内について重み付けデータ値の総和を算出する重み付け演算手段と、
プリンタの印字可能な最小ドットの組み合わせから構成されているパターンを保持するテーブルと、
副走査方向で前記解像度向上処理前の画像データの解像度をプリンタの印字可能な解像度が上回る場合に、前記重み付け演算手段で得られた前記重み付けデータ値の総和と周囲のエッジの状態とに応じて、前記テーブルが保持するパターンの中から、前記解像度向上処理前の画像データの1ドットの処理を選択することにより、前記選択された処理の内容を印字濃度と印字位置を変化させることなく出力する処理制御手段とを有する画像形成装置。Sample window setting means for setting a sample window centering on a pixel to be processed of an image before resolution enhancement processing;
Edge detection means for detecting an edge in the sample window;
Logical operation means for determining whether or not the detected edge is an edge to be multiplied by a weight by performing a logical operation determined at a predetermined location in the sample window;
Weighting calculation means for calculating a sum of weighted data values in the sample window by multiplying an edge determined as an edge to be multiplied by a weight in the logic calculation means by a weight distributed in the sample window;
A table holding a pattern composed of a combination of the minimum printable dots of the printer;
When the resolution that can be printed by the printer exceeds the resolution of the image data before the resolution improvement processing in the sub-scanning direction, depending on the sum of the weighted data values obtained by the weighting calculation means and the state of the surrounding edges By selecting one dot processing of the image data before the resolution enhancement processing from the patterns held in the table , the content of the selected processing is output without changing the print density and the print position. An image forming apparatus having processing control means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP18717596A JP4195947B2 (en) | 1996-07-17 | 1996-07-17 | Image forming apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP18717596A JP4195947B2 (en) | 1996-07-17 | 1996-07-17 | Image forming apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH1029341A JPH1029341A (en) | 1998-02-03 |
JP4195947B2 true JP4195947B2 (en) | 2008-12-17 |
Family
ID=16201425
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP18717596A Expired - Fee Related JP4195947B2 (en) | 1996-07-17 | 1996-07-17 | Image forming apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4195947B2 (en) |
-
1996
- 1996-07-17 JP JP18717596A patent/JP4195947B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPH1029341A (en) | 1998-02-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4045015B2 (en) | Raster image resolution improvement method | |
KR101235221B1 (en) | Image forming apparatus and method for enhancing print quality thereof | |
JP4640257B2 (en) | Image processing apparatus, image processing method, and program | |
JP4501791B2 (en) | Image processing method and image processing program | |
JP4195947B2 (en) | Image forming apparatus | |
JP6094278B2 (en) | Image processing apparatus, image forming apparatus, image processing method, and program | |
JP4122533B2 (en) | Image forming apparatus | |
JP3087845B2 (en) | Digital image processing method for reading an original image with a scanner and enlarging and printing | |
JP7031763B2 (en) | Image processing program and image processing equipment | |
JPWO2019008706A1 (en) | Thermal transfer printer and printing control method | |
US20060103857A1 (en) | Method of reducing a consumption of imaging substance when forming an image | |
JPH10336454A (en) | Image data processor | |
JP3235187B2 (en) | Color printer | |
JPH11254753A (en) | Printer | |
JP4222303B2 (en) | Image forming apparatus | |
JP2021003903A (en) | Thermal transfer printer and printing control method | |
JP2005252361A (en) | Image processing apparatus and program | |
JP3501533B2 (en) | Color image forming equipment | |
JP2003054042A (en) | Printing system | |
JP2001353906A (en) | Method for correcting shift of parallelism in multicolor imaging | |
JP3033687B2 (en) | Multicolor printing machine | |
JPH0415771A (en) | Graphic processor | |
JP2584296B2 (en) | Page printer | |
JPH07240843A (en) | Image forming device | |
JPH1127529A (en) | Printer and its printing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20050317 |
|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20050623 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20061003 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20061204 |
|
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: 20080826 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080908 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111010 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111010 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |