[go: up one dir, main page]

JPH01254071A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPH01254071A
JPH01254071A JP63082430A JP8243088A JPH01254071A JP H01254071 A JPH01254071 A JP H01254071A JP 63082430 A JP63082430 A JP 63082430A JP 8243088 A JP8243088 A JP 8243088A JP H01254071 A JPH01254071 A JP H01254071A
Authority
JP
Japan
Prior art keywords
data
density
input
processing
image data
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
JP63082430A
Other languages
Japanese (ja)
Other versions
JP2683020B2 (en
Inventor
Hideshi Osawa
大沢 秀史
Akihiro Katayama
昭宏 片山
Yoshihiro Ishida
良弘 石田
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 JP63082430A priority Critical patent/JP2683020B2/en
Publication of JPH01254071A publication Critical patent/JPH01254071A/en
Application granted granted Critical
Publication of JP2683020B2 publication Critical patent/JP2683020B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Color, Gradation (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PURPOSE:To obtain a picture with excellent gradation and simple processing by converting an input picture data into a high density data, binarizing it and outputting the input picture data in a multi-value level based on the result. CONSTITUTION:A picture data read by an input sensor 11 is converted into a digital signal by an A/D converter 12 and the signal is subject to correction and adjustment processing such as shading correction and contrast adjustment. Then a picture element density conversion circuit (I) 14 converts the data into a data with a picture element density finer than the input picture element density and a binarizing circuit 15 applies binarizing processing in the main scanning direction by a double density. Then a picture element density conversion circuit (II) 16 applies conversion restoring the binarized data with high density into a multi-value data with output picture element density of a multi-value printer 17. Thus, it is possible to express the input picture data in a multi-value level based on the simple binarizing processing.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は画像をデジタル的に扱う、デジタルツブりン夕
およびデジタルファクシミリ等の画像処理装置に関し、
特に中間調画像の再現が可能な画像処理装置に関するも
のである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to an image processing device such as a digital printer and a digital facsimile that digitally handles images.
In particular, the present invention relates to an image processing device capable of reproducing halftone images.

〔従来の技術〕[Conventional technology]

従来よりこの種の装置ではデイザ法、誤差拡散法等の2
値化手法により入力画像データを2値化処理し、処理さ
れた2値データを2値プリンタによりドツトのオン/オ
フで記録することにより中間調画像を再現している。
Traditionally, this type of device uses two methods, such as the dither method and the error diffusion method.
A halftone image is reproduced by binarizing input image data using a digitization method and recording the processed binary data by turning dots on and off using a binary printer.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかしながら、この種の装置では表現できるレベルが2
段しかないので、良好な中間調画像を再現することはで
きなかった。
However, this type of device can only express 2 levels.
Since there are only steps, it was not possible to reproduce a good halftone image.

そこで近年プリンタ技術の発展により、ドツトのオン/
オフ状態の他にその中間レベルを表現できるプリンタが
開発されている。この種のプリンタは中間レベルが1段
階とれるものを3値プリンタ、2段階とれるものを4値
プリンタと称されている。
However, with the development of printer technology in recent years, the dot on/off
In addition to the off state, printers that can express intermediate levels have been developed. This type of printer is called a ternary printer if it can take one intermediate level, and a quaternary printer if it can take two intermediate levels.

しかしながら、この種の多値プリンタでは入力画像デー
タを多値レベルに変換するために、複数種類のデイザ閾
値を用いたり、単純に3値化する場合であっても2種類
の閾値が必要で、処理方法が複雑化してしまうという欠
点があった。
However, in this type of multilevel printer, in order to convert input image data into multilevel levels, multiple types of dither threshold values are used, or even when simply ternarizing, two types of threshold values are required. The disadvantage is that the processing method becomes complicated.

〔問題点を解決するための手段及び作用〕本発明によれ
ば、画像データを入力する入力手段と、入力された画像
データを入力画素密度より細かい画素密度に変換する変
換手段と、上記変換手段により高密度含参寺=吐士;云
#・に変換された画像データを2値化する2値化手段と
を設け、前記2値化手段の2値結果に基づき前記入力手
段により入力された画像データを多値レベルで出力する
ものである。
[Means and operations for solving the problem] According to the present invention, an input means for inputting image data, a conversion means for converting the input image data into a pixel density finer than the input pixel density, and the above conversion means and a binarization means for binarizing the image data converted into high-density Gansanji = Toushi; It outputs image data at multiple levels.

これにより、簡単な2値化処理に基づき、入力画像デー
タを多値レベルで表現することが可能となる。
This makes it possible to express input image data at a multilevel level based on simple binarization processing.

〔実施例〕〔Example〕

以下本発明の一実施例を図面を用い詳細に、説明する。 An embodiment of the present invention will be described in detail below with reference to the drawings.

第1図は本発明の一実施例を示したブロック構成図であ
る。CCD等の入力センサ11で読み取られた画像デー
タは、A/D変換器12でデジタル信号に変換される。
FIG. 1 is a block diagram showing an embodiment of the present invention. Image data read by an input sensor 11 such as a CCD is converted into a digital signal by an A/D converter 12.

例えば8bit変換用のA/D変換器を用いると256
階調の階調表現ができることになる。尚、本実施例では
、画像データは原稿画像の濃度を表わすものとする。こ
の信号は補正回路13で、シェーディング補正、コント
ラスト調整などの補整処理が行われる。次に画素密度変
換回路(1)14では、入力画素密度より細かい画素密
度のデータに変換する。例えば主走査方向に倍密度に変
換するためには、主走査方向の画素を2倍に読み出し後
処理に送ればよい。次に2値化回路15は誤差拡散法で
2値化する回路であり、この処理は、通常に較べて主走
査方向に2倍の密度で2値化処理を行うことになる。尚
、2値化回路15は閾値により単純に2値化を行なう回
路でも、デイザ閾値を用いる回路でもよい。
For example, if an A/D converter for 8-bit conversion is used, 256
This allows for gradation expression. In this embodiment, it is assumed that the image data represents the density of the original image. This signal is subjected to correction processing such as shading correction and contrast adjustment in the correction circuit 13. Next, the pixel density conversion circuit (1) 14 converts the data into data with a pixel density finer than the input pixel density. For example, in order to convert to double density in the main scanning direction, pixels in the main scanning direction may be read out twice and sent to post-processing. Next, the binarization circuit 15 is a circuit that performs binarization using an error diffusion method, and this process performs binarization processing at twice the density in the main scanning direction compared to normal. Note that the binarization circuit 15 may be a circuit that simply performs binarization using a threshold value, or a circuit that uses a dither threshold value.

次に画素密度変換回路(II )16では、高密度で2
値化されたデータを多値プリンタの出力画素密度の多値
データに戻す変換を行う。
Next, in the pixel density conversion circuit (II) 16, 2
Conversion is performed to convert the digitized data back to multi-value data of the output pixel density of the multi-value printer.

この処理は、面積階調(ドツトのオン/オフで階調の表
現を行う方法)をしたものを濃淡階調に変換したことに
なる。この結果は多値プリンタ17で出力され、画像形
成がなされる。
This process converts area gradation (a method of expressing gradation by turning on/off dots) into gray gradation. This result is outputted by the multilevel printer 17 to form an image.

第2図は、第1図のブロック図の処理の流れを示した図
である。第2図(イ)は入力画素密度を示したもので]
)ij(i、jは整数)は入力画像データの1画素を示
している。第2図(ロ)は、密度変換(1)14で高密
度に処理された後の画素密度で、1画素を主走査方向(
i方向)に2等分して倍密度にし、同じデータをいれて
いる。ここで同じデータではなく、補間データを入れて
もかまわない。第2図()・)は2値化回路15におけ
る2値化結果で倍密度の画素ごとにドツトのオン/オフ
が決定されている。第2図(ニ)は、密度変換(II)
16の出力結果である。第2図(・・)の2値化結果を
2画素ごとに区切り、2画素ともドツトオンの場合をB
lack 、どちらか片方だけドツトオンの場合をG 
r a y、2画素ともドツトがオフの場合をWh i
 t eとじ3値化したものである。つまり、この結果
が多値プリンタ17で出力される。例えばインクジェッ
トプリンタでは、Bl ackの時は大きい面積のイン
クを、GrayO時は小さい面積のインクを用い、Wh
 i t eの時はインクを打たないよう制御する。
FIG. 2 is a diagram showing the flow of processing in the block diagram of FIG. Figure 2 (a) shows the input pixel density]
) ij (i, j are integers) indicates one pixel of input image data. Figure 2 (b) shows the pixel density after high-density processing in density conversion (1) 14, where one pixel is divided into the main scanning direction (
It is divided into two equal parts in the i direction) to double the density and contain the same data. Here, you may enter interpolated data instead of the same data. 2() and 2) show the results of binarization in the binarization circuit 15, in which dot on/off is determined for each double-density pixel. Figure 2 (d) shows density conversion (II)
This is the output result of 16. The binarization results in Figure 2 (...) are divided into two-pixel units, and the case where both pixels are dot-on is shown in B.
Lack, if only one side is on, G
r a y, when both dots are off, wh i
It is a 3-valued version with te binding. In other words, this result is output by the multilevel printer 17. For example, in an inkjet printer, a large area of ink is used for Black, a small area of ink is used for GrayO, and Wh
At the time of ite, control is performed so that ink is not applied.

又、第2図(11)の示した如く、ドツトのオン/オフ
だけの信号をそのまま2値プリンタで出力しても入力画
像データの1画素を多値レベルで表現することができる
Furthermore, as shown in FIG. 2 (11), one pixel of input image data can be expressed in multiple levels even if a binary printer outputs only the dot on/off signal as it is.

第3図は、密度変換回路(1)16の実施例である。入
力信号DIJはFIFOメモリ(ファーストインファー
ストアウト)31にクロックジェネレータ32からのク
ロックφ1で読み出し書き込みがなされる。またクロッ
クジェネレータからは、2値化回路15にクロックφ2
が与えられている。ここでφ2=2φ1で2倍の高周波
のクロックである。これにより2値化処理は2倍のクロ
ックで行われ、等測的に主走査方向の画素密度は2倍に
なる。
FIG. 3 shows an embodiment of the density conversion circuit (1) 16. The input signal DIJ is read and written to a FIFO memory (first-in-first-out) 31 using a clock φ1 from a clock generator 32. Also, from the clock generator, a clock φ2 is sent to the binarization circuit 15.
is given. Here, φ2=2φ1, which is a twice as high frequency clock. As a result, the binarization process is performed with twice as many clocks, and the pixel density in the main scanning direction is isometrically doubled.

第4図は、誤差拡散法にょる2値化回路15のブロック
図である。
FIG. 4 is a block diagram of the binarization circuit 15 based on the error diffusion method.

画像データD1」はエラーバッファメモリ46に記憶さ
れている既に処理済の画像データで発生した誤差データ
εijに重み付は発生器44によりあらかじめ定められ
た重み係数aklをかけられた値と加算器41で加算さ
れる。
``Image data D1'' is weighted by adding a value obtained by multiplying the error data εij generated in the already processed image data stored in the error buffer memory 46 by a predetermined weighting coefficient akl by the generator 44 and the adder 41 is added.

となる。becomes.

重み付は係数αklの例を第6図に示す。An example of the weighting coefficient αkl is shown in FIG.

次に補正データD’ijは2値化回路でしきい値Tと比
較され、しきい値以上なら1、逆にしきい値以下ならO
の信号yijを出力する。
Next, the correction data D'ij is compared with a threshold value T in a binarization circuit, and if it is above the threshold value, it is 1, and if it is below the threshold value, it is O.
outputs the signal yij.

νjはドツトのオン/オフを決定する2値化信号と一致
する。この2値データは密度変換回路(I[)t6に送
られる。
νj corresponds to a binary signal that determines dot on/off. This binary data is sent to the density conversion circuit (I[)t6.

一方減算器45では補正データyIjと出力yIJO差
分t1jが演算される。この差分演算は、yij = 
1のときは最大データDmax (例えば255)、y
ij二〇の時は最小データDmin(0)としてDli
jとの差分をとる。この結果はエラーバッファメモリ4
6の画素位置43に書き込まれる。画素位置43は現在
処理中の画素位置と対応する。この操作を順次繰り返す
ことにより誤差拡散法の2値化処理が実行される@ 第5図(イ)は、密度変換回路(n)16のブロック図
である。2値データyIjのデータPとラッチ51で1
画素遅延されたデータQは論理演算され、多値レベルが
決定される。
On the other hand, the subtracter 45 calculates the correction data yIj and the output yIJO difference t1j. This difference operation is yij =
When it is 1, the maximum data Dmax (for example, 255), y
When ij is 20, Dli is set as the minimum data Dmin (0).
Take the difference from j. This result is the error buffer memory 4
6 is written to pixel position 43. Pixel position 43 corresponds to the pixel position currently being processed. By sequentially repeating this operation, the binarization process using the error diffusion method is executed. FIG. 5(A) is a block diagram of the density conversion circuit (n) 16. 1 with data P of binary data yIj and latch 51
The pixel-delayed data Q is subjected to a logical operation to determine the multi-value level.

第5図(ロ)に示すように、PとQがともに0の時はX
oが1、PとQのどちらかが1の時はXlが1、PとQ
がともに1の時はX2が1になるよう出力を得る。Xo
が1の時はWh ite 、 Xlが1の時はGrey
 、 X2が1の時がBlackとなる3値レベルが決
められる。これを実現しているのが、第5図(イ)のA
ND回路52、E XOR回路53、NAND回路54
であり、それぞれ出力X2.X、 、Xoを得る。
As shown in Figure 5 (b), when both P and Q are 0,
When o is 1 and either P or Q is 1, Xl is 1, P and Q
When both are 1, the output is obtained so that X2 becomes 1. Xo
When is 1, it is White, and when Xl is 1, it is Gray
, A ternary level is determined that is Black when X2 is 1. What makes this possible is A in Figure 5 (a).
ND circuit 52, EXOR circuit 53, NAND circuit 54
, and the output X2. Obtain X, , Xo.

この出力X2 、Xl、Xoに基づき、多値プリンタ1
7では多値レベルの記録が実行される。
Based on the outputs X2, Xl, and Xo, the multilevel printer 1
In step 7, multilevel recording is executed.

このように前述の実施例によれば、入力画素密度より高
密度なデータで2値化処理を施した後、そのドツト数に
より逆に濃淡階調データに戻す処理を行うことにより、
解像度、階調性にすぐれた画像を得ることができる。
In this way, according to the above-described embodiment, by performing binarization processing using data with a higher density than the input pixel density, and then performing processing back to gray scale data depending on the number of dots,
Images with excellent resolution and gradation can be obtained.

又、前述第4図の出力yIJをそのまま2値プリンタで
出力しても入力画像データを多値レベルで表現すること
が可能で、従来の2値プリンタを用いても多値レベルを
表現することができる9 これによりレーザビームプリンタ等において、3値以上
を表現するためには、レーザの発光時間を何段階かに制
御しなければならなかったことが不要となる。またイン
クジェットプリンタではインクドロップの犬へさを何段
階かに制御しなければならなかったことが不要となる。
Furthermore, even if the output yIJ shown in FIG. 4 is output as is using a binary printer, it is possible to express the input image data at a multilevel level, and it is possible to express the input image data at a multilevel level even when using a conventional binary printer. 9 This eliminates the need for laser beam printers and the like to control the laser emission time in several stages in order to express three or more values. In addition, inkjet printers no longer require controlling the degree of ink drop in several stages.

前述の実施例では面積階調=濃淡階調の場合を示した。In the above-mentioned embodiment, the case where area gradation=shading gradation is shown.

これはレーザビームプリンタのように1画素のドツトの
大きさを制御するようなプリンタやインクドロップの大
きさを制御するプリンタにおいて濃淡レベルと等しい面
積に可変して出力することができるものである。例えば
第8図に示すように、1画素のGrayはプリンタ出力
時には面積階調になり誤差は発生しない。
This allows a printer that controls the size of a dot per pixel, such as a laser beam printer, or a printer that controls the size of an ink drop, to output an area that is variable and equal to the density level. For example, as shown in FIG. 8, when one pixel of Gray is output to a printer, it becomes area gradation and no error occurs.

一方インクジェットプリンタでは複数のインク(濃いイ
ンクと淡いインク)を切シ換えることにより多値レベル
を表現するものがある。この場合使用するインク濃度に
より面積階調=濃淡階調にならない場合が生じる。この
場合(濃淡階調による濃度データ)と(面積階調による
濃度データ)との差分だけ出力時の画像データが、ずれ
てくることになる。
On the other hand, some inkjet printers express multi-value levels by switching between a plurality of inks (dark ink and light ink). In this case, depending on the density of the ink used, there may be cases where the area gradation does not equal the light/dark gradation. In this case, the image data at the time of output will be shifted by the difference between (density data based on gradation) and (density data based on area gradation).

そこで差分を誤差データとして誤差ラインバッファにデ
ータを再拡散する必要があるつ第7図は、密度変換後の
誤差を補正する回路のブロック図であるっ E2=(濃淡階調による濃度データ)−(面積階調によ
る濃度データ)を加算器74で2値化誤差E1に加算さ
せた後エラーバッファメモリ75に書き込む。前述した
ように誤差E2は、2値化処理の画素ブロックに対し、
2画素おきに発生するので、2画素のうちの1画素に加
算させる方法と、y2E2均等に拡散させる方法と2通
りがあり、これはノ・−ドウエアでのタイミング調整で
容易に実現できる。
Therefore, it is necessary to use the difference as error data and re-diffuse the data into the error line buffer. Figure 7 is a block diagram of a circuit that corrects the error after density conversion. E2 = (density data based on gradation) - (density data based on area gradation) is added to the binarization error E1 by an adder 74 and then written into an error buffer memory 75. As mentioned above, the error E2 is for the pixel block of the binarization process,
Since it occurs every two pixels, there are two methods: adding it to one of the two pixels, and spreading it evenly to y2E2. This can be easily realized by adjusting the timing in hardware.

これにより、濃淡インクを用いるプリンタにおいてもプ
リンタの出力と、2値化回路71の処理後の多値レベル
値との間の誤差を補正することがでへる。
This makes it possible to correct errors between the output of the printer and the multi-value level value processed by the binarization circuit 71 even in a printer using light and dark ink.

また本実施例は入力1画素を2倍にし2値化処理をした
が、その他にも3倍にしたり1画素を2×2に分割する
ことによっても本実施例と同様な考え方で多値レベルが
決定できることはいうまでもない。
In addition, in this embodiment, one input pixel is doubled and binarized, but it is also possible to triple the input pixel or divide one pixel into 2×2, using the same concept as in this embodiment, to create a multi-value level. Needless to say, it can be determined.

尚、本実施例は説明を簡素化するため、入力画像データ
が1つの場合を示したが、R2O,83色の入力画像デ
ータを用いることでカラー画像の再生処理も容易に実現
できる。
In order to simplify the explanation, this embodiment shows a case where there is only one input image data, but by using input image data of R2O and 83 colors, color image reproduction processing can also be easily realized.

又、2値化処理も誤差拡散法に限ることなく他の2値化
手法を用いることが可能である。
Further, the binarization process is not limited to the error diffusion method, and other binarization methods can be used.

〔効果〕〔effect〕

以上説明したように本発明によれば入力画像データを高
密度に変換し、その変換されたデータを2値化し、その
結果に基づき、入力画像データを多値レベルで出力する
ので簡単な処理で階調性にすぐれた画像を得ることが可
能となる。
As explained above, according to the present invention, input image data is converted into high-density data, the converted data is binarized, and based on the result, input image data is outputted at a multilevel level, so that the processing is simple. It becomes possible to obtain an image with excellent gradation.

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

第1図は本発明の一実施例を示したブロック図、 第2図は第1図の処理の流れを示す図、第3図は画素密
度変換(1)の詳細を示したブロック図、 第4図は誤差拡散法による2値化回路の詳細を示したブ
ロック図、 第5図は画素密度変換(n)の詳細を示したブロック図
、 第6図は誤差拡散法の重み係数であるマトリクスの例を
示した図、 第7図は本発明の第2の実施例のブロック図、 第8図は面積階調=濃淡階調を示した図である。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a diagram showing the processing flow of FIG. 1, and FIG. 3 is a block diagram showing details of pixel density conversion (1). Figure 4 is a block diagram showing details of the binarization circuit using the error diffusion method, Figure 5 is a block diagram showing details of pixel density conversion (n), and Figure 6 is a matrix that is the weighting coefficient of the error diffusion method. FIG. 7 is a block diagram of the second embodiment of the present invention, and FIG. 8 is a diagram showing area gradation=shading gradation.

Claims (1)

【特許請求の範囲】 画像データを入力する入力手段と、入力さ れた画像データを入力画素密度より細かい画素密度に変
換する変換手段と、上記変換手段により高密度 に変換された 画像データを2値化する2値化手段とを有し、前記2値
化手段の2値結果に基づき前記入力手段により入力され
た画像データを多値レベルで出力することを特徴とする
画像処理装置
[Claims] An input means for inputting image data; a conversion means for converting the input image data into a pixel density finer than the input pixel density; An image processing device comprising: a binarization means for converting the image data into a multivalued image, and outputs the image data inputted by the input means at a multilevel level based on the binary result of the binarization means.
JP63082430A 1988-04-04 1988-04-04 Image processing device Expired - Fee Related JP2683020B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63082430A JP2683020B2 (en) 1988-04-04 1988-04-04 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63082430A JP2683020B2 (en) 1988-04-04 1988-04-04 Image processing device

Publications (2)

Publication Number Publication Date
JPH01254071A true JPH01254071A (en) 1989-10-11
JP2683020B2 JP2683020B2 (en) 1997-11-26

Family

ID=13774354

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63082430A Expired - Fee Related JP2683020B2 (en) 1988-04-04 1988-04-04 Image processing device

Country Status (1)

Country Link
JP (1) JP2683020B2 (en)

Also Published As

Publication number Publication date
JP2683020B2 (en) 1997-11-26

Similar Documents

Publication Publication Date Title
US6118547A (en) Image processing method and apparatus
US5805738A (en) Image processing apparatus and method
JPH04219073A (en) Image recorder
US5760918A (en) Image processing apparatus with conversion and reconversion of the number of bits per pixel
JPH01115271A (en) Image processor
JPH0722327B2 (en) Color image processor
JPH01254071A (en) Picture processor
JP2851662B2 (en) Image processing device
US6870640B1 (en) Method and apparatus for rendering a continuous tone image representation with multiple digital halftoning
JPH0131344B2 (en)
JPS60116283A (en) System for recording half tone
JP3984693B2 (en) Image processing apparatus and method
JP2701310B2 (en) Halftone image generation method and apparatus
JP2848568B2 (en) Image processing device
JPH10224637A (en) Picture processor
JPH03109871A (en) Picture processor
JPS62183265A (en) Image data transmission system
JP3178077B2 (en) Binarization processing method
JPH11339032A (en) Image processing method and device therefor
JPH11355577A (en) Image processor
JPS63132571A (en) Image read processor
JPH06245065A (en) Picture reader
JPH0117309B2 (en)
JPH02155769A (en) Recorder
JPH11234512A (en) Image processing unit

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees