JPH0478268A - Picture binarizing processor - Google Patents
Picture binarizing processorInfo
- Publication number
- JPH0478268A JPH0478268A JP2189752A JP18975290A JPH0478268A JP H0478268 A JPH0478268 A JP H0478268A JP 2189752 A JP2189752 A JP 2189752A JP 18975290 A JP18975290 A JP 18975290A JP H0478268 A JPH0478268 A JP H0478268A
- Authority
- JP
- Japan
- Prior art keywords
- data
- image signal
- binarized
- current input
- input image
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 description 26
- 238000010586 diagram Methods 0.000 description 6
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000003111 delayed effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 101150112145 B16L gene Proteins 0.000 description 1
- 101150116298 D12L gene Proteins 0.000 description 1
- 101100076195 Vaccinia virus (strain Western Reserve) VACWR117 gene Proteins 0.000 description 1
- 238000003705 background correction Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000003702 image correction Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
Landscapes
- Facsimile Image Signal Circuits (AREA)
Abstract
Description
【発明の詳細な説明】
〔発明の目的〕
(産業上の利用分野)
本発明は中間調レベルを持つ画像を例えばドツトプリン
タ等の2値記録装置を用いて再現する場合に有用な画像
2値化装置に関する。[Detailed Description of the Invention] [Object of the Invention] (Industrial Application Field) The present invention is an image binarization method useful when reproducing images having halftone levels using a binary recording device such as a dot printer. Regarding equipment.
(従来の技術)
近時、ドツトプリンタ等の簡易な2値記録装置を用いて
写真画像等の中間調レベルを持つ画像を表示出力するこ
とが行われている。この種の記録装置は白・黒の2値の
表示形態しか取り得ないことから、上記中間調画像を効
果的に2値化することが必要となる。この2値化処理に
ついては、例えば新聞等に記載される写真では、スクリ
ーンを用いることにより、網目の大きさを利用して濃淡
効果を生み出しているが、この手法をそのママドツトプ
リンタ等に適用することは甚だ困難である。(Prior Art) Recently, images having halftone levels, such as photographic images, have been displayed and output using simple binary recording devices such as dot printers. Since this type of recording apparatus can only display binary images of black and white, it is necessary to effectively convert the halftone image into a binary image. Regarding this binarization process, for example, in photographs published in newspapers, etc., a screen is used to create a shading effect by utilizing the mesh size, but this method is applied to the Mama Dot printer, etc. That is extremely difficult.
そこで従来、代表的には組織デイサ法や平均誤差最小法
等の2値化処理を導入して中間調画像を2値化しようと
している。Therefore, in the past, attempts have been made to binarize halftone images by typically introducing binarization processing such as the texture dither method or the minimum average error method.
組織デイザ法は画素位置に応して予め適当な閾値を決め
ておき、これによって画素信号を弁別して2値化すると
云う簡易な処理によって達成されるが、上記平均誤差最
小法に比して一般的に画質が悪いと云う欠点がある。The tissue dither method is achieved by a simple process in which an appropriate threshold value is determined in advance according to the pixel position, and pixel signals are discriminated and binarized using this, but compared to the above-mentioned minimum average error method, it is generally The drawback is that the image quality is poor.
一方、平均誤差最小法は、複数の画素によって構成され
る小領域内の2値化画像と原画像との差の平均が小さく
なるように2値化を決定するのもで、画質を十分良くす
ることができる反面、2値化処理が複雑で大掛かりなシ
ステム構成を必要とする等の欠点を有している。On the other hand, the minimum average error method determines binarization so that the average difference between the binarized image and the original image within a small area made up of multiple pixels is small, and the image quality is sufficiently improved. However, it has drawbacks such as the binarization process being complicated and requiring a large-scale system configuration.
そこで、この様な事情を考慮して時開57−10436
9ては、平均誤差最小法によって得られる画質と同等な
画質の2値化画像を得ることができ、なおかつ簡易なハ
ードウェア構成によって安価に実現できる平均濃度近似
法と云う中間調画像の2値化装置を提供している。この
方式は小領域内における黒点の占める面積比、すなわち
平均濃度に基づいて2値化を行う方式である。この平均
濃度はこれから2値化するドツトとその周囲のすでに2
値化の終了したドツトについて計算され、今これから2
値化するドツト黒白の決定は、それが黒の時の平均濃度
と白の時の平均濃度を計算して、どちらが入力信号に近
いがを調べ、近いほうを採用することにより行われる。Therefore, considering these circumstances, Tokikai 57-10436
9, the average density approximation method, which can obtain a binary image with the same quality as that obtained by the minimum average error method and can be realized at low cost with a simple hardware configuration, is a binary method for halftone images. We provide conversion equipment. This method performs binarization based on the area ratio occupied by black dots in a small region, that is, the average density. This average density is the dot that will be binarized from now on and the area around it that has already been binarized.
It is calculated for the dots that have been converted into values, and from now on 2
The black and white dots to be converted into values are determined by calculating the average density when the dot is black and the average density when it is white, checking which one is closer to the input signal, and selecting the one that is closer.
この方式の基本構成はすでに2値化の終了した2値のド
ツト情報を蓄えるラインバッファとROM等の記憶装置
と比較器のみて良い。The basic configuration of this system consists of a line buffer for storing binary dot information that has already been binarized, a storage device such as a ROM, and a comparator.
しかしながら、平均濃度を演算するROM等の記憶装置
の容量は、すでに2値化の終了した2値のドツト情報分
のアドレスビットが最低必要であり、また、この参照す
る2値のドツト情報を拡大しようとする場合では、現状
ではROM等の記憶装置の個数を増やす必要があった。However, the capacity of a storage device such as a ROM that calculates the average density requires at least the address bits for the binary dot information that has already been binarized, and it is also necessary to expand the binary dot information to be referenced. Under the present circumstances, it is necessary to increase the number of storage devices such as ROM.
(発明が解決しようとする課題)
上述の如く、上記装置では、ROM等の記憶装置を使っ
て平均濃度から2値化閾値を作成する場合、すでに2値
化の終了した2値のドツト情報分のアドレスピットが最
低必要であり、ROM等の記憶装置の容量を小さくでき
なかった。(Problems to be Solved by the Invention) As described above, in the above-mentioned apparatus, when creating a binarization threshold value from the average density using a storage device such as a ROM, only the binary dot information that has already been binarized is used. address pits are required at the minimum, making it impossible to reduce the capacity of storage devices such as ROM.
そこで本発明ではこの問題点を除去し、前記ROM等の
記憶装置の容量を小さくできる画像2値化処理装置を提
供することを目的とする。Therefore, it is an object of the present invention to provide an image binarization processing device that can eliminate this problem and reduce the capacity of the storage device such as the ROM.
(課題を解決するための手段)
上記目的を達成するため、本発明では、画像をラスタ走
査して得られる画信号を入力する入力手段と、現入力画
信号と先に人力された画信号に対して2値化された過去
の2値化データに基づき所定の重み付け処理を行って、
前記現入力画信号に対する2値化閾値データを作成する
作成手段と、この2値化閾値データと現入力画信号とを
比較することにより現入力画信号に対する2値化データ
を形成する形成手段と、この2値化データを出力すると
共に一時記憶して前記2値化処理における過去の2値化
データとしてフィードバックする手段とを備える画像2
値化処理装置において、前記作成手段は、前記重み付け
処理の同じ重み係数で計算される黒画素の個数をそれぞ
れ計測する計測手段と、前記計測手段の計測値をアドレ
ス情報として前記現入力画信号に対する2値化閾値デー
タを記憶する記憶手段とを具備することを特徴とする。(Means for Solving the Problem) In order to achieve the above object, the present invention provides an input means for inputting an image signal obtained by raster scanning an image, and an input means for inputting an image signal obtained by raster scanning an image, and an input means for inputting an image signal obtained by raster scanning an image, and an input means for inputting an image signal obtained by raster scanning an image. A predetermined weighting process is performed based on past binarized data,
creating means for creating binarized threshold data for the current input image signal; and forming means for forming binarized data for the current input image signal by comparing the binarized threshold data and the current input image signal. , a means for outputting this binarized data, temporarily storing it, and feeding it back as past binarized data in the binarization process.
In the value conversion processing device, the creation means includes a measuring means for respectively measuring the number of black pixels calculated using the same weighting coefficient in the weighting process, and a measuring means for calculating the number of black pixels calculated by the same weighting coefficient in the weighting process, and using the measured value of the measuring means as address information for the current input image signal. It is characterized by comprising a storage means for storing binarized threshold value data.
また本発明では、画像をラスタ走査して得られる画信号
を入力する入力手段と、現入力画信号と先に入力された
画信号に対して2値化された過去の2値化データに基づ
き所定の重み付け処理を行って、前記現入力画信号に対
する2値化閾値データを作成し、この2値化閾値データ
と現入力画信号とを比較することにより現入力画信号に
対する2値化データを形成する形成手段と、この2値化
データを出力すると共に一時記憶して前記2値化処理に
おける過去の2値化データとしてフィードバックする手
段とを備える画像2値化処理装置において、前記形成手
段は、前記重み付け処理の同し重み係数で計算される黒
画素の個数をそれぞれ計測する計測手段と、前記計測手
段のJ1測値および前記現入力画信号をアドレス情報と
して前記現入力画信号に対する2値化データを記憶する
記憶手段とを具備することを特徴とする。The present invention also provides an input means for inputting an image signal obtained by raster scanning an image, and an input means for inputting an image signal obtained by raster scanning an image, and based on past binarized data obtained by binarizing the current input image signal and the previously input image signal. A predetermined weighting process is performed to create binarized threshold data for the current input image signal, and by comparing this binarized threshold data and the current input image signal, the binarized data for the current input image signal is generated. In the image binarization processing apparatus, the image binarization processing apparatus includes a forming means for forming the binarized data, and a means for outputting the binarized data, temporarily storing it, and feeding it back as past binarized data in the binarization process, the forming means , a measuring means for respectively counting the number of black pixels calculated by the same weighting coefficient of the weighting process, and a binary value for the current input image signal using the J1 measurement value of the measuring means and the current input image signal as address information. The invention is characterized by comprising a storage means for storing converted data.
(作 用)
本発明では、平均濃度を算出するために、すでに2値化
の終了した2値のドツト情報を、同し重み係数で計算さ
れる2値のドツト情報毎にその黒画素の個数を計測し、
その個数情報を記憶装置のアドレス情報とする。これに
より、記憶装置の容量を小さくすることができる。(Function) In the present invention, in order to calculate the average density, the binary dot information that has already been binarized is calculated by calculating the number of black pixels for each binary dot information calculated using the same weighting coefficient. Measure the
The number information is used as the address information of the storage device. This allows the capacity of the storage device to be reduced.
(実施例)
以下、図面を参照してこの発明の実施例につき説明する
。(Embodiments) Hereinafter, embodiments of the present invention will be described with reference to the drawings.
第3図は中間調画像1と、この中間調画像]をラスタ走
査し、サンプリングによって画素分離した画素2との関
係を示すもので、同図(a)は全体構成を、また同図(
b)はその一部を拡大して示している。今、入力画像を
r(j、j)とし、この画像位置(i、j)における2
値化データをg(i、j)として定義すると、
O≦f(j、j)≦]
g(i、j)=Oor 1
として表すことができる。つまり画像位置(j、j)に
おける入力画像f(j、j)は正規化された0〜1のレ
ベルを有し、このレベルに対して2値化データg(i、
j)が0または1を取ることを示している。さて、第3
図(b)において、斜線で示す画素2aが処理の対象と
なるデータ位置であって、画素2bが既に2値化処理を
終了し、2値化データが決定したものとする。尚2cは
、未処理の画素を示している。こうして第3図(b)に
示す画素2a。Figure 3 shows the relationship between halftone image 1 and pixel 2, which is separated by sampling after raster scanning the halftone image.
b) shows a part of it enlarged. Now, let the input image be r(j, j), and 2 at this image position (i, j)
When value data is defined as g(i, j), it can be expressed as O≦f(j, j)≦] g(i, j)=Oor 1 . In other words, the input image f(j, j) at the image position (j, j) has a normalized level of 0 to 1, and the binarized data g(i,
This indicates that j) takes 0 or 1. Now, the third
In FIG. 2B, it is assumed that the pixel 2a indicated by diagonal lines is the data position to be processed, and that the pixel 2b has already completed the binarization process and the binarized data has been determined. Note that 2c indicates an unprocessed pixel. In this way, the pixel 2a shown in FIG. 3(b).
2b、2cは、処理対象となる画素2aの周囲を抽出し
たものであり、処理が終了した画素2bの集合をQ、こ
の集合Qと処理対象となる画素2aとからなる集合をQ
−としたとき、この方式にょる2値化処理のアルゴリズ
ムは次のように示される。2b and 2c are the extracted areas around the pixel 2a to be processed, Q is the set of pixels 2b for which processing has been completed, and Q is the set consisting of this set Q and the pixel 2a to be processed.
-, the algorithm for binarization processing using this method is shown as follows.
g(M、N)=FIf’(M、N)1g(i、j)[(
i、j)E Q]l但し、座標(M、N)は処理対象と
なっている画素位置を示すもので、Fは関数である。つ
まり、処理対象となっている画素位置(M、N)の2値
化データg(M、N)は、同画素位置の人力画信号デー
タr(M、N)と、集合Qに含まれる近隣画素位置(i
、j)の既に2値化されたデータg(i、j)とに基づ
き、何らかの重み付け関数Fにより決定される。この間
数Fは、例えば
ここで、
として示されるものである。但し、α(i、Dは例えば
第2図に示すようなウェイトを持った重み関数である。g(M,N)=FIf'(M,N)1g(i,j)[(
i, j)E Q]l However, the coordinates (M, N) indicate the pixel position to be processed, and F is a function. In other words, the binarized data g (M, N) of the pixel position (M, N) to be processed is combined with the human image signal data r (M, N) of the same pixel position and the neighboring pixels included in the set Q. Pixel position (i
, j) and the already binarized data g(i, j), it is determined by some weighting function F. The interval number F is, for example, shown here as follows. However, α(i, D are weighting functions having weights as shown in FIG. 2, for example).
このアルゴリズムに示されるように、重み関数を予め定
めておくたけて、過去の2値化データと現座標位置の入
力画信号データとから簡易にして上記画信号データに対
する2値化データを作成し、これを出力することができ
る。しかも、この2値化処理に必要とする過去のデータ
は全て2値データであるから、その蓄積記憶が容易であ
る。As shown in this algorithm, by predetermining a weighting function, the binarized data for the above image signal data is created simply from the past binarized data and the input image signal data at the current coordinate position. , this can be output. Moreover, since all the past data required for this binarization process is binary data, it is easy to accumulate and store it.
さらに、この構成によれば前記したXなる値を求め、そ
の値Xと係数α(0,0)との比較によって2値化デー
タg(河、N)を求めることができる。換言すれば、
を判定すれば、2値化データg(M、N)を直接求める
ことができる。ここで上式右辺は、過去のデータg(i
、j)の関数として示される。Furthermore, according to this configuration, the value X described above can be found, and the binarized data g (river, N) can be found by comparing the value X with the coefficient α(0,0). In other words, by determining the following, the binarized data g(M, N) can be directly obtained. Here, the right side of the above equation is past data g(i
, j).
以上の方法を、実現するために従来上式右辺の演算はR
OMに予め登録しておいてこれを過去の2値化データg
(+、j)でアクセスしていたためg(i。In order to realize the above method, conventionally the calculation on the right side of the above equation is R
Register it in OM in advance and use it as past binarized data
g(i) because it was accessed at (+, j).
j)の個数たけアドレスビットが必要であった。Address bits equal to the number of address bits j) were required.
ところで、上式の項
を判定していた。従って、上式に着目すれば、として示
すことができ、
は、第2図に示す様な重み係数α(M−i、N−j)を
各画素g(i、j) (黒画素1、白画素0)に掛けた
ものの総計であるか、例えば、同し重み係数α(M−i
、Nj)を持つ画素はその項をまとめて、g(i、j)
の黒画素の個数を重ろ係数α(M−i、N−j)に掛け
て総計を求めても良い。By the way, the term in the above equation was being determined. Therefore, if we pay attention to the above equation, it can be expressed as, where the weighting coefficient α(M-i, N-j) as shown in FIG. For example, the same weighting coefficient α(M−i
, Nj), the terms are put together and g(i, j)
The total sum may be obtained by multiplying the number of black pixels by the weighting coefficient α(M-i, N-j).
第1図は上記アルゴリズムを実現する本発明に係る実施
例装置の概略構成図である。中間調画像をライン走査し
て人力される画信号は、例えばA/D変換器11を介し
てnビットのデジタルデータに変換されて取り込まれる
。このnビットの画信号データは比較器12に後述する
ROM (リド・オンリー・メモリ)13からのnビッ
トの2値化閾値データと共に取込まれて比較され、その
結果により上記画信号に対応した2値化デジタルデータ
として出力される。言うまでもなく A/D変換器11
と比較器12との間には画像補正用の回路、例えばシェ
ーデング補正回路や自動利得補正回路等を必要に応じて
設けても構わない。FIG. 1 is a schematic diagram of an embodiment of an apparatus according to the present invention that implements the above algorithm. An image signal input manually by line-scanning a halftone image is converted into n-bit digital data via, for example, an A/D converter 11, and then captured. This n-bit image signal data is taken into a comparator 12 together with n-bit binarized threshold data from a ROM (read only memory) 13, which will be described later, and compared, and based on the result, it is determined whether the image signal corresponds to the above-mentioned image signal. It is output as binary digital data. Needless to say, A/D converter 11
An image correction circuit such as a shading correction circuit or an automatic gain correction circuit may be provided between the comparator 12 and the comparator 12 as necessary.
前記ROM1Bには後述する10ビツトの2値化デジタ
ルデータがアドレスデータとして入力され、先に説明し
たアルゴリズムに基づき作成されたnビットの2値化閾
値データが出力される。10-bit binary digital data, which will be described later, is input to the ROM 1B as address data, and n-bit binary threshold data created based on the algorithm described above is output.
こうして比較器12から出力された2値化1ビツトデー
タは、所定の出力装置(図示せず)に供給されると共に
、シフトレジスタ14を介して2サンプリング遅延され
た後、順次シフトレジスタ15.16.17.18に供
給される。シフトレジスタ15.16は直列構成されて
、上記]ビットデータを1ライン走査期間遅延するもの
であり、後段のシフトレジスタ16の各タップより、隣
接する例えば5サンプル(5画素)位置の]ビット2値
化データを並列的に取り出している。またシフトレジス
タ17.18も同様に直列構成されて1ビツトデータを
1ライン走査期間遅延するように構成され、その後段よ
り5サンプル位置の1ビツト2値化データを並列的に取
り出している。The binary 1-bit data outputted from the comparator 12 in this way is supplied to a predetermined output device (not shown) and is delayed by two samples via the shift register 14, and then sequentially transferred to the shift registers 15, 16. Provided on .17.18. The shift registers 15 and 16 are configured in series to delay the above bit data by one line scanning period, and from each tap of the shift register 16 in the subsequent stage, bit 2 of adjacent, for example, 5 samples (5 pixels) position is delayed. Valued data is extracted in parallel. Shift registers 17 and 18 are similarly arranged in series to delay 1-bit data by 1 line scanning period, and 1-bit binary data at 5 sample positions are taken out in parallel from the subsequent stage.
これらのシフトレジスタ14.16.18よりそれぞれ
並列的に取り出される合計12ビツトの並列データは、
例えば、第4図に示す様な重み係数の位置に対応してお
り、従来、第5図に示すように、この12ビツトのデー
タをそのままROM25のアドレスデータとして入力し
ていた。なお、第5図に示す従来例において他の構成は
第1図に示したものと同様である。A total of 12 bits of parallel data taken out in parallel from these shift registers 14, 16, and 18 are as follows:
For example, it corresponds to the position of the weighting coefficient as shown in FIG. 4, and conventionally, this 12-bit data was input as is as address data of the ROM 25 as shown in FIG. The other configurations in the conventional example shown in FIG. 5 are the same as those shown in FIG. 1.
そこで、本実施例では同じ重み係数のビットをまとめて
、計測器19.20.21.22に各々入力して、各々
の黒画素の個数をカウントしての情報を前記ROM1B
のアドレスデータとして入力する。Therefore, in this embodiment, the bits of the same weighting coefficient are input to the measuring devices 19, 20, 21, and 22 respectively, and the information obtained by counting the number of each black pixel is stored in the ROM 1B.
input as address data.
即ち、今タイ゛ミングt。なるときのA/D変換器から
の出力かnビットの画信号データ(Co。That is, now is the timing t. The output from the A/D converter is n-bit image signal data (Co.
CI、C2〜C,、)として示されるとき、同タイミン
グt。には、シフトレジスタ14より1サンプル前の2
値化データDl、、2サンプル前の2値化データD12
が出力されている。またシフトレジスタ16の並列出力
は、]ライン走査のサンプル数をLとしたとき、2値化
データD (L−21+ D+L−1)I D−L
・ D−(、、+I)+ D−(L・2)となってお
り・シフトレジスタ18の並列出力は、2値化データD
−+2L−21+ D−+2L Ll + D−2
L + D−(2L+Il +D−(21,+21とな
っている。CI, C2-C, , ), the same timing t. 2, one sample before the shift register 14.
Valued data Dl,, 2 samples ago binary data D12
is being output. Furthermore, the parallel output of the shift register 16 is binary data D (L-21+D+L-1)I D-L, where the number of line scanning samples is L.
・D-(,,+I)+D-(L・2) ・The parallel output of the shift register 18 is the binary data D
-+2L-21+ D-+2L Ll + D-2
L + D-(2L+Il +D-(21, +21).
従って、例えば第4図に示す様な重み係数マトリクスを
適用する場合には、計測器19には重み係数1に対応す
る2ビツトの2値化データD−,2t2) r D
+2L、2.か入力し、その時の黒画素のカウント結果
2ビツトが出力してROM13に人力し、計測器20に
は重み係数3に対応する4ビツトの2値化データD−L
2+、−11・D12L+11D (L−21+
D−fL+21が人力し、その時の黒画素のカウント結
果3ビツトか出力してROM1.3に入力し、計測器2
1には重み係数5に対応する4ヒツトの2値化データD
−21,・ D −(、、+++ D−口−・1)D
−2が入力し、その時の黒画素のカウント結果3ビツト
が出力してROM1.3に入力し、計測器22には重み
係数7に対応する2ビツトの2値化データD Ll
D 、が入力し、その時の黒画素のカウント結果2
ビツトが出力してROM13に人力する。Therefore, when applying a weighting coefficient matrix as shown in FIG. 4, for example, the measuring device 19 receives 2-bit binary data D-, 2t2) r D
+2L, 2. The 2-bit count result of the black pixel at that time is output and inputted to the ROM 13, and the measuring device 20 receives 4-bit binary data D-L corresponding to the weighting coefficient 3.
2+, -11・D12L+11D (L-21+
D-fL+21 is manually operated, outputs the 3-bit count result of the black pixel at that time, inputs it to ROM1.3,
1 contains the 4-hit binary data D corresponding to the weighting coefficient 5.
−21,・D −(,,+++ D−口−・1)D
-2 is input, the 3-bit count result of the black pixel at that time is output and input to the ROM 1.3, and the measuring device 22 receives 2-bit binary data D Ll corresponding to the weighting coefficient 7.
D is input, and the black pixel count result 2 at that time is
The bit is output and manually input to the ROM13.
ここで、Co−C,、なるデータは前述したアルゴリズ
ムにおけるf(M、N)に相当するものであり、D−、
、D−2,D 、L−2,〜D −(L弓1.D−,
2L−21〜D−f2L+2+なる12ビツトのデータ
はそれぞれg(i、j)[i、je Q]に相当するも
のである。Here, the data Co-C, corresponds to f(M, N) in the algorithm described above, and the data D-,
,D-2,D ,L-2,~D-(L bow 1.D-,
The 12-bit data 2L-21 to D-f2L+2+ correspond to g(i, j) [i, je Q], respectively.
また、ROM 1.3に予め登録されたnビットの2値
化閾値データは、前記アルゴリズムに基づいて演算され
て作成されたもので、前述の実施例では2値データのラ
イン遅延にシフトレジスタを用いたか、これをRAM
(ランダム舎アクセス・メモリ)に蓄積してそれをアド
レスコントローラにて制御しても良い。Furthermore, the n-bit binarization threshold data registered in advance in ROM 1.3 is calculated and created based on the above algorithm, and in the above embodiment, a shift register is used for the line delay of the binary data. Did you use this in RAM?
(random access memory) and may be controlled by an address controller.
第2図はこの発明の他の実施例を示したものである。こ
の実施例では第1図に示したROMI 3、比較器12
の部分をROM23で置き換えることによって構成され
る。この実施例の場合、計測器19.20.21.22
より出力される計測ブタ、A/D変換器から出力される
nビットのブタの計(10+n)ビットのデータによっ
てROM23がアドレスされ、所望の2値画信号が出力
される。他の構成は第1図に示したものと同様である。FIG. 2 shows another embodiment of the invention. In this embodiment, the ROMI 3 and comparator 12 shown in FIG.
It is constructed by replacing the part with the ROM 23. In this example, the measuring instruments 19.20.21.22
The ROM 23 is addressed by a total of (10+n) bits of data, including the measurement data output from the A/D converter and the n-bit data output from the A/D converter, and a desired binary image signal is output. The other configurations are similar to those shown in FIG.
なお、本発明は上記実施例にのみ限定されるものではな
い。例えば2値化処理にフィードバックする過去の2値
化データの画素領域Qおよび画素数や、重み関数αは仕
様に応じて定めれば良いものである。特に、本発明は、
画素領域Qを拡大した時に、そのままROM等の記憶装
置の領域が拡大しないので、非常に有効である。Note that the present invention is not limited only to the above embodiments. For example, the pixel area Q and number of pixels of past binarized data to be fed back to the binarization process, and the weighting function α may be determined according to specifications. In particular, the present invention
This is very effective because when the pixel area Q is expanded, the area of a storage device such as a ROM is not expanded.
以上説明したように、本装置は平均濃度を算出するため
に、すてに2値化の終了した2値のドツト情報をそのま
まROM等の記憶装置のアドレスに人力するのではなく
、同じ重み係数で計算される2値のドツト情報の黒画素
の個数を計測し、その個数情報をROM等の記憶装置に
入力するため、ROM等の記憶装置の容量を小さくする
ことができる。これは、ゲートアレイ化の際、計測器は
ゲートアレイの内部に組み入れられるが、ROM等の記
憶装置は入れられないので、ゲートアレイの外付けとな
るROM等の記憶装置の容量の縮小化は重要である。As explained above, in order to calculate the average density, this device does not manually input binary dot information that has already been binarized to the address of a storage device such as a ROM, but instead uses the same weighting coefficient. Since the number of black pixels of the binary dot information calculated by is measured and the number information is input to a storage device such as a ROM, the capacity of the storage device such as a ROM can be reduced. This is because when creating a gate array, measuring instruments are incorporated inside the gate array, but storage devices such as ROM cannot be inserted, so it is difficult to reduce the capacity of storage devices such as ROM that are external to the gate array. is important.
第1図は本発明の一実施例を示すブロック図、第2図は
本発明の他の実施例を示すブロック図、第3図は画素位
置と画像処理の概念を説明する図、第4図は重み関数の
例を説明する図、第5図は本発明の従来例を示すブロッ
ク図である。
11・・・A/D変換器、12・・・比較器、13.2
3、5 ・・ ROM、
】 4゜
]
16゜
シ
フ
トレジスタ、
1 。
2 ・・
計測器。Fig. 1 is a block diagram showing one embodiment of the present invention, Fig. 2 is a block diagram showing another embodiment of the invention, Fig. 3 is a diagram explaining the concept of pixel position and image processing, Fig. 4 5 is a diagram illustrating an example of a weighting function, and FIG. 5 is a block diagram illustrating a conventional example of the present invention. 11... A/D converter, 12... Comparator, 13.2
3, 5... ROM, ] 4°] 16° shift register, 1. 2... Measuring instrument.
Claims (2)
入力手段と、 現入力画信号と先に入力された画信号に対して2値化さ
れた過去の2値化データに基づき所定の重み付け処理を
行って、前記現入力画信号に対する2値化閾値データを
作成する作成手段と、この2値化閾値データと現入力画
信号とを比較することにより現入力画信号に対する2値
化データを形成する形成手段と、 この2値化データを出力すると共に一時記憶して前記2
値化処理における過去の2値化データとしてフィードバ
ックする手段と を備える画像2値化処理装置において、 前記作成手段は、 前記重み付け処理の同じ重み係数で計算される黒画素の
個数をそれぞれ計測する計測手段と、前記計測手段の計
測値をアドレス情報として前記現入力画信号に対する2
値化閾値データを記憶する記憶手段と を具備することを特徴とする画像2値化処理装置。(1) An input means for inputting an image signal obtained by raster scanning an image; creating means for performing weighting processing to create binarized threshold data for the current input image signal; and generating binarized data for the current input image signal by comparing the binarized threshold data and the current input image signal. a forming means for outputting the binarized data and temporarily storing the binarized data;
In the image binarization processing apparatus, the image binarization processing apparatus includes means for feeding back past binarized data in the digitization process, wherein the creation means measures the number of black pixels calculated using the same weighting coefficient in the weighting process. 2 for the current input image signal using the measured value of the measuring means as address information.
1. An image binarization processing device, comprising: storage means for storing digitization threshold data.
入力手段と、 現入力画信号と先に入力された画信号に対して2値化さ
れた過去の2値化データに基づき所定の重み付け処理を
行って、前記現入力画信号に対する2値化閾値データを
作成し、この2値化閾値データと現入力画信号とを比較
することにより現入力画信号に対する2値化データを形
成する形成手段と、 この2値化データを出力すると共に一時記憶して前記2
値化処理における過去の2値化データとしてフィードバ
ックする手段と を備える画像2値化処理装置において、 前記形成手段は、 前記重み付け処理の同じ重み係数で計算される黒画素の
個数をそれぞれ計測する計測手段と、前記計測手段の計
測値および前記現入力画信号をアドレス情報として前記
現入力画信号に対する2値化データを記憶する記憶手段
と を具備することを特徴とする画像2値化処理装置。(2) input means for inputting an image signal obtained by raster scanning an image; Performing weighting processing to create binarized threshold data for the current input image signal, and compare this binarized threshold data with the current input image signal to form binarized data for the current input image signal. a forming means, for outputting the binarized data and for temporarily storing it;
In the image binarization processing apparatus, the image binarization processing device includes means for feeding back past binarized data in the digitization process, wherein the forming means measures the number of black pixels calculated using the same weighting coefficient in the weighting process. An image binarization processing apparatus, comprising: means for storing binarized data for the current input image signal using the measured value of the measuring means and the current input image signal as address information.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2189752A JPH0478268A (en) | 1990-07-18 | 1990-07-18 | Picture binarizing processor |
US07/626,707 US5161036A (en) | 1989-12-15 | 1990-12-14 | Picture digitizing system using randomly varied binary threshold data |
CA002032342A CA2032342C (en) | 1989-12-15 | 1990-12-14 | Picture digitizing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2189752A JPH0478268A (en) | 1990-07-18 | 1990-07-18 | Picture binarizing processor |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0478268A true JPH0478268A (en) | 1992-03-12 |
Family
ID=16246590
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2189752A Pending JPH0478268A (en) | 1989-12-15 | 1990-07-18 | Picture binarizing processor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0478268A (en) |
-
1990
- 1990-07-18 JP JP2189752A patent/JPH0478268A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3200931B2 (en) | Halftone dot area discrimination circuit | |
JPH0366873B2 (en) | ||
US5299030A (en) | Image data processing method and apparatus with mixture of simple binarization and psuedo intermediate tone | |
JPH0478268A (en) | Picture binarizing processor | |
CA2032342C (en) | Picture digitizing system | |
JPS615677A (en) | Variable density image recording method | |
JPH0698157A (en) | Halftone image forming device | |
JPS58186266A (en) | Binary-coding device for shaded picture | |
JPS63205238A (en) | Image processing apparatus | |
JP3006460B2 (en) | Binary image processing device | |
JPH03186062A (en) | Picture binarizing processor | |
JP3143502B2 (en) | Area discriminating apparatus and method | |
JP3315705B2 (en) | Image processing device | |
JP2857906B2 (en) | Halftone binarization processor | |
JPS6180964A (en) | Picture signal processing method | |
JP3025714B2 (en) | Pseudo gradation processor | |
JPH03186061A (en) | Picture binarizing processor | |
JPH06303424A (en) | Dot area discrimination device | |
JPS6180960A (en) | Picture signal processing method | |
JPS6180966A (en) | Picture signal processing method | |
JPS62107572A (en) | Image processor | |
JPH0461472A (en) | Picture processor | |
JPS62107575A (en) | Method and device for generating high resolution binarization picture data | |
JPS61105970A (en) | Picture signal processing device | |
JPS6180962A (en) | Picture signal processor |