JPH0427273A - Multilevel image estimating system - Google Patents

Multilevel image estimating system

Info

Publication number
JPH0427273A
JPH0427273A JP2132885A JP13288590A JPH0427273A JP H0427273 A JPH0427273 A JP H0427273A JP 2132885 A JP2132885 A JP 2132885A JP 13288590 A JP13288590 A JP 13288590A JP H0427273 A JPH0427273 A JP H0427273A
Authority
JP
Japan
Prior art keywords
multilevel
image
conversion
rom
case
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
JP2132885A
Other languages
Japanese (ja)
Other versions
JP2821238B2 (en
Inventor
Toyokazu Uda
豊和 宇田
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 JP2132885A priority Critical patent/JP2821238B2/en
Publication of JPH0427273A publication Critical patent/JPH0427273A/en
Application granted granted Critical
Publication of JP2821238B2 publication Critical patent/JP2821238B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)

Abstract

PURPOSE:To prevent the diffusion of an image generated by repeating binarization and multilevel conversion by extending a shape of an opening at the time of multilevel conversion in the same direction as an error diffusion matrix, in the case of converting an image binarized by an error diffusion method to multilevel. CONSTITUTION:A binary image to be converted to multilevel is read in succes sively to a line buffer 101 at every raster. In this case, to each latch 102, a picture element corresponding to a multilevel conversion opening 603 is latched, and outputted to A2 - A14. The outputs A2 - A14 of each latch in this case are inputted to an address line of a ROM 103, and a multilevel estimated value set in advance to the ROM is outputted. Also, as for the contents of the ROM in this case, multilevel data corresponding to density of dots in a multilevel conversion matrix 603 is set in advance. As for the multilevel conversion opening 603, it will suffice that it is a shape for extending in the same direction as a diffusion matrix 403. By setting weighted data corresponding to a dot position, the multilevel conversion can more exactly be executed.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は二値画像から多値画像を推定する多値画像推定
方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Field of Application] The present invention relates to a multi-value image estimation method for estimating a multi-value image from a binary image.

[従来の技術] 多値画像を限られた色しか表示てきないCRT上に表示
、あるいはドツトプリンタに印刷する場合、画像をデイ
ザ法や誤差拡散法により二値化し、擬似的に表示する方
法かよく用いられる。
[Prior Art] When displaying a multivalued image on a CRT that can display only a limited number of colors, or printing it on a dot printer, it is common to binarize the image using the dither method or error diffusion method and display it in a pseudo manner. used.

[発明が解決しようとしている課題] しかし、多値画像を一度二値化してしまうと1画像の拡
大、縮小などの処理をおこな9た場合、画像がみたれて
しまうという問題点がありだ。
[Problem to be solved by the invention] However, once a multivalued image is binarized, there is a problem that when processing such as enlarging or reducing a single image, the image becomes unrecognizable. .

そこで、二値画像より、多値原画像を推定し、その多値
画像に対し、拡大、縮小、回転などの処理を行いその結
果を二値化することにより、前記問題点を解決すること
かできる。
Therefore, the above problem can be solved by estimating a multivalued original image from a binary image, performing processing such as enlarging, reducing, and rotating the multivalued image, and then binarizing the results. can.

この二値画像から多値原画像を推定する方法として例え
ば平塚、松縄の特開昭62−281673号、中間調画
像推定方法がある。この方法ては!s2図に示すように
二値画像201に対し、ある開口202を設定し、その
開口内のドツト密度により注目画素203の多値画像デ
ータを推定している。
As a method for estimating a multivalued original image from this binary image, there is, for example, a method for estimating a halftone image, disclosed in Japanese Patent Application Laid-Open No. 62-281673 by Hiratsuka and Matsunawa. What about this method? As shown in diagram s2, a certain aperture 202 is set for a binary image 201, and multi-value image data of a pixel of interest 203 is estimated based on the dot density within the aperture.

しかしながら、前記中間調画像推定方法を誤差拡散法に
より二値化した画像に対して適用した場合法の間1点か
ある。
However, when the halftone image estimation method is applied to an image binarized by the error diffusion method, there is one difference between the two methods.

すなわち、誤差拡散法による二値化方法では、第3図に
示すように多値画像301をラスタ方向に順次スキャン
しなから二値化するさいに、注目画素302をあるしき
い値Tで二値化を行い、このときに生じる二値化誤差を
、第4図図示の注目画素401に対し、例えば誤差拡散
マトリックス402を用いて、拡散する。
That is, in the binarization method using the error diffusion method, as shown in FIG. Value conversion is performed, and the binarization error generated at this time is diffused to the pixel of interest 401 shown in FIG. 4 using, for example, an error diffusion matrix 402.

従って、誤差拡散法による二値化誤差は、第5図図示の
ように注目画素501に対し、下方へ扇状に拡散される
ことになる。
Therefore, the binarization error caused by the error diffusion method is diffused downward in a fan shape with respect to the pixel of interest 501 as shown in FIG.

このため、二値画像に対し拡散、縮小などの処理を行う
ために、次のような処理をくり返し葛こなった場合、 拡大、縮小などの処理 ↓ 多値画像 ↓ 従来例による多値化 常に二値化誤差が下方へ扇状へ拡散されてしまうという
問題点か生してしまう。
Therefore, in order to perform processing such as diffusion and reduction on a binary image, if the following processing is repeatedly performed, processing such as enlargement and reduction ↓ Multi-value image ↓ Conventional multi-value conversion This creates a problem in that the binarization error is diffused downward in a fan shape.

[課題を解決するための手段及び作用]本発明によれば
、誤差拡散法により二値化された画像を、多値化する場
合、多値化する際の開口の形状を誤差拡散マトリックス
と同し方向に広げることにより、二値化、多値化をくり
返すことによって生じる画像の拡散を防ぐようにしたも
のである。
[Means and effects for solving the problem] According to the present invention, when an image binarized by the error diffusion method is multi-valued, the shape of the aperture during multi-value processing is the same as the error diffusion matrix. By expanding the image in the horizontal direction, it is possible to prevent the image from spreading out due to repeated binarization and multi-value conversion.

[実施例] 第1図(a)、(b)は本発明の一実施例を表わす図て
あり、101a、bは1ラスタを記憶するラインバッフ
ァ、102a〜1020は1bitのラッチ、103は
ROMである。
[Embodiment] FIGS. 1(a) and 1(b) show an embodiment of the present invention, in which 101a and 101b are line buffers that store one raster, 102a to 1020 are 1-bit latches, and 103 is a ROM. It is.

第6図は本発明実施例において多値化をおこなう際の説
明図であり、601は多値化すべき2値画像、602は
多値化すべき注目画素、603は多値化開口である。
FIG. 6 is an explanatory diagram when performing multi-value conversion in the embodiment of the present invention, where 601 is a binary image to be multi-valued, 602 is a pixel of interest to be multi-valued, and 603 is a multi-value aperture.

次に上記構成において、多値化すべき二値画像はラスタ
ごとに順次ラインバッファに読込まれる。このとき、各
ラッチ102には第6図中の多値化開口603に対応す
る画素かラッチされ、A2−A14へ出力される。
Next, in the above configuration, the binary image to be multivalued is read into the line buffer sequentially for each raster. At this time, each latch 102 latches a pixel corresponding to the multilevel aperture 603 in FIG. 6, and outputs it to A2-A14.

このときの各ラッチの出力A2〜A14はROM 10
3のアドレス線へ入力され、ROMに予め設定された多
値推定値が出力される。
At this time, the outputs A2 to A14 of each latch are stored in the ROM 10.
3, and a multivalued estimated value preset in the ROM is output.

また、このときのROMの内容は、多値化マトリックス
603内のドツトの密度に対応した多値データを予め設
定しておく、たとえば多値化開口内のドツト数をnとし
たときROMの出力RをR=[−X255]とすること
により多値化開口内のドツト密度に対応した多値推定値
を得ることができる。
In addition, the contents of the ROM at this time are set in advance with multivalue data corresponding to the density of dots in the multivalue matrix 603. For example, when the number of dots in the multivalue aperture is n, the output of the ROM By setting R to R=[-X255], it is possible to obtain a multi-value estimated value corresponding to the dot density within the multi-value aperture.

但し[]は小数以下切りすてを意味す る。However, [ ] means truncated to the nearest whole number. Ru.

前記実施例では、多値化開口603は誤差拡散法の拡散
マトリックス402と同し形状をとっているか、これに
とられれるものではなく、該拡散マトリックス402と
同方向に広がる形状てあればよい。
In the embodiment described above, the multi-level aperture 603 does not have the same shape as the diffusion matrix 402 of the error diffusion method, but may have a shape that spreads in the same direction as the diffusion matrix 402. .

さらに、前記方式ては、単一プレーン、例えば白黒画像
について述べであるか、複数プレーン、例えばRGBの
カラー二値画像などにも容易に拡張できる。
Further, the above method is described for a single plane, eg, a black and white image, but can be easily extended to multiple planes, eg, RGB color binary images.

また、前記実施例てはROMにより多値化しているが、
RAMて置きかえて、CPUよりRAMの内容を変更す
るようにすることもてきる。
Further, in the above embodiment, multi-leveling is performed using a ROM, but
It is also possible to replace it with RAM and change the contents of RAM from the CPU.

また、前記実施例ては多値化開口のドツト密度に対応し
た多値データを設置しているが、ドツト位置に対応した
重みづけしたデータを設定することにより、より正確な
多値化が可能である。
In addition, in the above embodiment, multi-value data corresponding to the dot density of the multi-value aperture is set, but more accurate multi-value data can be achieved by setting weighted data corresponding to the dot position. It is.

[発明の効果] 以上、説明したように、本方式では、誤差拡散マトリッ
クスの広がりと同方向に広がる多値化開口を用いて誤差
拡散法による二値画像より多値原画像を推定することに
より、画像の拡散を抑制することかてき2値画像からオ
リジナルに忠実な多値画像を推定することがてきる。
[Effects of the Invention] As explained above, in this method, a multi-value original image is estimated from a binary image obtained by the error diffusion method using a multi-value aperture that spreads in the same direction as the spread of the error diffusion matrix. By suppressing image diffusion, it is possible to estimate a multivalued image that is faithful to the original from a binary image.

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

第1図は本発明実施例構成図、 第2図は従来例の多値化マトリックス図、第3図は多値
化時の画像スキャン説明図、第4図は誤差拡散マトリッ
クス図、 第5図は二値化誤差伝播の説明図、 wS6図は本発明実施例の多値化開口図である。 101a、bはラインバッファ 1028〜102oはラッチ 103はROM 201は2値画像 202は従来例の多値化用開口 203は注目画素 301は多値画像 302は注目画素 401は注目画素 402は誤差拡散マトリックス 501は注目画素 60】は二値画像 602は注目画素 603は多値化開口 第 ? 口 第 う
Fig. 1 is a configuration diagram of an embodiment of the present invention, Fig. 2 is a multi-level conversion matrix diagram of a conventional example, Fig. 3 is an explanatory diagram of image scanning during multi-level conversion, Fig. 4 is an error diffusion matrix diagram, and Fig. 5 is an explanatory diagram of binary error propagation, and Figure wS6 is a multilevel aperture diagram of the embodiment of the present invention. 101a, b are line buffers 1028 to 102o are latch 103 is ROM 201 is a binary image 202 is a conventional multi-value aperture 203 is a pixel of interest 301 is a multi-value image 302 is a pixel of interest 401 is a pixel of interest 402 is error diffusion The matrix 501 is the pixel of interest 60 ] and the binary image 602 is the pixel of interest 603 is the multilevel aperture? Mouthful

Claims (1)

【特許請求の範囲】[Claims] (1)誤差拡散法により二値化された画像に対し、多値
原画像を推定する方法において、 注目画素に対し、該誤差拡散法による2値 化処理において用いられた拡散マトリック スと同方向に広がる開口を設定し、同開口 内のドット密度より注目画素の多値原画像 を推定する多値画像推定方式。
(1) In a method of estimating a multi-level original image for an image binarized by the error diffusion method, the pixel of interest is estimated in the same direction as the diffusion matrix used in the binarization process by the error diffusion method. A multilevel image estimation method that sets a widening aperture and estimates the multilevel original image of the pixel of interest based on the dot density within the aperture.
JP2132885A 1990-05-22 1990-05-22 Multi-valued image estimation method Expired - Fee Related JP2821238B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2132885A JP2821238B2 (en) 1990-05-22 1990-05-22 Multi-valued image estimation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2132885A JP2821238B2 (en) 1990-05-22 1990-05-22 Multi-valued image estimation method

Publications (2)

Publication Number Publication Date
JPH0427273A true JPH0427273A (en) 1992-01-30
JP2821238B2 JP2821238B2 (en) 1998-11-05

Family

ID=15091831

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2132885A Expired - Fee Related JP2821238B2 (en) 1990-05-22 1990-05-22 Multi-valued image estimation method

Country Status (1)

Country Link
JP (1) JP2821238B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6621588B1 (en) 1996-03-19 2003-09-16 Canon Kabushiki Kaisha Output control method and apparatus, and output system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6621588B1 (en) 1996-03-19 2003-09-16 Canon Kabushiki Kaisha Output control method and apparatus, and output system

Also Published As

Publication number Publication date
JP2821238B2 (en) 1998-11-05

Similar Documents

Publication Publication Date Title
US5742703A (en) Method and apparatus for the resolution enhancement of gray-scale images that include text and line art
JPH08235367A (en) Antialiasing method by gray masking technique
JPH0865510A (en) Error diffusion method,error diffusion system and error production generation
JPH0777418B2 (en) Image processing device
KR100223495B1 (en) Image processing method and apparatus
US5471320A (en) Stack filters for 1-to-N bit image processing in electronic printers
US7064862B2 (en) Printer and printing method for image-quality correction
JPH10108022A (en) Method and device for acquiring halftone image data and halftone printing method and device
US6130661A (en) Seamless parallel neighborhood process halftoning
JP2000123169A (en) Image processor and image processing method
JPH0427273A (en) Multilevel image estimating system
US20030020935A1 (en) Image processing method and apparatus
JPH0324673A (en) Method for processing image data
US6771392B1 (en) High resolution image mapping for simulating high resolution printing using high addressability without affecting halftone rendering
JPS6359272A (en) Picture processor
JP3838981B2 (en) Image processing apparatus, image processing method, and image processing program
JP3581460B2 (en) Image processing method and apparatus
JP3015050B2 (en) Image processing method and apparatus
KR100245019B1 (en) Apparatus and method for block overlap based image binarization
JPS62157468A (en) Expanding/reducing method for binary image
JP4798860B2 (en) Image processing method
JP2952329B2 (en) Image processing method
JP2978060B2 (en) Color image data conversion method
Hou Digital processing of low resolution halftone images
JPH0638038A (en) Smoothing processing method for binary image

Legal Events

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