JPH02268073A - Picture reducing device - Google Patents

Picture reducing device

Info

Publication number
JPH02268073A
JPH02268073A JP1090080A JP9008089A JPH02268073A JP H02268073 A JPH02268073 A JP H02268073A JP 1090080 A JP1090080 A JP 1090080A JP 9008089 A JP9008089 A JP 9008089A JP H02268073 A JPH02268073 A JP H02268073A
Authority
JP
Japan
Prior art keywords
image
reduced
pixel
line
filter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP1090080A
Other languages
Japanese (ja)
Other versions
JP2911473B2 (en
Inventor
Tadashi Yoshida
正 吉田
Mitsuru Maeda
充 前田
Akihiro Katayama
昭宏 片山
Koji Hirabayashi
平林 康二
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority to JP1090080A priority Critical patent/JP2911473B2/en
Application filed by Canon Inc filed Critical Canon Inc
Priority to EP95200331A priority patent/EP0658041B1/en
Priority to EP90303343A priority patent/EP0392701B1/en
Priority to DE69033579T priority patent/DE69033579T2/en
Priority to DE69023381T priority patent/DE69023381T2/en
Publication of JPH02268073A publication Critical patent/JPH02268073A/en
Priority to US07/895,241 priority patent/US5345517A/en
Priority to US08/206,212 priority patent/US5448654A/en
Priority to US08/444,770 priority patent/US5621826A/en
Application granted granted Critical
Publication of JP2911473B2 publication Critical patent/JP2911473B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To save a reduced picture even at the mixture of a line drawing dither or the like by applying filtering and subsampling to a binary picture to reduce the signal, referencing reduced picture element and elements around the reduced picture element and correcting the result of reduction to a specific pattern. CONSTITUTION:A read original picture signal in a facsimile equipment is binarized by a comparator 230 via a filter section 220, subsampled and reduced without loss of thin lines or the like. The reduced picture element and elements around the reduced picture elements are referenced by an exemption processing section 260, the reduced binary picture element is corrected based on the statistical adaptive processing to a specific pattern and outputted via a selector 240 and the reduced picture is saved even during the mixture of line drawing dither or the like.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は2値画像静止画等の画像縮小装置にファクシミ
リ装置においては1画像をシーケンシャルに順次ラスク
方向に走査し、符号化伝送していく方式がとられている
。この方式では、画像の全体像を把握するには全画像の
符号化データを伝送する必要があるため、伝送時間が長
くかかり画像データベースサービス・ビデオテックス等
の画像通信サービスへの適応は困難であった。
[Detailed Description of the Invention] [Industrial Application Field] The present invention applies to an image reduction device for binary still images, etc. In a facsimile machine, one image is sequentially scanned in the raster direction and encoded and transmitted. A method is being adopted. With this method, it is necessary to transmit encoded data for all images in order to grasp the entire image, so the transmission time is long and it is difficult to adapt to image communication services such as image database services and Videotex. Ta.

そこで、画像の全体像を迅速に把握するために階層的符
号化が考えられている。第14図(a)に従来の階層的
符号化例を示す。
Therefore, hierarchical encoding has been considered in order to quickly grasp the entire image. FIG. 14(a) shows an example of conventional hierarchical encoding.

101〜104はそれぞれ1.繕、イ、!/8の縮小画
像を格納するためのフレームメモリ、105〜107は
それぞれ繕、イ、1/8の縮小画像を生成する縮小部、
108〜111はそれぞれ178゜h、鍔、lの縮小画
像を符号化するエンコーダである。
101 to 104 are each 1. Repair, I! 105 to 107 are respectively a frame memory for storing a reduced image of 1/8, a reduction unit that generates a reduced image of 1/8,
Encoders 108 to 111 encode reduced images of 178°h, tsuba, and l, respectively.

縮小部105はフレームメモリlotからの画像を主走
査、副走査方向共に局にサブサンプリング等の手法によ
り縮小して局サイズの画像を生成し、フレームメモリ1
02に格納する。更に月サイズの画像を縮小部106に
より縮小して%サイズの画像を作りフレームメモリ10
3に格納し、同様に縮小部107によりl/aサイズの
低解像画像を作成し、フレームメモリ104に格納する
The reduction unit 105 reduces the image from the frame memory lot in both the main scanning and sub-scanning directions using techniques such as subsampling, and generates an image of the station size.
Store in 02. Furthermore, the moon size image is reduced by the reduction unit 106 to create a % size image and stored in the frame memory 10.
Similarly, a low-resolution image of l/a size is created by the reduction unit 107 and stored in the frame memory 104.

符号化は低解像のものから順次符号伝送することにより
、大まかな全体画像が迅速に把握できるようになってい
る。第14図(a)の例では画像を主走査、副走査方向
とも、局、イ、178に縮小し、符号化はI/8、ハ、
弼、I C!X寸画像画像順に行いこの順で伝送する例
である。1/8画像の符号化にはフレームメモリ104
に格納された178画像を順次スキャンしエンコーダ1
01により符号化する注目画素と、周囲画素を参照して
算術符号化等のエントロピーコーディングを行う、電画
像については、フレームメモリ104からの注目画素の
周囲画素と、フレームメモリ104からの1/8画像の
周囲画素を参照することによりエンコーダ109にて符
号化を行い符号化効率を上げている。同様にフレームメ
モリ102の電画像についてはフレームメモリ103の
電画像を、フレームメモリ101の原寸画像はフレーム
メモリ102の電画像を参照してエンコーダ110,1
11にて夫々符号化を行う。
Encoding is performed by transmitting codes sequentially starting from low-resolution images, so that a rough overview of the entire image can be quickly grasped. In the example of FIG. 14(a), the image is reduced to 178 pixels in both the main scanning and sub-scanning directions, and the encoding is I/8,
弼、IC! This is an example in which the images are processed in the order of the X size and transmitted in this order. Frame memory 104 is used to encode 1/8 image.
The encoder 1 sequentially scans the 178 images stored in the
For electronic images, entropy coding such as arithmetic coding is performed with reference to the pixel of interest to be encoded by 01 and surrounding pixels, the surrounding pixels of the pixel of interest from the frame memory 104 and 1/8 from the frame memory 104 Encoding is performed by the encoder 109 by referring to surrounding pixels of the image, thereby increasing the encoding efficiency. Similarly, for the electric image in the frame memory 102, the electric image in the frame memory 103 is referred to, and for the original size image in the frame memory 101, the encoder 110, 1 refers to the electric image in the frame memory 102.
11, encoding is performed respectively.

また、静止画像通信装置以外においても2値画像の縮小
は行われている。たとえば出力解像度が異るプリンタに
同じ画像データベースから画像を出力する場合である。
Further, reduction of binary images is also performed in devices other than still image communication devices. For example, this is the case when images are output from the same image database to printers with different output resolutions.

 400dpiで読みとった2値画像を300dp i
あるいは200dpiのプリンタに出力する場合はそれ
ぞれたて方向、よこ方向とも3/4 、 )Sに画像を
縮小する必要がある。
A binary image read at 400dpi is read at 300dpi
Alternatively, when outputting to a 200 dpi printer, it is necessary to reduce the image to 3/4, )S in both the vertical and horizontal directions.

従来このような縮小を行う場合には画素を一定間隔に間
引くサブサンプリング、或いは。
Conventionally, when such reduction is performed, sub-sampling is used to thin out pixels at regular intervals, or.

ローパスフィルタをかけた後回2値化しサブサンプリン
グする方式がとられている。
A method is used in which the signal is subjected to a low-pass filter, then binarized and subsampled.

[発明が解決しようとしている課題] 階層的符号化方式においては、前述の様に縮小画像を低
解像度順に順次符号伝送することにより全体画像の早期
伝送が可能である。したがって縮小された低解像画像は
全体画像の把握が容易となるように情報なのこしておく
必要がある。
[Problems to be Solved by the Invention] In the hierarchical encoding method, early transmission of the entire image is possible by sequentially transmitting reduced images in order of lower resolution as described above. Therefore, it is necessary to leave information on the reduced low-resolution image so that the entire image can be easily understood.

このような縮小を従来方式で行うと情報が失われてしま
う欠点があった。第14図(b)は原画像(1)のx印
の画素をサブサンプリングし、たて、よこ方向線に縮小
画像(2)を得る例である。
When such reduction is performed using conventional methods, there is a drawback that information is lost. FIG. 14(b) is an example of subsampling the x-marked pixels of the original image (1) to obtain a reduced image (2) in the vertical and horizontal directions.

サブサンプリングのみの場合、同図のように1本のライ
ンLがサンプリング点(図中×印)の中間にある場合、
このラインは縮小により消失する。このような欠点を解
消するためにフィルタリングを行った後サブサンプリン
グする方式が考えられている。その例を第14図(c)
に示す、第14図(C)でx印はサンプリング点である
。第14図(C)の例ではサブサンプリングを行う前に
5g14図(C)の(3)のような係数をもつ3×3の
ローパスフィルタをかけ、フィルタ出力の2値化を行う
。たとえばフィルタ出力が8以上の場合は1.8未満の
場合はOと2値化定義できる。しかしながらフィルタリ
ングを用いる方式においても、第14図(C)の例で原
画中のたて1本線L2がサブサンプリングの間にあると
きはラインが消失する欠点は改良されない。
In the case of only subsampling, if one line L is located in the middle of the sampling points (marked with an x in the figure) as shown in the figure,
This line disappears upon shrinkage. In order to eliminate such drawbacks, a method of performing subsampling after filtering has been considered. An example of this is shown in Figure 14(c).
The x marks in FIG. 14(C) are sampling points. In the example of FIG. 14(C), before performing subsampling, a 3×3 low-pass filter having coefficients as shown in (3) of 5g14(C) is applied, and the filter output is binarized. For example, if the filter output is 8 or more, it can be binarized and defined as O if it is less than 1.8. However, even in the method using filtering, the drawback that the line disappears when the single vertical line L2 in the original image is between subsamplings in the example of FIG. 14(C) cannot be improved.

従って、縮小を何回もくり返すシステムにおいては1画
素巾のラインを保存しなくては、低解像画像において2
最終的にはラインが消えてしまう。そこでサンプリング
点にかかわらず1画素ラインのような細線を保存する必
要がある。
Therefore, in a system that repeats reduction many times, it is necessary to save a line with a width of 1 pixel, and in a low-resolution image, a line with a width of 1 pixel must be saved.
Eventually the line will disappear. Therefore, it is necessary to preserve a thin line such as a one-pixel line regardless of the sampling point.

[課題を解決するための手段及び作用]本発明は上記欠
点に鑑みてなされたものである。すなわち、2値画像の
縮小方式において従来の方式においては線画等における
細線の消失やデイザ画像における濃度や情報の欠落が問
題となっていた0本発明は2値画像のフィルタリングと
これを補う例外処理により縮小画像の保存を行い前記の
問題点を解決するものである。
[Means and effects for solving the problems] The present invention has been made in view of the above drawbacks. In other words, in the conventional method for reducing binary images, problems such as disappearance of thin lines in line drawings and loss of density and information in dithered images have arisen.The present invention provides filtering of binary images and exception processing to compensate for this problem. This method solves the above-mentioned problem by storing a reduced image.

また統計処理により画像の性質を判定し適応的に縮小を
行うものであり、線画デイザ等の混在した画像について
も前記問題点を解決するものである。
Furthermore, the image characteristics are determined through statistical processing and the image is reduced adaptively, and the above-mentioned problems can be solved even for images containing line drawing dither etc.

[実施例] 第1図は本発明を適応した2値画像の階層的符号化装置
の一例である。1は原画像1画面を格納するフレームメ
モリFMI、2は縮小画像を生成するための画像縮小部
RD、3は生成された縮小画像(本実施例でたて、よこ
共繕、%、I/8に縮小した画像)を格納するフレーム
メモリFM2.4は縮小した画像を低解像席順(l/8
縮小画像から)算術符号の手法を用いて符号化し伝送す
る符号化部である。
[Embodiment] FIG. 1 is an example of a binary image hierarchical encoding device to which the present invention is applied. 1 is a frame memory FMI that stores one screen of the original image, 2 is an image reduction unit RD for generating a reduced image, and 3 is a generated reduced image (in this embodiment, vertical, horizontal, %, I/ Frame memory FM2.4 stores the reduced image (image reduced to 1/8
This is an encoding unit that encodes and transmits a reduced image using an arithmetic code method.

まずフレームメモリ1には画像入力装置(不図示)ライ
ン10を介して画像信号が格納される。フレームメモリ
1からライン11に画像信号がラスク毎に出力される。
First, an image signal is stored in the frame memory 1 via an image input device (not shown) line 10. An image signal is output from frame memory 1 to line 11 for each rask.

この信号はセレクタ5で選択され、ライン51から画像
縮小部2へ入力される。ここで、画像はたて、よこ方向
%に縮小される。
This signal is selected by the selector 5 and inputted to the image reduction section 2 from the line 51. Here, the image is reduced vertically and horizontally by %.

セレクタ5は原画像を縮小するのか、フレームメモリ3
に格納しである縮小画像をさらに縮小するのかを選択す
る。縮小画像(繕又は務画像)がセレクタ5によって選
択された場合には、縮小画像はフレームメモリ3からラ
イン31へ出力され、セレクタ5で信号か選択されライ
ン51を介し縮小部2に入力される。
Does selector 5 reduce the original image? Frame memory 3
Select whether to further reduce the reduced image stored in . When a reduced image (repair or service image) is selected by the selector 5, the reduced image is output from the frame memory 3 to line 31, a signal is selected by the selector 5, and input to the reduction unit 2 via line 51. .

縮小部2でたてよこ共局に縮小された画像1枚分がライ
ン21からフレームメモリ3に格納される。原画像を繕
に縮小した画像を以上のプロセスによりフレームメモリ
3に格納した後、フレームメモリ3からH縮小画像をラ
スク毎にライン31へ出力し、セレクタ5によりライン
51を経て同じプロセスでイ縮小画像がフレームメモリ
3に形成される。同様にして、1j8画像がフレームメ
モリ3内に格納される。
One image reduced vertically and horizontally by the reduction unit 2 is stored in the frame memory 3 from the line 21. After storing the image obtained by reducing the original image into the frame memory 3 through the above process, the H reduced image is outputted from the frame memory 3 to the line 31 for each rask, and then the H reduced image is outputted to the line 31 by the selector 5 through the line 51 and then reduced by the same process. An image is formed in the frame memory 3. Similarly, 1j8 images are stored in the frame memory 3.

この様にして、格納された縮小画像は1j8画像から順
に符号化部によりl/89%、繕原画の順序で階層的に
符号化される0画像信号はそれぞれライン15,14,
13.12から符号部4へ入力される。符号化部4では
算術符号の手法を用い、第14図のエンコーダ108〜
110と同様な順序で符号化処理が行なわれ、符号化出
力はライン17を介して出力される。
In this way, the stored reduced images are sequentially encoded at 1/89% by the encoding unit starting from the 1j8 image, and the 0 image signals, which are hierarchically encoded in the order of the original image, are encoded on lines 15, 14, and 14, respectively.
13.12, it is input to the code section 4. The encoding unit 4 uses an arithmetic code method, and encoders 108 to 108 in FIG.
The encoding process is performed in a similar order to 110 and the encoded output is output via line 17.

縮小部2の詳細を第2図に示す、210,211,21
2はそれぞれ1ライン分の画素を格納するラインメモリ
で、それぞれライン21:l、214,215からフィ
ルタ部220へ入力されている。フィルタ部220の詳
細を以下に示す。
Details of the reduction unit 2 are shown in FIG. 2, 210, 211, 21.
Reference numeral 2 denotes line memories each storing pixels for one line, and input to the filter section 220 from lines 21:1, 214, and 215, respectively. Details of the filter section 220 are shown below.

第3図はフィルタ部220で用いられる3X3フイルタ
の係数を示している0本実施例ではローパスフィルタを
用′い、中心画素の重み係数をC(Cは標準で4として
いる)とし、図の様な重み係数を与えている。中心画素
の濃度値をD 1j(i=トI、jml〜N、MNは横
方向、縦方向の画像サイズ)とするとフィルタの出力濃
度Wは、W= (Di−f、j−1+2Di、j−1+
[)i+l、j−1÷2Di−1,j+CD i、j2
Di÷l、j+Di−1、j+1+2Di、j+l+D
i+l。
Figure 3 shows the coefficients of a 3x3 filter used in the filter section 220. In this embodiment, a low-pass filter is used, and the weighting coefficient of the center pixel is set to C (C is 4 as standard). Various weighting factors are given. If the density value of the center pixel is D1j (i=I, jml~N, MN is the image size in the horizontal and vertical directions), the output density W of the filter is W= (Di-f, j-1+2Di, j -1+
[)i+l,j-1÷2Di-1,j+CD i,j2
Di÷l, j+Di-1, j+1+2Di, j+l+D
i+l.

j−1)               (1)である
、フィルタ部220の出力W221を比較器230によ
りしき値T(本実施例では標準でT=8)で2値化する
。このとき のように2値化される。2値化された出力はセレクタ2
40で選択され、サブサンプリング部250でたて、よ
こ方向共局に縮小される。
j-1) (1) The output W221 of the filter section 220 is binarized by the comparator 230 using a threshold value T (T=8 as standard in this embodiment). It is binarized as in this case. Binarized output is selector 2
40 and reduced to vertical and horizontal co-stations by the sub-sampling unit 250.

第4図はサブサンプリングの説明図である。FIG. 4 is an explanatory diagram of subsampling.

主走査、副走査方向にそれぞれ1つおきに図の斜線で示
した画素データを取り出すことにより、局サイズ(面積
で%)のサブサンプリング画像か形成される。これは画
素データのラッチタイミングにより容易に実現可能であ
る。サブサンプリング部250の出力はラインメモリ2
70を介して第1図示のフレームメモリ3に出力される
By extracting every other pixel data indicated by diagonal lines in the figure in the main scanning and sub-scanning directions, a sub-sampled image of the local size (% in area) is formed. This can be easily realized by latch timing of pixel data. The output of the sub-sampling section 250 is sent to the line memory 2.
The signal is outputted via 70 to the frame memory 3 shown in the first diagram.

ところで1以上の如くローパスフィルタ(第3図係数)
により周辺の画素濃度を保存し、サブサンプリングによ
り局縮小されるが、1画素目】のライン等がサブサンプ
リンブ位置の位相により消失してしまう場合がある。そ
の例を第5図に示す、第5図は(1)、(2)式でc=
4.T=8としてローパスフィルタをかけた後、3x3
画素の中央をサブサンプリングした場合の結果である。
By the way, the low-pass filter (coefficients in Figure 3) is 1 or more.
Although the surrounding pixel density is preserved and local pixel reduction is performed by subsampling, lines such as the first pixel may disappear due to the phase of the subsampling position. An example of this is shown in Figure 5. In Figure 5, c=
4. After applying a low pass filter with T=8, 3x3
This is the result when subsampling the center of the pixel.

(a)は黒1本たてラインが3×3画素の中央を通らな
い場合で、サブサンプリング結果は白となり、1本ライ
ンが消失する。
(a) shows a case where a single black vertical line does not pass through the center of 3×3 pixels, and the subsampling result is white and one line disappears.

同様に(b)のようなななめの黒ライン、(C)の中央
の白ライン等が消失する。したかって、サンプリング位
置によらずライン等の情報を保存する必要がある。
Similarly, the diagonal black line in (b), the central white line in (C), etc. disappear. Therefore, it is necessary to store information such as lines regardless of the sampling position.

そこで、第2図示′の如く例外処理部260を設け、フ
ィルタリングとサブサンプリングによる縮小処理とは別
に例外処理を施すことにより、細線エツジ、孤立点等の
情報を保存する。第6図に例外処理部260の構成を示
す。
Therefore, as shown in the second figure, an exception processing section 260 is provided to perform exception processing in addition to reduction processing by filtering and subsampling, thereby preserving information such as thin line edges and isolated points. FIG. 6 shows the configuration of the exception handling section 260.

例外処理部260は統計量処理部600と例外パターン
処理部610から成る。各信号ライン番号は第2図の同
番号と同ラインである。統計処理部600においては縮
小しようとする注目画素のまわりの画素の黒と白の分布
を調べ例外パターンセレクト信号601を例外パターン
処理部61Gに出力し1例外パターンを決定する。第7
図にその一例を示す、主走査方向(よこ方向)をiとし
副走査方向(たて方向)jとし、縮小しようとする注目
画素をx(i、j)とする。
The exception processing section 260 includes a statistics processing section 600 and an exception pattern processing section 610. Each signal line number is the same line as the same number in FIG. The statistical processing section 600 examines the black and white distribution of pixels around the pixel of interest to be reduced, and outputs an exception pattern selection signal 601 to the exception pattern processing section 61G to determine one exception pattern. 7th
An example of this is shown in the figure, where the main scanning direction (horizontal direction) is i, the sub-scanning direction (vertical direction) is j, and the pixel of interest to be reduced is x(i, j).

x (11J )はローパスフィルタ3×3によるフィ
ルタリングを行なう画素の中央値((1)式Di+j)
と同位置であり、本実施例では周囲5×5画素の統計量
(分布)を計算する。統計量により画像の性質、例えば
文字、線画、デイザ画像あるいはポジティブ(ポジ)画
像ネガティブ(ネガ)画像等を判定し、適切な例外パタ
ーンを選択する。ポジ画像、ネガ画像の判定は以下の様
にして行う。
x (11J) is the median value of pixels filtered by a 3×3 low-pass filter (Equation (1) Di+j)
In this embodiment, the statistics (distribution) of the surrounding 5×5 pixels are calculated. The characteristics of the image, such as characters, line drawings, dithered images, positive images, negative images, etc., are determined based on the statistics, and an appropriate exception pattern is selected. Determination as to whether the image is a positive image or a negative image is performed as follows.

5X5画素領域の濃度の総和をSとするとj==−21
==−2 と表わせる@  (x (i、 j)=Oorl  Q
:白画素l:黒画素)モしてSンTN(=18)ならば
黒画素が多いことからネガ画像であると判断する。
If the sum of the densities of the 5×5 pixel area is S, then j==-21
==-2 @ (x (i, j)=Oorl Q
:white pixel l:black pixel) If STN (=18), there are many black pixels, so it is determined that the image is a negative image.

また、デイザ画像、或いは他の中間調表現された画像は
以下の様に判定される。即ち5×5画素をたて、よこそ
れぞれ5画素の5本のストライブに分割しそれぞれのス
トライブ中の白黒反転をカウントする。各カウント値の
統和をCNとすると、CN>16の場合は1反転数が多
いので5デイザ画像又は中間調画像と判定する。この白
黒反転数はカウンタで簡単に構成できる。
Furthermore, a dithered image or other halftone-expressed image is determined as follows. That is, a 5×5 pixel array is divided into five stripes of 5 pixels each horizontally, and black and white inversions in each stripe are counted. Assuming that the sum of each count value is CN, if CN>16, the number of 1 inversions is large, so it is determined that the image is a 5-dither image or a halftone image. This number of black and white inversions can be easily configured using a counter.

例外パターン処理部610ではラインメモリ21O〜2
12からの縮小画像における3x3画素とサブサンプリ
ング250とラインメモリ270からのすでに縮小され
ている3画素を参照して、フィルタによる結果が好まし
くない場合1例外パターン信号21i1と例外パターン
選択信号262を出力し、セレクタ240によりフィル
タ出力に代えて、例外パターン信号を出力することかで
きる。
In the exception pattern processing unit 610, line memories 21O to 2
Referring to the 3x3 pixels in the reduced image from 12, the subsampling 250, and the 3 pixels already reduced from the line memory 270, if the result by the filter is not favorable, outputs the 1 exception pattern signal 21i1 and the exception pattern selection signal 262. However, the selector 240 can output an exception pattern signal instead of the filter output.

第8図に例外パターン処理部61Gに°おける参照画素
を示す。(1)は縮小処理後の画像、(2)は縮小処理
前の画像を表わし、eは縮小しようとする画像の注目画
素、a、b、c、d、f。
FIG. 8 shows reference pixels in the exception pattern processing section 61G. (1) represents the image after reduction processing, (2) represents the image before reduction processing, and e represents the target pixel of the image to be reduced, a, b, c, d, f.

g * h *  iは周囲参照画素でこられはフィル
タ部220に印加される画素と同じである0画素abc
、def、 ghiはそれぞれラインメモリ210,2
11,212からライン213,214,215を通じ
て入力される。一方Xは縮小した結果の画素、またA、
B、Cはすでに縮小した画素で、ライン251,271
を通じて入力される。
g*h*i are surrounding reference pixels; these are 0 pixels abc, which are the same as the pixels applied to the filter section 220;
, def, and ghi are the line memories 210 and 2, respectively.
11, 212 through lines 213, 214, 215. On the other hand, X is the pixel resulting from the reduction, and A,
B and C are already reduced pixels, lines 251 and 271
input through.

第9図は統計処理部600によって画像の性質が判定さ
れた場合の1例外パターンの選択例を示している。第9
図(a)の(1)、(2)、(3)のパターンはポジ画
像、ネガ画像で出力が異る場合である。このような場合
4文字や線画のポジ画像であれば縮小画像は黒(4)の
方が望ましい。
FIG. 9 shows an example of selecting one exceptional pattern when the characteristics of an image are determined by the statistical processing unit 600. 9th
Patterns (1), (2), and (3) in Figure (a) are cases in which the output is different for a positive image and a negative image. In such a case, if the image is a positive image of four characters or line drawings, it is preferable that the reduced image be black (4).

逆にネガ画像の場合は白(5)が好ましい例である。従
って第9図(a)のパターンに対して、例外パターン処
理部610は例外パターン信号261にポジ画像の場合
は黒(1)、ネガ画像の場合は白(0)を出力する。
Conversely, in the case of a negative image, white (5) is a preferable example. Therefore, for the pattern shown in FIG. 9(a), the exception pattern processing section 610 outputs black (1) for the exception pattern signal 261 in the case of a positive image and white (0) in the case of a negative image.

このとき例外であることを示す信号が例外パターン選択
信号262として出力され、第2図のセレクタ240に
より例外処理部260からの例外パターン261が選択
され縮小画素結果となる(第8図Xの画素)。
At this time, a signal indicating an exception is output as an exception pattern selection signal 262, and the selector 240 in FIG. 2 selects the exception pattern 261 from the exception processing unit 260, resulting in a reduced pixel result (pixel ).

第9図(b)のパターン(I)は、デイザ画像の場合は
濃度保存の点から黒(2)が良いか、線画等の非デイザ
画像の場合は白(3)にした方か良い例である。 (a
)、(b)のいずれの場合も縮小画素C(第8図)は白
でも黒でも良い。
Pattern (I) in Figure 9(b) is an example of whether black (2) is better for dithered images in terms of density preservation, or white (3) for non-dithered images such as line drawings. It is. (a
) and (b), the reduced pixel C (FIG. 8) may be white or black.

以上のように本実施例の縮小方式ではフィルタ処理後の
サブサンプリングによる縮小画像を例外処理パターンを
用いて補正している。また、統計処理によって例外パタ
ーンの選択を行ない画質に応じた適応的な縮小を行って
いる。
As described above, in the reduction method of this embodiment, the reduced image obtained by subsampling after filter processing is corrected using the exception processing pattern. Additionally, exceptional patterns are selected through statistical processing and adaptive reduction is performed according to the image quality.

〈第2実施例〉 本発明の縮小方式実施例におけるフィルタ部で第3図に
示したようなローパスフィルタを用いていたが、ローパ
スフィルタ以外のものち用小しだ1隣と左隣に−3のフ
ィードバック係数を与え縮小する注目画素の周辺はロー
パスフィルタと同じ係数を与えた場合である。この場合
フィルタの出力濃度なWとすると W>5のとき黒 W〈5のとき白 と2値化できる。この結果を例外処理補正することによ
り同様な効果が得られる。
<Second Embodiment> A low-pass filter as shown in FIG. 3 was used in the filter section in the embodiment of the reduction method of the present invention. This is a case where the same coefficient as that of the low-pass filter is applied to the vicinity of the pixel of interest to be reduced by applying a feedback coefficient of 3. In this case, if W is the output density of the filter, it can be binarized as black when W>5 and white when W<5. A similar effect can be obtained by correcting this result for exception processing.

〈第3実施例〉 以上の実施例においては、統計処理部において、判定し
た画像の性質により例外処理のパターンを適応的に選択
したが、統計処理部の結果によりフィルタの係数を選択
することもできる。 $11図にその例を示す、171
は第1フイルタ、172は第2フイルタ、173はセレ
クタ、174は統計処理部である。第1フイルタ171
にローパスフィルタ(第3図)を用い第2フイルタ17
2に再帰形フィルタ(第10図)を用いる。統計処理部
174による判定結果がデイザ画像であれば第2フイル
タ172を、線画等の場合は第1フイルタ171を選択
することにより、フィルタ出力の画質を上げることがで
きる。また、フィルタ例外処理共に統計処理部の結果に
より適応的に選択すること・ができる。
<Third Embodiment> In the above embodiments, the statistical processing section adaptively selected the exception processing pattern depending on the nature of the determined image, but the filter coefficients may also be selected based on the results of the statistical processing section. can. An example is shown in Figure $11, 171
1 is a first filter, 172 is a second filter, 173 is a selector, and 174 is a statistical processing unit. First filter 171
A low-pass filter (Fig. 3) is used for the second filter 17.
2, a recursive filter (Fig. 10) is used. If the judgment result by the statistical processing unit 174 is a dithered image, the second filter 172 is selected, and if the judgment result is a line drawing, the first filter 171 is selected, thereby improving the image quality of the filter output. In addition, filter exception processing can be adaptively selected based on the results of the statistical processing section.

〈第4実施例〉 尚、統計処理部においてネガ画像の判定は以下の様に行
ってもよい、第12図(a)は縮小しようとする画像で
a、b、c・・・iは、第8図(b)と同じ画素である
。abc・・・iの左側の画素は縮小のためにすでに参
照した画素である。同図(b)は縮小を行った画素で、
Xは現在縮小する画素である。またABCはすでに縮小
した画素で第8図(1)のABCと同画素である。
<Fourth Example> Incidentally, the judgment of a negative image may be performed in the statistical processing section as follows. FIG. 12(a) is an image to be reduced, and a, b, c...i are This is the same pixel as in FIG. 8(b). The pixel to the left of abc...i is a pixel that has already been referred to for reduction. Figure (b) shows the pixels that have been reduced.
X is the pixel that is currently being reduced. Further, ABC is a pixel that has already been reduced and is the same pixel as ABC in FIG. 8(1).

第12図(a)で主走査方向3ライン(L;Ll。In FIG. 12(a), there are three lines (L; Ll) in the main scanning direction.

12.13>で既に参照された画像の黒ラン或は白ラン
をカウントする。つまり現在までの各ラインの白ランを
W(411)W(又2)W(見3)黒ランなり(又1)
B(12)B i3)とすると、 B(11)ンaandB(412)ンa andB13
)ンα       −(4−1)ならばネガ画像と判
定し、 W(!Lt)ンβandW(ffi2)ンβandW(
文3)ンβ       ・−(4−2)ならばポジ画
像と判定することにより、それぞれの処理が行える。
12. Count the black runs or white runs of the images that have already been referenced in >13. In other words, the white run of each line up to now is W (411) W (also 2) W (see 3) black run (also 1)
B(12)B i3) then B(11) aandB(412) a andB13
) If α − (4-1), it is determined to be a negative image, and W(!Lt) βandW(ffi2) βandW(
Statement 3) If nβ·−(4-2), the respective processes can be performed by determining that the image is a positive image.

通常、ネガ画像の使用頻度はポジ画像のそれより低いた
め、α〉〉βが効果的である。このような統計処理は動
的に行われる。また初期値としてはポジ画像とし、(4
−1)が満たされるまではポジ画像処理を行う、そして
(4−2)が満たされた場合はその場所からネガ画像処
理を行う0以上の処理を動的に行う。
Normally, the frequency of use of negative images is lower than that of positive images, so α>>β is effective. Such statistical processing is performed dynamically. In addition, the initial value is a positive image, (4
Positive image processing is performed until -1) is satisfied, and when (4-2) is satisfied, zero or more negative image processing is dynamically performed from that location.

また、縮小画像第12図(b)を用いても全く同様に行
うことができる。すなわち縮小部の2ラインなLl、L
2とし、各ラインの白ラン黒ランなW(Ll)W(L2
)および B (Ll)B (L2)とすると、同様に(4−1)
(4−2)のように判定することができる。また、ネガ
判定された場合、ポジパターンの処理の前後にパターン
反転を用いることによりネガ画像もポジ画像と同じ処理
ができる。
Furthermore, the same operation can be performed using the reduced image shown in FIG. 12(b). In other words, the two lines Ll and L of the reduction part
2, and the white run black run W(Ll)W(L2
) and B (Ll)B (L2), similarly (4-1)
It can be determined as in (4-2). Furthermore, when a negative image is determined, the negative image can be processed in the same way as the positive image by using pattern inversion before and after processing the positive pattern.

その処理を用いた例外処理部の構成例な第13図に示す
、第13図における各信号ラインは第2図及び第6図の
ものと同じである。600は統計処理部で前述の如く、
黒ラン及び白ランの値により画像の属性を判定する。6
20,630は画像反転部で画像反転部620は第12
図(a)のabcd’efghiおよび(b)のABC
を、統計処理部600によって入力画像がネガ画像と判
定された場合に白黒画像反転をする。
FIG. 13 shows an example of the configuration of an exception handling section using this process. Each signal line in FIG. 13 is the same as that in FIGS. 2 and 6. 600 is a statistical processing section, as mentioned above,
The attributes of the image are determined based on the values of the black run and white run. 6
20, 630 is an image inversion unit, and the image inversion unit 620 is the 12th
abcd'efghi in diagram (a) and ABC in (b)
When the statistical processing unit 600 determines that the input image is a negative image, the black and white image is inverted.

また、画像反転部630は例外パターン部で処理した縮
小画素(第18図(b)のX)の白黒を統計処理部60
0からの信号601に従って同様にネガ画像の場合反転
する。他の部分の動作については第6図と全く同部分で
ある。
Further, the image inversion unit 630 converts the black and white of the reduced pixels (X in FIG. 18(b)) processed by the exception pattern unit to the statistical processing unit 630.
Similarly, in the case of a negative image, it is inverted according to the signal 601 from 0. The operations of other parts are exactly the same as those shown in FIG.

すなわち統計処理部600においてネガ画像判定された
場合でもポジ画像と同じパターンを用いて縮小すること
ができ、ネガ画像縮小時の画質改善となる。
That is, even if the statistical processing unit 600 determines that the image is a negative image, it can be reduced using the same pattern as a positive image, resulting in improved image quality when reducing a negative image.

[発明の効果] 以上説明したように本発明によれば従来の2値画像縮小
では縮小時消失していた細線、あるいはデイザ画像等の
情報を縮小画像に3いても保存することができる。また
縮小をくり返しても1画素ラインを保存するため線画像
情報は保存される。更に統計処理により適応的に縮小す
るため、線画デイザ等の混在画像においてもそれぞれの
画像情報を保存することが可能である。
[Effects of the Invention] As described above, according to the present invention, information such as thin lines or dithered images that disappear during reduction in conventional binary image reduction can be preserved even if the information is present in the reduced image. Further, even if reduction is repeated, line image information is preserved because one pixel line is preserved. Furthermore, since the size is adaptively reduced through statistical processing, it is possible to save each image information even in a mixed image such as a line drawing dither.

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

第1図は符号化装置の概要を示すブロック図。 第2図は縮小部のブロック図。 第3図はローパスフィルタの係数を示す図、第4図はサ
ブサンプリングの方法を示す図、第5図はローパスフィ
ルタにより細線が消失する例を示す図、 第6図は例外処理部のブロック図。 第7図は統計処理方法を示す図、 第8図は例外処理参照画素を示す図。 第9図は統計処理による例外処理選択例を示す図。 第1O図は再帰形フィルタの例を示す図、第11図はフ
ィルタを選択する例を示す図、第12図は画素配列を示
す図、 第13図は他の例外処理部のブロック図、第14図は従
来構成を示す図であり、 1.3はフレームメモリ、2は縮小部、4は符号化部、
5はセレクタ、220はフィルタ部、260は例外処理
部である。 鉋脇区 □わl訪向C 第5図 第計2 執) (b) 悴1B! 瑞 (ア
FIG. 1 is a block diagram showing an outline of an encoding device. FIG. 2 is a block diagram of the reduction section. Figure 3 is a diagram showing the coefficients of the low-pass filter, Figure 4 is a diagram showing the subsampling method, Figure 5 is a diagram showing an example of thin lines disappearing due to the low-pass filter, and Figure 6 is a block diagram of the exception handling section. . FIG. 7 is a diagram showing a statistical processing method, and FIG. 8 is a diagram showing exception processing reference pixels. FIG. 9 is a diagram showing an example of exception handling selection by statistical processing. 10 is a diagram showing an example of a recursive filter, FIG. 11 is a diagram showing an example of selecting a filter, FIG. 12 is a diagram showing a pixel arrangement, FIG. 13 is a block diagram of another exception handling section, Figure 14 shows the conventional configuration, where 1.3 is a frame memory, 2 is a reduction section, 4 is an encoding section,
5 is a selector, 220 is a filter section, and 260 is an exception handling section. Mawariwaki Ward □Wal Visit C Figure 5 Total 2 Tsuyoshi) (b) Sae 1B! Rui (a)

Claims (3)

【特許請求の範囲】[Claims] (1)2値画像のサイズを縮小する画像縮小方式におい
て、画像のフィルタリングを行なう手段と、フィルタリ
ング結果を2値化する手段と、縮小のためのサブサンプ
リングを行なう手段を有し、縮小する注目画素の周辺と
、すでに縮小した画素を参照する手段とを有し、特定パ
ターンに対して前記2値化結果を補正することを特徴と
する画像縮小装置。
(1) An image reduction method for reducing the size of a binary image, which has means for filtering the image, means for binarizing the filtering result, and means for subsampling for reduction, and has a method for reducing the size of the image. An image reduction device comprising means for referring to the periphery of a pixel and already reduced pixels, and correcting the binarization result for a specific pattern.
(2)特許請求の範囲第(1)項において、前記参照手
段は、前記注目画素を含む周囲の画素の性質を検知する
性質検知手段と前記注目画素の周辺およびすでに縮小し
た画素のパターンを検知するパターン検知部とから成る
ことを特徴とする画像縮小装置。
(2) In claim (1), the reference means includes property detection means for detecting the properties of surrounding pixels including the pixel of interest, and a pattern of pixels around the pixel of interest and that have already been reduced. An image reduction device characterized by comprising a pattern detection section that detects a pattern.
(3)特許請求の範囲第2項において、前記性質検知手
段の検知結果により適応的に補正パターンを選択する手
段を有することを特徴とする画像縮小装置。 4)特許請求の範囲第2項において、前記性質検知手段
の検知結果により前記フィルタの出力またはフィルタの
係数を補正することを特徴とする画像縮小装置。
(3) The image reduction device according to claim 2, further comprising means for adaptively selecting a correction pattern based on the detection result of the property detection means. 4) The image reduction device according to claim 2, wherein the output of the filter or the coefficient of the filter is corrected based on the detection result of the property detection means.
JP1090080A 1989-04-10 1989-04-10 Image reduction apparatus and method Expired - Fee Related JP2911473B2 (en)

Priority Applications (8)

Application Number Priority Date Filing Date Title
JP1090080A JP2911473B2 (en) 1989-04-10 1989-04-10 Image reduction apparatus and method
EP90303343A EP0392701B1 (en) 1989-04-10 1990-03-29 Image reduction apparatus
DE69033579T DE69033579T2 (en) 1989-04-10 1990-03-29 Image reduction device and method
DE69023381T DE69023381T2 (en) 1989-04-10 1990-03-29 Image reduction device.
EP95200331A EP0658041B1 (en) 1989-04-10 1990-03-29 Image reduction apparatus and method
US07/895,241 US5345517A (en) 1989-04-10 1992-06-08 Image reduction apparatus
US08/206,212 US5448654A (en) 1989-04-10 1994-03-03 Image reduction apparatus
US08/444,770 US5621826A (en) 1989-04-10 1995-05-19 Image reduction apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1090080A JP2911473B2 (en) 1989-04-10 1989-04-10 Image reduction apparatus and method

Publications (2)

Publication Number Publication Date
JPH02268073A true JPH02268073A (en) 1990-11-01
JP2911473B2 JP2911473B2 (en) 1999-06-23

Family

ID=13988543

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1090080A Expired - Fee Related JP2911473B2 (en) 1989-04-10 1989-04-10 Image reduction apparatus and method

Country Status (1)

Country Link
JP (1) JP2911473B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6098762A (en) * 1983-11-04 1985-06-01 Nec Corp Interleaving and shrinking circuit of facsimile equipment
JPS62256573A (en) * 1986-04-30 1987-11-09 Toshiba Corp Picture processor
JPH02213275A (en) * 1989-02-14 1990-08-24 Kokusai Denshin Denwa Co Ltd <Kdd> Generating system for reduced image

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6098762A (en) * 1983-11-04 1985-06-01 Nec Corp Interleaving and shrinking circuit of facsimile equipment
JPS62256573A (en) * 1986-04-30 1987-11-09 Toshiba Corp Picture processor
JPH02213275A (en) * 1989-02-14 1990-08-24 Kokusai Denshin Denwa Co Ltd <Kdd> Generating system for reduced image

Also Published As

Publication number Publication date
JP2911473B2 (en) 1999-06-23

Similar Documents

Publication Publication Date Title
EP0658041B1 (en) Image reduction apparatus and method
EP0738070B1 (en) Image processing method and apparatus
US7266250B2 (en) Methods for generating anti-aliased text and line graphics in compressed document images
EP0415513B1 (en) Image reduction system
US5271072A (en) Image reduction of binary images using filtering processing
JPH04356869A (en) Image processor
US4571632A (en) Alternate line interpolation method and apparatus
US6775031B1 (en) Apparatus and method for processing images, image reading and image forming apparatuses equipped with the apparatus, and storage medium carrying programmed-data for processing images
US5963342A (en) Image processing apparatus and method thereof
JP3313447B2 (en) Image processing device
JP3514050B2 (en) Image processing device
EP1494455A2 (en) Weak edge repositioning in a multiple raster content (MRC) segmentor
EP0649246B1 (en) A method of reducing document size for optical display
JP2784278B2 (en) Image scaling processor
JPH02268073A (en) Picture reducing device
JPH04238462A (en) Picture processor
US6798543B1 (en) Method and apparatus for compression and decompression of halftoned images
JP3045555B2 (en) Binarization processing method for multi-tone image information
JP3358132B2 (en) Image processing device
JP2948147B2 (en) Image coding device
JPS5814673A (en) Gradation signal restoring system
JPH05191632A (en) Binary picture processor
JPH07231385A (en) Method for deciding optimum line density of picture processor
JPS63303570A (en) Facsimile equipment
JPH05260286A (en) Variable power device for binary image

Legal Events

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