JP3484831B2 - Binary image multilevel reduction processing device - Google Patents

Binary image multilevel reduction processing device

Info

Publication number
JP3484831B2
JP3484831B2 JP19323795A JP19323795A JP3484831B2 JP 3484831 B2 JP3484831 B2 JP 3484831B2 JP 19323795 A JP19323795 A JP 19323795A JP 19323795 A JP19323795 A JP 19323795A JP 3484831 B2 JP3484831 B2 JP 3484831B2
Authority
JP
Japan
Prior art keywords
thinning
image
value
filter
processing
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
JP19323795A
Other languages
Japanese (ja)
Other versions
JPH0944128A (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP19323795A priority Critical patent/JP3484831B2/en
Publication of JPH0944128A publication Critical patent/JPH0944128A/en
Application granted granted Critical
Publication of JP3484831B2 publication Critical patent/JP3484831B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は2値画像多値化縮
小処理装置に関し、例えば多階調表示能力を持つ低解像
度ディスプレイに白黒2値画像を縮小して表示する際に
適用し得る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a binary image multi-value reduction processing apparatus, and can be applied to, for example, reducing and displaying a black-and-white binary image on a low resolution display having a multi-gradation display capability.

【0002】[0002]

【従来の技術】従来、例えば白黒2値画像を縮小して多
階調表示能力を持つ低解像度ディスプレイに表示する2
値画像多値化縮小処理装置として、入力される2値画像
をフィルタ処理して多値化した後、間引き処理して縮小
画像を多値画像として表示するものがある。図14は2
値画像多値化縮小処理装置として、例えば特開平2−2
67592号公報に示された縮小文字表示装置であり、
図において1は文字発生回路、2はフィルタ回路、3は
表示装置である。
2. Description of the Related Art Conventionally, for example, a monochrome binary image is reduced and displayed on a low resolution display having a multi-gradation display capability.
2. Description of the Related Art As a value image multi-value reduction processing apparatus, there is one that filters an input binary image to make it multi-valued, and then performs thinning processing to display the reduced image as a multi-valued image. Figure 2 is 2
As a value image multi-value reduction processing apparatus, for example, Japanese Patent Laid-Open No. 2-2
A reduced character display device disclosed in Japanese Patent No. 67592,
In the figure, 1 is a character generation circuit, 2 is a filter circuit, and 3 is a display device.

【0003】文字発生回路1で発生した2値の文字画像
に対して、フィルタ回路2でフィルタ処理を施して2値
画像でなる文字画像を多値化し、引き続いて所望の縮小
率(間引き率)で間引き、表示装置3で縮小画像を多値
画像として出力する。実際上、このような縮小文字表示
装置のフィルタ回路2では、間引き率に応じて決定され
る局所領域内の画素値の平均値を計算するいわゆる平均
値フィルタや、誤差拡散フィルタ等が用いられる。
The binary character image generated by the character generation circuit 1 is filtered by the filter circuit 2 to convert the binary character image into a multi-valued image, and subsequently a desired reduction ratio (decimation ratio). , And the reduced image is output as a multi-valued image on the display device 3. In practice, the filter circuit 2 of such a reduced character display device uses a so-called average value filter for calculating an average value of pixel values in a local area determined according to a thinning rate, an error diffusion filter, or the like.

【0004】[0004]

【発明が解決しようとする課題】上記のような従来の2
値画像多値化縮小処理装置のフィルタ回路2は、低域通
過フィルタとしてはあまり特性の良くない平均値フィル
タや、低域通過フィルタではない誤差拡散フィルタを用
いて2値画像の多値化処理を行っているため、多値化後
の画像が必ずしも滑らかでなく、局所的に視認性が劣化
する問題を避け得なかった。
DISCLOSURE OF THE INVENTION Problem to be Solved by the Invention
The filter circuit 2 of the value image multi-value reduction processing apparatus uses an average value filter, which is not very good as a low-pass filter, or an error diffusion filter, which is not a low-pass filter, to make a binary image multi-value. Therefore, the image after multi-value quantization is not always smooth, and the problem that the visibility is locally deteriorated cannot be avoided.

【0005】また平均値フィルタについては、フィルタ
のサポート内の画素値を一様な重み付けで扱うために、
フィルタのサポート内での画素配列を考慮した多値化が
不可能であり、また同じ理由でフィルタ出力の個数がフ
ィルタのサポートサイズに1を加えた個数に限定されて
しまうため、ディスプレイの階調数が例え多くてもそれ
を十分に利用し得ないという問題があった。
Further, regarding the average value filter, in order to handle the pixel values in the support of the filter with uniform weighting,
It is not possible to multi-value the pixel array within the filter support, and for the same reason, the number of filter outputs is limited to the number of filter support sizes plus 1, so the display grayscale is limited. There was a problem that even if the number was large, it could not be fully utilized.

【0006】さらに多値化の過程は、画像をぼかして滑
らかにする操作に相当するが、多値化縮小処理後に、必
ずしもぼかされてる必要のない太い線分の周辺等にもぼ
かしが発生し、画像が全体としてぼやけた感じになる問
題があった。さらにまた細い線分に対して、フィルタ処
理を施して得られた結果を間引く場合、間引き率に一致
する間隔で周期的に位置する画素を間引くような間引き
処理では、細い線分の情報が時々欠落することがあり、
全体として視認性が未だ不十分であるという問題があっ
た。
Further, the multi-value quantization process corresponds to an operation of blurring and smoothing an image. However, after the multi-value reduction processing, blurring also occurs around a thick line segment that is not necessarily blurred. However, there is a problem in that the image looks blurry as a whole. Furthermore, when thinning out the result obtained by applying the filtering process to a thin line segment, in the thinning-out process that thins out pixels that are periodically positioned at intervals that match the thinning rate, the information of the thin line segment is sometimes May be missing
There was a problem that the visibility as a whole was still insufficient.

【0007】この発明は上記の課題を解消するためにな
されたもので、2値画像を多値化した後、間引きによっ
て多値縮小画像を得る際に、視認性を格段的に向上でき
る多値化縮小処理装置を提供することにある。さらに、
多値化縮小処理の過程で生じるぼけや間引きによって生
じる細線の情報の欠落を有効に除去することができる多
値化縮小処理装置を提供することにある。
The present invention has been made in order to solve the above-mentioned problems, and it is possible to significantly improve the visibility when a multi-value reduced image is obtained by thinning after binarizing a binary image. An object is to provide a reduction processing apparatus. further,
It is an object of the present invention to provide a multi-value reduction processing apparatus capable of effectively removing a loss of information of a thin line caused by blurring or thinning occurring in the process of multi-value reduction processing.

【0008】[0008]

【課題を解決するための手段】上記課題を解決するため
この発明に係る2値画像多値化縮小処理装置は、入力さ
れる2値画像を多値画像のデータ形式に変換するデータ
形式変換手段と、縮小率N/M(N、Mは正の整数)で
なる所望の間引き率M:Nに応じて多値画像を帯域制限
するために適したローパスフィルタを決定するフィルタ
決定手段と、データ形式変換手段より得られる多値画像
をフィルタ決定手段で決定されたローパスフィルタでフ
ィルタ処理して低域信号成分を取り出し、多値画像に中
間階調を与えて多値低域画像を生成する多値化処理手段
と、その多値化処理手段から得られる多値低域画像を所
望の間引き率M:Nに応じて間引いて多値縮小画像を生
成する間引き処理手段とを備えるものである。
In order to solve the above problems, a binary image multi-value reduction processing apparatus according to the present invention is a data format conversion means for converting an input binary image into a data format of a multi-valued image. And filter determining means for determining a low-pass filter suitable for band-limiting the multi-valued image according to a desired thinning rate M: N, which is a reduction rate N / M (N and M are positive integers), and data. A multi-valued image obtained by the format conversion means is filtered by the low-pass filter determined by the filter determination means to take out low-frequency signal components, and a multi-valued low-frequency image is generated by giving an intermediate gradation to the multi-valued image. It is provided with a binarization processing means and a thinning processing means for thinning the multi-valued low-frequency image obtained from the multi-valued processing means according to a desired thinning rate M: N to generate a multi-value reduced image.

【0009】また、入力される2値画像を多値画像のデ
ータ形式に変換するデータ形式変換手段と、入力される
縮小率N/M(N、Mは正の整数)でなる所望の間引き
率M:Nが比率ak :1(a、kは正の整数)か否か判
定する間引き率判定手段と、その間引き率判定手段の判
定結果として間引き率M:Nが比率ak :1の場合、多
値画像を間引き率a:1で間引くための帯域制限に適し
たローパスフィルタを決定するフィルタ決定手段と、そ
のフィルタ決定手段で決定されたローパスフィルタによ
るフィルタ処理を多値画像に施す多値化処理と、そのフ
ィルタ処理する毎に間引き率a:1で間引きを行う間引
き処理とをそれぞれk回繰り返し、最終的に間引き率a
k :1に間引いた多値縮小画像を出力する再帰型繰り返
しフィルタ処理及び間引き処理手段とを備えるものであ
る。
Further, a data format conversion means for converting an input binary image into a data format of a multivalued image, and a desired thinning rate consisting of an input reduction rate N / M (N and M are positive integers). M: N is a ratio a k : 1 (a and k are positive integers), and a thinning ratio M: N is a ratio a k : 1 as a result of the thinning ratio judging unit. In this case, a filter determining unit that determines a low-pass filter suitable for band limitation for thinning out a multi-valued image at a thinning rate a: 1, and a multi-valued image that is subjected to filter processing by the low-pass filter determined by the filter determining unit are often used. The binarization process and the thinning-out process of thinning out at the thinning-out ratio a: 1 each time the filtering process is repeated k times respectively, and finally the thinning-out ratio a
The present invention is provided with a recursive iterative filter processing and thinning processing means for outputting a multi-value reduced image thinned out to k : 1.

【0010】また、さらに間引き率判定手段の判定結果
として、間引き率M:Nが比率ak:1でない場合、ま
ず再帰型繰り返しフィルタ処理及び間引き処理手段で、
多値画像を間引き率bk’:1(bk’<ak )(b、
k’は正の整数)で間引きし、その間引き結果として得
られる多値縮小画像に対して、引き続き間引き処理とし
て間引き率M:Nbk’で間引き処理を施し、最終的に
間引き率M:Nに間引いた多値縮小画像を出力するもの
である。
If the thinning-out ratio M: N is not the ratio a k : 1 as a result of the thinning-out ratio judging means, first, the recursive iterative filter processing and thinning-out processing means
A multi-valued image is thinned out at a bk ' ratio of 1 ( bk' < ak ) (b,
k ′ is a positive integer), and the multi-value reduced image obtained as a result of the thinning is continuously thinned at a thinning rate M: Nb k ′ as a thinning processing, and finally the thinning rate M: N. It outputs a multi-value reduced image thinned out to.

【0011】また、さらに間引き率判定手段の判定結果
として、間引き率M:Nが比率ak:1でない場合、ま
ず再帰型繰り返しフィルタ処理及び間引き処理手段で、
多値画像を間引き率bk’:1(bk’<ak )(b、
k’は正の整数)で間引きし、その間引き結果として得
られる多値縮小画像に対して、引き続き最近傍法又は投
影法により間引き率M:Nbk’で間引き処理を施し、
最終的に間引き率M:Nに間引いた多値縮小画像を出力
するものである。
If the thinning-out ratio M: N is not a ratio a k : 1 as a result of the thinning-out ratio judging means, first, the recursive iterative filter processing and thinning-out processing means
A multi-valued image is thinned out at a bk ' ratio of 1 ( bk' < ak ) (b,
k ′ is a positive integer), and the multi-value reduced image obtained as a result of the thinning is continuously thinned by the nearest neighbor method or the projection method at a thinning rate M: Nb k ′ .
Finally, the multi-value reduced image thinned to the thinning ratio M: N is output.

【0012】また、入力される2値画像中で間引き率以
下の細線に対する箇所を判定する細線判定手段と、その
細線判定手段によって細線と判定された箇所にローパス
フィルタ処理を施した結果を間引く場合に、間引きの方
法を局所的に適応的に変更する適応的間引き処理手段と
を備えるものである。
Further, in the case of thinning-out thin-line determining means for determining a portion for a thin line having a thinning-out rate or less in an input binary image, and thinning-out the result of low-pass filter processing for a portion determined to be a thin line by the thin-line determining means. And adaptive thinning processing means for locally and adaptively changing the thinning method.

【0013】また、さらに細線判定手段は、入力される
2値画像の各画素が、縦、横各方向について間引き率以
下の幅を持つ線分に属しているかどうかを判定し、いず
れかの方向の線幅が間引き率以下の場合は、該当する画
素を線分部分と判定するものである。
Further, the fine line determination means determines whether or not each pixel of the input binary image belongs to a line segment having a width equal to or less than the thinning rate in each of the vertical and horizontal directions, and determines in either direction. If the line width is less than or equal to the thinning rate, the corresponding pixel is determined to be a line segment portion.

【0014】また、さらに適応的間引き処理部は間引き
率M:Nに間引く場合、細線部分と判定されなかった画
素について、間引き率M:Nに一致する間隔で周期的に
位置する画素のみを残すように間引き処理を行い、細線
部分と判定された画素を間引きの単位に含んでいる箇所
については、間引きの単位内のM画素のうち文字部分の
輝度レベルに近い画素値をもつものから順にN画素を残
し、その他の(M−N)画素を間引くものである。
Further, when the thinning-out ratio M: N is thinned out, the adaptive thinning-out processing unit leaves only pixels, which are periodically positioned at intervals corresponding to the thinning-out ratio M: N, among pixels which are not determined to be thin line portions. The thinning processing is performed as described above, and as for the portion including the pixel determined as the thin line portion in the thinning unit, N pixels are sequentially selected from the M pixels in the thinning unit having a pixel value close to the luminance level of the character portion. Pixels are left and other (M−N) pixels are thinned out.

【0015】また、さらに多値化縮小処理手段により得
られた画像に対して微分フィルタ処理を施す微分フィル
タ処理部と、その微分フィルタ処理部より出力された画
像を定数倍して多値化縮小処理により得られた画像に加
算し、同画像を強調する画像の強調処理部とを備えるも
のである。
Further, the image obtained by the multi-value reduction processing means is subjected to differential filter processing, and the image output from the differential filter processing section is multiplied by a constant to reduce the multi-value. An image enhancement processing unit that adds to the image obtained by the processing and enhances the image is provided.

【0016】[0016]

【発明の実施の形態】以下図面を参照しながら、この発
明の一実施例を詳述する。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the present invention will be described in detail below with reference to the drawings.

【0017】実施例1.図1にこの発明による2値画像
多値化縮小処理装置の実施例1の構成を示す。この多値
化縮小処理装置において、2値画像信号入力部11は例
えば文字発生回路やイメージリーダ、ファクシミリ装置
等の画像読み取り装置でなり、発生した又は読み取った
画像を白黒の2値画像として送出する。データ形式変換
部12は入力された2値画像のデータ形式を多値画像の
データ形式に変換する。フィルタ決定部14は、例えば
図2(A)に示すように、デジタルフィルタの各タップ
に設定するタップ長とフィルタ係数のセットが間引き率
毎に記憶される2次元フィルタ選択テーブルでなる。こ
れにより、間引き率入力部13で入力された間引き率
(縮小率)に応じた信号帯域を保存するために適した2
次元ローパスフィルタを実現する係数を決定される。な
お例えば間引き率が大きいすなわち縮小率が大きくなる
ほど、より低域成分のみを保存するようなローパスフィ
ルタが選択される。
Embodiment 1. FIG. 1 shows a configuration of a first embodiment of a binary image multi-value reduction processing apparatus according to the present invention. In this multi-value reduction processing apparatus, the binary image signal input unit 11 is, for example, an image reading device such as a character generation circuit, an image reader, or a facsimile device, and sends the generated or read image as a monochrome binary image. . The data format converter 12 converts the input binary image data format into a multi-valued image data format. For example, as shown in FIG. 2A, the filter determination unit 14 is a two-dimensional filter selection table in which tap lengths and filter coefficient sets set for each tap of the digital filter are stored for each thinning rate. This makes it suitable for storing the signal band corresponding to the thinning rate (reduction rate) input by the thinning rate input unit 13.
The coefficients that realize the dimensional low-pass filter are determined. Note that, for example, as the decimation rate is higher, that is, the reduction rate is higher, a low-pass filter that saves only low-frequency components is selected.

【0018】多値化処理部15は、例えば図2(B)に
示すように、デイレイ回路、乗算器及び加算器を組み合
わせた一般的なデジタルフィルタとしてのガウシアンフ
ィルタやウエーブレットフィルタ等のローパスフィルタ
を、2次元方向に組み合わせた2次元ローパスフィルタ
で構成されている。これにより、データ形式変換部12
でデータ形式が変換された2値画像信号に対して、フィ
ルタ決定部14で決定された係数に応じて2次元ローパ
スフィルタ処理を施すことによって中間調を発生させ、
2値画像を多値化して多値画像を発生する。間引き処理
部16は、多値化処理部15で生成された多値画像の画
素のうち、間引き率入力部13から入力される間引き率
で決定される一定の間隔に位置する画素のみを保存し、
これにより多値縮小画像を生成する。画像表示部17
は、間引き処理部16で生成された多値縮小画像をディ
スプレイの階調数にあわせて表示する。
As shown in FIG. 2B, for example, the multi-value processing unit 15 is a low-pass filter such as a Gaussian filter or a wavelet filter as a general digital filter in which a delay circuit, a multiplier and an adder are combined. Is formed by a two-dimensional low-pass filter that is a combination of two in the two-dimensional direction. As a result, the data format conversion unit 12
A two-dimensional low-pass filter process is applied to the binary image signal whose data format has been converted in accordance with the coefficient determined by the filter determination unit 14 to generate a halftone,
A binary image is multivalued to generate a multivalued image. The thinning-out processing unit 16 stores only the pixels located at a constant interval determined by the thinning-out ratio input from the thinning-out ratio input unit 13 among the pixels of the multi-valued image generated by the multi-valued processing unit 15. ,
As a result, a multi-value reduced image is generated. Image display unit 17
Displays the multi-value reduced image generated by the thinning-out processing unit 16 according to the number of gradations on the display.

【0019】このような構成で、実際には図2に示すよ
うに動作する。すなわち2値画像信号入力部11では、
読み取った画像を値「1」又は値「0」でなる白黒の2
値画像として送出する(図3(A))。次にこの2値画
像は、データ形式変換部12で、値「 255」又は値
「0」の多値画像のデータ形式に変換される(図3
(B))。続いて多値画像は、多値化処理部15でフィ
ルタ処理され、例えば値「 255」、値「 191」、値「 1
27」、値「63」、値「0」の5段階のデータに変換され
る(図3(C))。
With such a configuration, the operation actually takes place as shown in FIG. That is, in the binary image signal input unit 11,
2 in black and white with the value "1" or "0" for the scanned image
It is sent as a value image (FIG. 3 (A)). Next, this binary image is converted by the data format conversion unit 12 into the data format of the multivalued image of the value “255” or the value “0” (FIG. 3).
(B)). Subsequently, the multi-valued image is filtered by the multi-valued processing unit 15, and for example, the value “255”, the value “191”, the value “1”.
It is converted into data in five stages of "27", value "63", and value "0" (Fig. 3 (C)).

【0020】なお図3(C)では簡単化のため、フィル
タ処理の対象画素について、対象画素とその右側、右下
側及び下側画素の合計4画素の平均値を求める2次元平
均値フィルタの動作の例を示しているが、実際には2次
元ローパスフィルタとして動作するため、図とは異なる
値になる。このようにして5段階のデータでなる多値低
域画像は、例えば図3(D)に示すように、間引き率が
4:1(縮小率1/4)の場合には、縦横に1画素毎に
間引かれ1/4の画素に縮小されて多値縮小画像(図3
(E))として送出される。
In FIG. 3C, for simplification, a two-dimensional average value filter for obtaining an average value of a total of 4 pixels of the target pixel and the right side pixel, the lower right side pixel and the lower side pixel of the target pixel to be filtered is shown. Although an example of the operation is shown, since it actually operates as a two-dimensional low-pass filter, the value is different from that in the figure. In this way, a multi-valued low-frequency image composed of data in 5 stages has one pixel in the vertical and horizontal directions when the thinning rate is 4: 1 (reduction rate 1/4) as shown in FIG. 3D, for example. Each image is thinned out and reduced to 1/4 of a pixel, and a multi-value reduced image (see FIG.
(E)).

【0021】このような構成によれば、入力される2値
画像を多値画像のデータ形式に変換し、この多値画像を
所望の間引き率に応じて決定された2次元ローパスフィ
ルタでフィルタ処理して中間階調を与えて多値低域画像
を生成し、所望の間引き率に応じて間引いて多値縮小画
像を生成することにより、平均値フィルタや誤差拡散フ
ィルタを用いた場合と比較して、ローパスフィルタとし
ての特性に優れるフィルタを用いるために、2値画像の
局所的性質をより忠実に反映した多値化が可能になり、
さらにより多い中間調レベル数での表現も可能になるた
め、2値画像を多値化した後に間引きによって多値縮小
画像を得る際に、視認性を格段的に向上し得る。
With such a configuration, the input binary image is converted into the data format of the multivalued image, and the multivalued image is filtered by the two-dimensional low-pass filter determined according to the desired thinning rate. Then, a multi-valued low-frequency image is generated by giving an intermediate gradation, and a multi-value reduced image is generated by thinning out according to a desired thinning rate, and compared with the case where an average value filter or an error diffusion filter is used. Then, since a filter having excellent characteristics as a low-pass filter is used, it becomes possible to perform multi-valued processing that more faithfully reflects the local property of the binary image,
Since it is possible to express with a larger number of halftone levels, the visibility can be significantly improved when a multi-value reduced image is obtained by thinning after binarizing a binary image.

【0022】なおここでは、最終的に得られる多値縮小
画像をディスプレイに表示した場合の効果として、視認
性が向上する場合について述べたが、それに限らず、2
値画像を予め多値化して記憶装置に記憶しておけば、デ
ィスプレイへの表示速度を格段的に向上できるという効
果がある。実際上表示用の画像をラプラシアンピラミッ
ド符号化等を用いて階層的符号化しておけば、蓄積デー
タ量を圧縮できるだけでなく、画像のプログレッシブ表
示が使えるため、表示速度を見かけ上高速化できること
になる。
Here, the case where the visibility is improved has been described as the effect of displaying the finally obtained multi-value reduced image on the display, but the present invention is not limited to this.
If the value image is multivalued in advance and stored in the storage device, the display speed on the display can be significantly improved. In fact, if the image for display is hierarchically encoded using Laplacian pyramid encoding, etc., not only the amount of accumulated data can be compressed but also progressive display of the image can be used, so the display speed can be apparently increased. .

【0023】実施例2.図1との対応部分に同一符号を
付けて示す図4は、この発明による2値画像多値化縮小
処理装置の実施例2の構成を示す。この実施例2におい
ては、多値化処理部20が縦方向1次元フィルタ処理部
20A及び横方向1次元フィルタ20Bより構成されて
いる。
Example 2. FIG. 4, in which parts corresponding to those in FIG. 1 are assigned the same reference numerals, shows the configuration of a second embodiment of the binary image multi-value reduction processing apparatus according to the present invention. In the second embodiment, the multi-value quantization processing unit 20 includes a vertical direction one-dimensional filter processing unit 20A and a horizontal direction one-dimensional filter 20B.

【0024】上述した実施例1では、フィルタ決定部1
4は2次元ローパスフィルタの係数を決定し、多値化処
理部15は2次元ローパスフィルタを用いて多値化を実
現しているが、この実施例2ではフィルタ決定部21
は、間引き率(縮小率)に応じて多値化に用いる1次元
ローパスフィルタの係数を決定する。これにより、多値
化処理部20はデータ形式変換部12でデータ形式変換
された2値画像に対して、縦方向及び横方向のそれぞれ
の方向毎にフィルタ決定部21で決定された縦方向及び
横方向1次元ローパスフィルタ20A及び20Bを用い
て、1回づつフィルタ処理する。
In the first embodiment described above, the filter determination unit 1
4 determines the coefficient of the two-dimensional low-pass filter, and the multi-value quantization processing unit 15 realizes multi-value quantization by using the two-dimensional low-pass filter. In the second embodiment, the filter determination unit 21 is used.
Determines the coefficient of the one-dimensional low-pass filter used for multi-value quantization according to the thinning rate (reduction rate). As a result, the multi-value quantization processing unit 20 determines the vertical direction and the horizontal direction determined by the filter determination unit 21 for each of the vertical direction and the horizontal direction with respect to the binary image subjected to the data format conversion by the data format conversion unit 12. Filtering is performed once using the horizontal one-dimensional low-pass filters 20A and 20B.

【0025】このような構成によれば、実施例1と同様
の効果に加えて、縦方向及び横方向1次元ローパスフィ
ルタ20A及び20Bを用いて、1回づつフィルタ処理
するようにしたことにより、2次元ローパスフィルタを
用いてフィルタ処理する場合よりも処理を高速化するこ
とができる。
According to this structure, in addition to the same effect as that of the first embodiment, the vertical and horizontal one-dimensional low-pass filters 20A and 20B are used to perform the filtering process once. The processing can be sped up as compared with the case where the filter processing is performed using the two-dimensional low-pass filter.

【0026】実施例3.図4との対応部分に同一符号を
付けて示す図5は、この発明による2値画像多値化縮小
処理装置の実施例3の構成を示す。この実施例3におい
ては、多値化処理部30は、縦方向1次元フィルタ処理
部30A1及び縦方向1次元間引き処理部30A2を含
む縦方向多値化処理30Aと、横方向1次元フィルタ処
理部30B1及び横方向1次元間引き処理部30B2を
含む横方向多値化処理30Bとより構成されている。
Example 3. FIG. 5, in which parts corresponding to those in FIG. 4 are assigned the same reference numerals, shows the configuration of a third embodiment of the binary image multi-value reduction processing apparatus according to the present invention. In the third embodiment, the multi-value quantization processor 30 includes a vertical multi-value quantization processor 30A including a vertical one-dimensional filter processor 30A1 and a vertical one-dimensional thinning processor 30A2, and a horizontal one-dimensional filter processor. 30B1 and a horizontal direction multi-value quantization process 30B including a horizontal direction one-dimensional thinning processing unit 30B2.

【0027】上述した実施例2では、多値化処理部20
で多値低域画像を生成した後に、間引き処理部16で間
引き処理を行って多値縮小画像を生成したが、この実施
例2では、まず縦方向多値化処理30Aとして、入力さ
れた2値画像の縦方向について縦方向1次元ローパスフ
ィルタ処理部30A1で1次元ローパスフィルタ処理を
施し、この結果得られる縦方向の多値低域画像につい
て、続いて縦方向1次元間引き処理部30A2で縦方向
のみについて間引き処理を施し、縦方向の多値縮小画像
を生成する。
In the second embodiment described above, the multilevel halftoning processing section 20.
After the multi-valued low-frequency image is generated in step S1, the thinning-out processing unit 16 performs the thinning-out process to generate the multi-value reduced image. In the second embodiment, first, the input 2 In the vertical direction of the value image, the vertical one-dimensional low-pass filter processing unit 30A1 performs one-dimensional low-pass filter processing, and the vertical multi-valued low-frequency image obtained as a result is subsequently subjected to the vertical one-dimensional thinning processing unit 30A2. Thinning processing is performed only in the direction to generate a vertical multi-value reduced image.

【0028】次に横方向多値化処理30Bとして、入力
される縦方向の多値縮小画像の横方向について、横方向
1次元ローパスフィルタ処理部30B1で1次元ローパ
スフィルタ処理を施し、この結果得られる縦方向が多値
縮小画像で横方向が多値低域画像でなる画像について、
続いて横方向1次元間引き処理部30B2で横方向のみ
について間引き処理を施し、このようにして、縦方向及
び横方向について多値化縮小処理して所望の間引き率で
なる多値縮小画像を生成する。
Next, as the horizontal direction multi-value processing 30B, the horizontal one-dimensional low-pass filter processing unit 30B1 performs one-dimensional low-pass filter processing on the horizontal direction of the input vertical multi-value reduced image. For images that are multivalued reduced images in the vertical direction and multivalued low-pass images in the horizontal direction,
Subsequently, the horizontal one-dimensional thinning processing unit 30B2 performs thinning processing only in the horizontal direction, and in this way, multi-value reduction processing is performed in the vertical direction and the horizontal direction to generate a multi-value reduced image having a desired thinning rate. To do.

【0029】このような構成によれば、実施例2と同様
の効果に加えて、縦方向多値化縮小処理した後、横方向
多値化縮小処理するようにしたことにより、特に横方向
についての処理対象の画素を減らすことができ、縦方向
及び横方向1次元ローパスフィルタ20A及び20Bを
用いて、1回づつフィルタ処理した後、間引き処理する
場合に比較して、さらに一段と処理を高速化することが
できる。なお、この実施例3では、縦方向及び横方向の
順でフィルタ処理及び間引き処理を行ったが、逆に横方
向及び縦方向の順で行っても良い。このようにして実施
例2の場合よりもさらに処理を高速化している。
According to this structure, in addition to the same effect as that of the second embodiment, the vertical multi-value reduction processing is performed, and then the horizontal multi-value reduction processing is performed, so that particularly in the horizontal direction. The number of pixels to be processed can be reduced, and the processing is further speeded up as compared with the case where the vertical and horizontal one-dimensional low-pass filters 20A and 20B are used to perform filter processing once and then thinning processing is performed. can do. In the third embodiment, the filtering process and the thinning process are performed in the order of the vertical direction and the horizontal direction, but the filtering process and the thinning process may be performed in the order of the horizontal direction and the vertical direction. In this way, the processing speed is further increased as compared with the case of the second embodiment.

【0030】実施例4.図1、図4及び図5との対応部
分に同一符号を付けて示す図6は、この発明による2値
画像多値化縮小処理装置の実施例4の構成を示す。上述
した実施例1〜3では、フィルタ決定部14、21で間
引き率入力部13より入力された間引き率に応じてフィ
ルタを決定し、多値化処理部15、20、30で、多値
化処理を2次元フィルタを用いて行う場合には2値画像
に対して1回のフィルタ処理を、1次元フィルタを用い
て行う場合には縦及び横方向についてそれぞれ1回づつ
合計2回のフィルタ処理を施し、引き続く間引き処理部
で、先の多値化処理部で2次元フィルタを用いた場合は
フィルタ処理後に間引き処理を、1次元フィルタを用い
た場合は両方向のフィルタ処理の後に間引き処理、ある
いは、各方向のフィルタ処理が後わる度に縦及び横方向
について1回づつの間引き処理を施している。
Example 4. FIG. 6 in which parts corresponding to those in FIG. 1, FIG. 4 and FIG. 5 are assigned the same reference numerals shows a configuration of a fourth embodiment of a binary image multi-value reduction processing apparatus according to the present invention. In the first to third embodiments described above, the filter determination units 14 and 21 determine filters according to the thinning rate input from the thinning rate input unit 13, and the multi-value quantization processing units 15, 20, and 30 perform multi-value quantization. When the processing is performed using the two-dimensional filter, the filtering processing is performed once on the binary image, and when the processing is performed using the one-dimensional filter, the filtering processing is performed once in the vertical direction and once in the horizontal direction, respectively, that is, two times. In the subsequent thinning-out processing unit, if a two-dimensional filter is used in the previous multi-value quantization processing unit, thinning-out processing is performed after filtering processing, and if a one-dimensional filter is used, thinning-out processing is performed after filtering processing in both directions, or The thinning processing is performed once in the vertical and horizontal directions each time the filtering processing in each direction is performed.

【0031】これに対して、実施例4の2値画像多値化
縮小処理装置では、間引き率入力部13より入力される
間引き率が比率ak :1(a、k は正の整数)かどうか
を、間引き率判定部41で判定し、間引き率ak :1で
ない場合については、多値化縮小処理選択部40で、上
述した実施例1〜3に示したと同様な多値化縮小処理方
法を選択して多値化縮小処理を行い、間引き率ak :1
の場合については、上記実施例1〜3とは別の多値化縮
小処理方法を選択する。
On the other hand, in the binary image multi-value reduction processing apparatus of the fourth embodiment, whether the thinning rate input from the thinning rate input unit 13 is the ratio a k : 1 (a and k are positive integers). If the thinning-out rate determining unit 41 determines that the thinning-out rate a k is not 1, the multi-valued reduction processing selection unit 40 performs the same multi-valued reduction processing as that described in the first to third embodiments. A method is selected, multi-value reduction processing is performed, and a thinning rate a k : 1
In this case, a multi-value quantization reduction processing method different from the above-described first to third embodiments is selected.

【0032】すなわち、まずフィルタ決定部42では比
率a:1に画像を間引くために適した2次元又は1次元
フィルタを決定し、多値化縮小処理部43において決定
された2次元又は1次元フィルタを用いて多値画像にフ
ィルタ処理を施し、続いて比率a:1に間引いて多値縮
小画像を生成するという処理を1セットとして、この処
理をk回再帰的に繰り返すことにより、最終的に間引き
率ak :1に間引いた多値縮小画像を生成する。なおこ
のようにフィルタ処理と間引き処理との繰り返しによる
多値化縮小処理をウェーブレット型多値化縮小処理と呼
ぶ。
That is, first, the filter determination unit 42 determines a two-dimensional or one-dimensional filter suitable for thinning out an image to a ratio a: 1, and the two-dimensional or one-dimensional filter determined by the multi-value reduction processing unit 43. Is used to perform a filtering process on a multi-valued image, and then to thin a ratio a: 1 to generate a multi-value reduced image, and this process is recursively repeated k times to finally obtain A multi-value reduced image thinned to a thinning rate a k : 1 is generated. The multi-value reduction processing by repeating the filter processing and the thinning-out processing in this way is called a wavelet-type multi-value reduction processing.

【0033】ここで、フィルタとして2次元フィルタを
用いる場合は、上述した実施例1と同様に2次元ローパ
スフィルタ処理を施し、続いて比率a:1に間引く。ま
た実施例2と同様に1次元フィルタを用いる場合は、ま
ず1次元ローパスフィルタを画像の縦方向及び横方向に
施し、続いて比率a:1に間引いて縮小する。また実施
例3のように縦方向について1次元のフィルタ処理及び
間引き処理、続いて横方向について1次元フィルタ処理
及び間引き処理を施すことによって多値化縮小処理を実
現しても良い。
Here, when a two-dimensional filter is used as the filter, the two-dimensional low-pass filter processing is performed as in the first embodiment described above, and then the ratio a: 1 is thinned out. When the one-dimensional filter is used as in the second embodiment, first, the one-dimensional low-pass filter is applied in the vertical and horizontal directions of the image, and then the ratio is reduced to a: 1 for reduction. Further, as in the third embodiment, the multi-value reduction processing may be realized by performing one-dimensional filtering processing and thinning processing in the vertical direction and subsequently performing one-dimensional filtering processing and thinning processing in the horizontal direction.

【0034】このような構成によれば、上述した実施例
1〜実施例3と同様の効果に加えて、フィルタ処理と間
引き処理との繰り返しによるウェーブレット型多値化縮
小処理を行うようにしたことにより、間引き率M:Nが
比率ak :1で特に大きい場合に処理を高速化できる。
According to such a configuration, in addition to the same effects as those of the above-described first to third embodiments, the wavelet type multi-value reduction processing is performed by repeating the filter processing and the thinning processing. As a result, the processing can be speeded up when the thinning ratio M: N is particularly large at the ratio a k : 1.

【0035】実施例5.図6との対応部分に同一符号を
付けて示す図7は、この発明による2値画像多値化縮小
処理装置の実施例5の構成を示す。上述した実施例4で
は、間引き率判定部41で間引き率が比率ak :1かど
うかを判定し、その結果に応じて多値化縮小処理選択部
43で多値化縮小処理方法を切り替えていた。これに対
して、実施例5では、まず間引き率入力部13より入力
される間引き率M:Nを、間引き率分割制御部51で任
意の間引き率M:Nをbk’:1(bk’<ak )(M、
N、a、k、b、k’は正の整数)と比率M:Nbk’
に分割する。
Example 5. FIG. 7 in which parts corresponding to those in FIG. 6 are assigned the same reference numerals shows the configuration of a binary image multi-value reduction processing apparatus according to a fifth embodiment of the present invention. In the above-described fourth embodiment, the thinning-out rate determining unit 41 determines whether the thinning-out rate is the ratio ak: 1, and the multi-valued reduction processing selecting unit 43 switches the multi-valued reduction processing method according to the result. . On the other hand, in the fifth embodiment, first, the thinning rate M: N input from the thinning rate input unit 13 and the arbitrary thinning rate M: N in the thinning rate division control unit 51 are set to b k ′ : 1 (b k ' <A k ) (M,
N, a, k, b, k'are positive integers) and ratio M: Nb k '
Split into.

【0036】続いて比率bk’:1の間引き縮小処理
を、実施例4について上述したと同様なウェーブレット
型多値化縮小処理部50で行い、この後間引き率M:N
k’≠1:1の場合は、ウエーブレット型多値化縮小
処理部50で得られた多値縮小画像に対して、さらなる
縮小処理(間引き処理)を実施例1〜3に上述したと同
様の方法で多値化縮小処理部53で行い、所望の間引き
率(縮小率)M:Nの多値化縮小処理画像を生成する。
Subsequently, the thinning reduction processing of the ratio b k : 1 is performed by the wavelet type multi-value reduction processing unit 50 similar to that described in the fourth embodiment.
When b k ′ ≠ 1: 1, further reduction processing (thinning-out processing) is performed on the multi-value reduced image obtained by the wavelet-type multi-value reduction processing unit 50 as described in the first to third embodiments. In the same manner, the multi-value reduction processing unit 53 performs the multi-value reduction processing image with a desired thinning rate (reduction rate) M: N.

【0037】このような構成によれば、上述した実施例
1〜実施例3と同様の効果に加えて、フィルタ処理と間
引き処理との繰り返しによるウェーブレット型多値化縮
小処理を行うようにしたことにより、間引き率M:Nが
比率ak :1でない場合にも処理を高速化できる。
According to such a configuration, in addition to the same effects as those of the above-described first to third embodiments, the wavelet type multi-value reduction processing by repeating the filter processing and the thinning processing is performed. Thereby, the processing can be speeded up even when the thinning ratio M: N is not the ratio a k : 1.

【0038】実施例6.図7との対応部分に同一符号を
付けて示す図8は、この発明による2値画像多値化縮小
処理装置の実施例6の構成を示す。上述した実施例5で
は、ウェーブレット型多値化縮小処理部50により生成
された多値縮小画像を、さらに縮小して所望の縮小率を
実現する処理として、実施例1〜3に示した多値化縮小
処理部53によって実現しているが、実施例6では最近
傍法又は投影法(「投影法に基づく高速画素密度変換方
式」、画像電子学会誌 第11巻 第2号(1982)、72〜
83頁)を用いた追加縮小処理部60により行い間引き処
理部60Bを通じて、所望の縮小率の多値画像を生成す
る。
Example 6. FIG. 8 in which parts corresponding to those in FIG. 7 are assigned the same reference numerals shows the configuration of a sixth embodiment of the binary image multi-value reduction processing apparatus according to the present invention. In the above-described fifth embodiment, the multi-value reduced image generated by the wavelet-type multi-value reduction processing unit 50 is further reduced to realize a desired reduction ratio, and the multi-value reduction shown in the first to third embodiments is performed. Although it is realized by the scaling reduction unit 53, in the sixth embodiment, the nearest neighbor method or the projection method (“High-speed pixel density conversion method based on the projection method”, The Institute of Image Electronics Engineers of Japan, Vol. 11, No. 2 (1982), 72. ~
The additional reduction processing unit 60 is used to generate a multivalued image with a desired reduction ratio through the thinning processing unit 60B.

【0039】このような構成によれば、上述した実施例
5と同様に、ウェーブレット型多値化縮小処理の効果を
利用するとともに、フィルタ処理の一部に最近傍法又は
投影法を用いるにより、実施例5よりも処理を簡略化す
ることができる。なお上述した実施例1〜実施例6にお
いて、画質を最優先する場合はフィルタ設計の自由度の
高い2次元フィルタを用い(実施例1)、処理速度を優
先する場合は1次元フィルタを用たり(実施例2、実施
例3)、さらには1次元フィルタによるウェーブレット
型のフィルタ処理を用いる(実施例4〜実施例6)とい
うように、多値化縮小処理の動作環境や利用目的などに
応じて処理方法を選択できる。
According to such a configuration, as in the above-described fifth embodiment, the effect of the wavelet-type multi-value reduction processing is used, and the nearest neighbor method or the projection method is used as a part of the filter processing. The processing can be simplified as compared with the fifth embodiment. In Examples 1 to 6 described above, a two-dimensional filter having a high degree of freedom in filter design is used when image quality is given the highest priority (Example 1), and a one-dimensional filter is used when processing speed is given priority. (Examples 2 and 3), and further, wavelet type filter processing using a one-dimensional filter is used (Examples 4 to 6), depending on the operating environment and the purpose of use of the multi-value reduction processing. The processing method can be selected.

【0040】実施例7.図1との対応部分に同一符号を
付けて示す図8は、この発明による2値画像多値化縮小
処理装置の実施例7の構成を示す。上述した上記実施例
1〜6では、多値化処理部により生成された多値低域画
像を、間引き率に一致する一定間隔毎に周期的に位置す
る画素を保存する、従来よりある間引き処理を施すこと
によって縮小しているが、こうした手法では間引き率以
下の細線部分の情報が欠落するという問題を解決できな
いでいた。
Example 7. FIG. 8 in which parts corresponding to those in FIG. 1 are assigned the same reference numerals shows a configuration of a binary image multi-value reduction processing apparatus according to a seventh embodiment of the present invention. In the above-described first to sixth embodiments, in the multi-valued low-frequency image generated by the multi-valued processing unit, pixels that are periodically positioned at regular intervals that match the thinning-out ratio are stored, and there is a conventional thinning-out process. However, such a method could not solve the problem that information in the thin line portion below the thinning rate is missing.

【0041】これに対して実施例7では、細線判定部7
1で入力される多値画像の各画素位置での線の太さを測
定し、測定値が間引き率以下の場合はこれを細線と判定
し、細線判定部71での判定結果が細線となる画素を間
引きの単位として含む位置を間引く場合にのみ、間引き
処理の方法を各位置ごとに適応的に変化させ、細線部分
での情報欠落を抑えた2値画像の多値化縮小処理を実現
する。
On the other hand, in the seventh embodiment, the fine line determination unit 7
The thickness of the line at each pixel position of the multi-valued image input at 1 is measured, and if the measured value is less than or equal to the thinning rate, this is determined as a thin line, and the determination result by the thin line determination unit 71 is a thin line. Only when thinning out positions including pixels as thinning units, the thinning-out method is adaptively changed for each position to realize multi-value reduction processing of a binary image in which information loss in the thin line portion is suppressed. .

【0042】実際上この細線判定部71は、多値画像の
各画素毎に、それが縦方向の線幅が間引き率以下の細線
に属するのか、横方向の線幅が間引き率以下の細線に属
するのかを調べ、少なくともいずれかの方向の線幅が間
引き率以下の場合については、同画素を細線に属する画
素と判定する。なお各画素の方向毎の線幅を調べる順
は、ここで示したような縦方向及び横方向の順に代え
て、横方向及び縦方向の順でも良い。
In practice, the thin line determination section 71 determines whether, for each pixel of the multi-valued image, it belongs to a thin line whose vertical line width is less than or equal to the thinning rate, or whose horizontal line width is less than or equal to the thinning rate. If the line width in at least one of the directions is equal to or smaller than the thinning rate, it is determined that the pixel belongs to a thin line. Note that the order of checking the line width of each pixel in each direction may be the order of the horizontal direction and the vertical direction instead of the order of the vertical direction and the horizontal direction shown here.

【0043】また適応的間引き処理部70Bは、間引き
を行う際に細線判定部71で細線に属すると判定された
画素が間引きの最小単位に含まれる場合については、各
間引きの最小単位毎に、線分を表わす画素値に最も近い
画素値から順にM画素を残すような適応的な間引き処理
を行う。例えば、間引き率M:Nの時は、隣接するN画
素が間引きの最小単位であり、線分を表わす画素値が
「0」、背景の画素値が「 255」の場合は、画素値が最
小のものから順にM個を残す。
In addition, the adaptive thinning-out processing unit 70B, in the case where the pixels determined to belong to the thin line by the thin line determining unit 71 when performing the thinning-out are included in the minimum unit of thinning-out, for each minimum unit of thinning-out, Adaptive thinning processing is performed such that M pixels are left in order from the pixel value closest to the pixel value representing the line segment. For example, when the thinning rate is M: N, the adjacent N pixels are the minimum unit of thinning, and when the pixel value representing the line segment is “0” and the background pixel value is “255”, the pixel value is the minimum. Leave M pieces in order from the one.

【0044】ここで、実施例1に示すように2次元フィ
ルタで2値画像の多値化処理を行う場合と、実施例2に
示すように間引き処理前に1次元フィルタを縦及び横方
向に施して多値化を行う場合については、間引きの最小
単位(間引き率M:N)は2次元の正方ブロックN×N
画素であり、2次元的に適応的間引き処理を行う。一方
実施例3に示すように1次元フィルタを縦又は横方向に
施す毎に間引きを行う場合では、間引きの最小単位(間
引き率M:N)は1次元の隣接するN画素であり、1次
元的に適応的間引き処理を行う。
Here, as shown in the first embodiment, the case where the binary image is subjected to the multi-valued processing by the two-dimensional filter, and as shown in the second embodiment, the one-dimensional filter is moved in the vertical and horizontal directions before the thinning processing. In the case of carrying out multi-value quantization by applying it, the minimum unit of thinning (thinning ratio M: N) is a two-dimensional square block N × N.
It is a pixel and performs adaptive thinning processing two-dimensionally. On the other hand, when thinning is performed every time the one-dimensional filter is applied in the vertical or horizontal direction as shown in the third embodiment, the minimum unit of thinning (thinning ratio M: N) is one-dimensional adjacent N pixels and one-dimensional Adaptively thinning out.

【0045】なお実際上図10(A)に、間引き率に一
致する間隔で周期的に位置する画素を間引く方法を示
し、図10(B)に、各間引きの単位毎に間引き方法を
適応的に変えて間引く方法を示す。図中、90A、90
Bは間引きの単位の1例を示し、90Cは周期的な間引
き処理により保存される画素を示し、90Dは適応的間
引き処理により保存される画素を示す。
Actually, FIG. 10A shows a method of thinning out pixels which are periodically positioned at intervals corresponding to the thinning rate, and FIG. 10B shows an adaptive thinning method for each thinning unit. I will show you how to change to. In the figure, 90A, 90
B shows an example of a unit of thinning, 90C shows a pixel saved by the periodic thinning process, and 90D shows a pixel saved by the adaptive thinning process.

【0046】また図11に細線判定部71が実行する細
線判定処理手順を示し、図12に適応的間引き処理部が
実行する適応的間引き処理手順を示す。すなわち細線判
定処理手順(図11)ではステップST0から入ってス
テップST1において、線分に属する画素か否かを判断
し、肯定結果を得るとステップST2に移って当該画素
を含む一での縦方向の線幅を測定し、次のステップST
3において線幅が間引き率以下か否か判断する。ここで
肯定結果を得ると、ステップST4に移って当該画素を
細線に属すると判定し、ステップST7に移る。
FIG. 11 shows a thin line determination processing procedure executed by the thin line determination section 71, and FIG. 12 shows an adaptive thinning processing procedure performed by the adaptive thinning processing section. That is, in the thin line determination processing procedure (FIG. 11), from step ST0, in step ST1, it is determined whether or not the pixel belongs to a line segment, and if a positive result is obtained, the process moves to step ST2 and the vertical direction in which the pixel is included. Line width is measured and the next step ST
In 3, it is judged whether the line width is less than the thinning rate. If an affirmative result is obtained here, the process proceeds to step ST4, it is determined that the pixel belongs to the thin line, and the process proceeds to step ST7.

【0047】これに対してステップST3で否定結果を
得るとステップST5で、当該画素を含む位置での横方
向の線幅を測定し、次のステップST6で線幅は間引き
率以下か否か判断する。ここで肯定結果を得るとステッ
プST4に移って当該画素を細線に属すると判定し、ス
テップST7に移る。また上述した、ステップST1で
否定結果を得た場合と、ステップST6で否定結果を得
た場合も、そのままステップST7に移る。ステップS
T7では、全画素について判定したか否か判断し、否定
結果を得ると上述したステップST1に戻って上述の処
理を繰り返し、逆に肯定結果を得るとステップST8に
移って、当該細線判定処理手順を終了する。
On the other hand, if a negative result is obtained in step ST3, the horizontal line width at the position including the pixel is measured in step ST5, and it is determined in the next step ST6 whether the line width is less than the thinning rate. To do. If a positive result is obtained here, the process proceeds to step ST4, it is determined that the pixel belongs to the thin line, and the process proceeds to step ST7. In addition, when the negative result is obtained in step ST1 and the negative result is obtained in step ST6, the process directly proceeds to step ST7. Step S
At T7, it is determined whether or not all pixels have been determined, and if a negative result is obtained, the process returns to step ST1 described above and the above processes are repeated, and if a positive result is obtained, the process proceeds to step ST8, and the fine line determination processing procedure. To finish.

【0048】また適応的間引き処理手順(図12)で
は、ステップST10より入って、ステップST11に
おいて間引き単位内に細線と判定された画素があるか否
かを判断し、肯定結果を得るとステップST12におい
て、間引き単位内での画素値最小の画素を残し、その他
を間引いてステップST14に移る。また上述のステッ
プST11で否定結果を得ると、ステップST13に移
って通常の間引き処理を行いステップST14に移る。
ステップST14では、全間引き単位終了か否か判断
し、否定結果を得るとステップST11に戻って上述し
た処理を繰り返し、肯定結果を得るとステップST15
に移って当該適応的間引き処理手順を終了する。
Further, in the adaptive thinning-out procedure (FIG. 12), it is entered from step ST10, it is judged in step ST11 whether or not there is a pixel determined to be a thin line in the thinning-out unit, and if a positive result is obtained, step ST12. In, the pixel having the smallest pixel value in the thinning unit is left, the other pixels are thinned, and the process proceeds to step ST14. When a negative result is obtained in step ST11 described above, the process proceeds to step ST13 to perform normal thinning processing, and then proceeds to step ST14.
In step ST14, it is determined whether or not all the thinning-out units have ended. If a negative result is obtained, the process returns to step ST11 to repeat the above-described processing, and if a positive result is obtained, step ST15.
Then, the adaptive thinning-out processing procedure ends.

【0049】このような構成によれば、上述した実施例
1〜6と同様の効果を得ることができると共に、画像に
間引き処理を施す際に、2値画像中で細線と判定された
画素位置での情報欠落をおさえるために、適応的間引き
処理を行うようにしたことにより、細線部分の欠落を有
効に防ぎ、画質を格段的に向上することができる。
According to such a configuration, the same effects as those of the above-described first to sixth embodiments can be obtained, and when the thinning process is performed on the image, the pixel position determined to be a thin line in the binary image is obtained. Since adaptive thinning-out processing is performed in order to suppress the information loss in the above, the loss of the thin line portion can be effectively prevented and the image quality can be significantly improved.

【0050】実施例8.図1との対応部分に同一符号を
付けて示す図13は、この発明による2値画像多値化縮
小処理装置の実施例8の構成を示す。上述した実施例1
〜7は、フィルタ処理及び間引き処理(適応的間引き処
理)によって2値画像の多値化縮小処理を行う場合につ
いて述べたが、一種のぼかしの操作である多値化処理
(ローパスフィルタ処理)の過程で、縮小後の画像中で
必ずしもぼけの発生が望ましくない部分にまでぼけが発
生してしまうことがあり、画像が全体的にぼやけた感じ
になる問題を解決するものではなかった。
Example 8. FIG. 13 in which parts corresponding to those in FIG. 1 are assigned the same reference numerals shows the configuration of an embodiment 8 of the binary image multi-value reduction processing apparatus according to the present invention. Example 1 described above
7 to 7 have described the case where the multi-value reduction processing of the binary image is performed by the filter processing and the thinning processing (adaptive thinning processing), the multi-value processing (low-pass filter processing) which is a kind of blurring operation is described. In the process, blurring may occur even in a portion where the occurrence of blurring is not necessarily desired in the reduced image, and this does not solve the problem that the image feels totally blurred.

【0051】これに対して実施例8では、微分フィルタ
処理部83で、実施例1〜7のいずれかによって多値化
縮小処理された多値化縮小処理結果(画像)81に対し
て微分フィルタを施し、強調パラメータ設定部84で画
像を強調する度合を決定し、乗算回路85で微分フィル
タ処理83で得られた微分画像と、強調パラメータ設定
部84で決定された値を乗算し、加算回路86で、乗算
器85の乗算結果と多値化縮小処理結果(画像)81を
加算することにより、多値化縮小された画像に残ってい
る過度のぼけを解消する。
On the other hand, in the eighth embodiment, the differential filter processing unit 83 performs a differential filter on the multi-value reduction processing result (image) 81 which has been subjected to the multi-value reduction processing according to any of the first to seventh embodiments. Then, the emphasis parameter setting unit 84 determines the degree to which the image is emphasized, and the multiplication circuit 85 multiplies the differential image obtained by the differential filter processing 83 by the value determined by the emphasis parameter setting unit 84 to add the addition circuit. At 86, the multiplication result of the multiplier 85 and the multi-value reduction processing result (image) 81 are added to eliminate excessive blurring remaining in the multi-value reduced image.

【0052】このような構成によれば、フィルタ処理、
適応的間引き処理により得られた多値化縮小処理画像に
微分フィルタ処理による強調処理を施し、ぼけ部分の低
減を行うため、より視認性のよい多値化縮小処理を実現
できる効果がある。
According to such a configuration, the filtering process,
Since the multi-value reduction processing image obtained by the adaptive thinning processing is subjected to the emphasis processing by the differential filter processing to reduce the blur portion, there is an effect that the multi-value reduction processing with higher visibility can be realized.

【0053】[0053]

【発明の効果】上記したようにこの発明によれば、入力
される2値画像を多値画像のデータ形式に変換し、この
多値画像を縮小率N/M(N、Mは正の整数)でなる間
引き率M:Nに応じて決定されたローパスフィルタでフ
ィルタ処理して中間階調を与えて多値低域画像を生成
し、所望の間引き率M:Nに応じて間引いて多値縮小画
像を生成することにより、2値画像を多値化した後、間
引きによって多値縮小画像を得る際に、視認性を格段的
に向上し得る2値画像多値化縮小処理装置を実現でき
る。
As described above, according to the present invention, an input binary image is converted into a multivalued image data format, and this multivalued image is reduced at a reduction ratio N / M (N and M are positive integers). ), A low-pass filter determined according to the thinning rate M: N is applied to generate a multivalued low-frequency image by giving an intermediate gradation, and thinning is performed according to a desired thinning rate M: N to obtain a multivalued image. By generating a reduced image, it is possible to realize a binary image multi-value reduction processing apparatus that can significantly improve the visibility when a multi-value reduced image is obtained by thinning after binarizing a binary image. .

【0054】また、間引き率M:Nが比率ak :1
(N、M、a、k は正の整数)の場合、多値画像を間引
き率a:1に応じて決定されたローパスフィルタでフィ
ルタ処理すると共に、そのフィルタ処理毎に間引き率
a:1で間引きする処理を再帰的にk回繰り返し、最終
的に間引き率ak :1の多値縮小画像を出力することに
より、間引き率が比率ak :1の場合には、簡易な構成
かつ高速に処理して、2値画像を多値化して多値縮小画
像を得る際の視認性を格段的に向上し得る2値画像多値
化縮小処理装置を実現できる。
The thinning ratio M: N is the ratio a k : 1.
In the case of (N, M, a, and k are positive integers), the multi-valued image is filtered by the low-pass filter determined according to the thinning rate a: 1, and the thinning rate a: 1 is set for each filtering process. the process of thinning recursively repeated k times, finally thinning index a k: by outputting a multi-valued reduced image, the thinning ratio is the ratio a k: 1, then a simple structure and fast It is possible to realize a binary image multi-value reduction processing apparatus that can significantly improve the visibility when processing a binary image to obtain a multi-value reduced image.

【0055】また、間引き率M:Nが比率ak :1でな
い場合、まず多値画像を間引き率bk’:1(bk’<a
k )(M、N、a、k、b、k’は正の整数)でフィル
タ処理すると共に間引きする処理を再帰的にk’回繰り
返し、その間引き結果として得られる多値縮小画像に対
して、引き続き間引き処理として間引き率M:Nbk’
で間引き処理を施し、最終的に間引き率M:Nに間引い
た多値縮小画像を出力することにより、間引き率が比率
k :1でない場合でも、簡易な構成かつ高速に処理し
て、2値画像を多値化して多値縮小画像を得る際の視認
性を格段的に向上し得る2値画像多値化縮小処理装置を
実現できる。
If the thinning ratio M: N is not the ratio a k : 1, the multi-valued image is first thinned out by the ratio b k ′ : 1 (b k ′ <a.
k ) (M, N, a, k, b, k ′ are positive integers) and the process of thinning is recursively repeated k ′ times, and for the multi-value reduced image obtained as the thinning result , As a thinning process, the thinning rate M: Nb k '
The thinning-out processing is performed in step S3, and finally the multi-value reduced image thinned out to the thinning-out ratio M: N is output, so that even if the thinning-out ratio is not the ratio a k : It is possible to realize a binary image multi-value reduction processing apparatus that can significantly improve the visibility when multi-valued a value image to obtain a multi-value reduced image.

【0056】また、さらに間引き率M:Nが比率ak
1でない場合、まず多値画像を間引き率bk’:1(b
k’<ak )(M、N、a、k、b、k’は正の整数)
でフィルタ処理すると共に間引きする処理を再帰的に
k’回繰り返し、その間引き結果として得られる多値縮
小画像に対して、引き続き最近傍法又は投影法により間
引き率M:Nbk’で間引き処理を施し、最終的に間引
き率M:Nに間引いた多値縮小画像を出力することによ
り、間引き率が比率ak :1でない場合でも、簡易な構
成かつ高速に処理して、2値画像を多値化して多値縮小
画像を得る際の視認性を格段的に向上し得る。
Further, the thinning rate M: N is the ratio a k :
When it is not 1, first, the multi-valued image is thinned out at a bk ' : 1 (b
k ' <a k ) (M, N, a, k, b, k'are positive integers)
The filtering process and the thinning process are recursively repeated k ′ times, and the thinning-out result obtained by the thinning process is continuously thinned by the nearest neighbor method or the projection method at a thinning rate M: Nb k ′. By outputting the multi-value reduced image which has been thinned out and finally thinned to the thinning ratio M: N, even if the thinning ratio is not the ratio a k : 1, it is processed with a simple structure and at high speed to obtain a large number of binary images. The visibility when binarizing to obtain a multi-value reduced image can be significantly improved.

【0057】また、入力される2値画像中で間引き率以
下の細線に対する箇所を判定し、当該細線と判定された
箇所にローパスフィルタ処理を施した結果を間引く場合
に、間引きの方法を局所的に適応的に変更することによ
り、2値画像中に間引き率以下の細線部分の情報が存在
する場合にも、この細線部分の情報が欠落するのを有効
に防止でき、2値画像を多値化して多値縮小画像を得る
際の視認性を格段的に向上し得る2値画像多値化縮小処
理装置を実現できる。
Further, in the case where a portion corresponding to a thin line having a thinning rate or less is determined in the input binary image and the result obtained by performing the low-pass filter processing on the portion determined to be the thin line is thinned out, the thinning method is locally performed. By adaptively changing the information, even when the information of the thin line portion below the thinning rate exists in the binary image, it is possible to effectively prevent the information of the thin line portion from being lost. It is possible to realize a binary image multi-value reduction processing apparatus that can remarkably improve the visibility when converted into a multi-value reduced image.

【0058】また、さらに細線を判定する際に、入力さ
れる2値画像の各画素が、縦、横各方向について間引き
率以下の幅を持つ線分に属しているかどうかを判定し、
いずれかの方向の線幅が間引き率以下の場合は、該当す
る画素を線分部分と判定することにより、2値画像中の
間引き率以下の細線部分を確実に判定でき、2値画像を
多値化して多値縮小画像を得る際の視認性を格段的に向
上し得る2値画像多値化縮小処理装置を実現できる。
Further, when further determining the thin line, it is determined whether or not each pixel of the input binary image belongs to a line segment having a width equal to or less than the thinning rate in each of the vertical and horizontal directions.
If the line width in either direction is less than or equal to the thinning rate, it is possible to reliably determine the thin line portion in the binary image that is less than or equal to the thinning rate by determining the corresponding pixel as the line segment portion. It is possible to realize a binary image multi-value reduction processing apparatus capable of significantly improving the visibility when binarizing to obtain a multi-value reduced image.

【0059】また、さらに間引き率M:Nに間引く場
合、細線部分と判定されなかった画素について、間引き
率M:Nに一致する間隔で周期的に位置する画素のみを
残し、細線部分と判定された画素を間引きの単位に含ん
でいる箇所は間引きの単位内のM画素のうち文字部分の
輝度レベルに近い画素値をもつものから順にN画素を残
し、その他の(M−N)画素を間引くことにより、一段
と確実に細線情報を反映して適応的に間引くことができ
る2値画像多値化縮小処理装置を実現できる。
Further, in the case of thinning out to a thinning rate M: N, with respect to pixels which are not determined to be a thin line portion, only pixels which are periodically positioned at intervals matching the thinning rate M: N are left and it is determined to be a thin line portion. In the place where the thinning-out unit is included in the thinning-out unit, N pixels are left in order from the M pixels in the thinning-out unit having a pixel value close to the luminance level of the character portion, and the other (M−N) pixels are thinned out. As a result, it is possible to realize a binary image multi-value reduction processing apparatus capable of more accurately reflecting thin line information and adaptively thinning.

【0060】また、さらに多値化処理手段及び間引き処
理手段により得られた多値縮小画像に対して、微分フィ
ルタ処理を施した出力でなる画像を定数倍して、多値化
縮小画像に加算し、同画像を強調することにより、多値
化縮小処理の過程で画像中に混入する過度なぼけ部分を
強調し削減し、2値画像を多値化して多値縮小画像を得
る際の視認性を格段的に向上し得る2値画像多値化縮小
処理装置を実現できる。
Further, the multi-value reduced image obtained by the multi-value quantization processing means and the thinning-out processing means is multiplied by the constant image of the output obtained by the differential filter processing and added to the multi-value reduced thumbnail image. However, by emphasizing the same image, the excessive blur part mixed in the image in the process of the multi-value reduction processing is emphasized and reduced, and the visibility when the multi-valued binary image is obtained to obtain the multi-value reduced image. It is possible to realize a binary image multi-value reduction processing apparatus capable of significantly improving the property.

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

【図1】 この発明による2値画像多値化縮小処理装置
の実施例1の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a first embodiment of a binary image multi-value reduction processing apparatus according to the present invention.

【図2】 図1の2値画像多値化縮小処理装置のフィル
タ決定部及び多値化処理部の構成の説明に供する略線図
である。
FIG. 2 is a schematic diagram used for explaining a configuration of a filter determination unit and a multi-value conversion processing unit of the binary image multi-value reduction processing apparatus of FIG.

【図3】 図1の2値画像多値化縮小処理装置の動作の
説明に供する略線図である。
FIG. 3 is a schematic diagram for explaining an operation of the binary image multi-value reduction processing apparatus of FIG.

【図4】 この発明による2値画像多値化縮小処理装置
の実施例2の構成を示すブロック図である。
FIG. 4 is a block diagram showing a configuration of a second embodiment of a binary image multi-value reduction processing apparatus according to the present invention.

【図5】 この発明による2値画像多値化縮小処理装置
の実施例3の構成を示すブロック図である。
FIG. 5 is a block diagram showing a configuration of a binary image multi-value reduction processing apparatus according to a third embodiment of the present invention.

【図6】 この発明による2値画像多値化縮小処理装置
の実施例4の構成を示すブロック図である。
FIG. 6 is a block diagram showing a configuration of a fourth embodiment of a binary image multi-value reduction processing apparatus according to the present invention.

【図7】 この発明による2値画像多値化縮小処理装置
の実施例5の構成を示すブロック図である。
FIG. 7 is a block diagram showing a configuration of a binary image multi-value reduction processing apparatus according to a fifth embodiment of the present invention.

【図8】 この発明による2値画像多値化縮小処理装置
の実施例6の構成を示すブロック図である。
FIG. 8 is a block diagram showing the configuration of a sixth embodiment of a binary image multi-value reduction processing apparatus according to the present invention.

【図9】 この発明による2値画像多値化縮小処理装置
の実施例7の構成を示すブロック図である。
FIG. 9 is a block diagram showing a configuration of a seventh embodiment of a binary image multi-value reduction processing apparatus according to the present invention.

【図10】 図9の2値画像多値化縮小装置における適
応的間引き処理の動作の説明に供する略線図である。
10 is a schematic diagram for explaining the operation of the adaptive thinning-out process in the binary image multi-value reduction device of FIG.

【図11】 図9の2値画像多値化縮小装置の細線判定
部の動作を示すフローチャートである。
FIG. 11 is a flowchart showing an operation of a thin line determination unit of the binary image multi-value reduction device of FIG.

【図12】 図9の2値画像多値化縮小装置の適応的間
引き処理部の動作を示すフローチャートである。
FIG. 12 is a flowchart showing the operation of the adaptive thinning processing unit of the binary image multi-value reduction device of FIG.

【図13】 この発明による2値画像多値化縮小処理装
置の実施例8であるを示すブロック図である。
FIG. 13 is a block diagram showing Embodiment 8 of the binary image multi-value reduction processing apparatus according to the present invention.

【図14】 従来の2値画像多値化縮小処理装置として
縮小文字表示装置の構成を示すブロック図である。
FIG. 14 is a block diagram showing a configuration of a reduced character display device as a conventional binary image multi-value reduction processing device.

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

1 文字発生回路 2 フィルタ回路 3 表示装置 11 2値画像信号入力部 12 データ形式変換部 13 間引き率入力部 14、21、42、52A、52B、72 フィルタ決
定部 15、20、70A 多値化処理部 16、26、60B 間引き処理部 17 画像表示部 20A、30A1 縦方向1次元フィルタ処理部 20B、30B1 横方向1次元フィルタ処理部 30、43、53、70 多値化縮小処理部 30A 縦方向多値化処理部 30B 横方向多値化処理部 30A2 縦方向1次元間引き処理部 30B2 横方向1次元間引き処理部 40 多値化縮小処理選択部 41 間引き率判定部 50 ウェーブレット型多値化縮小処理部 51 間引き率分割制御部 60 追加縮小処理部 60A 最近傍法or投影法 70B 適応的間引き処理部 71 細線判定部 81 多値化縮小処理結果 82 画像強調処理部 83 微分フィルタ処理 84 強調パラメータ設定部 85 乗算器 86 加算器
1 Character generation circuit 2 Filter circuit 3 Display device 11 Binary image signal input unit 12 Data format conversion unit 13 Decimation rate input unit 14, 21, 42, 52A, 52B, 72 Filter determination unit 15, 20, 70A Multi-valued processing Parts 16, 26, 60B Thinning processing unit 17 Image display units 20A, 30A1 Vertical direction one-dimensional filter processing units 20B, 30B1 Horizontal direction one-dimensional filter processing units 30, 43, 53, 70 Multi-value reduction processing unit 30A Vertical direction multi Quantization processing unit 30B Horizontal-direction multi-value processing unit 30A2 Vertical-direction one-dimensional thinning processing unit 30B2 Horizontal-direction one-dimensional thinning processing unit 40 Multi-value reduction processing selection unit 41 Thinning rate determination unit 50 Wavelet-type multi-value reduction processing unit 51 thinning rate division control unit 60 additional reduction processing unit 60A nearest neighbor method or projection method 70B adaptive thinning processing unit 71 thin line determination unit 81 multi-value reduction Processing result 82 Image enhancement processing unit 83 Differential filter processing 84 Enhancement parameter setting unit 85 Multiplier 86 Adder

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI G09G 5/36 520J 520P H04N 1/40 103B (56)参考文献 特開 平5−328106(JP,A) 特開 平5−40826(JP,A) 特開 平5−89238(JP,A) 特開 平7−95394(JP,A) 特開 平2−268073(JP,A) 特開 平3−34677(JP,A) 特開 平8−191387(JP,A) 特開 平3−259193(JP,A) (58)調査した分野(Int.Cl.7,DB名) G09G 5/00 G09G 5/36 G09G 5/391 H04N 1/393 H04N 1/40 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 7 Identification code FI G09G 5/36 520J 520P H04N 1/40 103B (56) Reference JP-A-5-328106 (JP, A) JP-A-5- 40826 (JP, A) JP-A-5-89238 (JP, A) JP-A-7-95394 (JP, A) JP-A-2-268073 (JP, A) JP-A-3-34677 (JP, A) JP-A-8-191387 (JP, A) JP-A-3-259193 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) G09G 5/00 G09G 5/36 G09G 5/391 H04N 1/393 H04N 1/40

Claims (10)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 入力された2値画像を多値画像のデータ
形式に変換するデータ形式変換手段と、縮小率N/M
(N、Mは正の整数)でなる所望の間引き率M:Nに応
じて、上記多値画像を帯域制限するローパスフィルタ
タップ長とフィルタ係数を決定するフィルタ決定手段
と、上記データ形式変換手段より得られる上記多値画像
を上記フィルタ決定手段で決定された上記ローパスフィ
ルタでフィルタ処理して低域信号成分を取り出し、上記
多値画像に中間階調を与えて多値低域画像を生成する多
値化処理手段と、当該多値化処理手段から得られる上記
多値低域画像を上記所望の間引き率M:Nに応じて間引
いて多値縮小画像を生成する間引き処理手段とを備え、
上記多値化処理手段が、上記データ形式変換手段より得
られる上記多値画像に対して、それぞれ、縦方向および
横方向にフィルタ処理を行う縦方向1次元ローパスフィ
ルタ処理部と横方向1次元ローパスフィルタ処理部を備
えるとともに、上記フィルタ決定手段が、間引き率M:
Nが大きくなるほど上記縦方向1次元ローパスフィルタ
処理部および上記横方向1次元ローパスフィルタ処理部
の1次元ローパスフィルタのタップ長を長くするもので
あることを特徴とする2値画像多値化縮小処理装置。
1. A data format conversion means for converting an input binary image into a data format of a multivalued image, and a reduction rate N / M.
(N, M is a positive integer) the desired decimation factor comprised in M: according to N, the low-pass filter for band-limiting the multi-value image
Filter determining means for determining the tap length and the filter coefficient, and the multi-valued image obtained by the data format converting means is filtered by the low-pass filter determined by the filter determining means to extract a low-pass signal component, The multi-valued low-frequency image obtained by the multi-valued low-frequency image and the multi-valued low-frequency image by giving an intermediate gradation to the multi-valued image and the multi-valued low-frequency image is set to the desired thinning rate M: N. Thinning processing means for thinning according to the generation of a multi-value reduced image,
The multi-value processing means is obtained from the data format conversion means.
To the multi-valued image that is
Vertical one-dimensional low-pass filter that filters horizontally
Filter processing unit and horizontal one-dimensional low-pass filter processing unit
At the same time, the filter determination means causes the thinning rate M:
As N becomes larger, the above vertical one-dimensional low-pass filter
Processing unit and the horizontal one-dimensional low-pass filter processing unit
To increase the tap length of the one-dimensional low-pass filter of
A binary image multi-value reduction processing apparatus characterized by being present.
【請求項2】 入力された2値画像を多値画像のデータ2. The input binary image is converted into multi-valued image data.
形式に変換するデータ形式変換手段と、縮小率N/MData format conversion means for converting to format and reduction rate N / M
(N、Mは正の整数)でなる所望の間引き率M:Nに応(N and M are positive integers) according to the desired thinning rate M: N.
じて、上記多値画像を帯域制限するローパスフィルタのThe low-pass filter that limits the band of the multi-valued image.
タップ長とフィルタ係数を決定するフィルタ決定手段Filter determining means for determining tap length and filter coefficient
と、上記データ形式変換手段より得られる上記多値画像And the multivalued image obtained by the data format conversion means
を上記フィルタ決定手段で決定された上記ローパスフィIs the low-pass filter determined by the filter determining means.
ルタでフィルタ処理して低域信号成分を取り出し、上記Filter to extract the low-frequency signal component,
多値画像に中間階調を与えて多値低域画像を生成するとWhen a multi-valued low-frequency image is generated by giving an intermediate gradation to a multi-valued image
ともに、上記多値低域画像を上記所望の間引き率M:NIn both cases, the multi-valued low-frequency image is subjected to the desired thinning rate M: N.
に応じて間引いて多値縮小画像を生成する多値化縮小処Multi-value reduction processing that thins out according to
理手段とを備え、上記多値化縮小処理手段が、上記デーThe multi-value reduction processing means is provided with
タ形式変換手段より得られる上記多値画像に対して、縦The multi-valued image obtained by the
方向にフィルタ処理を行う縦方向1次元ローパスフィルVertical one-dimensional low-pass fill that filters in the direction
タ処理部と上記縦方向1次元ローパスフィルタ処理部かData processing unit and the above vertical direction one-dimensional low-pass filter processing unit
らの画像データに対して縦方向の間引き処理を行う縦方Vertical processing to perform vertical thinning processing on these image data
向1次元間引き処理部とを備えた縦方向多値化処理部Vertical multi-valued processing unit including unidirectional one-dimensional thinning processing unit
と、横方向にフィルタ処理を行う横方向1次元ローパスAnd a horizontal one-dimensional low-pass that performs filtering in the horizontal direction
フィルタ処理部と上記横方向1次元ローパFilter processing unit and the horizontal one-dimensional roper スフィルタ処Sfilter processing
理部からの画像データに対して横方向の間引き処理を行Performs horizontal decimation processing on image data from the science department.
う横方向1次元間引き処理部とを備えた横方向多値化処A horizontal direction multi-value processing unit including a horizontal direction one-dimensional thinning processing unit
理部を備えるとともに、上記フィルタ決定手段が、間引The filter determining means is provided with
き率M:Nが大きくなるほど上記縦方向1次元ローパスAs the ratio M: N increases, the above-mentioned one-dimensional vertical low-pass
フィルタ処理部および上記横方向1次元ローパスフィルFilter processing unit and the above horizontal one-dimensional low-pass fill
タ処理部の1次元ローパスフィルタのタップ長を長くすIncrease the tap length of the one-dimensional low-pass filter in the data processing unit
るものであることを特徴とする2値画像多値化縮小処理Binary image multi-value reduction processing characterized by
装置。apparatus.
【請求項3】 上記1次元ローパスフィルタが、ガウシ3. The one-dimensional low-pass filter is a Gaussian filter.
アンフィルタであり、上記フィルタ決定手段は、2:It is an unfilter, and the filter determination means is 2:
1、4:1、8:1の間引き率に対応して、それぞれ、Corresponding to the decimation rate of 1, 4: 1, 8: 1 respectively,
上記1次元ローパスフィルタのタップ長を3、5、9、The tap length of the one-dimensional low-pass filter is set to 3, 5, 9,
フィルタ係数を(1.0,2.0,1.0)、(1.The filter coefficients are (1.0, 2.0, 1.0), (1.
0,1.5,2.0,1.5,1.0)、(1.0,0, 1.5, 2.0, 1.5, 1.0), (1.0,
1.5,2.0,2.5,3.0,2.5,2.0,1.5, 2.0, 2.5, 3.0, 2.5, 2.0,
1.5,1.0)とすることを特徴とする請求項1また1.5, 1.0).
は請求項2に記載の2値画像多値化縮小処理装置。Is a binary image multi-value reduction processing apparatus according to claim 2.
【請求項4】 入力された2値画像を多値画像のデータ4. The input binary image is converted into multi-valued image data.
形式に変換するデータ形式変換手段と、縮小率N/MData format conversion means for converting to format and reduction rate N / M
(N、Mは正の整数)でなる所望の間引き率M:Nが比(N and M are positive integers) desired thinning rate M: N
率aRate a kk :1(a、kは正の整数)か否かを判定する間引 Thinning out to determine whether or not: 1 (a and k are positive integers)
き率判定手段と、上記間引き率判定手段の判定結果としAnd the determination result of the thinning rate determining means.
て上記間引き率M:Nが比率aThe above thinning ratio M: N is the ratio a kk :1の場合、上記多値 : 1 in case of above multi-value
画像を間引き率a:1で間引くための帯域制限用のローA band-limiting low for thinning out images at a thinning rate a: 1
パスフィルタを決定するフィルタ決定手段と、上記フィFilter determining means for determining a pass filter, and
ルタ決定手段で決定された上記ローパスフィルタによるThe low-pass filter determined by the filter determination means
フィルタ処理を上記多値画像に施す多値化処理と当該フMulti-valued processing for applying the filter processing to the multi-valued image
ィルタ処理する毎に上記間引き率a:1で間引きを行うEvery time the filtering process is performed, the thinning rate a: 1 is used.
間引き処理とをそれぞれk回繰り返し、最終的に間引きRepeat thinning processing and k times each, and finally thin
率aRate a kk :1に間引いた多値縮小画像を出力する多値化縮Multi-value reduction that outputs a multi-value reduced image thinned to 1
小処理手段とを備えることを特徴とする2値画像多値化Binary image multi-value conversion characterized by comprising small processing means
縮小処理装置。Reduction processing device.
【請求項5】 上記間引き率M:Nを、間引き率5. The thinning rate M: N is defined as the thinning rate.
b k’k ’ :1(b: 1 (b k’k ’ <a<A kk )と間引き率M:Nb) And thinning rate M: Nb k’k ’ に分割Split into
する間引き率分割制御手段を備え、上記間引き率判定手The thinning rate dividing control means
段の判定結果として、上記間引き率M:Nが比率aAs the determination result of the step, the thinning ratio M: N is the ratio a. kk  :
1でない場合に、上記多値化縮小処理手段が、まず、上If it is not 1, the multi-value reduction processing means first
記多値画像を間引き率bMulti-valued image is thinned out b k’k ’ :1(b: 1 (b k’k ’ <a<A kk )(b、 ) (B,
k’は正の整数)で間引いた後、当該間引き結果としてk'is a positive integer)
得られる多値縮小画像に対して、引き続き間引き率M:For the obtained multi-value reduced image, the thinning rate M:
NbNb k’k ’ で間引き処理を施し、最終The thinning process is performed with 的に間引き率M:NThinning rate M: N
に間引いた多値縮小画像を出力することを特徴とする請A multi-value reduced image that has been thinned out
求項4に記載の2値画像多値化縮小処理装置。The binary image multi-value reduction processing apparatus according to claim 4.
【請求項6】 上記間引き率M:Nを、間引き率6. The thinning rate M: N is the thinning rate
b k’k ’ :1(b: 1 (b k’k ’ <a<A kk )と間引き率M:Nb) And thinning rate M: Nb k’k ’ に分割Split into
する間引き率分割制御手段を備え、上記間引き率判定手The thinning rate dividing control means
段の判定結果として、上記間引き率M:Nが比率aAs the determination result of the step, the thinning ratio M: N is the ratio a. kk  :
1でない場合に、上記多値化縮小処理手段が、まず、上If it is not 1, the multi-value reduction processing means first
記多値画像を間引き率bMulti-valued image is thinned out b k’k ’ :1(b: 1 (b k’k ’ <a<A kk )(b、 ) (B,
k’は正の整数)で間引いた後、当該間引き結果としてk'is a positive integer)
得られる多値縮小画像に対して、引き続き最近傍法又はFor the obtained multi-value reduced image, the nearest neighbor method or
投影法により間引き率M:NbThinning rate M: Nb by projection method k’k ’ で間引き処理を施Thinned out with
し、最終的に間引き率M:Nに間引いた多値縮小画像をFinally, the multi-value reduced image thinned to the thinning ratio M: N
出力することを特徴とする請求項4に記載の2値画像多5. The binary image multivalued according to claim 4, which is output.
値化縮小処理装置。Quantization / reduction processing device.
【請求項7】 上記2値画像中の間引き率以下の細線の7. A thin line having a thinning rate equal to or less than a thinning rate in the binary image.
箇所を判定する細線判定手段と、上記細線判定手段によThe thin line determination means for determining the location and the thin line determination means
って細線と判定された箇所に対してローパスフィルタ処The low-pass filter is applied to the parts that are determined to be thin lines.
理を施した結果を間引く場合に、間引きの方法を局所的When thinning the result of applying
に適応的に変更する適応的間引き処理手段とを備えるこAnd adaptive thinning processing means for adaptively changing
とを特徴とする請求項1ないし請求項4のいずれかに記5. The method according to any one of claims 1 to 4, characterized in that
載の2値画像多値化縮小処理装置。Binary image multi-value reduction processing device.
【請求項8】 上記細線判定手段は、上記2値画像の各8. The thin line determination means is provided for each of the binary images.
画素が、縦、横各方向について間引き率以下の幅を持つPixels have a width equal to or less than the thinning rate in each of the vertical and horizontal directions
線分に属しているかどうかを判定し、いずれかの方向のDetermine if it belongs to a line segment,
線幅が間引き率以下の場合は、該当する画素を細線部分If the line width is less than the thinning rate, select the corresponding pixel
と判定することを特徴とする請求項7に記載の2値画像The binary image according to claim 7, wherein
多値化縮小処理装置。Multi-value reduction processor.
【請求項9】 上記適応的間引き処理手段は間引き率9. The adaptive thinning processing means is a thinning rate.
M:Nに間引く場合、細線部分と判定されなかった画素Pixels that are not determined as thin line parts when thinning out to M: N
について、間引き率M:Nに一致する間隔で周期的に位About the thinning rate M: N, periodically.
置する画素のみを残すように間引き処理を行い、細線部The thinning process is performed so that only the pixels to be placed remain.
分と判定された画素を間引きの単位に含んでいる箇所にTo the part that includes the pixels determined to be minutes in the thinning unit
ついては、上記間引きの単位内のN画素のうち細線部分As for the thin line portion of N pixels in the above thinning unit
の輝度レベルに近い画素値をもつものから順にM画素をM pixels in order from a pixel value close to the brightness level of
残し、その他の(N−M)画素を間引くことを特徴とすThe remaining (N−M) pixels are thinned out.
る請求項7に記載の2値画像多値化縮小処理装置。8. The binary image multi-value reduction processing device according to claim 7.
【請求項10】 上記多値化縮小処理手段により得られ10. Obtained by the multi-value reduction processing means
た画像に対して微分フィルタ処理を施す微分フィルタ処Differential filtering to apply differential filtering to the captured image
理部と、上記微分フィルタ処理部より出力された画像をAnd the image output from the differential filter processing unit
定数倍して多値化縮小処理により得られた画像に加算Multiply by a constant and add to the image obtained by multi-value reduction processing
し、同画像を強The same image 調する画像の強調処理部とを備えたことAnd a processing unit for enhancing an image to be adjusted
を特徴とする請求項1ないし請求項4のいずれかに記載5. The method according to any one of claims 1 to 4, characterized in that
の2値画像多値化縮小処理装置。Binary image multi-value reduction processing device.
JP19323795A 1995-07-28 1995-07-28 Binary image multilevel reduction processing device Expired - Fee Related JP3484831B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19323795A JP3484831B2 (en) 1995-07-28 1995-07-28 Binary image multilevel reduction processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19323795A JP3484831B2 (en) 1995-07-28 1995-07-28 Binary image multilevel reduction processing device

Publications (2)

Publication Number Publication Date
JPH0944128A JPH0944128A (en) 1997-02-14
JP3484831B2 true JP3484831B2 (en) 2004-01-06

Family

ID=16304618

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19323795A Expired - Fee Related JP3484831B2 (en) 1995-07-28 1995-07-28 Binary image multilevel reduction processing device

Country Status (1)

Country Link
JP (1) JP3484831B2 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4918926B2 (en) * 2006-03-02 2012-04-18 日本電気株式会社 Image processing apparatus, display apparatus, image processing method, and program
JP2008294606A (en) * 2007-05-23 2008-12-04 Murata Mach Ltd Image processor
US8401329B2 (en) 2007-07-04 2013-03-19 Nec Corporation Image processing device, display device and image processing method, and its program
JP4865771B2 (en) 2008-08-27 2012-02-01 シャープ株式会社 Image processing apparatus, image forming apparatus, image processing method, image processing program, and computer-readable recording medium
JP4763027B2 (en) 2008-08-27 2011-08-31 シャープ株式会社 Image processing apparatus, image forming apparatus, image processing method, image processing program, and computer-readable recording medium
JP4610644B2 (en) 2008-08-27 2011-01-12 シャープ株式会社 Image processing apparatus, image forming apparatus, image processing method, image processing program, and computer-readable recording medium
JP4708460B2 (en) 2008-08-27 2011-06-22 シャープ株式会社 Display control apparatus, image forming apparatus, display device control method, control program, and recording medium
JP4763026B2 (en) 2008-08-27 2011-08-31 シャープ株式会社 Image processing apparatus, image forming apparatus, image processing method, image processing program, and computer-readable recording medium
JP4764938B2 (en) 2009-04-07 2011-09-07 シャープ株式会社 Image processing apparatus, image forming apparatus, image processing apparatus control method, program, and recording medium
JP2013218602A (en) * 2012-04-11 2013-10-24 Hitachi Information & Telecommunication Engineering Ltd Image processing device

Also Published As

Publication number Publication date
JPH0944128A (en) 1997-02-14

Similar Documents

Publication Publication Date Title
JP3143209B2 (en) Image magnification device
US5875268A (en) Image processing with low-resolution to high-resolution conversion
EP1347411B1 (en) Fractal image enlargement
JP3640979B2 (en) Inverse halftoning method using linear filtering and statistical smoothing
US6157749A (en) Image processing apparatus and method, and storing medium
US7149355B2 (en) Image processing apparatus, image processing method, image processing program, and computer-readable record medium storing image processing program
EP1379074B1 (en) Digital descreening of image signals
JP3585703B2 (en) Image processing device
JP3210248B2 (en) Image processing apparatus and method
US20050134734A1 (en) Noise reduction in color digital images using pyramid decomposition
US20070086671A1 (en) Image processing apparatus
US20040264799A1 (en) Method of processing an image to form an image pyramid
JP3484831B2 (en) Binary image multilevel reduction processing device
JPH06105160A (en) Image controller
Foi et al. Inverse halftoning based on the anisotropic LPA-ICI deconvolution
Zhang et al. Image inverse halftoning and descreening: a review
KR101556625B1 (en) Method for interpolating image magnification
RU2310911C1 (en) Method for interpolation of images
JP3751806B2 (en) Image processing apparatus and recording medium
JPH05136988A (en) Variable notation processor for binary picture
JP3059287B2 (en) Binary image scaling device
Lee et al. A content-adaptive up-sampling technique for image resolution enhancement
JPH07107268A (en) Image processing device
JP2001086368A (en) Image processor
JP2000101871A (en) Contour emphasis processing circuit

Legal Events

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