JP4076663B2 - Method for deleting dots in an ink jet printer - Google Patents

Method for deleting dots in an ink jet printer Download PDF

Info

Publication number
JP4076663B2
JP4076663B2 JP7275699A JP7275699A JP4076663B2 JP 4076663 B2 JP4076663 B2 JP 4076663B2 JP 7275699 A JP7275699 A JP 7275699A JP 7275699 A JP7275699 A JP 7275699A JP 4076663 B2 JP4076663 B2 JP 4076663B2
Authority
JP
Japan
Prior art keywords
dots
dot
thinning
density
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP7275699A
Other languages
Japanese (ja)
Other versions
JP2000270214A (en
Inventor
英夫 野田
徹 林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mutoh Industries Ltd
Original Assignee
Mutoh Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mutoh Industries Ltd filed Critical Mutoh Industries Ltd
Priority to JP7275699A priority Critical patent/JP4076663B2/en
Publication of JP2000270214A publication Critical patent/JP2000270214A/en
Application granted granted Critical
Publication of JP4076663B2 publication Critical patent/JP4076663B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Ink Jet (AREA)
  • Particle Formation And Scattering Control In Inkjet Printers (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、インクジェットプリンタ(プロッタ)におけるドット削除方法に関する。更に特定すれば、高濃度印刷領域内のドットを間引き処理するためのピクセルアレイ印刷におけるドット削除方法に関するものである。
【0002】
【従来の技術】
インクジェットプリンタ(プロッタ)ではさまざまなメディアにインクドットを吹き付けて作画を行う。メディアの種類によってはインクがにじんだり、ほとんど吸収されずに表面を流れ出したりして画質を大きく損なうことがある。インクジェットヘッドのインク吐出量を小さくできればこの問題は解決するが、現実には各メディアに合ったインク吐出量を完璧に実現できるほど柔軟性の高いインクジェットヘッドはまだ存在しない。そこでインク吐出すべきドットを吐出させないことによりインク濃度を低下させるという方法が考えられる。このためにはプロッタコントローラ内のビットマップデータに対し1(オン)のビットのうちいくつかを0(オフ)に書き換えればよい。この処理を間引き処理と呼び、プロッタコントローラ内のファームウェアで実現している。
【0003】
間引き処理は上述したようにプロッタコントローラ内メモリに展開されたビットマップの1のビットのうちいくつかを0に書き換える処理である。例えば、図13のように100%濃度の原画像を80%濃度にするには100個の1のドット(図では黒)につき20個を0(図では白)に書き換える。もう少し具体的に説明すると80%濃度を持ったビットマップパターンと論理積演算を行う。小さな領域で集中して0に置き換えると濃度むらが現れて画質が低下するので、なるべく広い範囲に分散させて1から0への書き換えを行う。このように100%濃度の原画像が間引き処理の結果80%になる場合を間引き率80%と呼んでいる。
【0004】
以上で説明した間引き処理では、インク濃度を低下させることはできるが、作画結果に対しては、細線が消えてしまったり、形が大きく崩れ、また、濃度の低い画像が消えてしまうという問題が生じる。
[細線消滅の問題]
細線消滅の極端な例を図11に示す。(a)の原画像には100%濃度の太線、細線がある。これに対して50%まで濃度を低下させると(b)のように細線が完全に消滅する危険性がある。太線の方は形状消失していないが、線分の位置や角度によっては形状が崩れて画質が低下する可能性もある。
【0005】
[低濃度原画消失の問題]
例えば図12に示すように、グレースケール100%と25%の2本の線分に対して50%間引きを行うと25%グレースケールの原画は消失する可能性がある。これは線分の位置やグレースケールのパターンに依存して全て消失したり、まったく濃度が低下しなかったりする。この現象が画質に大きく影響するのは低濃度のグレースケールデータに対して比較的大きく濃度を下げようとする間引き処理のときである。
【0006】
【発明が解決しようとする課題】
細線及び低濃度画像データが消失してしまう原因は、すでにドットの少ない領域に対してそのドットを消去する点にある。極端な例では1ドットだけのデータに対して間引き処理をすると、結果は何も変化がないかあるいはそのドットが消去されてしまい白紙のデータとなってしまうかである。間引き処理の対象として好ましいのはある程度ドット密度が高い部分に対してである。例えば75%まで濃度を低下させるように間引き処理、即ち間引きパターンとの論理積演算をするときにはその対象となる原画像ドットの近傍を調べて75%以上の濃度を持った点に対してだけ間引き処理を行えば画像消失現象を抑えることができる。
【0007】
しかしこの方法では75%の濃度を持つ画像は75%の75%すなわち56%濃度になり、74%以下の濃度画像は原画のままとなる。
この結果、濃度の逆転が発生し、原画の階調を大きく損なう可能性がある。実際この方法の特殊な例として特開平7−236057号公報には100%の濃度部分に対してだけ間引き演算をする方法が提案されているが、その方法では単色べた塗りの画像しか濃度低減ができず、90%程度の高濃度画像に対してもそのまま画像濃度を維持してしまい。本来のインク吐出量を減らすという目的を満足する事は不可能である。
本発明はこの階調逆転現象を防ぐことを目的とするものである。
また、本発明の他の目的は、線分エッジ形状を保持し、水平垂直線の太さばらつきを低下させ、間引き率を高めることである。
【0008】
【課題を解決するための手段】
上記の目的を達成するため本発明は、ビットマップデータのオンドットを間引きしてオフと成しインク濃度を低下させるインクジェットプリンタにおけるドット削除方法であって、100%濃度の原画像間引き用の基本マスクパターンを用意し、原画像の間引きの対象となる高密度部分のドットを取り除いた補正パターンを生成し、この補正パターンと前記基本マスクパターンとの論理和演算により、実効間引パターンを生成し、該実効間引パターンと原画像の論理積演算を行うようにし、前記補正パターンの前記原画像の高密度部分の判定に、対象となるドットのあるラインとそのラインの上下のラインのドットを参照するようにしたものである。
【0009】
また本発明は、 前記対象となるドットのあるラインとそのラインの上下のラインを3ラインとし、該3ラインの参照ドットを、対象ドットの左右少なくとも2ドットと隣接する上下2ラインの各少なくとも5ドットの合計少なくとも14ドットとしたものである。
また本発明は、前記補正パターンのビットが0になるには、対象ドットのあるラインの上のラインの5ドットのうち最低1個はオン、対象ドットのあるラインの対象ドットの左側の2ドットのうち最低1個はオン、同ラインの対象ドットの右側のドットのうち最低1個はオン、対象ドットのあるラインの下のラインの5ドットのうち最低1個はオンのときであり、この条件を満たすとき、前記補正パターンは、原画像の対象ドットの近傍が高密度と判定し、該対象ドットを取り除くようにしたものである。
【0010】
【発明の実施の形態】
以下に図面を参照して本発明の実施の形態について説明する。
まず、図2のフローチャート及び図3のシステムブロック図を参照して、インクジェットプリンタ(プロッタ)内でのデータの流れについて説明する。
ホスト装置1から送信されるベクタデータは、FIFOバッファリング機能を有するインターフェース(I/F)3を介してRAM4に取り込まれる(データ受信)。
【0011】
インクジェットプリンタ(プロッタ)2のCPU5は、ROM6に記憶されたプログラムに基づいて、RAM4に格納されたベクタデータに対して予め設定されたバンド幅及びブロック幅での分割処理、ソート処理等の前処理を施して(データ解析)、各バンドの各ブロックに含まれるベクタデータを中間コードの形式(例えば、ベクタデータ)に整理する(ステップ1)。画像プロセッサ7は、RAM4に保存された中間コード形式の画像データに対して順次DDA処理を施し、ラスタデータをビットマップメモリ8に展開する(ステップ2)。
【0012】
ビットマップメモリ8に展開されたラスタデータは、RGBデータからCMYKデータに変換される(ステップ3)。次に、CPU5は、後述する間引き処理を行い(ステップ4)、CMYKデータに変換したラスタデータを、ヘッド駆動装置9を介してヘッド10に順次送り、作画を実行する(ステップ5)。次に、CPU5は、全バンド作画終了か否か判断し(ステップ6)、否であれば、ステップ2に戻り、肯定を判断するとプリント出力動作を終了する(ステップ7)。
【0013】
次に、間引き処理の詳細なシーケンスを図1を参照して説明する。
インクジェットプリンタにおける間引き処理は、64ビットを1単位として水平方向に処理を行っている。1バンド分の間引き処理が開始されると(ステップ1)、CPU(5)は近傍の濃度によって間引きマスクパターンを決定する(ステップ2)。コントローラのRAM4には、各間引き率に応じて予め間引き処理用のマスクパターンが格納用意されている。
【0014】
次にCPU5は、水平方向に間引き処理を実行する(ステップ3)。次にCPU5は、1ライン終了か否か判断し(ステップ4)、否定を判断すると、次の64ビットへポインタを水平移動し(ステップ5)、ステップ2に戻る。肯定を判断したときは、次のラインの先頭データへポインタを移す(ステップ6)。次にCPU5は、1バンド作画終了か否か判断し、否定を判断すると、ステップ2に戻り、肯定を判断すと、作画を終了する(ステップ8)。
【0015】
マスクパターンはビットマップ展開された画像データと論理積演算を行いビットマップ中の1のドットを減少させてインク吐出ドットを減らす。このときマスクパターンは単純な0,1のビットパターンの繰り返しで間引き処理を高速でおこなうように64ビットの長さを持つ。但しパターンの繰り返し長さは64回とは限らないので繰り返し長さもマスクパターン情報として用意する。
【0016】
また、同じパターンをそのままつぎのラインに適用すると空白ドットが空白の垂線を創り出してしまう。一般にCADデータなどで出力されるベクタは垂直あるいは水平方向が多いので空白垂線が間引きパターンに使われると非常に目立ってしまう。そこで水平方向1ライン分の間引き処理が終了した後、次のラインではマスクパターンをずらして使用する。このときのパターンのずらし量もパターンの情報として持っている。
【0017】
マスクパターンを用いた間引き処理例を図4に示す。インクジェットプリンタのコントローラでは図5に示すように5%刻みの間引きパターンを用意している。上記した間引きパターンでビットマップの論理積を求めて間引き処理を行うと細線や低濃度原画像が消失する危険性がある。これを防ぐために、本実施形態では、100%濃度の原画像に対する間引きパターン(基本マスクパターン)を用意し、原画像の濃度に応じて間引きパターンの0ビットを1に変更することによって間引き率を変化させる。
【0018】
以下次のような条件を例として説明する。
(1)原画像100%に対する間引き率は75%である。
(2)原画像50%以下の場合、間引き処理は行わない。(間引き率100%)
(3)原画像100%から50%の間の濃度の場合は間引き率75%から100%が適用される。
この条件では、例えば、図6に示すように原画像100%に用いる基本マスクパターンを変更して、83%,50%に対する間引き用マスクパターンを生成する。
【0019】
原画濃度83%用のマスクパターンは約80%の間引き率になっているが、これは本来の間引き率80%用の間引きパターンとは異なる。基本マスクパターンの0のビットを1にして得られるパターンである。間引きパターンを原画像の濃度に応じて変化させるアルゴリズムについて述べたが、実際には、原画像の各ドットに対して、その近傍の濃度に応じて間引きパターンを変化させている。あるドットに対してその近傍の条件からそのドットに対応した間引きパターンのドットを1にすることで間引き率を変化させる。
【0020】
図7は、1本のラインのうちある64ビットの領域について示している。原画像は中央付近が濃度が高く、左右の周辺部分で低濃度となっている。中央付近では間引き処理が行われ、周辺付近は原画像が残るような処理が望ましい。CPUは原画像高密度部分のドットを取り除いたマスク補正用パターンを抽出する(b)。この補正パターンは、基本の間引きパターンとの論理和演算により、実効間引きパターンを生成する(d)。この論理和操作により、間引きパターン中の0のビットを減らして間引き率を向上することができ、細線や低濃度部分の消失を防ぐことができる。
【0021】
原画像100%に適用される基本間引きパターンから原画像濃度に応じて実効間引きパターンを生成するには補正パターンが必要なことを説明した。この補正パターンは原画像の近傍点密度と関係がある。原画像濃度50%以下の部分は、上記(1)(2)(3)で示した条件により間引きされない。この条件を満たすには対象となる点の近傍の密度が50%を超えるか超えないか、すなわち近傍ドットをサンプルしてそのうちの半分以上がオンかどうか調べればよい。
【0022】
しかしこの方法では、階調逆転が起きてしまう。そこで、本実施形態では、図8に示すように補正パターン生成には濃度検査対象ドットXの左右2ドットずつと上下に隣接する5ドットずつの合計14ドットを参照する。間引き補正パターンSは下記の数式1で表わされる。この式において、ABCDEは対象の前のラインにあるドット、FGは対象の左隣にあるドット、HIは対象の右隣にあるドット、JKLMNは対象の次のラインにあるドットである。
【0023】
【数1】

Figure 0004076663
【0024】
隣接ドット関係は図8のようになる。補正パターンのビットが0(間引き可)になるには原画ドットの周辺が図に示すように左右それぞれに1個ずつ以上さらに上下それぞれにも1個ずつ以上オンのドットが必要である。合計8649通りある。図中、対象ドットXの前のラインの5ドットのうち最低1個はオン、対象ドットXのあるラインの対象ドットXの左側の2ドットのうち最低1個はオン、同ラインの対象ドットXの右側のドットのうち最低1個はオン、対象ドットXの次のラインの5ドットのうち最低1個はオン、以上が補正パターンのビットが0(間引き可)になる条件である。
【0025】
64ビット演算では図9のようになる。この補正パターンが水平方向に多くの参照ドットを持つのは一般にビットマップのメモリ構成が図9のように水平方向に長いため処理時間を短くする必要からである。図9において、wは間引き演算対象となる64ビット語、abcは対象語の前のラインの語とその左右、deは対象語の左右の64ビット語、fghは対象語の次のラインの語とその左右である。図9において、補正パターンwは次式の数式2で表わされる。この式において、<<nは左nビットシフト、>>nは右nビットシフトを示す。
【0026】
【数2】
w=((a<<62)∪(b>>2)∪(a<<63)∪(b>>1)∪(b<<1)∪(c>>63)∪(b<<2)∪(c>>62))
∩((d<<62)∪(w>>2)∪(d<<63)∪(w>>1))
∩((w<<1)∪(e>>63)∪(w<<2)∪(e>62))
∩((f<<62)∪(g>>2)∪(f<<63)∪(g>>1))∪(g<<1)∪(h>>63)∪(g<<2)∪(h>>62))
【0027】
以上の補正パターン(すなわち間引き前フイルタアルゴリズム)で間引き前処理をしたときの間引き対象になる原画濃度を計算すると、参照ドット数は14なので全てのドットのオンオフパターンは
=16384ある。このうち間引き対象となるのは
(2−1)×(2−1)×(2−1)×(2−1)=8649
通りある。間引き対象とならない低濃度パターンは
16384−8649=7735通りある。この結果間引き対象とならない濃度限界は7735/16384=0.4721すなわち47.21%になる。
【0028】
この補正パターンによる間引きは垂直線、水平線どちらのエッジも基本的に形状保存する。厳密には隣接ドットだけを参照すればエッジ保存はできるが、低濃度原画も間引きするために広範囲の参照領域を持つ。エッジを間引きするのは図10のように1ドット線分の隙間で別の線分が存在する場合、線分が交差する場合及び斜め線分の階段状部分である。
【0029】
前2者の場合は実際にその部分の原画濃度が高く間引きが必要な部分であり、エッジ形状を保持すべきではない。例えば、図10aのように太い2本の垂直線が1ドット隔てて並んでいる場合はそのエッジ部分は間引きをしないと多量のインクでつぶれてしまう。斜め線の場合は補正パターンが水平に長いため傾き45度以下の斜め線で発生し、若干画質の劣化を招くが水平エッジ垂直エッジよりも濃度が高い部分なので間引きによる濃度低下をした方が望ましい部分である。
【0030】
以上の補正パターンは階調逆転をなくすために広い範囲を参照領域とし、エッジ形状保持のために上下左右の条件を付けた。2ライン参照で生成する補正パターンでも左右参照ドット数を増加させることで同様の効果が期待できる。実際かなり良好なエッジ形状保持と高間引き率が実現できた。この場合は太い水平線の1番下(あるいは上、参照ラインで異なる)1ライン分が間引きの対象となる。水平線が十分太ければ1ラインの間引きによる影響はわずかだが、2ドットラインの場合線分の半分が間引き対象になり、2ドット垂直線との太さの違いが目立ってくる。
【0031】
細線に対する大幅な間引きには補正パターン生成に3ラインの参照が必要である。しかしながら、3ラインのドットを参照するとき、参照ドットを、対象ドットの左右2ドットと隣接する上下2ラインの各5ドット合計14ドットに限定されるものではなく、更に各ラインの参照ドットを増加させることで、更に良好なエッジ形状保持と高間引き率を達成することができる。
【0032】
【発明の効果】
本発明は上述の如く構成したので、インクジェットプリンタのインク吐出量を低下させるに際し、線分エッジ形状を保持できるとともに、階調逆転の発生を抑制でき、間引き率を高めることができる。
【図面の簡単な説明】
【図1】本発明の間引き処理シーケンスを示すフローチャート図である。
【図2】プロッタ内でのデータの流れをしめすフローチャートである。
【図3】プロッタの構成を示すブロック説明図である。
【図4】間引きパターンの適用例を示す図である。
【図5】間引きマスクパターンを示す図である。
【図6】実効間引きパターンの例を示す図である。
【図7】低濃度画像に対する実効間引きパターンを示す図である。
【図8】補正パターン生成方法を示す図である。
【図9】補正パターン生成演算の説明図である。
【図10】線分エッジを間引きする場合の説明図である。
【図11】細線消滅の例を示す図である。
【図12】低濃度原画像の消失の例を示す図である。
【図13】間引きの基本原理を示す図である。
【符号の説明】
1 ホスト装置
2 インクジェットプリンタ
3 インターフェース
4 RAM
5 CPU
6 ROM
7 画像プロセッサー
8 ビットマップメモリ[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a dot deletion method in an inkjet printer (plotter). More specifically, the present invention relates to a dot deletion method in pixel array printing for thinning out dots in a high density printing region.
[0002]
[Prior art]
Inkjet printers (plotters) create images by spraying ink dots on various media. Depending on the type of media, ink may bleed or flow out of the surface with little absorption, and image quality may be greatly impaired. This problem can be solved if the ink discharge amount of the ink jet head can be reduced, but in reality, there is still no ink jet head that is so flexible that an ink discharge amount suitable for each medium can be realized perfectly. Accordingly, a method of reducing the ink density by not discharging the dots to be discharged can be considered. For this purpose, some of the 1 (on) bits may be rewritten to 0 (off) for the bitmap data in the plotter controller. This processing is called thinning processing and is realized by firmware in the plotter controller.
[0003]
The thinning process is a process of rewriting some of the 1 bits of the bitmap developed in the plotter controller memory to 0 as described above. For example, as shown in FIG. 13, in order to make a 100% density original image 80% density, 20 of 100 1 dots (black in the figure) are rewritten to 0 (white in the figure). More specifically, an AND operation is performed with a bitmap pattern having 80% density. If it is concentrated in a small area and replaced with 0, density unevenness appears and the image quality deteriorates. Therefore, rewriting from 1 to 0 is performed by dispersing it in as wide a range as possible. A case where the original image having a density of 100% becomes 80% as a result of the thinning process is called a thinning rate of 80%.
[0004]
In the thinning process described above, the ink density can be reduced, but there are problems that the thin line disappears, the shape is greatly lost, and the low-density image disappears from the drawing result. Arise.
[Problems of disappearance of fine wires]
An extreme example of the disappearance of the thin line is shown in FIG. The original image of (a) has a 100% density thick line and a thin line. On the other hand, if the concentration is reduced to 50%, there is a risk that the fine line disappears completely as shown in (b). Although the shape of the thick line is not lost, depending on the position and angle of the line segment, the shape may collapse and the image quality may deteriorate.
[0005]
[Problem of disappearance of low-density original image]
For example, as shown in FIG. 12, when 50% thinning is performed on two line segments of gray scale 100% and 25%, the original image of 25% gray scale may be lost. Depending on the position of the line segment and the gray scale pattern, all of this disappears or the density does not decrease at all. This phenomenon has a great influence on the image quality when the thinning process is attempted to lower the density relatively large for low density grayscale data.
[0006]
[Problems to be solved by the invention]
The cause of the disappearance of the fine lines and the low-density image data is that the dots are erased from an area where there are already few dots. In an extreme example, if a thinning process is performed on data of only one dot, the result is either no change or whether the dot is erased and becomes blank data. What is preferable as a thinning target is a portion where the dot density is high to some extent. For example, when thinning processing is performed so as to reduce the density to 75%, that is, logical product operation with a thinning pattern, the neighborhood of the original image dot is examined and thinning is performed only for points having a density of 75% or more. If the processing is performed, the image disappearance phenomenon can be suppressed.
[0007]
However, in this method, an image having a density of 75% is 75% of 75%, that is, 56% density, and an image having a density of 74% or less remains the original image.
As a result, density reversal occurs, and the gradation of the original image may be greatly impaired. Actually, as a special example of this method, Japanese Patent Laid-Open No. 7-236057 proposes a method of thinning out only a 100% density portion, but this method can reduce the density of only a solid color image. The image density cannot be maintained even for a high density image of about 90%. It is impossible to satisfy the purpose of reducing the original ink discharge amount.
The object of the present invention is to prevent this gradation reversal phenomenon.
Another object of the present invention is to maintain the line segment edge shape, reduce the thickness variation of the horizontal and vertical lines, and increase the thinning rate.
[0008]
[Means for Solving the Problems]
In order to achieve the above object, the present invention provides a dot deletion method in an ink jet printer that reduces the ink density by thinning on dots of bitmap data to reduce the ink density. A mask pattern is prepared, and a correction pattern is generated by removing high-density dots that are the target of thinning out of the original image, and an effective thinning pattern is generated by performing an OR operation between the correction pattern and the basic mask pattern. The effective thinning pattern and the original image are subjected to a logical product operation, and in the determination of the high-density portion of the original image of the correction pattern, the target dot line and the dots above and below the line are used. It is something to be referred to .
[0009]
Further, according to the present invention, the line with the target dot and the upper and lower lines of the target line are set to three lines, and the reference dots of the three lines are set to at least 5 of each of the upper and lower two lines adjacent to at least two dots on the left and right of the target dot. The total of dots is at least 14 dots.
According to the present invention, in order for the bit of the correction pattern to become 0, at least one of the five dots on the line with the target dot is on, and among the two dots on the left side of the target dot on the line with the target dot At least one is on, at least one of the dots on the right side of the target dot on the same line is on, and at least one of the five dots on the line below the target dot is on. When satisfied, the correction pattern is such that the vicinity of the target dots in the original image is determined to have a high density and the target dots are removed .
[0010]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below with reference to the drawings.
First, the flow of data in the ink jet printer (plotter) will be described with reference to the flowchart of FIG. 2 and the system block diagram of FIG.
Vector data transmitted from the host device 1 is taken into the RAM 4 (data reception) via the interface (I / F) 3 having a FIFO buffering function.
[0011]
The CPU 5 of the inkjet printer (plotter) 2 performs preprocessing such as division processing and sorting processing with a preset bandwidth and block width for the vector data stored in the RAM 4 based on a program stored in the ROM 6. (Data analysis) to organize the vector data contained in each block of each band into an intermediate code format (for example, vector data) (step 1). The image processor 7 sequentially performs DDA processing on the intermediate code format image data stored in the RAM 4 and develops the raster data in the bitmap memory 8 (step 2).
[0012]
The raster data developed in the bitmap memory 8 is converted from RGB data to CMYK data (step 3). Next, the CPU 5 performs a thinning process which will be described later (step 4), and sequentially sends the raster data converted into CMYK data to the head 10 via the head driving device 9 to execute drawing (step 5). Next, the CPU 5 determines whether or not all band drawing has been completed (step 6). If not, the process returns to step 2, and if affirmative is determined, the print output operation is terminated (step 7).
[0013]
Next, a detailed sequence of the thinning process will be described with reference to FIG.
The thinning process in the ink jet printer is performed in the horizontal direction with 64 bits as one unit. When the thinning process for one band is started (step 1), the CPU (5) determines a thinning mask pattern based on the density in the vicinity (step 2). In the RAM 4 of the controller, a mask pattern for thinning processing is stored and prepared in advance according to each thinning rate.
[0014]
Next, the CPU 5 executes a thinning process in the horizontal direction (step 3). Next, the CPU 5 determines whether or not the end of one line (step 4). If the determination is negative, the CPU horizontally moves the pointer to the next 64 bits (step 5) and returns to step 2. If the determination is affirmative, the pointer is moved to the head data of the next line (step 6). Next, the CPU 5 determines whether or not one-band drawing has been completed. If a negative determination is made, the CPU 5 returns to step 2, and if an affirmative determination is made, the drawing ends (step 8).
[0015]
The mask pattern performs an AND operation with the image data expanded in the bitmap to reduce one dot in the bitmap and reduce the ink ejection dots. At this time, the mask pattern has a length of 64 bits so that the thinning process can be performed at high speed by repeating simple 0 and 1 bit patterns. However, since the repetition length of the pattern is not necessarily 64 times, the repetition length is also prepared as mask pattern information.
[0016]
Also, if the same pattern is applied to the next line as it is, the blank dot creates a blank vertical line. In general, a vector output as CAD data or the like has many vertical or horizontal directions. Therefore, when a blank vertical line is used for a thinning pattern, it becomes very conspicuous. Therefore, after the thinning process for one horizontal line is completed, the mask pattern is shifted and used in the next line. The amount of pattern shift at this time is also stored as pattern information.
[0017]
An example of thinning processing using a mask pattern is shown in FIG. As shown in FIG. 5, an ink jet printer controller prepares a thinning pattern in 5% increments. If thinning processing is performed by obtaining the logical product of bitmaps with the above-described thinning pattern, there is a risk that thin lines and low-density original images will disappear. In order to prevent this, in this embodiment, a thinning pattern (basic mask pattern) for a 100% density original image is prepared, and the thinning rate is changed by changing the 0 bit of the thinning pattern to 1 according to the density of the original image. Change.
[0018]
The following conditions will be described as an example.
(1) The thinning rate for 100% of the original image is 75%.
(2) If the original image is 50% or less, the thinning process is not performed. (Thinning rate 100%)
(3) When the density is between 100% and 50% of the original image, a thinning rate of 75% to 100% is applied.
Under this condition, for example, as shown in FIG. 6, the basic mask pattern used for 100% of the original image is changed to generate a thinning mask pattern for 83% and 50%.
[0019]
The mask pattern for the original image density of 83% has a thinning rate of about 80%, which is different from the original thinning pattern for the thinning rate of 80%. This is a pattern obtained by setting the 0 bit of the basic mask pattern to 1. Although the algorithm for changing the thinning pattern according to the density of the original image has been described, in practice, the thinning pattern is changed according to the density in the vicinity of each dot of the original image. The thinning rate is changed by setting the dot of the thinning pattern corresponding to the dot to 1 for a certain dot based on conditions in the vicinity thereof.
[0020]
FIG. 7 shows a 64-bit area in one line. The original image has a high density near the center and a low density in the left and right peripheral parts. It is desirable to perform a thinning process near the center and leave an original image near the periphery. The CPU extracts a mask correction pattern from which dots in the high density portion of the original image have been removed (b). This correction pattern generates an effective thinning pattern by a logical sum operation with the basic thinning pattern (d). By this OR operation, the number of 0 bits in the thinning pattern can be reduced to improve the thinning rate, and the disappearance of thin lines and low density portions can be prevented.
[0021]
It has been described that a correction pattern is required to generate an effective thinning pattern according to the original image density from the basic thinning pattern applied to the original image 100%. This correction pattern is related to the neighborhood point density of the original image. The portion where the original image density is 50% or less is not thinned out under the conditions shown in the above (1), (2) and (3). In order to satisfy this condition, it is only necessary to check whether the density in the vicinity of the target point exceeds 50% or not, that is, whether neighboring dots are sampled and more than half of them are ON.
[0022]
However, this method causes gradation inversion. Therefore, in the present embodiment, as shown in FIG. 8, the correction pattern generation refers to a total of 14 dots, that is, two dots on the left and right of the density inspection target dot X and five dots adjacent vertically. The thinning correction pattern S is expressed by Equation 1 below. In this equation, ABCDE is a dot on the previous line of the target, FG is a dot on the left side of the target, HI is a dot on the right side of the target, and JKLMN is a dot on the next line of the target.
[0023]
[Expression 1]
Figure 0004076663
[0024]
The adjacent dot relationship is as shown in FIG. In order to set the correction pattern bit to 0 (thinning is possible), at least one dot on the right and left sides and one or more dots on the upper and lower sides are necessary as shown in the drawing. There are a total of 8649 ways. In the figure, at least one of the five dots on the line before the target dot X is on, and at least one of the two dots on the left side of the target dot X on the line with the target dot X is on. The target dot X on the same line At least one of the dots on the right side of the target dot X is on, at least one of the five dots on the line next to the target dot X is on, and the above is a condition that the bit of the correction pattern is 0 (thinning is possible).
[0025]
The 64-bit operation is as shown in FIG. The reason why this correction pattern has many reference dots in the horizontal direction is that the memory configuration of the bitmap is generally long in the horizontal direction as shown in FIG. In FIG. 9, w is a 64-bit word to be thinned, abc is a word in the line before the target word and its left and right, de is a 64-bit word on the left and right of the target word, and fgh is a word in the next line of the target word And left and right. In FIG. 9, the correction pattern w is expressed by the following equation (2). In this equation, << n indicates a left n-bit shift, and >> n indicates a right n-bit shift.
[0026]
[Equation 2]
w = ((a << 62) ∪ (b >> 2) ∪ (a << 63) ∪ (b >> 1) ∪ (b << 1) ∪ (c >> 63) ∪ (b << 2 ) ∪ (c >> 62))
∩ ((d << 62) ∪ (w >> 2) ∪ (d << 63) ∪ (w >> 1))
∩ ((w << 1) ∪ (e >> 63) ∪ (w << 2) ∪ (e> 62))
∩ ((f << 62) ∪ (g >> 2) ∪ (f << 63) ∪ (g >> 1)) ∪ (g << 1) ∪ (h >> 63) ∪ (g << 2 ) ∪ (h >> 62))
[0027]
When the original image density to be thinned out when the pre-thinning process is performed with the above correction pattern (that is, the pre-thinning filter algorithm), the number of reference dots is 14, so the on / off pattern of all dots is 2 5 = 16384. Of these, the thinning target is (2 5 −1) × (2 2 −1) × (2 2 −1) × (2 5 −1) = 8649.
There are streets. There are 16384-8649 = 7735 low density patterns that are not to be thinned out. As a result, the density limit not to be thinned out is 7735/16384 = 0.721, that is, 47.21%.
[0028]
The thinning by this correction pattern basically preserves the shape of both the vertical and horizontal edges. Strictly speaking, the edge can be preserved by referring only to the adjacent dots, but it has a wide reference area in order to thin out the low-density original image. Edges are thinned out in the case where another line segment exists in the gap of one dot line as shown in FIG. 10, the case where the line segment intersects, and the stepped portion of the diagonal line segment.
[0029]
In the case of the former two, the density of the original image is actually high and a portion that needs to be thinned out, and the edge shape should not be maintained. For example, as shown in FIG. 10a, when two thick vertical lines are lined apart by one dot, the edge portion is crushed by a large amount of ink unless thinning is performed. In the case of diagonal lines, since the correction pattern is horizontally long, it occurs with diagonal lines with an inclination of 45 degrees or less, causing a slight deterioration in image quality. However, since the density is higher than the horizontal edge and vertical edge, it is desirable to reduce the density by thinning Part.
[0030]
In the above correction pattern, a wide range is used as a reference region in order to eliminate tone reversal, and upper, lower, left, and right conditions are added to maintain the edge shape. The same effect can be expected by increasing the number of left and right reference dots even in a correction pattern generated by 2-line reference. In fact, a fairly good edge shape retention and high thinning rate were achieved. In this case, one line at the bottom of the thick horizontal line (or different from the top or the reference line) is to be thinned. If the horizontal line is sufficiently thick, the effect of thinning out one line is slight, but in the case of a two-dot line, half of the line segment is subject to thinning, and the difference in thickness from the two-dot vertical line becomes conspicuous.
[0031]
For thinning out thin lines, it is necessary to refer to three lines for generating a correction pattern. However, when referring to 3 lines of dots, the reference dots are not limited to 14 dots in total, 5 dots for each of the upper and lower 2 lines adjacent to the left and right 2 dots of the target dot, and the reference dots for each line are further increased. By doing so, it is possible to achieve better edge shape retention and a high thinning rate.
[0032]
【The invention's effect】
Since the present invention is configured as described above, when the ink discharge amount of the ink jet printer is reduced, the line segment edge shape can be maintained, the occurrence of gradation inversion can be suppressed, and the thinning rate can be increased.
[Brief description of the drawings]
FIG. 1 is a flowchart showing a thinning processing sequence of the present invention.
FIG. 2 is a flowchart showing the flow of data in the plotter.
FIG. 3 is a block diagram illustrating a configuration of a plotter.
FIG. 4 is a diagram illustrating an application example of a thinning pattern.
FIG. 5 is a diagram showing a thinning mask pattern.
FIG. 6 is a diagram illustrating an example of an effective thinning pattern.
FIG. 7 is a diagram illustrating an effective thinning pattern for a low density image.
FIG. 8 is a diagram illustrating a correction pattern generation method.
FIG. 9 is an explanatory diagram of a correction pattern generation calculation.
FIG. 10 is an explanatory diagram for thinning line segment edges;
FIG. 11 is a diagram illustrating an example of thin line disappearance.
FIG. 12 is a diagram illustrating an example of disappearance of a low-density original image.
FIG. 13 is a diagram showing a basic principle of thinning.
[Explanation of symbols]
1 Host device 2 Inkjet printer 3 Interface 4 RAM
5 CPU
6 ROM
7 Image processor 8 Bitmap memory

Claims (3)

ビットマップデータのオンドットを間引きしてオフと成しインク濃度を低下させるインクジェットプリンタにおけるドット削除方法であって、100%濃度の原画像間引き用の基本マスクパターンを用意し、原画像の間引きの対象となる高密度部分のドットを取り除いた補正パターンを生成し、この補正パターンと前記基本マスクパターンとの論理和演算により、実効間引パターンを生成し、該実効間引パターンと原画像の論理積演算を行うようにし、前記補正パターンの前記原画像の高密度部分の判定に、対象となるドットのあるラインとそのラインの上下のラインのドットを参照するようにしたことを特徴とするインクジェットプリンタにおけるドット削除方法。 A dot deletion method in an ink jet printer that reduces the ink density by thinning on dots in bitmap data, and prepares a basic mask pattern for thinning out an original image with a 100% density. A correction pattern is generated by removing the dots of the target high-density portion, and an effective thinning pattern is generated by a logical sum operation of the correction pattern and the basic mask pattern, and the effective thinning pattern and the logic of the original image are generated. Ink jet, characterized in that product calculation is performed, and in the determination of the high-density portion of the original image of the correction pattern, the line with the target dot and the dots of the upper and lower lines are referred to How to delete dots in a printer. 前記対象となるドットのあるラインとそのラインの上下のラインを3ラインとし、該3ラインの参照ドットを、対象ドットの左右少なくとも2ドットと隣接する上下2ラインの各少なくとも5ドットの合計少なくとも14ドットとしたことを特徴とする「請求項1」に記載のインクジェットプリンタにおけるドット削除方法。 The line with the target dot and the upper and lower lines of the target line are three lines, and the reference dots of the three lines are at least 14 in total of at least 5 dots of each of the upper and lower 2 lines adjacent to the left and right 2 dots of the target dot. The dot deletion method for an ink jet printer according to claim 1, wherein the dot is a dot. 前記補正パターンのビットが0になるには、対象ドットのあるラインの上のラインの5ドットのうち最低1個はオン、対象ドットのあるラインの対象ドットの左側の2ドットのうち最低1個はオン、同ラインの対象ドットの右側のドットのうち最低1個はオン、対象ドットのあるラインの下のラインの5ドットのうち最低1個はオンのときであり、この条件を満たすとき、前記補正パターンは、原画像の対象ドットの近傍が高密度と判定し、該対象ドットを取り除くようにしたことを特徴とする「請求項2」に記載のインクジェットプリンタにおけるドット削除方法。In order for the bit of the correction pattern to become 0, at least one of the five dots on the line with the target dot is on, and at least one of the two dots on the left side of the target dot with the target dot is on. When at least one of the dots on the right side of the target dot of the same line is on and at least one of the five dots below the line with the target dot is on. The dot deletion method for an ink jet printer according to claim 2, wherein the pattern is determined to have a high density in the vicinity of the target dots of the original image, and the target dots are removed.
JP7275699A 1999-03-17 1999-03-17 Method for deleting dots in an ink jet printer Expired - Fee Related JP4076663B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7275699A JP4076663B2 (en) 1999-03-17 1999-03-17 Method for deleting dots in an ink jet printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7275699A JP4076663B2 (en) 1999-03-17 1999-03-17 Method for deleting dots in an ink jet printer

Publications (2)

Publication Number Publication Date
JP2000270214A JP2000270214A (en) 2000-09-29
JP4076663B2 true JP4076663B2 (en) 2008-04-16

Family

ID=13498530

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7275699A Expired - Fee Related JP4076663B2 (en) 1999-03-17 1999-03-17 Method for deleting dots in an ink jet printer

Country Status (1)

Country Link
JP (1) JP4076663B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4953919B2 (en) * 2007-05-24 2012-06-13 大日本スクリーン製造株式会社 Threshold matrix generation method, image data generation method, image data generation apparatus, printing apparatus, and threshold matrix
JP5757780B2 (en) * 2011-04-27 2015-07-29 武藤工業株式会社 Printing apparatus and comparison information display method using printing apparatus

Also Published As

Publication number Publication date
JP2000270214A (en) 2000-09-29

Similar Documents

Publication Publication Date Title
JP3775935B2 (en) Method for deleting dots in an ink jet printer
JP4935916B2 (en) Image processing program and image processing apparatus
US8456711B2 (en) SUSAN-based corner sharpening
JP4424845B2 (en) Image data compression method and decompression method
JP4501791B2 (en) Image processing method and image processing program
US9614998B2 (en) Mechanism for generating a hybrid halftone using a DMSSA screen
JPH11154226A (en) Method and device for improving resolution
JPH08228290A (en) Reinforcing method of dot-matrix-data
JP5115575B2 (en) Image processing program and image processing apparatus
JP5003777B2 (en) Image processing program and image processing apparatus
US7536052B2 (en) Corner sharpening of text and line art in a super resolution anti-aliasing image path
JP4076663B2 (en) Method for deleting dots in an ink jet printer
JP4564986B2 (en) Image processing apparatus, image processing method, and image processing program
JP3952188B2 (en) Image interpolation apparatus, image interpolation method, and image interpolation program
JP4979509B2 (en) Data conversion apparatus, recording apparatus equipped with the apparatus, and data conversion method
US9363414B2 (en) Halftone mechanism
JP2000506797A (en) Printing apparatus and method for saving printing material
JP2008294609A (en) Image output device, image output method, and image output program
JP3997415B2 (en) Edge generation apparatus, edge generation method, and edge generation program
JP2019121870A (en) Image processing apparatus, control method of the same, and program
JP7031763B2 (en) Image processing program and image processing equipment
JP3449015B2 (en) Color inkjet recording method
JP3112316B2 (en) Image conversion method
JP3900252B2 (en) Multi-level printing method to reduce graphics aliasing
JP5033579B2 (en) Image output apparatus, image output method, and image output program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060116

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070723

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070726

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20070822

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070829

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: 20080123

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080130

R150 Certificate of patent or registration of utility model

Ref document number: 4076663

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110208

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120208

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130208

Year of fee payment: 5

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130208

Year of fee payment: 5

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees