JPS6226632B2 - - Google Patents

Info

Publication number
JPS6226632B2
JPS6226632B2 JP54142809A JP14280979A JPS6226632B2 JP S6226632 B2 JPS6226632 B2 JP S6226632B2 JP 54142809 A JP54142809 A JP 54142809A JP 14280979 A JP14280979 A JP 14280979A JP S6226632 B2 JPS6226632 B2 JP S6226632B2
Authority
JP
Japan
Prior art keywords
dot matrix
pixel
value
values
dot
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
Application number
JP54142809A
Other languages
Japanese (ja)
Other versions
JPS5666970A (en
Inventor
Yoshiaki Kurosawa
Sadaichi Watanabe
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.)
Toshiba Corp
Original Assignee
Tokyo Shibaura Electric Co Ltd
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 Tokyo Shibaura Electric Co Ltd filed Critical Tokyo Shibaura Electric Co Ltd
Priority to JP14280979A priority Critical patent/JPS5666970A/en
Publication of JPS5666970A publication Critical patent/JPS5666970A/en
Publication of JPS6226632B2 publication Critical patent/JPS6226632B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/40Picture signal circuits
    • H04N1/405Halftoning, i.e. converting the picture signal of a continuous-tone original into a corresponding signal showing only two levels

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

【発明の詳細な説明】 本発明は濃淡画像の2値化装置に関する。[Detailed description of the invention] The present invention relates to a binarization device for grayscale images.

濃淡画像を白と黒の2値によつて表示するには
特別な表現法を必要とする。写真製版で使用され
ている網点法では、画素の濃淡に応じてドツトの
大きさを変える表示方式によつてこれを実現して
いる。この方法を電子式にしたものとして、原画
の1画素に対し出力ドツト1点を対応させ、画素
の位置によつてあらかじめ決められている閾値に
よつて濃淡値を量子化し、そのドツトの黒、白を
決めるデイザ法と、原画の1画素に対してその濃
淡値を擬似的に表現するn×nのドツト・マトリ
クスを対応させて、2値画像を構成する濃度パタ
ーン法がある。本発明は後者の装置に関する。
A special expression method is required to display a grayscale image using binary values of white and black. The halftone method used in photolithography achieves this by using a display method that changes the size of the dots depending on the density of the pixels. In an electronic version of this method, one output dot corresponds to one pixel of the original image, and the gray value is quantized using a threshold value predetermined according to the pixel position. There is a dither method that determines white, and a density pattern method that constructs a binary image by associating each pixel of an original image with an n×n dot matrix that pseudo-expresses its gradation value. The present invention relates to the latter device.

第1図はこの濃度パターン法を説明したもので
ある。100は原画で、101は原画の画素を表
わしている。画素は濃淡値を持つており、この濃
淡によつて原画が表現されている。102はこの
画素に対応するドツト・マトリクスである。10
4は黒ドツト、103は白ドツトである。この例
は4×4のドツト・マトリクスで、全ドツト数に
おける黒レベルの割合が4だから、黒の濃淡値を
1と考えれば4/16の濃淡値を表示している。この
例ではドツトパターンは17種類のドツト・マトリ
クスが用意されており、おのおのがi/16の濃淡値
を表現し、原画の濃淡値に応じて、対応するドツ
ト・マトリクスがその画素の位置に埋め込まれる
と考えて良い。もちろんドツト・マトリクスを17
種に限定する必要はなく、その作り方には種々の
方式がある。特公昭54―1410号公報に記載されて
いるハーフトーン像形成装置はこの種の装置の1
種である。
FIG. 1 explains this density pattern method. 100 is an original image, and 101 represents pixels of the original image. Pixels have gradation values, and the original image is expressed by these gradations. 102 is a dot matrix corresponding to this pixel. 10
4 is a black dot, and 103 is a white dot. This example is a 4 x 4 dot matrix, and the ratio of the black level to the total number of dots is 4, so assuming that the black shading value is 1, a shading value of 4/16 is displayed. In this example, 17 types of dot matrices are prepared for the dot pattern, each representing a gradation value of i/16, and a corresponding dot matrix is embedded at the position of the pixel according to the gradation value of the original image. It is good to think that it will be possible. Of course, dot matrix 17
There is no need to limit it to seeds, and there are various ways to make them. The halftone image forming device described in Japanese Patent Publication No. 54-1410 is one of this type of device.
It is a seed.

この装置は原画の濃淡値を量子化したnレベル
の値によつて、その濃淡を表わすn種類のドツ
ト・マトリクスを出力している。
This device outputs n types of dot matrices representing the shading using n-level values obtained by quantizing the shading values of the original picture.

従来の方式では、1点のみを参照してドツト・
マトリクスを形成する為に、その点における値の
勾配すなわち濃淡の変化をドツト・マトリクスに
反映する事ができなかつた。その為に、第2図2
00に示す本来なめらかに変化している画像を2
値表示すると201のように本来は存在しない境
界線が画面に現われてくる。この境界線は、もと
もと変化の度合の少ない所を2値表示しているに
もかかわらずその点だけの濃淡値によつてのみド
ツト・マトリクスを作り出している為に、ドツ
ト・マトリクス間の境界線上に不整合が起こり、
これによつて生じるものである。従来の方式では
この問題を避ける事はできず、また原画の変化の
大きい所と変化の小さい所を区別する事もできな
かつた。
In the conventional method, only one point is referred to and the dots are
In order to form a matrix, it was not possible to reflect the gradient of values at that point, that is, the change in shading, to the dot matrix. For that purpose, Fig. 2
The originally smoothly changing image shown in 00 is changed to 2
When displaying the values, a border line like 201 that does not originally exist appears on the screen. Although this boundary line is originally a binary display where the degree of change is small, the dot matrix is created only from the gray values of that point. An inconsistency occurs,
This is what occurs. With conventional methods, this problem cannot be avoided, and it is also not possible to distinguish between areas of the original image with large changes and areas with small changes.

本発明はこのような欠点を除いた濃淡画像の2
値化装置を提供することを目的とする。すなわ
ち、本発明はこの問題を避ける為に1点の濃淡値
のみだけではなく、周囲の点の濃淡値をも参照可
能にし、その点の変化の度合をドツト・マトリク
スに反映する事によつて、ドツト・マトリクス間
の不整合を取り除き、200に示すようななめら
かなドツト・パターンを形成する事である。
The present invention eliminates such drawbacks and improves gradation images in two ways.
The purpose is to provide a value conversion device. That is, in order to avoid this problem, the present invention makes it possible to refer not only to the shading value of one point but also to the shading values of surrounding points, and by reflecting the degree of change at that point in the dot matrix. , to remove mismatch between dots and matrices and form a smooth dot pattern as shown at 200.

本発明は2値化の対象となつている画素の値と
その周辺の画素の値とを記憶するメモリと、それ
らの値から、濃淡の変化量を計算する装置と、そ
の結果から必要なドツト・パターンを生成する装
置によつてなめらかなドツトパターンを出力す
る。
The present invention includes a memory that stores the value of a pixel to be binarized and the values of surrounding pixels, a device that calculates the amount of change in shading from those values, and a device that calculates the amount of change in density based on the results.・Output a smooth dot pattern using a pattern generating device.

第3図に本発明の実施例を示す。原画の入力信
号301はメモリ302に一時蓄えられる。コン
トロール部306は処理対象の画素とその周辺の
画素の値をメモリにアクセスし、その結果が演算
部303に送られる。演算部は周辺部分の値の変
化量を計算し、これをドツト・マトリクス生成部
304に送る。ドツト・マトリクス生成部304
はこの量に基づいてドツト・マトリクスを作成
し、305に出力する。本実施例ではドツト・マ
トリクス生成部304は予じめ定められたドツ
ト・パターンを収容するメモリからなり、演算部
303はこのメモリをアクセスするアドレス計算
を行なう。
FIG. 3 shows an embodiment of the present invention. An input signal 301 of an original image is temporarily stored in a memory 302. The control unit 306 accesses the memory for the values of the pixel to be processed and its surrounding pixels, and the result is sent to the calculation unit 303. The arithmetic unit calculates the amount of change in the value of the peripheral portion and sends this to the dot matrix generation unit 304. Dot matrix generation unit 304
creates a dot matrix based on this quantity and outputs it to 305. In this embodiment, the dot matrix generation section 304 consists of a memory that accommodates a predetermined dot pattern, and the calculation section 303 calculates an address for accessing this memory.

第4図を参照して詳細に説明すると、第3図の
メモリ302は3個のシフトレジスタ321,3
22,323からなり、原画を走査して得られた
各画素の値(濃淡値ここではデイジタル値とす
る)301が順次供給される。各シフトレジスタ
は原画の走査幅に対応する画素数分のビツト数を
有する。コントローラ309はこれらシフトレジ
スタの内容のうち隣接する9ビツトを順次演算部
303内のレジスタ330に収容する。これらの
画素の値をa,b,c,…,h,iで示すと、中
央のeが2値化の対象となる画素であり、bは画
素eの上にある画素、dは画素eの左にある画素
である。
To explain in detail with reference to FIG. 4, the memory 302 in FIG.
22, 323, and the values 301 of each pixel (gradation values, here digital values) obtained by scanning the original image are sequentially supplied. Each shift register has a number of bits equal to the number of pixels corresponding to the scanning width of the original image. The controller 309 sequentially stores adjacent 9 bits of the contents of these shift registers into the register 330 in the arithmetic unit 303. When the values of these pixels are indicated by a, b, c, ..., h, i, e in the center is the pixel to be binarized, b is the pixel above pixel e, and d is the pixel above pixel e. This is the pixel to the left of .

演算部303は更に変化量算出部331,33
2及びアドレス生成部333とを有する。
The calculation unit 303 further includes change amount calculation units 331 and 33.
2 and an address generation section 333.

変化量算出部331は画素eの近傍での水平方
向の勾配を算出するもので、次式で示される値X
を求める。
The change amount calculation unit 331 calculates the horizontal gradient in the vicinity of pixel e, and calculates the value X expressed by the following formula.
seek.

X=(a−c)+(d−f)+(g−i) また変化量算出部332は画素eの近傍での垂
直方向の勾配を算出するもので、次式で示される
値Yを求める。
X=(a-c)+(d-f)+(g-i) Also, the change amount calculation unit 332 calculates the gradient in the vertical direction near the pixel e, and calculates the value Y shown by the following formula. demand.

Y=(a−g)+(b−h)+(c−i) 得られた値X及びYはアドレス生成部333へ
供給される。
Y=(a-g)+(b-h)+(c-i) The obtained values X and Y are supplied to the address generation section 333.

アドレス生成部333はバツフア330内の値
e及びX,Yとによりドツトパターンメモリから
なるドツト・マトリクス生成部304に対するア
ドレスデータを作成する。最も簡単には値eを上
位、Xを中位、及びYを下位とするデータを作成
すればよい。生成されたアドレスデータはコント
ローラ306の制御によりドツト・マトリクス生
成部304に供給される。従つてドツト・マトリ
クス生成部304はこのアドレスに対応するドツ
ト・マトリクスデータを線305に出力すること
ができる。
The address generation section 333 uses the value e in the buffer 330 and X, Y to generate address data for the dot matrix generation section 304 consisting of a dot pattern memory. The simplest method is to create data in which the value e is the upper value, X is the middle value, and Y is the lower value. The generated address data is supplied to the dot matrix generation section 304 under the control of the controller 306. Therefore, dot matrix generation section 304 can output dot matrix data corresponding to this address onto line 305.

ドツト・マトリクス生成部304は、同一濃度
のドツト・マトリクスとして複数種のハーフトー
ン・ドツトマトリクスを有している。これらの同
一濃度のハーフトーン・ドツトマトリクスは上述
したX及びYの値に応じて異なつている。例え
ば、第5図a,bは濃度レベル0.5のハーフトー
ンを表わすドツト・マトリクスである。このうち
第5図aは水平及び垂直方向の勾配が0であるハ
ーフトーンであり、第5図bは水平方向に勾配が
あり(右方向に黒くなる)垂直方向には勾配がな
いハーフトーンである。このように、ドツト・マ
トリクス生成部304は水平及び垂直方向の勾配
に応じたハーフトーンを複数種有し、同一濃度の
ハーフトーンを表わすドツト・マトリクスのどれ
を選択するかが上記X及びYによつて定められ
る。
The dot matrix generating section 304 has a plurality of types of halftone dot matrices as dot matrices of the same density. These halftone dot matrices of the same density differ depending on the values of X and Y mentioned above. For example, FIGS. 5a and 5b are dot matrices representing halftones at a density level of 0.5. Of these, Figure 5a is a halftone with zero gradients in the horizontal and vertical directions, and Figure 5b is a halftone with a gradient in the horizontal direction (turns black to the right) and no gradient in the vertical direction. be. In this way, the dot matrix generation unit 304 has a plurality of types of halftones depending on the gradients in the horizontal and vertical directions, and which dot matrix to select representing halftones of the same density depends on the above X and Y. It is determined accordingly.

以上のように、本発明によれば注目している画
素の値だけによつて2値化せずに、その周辺の画
素の値によつて2値化が行なわれるため、得られ
る2値化画像はなめらかとなり解像度も向上させ
ることができる。
As described above, according to the present invention, binarization is performed not only based on the value of the pixel of interest, but also based on the values of surrounding pixels. The image becomes smoother and the resolution can be improved.

なお、上記実施例では処理対象の画素に隣接す
る周辺の画素の値を利用したが必ずしも隣接しな
い画素の値を用いることもできる。また水平及び
垂直方向の勾配だけでなくその他の変化量を用い
てもよい。
In the above embodiment, values of peripheral pixels adjacent to the pixel to be processed are used, but values of pixels that are not necessarily adjacent may also be used. In addition to the horizontal and vertical gradients, other variations may also be used.

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

第1図及び第2図は従来技術を示す図、第3図
及び第4図はこの発明の実施例を示す図、第5図
a,bはハーフトーンを表わすドツト・マトリク
スデータを示す図である。 302……メモリ、303……演算部、304
……ドツト・マトリクス生成部、306……コン
トローラ。
FIGS. 1 and 2 are diagrams showing the prior art, FIGS. 3 and 4 are diagrams showing an embodiment of the present invention, and FIGS. 5a and 5 are diagrams showing dot matrix data representing halftones. be. 302...Memory, 303...Arithmetic unit, 304
. . . dot matrix generation section, 306 . . . controller.

Claims (1)

【特許請求の範囲】[Claims] 1 濃淡画像を走査して各画素の濃淡値を表わす
信号を順次入力する入力手段と、この入力手段よ
り入力された濃淡値の特定画素に前記濃淡画像上
で2次元的に隣接する画素群の濃淡値から前記特
定画素付近での濃度の変化量を算出する算出手段
と、前記入力手段より入力された特定画素の濃淡
値に対応して2値化されたドツトマトリクスを出
力するドツトマトリクス生成手段とを備え、前記
ドツトマトリクス生成手段は同一濃淡値に対し前
記濃度の変化量に応じて擬似的に表現された複数
種のハーフトーン・ドツトマトリクスを予め記憶
し、前記特定画素の濃淡値に対応した複数種のハ
ーフトーン・ドツトマトリクスの中から前記算出
手段により算出された濃度の変化量に該当するも
のを選択することを特徴とする濃淡画像の2値化
装置。
1. An input means for scanning a grayscale image and sequentially inputting a signal representing the grayscale value of each pixel; and input means for sequentially inputting a signal representing the grayscale value of each pixel; Calculating means for calculating the amount of change in density near the specific pixel from the gray value; and dot matrix generating means for outputting a binarized dot matrix corresponding to the gray value of the specific pixel input from the input means. The dot matrix generating means stores in advance a plurality of types of halftone dot matrices that are pseudo-expressed according to the amount of change in density for the same gray value, and corresponds to the gray value of the specific pixel. A binarization device for a grayscale image, characterized in that a halftone dot matrix corresponding to the amount of change in density calculated by the calculation means is selected from among a plurality of types of halftone dot matrices.
JP14280979A 1979-11-06 1979-11-06 Binary device of variable density type picture Granted JPS5666970A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14280979A JPS5666970A (en) 1979-11-06 1979-11-06 Binary device of variable density type picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14280979A JPS5666970A (en) 1979-11-06 1979-11-06 Binary device of variable density type picture

Publications (2)

Publication Number Publication Date
JPS5666970A JPS5666970A (en) 1981-06-05
JPS6226632B2 true JPS6226632B2 (en) 1987-06-10

Family

ID=15324131

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14280979A Granted JPS5666970A (en) 1979-11-06 1979-11-06 Binary device of variable density type picture

Country Status (1)

Country Link
JP (1) JPS5666970A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5844861A (en) * 1981-09-11 1983-03-15 Nippon Telegr & Teleph Corp <Ntt> Processing system for intermediate tone signal
JPS59141873A (en) * 1983-02-03 1984-08-14 Nec Corp Converting circuit for adaptive pseudo half tone

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5040015A (en) * 1973-07-16 1975-04-12
JPS5299720A (en) * 1976-02-18 1977-08-22 Toshiba Corp Method of converting analogous image signal to binary value
JPS54144141A (en) * 1978-05-01 1979-11-10 Ricoh Co Ltd Display method for intermediate tone

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5040015A (en) * 1973-07-16 1975-04-12
JPS5299720A (en) * 1976-02-18 1977-08-22 Toshiba Corp Method of converting analogous image signal to binary value
JPS54144141A (en) * 1978-05-01 1979-11-10 Ricoh Co Ltd Display method for intermediate tone

Also Published As

Publication number Publication date
JPS5666970A (en) 1981-06-05

Similar Documents

Publication Publication Date Title
US5602943A (en) Digital halftoning space filling curves
JP4100782B2 (en) Error diffusion value processing method
JPS5932037A (en) Halftone threshold generation apparatus and method
JPH04213964A (en) Photographic picture playback apparatus giving digital half-tone to screen picture facilitating adjustable roughness
JPS61237574A (en) Generation of halftone image
JPS60157375A (en) Halftone expressing system
US5926582A (en) Method and system for converting multi-gradated image data into binary image data
JPS6226632B2 (en)
EP0095716A2 (en) Mapping ram for a modulated display
JPH0863596A (en) Method and system for diffusion of error as well as generation method of error value
JPH10191090A (en) Apparatus and method for manufacturing color conversion table, and recording medium
JPS5941968A (en) Facsimile device
JP4058823B2 (en) Image processing device
JP3823562B2 (en) Image processing device
US6771392B1 (en) High resolution image mapping for simulating high resolution printing using high addressability without affecting halftone rendering
JPS6223353B2 (en)
JP3757644B2 (en) Image processing device
JPH07199903A (en) Method and device for generating multi-level thickened data
JP4281126B2 (en) Image processing device
JPS62239667A (en) Picture processor
JP2000307881A (en) Device and method for signal processing
JPH027113B2 (en)
JPH0793683B2 (en) Image data conversion method for halftone image
JPH0292562A (en) Image processor
JPH04273768A (en) Half tone transmission system