JPH08142411A - Image processing apparatus and method - Google Patents

Image processing apparatus and method

Info

Publication number
JPH08142411A
JPH08142411A JP6302863A JP30286394A JPH08142411A JP H08142411 A JPH08142411 A JP H08142411A JP 6302863 A JP6302863 A JP 6302863A JP 30286394 A JP30286394 A JP 30286394A JP H08142411 A JPH08142411 A JP H08142411A
Authority
JP
Japan
Prior art keywords
image
gradation
pixel
pattern
printing
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
JP6302863A
Other languages
Japanese (ja)
Other versions
JP2935009B2 (en
Inventor
Atsushi Nochida
淳 後田
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 JP6302863A priority Critical patent/JP2935009B2/en
Publication of JPH08142411A publication Critical patent/JPH08142411A/en
Application granted granted Critical
Publication of JP2935009B2 publication Critical patent/JP2935009B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Color, Gradation (AREA)
  • Image Processing (AREA)

Abstract

PURPOSE: To provide an image processing apparatus capable of suppressing the generation of density irregularity. CONSTITUTION: An image processing apparatus has an RAM 10 for a multivalue image, a binarizing device 11 binarizing an image by a density pattern method, a gradation pattern memory 12, a pattern selector 13, an RAM 14 for a binary image, a dot matrix type printer 15 and an image printer 16. The binarizing device 11 scans the respective pixels of the multivalue image and reads the gradation patterns corresponding to the gradations of the respective pixels to store the same at the noticeable pixels position of the RAM 14. The pattern selector 13 selects the gradation pattern used in binarization corresponding to the horizontal position of a noticeable pixel. There are four kinds of gradation patterns corresponding to gradation levels 0-16. For example, when a printing head is shifted in the left upward direction at the time of a specific horizontal printing, the repeating cycle of the patterns in an equal density region becomes large as compared with a case using a single gradation pattern and, therefore, the density irregularity caused by the error of a printing position becomes inconspicuous.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、多値画像を2値ドット
マトリクスプリンタで出力するための画像処理装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus for outputting a multi-valued image with a binary dot matrix printer.

【0002】[0002]

【従来の技術】従来、多値画像を2値ドットマトリクス
プリンタで出力する場合には、いわゆる濃度パターン
法、組織的ディザ法、誤差拡散法などの疑似階調表現方
式により多値画像を2値画像に変換し、変換された2値
画像を印字ヘッドのドット数単位のバンドに分割し、バ
ンド単位で印刷したりおよび紙送りしたりして垂直方向
のヘッド移動を繰り返すしていた。
2. Description of the Related Art Conventionally, when a multi-valued image is output by a binary dot matrix printer, the multi-valued image is binarized by a pseudo gradation expression method such as a so-called density pattern method, systematic dither method or error diffusion method. The image is converted into an image, the converted binary image is divided into bands of the print head in units of the number of dots, and the head movement is repeated in the band unit for printing and paper feeding.

【0003】このとき、紙送りないし垂直方向のヘッド
移動における機械的な誤差による、水平方向の線状の空
きあるいは重なりが発生することを防ぐために、紙送り
ないし垂直方向のヘッド移動量を印字ヘッドのドット数
の半分単位にする方法が用いられていた。すなわち、第
1の水平方向印刷時においてはバンド内の半数の画素を
印字し、つづく第2の水平方向印刷時においては偶数バ
ンドの下半分と奇数バンドの上半分内の画素のうち第1
の水平方向印刷時において印刷しなかった画素を印字す
ることを繰り返していた。
At this time, in order to prevent the occurrence of a horizontal linear void or overlap due to a mechanical error in the paper feed or the head movement in the vertical direction, the head movement amount in the paper feed or the vertical direction is set to the print head. The method of making half the number of dots of was used. That is, half the pixels in the band are printed during the first horizontal printing, and then the first half of the pixels in the lower half of the even band and the upper half of the odd band are printed during the second horizontal printing.
The printing of the pixels that were not printed during the horizontal printing was repeated.

【0004】図9は従来からの印字方法を示す説明図で
ある。図おいて、80は印字ヘッドで一度に8ドットの
印字が可能である。印字ヘッドは左から右へ移動しなが
ら2画素おきに対応する画素位置にインクを吐出または
転写し、用紙上に画像を形成する。
FIG. 9 is an explanatory view showing a conventional printing method. In the figure, 80 is a print head capable of printing 8 dots at a time. While moving from left to right, the print head ejects or transfers ink to pixel positions corresponding to every two pixels to form an image on the paper.

【0005】1回の水平方向の印字が終わると、印字ヘ
ッドの半ドット、すなわち4画素分用紙を送る。81に
よって示される各数字は用紙上に印字される画素の順番
を示している。1番目の水平方向印刷時には、印字ヘッ
ドの下側4ドットを用いて図中1の画素を印字する。2
番目の水平方向印刷時には、図中2の画素を印字する。
以下、同様にして画面全体を印字する。
When one horizontal printing is completed, the paper is fed by half a dot of the print head, that is, by 4 pixels. Each number indicated by 81 indicates the order of pixels printed on the paper. At the time of the first horizontal printing, the pixel of 1 in the figure is printed using the lower 4 dots of the print head. Two
At the time of the second horizontal printing, the pixel 2 in the figure is printed.
Thereafter, the entire screen is printed in the same manner.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記従
来例では濃度パターン法や組織的ディザ法などによる階
調パターンが規則的に繰り返される2値画像の場合、第
1の水平方向印字時と第2の水平方向印字時における印
刷位置の機械的誤差により、均等濃度部において濃度む
らが発生するという欠点があった。
However, in the above-mentioned conventional example, in the case of a binary image in which the gradation pattern by the density pattern method or the systematic dither method is regularly repeated, the first horizontal printing and the second horizontal printing are performed. However, there is a defect that uneven density occurs in the uniform density portion due to a mechanical error in the printing position during horizontal printing.

【0007】そこで、本発明は濃度むらの発生を抑える
ことができる画像処理装置を提供することを目的とす
る。
Therefore, an object of the present invention is to provide an image processing apparatus capable of suppressing the occurrence of density unevenness.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
に、本発明の請求項1に係る画像処理装置は、多値画像
を記憶する多値画像記憶手段と、2値画像を記憶するた
めの2値画像記憶手段とを備え、疑似階調表現方式によ
り前記多値画像を前記2値画像に変換して印刷する画像
処理装置において、複数の階調パターンを記憶する階調
パターン記憶手段と、前記多値画像の画素位置に応じて
前記複数の階調パターンを切り換えるパターン切換手段
と、前記多値画像の各画素を走査し、該各画素の階調レ
ベルに応じて前記階調パターンの階調を前記2値画像記
憶手段に格納する画像2値化手段と、該格納された階調
パターンの階調にしたがって、前記2値画像をドットマ
トリクスで印刷する印刷手段とを備える。
In order to achieve the above object, an image processing apparatus according to claim 1 of the present invention stores a multi-valued image storage means for storing a multi-valued image and a binary image. An image processing device for converting the multi-valued image into the binary image by a pseudo gradation expression method and printing the binary image, and a gradation pattern storage means for storing a plurality of gradation patterns. Pattern switching means for switching the plurality of gradation patterns according to the pixel position of the multi-valued image, and scanning each pixel of the multi-valued image, and changing the gradation pattern of the gradation pattern according to the gradation level of each pixel. The image binarization unit stores the gradation in the binary image storage unit, and the printing unit prints the binary image in a dot matrix according to the gradation of the stored gradation pattern.

【0009】請求項2に係る画像処理装置は、多値画像
を記憶する多値画像記憶手段と、2値画像を記憶するた
めの2値画像記憶手段とを備え、疑似階調表現方式によ
り前記多値画像を前記2値画像に変換して印刷する画像
処理装置において、前記多値画像の画素の値と比較され
るしきい値が複数記憶されたしきい値マスクを複数格納
するしきい値マスク格納手段と、前記多値画像の画素の
位置に応じて前記複数のしきい値マスクを切り換えるし
きい値マスク切換手段と、前記多値画像の各画素を走査
し、該各画素の値と該画素の位置に応じた前記しきい値
との比較に応じて前記2値画像記憶手段の対応する画素
の位置を2値化する画像2値化手段と、該2値化された
前記2値画像をドットマトリクスで印刷する印刷手段と
を備える。
An image processing apparatus according to a second aspect comprises a multi-valued image storage means for storing a multi-valued image and a binary image storage means for storing a binary image, and the pseudo-gradation expression method is used for the image processing apparatus. In an image processing apparatus for converting a multi-valued image into the binary image and printing the same, a threshold value for storing a plurality of threshold value masks storing a plurality of threshold values to be compared with the pixel values of the multi-valued image. Mask storage means, threshold value mask switching means for switching the plurality of threshold value masks according to the position of the pixel of the multi-valued image, each pixel of the multi-valued image is scanned, and the value of each pixel is set. An image binarizing unit for binarizing the position of the corresponding pixel of the binary image storage unit according to a comparison with the threshold value corresponding to the position of the pixel; and the binarized binary value. And a printing unit that prints an image in a dot matrix.

【0010】請求項3に係る画像処理方法は、多値画像
を記憶し、該記憶された多値画像を疑似階調表現方式に
より2値画像に変換して印刷する画像処理方法におい
て、複数の階調パターンを記憶し、前記多値画像の画素
位置に応じて前記複数の階調パターンを切り換え、前記
多値画像の各画素を走査し、該各画素の階調レベルに応
じて前記階調パターンの階調を決定し、該決定された前
記階調パターンの階調にしたがって、前記2値画像をド
ットマトリクスで印刷することを特徴とする。
An image processing method according to a third aspect is an image processing method for storing a multivalued image, converting the stored multivalued image into a binary image by a pseudo gradation expression method, and printing the binary image. A gradation pattern is stored, the plurality of gradation patterns are switched according to the pixel position of the multivalued image, each pixel of the multivalued image is scanned, and the gradation is calculated according to the gradation level of each pixel. The gradation of the pattern is determined, and the binary image is printed in a dot matrix according to the determined gradation of the gradation pattern.

【0011】[0011]

【作用】本発明の請求項1に係る画像処理装置では、多
値画像記憶手段により多値画像を記憶し、疑似階調表現
方式により前記多値画像を2値画像に変換して印刷する
際に、階調パターン記憶手段により複数の階調パターン
を記憶し、パターン切換手段により前記多値画像の画素
位置に応じて前記複数の階調パターンを切り換え、画像
2値化手段により前記多値画像の各画素を走査し、該各
画素の階調レベルに応じて前記階調パターンの階調を2
値画像記憶手段に格納し、該格納された階調パターンの
階調にしたがって、印刷手段により前記2値画像をドッ
トマトリクスで印刷する。
In the image processing apparatus according to the first aspect of the present invention, when a multi-valued image is stored by the multi-valued image storage means, the multi-valued image is converted into a binary image by the pseudo gradation expression method and printed. Further, the gradation pattern storage means stores a plurality of gradation patterns, the pattern switching means switches the plurality of gradation patterns according to the pixel position of the multivalued image, and the image binarizing means performs the multivalued image. Scanning each pixel of the pixel and changing the gradation level of the gradation pattern to 2 according to the gradation level of each pixel.
The binary image is stored in the value image storage means, and the binary image is printed by the printing means in a dot matrix according to the gradation of the stored gradation pattern.

【0012】請求項2に係る画像処理装置では、多値画
像記憶手段により多値画像を記憶し、疑似階調表現方式
により前記多値画像を前記2値画像に変換して印刷する
際に、前記多値画像の画素の値と比較されるしきい値が
複数記憶されたしきい値マスクをしきい値マスク格納手
段により複数格納しておき、しきい値マスク切換手段に
より前記多値画像の画素の位置に応じて前記複数のしき
い値マスクを切り換え、前記多値画像の各画素を走査
し、画像2値化手段により該各画素の値と該画素の位置
に応じた前記しきい値との比較に応じて前記2値画像記
憶手段の対応する画素の位置を2値化し、印刷手段によ
り該2値化された前記2値画像をドットマトリクスで印
刷する。
In the image processing apparatus according to the second aspect, the multi-valued image storage means stores the multi-valued image, and when the multi-valued image is converted into the binary image by the pseudo gradation expression method and printed, A plurality of threshold masks in which a plurality of threshold values to be compared with the pixel values of the multi-valued image are stored are stored in the threshold mask storing means, and the threshold mask switching means stores the multi-valued image of the multi-valued image. The plurality of threshold value masks are switched according to the position of the pixel, each pixel of the multi-valued image is scanned, and the threshold value corresponding to the value of each pixel and the position of the pixel is obtained by the image binarizing means. The position of the corresponding pixel of the binary image storage means is binarized in accordance with the comparison with, and the binarized binary image is printed by the printing means in a dot matrix.

【0013】[0013]

【実施例】本発明の画像処理装置の実施例について説明
する。
Embodiments of the image processing apparatus of the present invention will be described.

【0014】[第1実施例]図1は第1実施例の画像処
理装置の構成を示すブロック図である。図において、1
0は多値画像を格納する多値画像用RAM、11は濃度
パターン法により画像を2値化する2値化装置、12は
階調パターンを格納する階調パターン用メモリである。
[First Embodiment] FIG. 1 is a block diagram showing the arrangement of an image processing apparatus according to the first embodiment. In the figure, 1
Reference numeral 0 is a multivalued image RAM for storing a multivalued image, 11 is a binarizing device for binarizing an image by a density pattern method, and 12 is a gradation pattern memory for storing a gradation pattern.

【0015】13は複数の階調パターンのうち、どの階
調パターンを使用するかを決定するパターン選択装置、
14は2値画像を格納する2値画像用RAM、15は2
値画像を印刷するドットマトリクス式のプリンタ、16
はプリンタ15を制御する画像印刷装置である。
Reference numeral 13 is a pattern selection device for deciding which gradation pattern to use among a plurality of gradation patterns,
14 is a binary image RAM for storing a binary image, and 15 is 2
Dot-matrix printer for printing value images, 16
Is an image printing device for controlling the printer 15.

【0016】2値化装置11は、多値画像の各画素を順
に走査し、各画素の階調に対応した階調パターンを階調
パターン用メモリ12から読み出し、2値画像用RAM
14の注目画素位置に格納する。
The binarizing device 11 sequentially scans each pixel of a multi-valued image, reads a gradation pattern corresponding to the gradation of each pixel from the gradation pattern memory 12, and a binary image RAM.
It is stored in 14 target pixel positions.

【0017】図2は階調パターンを示す説明図である。
4種類の階調パターンは、それぞれ階調レベル0〜16
に対応したパターンを有する。パターン選択装置13
は、注目画素の水平位置により2値化に使用する階調パ
ターンを選択する。
FIG. 2 is an explanatory diagram showing a gradation pattern.
The four types of gradation patterns have gradation levels 0 to 16 respectively.
Has a pattern corresponding to. Pattern selection device 13
Selects a gradation pattern used for binarization according to the horizontal position of the pixel of interest.

【0018】図3は2値化処理およびパターン選択処理
を示すフローチャートである。この処理は2値化装置1
1およびパターン選択装置13によって実行される。ま
ず、処理対象となる多値画像の画素の垂直位置カウンタ
Yを値0に初期化する(ステップS90)。同様に、処
理対象となる多値画像の画素の水平位置カウンタXを値
0に初期化する(ステップS91)。水平位置カウンタ
Xにより階調パターンPを選択する(ステップS9
2)。ここで、4種類の階調パターンPを順次切り替え
るためにXを値4で割った余り(Xmod4)を用いる
こととする。
FIG. 3 is a flowchart showing the binarization process and the pattern selection process. This processing is performed by the binarization device 1
1 and the pattern selection device 13. First, the vertical position counter Y of the pixel of the multi-valued image to be processed is initialized to the value 0 (step S90). Similarly, the horizontal position counter X of the pixel of the multi-valued image to be processed is initialized to the value 0 (step S91). The gradation pattern P is selected by the horizontal position counter X (step S9).
2). Here, the remainder (Xmod4) obtained by dividing X by 4 is used to sequentially switch the four types of gradation patterns P.

【0019】多値画像用RAM10の位置座標(X,
Y)の画素の濃度Dを読み出す(ステップS93)。濃
度Dに対応した階調Lを求める。例えば、入力画像の濃
度が0〜255の範囲の値を持つならば、階調LはL=
D×17/256(小数以下切り捨て)によって算出さ
れる。
Positional coordinates (X,
The density D of the pixel of Y) is read (step S93). The gradation L corresponding to the density D is obtained. For example, if the density of the input image has a value in the range of 0 to 255, the gradation L is L =
It is calculated by D × 17/256 (decimal fractions are rounded down).

【0020】ステップS92で選択した階調パターンP
から階調Lのパターンを読み出す(ステップS95)。
2値画像用RAM14の位置座標(X×4,Y×4)か
ら(X×4+3,Y×4+3)の範囲にステップS95
で読み出したパターンを書き込む(ステップS96)。
水平位置カウンタXを1つ進める(ステップS97)。
The gradation pattern P selected in step S92
The pattern of gradation L is read from (step S95).
Step S95 within the range of (X × 4 + 3, Y × 4 + 3) from the position coordinates (X × 4, Y × 4) of the binary image RAM 14
The pattern read in is written (step S96).
The horizontal position counter X is incremented by 1 (step S97).

【0021】以上示したステップS92〜ステップS9
7を1ライン分の画像データに対して繰り返す(ステッ
プS98)。1ライン分の画像データの処理が終了し、
水平位置カウンタXが水平画素数を越えた場合には次の
ラインの処理に移行するために垂直位置カウンタYを1
つ進める(ステップS99)。すべてのラインの処理が
終了したか否かを判別し(ステップS100)、終了し
ていないときにはステップS91からの処理を繰り返
し、終了しているときには本ルーチンを終了する。
Steps S92 to S9 shown above
7 is repeated for the image data for one line (step S98). The processing of the image data for one line is completed,
When the horizontal position counter X exceeds the number of horizontal pixels, the vertical position counter Y is set to 1 in order to shift to the processing of the next line.
(Step S99). It is determined whether or not the processing for all lines has been completed (step S100). If not completed, the processing from step S91 is repeated, and if completed, this routine is terminated.

【0022】図4は階調レベルが5の均等濃度領域を2
値化した結果の2値画像を示す説明図である。この例で
は、4画素毎に階調パターンを切り替えている。図5は
第2の水平方向印刷時に印字ヘッドが左上にずれた場合
に、本実施例の階調パターンと従来の単一の階調パター
ンとを使用したときの印刷結果の比較を示す説明図であ
る。同図(A)は本実施例の印刷結果を示し、同図
(B)は従来の印刷結果を示す。このように、単一の階
調パターンを使用したものと比べて均等濃度領域におけ
るパターンの繰り返し周期が大きくなるため、印字位置
の誤差による濃度むらが目立たなくなる。
FIG. 4 shows two uniform density areas with gradation levels of 5.
It is explanatory drawing which shows the binary image of the value-ized result. In this example, the gradation pattern is switched every 4 pixels. FIG. 5 is an explanatory diagram showing a comparison of print results when the gradation pattern of this embodiment and the conventional single gradation pattern are used when the print head is displaced to the upper left in the second horizontal printing. Is. The figure (A) shows the printing result of the present embodiment, and the figure (B) shows the conventional printing result. In this way, the pattern repetition cycle in the uniform density region becomes longer than that in the case where a single gradation pattern is used, so that the density unevenness due to the error in the printing position becomes inconspicuous.

【0023】尚、本実施例の各階調パターンはそれぞれ
パターンを垂直方向にシフトさせた形を有する。本実施
例のように、数種類の階調パターンをメモリに記憶して
おく代わりに、一つの階調パターンを用いパターン選択
装置13は多値画像の水平位置に応じて階調パターン用
メモリの読み出し位置を変えることによりパターンを切
り替える方法でも同様な効果を得ることができる。図6
は階調パターン用メモリの読み出し位置を変えて数種類
の階調パターンが得られることを示す説明図である。こ
のようにすれば、階調パターンを格納するメモリの容量
を節約できる。
Each gradation pattern of this embodiment has a form in which the pattern is vertically shifted. Instead of storing several types of gradation patterns in the memory as in the present embodiment, the pattern selection device 13 uses one gradation pattern and the pattern selection device 13 reads out the gradation pattern memory according to the horizontal position of the multi-valued image. The same effect can be obtained by a method of switching the pattern by changing the position. Figure 6
FIG. 3 is an explanatory diagram showing that several kinds of gradation patterns can be obtained by changing the read position of the gradation pattern memory. By doing so, the capacity of the memory for storing the gradation pattern can be saved.

【0024】[第2実施例]つぎに、第2実施例の画像
処理装置について説明する。前記第1実施例では、疑似
階調表現方式として濃度パターン法を想定したが、他の
疑似階調表現方式でも有効である。図7は組織的ディザ
法を使用した第2実施例の画像処理装置の構成を示すブ
ロック図である。前記第1実施例と同一の構成要素につ
いては同一の番号が付されている。図において、18は
しきい値マスク選択装置を示し、17は複数のしきい値
マスクが格納されているメモリである。
[Second Embodiment] Next, an image processing apparatus according to a second embodiment will be described. Although the density pattern method is assumed as the pseudo gradation expression method in the first embodiment, other pseudo gradation expression methods are also effective. FIG. 7 is a block diagram showing the arrangement of the image processing apparatus according to the second embodiment using the systematic dither method. The same components as those in the first embodiment are designated by the same reference numerals. In the figure, reference numeral 18 denotes a threshold mask selecting device, and 17 is a memory in which a plurality of threshold masks are stored.

【0025】図8は複数のしきい値マスクを示す説明図
である。本実施例の画像処理装置では、図8に示すよう
な複数のしきい値マスクを多値画像の水平位置4画素お
きに切り替えて使用する。
FIG. 8 is an explanatory diagram showing a plurality of threshold masks. In the image processing apparatus of this embodiment, a plurality of threshold value masks as shown in FIG. 8 are used by switching them every 4 pixels in the horizontal position of the multivalued image.

【0026】具体的に説明すると、画像2値化装置11
は多値画像の各画素を水平方向に順に走査し、画素の値
とその画素の位置に対応するしきい値マスクの値とを比
較し画素の値の方が大きければ2値画像の当該画素をオ
ン(インクを打つ)に、画素の値の方が小さければ2値
画像の当該画素をオフ(インクを打たない)に設定す
る。1ライン目の水平方向1番目の画像は、しきい値マ
スク1の左上の値(1)と比較する。1ライン目の水平
方向2番目の画素は、しきい値マスク1のうえから1ラ
イン目の左から2番目の値(9)と比較する。1ライン
目の水平方向3番目、4番目も同様である。1ライン目
の水平方向5番目の画素は、しきい値マスク2の左上の
画素と比較する。1ライン目の水平方向6番目、7番
目、8番目は、同じくしきい値マスク2の1ライン目の
値と比較する。以上のように、水平方向4画素おきにし
きい値マスクを切り替える。1ライン目の処理がすべて
終われば、2ライン目の画素に付き同様に処理する。こ
のとき、しきい値マスクは上から2ライン目の値に用い
る。5ライン目の処理では再びしきい値マスクの上から
1ライン目の値を用いる。
More specifically, the image binarization device 11
Scans each pixel of the multi-valued image in order in the horizontal direction, compares the value of the pixel with the value of the threshold mask corresponding to the position of the pixel, and if the value of the pixel is larger, the corresponding pixel of the binary image. Is turned on (ink is applied), and if the pixel value is smaller, the pixel of the binary image is turned off (ink is not applied). The first horizontal image of the first line is compared with the upper left value (1) of the threshold mask 1. The second pixel in the horizontal direction on the first line is compared with the second value (9) from the left on the first line from the top of the threshold mask 1. The same applies to the third and fourth horizontal lines of the first line. The fifth pixel in the horizontal direction of the first line is compared with the upper left pixel of the threshold mask 2. The horizontal sixth, seventh, and eighth lines are similarly compared with the values of the first line of the threshold mask 2. As described above, the threshold mask is switched every 4 pixels in the horizontal direction. When the processing of the first line is completed, the same processing is performed for the pixels of the second line. At this time, the threshold mask is used for the value of the second line from the top. In the processing of the fifth line, the value of the first line from the top of the threshold mask is used again.

【0027】その他の疑似階調表現方式として、多値画
像の階調数が濃度パターンないし組織的ディザ法で表現
できる疑似階調数より大きい場合には、疑似階調化にお
いて階調の量子化誤差が生じるが、この量子化誤差を誤
差拡散法により隣接画素に分配することにより疑似階調
数を無限に拡大する方式が考えられるが、この疑似階調
表現方式においても本発明は有効である。
As another pseudo gradation representation method, when the gradation number of the multi-valued image is larger than the pseudo gradation number that can be represented by the density pattern or the systematic dither method, gradation quantization in pseudo gradation conversion is performed. Although an error occurs, a method is conceivable in which the quantization error is distributed to adjacent pixels by an error diffusion method to infinitely increase the number of pseudo gradations. The present invention is also effective in this pseudo gradation expression method. .

【0028】また、イエロー、マゼンタ、シアンや、イ
エロー、マゼンタ、シアン、ブラックのプロセスイン
ク、あるいは任意の特色インクに対応する多値画像成分
に対してそれぞれ疑似階調表現を適用することにより、
本発明の画像処理装置はカラー多値画像に適用できる。
Further, by applying the pseudo gradation expression to the multi-valued image components corresponding to yellow, magenta, cyan, yellow, magenta, cyan, black process ink, or any special color ink,
The image processing apparatus of the present invention can be applied to color multi-valued images.

【0029】[0029]

【発明の効果】本発明の請求項1に係る画像処理装置に
よれば、多値画像記憶手段により多値画像を記憶し、疑
似階調表現方式により前記多値画像を2値画像に変換し
て印刷する際に、階調パターン記憶手段により複数の階
調パターンを記憶し、パターン切換手段により前記多値
画像の画素位置に応じて前記複数の階調パターンを切り
換え、画像2値化手段により前記多値画像の各画素を走
査し、該各画素の階調レベルに応じて前記階調パターン
の階調を2値画像記憶手段に格納し、該格納された階調
パターンの階調にしたがって、印刷手段により前記2値
画像をドットマトリクスで印刷するので、印字ヘッド移
動の機械的誤差がある場合に発生する濃度むらを低減で
きる。
According to the image processing apparatus of the first aspect of the present invention, the multi-valued image storage means stores the multi-valued image, and the multi-valued image is converted into the binary image by the pseudo gradation expression method. At the time of printing, the gradation pattern storage means stores a plurality of gradation patterns, the pattern switching means switches the plurality of gradation patterns according to the pixel position of the multi-valued image, and the image binarization means Each pixel of the multi-valued image is scanned, the gradation of the gradation pattern is stored in the binary image storage means according to the gradation level of each pixel, and according to the gradation of the stored gradation pattern. Since the binary image is printed in the dot matrix by the printing means, it is possible to reduce the density unevenness that occurs when there is a mechanical error in the movement of the print head.

【0030】請求項2に係る画像処理装置によれば、多
値画像記憶手段により多値画像を記憶し、疑似階調表現
方式により前記多値画像を前記2値画像に変換して印刷
する際に、前記多値画像の画素の値と比較されるしきい
値が複数記憶されたしきい値マスクをしきい値マスク格
納手段により複数格納しておき、しきい値マスク切換手
段により前記多値画像の画素の位置に応じて前記複数の
しきい値マスクを切り換え、前記多値画像の各画素を走
査し、画像2値化手段により該各画素の値と該画素の位
置に応じた前記しきい値との比較に応じて前記2値画像
記憶手段の対応する画素の位置を2値化し、印刷手段に
より該2値化された前記2値画像をドットマトリクスで
印刷するので、印字ヘッド移動の機械的誤差がある場合
に発生する濃度むらを低減できる。
According to the image processing apparatus of the second aspect, the multi-valued image storage means stores the multi-valued image, and the multi-valued image is converted into the binary image by the pseudo gradation expression method and printed. Further, a plurality of threshold masks in which a plurality of threshold values to be compared with the pixel values of the multi-valued image are stored are stored by the threshold mask storage means, and the multi-valued image is stored by the threshold mask switching means. The plurality of threshold value masks are switched according to the position of the pixel of the image, each pixel of the multi-valued image is scanned, and the image binarizing unit performs the above-mentioned operation according to the value of each pixel and the position of the pixel. The position of the corresponding pixel in the binary image storage means is binarized according to the comparison with the threshold value, and the binarized binary image is printed by the printing means in a dot matrix. Concentration caused by mechanical error It can be reduced.

【0031】請求項3に係る画像処理方法によれば、多
値画像を記憶し、該記憶された多値画像を疑似階調表現
方式により2値画像に変換して印刷する画像処理方法に
おいて、複数の階調パターンを記憶し、前記多値画像の
画素位置に応じて前記複数の階調パターンを切り換え、
前記多値画像の各画素を走査し、該各画素の階調レベル
に応じて前記階調パターンの階調を決定し、該決定され
た前記階調パターンの階調にしたがって、前記2値画像
をドットマトリクスで印刷するので、印字ヘッド移動の
機械的誤差がある場合に発生する濃度むらを低減でき
る。
According to the image processing method of the third aspect, in the image processing method of storing a multivalued image, converting the stored multivalued image into a binary image by a pseudo gradation expression method, and printing the binary image. Storing a plurality of gradation patterns, switching the plurality of gradation patterns according to the pixel position of the multi-valued image,
Each pixel of the multi-valued image is scanned, the gradation of the gradation pattern is determined according to the gradation level of each pixel, and the binary image is determined according to the determined gradation of the gradation pattern. Is printed with a dot matrix, it is possible to reduce density unevenness that occurs when there is a mechanical error in the movement of the print head.

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

【図1】第1実施例の画像処理装置の構成を示すブロッ
ク図である。
FIG. 1 is a block diagram showing a configuration of an image processing apparatus according to a first embodiment.

【図2】階調パターンを示す説明図である。FIG. 2 is an explanatory diagram showing a gradation pattern.

【図3】2値化処理およびパターン選択処理を示すフロ
ーチャートである。
FIG. 3 is a flowchart showing a binarization process and a pattern selection process.

【図4】階調レベルが5の均等濃度領域を2値化した結
果の2値画像を示す説明図である。
FIG. 4 is an explanatory diagram showing a binary image as a result of binarizing a uniform density area having a gradation level of 5;

【図5】第2の水平方向印刷時に印字ヘッドが左上にず
れた場合に、第1実施例の階調パターンと従来の単一の
階調パターンとを使用したときの印刷結果の比較を示す
説明図である。
FIG. 5 shows a comparison of print results when the gradation pattern of the first embodiment and a conventional single gradation pattern are used when the print head is displaced to the upper left during the second horizontal printing. FIG.

【図6】階調パターン用メモリの読み出し位置を変えて
数種類の階調パターンが得られることを示す説明図であ
る。
FIG. 6 is an explanatory diagram showing that several kinds of gradation patterns can be obtained by changing the read position of the gradation pattern memory.

【図7】組織的ディザ法を使用した第2実施例の画像処
理装置の構成を示すブロック図である。
FIG. 7 is a block diagram showing a configuration of an image processing apparatus of a second embodiment using the systematic dither method.

【図8】複数のしきい値マスクを示す説明図である。FIG. 8 is an explanatory diagram showing a plurality of threshold masks.

【図9】従来からの印字方法を示す説明図である。FIG. 9 is an explanatory diagram showing a conventional printing method.

【符号の説明】[Explanation of symbols]

10 … 多値画像用RAM 11 … 2値化装置 12 … 階調パターン用メモリ 13 … パターン選択装置 14 … 2値化画像用RAM 15 … プリンタ 16 … 画像印刷装置 10 ... Multi-valued image RAM 11 ... Binarization device 12 ... Gradation pattern memory 13 ... Pattern selection device 14 ... Binarized image RAM 15 ... Printer 16 ... Image printing device

フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04N 1/40 101 E Continuation of front page (51) Int.Cl. 6 Identification number Office reference number FI technical display location H04N 1/40 101 E

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 多値画像を記憶する多値画像記憶手段
と、 2値画像を記憶するための2値画像記憶手段とを備え、 疑似階調表現方式により前記多値画像を前記2値画像に
変換して印刷する画像処理装置において、 複数の階調パターンを記憶する階調パターン記憶手段
と、 前記多値画像の画素位置に応じて前記複数の階調パター
ンを切り換えるパターン切換手段と、 前記多値画像の各画素を走査し、該各画素の階調レベル
に応じて前記階調パターンの階調を前記2値画像記憶手
段に格納する画像2値化手段と、 該格納された階調パターンの階調にしたがって、前記2
値画像をドットマトリクスで印刷する印刷手段とを備え
たことを特徴とする画像処理装置。
1. A multi-valued image storage means for storing a multi-valued image, and a binary image storage means for storing a binary image, wherein the multi-valued image is converted into the binary image by a pseudo gradation expression method. In an image processing apparatus for converting into and printing in a plurality of gradation patterns, a gradation pattern storage means for storing a plurality of gradation patterns, a pattern switching means for switching the plurality of gradation patterns according to a pixel position of the multi-valued image, An image binarization unit that scans each pixel of a multi-valued image and stores the gradation of the gradation pattern in the binary image storage unit according to the gradation level of each pixel; and the stored gradation. 2 according to the gradation of the pattern
An image processing apparatus comprising: a printing unit that prints a value image in a dot matrix.
【請求項2】 多値画像を記憶する多値画像記憶手段
と、 2値画像を記憶するための2値画像記憶手段とを備え、 疑似階調表現方式により前記多値画像を前記2値画像に
変換して印刷する画像処理装置において、 前記多値画像の画素の値と比較されるしきい値が複数記
憶されたしきい値マスクを複数格納するしきい値マスク
格納手段と、 前記多値画像の画素の位置に応じて前記複数のしきい値
マスクを切り換えるしきい値マスク切換手段と、 前記多値画像の各画素を走査し、該各画素の値と該画素
の位置に応じた前記しきい値との比較に応じて前記2値
画像記憶手段の対応する画素の位置を2値化する画像2
値化手段と、 該2値化された前記2値画像をドットマトリクスで印刷
する印刷手段とを備えたことを特徴とする画像処理装
置。
2. A multivalued image storage means for storing a multivalued image, and a binary image storage means for storing a binary image, wherein the multivalued image is converted into the binary image by a pseudo gradation expression method. In the image processing device for converting into and printing the value, the threshold value mask storage means for storing a plurality of threshold value masks storing a plurality of threshold values to be compared with the pixel values of the multi-valued image; Threshold mask switching means for switching the plurality of threshold masks according to the position of the pixel of the image, and scanning each pixel of the multi-valued image, the value according to the value of each pixel and the position of the pixel Image 2 for binarizing the position of the corresponding pixel in the binary image storage means according to the comparison with the threshold value.
An image processing apparatus comprising: a binarizing unit; and a printing unit that prints the binarized binary image in a dot matrix.
【請求項3】 多値画像を記憶し、 該記憶された多値画像を疑似階調表現方式により2値画
像に変換して印刷する画像処理方法において、 複数の階調パターンを記憶し、 前記多値画像の画素位置に応じて前記複数の階調パター
ンを切り換え、 前記多値画像の各画素を走査し、該各画素の階調レベル
に応じて前記階調パターンの階調を決定し、 該決定された前記階調パターンの階調にしたがって、前
記2値画像をドットマトリクスで印刷することを特徴と
する画像処理方法。
3. An image processing method for storing a multi-valued image, converting the stored multi-valued image into a binary image by a pseudo gradation expression method, and printing the binary image, storing a plurality of gradation patterns, Switching the plurality of gradation patterns according to the pixel position of the multivalued image, scanning each pixel of the multivalued image, determining the gradation of the gradation pattern according to the gradation level of each pixel, An image processing method, characterized in that the binary image is printed in a dot matrix in accordance with the determined gradation of the gradation pattern.
JP6302863A 1994-11-11 1994-11-11 Image processing apparatus and image processing method Expired - Fee Related JP2935009B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6302863A JP2935009B2 (en) 1994-11-11 1994-11-11 Image processing apparatus and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6302863A JP2935009B2 (en) 1994-11-11 1994-11-11 Image processing apparatus and image processing method

Publications (2)

Publication Number Publication Date
JPH08142411A true JPH08142411A (en) 1996-06-04
JP2935009B2 JP2935009B2 (en) 1999-08-16

Family

ID=17914007

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6302863A Expired - Fee Related JP2935009B2 (en) 1994-11-11 1994-11-11 Image processing apparatus and image processing method

Country Status (1)

Country Link
JP (1) JP2935009B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7532361B2 (en) 2001-09-28 2009-05-12 Canon Kabushiki Kaisha Image forming system, apparatus, and method
JP2012161964A (en) * 2011-02-04 2012-08-30 Canon Inc Apparatus and method for generating print data

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7532361B2 (en) 2001-09-28 2009-05-12 Canon Kabushiki Kaisha Image forming system, apparatus, and method
JP2012161964A (en) * 2011-02-04 2012-08-30 Canon Inc Apparatus and method for generating print data

Also Published As

Publication number Publication date
JP2935009B2 (en) 1999-08-16

Similar Documents

Publication Publication Date Title
US4651287A (en) Digital image processing algorithm for output devices with discrete halftone gray scale capability
US4680645A (en) Method for rendering gray scale images with variable dot sizes
US5604605A (en) Method and device for intralinearly halftoning digitized grey value images
EP1679880B1 (en) Threshold matrix generation method, threshold matrix generation apparatus, and recording medium
JP3912055B2 (en) Image processing apparatus, print control apparatus, image processing method, and recording medium
JP3885310B2 (en) Halftone image generation apparatus and method for reducing defects in printed images
JP2005138585A (en) Method for camouflaging print element with defect in printer
JPH1141465A (en) Multilevel halftoning method
JPH11314383A (en) Manufacture of print driver and color print system
US5689586A (en) Methods to print N-tone images with multi-leveling techniques
EP0707411A2 (en) Improved method and apparatus for dither array generation to reduce artifacts in halftoned image data utilizing ink reduction processing
EP1366618B1 (en) Error diffusion with partial dots method and system
EP1143703A1 (en) Method and device for image processing
EP0777377B1 (en) Method and image reproduction device for reproducing grey values
US5926582A (en) Method and system for converting multi-gradated image data into binary image data
JP2935009B2 (en) Image processing apparatus and image processing method
US6597813B1 (en) Masks with modulated clustering and aperiodicity and rescaling of masks
US6633412B1 (en) Smoothness enhancement in laser printing through periodic modulation of halftone cell
US6389167B1 (en) Multi-level pixel density reduction for printers
EP0944876B1 (en) Printing apparatus and method for saving printing material
US5898822A (en) Using the phase information in the halftone dot structure to minimize artifacts when switching between halftone dots on a scan line
US8237989B2 (en) Method to improve a halftone by combining halftoning with algorithmic processing
JP3736593B2 (en) Image processing apparatus and image smoothing method
US6325486B1 (en) Image recording method
JP4228814B2 (en) Printing method for printing images while processing multiple rasters in parallel

Legal Events

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

Free format text: PAYMENT UNTIL: 20090604

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090604

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20100604

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20110604

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20120604

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20120604

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20130604

Year of fee payment: 14

LAPS Cancellation because of no payment of annual fees