JPH0334680A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPH0334680A
JPH0334680A JP1167082A JP16708289A JPH0334680A JP H0334680 A JPH0334680 A JP H0334680A JP 1167082 A JP1167082 A JP 1167082A JP 16708289 A JP16708289 A JP 16708289A JP H0334680 A JPH0334680 A JP H0334680A
Authority
JP
Japan
Prior art keywords
window
threshold value
pixel
interest
threshold
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.)
Granted
Application number
JP1167082A
Other languages
Japanese (ja)
Other versions
JP2756308B2 (en
Inventor
Nobutaka Miyake
信孝 三宅
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP1167082A priority Critical patent/JP2756308B2/en
Publication of JPH0334680A publication Critical patent/JPH0334680A/en
Application granted granted Critical
Publication of JP2756308B2 publication Critical patent/JP2756308B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PURPOSE:To eliminate dots in a low-density part and a link of void in a high- density part in the error diffusion method and a chain texture in middle and low-density parts by providing an already binarized window in the periphery of a weighted picture element and changing the binarization threshold of the noticed picture element based on the dot pattern in the window. CONSTITUTION:A window means 10 which demarcates the area of an already binarized signal in the periphery of the noticed picture element, a threshold determining means which determines the threshold for binarization of the noticed picture element in accordance with the window means 10 and the density level of the noticed picture element of an inputted multilevel picture signal, and a binarizing means 30 which binarizes the weighted picture element by the error diffusion method in accordance with this threshold are provided. A pattern, especially, a link of dots in an oblique direction in the window is detected, and the density level of the original signal of the weighted picture element is discriminated to recognize the chain of the texture, and the threshold of the weighted picture element is changed in accordance with the texture. Thus, dots and a link of void as well as an uncomfortable chain texture in middle and low-density parts are eliminated.

Description

【発明の詳細な説明】[Detailed description of the invention]

[産業上の利用分野] 本発明は多値画像情報を該多値画像情報より少ない多値
画像情報、或は2値画像情報に変換する画像処理変装置
に関する。 [従来の技術1 従来より、1色、あるいは複数色の着色材を有したり、
又、ドツト径を変調したりする手段により、2値あるい
は3〜4値程度での印刷出力が可能なプリンタがある。 これに対して、例えばイメージスキャナ等の画像入力装
置から入力される画像情報は、一般にこのプリンタより
出力可能な画像情報の値数より多い。 このため、従来は、この入力装置よりの多値画像情報を
プリンタ等で出力可能な値数の情報に変換しなければな
らない。即ち、入力装置よりの入力多値画像情報(例え
ば1色、1画素あたり数ピットル数十ビット程度)を、
プリンタで出力可能な、2値あるいは3〜4値程度の画
像情報に変換しなければならない。 従来このようなプリンタよりプリントアウトさせるため
の画像情報の一般的な変換方法として、例えば、中間調
の表現手段には、一般的にデイザ法、濃度パターン法、
誤差拡散法等の変換方法が採用されたい・た。
[Industrial Field of Application] The present invention relates to an image processing device for converting multi-value image information into multi-value image information having a smaller amount than the multi-value image information, or into binary image information. [Conventional technology 1 Conventionally, colorants of one color or multiple colors have been used,
Furthermore, there are printers that can print out in binary or 3-4 values by means of modulating the dot diameter. On the other hand, the number of image information input from an image input device such as an image scanner is generally greater than the number of values of image information that can be output from this printer. For this reason, conventionally, multivalued image information from this input device must be converted into information with a number of values that can be output by a printer or the like. That is, input multivalued image information from an input device (for example, one color, several pits per pixel, about several tens of bits),
It must be converted into binary or 3-4 value image information that can be output by a printer. Conventionally, as a general method of converting image information for printing out from such a printer, for example, the means of expressing halftones generally include a dither method, a density pattern method,
A conversion method such as error diffusion method should be adopted.

【発明が解決しようとしている課題】[Problem to be solved by the invention]

しかし、従来の変換方法においては、以下の問題点を有
している。 即ち、デイザ法においては、解像度と階調性が背反条件
となり高い階調性を得ようとすれば、より大きなデイザ
マトリクスを組まなければならない。 また、濃度パターン法においても原情報の1画素を複数
の画素に振り分けるため、解像度の低下を生じてしまう
。 そこで解像度、階調性の両方ともある程度満足する2値
化手法として、誤差拡散法が提案されている。しかし、
この手法の欠点として、ドツト及び白抜けのつながりや
、規則的に現われる鎖状の不快なテクスチャがあり、画
像品位を著しく劣化させているという問題点があった。 また、例えばインクジェット記録装置等で1色あたり濃
インク、淡インクと2種の着色材を保持し、即ち1色あ
たり3値出力が可能な出力機器を考えた場合、インクの
色味等の相違より、従来の3値誤差拡散法では、ある濃
度変動の領域でトーンジャンプを起こして結果として疑
似輪郭を生じたりするという問題点があった。 [課題を解決するための手段] 本発明は上述の課題を解決することを目的とし2て成さ
れたもので、上述の課題を解決する一手段として以下の
構成を備える。 即ち、多値画像情報を誤差拡散法を用いて2値信号へ変
換する画像処理変装置において、注目画素周辺に既に2
値化したウィンドウを設け、該ウィンドウ内のドツトパ
ターンを検知し検知パターンに基づいて注目画素の2値
化閾値を変更する閾値変更手段を備える。 また、多値画像情報を該多値画像情報より該多値画像情
報より少ない多値画像情報に変換する誤差拡散法による
画像処理変装置において、既に少ない画素信号へ変換し
た、変換信号の注目画素近傍にウィンドウを設け該ウィ
ンドウ内のドラ1−パターンを検知し検知ドツトパター
ンに基づいて注目画素の誤差拡散法による閾値を変更す
る閾値変更手段を備える。 [作用] 以上の構成において、多値画像情報を誤差拡散法により
2値化する際に、既に2値化の終了した周囲画素のウィ
ンドウを設け、ウィンドウ内のパターン、特に斜め方向
のドツトのつながりを検知して、かつ注目画素の原信号
の濃度レベルを判定することによりテクスチャの鎖を認
識し、そのテクスチャに応じて注目画素の閾値な変更す
ることにより、従来から非常に問題となっていた誤差拡
散法におけるドツト及び白抜けのつながりや、中・低濃
度部での不快な鎖状のテクスチャを安価に、かつ簡便な
構成で消滅させろことができる。 また、ドツトのつながりをテクスチャが又はLともとの
画像の原信号なのかを検知することにより、元の画像情
報を失わずに良好かつ適正な2値化が行える。 更に、多値画像情報(数ピットル10数ビット/画素)
を多値誤差拡散法により1画素あたり3値、及び4値程
度に変換する中間調表現手段において、変換後の信号に
ウィンドウを設け、ウィンドウ内のドツトのつながりを
検知して、発生しているテクスチャを認識し、そのテク
スチャに応じて注目画素の閾値を変更することにより、
 従来から非常に問題となっていた多値誤差拡散法にお
けるドツト、及び白抜けのつながりや、中、低濃度部で
の不快な鎖状のテクスチャを安価に、かつ簡便な方法で
消滅することができる。 また、ウィンドウ内の等レベルのドツトの集合体の切り
換え部を検知、認識し、同様に注目画素の閾値を変換さ
せることにより、3値、4値程度の出力が可能な、いわ
ゆる多値プリンタ等の出力で着色材の切り換え等により
、問題となる疑似輪郭も減少させることができる。 また、ウィンドウ内テクスチャを原信号なのか、中間調
処理によって発生したものなのかを判別することにより
、元の画像情報を失わずに、良好で差異的な中間調処理
が実現できる。 [実施例] 以下、図面を参照して本発明に係る一実施例を詳細に説
明する。 〔第1実施例1 第1図は本発明に係る一実施例の機能構成を示す図であ
り、本実施例の画像処理変装置は多値画像信号を2値画
像信号に変換して出力する画像処理変装置である。 図中、−点鎖線ブロック100は外部から入力した多値
画像信号を2値化処理して2値画像信号として出力する
画像処理変装置を示す。第1図に示した画像処理変装置
100は、あらゆる画像処理手段の2値化制御機能部分
のみを示したものであり、他の必要構成は図より省略し
ている。 この画像処理変装置100部分を、例えばホストコンピ
ュータ部(ハードウェアもしくはソフトウェアとして)
やプリンタなどの出力機器内部や、イメージスキャナな
どの入力機器内部に組み込むことら可能である。 画像処理変装置100において、10は注目画素周辺の
、既に2値化された信号の領域区分を施すウィンドウ手
段、20はウィンドウ手段10及び入力した多値画像信
号の注目画素の濃度レベルに従い、注目画素の2値化の
ための閾値を決定する閾値決定手段、30は閾値決定手
段20で決定された閾値に従い誤差拡散法により注目画
素の2値化処理を行なう2値化手段である。 この2値化手段30により2値化された2値信号は、ウ
ィンドウ手段10にも出力され、以後の多値画像信号の
2値化のために用いられる。 第2図に本実施例の第1図に示す機能を達成するブロッ
ク構成を示す。 第2図において、1はROM7に格納された例えば第3
図に示す制御手順に従い本実施例装置全体の制御を司ど
る中央演算処理装置(CPU)、2は接続された多値画
像信号を出力等する外部機器8とのインタフェースを司
るIloである。このl102により外部機器8よりの
多値画像信号を入力する。3は副走査方向にウィンドウ
分の2値化された信号のパターン化処理を行なうウィン
ドウ内パターン化回路、4は2値化のための閾値を決定
する閾値決定回路、5は閾値決定回路4により決定され
た閾値に従い、誤差拡散法による2値化処理を行なう誤
差拡散回路、6はRAM、7は上述したプログラム等を
記憶するROMである。また、8は多値画像信号等を出
力する外部機器である。 以下、以上の構成を備える本実施例の画像処理を、第3
図のフローチャートを参照して説明する。 本実施例装置は、外部機器8より入力される2値化すべ
き多値画像信号のまず最初の数ライン0迄は通常の誤差
拡散法にて2値化する。これは、既に2値化された信号
が無いと本実施例に特有に2値化処理のためのウィンド
ウをかけれないからである。副走査方向にウィンドウに
用いるライン分の通常の誤差拡散法による2値化処理が
終了すると、第3図の処理に移行し、まずステップS1
でこの2値化した信号をウィンドウ内パターン化回路3
に送り、ウィンドウ内データのパターンを読み込む。こ
のウィンドウ場合のウィンドウの構成の一例を第4図に
示す。 第4図(A)において、“*”印は注目画素を示し、四
角いマスで囲ったa −hは既に2値化した2値化信号
のウィンドウであり、マスで囲まず数字で示したのが誤
差拡散法による一般的に良く用いられている誤差配分を
示す拡散マトリクスである。また、図中に矢印で示した
のは2値化走査方向を示している。 第4図(A)に示したウィンドウでは、a〜hまでの8
個の2値化信号を取り込む構成になっている。そして、
この2値化データを第4図(B)に示す様にa〜h迄の
データとして並べることによって、以後ウィンドウデー
タをlバイトデータとして扱うことができる。このウィ
ンドウはドツトの斜め方向のつながりを検出できるよう
な構成にするのが好ましい。 即ち、−殻間に誤差拡散法による2値化処理では、ハイ
ライト部のドツト、及び白抜けのつながりは斜め方向に
発生することが多く、中・低濃度部での鎖状の不快なテ
クスチャも斜め方向にドツトが並ぶことによって規則的
なパターンを作り出しているからである。既に2値化処
理の済んだ13号が、ウィンドウ内で斜めにドツトが並
んでいるか否かを検知し、それを注目画素の閾値ヘフィ
ードバックして、それ以上に斜めドツトがつながるのを
抑える構成にするべきである。 第4図(B)に示す様な1バイトデータは、256通り
のパターンが発生する可能性があるが、斜め方向のドツ
トがつながる数パターンの時のみを閾値変化の対象にし
た方が良い。 続くステップS2で、注目画素の原信号(隣接画素の誤
差分加算以前の)のレベルを判定する。 ここでは、同時に斜め方向にドツトがつながっている場
合でも、原信号がもともと斜め線の画像情報なのか、そ
れとも誤差拡散法によりたまたま斜めにドツトがつなが
ったのかの判定も同時に行ない見極める。即ち、注目画
素の原信号の濃度レベルが高濃度レベル(例えば、入力
画像信号が8ビット多値前号で、「0」を白レベル、r
255Jを黒レベルとした場合には、r200J以上の
レベル)にあるか否かを判定する。もし高濃度レベルに
あれば、原信号がもともと斜め線の画像信号であるか、
又はエツジ部にあたる可能性が強イト判断でき、高濃度
レベルでなければハイライト部でのドツトのつながりに
よる斜め線、又は中・低濃度部での鎖状テクスチャの鎖
の一部と見なすことができる。そこで、次のステップS
3で高濃度レベル外であれば、斜めドツトのつながり、
及び鎖を断ち切るために、閾値決定回路4において閾値
を決定する。その後ステップS4で隣接画素の誤差分を
加算し、ステップS5で誤差拡散回路5により2値化処
理を行なう。 そして、ステップS6にて全信号終了か否かを判断し、
全信号が終了していなければステップS7に進み、注目
画素を1画素分走査してステップS1に戻り、以後同様
の動作手順を繰り返して次の注目画素の2値化処理を行
なう。 そして全ての画素に対する2値化処理が終了するとこの
処理を終了する。 ここで、数ライン分のラインバッファで拡散する誤差分
、及び2値化してウィンドウ処理するために一時格納さ
れる2値信号等はRAM6の所定領域に一時格納される
。また、ROM7はプログラムのほかに拡散マトリクス
等も記憶しているが、このROMT内にウィンドウ内の
パターン及び注目画素の濃度レベルに伴う閾値の決定に
ためのテーブルを予め記憶・保存し、閾値の決定をこの
テーブルを参照して行なった方がより効率的である。 第4図に示した本実施例のウィンドウで閾値を変更した
例を第5図に示す。 第5図(A)の例は、第4図(A)のC1jのみ「l」
 (黒)で、ウィンドウ内の他のドツトは「O」 (白
)である、即ちウィンドウデータは(24) となる。 注目画素の原信号は、80(8ビツト多値でrOJが白
レベル、r255Jが黒レベルとする)とすると、中濃
度域での鎮状のテクスチャによる鎖の一部である可能性
が高い。そのために注巨1画素の閾値を上昇させてドツ
トのランダム性を付加する様に変化させる。 第5図(B)の例は、第4図(A)のす、d。 e、gが「l」 (黒)でウィンドウ内の他のドツトは
「0」 (白)である、即ちウィンドウデータは(5A
) )lとなる。注目画素の原信号をlOOとすると、
第5図(A)の例と同様に、鎖のテクスチャ内部と考え
られる。つまり、注目画素が「O」 (白)となれば、
注目画素の右隣の画素に正の誤差分が伝播されて、右隣
の画素はrlJ(黒)となりやすくなり、鎖がつながっ
てしまう可能性がある。そこで本実施例では閾値の注目
画素の閾値を下降させて、注目画素な「1」 (黒)に
なりやすくする(実際は注目画素に誤差分が付加される
のでrlJになるかrOJになるかは不明である)。 第5図(C)の例は、第5図(A)のウィンドウデータ
と同じ(24)Hである。しかし、注目画素の原信号が
220であることにより、中、低濃度域に鎖が発生した
可能性が低く、この場合には閾値な通常の誤差拡散法と
同様に中間レベル(127)のまま固定する。 以上の様に、ウィンドウ内のlバイトデータと注目画素
の原信号により閾値を決定するわけであるが、閾値はハ
イ(180)、ミドル(127)及びロウ(70)など
の様に、数段階に分かれている構成でも良い。また、前
述した様に、あらかじめウィンドウの1バイトデータと
閾値との対応をテーブルとしてROMT中に格納させる
方式としてもよい。 〔第2実施例〕 以上のウィンドウ構成に変え、第6図に示すウィンドウ
構成としても同様の効果が得られ1本発明の適用範囲に
含まれる。 第6図(A)は、第4図(A)と同じ1バイトデータに
置き換えれるa〜h迄の8個のデータでウィンドウを設
けている例である。 第6図(A)のウィンドウは、第4図(A)のウィンド
ウに比べ、注目画素の上、左の情報も加味されるため、
より周囲のテクスチャ認識には有効である。但し、低濃
度部でのドツトのつながりには、斜め方向の情報を多く
取り入れる第4図(A)のウィンドウとの差異は無く、
或は第4図(A)の方法がより適している可能性もあり
、両方法の複合としてもよい。 第6図(B)は、よりウィンドウのサイズを大きくとっ
て、よりテクスチャの鎖、及びドツトのつながりを認識
できる様にした例である。 このウィンドウの実施例は、a〜0までの15個のデー
タから2バイトデータを作成する構成である。そして、
比較器61により注目画素の原信号が高濃度レベル(例
えば8ビツトの多値画像信号で200以上(但し、r2
55Jを黒レベル、「0」を白レベルとする))である
か否かを比較し、高濃度レベルなら「O」、否ならrl
Jとして出力し、これを上位バイトのMSBにフラグと
して配置してもよい。この構成にした方がROM7内で
閾値対応のテーブルを作る際により効率的である。 このフラグ方式は、1バイトデータのウィンドウにおい
てもウィンドウサイズを7個のデータにすれば同様に構
成することができる。 [第3実施例] 第7図に本発明に係る第3実施例の、閾値決定手段に乱
数を応用した場合の例を示す。 第7図に示す第3実施例においては、テクスチャの認識
に応じて、注目画素の閾値を一定値にてアップ・ダウン
させていると、この規則性のために別のテクスチャが発
生する可能性がある(テクスチャのノイズとしては、未
実施例のものよりは格段に減少するが)点に鑑みて成さ
れたものである。 第3実施例では、テクスチャの認識に応じて、注目画素
の閾値を一定値にてアップ・ダウンさせる時に、閾値変
化を乱数を用いて、若干のランダム性を付加する。 第7図においては、閾値のレベルをrxJとして、閾値
をハイの状態(アップさせたい時)、ミドルの状態、ロ
ウの状態(ダウンさせたい時)の3状態に分類する。そ
して、それぞれ閾値の確率をfl  (x)  f、(
x)  fz (x)とおいた。ここで、f、(x)ば
170のレベルを中心とした20OA−127間の関数
、f−(x)は80のレベルを中心とした50−127
間の関数、fs(x)は127を中心とした100〜1
50間の関数とする。 閾値は、乱数により決定されるものとして、乱数の発生
確率を図中のfl (x)、t2 (x)+f’3 (
x)の曲線の如く設定しておくと、例えば閾値をアップ
させた状態では、170固定ではなく、170近辺にま
で閾値が決定される可能性が生じる。従って、ここで、
ランダム性が発生することになる。 また、乱数の発生確率を変化させているため、f、(x
)では170になる可能性が最も高くなり、170より
離れるに従って発生確率が減少する。このため、ランダ
ムノイズが出にくくなり、砂地画像が避けられることに
なる。 また、本実施例ではf−(x)も閾値127を中心とし
た関数として設けたが、コストの関係からf、(x)は
127固定(即ち、デルタ関数δ(x−12)=1)と
しても良い。 この様に第3実施例によれば、閾値に若干のランダム性
を持たせることで、テクスチャ、及びドツトのつながり
が防止できる。
However, the conventional conversion method has the following problems. That is, in the dither method, resolution and gradation are contradictory conditions, and if high gradation is to be obtained, a larger dither matrix must be constructed. Furthermore, in the density pattern method, one pixel of original information is divided into a plurality of pixels, resulting in a decrease in resolution. Therefore, an error diffusion method has been proposed as a binarization method that satisfies both resolution and gradation to some extent. but,
The disadvantages of this method include the connection of dots and white spots, and the unpleasant chain-like texture that appears regularly, which significantly deteriorates the image quality. For example, when considering an output device such as an inkjet recording device that holds two types of coloring materials, a dark ink and a light ink, for each color, that is, can output three values per color, differences in ink color, etc. Therefore, the conventional three-level error diffusion method has a problem in that tone jumps occur in a certain density variation area, resulting in false contours. [Means for Solving the Problems] The present invention has been made with the aim of solving the above-mentioned problems, and includes the following configuration as one means for solving the above-mentioned problems. That is, in an image processing conversion device that converts multivalued image information into a binary signal using the error diffusion method, there are already two
A digitized window is provided, and a threshold value changing means is provided for detecting a dot pattern within the window and changing the binarization threshold value of the pixel of interest based on the detected pattern. In addition, in an image processing conversion device using an error diffusion method that converts multivalued image information into multivalued image information that is less than the multivalued image information, the pixel of interest of the converted signal that has already been converted into fewer pixel signals A window is provided in the vicinity, and a threshold value changing means is provided for detecting a dot pattern within the window and changing the threshold value of the pixel of interest based on the error diffusion method based on the detected dot pattern. [Operation] In the above configuration, when multivalued image information is binarized by the error diffusion method, a window of surrounding pixels that have already been binarized is provided, and the pattern within the window, especially the connection of diagonal dots, is By detecting the texture and determining the density level of the original signal of the pixel of interest, the chain of texture is recognized, and the threshold value of the pixel of interest is changed according to the texture. Connections between dots and white spots in the error diffusion method and unpleasant chain-like textures in medium and low density areas can be eliminated at low cost and with a simple configuration. Furthermore, by detecting whether the dot connections are textures or L or the original signal of the original image, good and appropriate binarization can be performed without losing the original image information. Furthermore, multivalued image information (several pittles, 10 bits/pixel)
In the halftone expression means that converts the signal into 3 or 4 values per pixel using the multilevel error diffusion method, a window is provided in the converted signal and the connection of dots within the window is detected. By recognizing the texture and changing the threshold of the pixel of interest according to the texture,
It is now possible to eliminate the dots and connections between white spots and unpleasant chain-like textures in medium and low-density areas using a simple and inexpensive method, which have traditionally been very problematic in the multilevel error diffusion method. can. In addition, so-called multi-value printers can detect and recognize the switching part of a collection of equal-level dots in a window, and convert the threshold value of the pixel of interest in the same way to output approximately 3-value or 4-value data. Problematic false contours can also be reduced by switching the coloring material in the output. Further, by determining whether the texture in the window is an original signal or one generated by halftone processing, good and differential halftone processing can be realized without losing the original image information. [Example] Hereinafter, an example according to the present invention will be described in detail with reference to the drawings. [First Embodiment 1 FIG. 1 is a diagram showing the functional configuration of an embodiment according to the present invention. The image processing conversion device of this embodiment converts a multi-valued image signal into a binary image signal and outputs it. It is an image processing transformation device. In the figure, a dashed-dotted line block 100 indicates an image processing conversion device that binarizes a multivalued image signal input from the outside and outputs it as a binary image signal. The image processing conversion device 100 shown in FIG. 1 shows only the binarization control functional portion of all image processing means, and other necessary components are omitted from the figure. This image processing conversion device 100 is configured as, for example, a host computer section (as hardware or software).
It is possible to incorporate it into an output device such as a computer or a printer, or an input device such as an image scanner. In the image processing and modification device 100, 10 is a window means for performing area segmentation of the already binarized signal around the pixel of interest, and 20 is the window means 10 and the input multivalued image signal is divided into regions according to the density level of the pixel of interest of the input multivalued image signal. Threshold determining means 30 determines a threshold for binarizing a pixel, and numeral 30 is a binarizing means that performs a binarizing process on the pixel of interest using an error diffusion method in accordance with the threshold determined by the threshold determining means 20. The binary signal binarized by the binarization means 30 is also output to the window means 10, and is used for subsequent binarization of the multi-valued image signal. FIG. 2 shows a block configuration for achieving the functions shown in FIG. 1 of this embodiment. In FIG. 2, 1 is stored in the ROM 7, for example, the third
A central processing unit (CPU) 2 controls the entire apparatus of this embodiment according to the control procedure shown in the figure, and Ilo 2 controls an interface with a connected external device 8 that outputs a multivalued image signal. A multivalued image signal from the external device 8 is input through this l102. 3 is an in-window patterning circuit that performs patterning processing on the binarized signal for a window in the sub-scanning direction; 4 is a threshold determining circuit that determines a threshold for binarization; and 5 is a threshold determining circuit 4. An error diffusion circuit performs binarization processing using an error diffusion method according to a determined threshold value, 6 is a RAM, and 7 is a ROM that stores the above-mentioned programs and the like. Further, 8 is an external device that outputs a multivalued image signal and the like. Hereinafter, the image processing of this embodiment having the above configuration will be explained in the third section.
This will be explained with reference to the flowchart shown in the figure. The apparatus of this embodiment binarizes the first few lines of the multivalued image signal to be binarized inputted from the external device 8 up to 0 using the normal error diffusion method. This is because if there is no already binarized signal, a window for binarization processing cannot be applied, which is unique to this embodiment. When the binarization process using the normal error diffusion method for the lines used for the window in the sub-scanning direction is completed, the process shifts to the process shown in FIG. 3, and first, step S1
This binary signal is converted into a window pattern circuit 3.
and reads the pattern of data in the window. An example of the window configuration in this case is shown in FIG. In Fig. 4(A), the "*" mark indicates the pixel of interest, and the windows a to h surrounded by square cells are the windows of the binarized signal that have already been binarized, and the windows not enclosed by squares and indicated by numbers are is a diffusion matrix showing commonly used error distribution using the error diffusion method. Furthermore, the arrows in the figure indicate the binarization scanning direction. In the window shown in Figure 4(A), 8
It is configured to take in two binary signals. and,
By arranging this binarized data as data a to h as shown in FIG. 4(B), the window data can be treated as 1-byte data from now on. Preferably, this window is configured so that diagonal connections of dots can be detected. In other words, in binarization processing using the error diffusion method between shells, dots in highlighted areas and connections between white spots often occur in diagonal directions, resulting in an unpleasant chain-like texture in medium and low density areas. This is because dots are lined up diagonally to create a regular pattern. No. 13, which has already undergone binarization processing, detects whether or not dots are lined up diagonally within the window, and feeds this back to the threshold value of the pixel of interest to prevent further diagonal dots from connecting. Should be. For 1-byte data as shown in FIG. 4(B), 256 patterns may occur, but it is better to change the threshold only when there are several patterns in which diagonal dots are connected. In the subsequent step S2, the level of the original signal of the pixel of interest (before addition of errors of adjacent pixels) is determined. Here, even if dots are connected diagonally, it is determined at the same time whether the original signal is originally image information of a diagonal line or whether the dots are connected diagonally by chance using the error diffusion method. That is, the density level of the original signal of the pixel of interest is a high density level (for example, if the input image signal is an 8-bit multivalued signal, "0" is the white level, r
If 255J is the black level, it is determined whether the black level is at r200J or higher. If it is at a high density level, whether the original signal is originally a diagonal line image signal or
Or, it can be determined that there is a strong possibility that it is an edge part, and if the density level is not high, it can be considered as a diagonal line due to the connection of dots in the highlight part, or as part of a chain of a chain-like texture in the medium or low density part. can. Therefore, the next step S
If 3 is outside the high concentration level, the diagonal dots will connect,
In order to break the chain, a threshold value is determined in the threshold value determination circuit 4. Thereafter, in step S4, errors of adjacent pixels are added, and in step S5, the error diffusion circuit 5 performs binarization processing. Then, in step S6, it is determined whether all the signals have ended,
If all the signals have not been completed, the process advances to step S7, the pixel of interest is scanned by one pixel, and the process returns to step S1. Thereafter, the same operation procedure is repeated to perform binarization processing on the next pixel of interest. When the binarization process for all pixels is completed, this process ends. Here, errors diffused by the line buffer for several lines, binary signals temporarily stored for binarization and window processing, etc. are temporarily stored in a predetermined area of the RAM 6. In addition to the program, the ROM 7 also stores diffusion matrices, etc., and a table for determining the threshold value according to the pattern in the window and the density level of the pixel of interest is stored and saved in advance in this ROM7. It is more efficient to make decisions by referring to this table. FIG. 5 shows an example in which the threshold value is changed in the window of this embodiment shown in FIG. 4. In the example of FIG. 5(A), only C1j in FIG. 4(A) is "l".
(black), and the other dots in the window are "O" (white), ie, the window data is (24). Assuming that the original signal of the pixel of interest is 80 (8-bit multivalue, rOJ is the white level and r255J is the black level), there is a high possibility that it is part of a chain due to a ridge-like texture in the medium density region. For this purpose, the threshold value of one large pixel is increased to add randomness to the dots. The example in FIG. 5(B) is shown in FIG. 4(A). e, g are "l" (black) and other dots in the window are "0" (white), that is, the window data is (5A
) )l. If the original signal of the pixel of interest is lOO, then
Similar to the example in FIG. 5(A), this is considered to be inside the texture of the chain. In other words, if the pixel of interest is "O" (white),
A positive error is propagated to the pixel to the right of the pixel of interest, and the pixel to the right tends to become rlJ (black), which may lead to a chain. Therefore, in this embodiment, the threshold value of the pixel of interest is lowered to make it easier for the pixel of interest to become "1" (black). unknown). The example in FIG. 5(C) is (24)H, which is the same as the window data in FIG. 5(A). However, since the original signal of the pixel of interest is 220, it is unlikely that chains occur in the middle and low density regions, and in this case, the threshold remains at the middle level (127) as in the normal error diffusion method. Fix it. As mentioned above, the threshold value is determined based on the 1-byte data in the window and the original signal of the pixel of interest, and the threshold value is divided into several levels such as high (180), middle (127), and low (70). It is also possible to have a configuration that is divided into . Further, as described above, a method may be adopted in which the correspondence between 1-byte data of the window and the threshold value is stored in advance in the ROMT as a table. [Second Embodiment] In place of the window configuration described above, the window configuration shown in FIG. 6 can provide similar effects and is included in the scope of the present invention. FIG. 6(A) is an example in which a window is provided with eight pieces of data from a to h, which are replaced with the same 1-byte data as in FIG. 4(A). Compared to the window in FIG. 4(A), the window in FIG. 6(A) also takes into account the information above and to the left of the pixel of interest.
This is more effective for recognizing surrounding textures. However, there is no difference in the connection of dots in the low-density area compared to the window in Figure 4 (A), which incorporates a lot of information in the diagonal direction.
Alternatively, the method shown in FIG. 4(A) may be more suitable, or a combination of both methods may be used. FIG. 6(B) is an example in which the window size is made larger so that texture chains and dot connections can be more clearly recognized. The embodiment of this window is configured to create 2-byte data from 15 pieces of data from a to 0. and,
The comparator 61 detects that the original signal of the pixel of interest is at a high density level (for example, an 8-bit multivalued image signal of 200 or more (however, r2
55J is the black level and "0" is the white level)), and if it is a high density level, it is "O", and if it is not, it is rl.
J, and this may be placed in the MSB of the upper byte as a flag. This configuration is more efficient when creating a table corresponding to threshold values in the ROM 7. This flag system can be configured similarly even in a 1-byte data window by setting the window size to 7 pieces of data. [Third Embodiment] FIG. 7 shows an example of a third embodiment of the present invention in which random numbers are applied to the threshold value determining means. In the third embodiment shown in FIG. 7, if the threshold value of the pixel of interest is increased or decreased by a constant value according to texture recognition, there is a possibility that another texture will occur due to this regularity. This was done in view of the fact that the texture noise is significantly reduced compared to the unexampled example. In the third embodiment, when the threshold value of the pixel of interest is increased or decreased by a constant value in accordance with texture recognition, a random number is used to change the threshold value to add some randomness. In FIG. 7, the threshold level is rxJ, and the threshold is classified into three states: high state (when you want to raise it), middle state, and low state (when you want to lower it). Then, let the probabilities of the threshold values be fl (x) f, (
x) fz (x). Here, f, (x) is a function between 20OA-127 centered on the 170 level, and f-(x) is a function between 50-127 centered on the 80 level.
The function between fs(x) is 100 to 1 centered at 127
Let it be a function between 50 and 50. Assuming that the threshold value is determined by random numbers, the probability of occurrence of random numbers is expressed as fl (x), t2 (x) + f'3 (
If the threshold value is set as shown in the curve x), for example, when the threshold value is increased, there is a possibility that the threshold value is not fixed at 170 but is determined to be around 170. Therefore, here:
Randomness will occur. Also, since the probability of random number generation is changed, f, (x
), the probability of reaching 170 is highest, and the probability of occurrence decreases as the distance from 170 increases. Therefore, random noise is less likely to occur, and sandy images can be avoided. Furthermore, in this embodiment, f-(x) is also provided as a function centered around the threshold value 127, but due to cost considerations, f and (x) are fixed at 127 (i.e., delta function δ(x-12)=1). It's good as well. In this way, according to the third embodiment, texture and dot connections can be prevented by giving the threshold some randomness.

【第4実施例】 また、以上の説明におけるテクスチャにおいて、テクス
チャ(特に斜めドツトのつながり)が発生した数をカウ
ントしていき、そのカウント数も閾値決定の手段に用い
ることにより、更に良好す画像処理が行なえる。このテ
クスチャが発生した数をカウントしていき、そのカウン
ト数も閾値決定の手段に用いるよう構成した本発明に係
る第4実施例のブロック構成図を第8図に示す。 第8図において、上述したは第2図と同様構成には同一
番号を付し、詳細説明を省略する。第8図は、第2図の
実施例にカウンタ9が付加機能として加わった構成であ
る。 即ち、本実施例では、あるテクスチャが発生した場合に
その発生数をカウントするため、そのカウント数が多く
なるに従って鎖状のテクスチャのノイズが大きいことを
示している。そこで、カウント数が多くなるに従って、
閾値のアップ・ダウン量を増やし、よりドツトのつなが
りを阻止できる様にする。 この様な処理をすることにより、カウンタ9により2値
化信号のウィンドウを等偏曲に広く持ったものと等しく
なり、安価により正確なテクスチャ認識、及びそれに伴
なう閾値変化が実行できる。 [第5実施例] 上述した第3図の処理をより高速処理可能に構成した場
合の制御を第9図に示す。 第9図の処理は本発明の第5実施例を示し、第3図に示
したフローチャートよりも高速処理を実現している。 第5実施例においては、まずステップSllで注目画素
の原信号が高濃度部か否か(200以上か否か)を判定
する。そして、高濃度部であればステップS15に進み
、閾値を固定にしたままの通常の誤差拡散法を行なう。 高濃度部でない場合に初めてステップS12に進み、以
下本実施例に特有のウィンドウ処理を行なう。まずステ
ップS12で第3図のステップS1と同様のウィンドウ
パターン読み込み処理を行ない、続くステップS13に
おいてウィンドウ内のテクスチャパターンを判別する。 もしウィンドウ内に斜め方向にドツトが連続してなけれ
ばステップ515に進み、固定閾値のまま誤差拡散法を
行なう。 一方、斜めドツトの連続、つまりテクスチャの芽がある
と、ステップS14で第3図のステップS2、ステップ
S3と同様の閾値変更処理を行ないステップS15に進
む。 ステップS15では第3図のステップS4と同様の隣接
画素の誤差分加算処理を行ない、続くステップS16で
第3図ステップS5同様の誤差拡散法による2値化処理
を行なう。 そしてステップS17で第3図ステップS6同様に全画
素に対する2値化処理が終了したか否かを調べ、終了し
ていなければステップS18で第3図ステップS7同様
の新たな注目画素抽出処理を行ないステップSllに戻
る。 以上説明した本実施例の動作手順では、処理領域の範囲
が前述した第3図に示す処理よりも小さくなり、より高
速処理が実現できる。 また、中濃度部のテクスチャのみを扱うと仮定すると、
ステップSllの判定を例えば(70く原信号<120
)などと規定すると、より高速化が行なえる。 以上説明した様に、誤差拡散法において、従来から非常
に問題となっていた低濃度部のドツト及び高濃度部での
白抜けのつながりや、中、低濃度部での不快な鎖状のテ
クスチャを安価に、簡単な構成で消滅させることができ
る。 またドツトのつながりを、テクスチャか、もともとの画
像の原信号なのかを検知することにより、元の画像情報
を失なわずに良好かつ適正な2値化が行なえる。 [第6実施例] 以上の第1実施例より第5実施例においては、多値画像
情報を2値画像情報に変換する処理について説明したが
、本発明は以上の例に限定されるものではなく、多値画
像情報を該入力値以下の多値画像情報に変換する処理に
応用可能なことは勿論である。 以下、本発明を人力画像信号を、入力多値fiLソ、下
の多値数の画像情報に変換する例を説明する。 以下の各実施例も、例えば上述した第2図に示すハード
ウェア構成の画像処理変装置で実現することができる。 以下の説明は、上述したブロック構成による画像処理を
模式的に示した結線図を基に説明する。 第10図は本実施例の画像処理変装置の要部ブロック結
線図である。 第10図に示す本実施例の画像処理変装置は、あらゆる
画像処理手段の中間調表現制御機能部分を示したもので
あり、他の構成は図より省略している。この部分を、例
えばホストコンピュータ部(ハードウェア、もしくはソ
フトウェアとして)やプリンタ等の出力機器の内部に、
またはイメージスキャナーなどの入力機器の内部に組み
込むことが可能である。 本実施例では中間調表現として、入力多値信号を3値化
する例について説明する。 まず多値画像信号(数ビットルミo数ビット程度)1.
、を入力する。この入力信号1 myは、入力補正手段
101及び多値化(3値化)手段102へと送られる。 入力補正手段3.01は、通常の誤差拡散法と同様の処
理で注目画素は周辺隣接画素による誤差分を加算して入
力補正を行ない、補正信号I ′xyを出力する。 一方、多値化手段102は、入力信号I xyと多値化
の閾値T 1111との比較を行ない、入力多値信号を
3値信号に変換し、P′、アとして出力し閾値決定手段
109に送る。 多値化手段103は、入力補正手段101での補正信号
1′□と閾値決定手段109での多値化の決定閾値T’
xyとの比較を行い、入力多値信号を3値信号p xy
に変換する。 これは接続出力機器が、各色に対して2値ではなく、例
えば濃淡インクを用いたり、ドツト系変調等により各色
に対して3値或は4値程度迄出力可能なプリンタの場合
に等においても、対応して中間調表現可能に構成したも
のである。 例えば、3値出力を行う場合、多値化手段103では入
力信号と閾値との比較を行い、(1,局、0)の3種の
信号(P xy)に変換しく実際の信号は(2,L、O
)となる)、中間調を表現する。 また、3値信号P。は、差分演算手段104にも送られ
、入力信号1゛□との差分を演算し、誤差信号El、と
して誤差配分演算手段105に送られる。誤差配分演算
手段105は、第10図に符号106に示した周辺隣接
画素への拡散マトリクスにより、誤差信号E xyの重
み付は配分を行ない、次の注目画素への配分誤差は入力
補正手段Lotへと送られる。また、107は既に3値
化した3値信号をメモリに格納し、注目画素(*印)近
辺にかけているウィンドウを示している。 本実施例においては、以上の誤差拡散法における多値化
(3値化)するための閾値T1.yの決定方法に特徴が
あり、以下、この間値T ’ myの決定方法を説明す
る。 一般的に誤差拡散法による3値化においても程度の差こ
そあれ、2値化と同様の問題点を有している。 この問題点を解決するために、第11図に示す様なウィ
ンドウパターンを考える(「l」は黒レベル、「0」は
白レベル、「イ」は灰レベルとする)このウィンドウは
ドツトの斜め方向のつながりが検出できる構成にするの
が好ましい。 図中(a)〜(d)は、それぞれ、ドツト、白抜けが斜
め方向につながった例を示している。 即ち、既に3値化処理の終了した3値信号についてウィ
ンドウをかけ、例えば第11図(a)〜(d)の様なパ
ターンに適合するか否かを検知していく。 第11図に示したような8画素分のウィンドウでは、3
@=6561通りのパターンが発生する可能性があるが
、この場合においても上述した様に(a)〜(d)の例
の如く、斜め方向にドツトがつながるパターンを対象に
してメモリに登録しておくのが望ましい。 またウィンドウのサイズ、及び形状は、斜め方向のドツ
トのつながりが検知できれば、どの様なサイズ、形状で
も良い(メモリ容量、処理速度との兼ね合いによる〉。 以上の構成において、注目画素の移動(注目画素の3値
化)に伴なってウィンドウを走査する。 そして、パターン認識手段lO8によって、ウィンドウ
内のデータが、登録された斜め方向にドツト及び白抜け
のつながったパターンと一致しているかどうかが判別さ
れる。 その後、閾値決定手段109において、パターン認識手
段108でもしドツト及び白抜けのつながりが検知され
たならば、そのつながりを断ち切る様に閾値を変更する
。つまり、誤差の蓄積のキュー速成のためにドツト、白
抜けがつながり、不快な鎖状のテクスチャとして表われ
そうになるのを微妙なつながりで検知して、不規則性を
与え。 それ以降の鎖を断ち切り、テクスチャの発生を抑制する
。 しかしここで、斜め方向にドツトがつながっている場合
でも、原信号がもともと斜め線の画像情報なのか、それ
とも誤差拡散法による処理の結果、たまたま斜め方向に
ドツトがつながったのかを見極める必要がある。 このため、第10図において、入力信号I。 を閾値T myと比較して、単純3値化した信号(P’
 、、)を基にして判断をする。入力信号■。 を8ビツトとした場合(00□ (白レベル)FF、(
黒レベル))、閾値T myとしてCO,。 408を用意しておくとすると、例えば第11図(a)
の例において、ウィンドウ内にテクスチャが発生してい
るとした場合には、注目画素近辺の濃度レベルはウィン
ドウ内の1(黒)データの数と怪(灰)データの数の割
合により、むしろ!4(灰)データより近くなる。 即ち、第11図(a)の場合においては、T、、: c
oH> 1.、の時は、テクスチャの一部と判断し、T
Xy:C0,4≦I  IIF#)場合には、原信号に
よる斜め線の画像情報によるものと判断する。 なお、第11図(b)〜(d)の場合も同様に判断可能
である。 誤差拡散法においては、誤差の蓄積により原信号の絶対
位置と誤差拡散法による処理後の画像の絶対位置がズレ
ることかある。しかし、これはウィンドウサイズを大き
めにとることによって、原信号の斜め線(文字の一部等
)がテクスチャの一部かを判断することが可能である。 この場合には、第10図の閾値決定手段109は、パタ
ーン認識手段108の認識結果と、多値化(3値化)手
段102の多値化処理結果(P’、、)の2種により多
値誤差拡散法における閾値の決定を行う。即ち、前述し
た両結果によりつfンドウ内にテクスチャが発生してい
ると11断した場合にのみ、閾値の変換を施し、そのテ
クスチャの鎖を断ち切る。閾値は3値化の場合、2挿必
要であるが、閾値の決定はこの2種についてハイ、ミド
ル、ロウなどの様に数段階に分かれる構成でも良いし、
ウィンドウのパターンと対応づけて、LUT (ルック
アップテーブル)としてROM内に格納させておいても
良い。
[Fourth Embodiment] In addition, in the texture described above, by counting the number of occurrences of texture (particularly a connection of diagonal dots) and using the counted number as a means of determining a threshold value, an even better image can be obtained. Can be processed. FIG. 8 shows a block diagram of a fourth embodiment of the present invention in which the number of occurrences of this texture is counted and the counted number is also used as a means for determining a threshold value. In FIG. 8, the same components as those in FIG. 2 described above are given the same reference numerals, and detailed explanations will be omitted. FIG. 8 shows a configuration in which a counter 9 is added as an additional function to the embodiment shown in FIG. That is, in this embodiment, when a certain texture occurs, the number of occurrences is counted, and therefore, as the count increases, the noise of the chain-like texture increases. Therefore, as the number of counts increases,
Increase the amount of up/down of the threshold value to make it possible to prevent the dots from connecting. By performing such processing, the window of the binarized signal by the counter 9 becomes equal to a wide equilaterally curved window, and more accurate texture recognition and accompanying threshold changes can be performed at low cost. [Fifth Embodiment] FIG. 9 shows control in a case where the processing shown in FIG. 3 described above is configured to be faster. The processing in FIG. 9 shows a fifth embodiment of the present invention, and realizes faster processing than the flowchart shown in FIG. In the fifth embodiment, first, in step Sll, it is determined whether the original signal of the pixel of interest is a high density portion (whether it is 200 or more). Then, if it is a high concentration area, the process advances to step S15, and a normal error diffusion method is performed while keeping the threshold value fixed. Only when it is not a high-density portion does the process proceed to step S12, where window processing unique to this embodiment is performed. First, in step S12, a window pattern reading process similar to step S1 in FIG. 3 is performed, and in the subsequent step S13, the texture pattern within the window is determined. If there are no diagonally continuous dots within the window, the process proceeds to step 515, and the error diffusion method is performed with the fixed threshold value unchanged. On the other hand, if there is a succession of diagonal dots, that is, a texture bud, then in step S14, the same threshold value changing process as in steps S2 and S3 in FIG. 3 is performed, and the process proceeds to step S15. In step S15, error addition processing of adjacent pixels is performed as in step S4 in FIG. 3, and in subsequent step S16, binarization processing is performed using the error diffusion method as in step S5 in FIG. 3. Then, in step S17, as in step S6 in FIG. 3, it is checked whether the binarization process for all pixels has been completed. If not, in step S18, a new pixel of interest extraction process similar to step S7 in FIG. 3 is performed. Return to step Sll. In the operating procedure of this embodiment described above, the range of the processing area is smaller than the processing shown in FIG. 3 described above, and higher speed processing can be realized. Also, assuming that we only handle textures in medium density areas,
For example, the judgment of step Sll is (70 × original signal < 120
) etc., the speed can be further increased. As explained above, in the error diffusion method, problems such as dots in low-density areas, connections between white spots in high-density areas, and unpleasant chain-like textures in medium and low-density areas have traditionally been very problematic. can be eliminated at low cost and with a simple configuration. Furthermore, by detecting whether the dot connections are textures or original signals of the original image, good and appropriate binarization can be performed without losing the original image information. [Sixth Embodiment] In the first to fifth embodiments described above, processing for converting multivalued image information into binary image information has been described, but the present invention is not limited to the above examples. Needless to say, the present invention can be applied to processing for converting multivalued image information into multivalued image information having a value equal to or less than the input value. Hereinafter, an example will be described in which the present invention is used to convert a human image signal into input multi-value image information with a lower multi-value number. Each of the following embodiments can also be realized, for example, by the image processing conversion device having the hardware configuration shown in FIG. 2 described above. The following description will be made based on a wiring diagram schematically showing image processing using the above-described block configuration. FIG. 10 is a block diagram of main parts of the image processing conversion device of this embodiment. The image processing and modification device of this embodiment shown in FIG. 10 shows the halftone expression control function portion of all the image processing means, and other components are omitted from the figure. For example, this part can be installed inside a host computer (as hardware or software) or an output device such as a printer.
Alternatively, it can be incorporated inside an input device such as an image scanner. In this embodiment, an example in which an input multilevel signal is ternarized will be described as halftone expression. First, a multivalued image signal (several bits of Lumi or several bits) 1.
, enter. This input signal 1 my is sent to input correction means 101 and multivalue conversion (ternary conversion) means 102 . The input correction means 3.01 performs input correction on the pixel of interest by adding errors caused by surrounding adjacent pixels in a process similar to the normal error diffusion method, and outputs a correction signal I'xy. On the other hand, the multi-value conversion means 102 compares the input signal I xy with the multi-value conversion threshold T 1111, converts the input multi-value signal into a three-value signal, outputs it as P', A, and outputs it as a threshold value determination means 109. send to The multilevel conversion means 103 uses the correction signal 1'□ in the input correction unit 101 and the multilevel conversion determination threshold T' in the threshold value determination unit 109.
The input multi-level signal is converted into a ternary signal p xy
Convert to This is true even when the connected output device is a printer that can output up to 3 or 4 values for each color using, for example, dark and light ink, or dot modulation, instead of 2 values for each color. , correspondingly, it is configured to be able to express halftones. For example, when performing three-value output, the multi-value conversion means 103 compares the input signal with a threshold value, converts it into three types of signals (P xy) of (1, station, 0), and the actual signal is (2 ,L,O
), which expresses intermediate tones. Also, a ternary signal P. is also sent to the difference calculation means 104, the difference with the input signal 1゛□ is calculated, and the result is sent to the error distribution calculation means 105 as an error signal El. The error distribution calculation means 105 distributes the weighting of the error signal Exy using the diffusion matrix shown at 106 in FIG. sent to. Further, numeral 107 indicates a window in which a ternary signal that has already been ternarized is stored in a memory and is hung around the pixel of interest (marked with *). In this embodiment, the threshold value T1. The method for determining y is distinctive, and the method for determining the interval value T'my will be described below. In general, ternarization using the error diffusion method has the same problems as binarization, although there are differences in degree. To solve this problem, consider a window pattern as shown in Figure 11 ("l" is the black level, "0" is the white level, and "a" is the gray level). It is preferable to adopt a configuration in which connections in directions can be detected. In the figures, (a) to (d) respectively show examples in which dots and white spots are connected in a diagonal direction. That is, a window is applied to the ternary signal that has already been ternarized, and it is detected whether or not it conforms to the patterns shown in FIGS. 11(a) to 11(d), for example. In a window of 8 pixels as shown in Fig. 11, 3
@ = 6561 patterns may be generated, but in this case as well, as mentioned above, as in the examples (a) to (d), patterns in which dots are connected diagonally are registered in the memory. It is desirable to keep it. The size and shape of the window may be any size and shape as long as the connection of diagonal dots can be detected (depending on memory capacity and processing speed). Then, the pattern recognition means 108 checks whether the data in the window matches the registered pattern of diagonally connected dots and white spots. Thereafter, in the threshold determining means 109, if the pattern recognition means 108 detects a connection between dots and white areas, the threshold is changed so as to break the connection. Detects the subtle connections between dots and white spots that are about to appear as an unpleasant chain-like texture, and adds irregularity. Breaks the subsequent chains and suppresses the occurrence of texture. However, even if the dots are connected diagonally, it is necessary to determine whether the original signal was originally image information of diagonal lines, or whether the dots happened to be connected diagonally as a result of processing using the error diffusion method. Therefore, in Fig. 10, the input signal I. is compared with the threshold value T my to obtain a simple ternary signal (P'
, , )). Input signal■. When is set to 8 bits (00□ (white level) FF, (
black level)), threshold T my as CO,. 408, for example, as shown in Figure 11(a).
In the example above, if a texture occurs within the window, the density level near the pixel of interest is determined by the ratio of the number of 1 (black) data and the number of suspicious (gray) data within the window! 4 (gray) closer than the data. That is, in the case of FIG. 11(a), T: c
oH>1. , it is determined that it is part of the texture, and T
Xy:C0,4≦IIIF#), it is determined that this is due to image information of diagonal lines from the original signal. Note that the same determination can be made in the cases of FIGS. 11(b) to 11(d). In the error diffusion method, the absolute position of the original signal and the absolute position of the image processed by the error diffusion method may deviate due to accumulation of errors. However, by increasing the window size, it is possible to determine whether a diagonal line (part of a character, etc.) in the original signal is part of the texture. In this case, the threshold value determining means 109 in FIG. Determine the threshold value in the multilevel error diffusion method. That is, only when it is determined from the above-mentioned results that a texture has occurred within the window, the threshold value is converted to break the chain of texture. In the case of ternarization, the threshold value requires two insertions, but the threshold value can be determined in several stages such as high, middle, and low for these two types.
It may be stored in the ROM as an LUT (look-up table) in association with the window pattern.

【第7実施例】 第12図は本発明に係る第7実施例であり、第10図に
示した第6実施例と同様構成には同一番号を付し詳細説
明を省略する。 第12図に示す第7実施例は、第ti図で用いた第6実
施例の単純3値化手段102の固定閾値T xyを、ウ
ィンドウパターンに応じて可変させるものである。これ
は前述した様にウィンドウ内で斜め方向にドツトがつな
がっている場合でも、原画素信号がもともと斜め線の画
像情報なのが5それとも誤差拡散法によりたまたま斜め
方向にドツトがつながったテクスチャの表われなのかを
見極める必要によるものである。 第6実施例においては、閾値Tつ、を、CO,と40、
の2種に固定している例を説明したが、本発明はこの固
定例に限定されるものではなく、2ちの場合と同様にウ
ィンドウ内を斜め線かテクスチャかをより精度良く見極
めるためには、閾値を変化させる必要がある。 即ち、第11図に示したパターン例を基に本実施例を説
明すると、(a)のパターンでは、イ(灰)の濃度の地
に、l(黒)の斜め線が入っているパターンなのか、そ
れとも、中濃度域のテクスチャかを見極める。 第11図の実施例では、T、、=CO,で見極めること
が出来たが、斜め線の画像情報であると精度良く推測す
るためには、閾値T myをもつと高濃度域(例えばT
、、=EOn程度)にシフトする必要がある。 又、第6実施例では、(b)のパターンはT xy=4
0.で見極めていたが、T +tyをよりハイライト部
にシフトして(例えばT。、=20.程度)から比較し
た方が、よりO(白)レベルの斜め線を検知できる。更
に、(C)、(d)のパターンではそれぞれ黒地、白地
の中に特(灰)の斜め線が入っている場合が想定できる
が、城(灰)の領域を狭くする様な閾値(例えば、T 
−y” A On、60、)に換えることによって、賜
(灰)の斜め線か否かの判断がつくようになる。 以上述べたように本実施例においては、パターン認識手
段108のウィンドウパターンに対応して、閾値決定手
段109−AによりT。を設定して(LOTとして設定
)、多値化(3値化)手段102で対応する3値信号P
′oとして閾値決定手段109Bに送る構成にする。 本実施例は、第6実施例に比し、多少構成は複雑になる
が、斜め線かテクスチャかの判断が精度高く実行できる
ことが特徴である。
[Seventh Embodiment] FIG. 12 shows a seventh embodiment of the present invention, and components similar to those of the sixth embodiment shown in FIG. 10 are given the same reference numerals and detailed explanations will be omitted. In the seventh embodiment shown in FIG. 12, the fixed threshold value T xy of the simple ternarization means 102 of the sixth embodiment used in FIG. ti is varied in accordance with the window pattern. As mentioned above, even if the dots are connected diagonally within the window, this may be due to the fact that the original pixel signal is originally image information of diagonal lines, or it is due to the appearance of a texture in which dots are connected diagonally by chance due to the error diffusion method. This is due to the need to determine whether this is the case. In the sixth embodiment, the threshold values T are CO, and 40,
Although we have described an example in which the window is fixed to two types, the present invention is not limited to this fixed example. In order to more accurately determine whether the inside of the window is a diagonal line or a texture, the present invention is not limited to this fixed example. , it is necessary to change the threshold value. That is, to explain this embodiment based on the pattern example shown in FIG. 11, the pattern (a) is a pattern with diagonal lines of l (black) on a background of density of a (gray). Determine whether it is a texture of a medium density range or a texture of a medium density range. In the example shown in FIG. 11, it was possible to identify the information using T, , = CO, but in order to accurately infer that it is image information of a diagonal line, it is necessary to have a threshold value T my in a high concentration region (for example, T
, , = approximately EOn). Further, in the sixth embodiment, the pattern (b) is T xy=4
0. However, it is possible to detect diagonal lines at the O (white) level better by shifting T+ty to the highlight area (for example, about T., = 20.) and then comparing. Furthermore, in the patterns (C) and (d), it can be assumed that special (gray) diagonal lines are included in a black background and a white background, respectively, but a threshold value that narrows the castle (gray) area (for example, , T
-y" A On, 60,), it becomes possible to judge whether the line is a gray diagonal line or not. As described above, in this embodiment, the window pattern of the pattern recognition means 108 In response to this, the threshold determining means 109-A sets T. (setting as LOT), and the multi-value (ternarization) means 102 converts the corresponding ternary signal P.
The configuration is such that it is sent to the threshold determining means 109B as 'o'. Although the structure of this embodiment is somewhat more complicated than that of the sixth embodiment, it is characterized in that it can determine whether it is a diagonal line or a texture with high accuracy.

【第8実施例] 更に、上述した第6及び第7実施例よりも高速で画像変
換処理を行なう本発明に係る第8実施例の制御例を第1
3図に示す。 第13図においては、路上述した第9図に示す第5実施
例と同様の処理となる。 即ち、まずステップSl 10で注目画素の原信号が高
濃度部(例えばI xy≧EO,)か否か、もしくは低
濃度部(例えば1.、<201)か否かを判定する。こ
こで、注目画素が高濃度部もしくは低濃度部であればス
テップ5150に進み、閾値を固定にしたままの通常の
誤差拡散法を行う。 注目画素が高濃度部もしくは低濃度部でない場合(例え
ば20.4≦I xy< E OHの場合)に初めてス
テップ5L20以下に進み1本実施例に特有のウィンド
ウ処理を行なう。 まずステップ5120で第9図のステップS12同様の
読み込み処理を行ない、続くステップ3180において
ウィンドウ内テクスチャパターンを判別する。もしウィ
ンドウ内に斜め方向にドツトが連続していなければステ
ップ5150に進み、固定閾値のまま誤差拡散法を行う
。 一方、斜めドツトの連続、つまりテクスチャの芽がある
と、前述した実施例と同様の閾値変更処理を行ないステ
ップ5150に進む。 ステップ5150で隣接画素の誤差分加算処理を行ない
、続くステップ5160で誤差拡散性による3値化処理
を行う。 そしてステップ5170で全画素に対する3値化処理が
終了したか否かを調べ、終了していなければステップ3
180で新たな注目画素抽出処理を行ないステップSt
 10に戻る。 本実施例の動作手順では、処理領域の範囲が前述した第
6、第7実施例の場合よりも小さくなるので高速処理が
実現できる。 また、出力機器として着色濃度の異なる複数の着色材を
用いている、いわゆる多値プリンタを使用する場合等に
は、着色材が切り換わる濃度領域にのみ標準を合わせ、
他の濃度領域は通常の誤差拡散法を施す構成にするのも
有効である。 着色材の切り換え時に疑似輪郭が発生しやすいため、発
生防止、テクスチャの軽減に役立つ。 【第9実施例】 更に、第10図に示した第6実施例での閾値決定手段に
乱数を利用した本発明に係る第9実施例を第14図に示
す。 本実施例においては、第10図に示す第6実施例に比し
、新たに乱数発生器110を付加した構成となっている
。 本実施例は、テクスチャの認識に応じて注目画素の閾値
(T’□)を一定値にてアップ、ダウンさせていると、
この規則性のために別のテクスチャが発生する虞れがあ
ることよりこれを抑えるために威されたもので、閾値変
化に乱数を用いて若干のランダム性を付加するちのであ
る。例えば、閾値変化を3段階(ハイ、ミドル、ロウ)
とした・場合であると、第10図に示した実施例では、
ハイ(T’−=EOM 、60H)とし、ミドルを(T
′o=COH140,4)、ロウを(T’ 、、=AO
,,20,)とする。そして、ハイ、ミドル、ロウの各
段階において乱数を用いてT’xyを決定する。 即ち、例えばハイの状態では、第15図(a)に示す様
に、1〜%の間の閾値T4.yを、EOHを中心に乱数
発生確率が最大になる様にして、FFH<T′、、<C
OHの間で乱数を発生させ、T ′、yを決定する。 なお、%〜0の間では7 F H< T ′−y< 4
08である。 ミドル、ロウの場合も同様に第15図(b)、(c)に
示す様に、乱数発生確率を変化させた関数と成るように
T’xyを決定する。 閾値に乱数を用いた誤差拡散法の場合、ランダムノイズ
のため、砂地画像の発生が起きるが1本実施例では乱数
発生確率関数により確率を変えているため、若干のラン
ダム性を生むだけで不規則性を生み出すことができ、フ
ィシーにはならない。 [第10実施例] 更に、ウィンドウ内のテクスチャの認識ばかりでなく、
ウィンドウ内の疑似輪郭をもパターンとして認識して注
目画素の閾値を変更させる本発明に係る第10実施例に
よる補正すべきウィンドウ構成図の一例を第16図に示
す。 例えば、本実施例において、ウィンドウ処理において第
16図に示す(a)〜(C)の様なパターンが発生した
とする。 この場合に、接続出力機器が多値プリンタの場合、疑似
輪郭は同色の場合でも、着色材の切り換え時にトーンジ
ャンプとして発生することが多い。そこで(a)〜(C
)に挙げたパターン(等レベルのドツトが固まりをなし
て、切り換えにあたる部分)を前述した実施例と同様、
LUTに保存しておき(実際には(a)〜(C)以外に
もつと多種のパターンを格納するが)、ウィンドウ内の
パターンの適合を確かめる。 もし、ウィンドウ内のパターンと適合したならば、前述
した実施例と同様に注目画素の閾値を変更して疑似輪郭
のつながりに不規則性を与えて、良好な画像を形成する
。 以上説明した様に多値誤差拡散法において、従来から非
常に問題となっていた低濃度部のドツト及び高濃度部で
の臼抜けのつながりや、中、低濃度部での不快な鎖状の
テクスチャを安価に、簡便な構成で消滅させることがで
きる。 またドツトのつながりをテクスチャか、もともとの画像
の原信号なのかを検知することにより、元の画像情報を
失わずに良好かつ適正な多値化(3値化、4値化程度)
が行える。 また、多値誤差拡散法により発生しやすい疑似輪郭も同
様に減少することができる。 [発明の効果] 以上説明した様に本発明によれば、誤差拡散法における
低濃度部のドツト及び高濃度部での白抜けのつながりや
、中、低濃度部での不快な鎖状のテクスチャを安価に、
簡単な構成で消滅させることができる。 またドツトのつながりを、テクスチャか、ちともとの画
像の原信号なのかを検知することにより1元の画像情報
を失なわずに良好かつ適正な2値化またはそれ以上の多
値化が行なえる。 また、多値誤差拡散法により発生しやすい疑似輪郭も同
様に減少することができる。
[Eighth Example] Furthermore, the control example of the eighth example of the present invention, which performs image conversion processing at a higher speed than the above-mentioned sixth and seventh examples, is described as a first example.
Shown in Figure 3. In FIG. 13, the same processing as in the fifth embodiment shown in FIG. 9 described above is performed. That is, first, in step Sl 10, it is determined whether the original signal of the pixel of interest is a high-density portion (for example, I xy≧EO,) or a low-density portion (for example, 1., <201). Here, if the pixel of interest is a high-density area or a low-density area, the process advances to step 5150, and a normal error diffusion method is performed with the threshold value fixed. When the pixel of interest is not in a high-density area or a low-density area (for example, in the case of 20.4≦I xy<E OH), the process proceeds to step 5L20 and subsequent steps to perform window processing unique to this embodiment. First, in step 5120, a reading process similar to step S12 in FIG. 9 is performed, and in the subsequent step 3180, the texture pattern within the window is determined. If the dots are not continuous in the diagonal direction within the window, the process proceeds to step 5150, and the error diffusion method is performed with the fixed threshold value unchanged. On the other hand, if there is a succession of diagonal dots, that is, a texture bud, then the same threshold value changing process as in the above-described embodiment is performed and the process proceeds to step 5150. At step 5150, error addition processing for adjacent pixels is performed, and at subsequent step 5160, ternarization processing using error diffusion is performed. Then, in step 5170, it is checked whether the ternarization process for all pixels has been completed, and if it has not been completed, step 3
At step 180, a new pixel of interest extraction process is performed, and step St
Return to 10. In the operating procedure of this embodiment, the range of the processing area is smaller than in the sixth and seventh embodiments described above, so high-speed processing can be achieved. In addition, when using a so-called multilevel printer that uses multiple coloring materials with different color densities as an output device, it is necessary to adjust the standard only to the density region where the coloring materials switch.
It is also effective to adopt a configuration in which a normal error diffusion method is applied to other density regions. False contours tend to occur when changing coloring materials, so this is useful for preventing them and reducing texture. [Ninth Embodiment] Furthermore, FIG. 14 shows a ninth embodiment of the present invention in which random numbers are used as the threshold determining means in the sixth embodiment shown in FIG. 10. In this embodiment, compared to the sixth embodiment shown in FIG. 10, a random number generator 110 is newly added. In this embodiment, the threshold value (T'□) of the pixel of interest is increased or decreased by a constant value according to texture recognition.
Since there is a possibility that different textures may occur due to this regularity, this was done in order to suppress this, and a random number is used to change the threshold value to add some randomness. For example, change the threshold in 3 stages (high, middle, low)
In the case shown in FIG. 10,
High (T'-=EOM, 60H) and middle (T
'o=COH140,4), row (T',,=AO
,,20,). Then, T'xy is determined using random numbers at each stage of high, middle, and low. That is, for example, in the high state, as shown in FIG. 15(a), the threshold T4. Set y so that the random number generation probability is maximized around EOH, and FFH<T', <C
Random numbers are generated between OH and T' and y are determined. In addition, between % and 0, 7 F H <T'-y< 4
It is 08. Similarly, in the case of middle and low, T'xy is determined so as to be a function with varying probability of random number generation, as shown in FIGS. 15(b) and 15(c). In the case of the error diffusion method that uses random numbers for the threshold, sandy images may occur due to random noise; however, in this example, the probability is changed using a random number generation probability function, so there is no problem even though it only produces some randomness. It can create regularity and not become fissy. [Tenth embodiment] Furthermore, in addition to recognizing the texture within the window,
FIG. 16 shows an example of a window configuration diagram to be corrected according to a tenth embodiment of the present invention in which pseudo contours within a window are also recognized as patterns and the threshold value of the pixel of interest is changed. For example, suppose that patterns such as those shown in FIG. 16 (a) to (C) occur during window processing in this embodiment. In this case, if the connected output device is a multilevel printer, false contours often occur as tone jumps when coloring materials are switched, even when the colors are the same. Therefore, (a) to (C
) (the part where dots of the same level form a cluster and switch) is similar to the above example,
This is stored in an LUT (actually, a variety of patterns other than (a) to (C) are stored), and the suitability of the patterns within the window is checked. If the pixel matches the pattern within the window, the threshold value of the pixel of interest is changed to give irregularity to the connection of the pseudo contours, as in the embodiment described above, and a good image is formed. As explained above, in the multivalued error diffusion method, there are problems such as the connection of dots in low-density areas and missing parts in high-density areas, as well as unpleasant chain-like shapes in medium and low-density areas. Textures can be eliminated at low cost and with a simple configuration. In addition, by detecting whether the dot connections are textures or original signals of the original image, good and appropriate multi-value conversion (3-value conversion, 4-value conversion) can be performed without losing the original image information.
can be done. Additionally, false contours that tend to occur using the multilevel error diffusion method can be similarly reduced. [Effects of the Invention] As explained above, according to the present invention, connections between dots in low-density areas and white spots in high-density areas in the error diffusion method, and unpleasant chain-like textures in medium and low-density areas can be eliminated. cheaply,
It can be eliminated with a simple configuration. In addition, by detecting whether the connections between dots are textures or original signals of the original image, it is possible to perform good and appropriate binarization or higher multivalue conversion without losing the original image information. Ru. Additionally, false contours that tend to occur using the multilevel error diffusion method can be similarly reduced.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明に係る一実施例の機能ブロック図、 第2図は本実施例のブロック構成図、 第3図は本実施例の画像処理制御を示すフローチャート
、 第4図は本実施例のウィンドウ構成を示す図、第5図は
本実施例の閾値決定の例を示す図、第6図は本発明に係
る第2実施例のウィンドウ構成を示す図、 第7図は本発明に係る第3実施例の閾値決定関数を示す
図、 第8図は本発明に係る第4実施例のブロック構成図、 第9図は本発明に係る第5実施例の画像処理手順を示す
フローチャート、 第1O図は本発明に係る第6実施例のブロック構成図、 第11図は第6実施例のウィンドウ補正の必要なパター
ン例を示す図、 第12図は本発明に係る第7実施例のブロック構成図、 第13図は本発明に係る第8実施例の画像処理手順を示
すフローチャート、 第14図は本発明に係る第9実施例のブロック構成図、 第15図は第9実施例による閾値決定関数の例を示す図
、 第16図は本発明に係る第10実施例によるウィンドウ
補正の必要なパターン例を示す図である。 図中、1・・・中央演算処理装置(CPU)、2・・・
Ilo、3・・・ウィンドウ内パターン化回路%4・・
・閾値決定回路、5・・・誤差拡散回路、6・・・RA
M、7・・・ROM、8・・・外部機器、9・・・カウ
ンタ、10・・・ウィンドウ手段、20・・・閾値決定
手段、30・・・2値化手段、lOO・・・画像処理変
装置、101・・・入力補正手段、102.103・・
・多値化(3値化)手段、104・・・差分演算手段、
lO5・・・誤差配分演算手段、106・・・周辺隣接
画素への拡散マトリクス、107・・・注目画素(*印
)近辺にかけているウィンドウ、108・・・パターン
認識手段、109.109−A、109−B・・・閾値
決定手段である。
FIG. 1 is a functional block diagram of an embodiment according to the present invention, FIG. 2 is a block configuration diagram of this embodiment, FIG. 3 is a flowchart showing image processing control of this embodiment, and FIG. 4 is a flow chart of this embodiment. 5 is a diagram showing an example of threshold value determination in this embodiment. FIG. 6 is a diagram showing a window configuration in the second embodiment according to the present invention. FIG. 7 is a diagram showing an example of threshold value determination in the present embodiment. FIG. 8 is a block configuration diagram of the fourth embodiment according to the present invention; FIG. 9 is a flowchart showing the image processing procedure of the fifth embodiment according to the present invention; Figure 1O is a block configuration diagram of the sixth embodiment according to the present invention, Figure 11 is a diagram showing an example of a pattern requiring window correction in the sixth embodiment, and Figure 12 is a block diagram of the seventh embodiment according to the present invention. 13 is a flowchart showing the image processing procedure of the 8th embodiment according to the present invention; FIG. 14 is a block diagram of the 9th embodiment according to the present invention; FIG. 15 is a threshold value according to the 9th embodiment FIG. 16 is a diagram showing an example of a pattern requiring window correction according to the tenth embodiment of the present invention. In the figure, 1... central processing unit (CPU), 2...
Ilo, 3... In-window patterning circuit%4...
・Threshold value determination circuit, 5...Error diffusion circuit, 6...RA
M, 7...ROM, 8...External device, 9...Counter, 10...Window means, 20...Threshold value determination means, 30...Binarization means, lOO...Image Processing change device, 101... Input correction means, 102, 103...
・Multi-value conversion (ternary conversion) means, 104... difference calculation means,
lO5... Error distribution calculation means, 106... Diffusion matrix to peripheral adjacent pixels, 107... Window applied near the pixel of interest (marked with *), 108... Pattern recognition means, 109.109-A, 109-B...Threshold value determining means.

Claims (10)

【特許請求の範囲】[Claims] (1)多値画像情報を誤差拡散法を用いて2値信号へ変
換する画像処理装置において、 注目画素周辺に既に2値化したウィンドウを設け、該ウ
ィンドウ内のドットパターンを検知し検知パターンに基
づいて注目画素の2値化閾値を変更する閾値変更手段を
有することを特徴とする画像処理装置。
(1) In an image processing device that converts multilevel image information into a binary signal using the error diffusion method, a window that has already been binarized is provided around the pixel of interest, and the dot pattern within the window is detected and converted into a detection pattern. An image processing apparatus comprising: a threshold value changing means for changing a binarization threshold value of a pixel of interest based on the threshold value of the pixel of interest.
(2)閾値変更手段は注目画素の2値化閾値の変更条件
としてウィンドウ内ドットパターンに加え、注目画素の
原信号レベルも付加することを特徴とする請求項第1項
記載の画像処理装置。
(2) The image processing apparatus according to claim 1, wherein the threshold value changing means adds the original signal level of the pixel of interest in addition to the in-window dot pattern as a condition for changing the binarization threshold of the pixel of interest.
(3)閾値変更手段は注目画素の2値化閾値の決定に際
しウィンドウ内ドットパターンの乱数発生確率を変化さ
せた幾つかの関数に分類し、前記乱数により2値化閾値
を決定することを特徴とする請求項第1項記載の画像処
理装置。
(3) When determining the binarization threshold for the pixel of interest, the threshold changing means classifies the random number generation probability of the dot pattern within the window into several functions, and determines the binarization threshold based on the random numbers. The image processing apparatus according to claim 1.
(4)閾値変更手段はウィンドウ内の同一ドットパター
ンの数をカウントする機能を備え、該カウント数も参照
して2値化閾値を決定することを特徴とする請求項第1
項記載の画像処理装置。
(4) The threshold value changing means has a function of counting the number of identical dot patterns within the window, and also refers to the counted number to determine the binarization threshold value.
The image processing device described in Section 1.
(5)閾値変更手段は多値画像情報の所定幅の濃度域情
報のみ2値化処理を行なうことを特徴とする請求項第1
項記載の画像処理装置。
(5) The threshold value changing means performs binarization processing only on the density range information of a predetermined width of the multivalued image information.
The image processing device described in Section 1.
(6)多値画像情報を該多値画像情報より該多値画像情
報より少ない多値画像情報に変換する誤差拡散法による
画像処理変装置において、 既に少ない画素信号へ変換した、変換信号の注目画素近
傍にウィンドウを設け該ウィンドウ内のドットパターン
を検知し検知ドットパターンに基づいて注目画素の誤差
拡散法による閾値を変更する閾値変更手段を有すること
を特徴とする画素処理装置。
(6) In an image processing conversion device using an error diffusion method that converts multi-value image information into multi-value image information that is less than the multi-value image information, attention is paid to the converted signal that has already been converted into fewer pixel signals. 1. A pixel processing device comprising: a threshold value changing means for providing a window near a pixel, detecting a dot pattern within the window, and changing a threshold value based on an error diffusion method for a pixel of interest based on the detected dot pattern.
(7)閾値変更手段の注目画素の閾値変換条件として、
前記ウィンドウ内ドットパターンに加えて注目画素を所
定固定閾値により単純多値化した画素信号も付加するこ
とを特徴とする請求項第6項記載の画像処理装置。
(7) As a threshold value conversion condition for the pixel of interest of the threshold value changing means,
7. The image processing apparatus according to claim 6, wherein in addition to the in-window dot pattern, a pixel signal obtained by simply multi-valued pixel of interest using a predetermined fixed threshold is also added.
(8)閾値変更手段は単純多値化する閾値をウィンドウ
内ドットパターンに応じて変動させることを特徴とする
請求項第7項記載の画像処理装置。
(8) The image processing apparatus according to claim 7, wherein the threshold value changing means changes the threshold value for simple multi-value conversion according to the dot pattern within the window.
(9)閾値変更手段は注目画素の閾値決定に際し乱数発
生確率を変化させた幾つかの関数に分類して該分類した
関数における乱数により前記単純多値化する閾値を決定
することを特徴とする請求項第6項記載の画像処理装置
(9) The threshold value changing means is characterized in that when determining the threshold value of the pixel of interest, the pixel is classified into several functions in which random number generation probabilities are changed, and the threshold value for simple multilevel conversion is determined by the random numbers in the classified functions. An image processing apparatus according to claim 6.
(10)閾値変更手段は多値画像情報の所定幅の濃度域
情報のみ多値化処理を行なうことを特徴とする請求項第
6項記載の画像処理装置。
(10) The image processing apparatus according to claim 6, wherein the threshold value changing means performs multi-value processing only on density range information of a predetermined width of the multi-value image information.
JP1167082A 1989-06-30 1989-06-30 Image processing device Expired - Fee Related JP2756308B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1167082A JP2756308B2 (en) 1989-06-30 1989-06-30 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1167082A JP2756308B2 (en) 1989-06-30 1989-06-30 Image processing device

Publications (2)

Publication Number Publication Date
JPH0334680A true JPH0334680A (en) 1991-02-14
JP2756308B2 JP2756308B2 (en) 1998-05-25

Family

ID=15843073

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1167082A Expired - Fee Related JP2756308B2 (en) 1989-06-30 1989-06-30 Image processing device

Country Status (1)

Country Link
JP (1) JP2756308B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6801664B1 (en) * 1999-02-22 2004-10-05 Matsushita Electric Industrial Co., Ltd. Method of image coding, image coding apparatus, and recording medium including image coding program
US7106476B1 (en) 1999-12-13 2006-09-12 Ricoh Company, Ltd. Image processing method, image processing apparatus, image forming method and recording medium
CN106874906A (en) * 2017-01-17 2017-06-20 腾讯科技(上海)有限公司 A kind of binarization method of picture, device and terminal
CN111353979A (en) * 2020-02-27 2020-06-30 成都恒创新星科技有限公司 Mobile computer vision light spot detection and positioning method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01115271A (en) * 1987-10-29 1989-05-08 Canon Inc Image processor
JPH01115272A (en) * 1987-10-29 1989-05-08 Canon Inc Image processor
JPH01130945A (en) * 1987-11-16 1989-05-23 Canon Inc Image processing apparatus
JPH01276969A (en) * 1988-04-28 1989-11-07 Matsushita Electric Ind Co Ltd Picture signal processor
JPH01276970A (en) * 1988-04-28 1989-11-07 Matsushita Electric Ind Co Ltd Picture signal processor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01115271A (en) * 1987-10-29 1989-05-08 Canon Inc Image processor
JPH01115272A (en) * 1987-10-29 1989-05-08 Canon Inc Image processor
JPH01130945A (en) * 1987-11-16 1989-05-23 Canon Inc Image processing apparatus
JPH01276969A (en) * 1988-04-28 1989-11-07 Matsushita Electric Ind Co Ltd Picture signal processor
JPH01276970A (en) * 1988-04-28 1989-11-07 Matsushita Electric Ind Co Ltd Picture signal processor

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6801664B1 (en) * 1999-02-22 2004-10-05 Matsushita Electric Industrial Co., Ltd. Method of image coding, image coding apparatus, and recording medium including image coding program
US7106476B1 (en) 1999-12-13 2006-09-12 Ricoh Company, Ltd. Image processing method, image processing apparatus, image forming method and recording medium
CN106874906A (en) * 2017-01-17 2017-06-20 腾讯科技(上海)有限公司 A kind of binarization method of picture, device and terminal
CN111353979A (en) * 2020-02-27 2020-06-30 成都恒创新星科技有限公司 Mobile computer vision light spot detection and positioning method
CN111353979B (en) * 2020-02-27 2023-10-17 成都恒创新星科技有限公司 Mobile computer vision facula detection positioning method

Also Published As

Publication number Publication date
JP2756308B2 (en) 1998-05-25

Similar Documents

Publication Publication Date Title
US5325448A (en) Image treatment method and apparatus with error dispersion and controllable quantization
EP0158155B1 (en) Picture information signal processing apparatus
US4876610A (en) Image processing apparatus with binarization-error dispersal
US5379130A (en) Text/image separation method
JP3313399B2 (en) Image processing device
US5617485A (en) Image region segmentation system
US4856075A (en) Image discrimination
EP1392047B1 (en) Digital document processing for image enhancement
US5177795A (en) Image processing apparatus
US5157741A (en) Image processing method and apparatus for out-putting dot-processed data with suppression of false contours and other noise
US5267330A (en) Image processing apparatus
US4862283A (en) Image discrimination with continuous tone area thinning
JPH0334680A (en) Picture processor
KR0181129B1 (en) Image processing apparatus
US6563604B1 (en) Method of gradation reproduction
JPH0793534A (en) Picture processor
JP2874592B2 (en) Image processing device for distinguishing text / photo / dot area
JP2637612B2 (en) Image binarization method
JPH0334679A (en) Picture processing device
JPH0644800B2 (en) Image processing device
JPH0457274B2 (en)
JP4445150B2 (en) Image processing method
JPS60253369A (en) Processing system of halftone picture
JPH06303424A (en) Dot area discrimination device
JPH08125859A (en) Picture processor

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080306

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090306

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees