Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3666186B2 - Gradation processing method and apparatus - Google Patents
[go: Go Back, main page]

JP3666186B2 - Gradation processing method and apparatus - Google Patents

Gradation processing method and apparatus Download PDF

Info

Publication number
JP3666186B2
JP3666186B2 JP16015797A JP16015797A JP3666186B2 JP 3666186 B2 JP3666186 B2 JP 3666186B2 JP 16015797 A JP16015797 A JP 16015797A JP 16015797 A JP16015797 A JP 16015797A JP 3666186 B2 JP3666186 B2 JP 3666186B2
Authority
JP
Japan
Prior art keywords
dither
matrix
pixels
value
pixel
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
JP16015797A
Other languages
Japanese (ja)
Other versions
JPH118766A (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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP16015797A priority Critical patent/JP3666186B2/en
Publication of JPH118766A publication Critical patent/JPH118766A/en
Application granted granted Critical
Publication of JP3666186B2 publication Critical patent/JP3666186B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Color, Gradation (AREA)
  • Control Or Security For Electrophotography (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Dot-Matrix Printers And Others (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、レーザプリンタや電子複写機等の画像形成装置に用いて好適な階調処理方法及び装置に関し、特に、ディザマトリクスを用いてハーフトーン画像を生成するための階調処理方法及び装置に関する。
【0002】
【従来の技術】
従来、レーザプリンタ等の画像形成装置では、ドットマトリクス状に展開した階調データを閾値マトリクスの各閾値と比較演算し、例えば、階調データの各階調値の方が大きいときは「1」、小さいか同じときは「0」というように2値化することにより、ハーフトーンを生成している。
【0003】
かかる閾値マトリクスを用いたハーフトーン画像の生成方法の一例を図11に示す。
【0004】
即ち、この例では、図11(b)に示す4×4の閾値マトリクス52を導入し、同図(a)に示すようにドットマトリクス状に展開された階調データ51の対応する画素の濃度と比較して、例えば、階調データ51の濃度が閾値マトリクス52の対応する閾値よりも大きいときは黒の「1」、それ以外は白の「0」を付与することにより、同図(c)に示すように2値化されたハーフトーンデータ53を生成し、これに従って印字を行うことによりハーフトーン画像を生成する。
【0005】
一方、近年、1画素(ピクセル)をM(Mは、M≧2の整数)個のドット領域に分割して印字することにより階調数をM倍に高める技術(以下、M倍密画像技術と呼ぶ)が提案されている。かかる技術で用いる閾値マトリクスを、3倍密画像のものを例として、図12に示す。図中、太い枠線が1ピクセルを表している。
【0006】
即ち、例えば、3倍密画像技術を用いたレーザプリンタ等では、3倍の階調数を得るために、図12(b)に示すように、1画素(ピクセル)を3つに分割した閾値マトリクス55を導入し、まず、図12(a)に示したドットマトリクス状に展開された階調データ54の各画素の濃度を、1ピクセル当り3回、閾値マトリクス55の対応する各閾値と比較し、上述したと同様に、階調データ54の濃度が閾値マトリクス55の対応する各閾値よりも大きいときは黒の「1」、それ以外は白の「0」を付与して、同図(c)に示すように2値化されたハーフトーンデータ56を生成する。更に、3倍密画像技術では、3つの枠のうち「1」が何個あるかをカウントし、「1」が0個なら「00」、1個なら「01」、2個なら「10」、3個なら「11」というように、2進数の数値に変換する。そして、これら2進数の数値のそれぞれに対応して、図13に示すように、3つのドット領域D1,D2,D3に区分されたピクセルPCが、0,1,2,3の4段階のトーンPで表現される。
【0007】
【発明が解決しようとする課題】
上述したM倍密画像技術は、一種の解像度補正機能であり、例えば3倍密画像技術を採用したレーザプリンタ等では、階調表現力が3倍に高まり、微妙な陰影やグラデーションのある写真やイラストも、美しく滑らかに階調表現することができるので、レーザプリンタ等の要素技術として大変有用である。
【0008】
しかしながら、例えば3倍密画像技術を採用すると、図12(b)に示したように、閾値マトリクス55の行方向のサイズは、図11(b)に示した通常の閾値マトリクス52のサイズの3倍になってしまう。これを回路で構成する場合には、ROM等からCPUが読み出した閾値マトリクス55をレジスタに記憶する必要があるので、回路規模に直接影響し、回路規模が大きくなるのは避けられない。
【0009】
その上、上述したように、1ピクセル当り3回、階調データ54の各画素の濃度と閾値マトリクス55の対応する閾値とを比較演算する必要があり、更に、3つの枠のうちの「1」の個数を図13に示したような2進数の数値に変換する処理も行うので、階調データの処理量(時間)は、その分だけ増加してしまう。
【0010】
本発明の目的は、滑らかな階調表現が可能なM倍密画像技術の利点を活かしつつ、従来のM倍密画像のための閾値マトリクスより小さなサイズのディザマトリクスを用いてハーフトーン画像を生成でき、データ処理量(時間)も減少し得る階調処理方法及び装置を提供することにある。
【0011】
【課題を解決するための手段】
上記目的達成のため、本発明に係る階調処理方法及び装置では、ディザマトリクスは、M(M≧2)個のドット領域に区分せずに、前記ディザマトリクスにおける各ディザ値を、第1・・・第m(m≧2)までグループ化し、該グループごとに、すべての画素のディザ値を、通し番号(0,1,2,3,・・・・,n)−M×N(M=前述のドット領域の個数、N=当該グループより前のグループに属する全画素数)により定義し、画素ごとに、階調データの濃度値に前記ディザ値を加えた値を当該ディザ値が属するグループ内の全画素数で割った上で、0,1,2,3,・・・,M(Mは、M≧2の整数)のいずれかの整数値に制限し、該各整数値に応じて0〜MのM+1段階のトーンPを表現することを特徴としている。
【0012】
これにより、閾値(ディザ)マトリクスをM(M≧2)個のドット領域に区分していた従来の階調処理方法に比べ、より小さなディザマトリクスを用いてハーフトーン画像を生成することが可能となる。
【0013】
即ち、請求項1に係る発明では、階調データをディザマトリクスを用いて1画素につきM+1段階(Mは、M≧2の整数)のハーフトーンデータに変換する階調処理方法であって、 前記ディザマトリクスにおける各画素の位置により、各画素を第1・・・第m(m≧2)までグループ化するステップと、 前記グループごとに、すべての画素のディザ値を、通し番号(0,1,2,3,・・・・,n)−M×N(Nは、=当該グループより前のグループに属する全画素数)により定義するステップと、 画素ごとに、前記階調データの濃度値に前記ディザ値を加えた値を前記ディザ値が属するグループ内の全画素数で割った上で0,1,2,3,・・・,M(Mは、M≧2の整数)のいずれかの整数値に制限するステップと、を有することを特徴としている。
【0014】
従来の階調処理方法では、入力画像の濃度と閾値マトリクスの対応する閾値とを1画素当りM回比較演算する処理と、M個の枠のうち「1」が何個あるかをカウントし2進数の数値に変換する処理とが必要であったのに対し、1つの処理のみで同様の階調数を表現できる。
【0015】
また、請求項2に係る発明では、前記ディザマトリクスは、ドット集中型のものであることを特徴としている。
【0016】
更に、請求項3に係る発明では、前記ディザマトリクスは、ディザ値が渦巻き型に配列されていることを特徴としている。
【0017】
ここで、請求項4に係る発明は、ディザ値が渦巻き型に配列されているディザマトリクスにおけるグループ化は、前記マトリクスの中心点から等距離にある画素ごとに行い、前記ディザマトリクスの定義は、すべての画素のディザ値を、通し番号(0,1,2,3,・・・・,n)−M×N(M=前記ドット領域の個数を表す、M≧2の整数、N=当該グループより前記マトリクスの中心点から近距離にあるすべてのグループに属する全画素数)により行うことを特徴としている。
【0018】
これにより、濃度が丸く(渦巻き型に)成長していくことになるので、輪郭を丸く見せるためのハーフトーン画像を生成することが可能である。
【0019】
一方、請求項5に係る発明では、前記ディザマトリクスは、ディザ値がライン型に配列されていることを特徴としている。
【0020】
これにより、濃度が四角く(縦に伸びて)成長していくことになるので、輪郭を四角く見せるためのハーフトーン画像の生成に有効である。
【0023】
一方、請求項6に係る発明は、階調データをディザマトリクスを用いて1画素につき0〜MのM+1段階(MはM≧2の整数)のハーフトーンデータに変換する階調処理装置であって、 前記ディザマトリクスにおける各画素の位置により、各画素を第1・・・第m(m≧22)までグループ化するグルーピング手段と、 グループごとに、前記ディザマトリクスにおけるすべての画素のディザ値を、通し番号(0,1,2,3,・・・・,n)−M×N(N=当該グループより前のグループに属する全画素数)により定義する手段と、 画素ごとに、前記階調データの濃度値に前記ディザ値を加えた値を前記ディザ値が属するグループ内の全画素数で割った上で0,1,2,3,・・・,Mのいずれかの整数値に制限する演算を行う演算手段と、を有することを特徴とする。
【0024】
これにより、例えばCPUが閾値マトリクスをレジスタに記憶させる回路構成とした場合でも、回路規模が不必要に大きくなるのを避けることができる。
【0025】
【発明の実施の形態】
以下、図面に基づいて本発明の第1の実施の形態に係る階調処理方法について詳細に説明する。
【0026】
本実施の形態は、3倍密画像技術を用いたレーザプリンタ等におけるハーフトーン画像の生成に適用される。即ち、レーザプリンタ等において、ドットマトリクス状に展開された階調データをディザマトリクスを用いて2値化し、1画素を3個のドット領域に区分して印字することにより、1画素につき0〜3の4段階のトーンPを表現する場合に適用される。
【0027】
まず、図1〜4を用いて、本実施の形態に用いる階調処理装置について説明する。
【0028】
図1に示すように、この階調処理装置1は、ディザマトリクス2と、ディザマトリクス2における各ディザ値を、第1・・・第m(m≧2)までグループ化したグルーピングデータ3と、画素ごとに、ドットマトリクス状に展開されたマルチトーン画像データの濃度値にディザマトリクス2における各ディザ値を加えた値をグルーピングデータ3に従って当該ディザ値が属するグループ内の全画素数で割った上で0,1,2,3のいずれかの整数値に制限する演算を行う演算部4と、演算部4により求められた0,1,2,3の各整数値を0〜3の4段階のトーンPのそれぞれを表現するデータに変換する3倍密データ変換部5を備えている。尚、演算部4は、例えば、レーザプリンタ等のプリンタコントローラ等(図示せず)のCPUとそのレジスタ群により構成し得る。また、ディザマトリクス2やグルーピングデータ3は、同じくプリンタコントローラ内のROM等にルックアップテーブル方式で記憶させておくことができる。また、3倍密データ変換部5は、例えば、プリンタコントローラ内のCPU及びRAM等により構成可能であり、この3倍密データ変換部5により3倍密データとして出力されたビットマップデータは、レーザプリンタ等(図示せず)のプリントエンジン6に送られ、1画素を3個のドット領域に区分した形で印字されることにより、1画素につき0〜3の4段階のトーンPを有するハーフトーン画像が生成される。
【0029】
次に、図2〜3を用いて、ディザマトリクス2の定義方法及びグルーピングデータ3におけるグループ化の手法について説明する。
【0030】
ディザマトリクス2は、図2に示すように、4×4のマトリクスサイズを有しており、以下、ディザマトリクス2における画素(ピクセル)の位置を、同図(a)に示すように、0〜15までの番号で示す。尚、これらの番号は、ディザ値等とは無関係な、あくまで説明の便宜のためのものである。
【0031】
ディザマトリクス2は、3倍密画像に用いるものであるが、3個のドット領域に区分されていない。グルーピングデータ3におけるグループ化は、ディザマトリクス2における各画素(ピクセル)を、図2(b)に示すように、該マトリクス2の中心点から等距離にあるものごとに第1,第2,第3グループまでグループ化されている。第1,第2,第3グループは、同図(b)に示すように、それぞれ4個,8個,4個の画素(ピクセル)を含んでいる。一方、ディザマトリクス2の定義方法は、グルーピングデータ3に従って、グループごとに、ディザマトリクス2におけるすべての画素のディザ値を、通し番号(0,1,2,3,・・・・,n)−M×N(M=M倍密画像におけるM、即ち本実施の形態では、3、N=当該グループより前のグループに属する全画素数)により定義する。
【0032】
即ち、図2(c)に示すように、第1グループ、即ちディザマトリクス2の中心点から最も近距離にある、同図(a)に示す5,6,10,9の位置の4つのピクセルには、それぞれ0,1,2,3のディザ値が付与されている。また、第2グループ、即ちディザマトリクス2の中心点から第2の距離にある、同図(a)に示す4,1,2,7,11,14,13,8の位置の8つのピクセルには、それぞれ0−4M,1−4M,2−4M,3−4M,4−4M,5−4M,6−4M,7−4Mのディザ値が付与されている。更に、第3グループ、即ちディザマトリクス2の中心点から最も遠距離にある、同図(a)に示す0,3,15,12の位置の4つのピクセルには、それぞれ0−12M,1−12M,2−12M,3−12Mのディザ値が付与されている。尚、ここに、Mは3倍密を表しているものとする。
【0033】
かかるディザマトリクス2を用いた階調表現法を採用すると、図3に示すように、ハーフトーンの濃度が渦巻き型に成長していく階調表現が可能となる。即ち、本実施の形態のハーフトーンのパターン生成方法は、いわゆる面積階調のパターンを生成するものであり、各ピクセルは0〜3の値をとり、値が大きいほど黒の面積が増えるものとする。まず、上述したように、すべてのピクセルを、まずディザマトリクス2の中心点から等距離にあるものごとに3つのグループに分け、初めに、第1グループ、即ち図2(a)に示した5,6,10,9の位置の4つのピクセルの値を、交互に1ずつ増やす。4つのピクセルともMの値になったら、次に、第2グループ、即ち、図2(a)に示した4,1,2,7,11,14,13,8の位置の8つのピクセルの値を、交互に1ずつ増やす。8つのピクセルとも3になったら、最後に、第3グループ、即ち、図2(a)に示した0,3,15,12の位置の4つのピクセルの値を、交互に1ずつ増やす。上述したように、各ピクセルの0〜3の値は、値が大きいほど黒の面積が増えるから、nは画像の濃度を表し、n=0からn=48までの階調表現が可能である。これにより、3倍密画像を用いた従来の閾値マトリクス55[図12(b)参照]より小さなサイズのディザマトリクス2を用いて、同様の階調数n=0〜48の階調表現が可能となる。また、図3からも明らかなように、本実施の形態では、n=0からn=48まで濃い部分は丸く(渦巻き型に)成長していくことになるので、輪郭を丸く見せるためのハーフトーンのパターンとして特に効果がある。尚、以上のように、ハーフトーンのパターンが定義されるから、上述した第2グループにおける4M等の4、あるいは第3グループにおける12M等の12の数字は、そのピクセルが増える前に、3に達しているピクセルの数を表している。
【0034】
図4に、上記ディザマトリクス2を定義していくフローを示す。
【0035】
さて、図1及び2に、図5及び6をも参照して、本実施の形態の階調処理方法について説明する。
【0036】
本実施の形態の階調処理方法は、画素ごとに、マルチトーン画像データ(図1参照)の濃度値[例えば、図12(a)に示す0〜48の濃度値]に図2(c)に示すディザマトリクス2の対応するディザ値を加えた値を、グルーピングデータ3における当該ディザ値が属するグループ内の全画素(ピクセル)数で割った上で0,1,2,3のいずれかの整数値に制限し、これら各整数値に応じて3倍密画像における0〜3の4段階のトーンP(図13参照)を表現することを特徴とする。
【0037】
即ち、図1及び図5に示すように、まず、マルチトーン画像データ(図1参照)から1つのピクセルの濃度値[例えば、図12(a)に示す濃度値32]を取り込む(ステップ101)。この値(32)にディザマトリクス2の対応するディザ値(2−4M)を加える(ステップ102)。これにより、32+2−4×3=22の値が得られる。この値(22)をグルーピングデータ3における当該ピクセルが属するグループ[第2グループ「図2(b)参照」]内のピクセル数8[同図2(b)参照]で割る(ステップ103)。これにより、演算結果d=22÷8=2.75の値が得られる(ステップ104)。この演算結果dの値を0〜3の範囲に制限し(ステップ105〜108)、小数点以下は求めない(ステップ109)。これにより、当該ピクセルの演算値0,1,2又は3が得られ(ステップ110〜112、ステップ106及び108)、以上を全ピクセルについて行う(ステップ113,114)。 以上の演算により得られたハーフトーンの面積階調データ12を図6(a)に示す。
【0038】
この面積階調データ12は、図6(a)に示すように、各ピクセルが0,1,2,3のいずれかの値を取り、2進数/ピクセルの値(00,01,10,11)が、図1に示した3倍密データ変換部5により、00→000,01→001or100,10→011or110,11→111というように、3倍密データに変換されてプリントエンジン6に送られ、1画素を3個のドット領域に区分した形で印字されることにより、1画素につき0〜3の4段階のトーンPを有するハーフトーン画像が生成される。
【0039】
ここで、01→001or100,10→011or110のように、トーンPが1と2の場合については、2通りのドットパターンがあり得る(図13参照)が、本実施形態の階調処理方法で用いる3倍密画像では、左右隣のピクセルの値を見て黒(=1)を左寄り又は右寄りに変えることにより、黒が連結するように制御する。即ち、左右隣のピクセルの値を比較して、左≦右なら黒が右寄り(01→001,10→011)、一方、左>右なら黒が左寄り(01→100,10→110)になるように制御する。
【0040】
図6(b)に、以上のようにして印字されたハーフトーン画像を示す。
【0041】
図6(b)のハーフトーン画像は、図12(c)と比べて分かるように、従来の3倍密のハーフトーン画像と略同様のものが得られる。
【0042】
図7〜8を参照して、本発明の第2の実施の形態に係る階調処理方法について説明する。
【0043】
この第2の実施の形態も、3倍密画像技術を用いた場合のハーフトーン画像の生成に関するものであるが、本実施の形態では、図7(a)に示すように、グルーピングデータ3´は、第2列にある4つのピクセルを第1グループ、第1列と第3列にある8つのピクセルを第2グループ、第4列にある4つのピクセルを第3グループとしてグループ化したものである。
【0044】
本実施の形態においては、ディザマトリクスの定義方法は、グルーピングデータ3´に従って、グループごとに、ディザマトリクスにおけるすべての画素のディザ値を、通し番号(0,1,2,3,・・・・,n)−M×N(M=M倍密画像におけるM、即ち本実施の形態では、3、N=当該グループより前のグループに属する全画素数)により定義する。
【0045】
これにより、図7(b)に示すディザマトリクス2´が得られる。
【0046】
本実施の形態の階調処理方法は、以上のグルーピングデータ3´とディザマトリクス2´を用いる他は、上述した第1の実施形態と同様である。
【0047】
即ち、マルチトーン画像データ(図1参照)の濃度値[例えば、図12(a)に示す0〜48の濃度値]に図7(b)に示すディザマトリクス2´の対応するディザ値を加えた値を、グルーピングデータ3´における当該ディザ値が属するグループ内の全画素(ピクセル)数で割った上で0,1,2,3のいずれかの整数値に制限し、これら各整数値に応じて3倍密画像における0〜3の4段階のトーンP(図13参照)を表現する。
【0048】
以上の演算により得られたハーフトーンの面積階調データ14を図8(a)に、ハーフトーン画像を図8(b)に示す。
【0049】
図8(a),(b)から分かるように、この第2の実施の形態によれば、n=0からn=48まで濃度は四角く(縦に伸びて)成長していくことになるので、輪郭を四角く見せるためのハーフトーンのパターンとして効果がある。
【0050】
図9〜10を参照して、本発明の第3の実施の形態に係る階調処理方法について説明する。
【0051】
この第3の実施の形態は、ディザマトリクス2´´を、図9(c)に示すように、6×6のマトリクスから構成したものである。尚、ディザマトリクス2´´における画素(ピクセル)の位置を、説明の便宜のために、同図(a)に示すように、0〜35までの番号で示す。また、図9(a)〜(c)から分かるように、ディザマトリクス2´´は、上述した第1の実施形態のディザマトリクス2と同様に、ディザ値が渦巻き型に配列されている。
【0052】
本実施の形態では、図9(b),(c)に示すように、グルーピングデータ3´´におけるグループ化は、ディザマトリクス2´´における各画素(ピクセル)を、図9(b)に示すように、該マトリクス2´´の中心点から等距離にあるものごとに第1,第2,第3,第4,第5,第6グループまでグループ化されている。第1,第2,第3,第4,第5,第6グループは、同図(b)に示すように、それぞれ4個,8個,4個,8個,8個,4個の画素(ピクセル)を含んでいる。一方、ディザマトリクス2´´の定義方法は、グルーピングデータ3´´に従って、グループごとに、ディザマトリクス2´´におけるすべての画素のディザ値を、通し番号(0,1,2,3,・・・・,7)−M×N(M=M倍密画像におけるM、N=当該グループより前のグループに属する全画素数)により定義する。
【0053】
図10に、上記ディザマトリクス2´´を定義していくフローを示す。
【0054】
以上、本発明を特定の実施形態について述べたが、本発明はこれらに限られるものではなく、特許請求の範囲に記載された発明の範囲内で、他の実施形態についても適用される。
【0055】
例えば、ディザマトリクス2等やグルーピングデータ3等は、ソフトウェア(プログラム)上で定義してもよい。
【0056】
また、上述した実施形態では、4×4及び6×6のハーフトーン(ディザ)マトリクスを用いたが、8×8あるいは16×16等のマトリクスを用いても良く、スクリーン線密度やレーザプリンタ等のエンジンの性能等に鑑みて、選択することができる。
【0057】
更に、上述した実施形態は、3倍密画像技術を用いた場合のハーフトーンのパターン生成に関して述べたが、7倍密画像,15倍密画像,31倍密画像のように、1ピクセルをもっと細かく制御する場合にも適用し得るのは勿論である。かかる場合には、従来の方法と本発明の方法の差は、より大きくなる。
【0058】
【発明の効果】
以上説明したように、本発明に係る階調処理装置及び方法によれば、ディザ(閾値)マトリクスをM(M≧2)個のドット領域に区分していた従来の階調処理方法に比べ、より小さなマトリクスを用いてハーフトーンを定義することができる。
【0059】
従って、例えばCPUがディザマトリクスをレジスタに記憶させる回路構成とした場合でも、回路規模が不必要に大きくなるのを防止できる。
【0060】
また、従来の階調処理方法では、階調データの濃度と閾値マトリクスの対応する閾値とを1画素当りM回比較演算する処理と、M個の枠のうち「1」が何個あるかをカウントし2進数の数値に変換する処理とが必要であったのに対し、1連の処理1回のみで同様の階調数を表現できる。
【0061】
よって、階調データの処理量(時間)を、その分だけ減少させることが可能となるので、レーザプリンタ等に適用した場合のスループットが向上する。
【0062】
以上により、滑らかな階調表現が可能なM倍密画像技術の利点を活かしつつ、より簡単なハードウェア構成でハーフトーン画像を生成でき、データ処理量(時間)も減少し得る階調処理方法及び装置を提供することができる。
【図面の簡単な説明】
【図1】本発明の実施の形態に用いる階調処理装置の構成を示す機能ブロック図である。
【図2】本発明の第1の実施の形態に係る階調処理方法を説明するための図であり、(a)はディザマトリクス2における画素(ピクセル)の位置を説明の便宜のために示す図、(b)はグルーピングデータ3のグループ化方法を示す図、(c)はディザマトリクス2の構成を示す図である。
【図3】本発明の第1の実施の形態の階調表現法を採用した場合のハーフトーンの濃度が成長していくパターンを示す図である。
【図4】ディザマトリクス2の定義方法を示すフローチャートである。
【図5】本発明の第1の実施の形態に係る階調処理方法に用いる演算方法を説明するためのフローチャートである。
【図6】(a)は図5の演算により得られたハーフトーンの面積階調データ、(b)は印字されたハーフトーン画像を示す図である。
【図7】本発明の第2の実施の形態に係る階調処理方法を説明するための図であり、(a)はグルーピングデータ3´のグループ化方法を示す図、(b)はディザマトリクス2´の構成を示す図である。
【図8】(a)は本発明の第2の実施の形態により得られたハーフトーンの面積階調データ、(b)はその印字されたハーフトーン画像を示す図である。
【図9】本発明の第3の実施の形態に係る階調処理方法を説明するための図であり、(a)はディザマトリクス2´´における画素(ピクセル)の位置を説明の便宜のために示す図、(b)はグルーピングデータ3´´のグループ化方法を示す図、(c)はディザマトリクス2´´の構成を示す図である。
【図10】ディザマトリクス2´´の定義方法を示すフローチャートである。
【図11】従来の一般的な(M倍密画像技術を用いない)階調処理方法を説明するための図であり、(a)はドットマトリクス状に展開された階調データ、(b)は閾値マトリクスの構成を示す図、(c)は得られたハーフトーンの階調データを示す図である。
【図12】従来の3倍密画像技術を用いた階調処理方法を説明するための図であり、(a)はドットマトリクス状に展開された階調データ、(b)は閾値マトリクスの構成を示す図、(c)は得られたハーフトーンの階調データを示す図である。
【図13】従来の3倍密画像技術を用いた階調処理方法を説明するための図である。
【符号の説明】
1 階調処理装置
2 ディザマトリクス
2´ ディザマトリクス
2´´ ディザマトリクス
3 グルーピングデータ
3´ グルーピングデータ
3´´ グルーピングデータ
4 演算部
5 3倍密データ変換部
6 プリントエンジン
12 面積階調データ
51 階調データ
52 閾値マトリクス
53 ハーフトーンデータ
54 階調データ
55 閾値マトリクス
56 ハーフトーンデータ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a gradation processing method and apparatus suitable for use in an image forming apparatus such as a laser printer or an electronic copying machine, and more particularly to a gradation processing method and apparatus for generating a halftone image using a dither matrix. .
[0002]
[Prior art]
Conventionally, in an image forming apparatus such as a laser printer, gradation data developed in a dot matrix is compared with each threshold value of a threshold value matrix. For example, when each gradation value of gradation data is larger, “1” is set. When the values are the same or smaller, a halftone is generated by binarizing such as “0”.
[0003]
An example of a method for generating a halftone image using such a threshold matrix is shown in FIG.
[0004]
That is, in this example, the 4 × 4 threshold matrix 52 shown in FIG. 11B is introduced, and the density of the corresponding pixel of the gradation data 51 developed in a dot matrix form as shown in FIG. For example, when the density of the gradation data 51 is larger than the corresponding threshold value of the threshold value matrix 52, black “1” is given, and white “0” is given otherwise. ), Halftoned data 53 binarized is generated, and printing is performed in accordance with this, thereby generating a halftone image.
[0005]
On the other hand, in recent years, a technique for increasing the number of gradations by a factor of M by dividing one pixel (pixel) into M (M is an integer of M ≧ 2) dot areas and printing (hereinafter referred to as M double dense image technique). Has been proposed). A threshold matrix used in such a technique is shown in FIG. In the figure, a thick frame line represents one pixel.
[0006]
That is, for example, in a laser printer using a triple density image technology, a threshold value obtained by dividing one pixel (pixel) into three as shown in FIG. The matrix 55 is introduced, and first, the density of each pixel of the gradation data 54 developed in the dot matrix form shown in FIG. 12A is compared with each corresponding threshold value of the threshold value matrix 55 three times per pixel. As described above, when the density of the gradation data 54 is larger than the corresponding threshold values of the threshold value matrix 55, black “1” is assigned, and otherwise white “0” is assigned. As shown in c), binarized halftone data 56 is generated. Further, in the triple-density image technology, the number of “1” s in the three frames is counted. If “1” is 0, it is “00”, 1 is “01”, and 2 is “10”. If there are three, it is converted to a binary number such as “11”. Corresponding to each of these binary numbers, the pixel PC divided into three dot areas D1, D2, and D3 is divided into four tone levels of 0, 1, 2, and 3, as shown in FIG. Represented by P.
[0007]
[Problems to be solved by the invention]
The above-described M double-density image technology is a kind of resolution correction function. For example, in a laser printer or the like that employs the triple-density image technology, the gradation expression power is increased three times, and photographs with subtle shadows and gradations are displayed. Illustrations can be expressed beautifully and smoothly with gradation, which is very useful as an element technology for laser printers and the like.
[0008]
However, when, for example, the triple density image technology is employed, the size of the threshold matrix 55 in the row direction is 3 as the size of the normal threshold matrix 52 shown in FIG. 11B as shown in FIG. It will be doubled. When this is constituted by a circuit, it is necessary to store the threshold matrix 55 read by the CPU from the ROM or the like in the register, so that it directly affects the circuit scale and inevitably increases the circuit scale.
[0009]
In addition, as described above, it is necessary to compare and calculate the density of each pixel of the gradation data 54 and the corresponding threshold value of the threshold value matrix 55 three times per pixel. ”Is also converted into a binary numerical value as shown in FIG. 13, and the processing amount (time) of the gradation data increases accordingly.
[0010]
An object of the present invention is to generate a halftone image using a dither matrix having a size smaller than a threshold matrix for a conventional M double dense image while taking advantage of the M double dense image technology capable of smooth gradation expression. Another object is to provide a gradation processing method and apparatus capable of reducing the data processing amount (time).
[0011]
[Means for Solving the Problems]
To achieve the above object, in the gradation processing method and apparatus according to the present invention, the dither matrix is not divided into M (M ≧ 2) dot areas, and each dither value in the dither matrix is set to .. Grouping up to m-th (m ≧ 2), and for each group, the dither values of all pixels are serial numbers (0, 1, 2, 3,..., N) −M × N (M = A group obtained by adding the dither value to the density value of the gradation data for each pixel, defined by the number of dot regions, N = the total number of pixels belonging to the group preceding the group). Divided by the total number of pixels, and is limited to an integer value of 0, 1, 2, 3,..., M (M is an integer of M ≧ 2), and depending on each integer value It is characterized by expressing a tone P of M + 1 stages from 0 to M.
[0012]
As a result, it is possible to generate a halftone image using a smaller dither matrix compared to the conventional gradation processing method in which the threshold (dither) matrix is divided into M (M ≧ 2) dot areas. Become.
[0013]
That is, the invention according to claim 1 is a gradation processing method for converting gradation data into halftone data of M + 1 stages (M is an integer of M ≧ 2) per pixel using a dither matrix, A step of grouping each pixel from the first to mth (m ≧ 2) according to the position of each pixel in the dither matrix, and for each group, the dither values of all the pixels are assigned serial numbers (0, 1, 2, 3,..., N) −M × N (N is the total number of pixels belonging to the group preceding the group), and the density value of the gradation data is set for each pixel. One of 0, 1, 2, 3,..., M (M is an integer of M ≧ 2) after dividing the value obtained by adding the dither value by the total number of pixels in the group to which the dither value belongs. And limiting to an integer value of It is set to.
[0014]
In the conventional gradation processing method, the process of comparing and calculating the density of the input image and the corresponding threshold value of the threshold matrix M times per pixel, and the number of “1” s out of the M frames are counted 2 In contrast to the process of converting to a numerical value of a decimal number, the same number of gradations can be expressed by only one process.
[0015]
The invention according to claim 2 is characterized in that the dither matrix is of a dot concentration type.
[0016]
Furthermore, the invention according to claim 3 is characterized in that the dither matrix has dither values arranged in a spiral shape.
[0017]
Here, in the invention according to claim 4, grouping in the dither matrix in which the dither values are arranged in a spiral shape is performed for each pixel equidistant from the center point of the matrix, and the definition of the dither matrix is as follows: Dither values of all pixels are serial numbers (0, 1, 2, 3,..., N) −M × N (M = an integer of M ≧ 2 representing the number of the dot areas, N = the group concerned) The total number of pixels belonging to all groups at a short distance from the center point of the matrix.
[0018]
As a result, the density grows in a round shape (in a spiral shape), so that it is possible to generate a halftone image for making the contour look round.
[0019]
On the other hand, the invention according to claim 5 is characterized in that the dither matrix has dither values arranged in a line type.
[0020]
As a result, the density grows square (extends vertically), which is effective in generating a halftone image for making the outline appear square.
[0023]
On the other hand, the invention according to claim 6 is a gradation processing device that converts gradation data into 0 to M M + 1-stage (M is an integer of M ≧ 2) halftone data per pixel using a dither matrix. Grouping means for grouping each pixel from the first to mth (m ≧ 22) according to the position of each pixel in the dither matrix, and for each group, the dither values of all the pixels in the dither matrix , Serial number (0, 1, 2, 3,..., N) −M × N (N = the total number of pixels belonging to the group before the group), and the gradation for each pixel. The value obtained by adding the dither value to the density value of the data is divided by the total number of pixels in the group to which the dither value belongs, and then limited to an integer value of 0, 1, 2, 3,. An arithmetic means for performing an arithmetic operation Characterized in that it has a.
[0024]
Thereby, for example, even when the CPU has a circuit configuration in which the threshold matrix is stored in the register, it is possible to avoid an unnecessarily large circuit scale.
[0025]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, the gradation processing method according to the first embodiment of the present invention will be described in detail with reference to the drawings.
[0026]
The present embodiment is applied to generation of a halftone image in a laser printer or the like using a triple density image technology. That is, in a laser printer or the like, the gradation data developed in a dot matrix is binarized using a dither matrix, and one pixel is divided into three dot areas and printed, so that 0 to 3 per pixel is printed. This is applied when expressing the four-stage tone P.
[0027]
First, the gradation processing apparatus used in this embodiment will be described with reference to FIGS.
[0028]
As shown in FIG. 1, the gradation processing device 1 includes a dither matrix 2, grouping data 3 in which each dither value in the dither matrix 2 is grouped up to the first to mth (m ≧ 2), For each pixel, a value obtained by adding each dither value in the dither matrix 2 to the density value of the multitone image data developed in a dot matrix form is divided by the total number of pixels in the group to which the dither value belongs according to the grouping data 3. The arithmetic unit 4 that performs an operation to limit the integer value to any one of 0, 1, 2, and 3 and the 0, 1, 2, and 3 integer values obtained by the arithmetic unit 4 in four stages of 0 to 3 Are provided with a triple density data conversion unit 5 for converting the data into each of the tones P. Note that the arithmetic unit 4 can be configured by a CPU of a printer controller or the like (not shown) such as a laser printer and its register group. Further, the dither matrix 2 and the grouping data 3 can be stored in a ROM or the like in the printer controller by a lookup table method. The triple density data conversion unit 5 can be constituted by, for example, a CPU and a RAM in the printer controller. Bitmap data output as triple density data by the triple density data conversion unit 5 is a laser. A halftone having four levels of tone P of 0 to 3 per pixel by being sent to a print engine 6 of a printer or the like (not shown) and printed in a form in which one pixel is divided into three dot areas. An image is generated.
[0029]
Next, the definition method of the dither matrix 2 and the grouping method in the grouping data 3 will be described with reference to FIGS.
[0030]
The dither matrix 2 has a 4 × 4 matrix size as shown in FIG. 2, and hereinafter, the positions of pixels (pixels) in the dither matrix 2 are set to 0 to 0 as shown in FIG. Shown by numbers up to 15. These numbers are not related to the dither value or the like and are merely for convenience of explanation.
[0031]
The dither matrix 2 is used for a 3 × dense image, but is not divided into three dot areas. The grouping in the grouping data 3 is such that each pixel (pixel) in the dither matrix 2 is first, second, second for each of the equidistant from the center point of the matrix 2 as shown in FIG. Up to 3 groups are grouped. The first, second, and third groups include 4, 8, and 4 pixels, respectively, as shown in FIG. On the other hand, according to the grouping data 3, the dither matrix 2 is defined by assigning the dither values of all the pixels in the dither matrix 2 to the serial numbers (0, 1, 2, 3,..., N) -M for each group. × N (M = M in an M double dense image, that is, 3 in the present embodiment, N = the total number of pixels belonging to a group before the group).
[0032]
That is, as shown in FIG. 2 (c), four pixels at positions 5, 6, 10, and 9 shown in FIG. 2 (a) that are closest to the first group, that is, the center point of the dither matrix 2. Are assigned dither values of 0, 1, 2, and 3, respectively. Further, in the second group, that is, at the second distance from the center point of the dither matrix 2, eight pixels at positions 4, 1, 2, 7, 11, 14, 13, 8 shown in FIG. Are assigned dither values of 0-4M, 1-4M, 2-4M, 3-4M, 4-4M, 5-4M, 6-4M, and 7-4M, respectively. Further, the four pixels at the positions 0, 3, 15 and 12 shown in FIG. 4A which are the farthest from the center point of the third group, that is, the dither matrix 2, are respectively 0-12M, 1− Dither values of 12M, 2-12M, and 3-12M are assigned. Here, M represents triple density.
[0033]
When the gradation expression method using the dither matrix 2 is employed, gradation expression in which the halftone density grows in a spiral shape as shown in FIG. 3 becomes possible. That is, the halftone pattern generation method of this embodiment generates a so-called area gradation pattern, and each pixel takes a value of 0 to 3, and the larger the value, the larger the black area. To do. First, as described above, all the pixels are first divided into three groups for each pixel that is equidistant from the center point of the dither matrix 2. First, the first group, that is, 5 shown in FIG. , 6, 10, and 9 alternately increase the values of the four pixels by one. If all four pixels have the value of M, then the second group, that is, eight pixels at positions 4, 1, 2, 7, 11, 14, 13, 8 shown in FIG. Increase the value by 1 alternately. When all of the eight pixels have reached 3, finally, the values of the four pixels in the third group, that is, the positions 0, 3, 15, and 12 shown in FIG. As described above, since the black area increases as the value of 0 to 3 of each pixel increases, n indicates the density of the image, and gradation expression from n = 0 to n = 48 is possible. . As a result, the same gradation number n = 0 to 48 can be expressed using the dither matrix 2 having a smaller size than the conventional threshold matrix 55 [see FIG. It becomes. In addition, as is clear from FIG. 3, in this embodiment, the dark portion from n = 0 to n = 48 grows in a round shape (in a spiral shape), so a half for making the contour appear round. This is particularly effective as a tone pattern. As described above, since the halftone pattern is defined, 12 numbers such as 4M in the second group or 12M in the third group are set to 3 before the number of pixels increases. It represents the number of pixels that have been reached.
[0034]
FIG. 4 shows a flow for defining the dither matrix 2.
[0035]
Now, the gradation processing method of the present embodiment will be described with reference to FIGS.
[0036]
In the gradation processing method of the present embodiment, the density value of multitone image data (see FIG. 1) [for example, the density values of 0 to 48 shown in FIG. The value obtained by adding the corresponding dither value of the dither matrix 2 shown in FIG. 4 is divided by the total number of pixels (pixels) in the group to which the dither value in the grouping data 3 belongs, and is any one of 0, 1, 2, 3 It is limited to an integer value, and four tones P (see FIG. 13) of 0 to 3 in a 3 × dense image are expressed according to each integer value.
[0037]
That is, as shown in FIGS. 1 and 5, first, the density value of one pixel [for example, the density value 32 shown in FIG. 12A] is fetched from the multitone image data (see FIG. 1) (step 101). . The dither value (2-4M) corresponding to the dither matrix 2 is added to this value (32) (step 102). As a result, a value of 32 + 2−4 × 3 = 22 is obtained. This value (22) is divided by the number of pixels 8 [see FIG. 2 (b)] in the group [second group [see FIG. 2 (b)]] to which the pixel belongs in the grouping data 3 (step 103). As a result, the calculation result d = 22 ÷ 8 = 2.75 is obtained (step 104). The value of the calculation result d is limited to the range of 0 to 3 (steps 105 to 108), and the decimal part is not obtained (step 109). Thereby, the calculated values 0, 1, 2, or 3 of the pixel are obtained (steps 110 to 112, steps 106 and 108), and the above is performed for all the pixels (steps 113 and 114). FIG. 6A shows halftone area gradation data 12 obtained by the above calculation.
[0038]
As shown in FIG. 6A, the area gradation data 12 has a value of binary number / pixel (00, 01, 10, 11) in which each pixel takes one of 0, 1, 2, and 3. ) Is converted into triple dense data, such as 00 → 000, 01 → 001or100, 10 → 011or110, 11 → 111, and sent to the print engine 6 by the triple dense data converter 5 shown in FIG. By printing in a form in which one pixel is divided into three dot regions, a halftone image having four levels of tone P of 0 to 3 per pixel is generated.
[0039]
Here, when the tone P is 1 and 2 as in 01 → 001or100 and 10 → 011or110, there are two possible dot patterns (see FIG. 13), but the tone processing method of this embodiment uses them. In the triple density image, black (= 1) is changed to the left or the right by looking at the value of the adjacent pixels on the left and right sides, and control is performed so that black is connected. That is, the left and right adjacent pixel values are compared, and if left ≤ right, black is shifted to the right (01 → 001, 10 → 011), while if left> right, black is shifted to the left (01 → 100, 10 → 110). To control.
[0040]
FIG. 6B shows a halftone image printed as described above.
[0041]
As can be seen from the halftone image of FIG. 6B, the same half-tone image as that of the conventional three-fold density can be obtained.
[0042]
A gradation processing method according to the second embodiment of the present invention will be described with reference to FIGS.
[0043]
This second embodiment also relates to the generation of a halftone image when using the triple density image technique. In the present embodiment, as shown in FIG. 7A, the grouping data 3 ' Is a group of four pixels in the second column as a first group, eight pixels in the first and third columns as a second group, and four pixels in the fourth column as a third group. is there.
[0044]
In the present embodiment, the dither matrix is defined by assigning the dither values of all pixels in the dither matrix to serial numbers (0, 1, 2, 3,..., For each group according to the grouping data 3 ′. n) −M × N (M = M in an M double-density image, that is, in the present embodiment, 3, N = the total number of pixels belonging to a group preceding the group).
[0045]
As a result, a dither matrix 2 ′ shown in FIG. 7B is obtained.
[0046]
The gradation processing method of the present embodiment is the same as that of the first embodiment described above except that the above grouping data 3 ′ and dither matrix 2 ′ are used.
[0047]
That is, the corresponding dither value of the dither matrix 2 ′ shown in FIG. 7B is added to the density value of the multitone image data (see FIG. 1) [for example, the density values of 0 to 48 shown in FIG. 12A]. The obtained value is divided by the total number of pixels (pixels) in the group to which the dither value belongs in the grouping data 3 ′, and is limited to an integer value of 0, 1, 2, 3 Correspondingly, 0 to 3 levels of tone P (see FIG. 13) in the 3 × dense image are expressed.
[0048]
FIG. 8A shows the halftone area gradation data 14 obtained by the above calculation, and FIG. 8B shows the halftone image.
[0049]
As can be seen from FIGS. 8A and 8B, according to the second embodiment, the concentration grows squarely (extends vertically) from n = 0 to n = 48. It is effective as a halftone pattern for making the outline look square.
[0050]
A gradation processing method according to the third embodiment of the present invention will be described with reference to FIGS.
[0051]
In the third embodiment, the dither matrix 2 ″ is composed of a 6 × 6 matrix as shown in FIG. 9C. For convenience of explanation, the positions of the pixels in the dither matrix 2 ″ are indicated by numbers from 0 to 35 as shown in FIG. Further, as can be seen from FIGS. 9A to 9C, the dither matrix 2 ″ has the dither values arranged in a spiral shape in the same manner as the dither matrix 2 of the first embodiment described above.
[0052]
In the present embodiment, as shown in FIGS. 9B and 9C, the grouping in the grouping data 3 ″ indicates each pixel (pixel) in the dither matrix 2 ″ as shown in FIG. 9B. In this way, the first, second, third, fourth, fifth, and sixth groups are grouped for each one that is equidistant from the center point of the matrix 2 ″. The first, second, third, fourth, fifth, and sixth groups are respectively 4, 8, 8, 8, 8, and 4 pixels as shown in FIG. (Pixel) is included. On the other hand, the definition method of the dither matrix 2 ″ is that the dither values of all the pixels in the dither matrix 2 ″ are assigned serial numbers (0, 1, 2, 3,. 7) −M × N (M = M in an M double dense image, N = the total number of pixels belonging to a group preceding the group).
[0053]
FIG. 10 shows a flow for defining the dither matrix 2 ″.
[0054]
As mentioned above, although this invention was described about specific embodiment, this invention is not limited to these, It is applied also about other embodiment within the range of the invention described in the claim.
[0055]
For example, the dither matrix 2 and the grouping data 3 and the like may be defined on software (program).
[0056]
In the above-described embodiment, 4 × 4 and 6 × 6 halftone (dither) matrices are used. However, a matrix of 8 × 8 or 16 × 16 may be used. This can be selected in view of the performance of the engine.
[0057]
Furthermore, although the above-described embodiment has been described with respect to halftone pattern generation when using the 3 × dense image technology, more pixels are used, such as a 7 × dense image, a 15 × dense image, and a 31 × dense image. Of course, it can be applied to fine control. In such a case, the difference between the conventional method and the method of the present invention becomes larger.
[0058]
【The invention's effect】
As described above, according to the gradation processing apparatus and method according to the present invention, compared to the conventional gradation processing method in which the dither (threshold) matrix is divided into M (M ≧ 2) dot areas. A halftone can be defined using a smaller matrix.
[0059]
Therefore, for example, even when the CPU has a circuit configuration in which the dither matrix is stored in the register, it is possible to prevent the circuit scale from becoming unnecessarily large.
[0060]
In the conventional gradation processing method, the density data density and the threshold value corresponding to the threshold matrix are compared and calculated M times per pixel, and the number of “1” s in the M frames is determined. While the process of counting and converting to a binary number is necessary, the same number of gradations can be expressed by only one series of processes.
[0061]
Therefore, the processing amount (time) of the gradation data can be reduced by that amount, so that the throughput when applied to a laser printer or the like is improved.
[0062]
As described above, a gradation processing method capable of generating a halftone image with a simpler hardware configuration and reducing the data processing amount (time) while utilizing the advantages of the M double dense image technology capable of smooth gradation expression. And an apparatus can be provided.
[Brief description of the drawings]
FIG. 1 is a functional block diagram showing a configuration of a gradation processing apparatus used in an embodiment of the present invention.
FIGS. 2A and 2B are diagrams for explaining a gradation processing method according to the first embodiment of the present invention, and FIG. 2A shows the positions of pixels in the dither matrix 2 for convenience of explanation; FIG. 4B is a diagram showing a grouping method for grouping data 3, and FIG. 4C is a diagram showing a configuration of the dither matrix 2.
FIG. 3 is a diagram showing a pattern in which the halftone density grows when the gradation expression method according to the first embodiment of the present invention is employed;
FIG. 4 is a flowchart showing a method for defining a dither matrix 2;
FIG. 5 is a flowchart for explaining an arithmetic method used in the gradation processing method according to the first embodiment of the present invention;
6A is a diagram showing halftone area gradation data obtained by the calculation of FIG. 5, and FIG. 6B is a diagram showing a printed halftone image.
7A and 7B are diagrams for explaining a gradation processing method according to a second embodiment of the present invention, where FIG. 7A is a diagram showing a grouping method of grouping data 3 ′, and FIG. 7B is a dither matrix; It is a figure which shows the structure of 2 '.
FIG. 8A is a diagram showing halftone area gradation data obtained according to the second embodiment of the present invention, and FIG. 8B is a diagram showing the printed halftone image.
FIG. 9 is a diagram for explaining a gradation processing method according to a third embodiment of the present invention, where FIG. 9A is a diagram for explaining the position of a pixel in the dither matrix 2 ″; (B) is a diagram showing a grouping method of grouping data 3 ″, and (c) is a diagram showing a configuration of a dither matrix 2 ″.
FIG. 10 is a flowchart showing a method for defining a dither matrix 2 ″.
11A and 11B are diagrams for explaining a conventional general gradation processing method (without using an M double density image technique), in which FIG. 11A is gradation data developed in a dot matrix, and FIG. Is a diagram showing the configuration of a threshold matrix, and (c) is a diagram showing halftone gradation data obtained.
FIGS. 12A and 12B are diagrams for explaining a gradation processing method using a conventional triple density image technique, where FIG. 12A is gradation data developed in a dot matrix, and FIG. 12B is a threshold matrix configuration; FIG. 6C is a diagram showing halftone gradation data obtained.
FIG. 13 is a diagram for explaining a gradation processing method using a conventional triple density image technique.
[Explanation of symbols]
1 Gradation processing device
2 Dither matrix
2 'dither matrix
2 ″ dither matrix
3 Grouping data
3 'grouping data
3 ″ grouping data
4 Calculation unit
5 3x dense data converter
6 Print engine
12 Area gradation data
51 gradation data
52 threshold matrix
53 Halftone data
54 gradation data
55 Threshold Matrix
56 Halftone data

Claims (6)

調データをディザマトリクスを用いて1画素につきM+1段階(Mは、M≧2の整数)のハーフトーンデータに変換する階調処理方法であって、
前記ディザマトリクスにおける各画素の位置により、前記各画素を第1・・・第m(m≧2)までグループ化するステップと、
前記グループごとに、すべての前記画素のディザ値を、通し番号(0,1,2,3,
・・・・,n)−M×N(N=当該グループより前のグループに属する全画素数)により定義するステップと、
前記画素ごとに、前記階調データの濃度値に前記ディザ値を加えた値を前記ディザ値が属するグループ内の全画素数で割った上で0,1,2,3,・・・,Mのいずれかの整数値に制限するステップと、を有することを特徴とする階調処理方法。
(In M, an integer of M ≧ 2) gradation data M + 1 step per pixel using the dither matrix to a gradation processing method for converting halftone data,
Grouping the pixels from the first to the mth (m ≧ 2) according to the position of each pixel in the dither matrix;
For each group, the dither values of all the pixels are assigned serial numbers (0, 1, 2, 3,
..., n)-M x N (N = the total number of pixels belonging to the group preceding the group),
For each pixel, the value obtained by adding the dither value to the density value of the gradation data is divided by the total number of pixels in the group to which the dither value belongs, and then 0, 1, 2, 3,. gradation processing method characterized by chromatic steps to limit any integer value, a.
請求項1記載の階調処理方法において、前記ディザマトリクスは、ドット集中型のものであることを特徴とする階調処理方法。  2. The gradation processing method according to claim 1, wherein the dither matrix is of a dot concentration type. 請求項1〜2記載の階調処理方法において、前記ディザマトリクスは、ディザ値が渦巻き型に配列されていることを特徴とする階調処理方法。  3. The gradation processing method according to claim 1, wherein the dither matrix has dither values arranged in a spiral shape. 請求項3記載の階調処理方法において、前記グループ化は、前記マトリクスの中心点から等距離にある画素ごとに行い、前記ディザマトリクスの定義は、すべての画素のディザ値を、通し番号(0,1,2,3,・・・・,n)−M×N(M≧2の整数、N=当該グループより前記マトリクスの中心点から近距離にあるすべてのグループに属する全画素数)により行うことを特徴とする階調処理方法。4. The gradation processing method according to claim 3, wherein the grouping is performed for each pixel equidistant from a center point of the matrix, and the dither matrix is defined by assigning dither values of all pixels to serial numbers (0, 1, 2, 3,..., N) -M.times.N ( M.gtoreq.2 integer, N = total number of pixels belonging to all groups closer to the center of the matrix than the group). The gradation processing method characterized by the above-mentioned. 請求項1〜2記載の階調処理方法において、前記ディザマトリクスは、ディザ値がライン型に配列されていることを特徴とする階調処理方法。  3. The gradation processing method according to claim 1, wherein the dither matrix has dither values arranged in a line type. 調データをディザマトリクスを用いて1画素につき0〜MのM+1段階(MはM≧2の整数)のハーフトーンデータに変換する階調処理装置であって、
前記ディザマトリクスにおける各画素の位置により、前記各画素を第1・・・第m(m≧22)までグループ化するグルーピング手段と、
前記グループごとに、前記ディザマトリクスにおけるすべての画素のディザ値を、通し番号(0,1,2,3,・・・・,n)−M×N(N=当該グループより前のグループに属する全画素数)により定義する手段と、
前記画素ごとに、前記階調データの濃度値に前記ディザ値を加えた値を前記ディザ値が属するグループ内の全画素数で割った上で0,1,2,3,・・・,Mのいずれかの整数値に制限する演算を行う演算手段と、を有することを特徴とする階調処理装置。
(The M integer of M ≧ 2) M + 1 stage gradation data 0~M per pixel using the dither matrix to a grayscale processor for converting the halftone data,
Grouping means for grouping each pixel from the first to mth (m ≧ 22) according to the position of each pixel in the dither matrix;
For each group, the dither values of all pixels in the dither matrix are assigned serial numbers (0, 1, 2, 3,..., N) −M × N (N = all the groups belonging to the previous group). Means defined by the number of pixels),
For each pixel, the value obtained by adding the dither value to the density value of the gradation data is divided by the total number of pixels in the group to which the dither value belongs, and then 0, 1, 2, 3,. gradation processing apparatus characterized by having a calculating means for performing an operation that limits any integer value.
JP16015797A 1997-06-17 1997-06-17 Gradation processing method and apparatus Expired - Fee Related JP3666186B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16015797A JP3666186B2 (en) 1997-06-17 1997-06-17 Gradation processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16015797A JP3666186B2 (en) 1997-06-17 1997-06-17 Gradation processing method and apparatus

Publications (2)

Publication Number Publication Date
JPH118766A JPH118766A (en) 1999-01-12
JP3666186B2 true JP3666186B2 (en) 2005-06-29

Family

ID=15709110

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16015797A Expired - Fee Related JP3666186B2 (en) 1997-06-17 1997-06-17 Gradation processing method and apparatus

Country Status (1)

Country Link
JP (1) JP3666186B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10041624C2 (en) 1999-09-20 2003-09-11 Hewlett Packard Co Method and storage medium for controlling a processor for generating a scaled target pixel image

Also Published As

Publication number Publication date
JPH118766A (en) 1999-01-12

Similar Documents

Publication Publication Date Title
US4259694A (en) Electronic rescreen technique for halftone pictures
JP3822659B2 (en) Method and apparatus for processing color image
EP0708415A2 (en) Four-quadrant scaling of dot matrix data
JP4002405B2 (en) Image conversion method, image conversion apparatus, and image conversion program
JP3666186B2 (en) Gradation processing method and apparatus
US6757079B1 (en) Method and apparatus for forming multi-level dither images from an input digital image
JPH0324673A (en) Method for processing image data
US20070058203A1 (en) System and method for generating low visibility multi-bit halftone
JP3539552B2 (en) Image processing device
JP2002225381A (en) Image processor and image processing method
CN100385909C (en) Error Diffusion Halftone Image Processing System and Method
JP3015049B2 (en) Image data processing method
KR100440944B1 (en) Binary image resolution reducing method and device simplifying resolution reduction algorithm
JP3363721B2 (en) Halftone processing method and image processing apparatus
JP2001309188A (en) Image processing apparatus and image processing method
JP3974271B2 (en) Image processing method and image processing apparatus
JP2641393B2 (en) Digital halftone screen generation method and apparatus
JP2007195108A (en) Reduced moire removal method, reduced moire removal apparatus, and printed matter
JP4965378B2 (en) Image forming method and image forming system
JP2005223462A (en) Proof image generating apparatus, and proof image generating method and program
JP3589415B2 (en) Image processing device
JP4158652B2 (en) Image processing apparatus, image processing method, and image processing program
JP2785735B2 (en) Character pattern output device
JP2005223463A (en) Proof image generating apparatus, and proof image generating method and program
JPH1023241A (en) Gradation character output device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041214

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041221

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050218

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050328

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090415

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090415

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100415

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110415

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110415

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees