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

JP2821238B2 - Multi-valued image estimation method - Google Patents

Multi-valued image estimation method

Info

Publication number
JP2821238B2
JP2821238B2 JP2132885A JP13288590A JP2821238B2 JP 2821238 B2 JP2821238 B2 JP 2821238B2 JP 2132885 A JP2132885 A JP 2132885A JP 13288590 A JP13288590 A JP 13288590A JP 2821238 B2 JP2821238 B2 JP 2821238B2
Authority
JP
Japan
Prior art keywords
valued
image
error diffusion
estimation method
aperture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2132885A
Other languages
Japanese (ja)
Other versions
JPH0427273A (en
Inventor
豊和 宇田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は二値画像から多値画像を推定する多値画像推
定方法に関するものである。
Description: TECHNICAL FIELD 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 multi-valued image on a CRT which can display only a limited number of colors or printing on a dot printer, a method of binarizing the image by a dither method or an error diffusion method and displaying the image in a pseudo manner is often used. Can be

[発明が解決しようとしている課題] しかし、多値画像を一度二値化してしまうと、画像の
拡大、縮小などの処理をおこなった場合、画像がみだれ
てしまうという問題点があった。
[Problems to be Solved by the Invention] However, once a multi-valued image is binarized, there is a problem that the image is lost when a process such as enlargement or reduction of the image is performed.

そこで、二値画像より、多値原画像を推定し、その多
値画像に対し、拡大、縮小、回転などの処理を行いその
結果を二値化することにより、前記問題点を解決するこ
とができる。
Therefore, it is possible to solve the above problem by estimating a multi-valued original image from a binary image, performing processing such as enlargement, reduction, and rotation on the multi-valued image and binarizing the result. it can.

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

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

すなわち、誤差拡散法による二値化方法では、第3図
に示すように多値画像301をラスタ方向に順次スキヤン
しながら二値化するさいに、注目画素302をあるしきい
値Tで二値化を行い、このときに生じる二値化誤差を、
第4図図示の注目画素401に対し、例えば誤差拡散マト
リツクス402を用いて、拡散する。
That is, in the binarization method by the error diffusion method, when the multi-valued image 301 is binarized while sequentially scanning the multi-valued image 301 in the raster direction as shown in FIG. The binarization error that occurs at this time is
The target pixel 401 shown in FIG. 4 is diffused using, for example, an error diffusion matrix 402.

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

このため、二値画像に対し拡散、縮小などの処理を行
うために、次のような処理をくり返しおこなった場合、 常に二値化誤差が下方へ扇状へ拡散されてしまうとい
う問題点が生じてしまう。
Therefore, if the following processing is repeated to perform processing such as diffusion and reduction on a binary image, There is a problem that the binarization error is always diffused downward in a fan shape.

[課題を解決するための手段及び作用] 本発明によれば、誤差拡散法により二値化された画像
を、多値化する場合、多値化する際の開口の形状を誤差
拡散マトリツクスと同じ方向に広げることにより、二値
化、多値化をくり返すことによって生じる画像の拡散を
防ぐようにしたものである。
[Means and Actions for Solving the Problems] According to the present invention, when an image binarized by the error diffusion method is multi-valued, the shape of the aperture at the time of multi-value conversion is the same as the error diffusion matrix. Spreading in the direction prevents image diffusion caused by repeating binarization and multi-leveling.

[実施例] 第1図(a),(b)は本発明の一実施例を表わす図
であり、101a,bは1ラスタを記憶するラインバツフア、
102a〜102oは1bitのラツチ、103はROMである。
[Embodiment] FIGS. 1 (a) and 1 (b) are views showing an embodiment of the present invention, wherein 101a and 101b are line buffers for storing one raster.
102a to 102o are 1-bit latches, and 103 is a ROM.

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

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

このときの各ラツチの出力A2〜A14はROM103のアドレ
ス線へ入力され、ROMに予め設定された多値推定値が出
力される。
The outputs A2 to A14 of the latches at this time are input to the address lines of the ROM 103, and a multi-valued estimated value set in the ROM is output.

また、このときのROMの内容は、多値化マトリツクス6
03内のドツトの密度に対応した多値データを予め設定し
ておく。たとえば多値化開口内のドツト数をnとしたと
きROMの出力Rを とすることにより多値化開口内のドツト密度に対応した
多値推定値を得ることができる。
The contents of the ROM at this time are based on the multi-valued matrix 6
Multi-value data corresponding to the dot density in 03 is set in advance. For example, when the number of dots in the multi-valued aperture is n, the output R of the ROM is By doing so, a multi-valued estimated value corresponding to the dot density in the multi-valued aperture can be obtained.

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

前記実施例では、多値化開口603は誤差拡散法の拡散
マトリツクス402と同じ形状をとっているが、これにと
らわれるものではなく、該拡散マトリツクス402と同方
向に広がる形状であればよい。
In the above embodiment, the multi-valued aperture 603 has the same shape as the diffusion matrix 402 of the error diffusion method. However, the shape is not limited to this, and any shape may be used as long as it spreads in the same direction as the diffusion matrix 402.

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

また、前記実施例ではROMにより多値化しているが、R
AMで置きかえて、CPUよりRAMの内容を変更するようにす
ることもできる。
Further, in the above embodiment, the multi-valued data is stored in the ROM,
It is also possible to change the contents of RAM from CPU instead of AM.

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

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

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

第1図は本発明実施例構成図、 第2図は従来例の多値化マトリツクス図、 第3図は多値化時の画像スキヤン説明図、 第4図は誤差拡散マトリツクス図、 第5図は二値化誤差伝播の説明図、 第6図は本発明実施例の多値化開口図である。 101a,bはラインバツフア 102a〜102oはラツチ 103はROM 201は2値画像 202は従来例の多値化用開口 203は注目画素 301は多値画像 302は注目画素 401は注目画素 402は誤差拡散マトリツクス 501は注目画素 601は二値画像 602は注目画素 603は多値化開口 FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a diagram of a conventional multi-valued matrix, FIG. FIG. 6 is an explanatory diagram of the binarization error propagation, and FIG. 6 is a multi-valued aperture diagram of the embodiment of the present invention. 101a, b are line buffers 102a to 102o are latches 103 are ROM 201 are binary images 202 are conventional multi-valued apertures 203 are target pixels 301 are multi-valued images 302 are target pixels 401 are target pixels 402 are error diffusion matrices 501 is the target pixel 601 is the binary image 602 is the target pixel 603 is the multi-valued aperture

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】誤差拡散法により二値化された画像から多
値原画像を推定する多値画像推定方法において、 注目画素に対し、該誤差拡散法による二値化処理におい
て用いられた拡散マトリックスと同方向に広がる開口を
設定し、同開口内のドット密度より注目画素の多値原画
像を推定する多値画像推定方法。
In a multi-valued image estimation method for estimating a multi-valued original image from an image binarized by an error diffusion method, a diffusion matrix used in a binarization process by the error diffusion method is applied to a target pixel. A multi-valued image estimating method that sets an opening that spreads in the same direction as the above and estimates the multi-valued original image of the pixel of interest from the dot density in the opening.
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 JPH0427273A (en) 1992-01-30
JP2821238B2 true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09261457A (en) 1996-03-19 1997-10-03 Canon Inc Print control device, data processing method of print control device, and storage medium storing computer-readable program

Also Published As

Publication number Publication date
JPH0427273A (en) 1992-01-30

Similar Documents

Publication Publication Date Title
JPH0777418B2 (en) Image processing device
JPH0865510A (en) Error diffusion method,error diffusion system and error production generation
US7064862B2 (en) Printer and printing method for image-quality correction
JPH05501341A (en) Color digital halftone gradation processing method using vector error diffusion method
JPH08235367A (en) Antialiasing method by gray masking technique
EP0778696A2 (en) Method and apparatus for providing halftoning processing of color images by means of a neural network
EP0781034B1 (en) Image processing apparatus and method
EP0725533A2 (en) Processing halftone color images
US5758034A (en) Video path architecture including logic filters for resolution conversion of digital images
JP3859122B2 (en) Halftone processing apparatus and halftone processing method
JP2821238B2 (en) Multi-valued image estimation method
JP3814313B2 (en) Error diffusion method, error diffusion system, and error value generation method
JP3838981B2 (en) Image processing apparatus, image processing method, and image processing program
JP2003110852A (en) Halftone processing method and apparatus
US7480078B2 (en) Method and system for performing multi-pixel parallel error diffusion enabling high-speed diffusion processing without increasing the system clock rate
JP2920635B2 (en) Image processing device
JP3581460B2 (en) Image processing method and apparatus
JP3015050B2 (en) Image processing method and apparatus
JP2860039B2 (en) Pseudo halftone image reduction device
JP3112316B2 (en) Image conversion method
JP4798860B2 (en) Image processing method
JP2978363B2 (en) Halftone image estimation device
JP2001144979A (en) Color output method and color output device
JPH07212573A (en) Resolution conversion device for binary picture
JPH0311877A (en) Picture element density converter

Legal Events

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