JP2948147B2 - Image coding device - Google Patents

Image coding device

Info

Publication number
JP2948147B2
JP2948147B2 JP8164633A JP16463396A JP2948147B2 JP 2948147 B2 JP2948147 B2 JP 2948147B2 JP 8164633 A JP8164633 A JP 8164633A JP 16463396 A JP16463396 A JP 16463396A JP 2948147 B2 JP2948147 B2 JP 2948147B2
Authority
JP
Japan
Prior art keywords
reduced
image data
image
pixel
reduced image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP8164633A
Other languages
Japanese (ja)
Other versions
JPH08336044A (en
Inventor
正 吉田
俊明 遠藤
尚登 河村
久晴 加藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP8164633A priority Critical patent/JP2948147B2/en
Publication of JPH08336044A publication Critical patent/JPH08336044A/en
Application granted granted Critical
Publication of JP2948147B2 publication Critical patent/JP2948147B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、2値画像を符号化
する画像符号化装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image coding apparatus for coding a binary image.

【0002】[0002]

【従来の技術】従来の静止画像通信装置の代表的な例で
あるフアクシミリ装置においては、画像をシーケンシャ
ルに順次ラスタ方向に走査し、符号化伝送していく方式
がとられている。この方式では、画像の全体像を把握す
るには全画像の符号化データを伝送する必要があるた
め、伝送時間が長くかかり画像データベースサービス・
ビデオテツクス等の画像通信サービスへの適応は困難で
あった。
2. Description of the Related Art A facsimile apparatus, which is a typical example of a conventional still image communication apparatus, employs a system in which images are sequentially scanned in a raster direction and encoded and transmitted. In this method, it is necessary to transmit the coded data of all the images in order to grasp the whole image of the image.
It has been difficult to adapt to video communication services such as video technology.

【0003】そこで、画像の全体像を迅速に把握するた
めに階層的符号化が考えられている。第10図(a)に
従来の階層的符号化例を示す。101 〜104 はそれぞれ
1,1/2 ,1/4 ,1/8 の縮小画像を格納するためのフレ
ームメモリ、105 〜107 はそれぞれ1/2 ,1/4 ,1/8 の
縮小画像を生成する縮小部、108 〜111 はそれぞれ1/8
,1/4 ,1/2 ,1の縮小画像を符号化するエンコーダ
である。
[0003] Hierarchical coding has been considered in order to quickly grasp the entire image of an image. FIG. 10 (a) shows a conventional hierarchical coding example. 101 to 104 are frame memories for storing 1, 1/2, 1/4, and 1/8 reduced images, respectively, and 105 to 107 generate 1/2, 1/4, and 1/8 reduced images, respectively. Reduction section, 108 to 111 are 1/8 each
, 1/4, 1/2, 1 are encoded.

【0004】縮小部105 はフレームメモリ101 からの画
像を主走査,副走査方向共に1/2 にサブサンプリングす
る等の手法により縮小して1/2 サイズの画像を生成し、
フレームメモリ102 に格納する。更に1/2 サイズの画像
を縮小部106 により縮小して1/4 サイズの画像を作りフ
レームメモリ103 に格納し、同様に縮小部107 により1/
8 サイズの低解像画像を作成し、フレームメモリ104 に
格納する。
A reducing section 105 reduces the image from the frame memory 101 by a method such as subsampling in both the main scanning direction and the sub-scanning direction by half, and generates a 1/2 size image.
It is stored in the frame memory 102. Further, the 1 / 2-size image is reduced by the reduction unit 106 to create a 1 / 4-size image and stored in the frame memory 103.
An 8-size low-resolution image is created and stored in the frame memory 104.

【0005】そして、低解像のものから順次符号伝送す
ることにより、大まかな全体画像が迅速に把握できるよ
うになっている。第10図(a)の例では画像を主走
査,副走査方向とも、1/2 ,1/4 ,1/8 に縮小し、符号
化は1/8 ,1/4 ,1/2 ,1(原寸画像)の順に行い、こ
の順で伝送する例である。1/8 画像の符号化にはフレー
ムメモリ104 に格納された108 画像を順次スキヤンし、
エンコーダ108 により符号化する注目画素と、周囲画素
を参照して算術符号化等のエントロピーコーデイングを
行う。1/4 画像については、フレームメモリ103 からの
注目画素の周囲画素と、フレームメモリ104 からの1/8
画像の周囲画素を参照することによりエンコーダ109 に
て符号化を行い符号化効率を上げている。同様にフレー
ムメモリ102 の1/2 画像についてはフレームメモリ103
の1/4 画像を、フレームメモリ101の原寸画像はフレー
ムメモリ102 の1/2 画像を参照してエンコーダ110 ,11
1 にて夫々符号化を行う。
[0005] By transmitting codes sequentially from low-resolution ones, a rough overall image can be quickly grasped. In the example of FIG. 10 (a), the image is reduced to 1/2, 1/4, 1/8 in both the main scanning and sub-scanning directions, and the encoding is performed for 1/8, 1/4, 1/2, 1 This is an example in which the transmission is performed in the order of (actual size image) and the transmission is performed in this order. For encoding 1/8 image, 108 images stored in the frame memory 104 are sequentially scanned,
Entropy coding such as arithmetic coding is performed with reference to the target pixel to be coded by the encoder 108 and surrounding pixels. For the 1/4 image, the surrounding pixels of the pixel of interest from the frame memory 103 and the 1/8 image from the frame memory 104
The encoding is performed by the encoder 109 by referring to the surrounding pixels of the image to increase the encoding efficiency. Similarly, for a half image of the frame memory 102, the frame memory 103
The original image of the frame memory 101 is referred to as a 1/4 image of the
The encoding is performed in 1 respectively.

【0006】また、静止画像通信装置以外においても2
値画像の縮小は行われている。たとえば出力解像度が異
るプリンタに同じ画像データベースから画像を出力する
場合である。400dpiで読みとった2値画像を300dpiある
いは200dpiのプリンタに出力する場合はそれぞれ縦方
向、横方向とも3/4 ,1/2 に画像を縮小する必要があ
る。
[0006] Further, other than the still image communication device, 2
Reduction of the value image has been performed. For example, this is a case where images are output from the same image database to printers having different output resolutions. When a binary image read at 400 dpi is output to a 300 dpi or 200 dpi printer, the image must be reduced to 3/4 and 1/2 in both the vertical and horizontal directions.

【0007】従来このような縮小を行う場合には画素を
一定間隔に間引くサブサンプリング、或いは、ローパス
フィルタをかけた後再2値化しサブサンプリングする方
式がとられている。
Conventionally, when such a reduction is performed, a sub-sampling method is used in which pixels are thinned out at regular intervals, or a low-pass filter is applied and then re-binarized and sub-sampled.

【0008】[0008]

【発明が解決しようとする課題】階層的符号化方式にお
いては、前述のように縮小画像を低解像度順に順次符号
伝送することにより全体画像の早期伝送が可能である。
したがって縮小された低解像画像には全体画像の把握が
容易となるように情報を残しておく必要がある。このよ
うな縮小を従来方式で行うと情報が失われてしまう欠点
があった。第10図(b)は原画像(1)の×印の画素
をサブサンプリングし、縦,横方向1/2に縮小画像
(2)を得る例である。
In the hierarchical encoding method, as described above, the entire image can be transmitted at an early stage by sequentially transmitting the reduced images in the order of low resolution.
Therefore, it is necessary to leave information in the reduced low-resolution image so that the entire image can be easily grasped. If such reduction is performed by the conventional method, there is a disadvantage that information is lost. FIG. 10 (b) shows an example of sub-sampling the pixels marked with x in the original image (1) to obtain a reduced image (2) in the vertical and horizontal directions.

【0009】サブサンプリングのみの場合、同図のよう
に1本のラインLがサンプリング点(図中×印)の中間
にある場合、このラインは縮小により消失する。このよ
うな欠点を解消するためにフィルタリングを行った後サ
ブサンプリングする方式が考えられている。その例を第
10図(c)に示す。第10図(c)で×印はサンプリ
ング点である。第10図(c)の例ではサブサンプリン
グを行う前に第10図(c)の(3)のような係数をも
つ3×3のローパスフィルタをかけ、フィルタ出力の2
値化を行う。たとえばフィルタ出力が8以上の場合は
1、8未満の場合は0と2値化定義できる。しかしなが
らフィルタリングを用いる方式においても、第10図
(c)の例で原画中の縦1本線L2がサブサンプリング
の間にあるときはラインが消失する欠点が改良されな
い。
In the case of only sub-sampling, if one line L is in the middle of a sampling point (marked by x in the figure) as shown in the figure, this line disappears due to reduction. In order to solve such a disadvantage, a method of performing sub-sampling after performing filtering has been considered. An example is shown in FIG. 10 (c). In FIG. 10 (c), crosses indicate sampling points. In the example shown in FIG. 10 (c), a 3 × 3 low-pass filter having a coefficient as shown in (3) of FIG.
Perform value conversion. For example, binarization can be defined as 1 when the filter output is 8 or more, and 0 when it is less than 8. However, even in the method using filtering, the disadvantage that the line disappears when the single vertical line L2 in the original image is between the sub-samplings in the example of FIG. 10 (c) is not improved.

【0010】従って、縮小を何回もくり返すシステムに
おいては1画素巾のラインを保存しなくては、低解像画
像において、最終的にはラインが消えてしまう。そこで
サンプリング点にかかわらず1画素ラインのような細線
を保存する必要がある。また、ディザ画像等の2値の疑
似中間調画像において、このような縮小を行うと、サン
プリング点により濃度情報が失われてしまう欠点があっ
た。特に低濃度あるいは高濃度において、疑似中間調に
よるドツトが離散点在している場合、中間調が急に失わ
れたり、濃度の逆転が発生する問題があった。
Therefore, in a system in which the reduction is repeated many times, a line having a width of one pixel must be preserved, and the line will eventually disappear in a low-resolution image. Therefore, it is necessary to save a thin line such as one pixel line regardless of the sampling point. Further, when such a reduction is performed in a binary pseudo halftone image such as a dither image, there is a disadvantage that density information is lost due to sampling points. In particular, in the case of low density or high density, when dots due to the pseudo halftone are discretely scattered, there is a problem that the halftone is suddenly lost or the density is reversed.

【0011】[0011]

【課題を解決するための手段】本発明は以上の点に鑑み
てなされたもので、線画等における細線の消失やディザ
画像における濃度や情報の欠落を防止して2値画像を縮
小して符号化する符号化装置を提案することを目的とす
る。この目的のために、本発明の画像符号化装置は、原
稿画像を表す原稿画像データを記憶する第1の記憶手段
と、前記原稿画像データを縮小し、その縮小された画像
を表す第1の縮小画像データを出力する第1の縮小手段
と、前記第1の縮小画像データを記憶する第2の記憶手
段と、前記第1の縮小画像データを縮小し、その縮小さ
れた画像を表す第2の縮小画像データを出力する第2の
縮小手段と、前記第1の記憶手段から出力された前記原
稿画像データと、前記第2の記憶手段から出力された前
記第1の縮小画像データと、前記第2の縮小手段から出
力された前記第2の縮小画像データとを符号化する符号
化手段とを具備する。
SUMMARY OF THE INVENTION The present invention has been made in view of the above points, and is intended to reduce the size of a binary image by preventing the disappearance of fine lines in a line drawing or the like and the loss of density or information in a dither image. It is an object of the present invention to propose an encoding device for encoding. For this purpose, the image encoding apparatus according to the present invention includes a first storage unit that stores original image data representing an original image, a first storage unit that reduces the original image data, and a first storage unit that represents the reduced image. First reducing means for outputting reduced image data, second storing means for storing the first reduced image data, and a second means for reducing the first reduced image data and representing the reduced image A second reduction unit that outputs the reduced image data of the original, the document image data output from the first storage unit, the first reduced image data output from the second storage unit, Encoding means for encoding the second reduced image data output from the second reducing means.

【0012】そして、前記第1の縮小手段と第2の縮小
手段とは、第1の縮小画像と第2の縮小画像を形成する
任意の画素の第1の縮小画像データと第2の縮小画像デ
ータを決定するために、(a-1) 縮小対象の注目画素の
画像データと、(a-2) 前記注目画素の周囲の画素の画
像データと、(b-1) 前記注目画素の前に位置する任意
の第1の縮小画素の縮小画像データと、(b-2) 前記注
目画素の上に位置する任意の第2の縮小画素の縮小画像
データと(b-3) 前記第1の縮小画素の上且つ前記第2
の縮小画素の前方に位置する任意の第3の縮小画素の縮
小画像データとを参照することを特徴とする。
The first reduction means and the second reduction means comprise first reduced image data of arbitrary pixels forming a first reduced image and a second reduced image, and a second reduced image. To determine the data, (a-1) the image data of the pixel of interest to be reduced, (a-2) the image data of the pixels surrounding the pixel of interest, and (b-1) before the pixel of interest (B-2) reduced image data of an arbitrary second reduced pixel located above the pixel of interest, and (b-3) reduced image data of an arbitrary first reduced pixel located therein. Above the pixel and the second
, And reference is made to reduced image data of an arbitrary third reduced pixel located in front of the reduced pixel.

【0013】同目的を達成するために、本発明の画像符
号化装置は、原稿画像を表す原稿画像データを記憶する
フレーム手段と、前記原稿画像データを縮小し、その縮
小された画像を表す縮小画像データを出力する縮小手段
と、前記縮小画像データを保持する保持手段と、前記縮
小手段から出力された前記縮小画像データを符号化する
符号化手段とを具備しする。
In order to achieve the above object, an image encoding apparatus according to the present invention comprises: frame means for storing original image data representing an original image; a reducing means for reducing the original image data; The image processing apparatus includes: a reducing unit that outputs image data; a holding unit that holds the reduced image data; and an encoding unit that encodes the reduced image data output from the reducing unit.

【0014】そして、前記縮小手段は、その縮小された
画像を形成する各々の画素の縮小画像データを決定する
ために、(a-1) 前記フレーム手段から読み出された、
縮小対象の注目画素の画像データと、(a-2) 前記フレ
ーム手段から読み出された、前記注目画素の周囲の画素
の画像データと、(b-1) 前記保持手段から読み出され
た、前記注目画素の前に位置する任意の第1の縮小画素
の縮小画像データと、(b-2) 前記保持手段から読み出
された、前記注目画素の上に位置する任意の第2の縮小
画素の縮小画像データと(b-3) 前記保持手段から読み
出された、前記第1の縮小画素の上且つ前記第2の縮小
画素の前方に位置する任意の第3の縮小画素の縮小画像
データとをフィルタ処理することを特徴とする。
The reduction means reads out (a-1) the frame means in order to determine reduced image data of each pixel forming the reduced image.
Image data of the pixel of interest to be reduced, (a-2) read from the frame unit, image data of pixels around the pixel of interest, and (b-1) read from the holding unit, Reduced image data of any first reduced pixel located before the pixel of interest; and (b-2) any second reduced pixel located above the pixel of interest read from the holding unit. And (b-3) reduced image data of an arbitrary third reduced pixel that is read from the holding unit and located above the first reduced pixel and in front of the second reduced pixel. Are filtered.

【0015】[0015]

【発明の実施の形態】第1図は本発明を適用した2値画
像符号化装置の構成を示している。本実施形態では縦,
横共に1/2 に縮小する例を示す。1は縮小すべき2値画
像を格納するためのフレームメモリである。2値画像は
例えば、イメージリーダー等から入力Iを介してフレー
ムメモリ1に入力されている。フレームメモリ1に格納
された画像はフィルタ演算部2へラスタ毎に入力され
る。また、すでに縮小した画素がフィードバックライン
71を通じてフィルタ演算部2へ入力される。フィルタ
演算部2では縮小処理を行おうとする注目画素と周辺の
画素とさらにすでに縮小した2値画素の間で画素間演算
が行われる。
FIG. 1 shows the configuration of a binary image encoding apparatus to which the present invention is applied. In the present embodiment,
Here is an example of reducing both sides to half. Reference numeral 1 denotes a frame memory for storing a binary image to be reduced. The binary image is input to the frame memory 1 via an input I from an image reader or the like, for example. The image stored in the frame memory 1 is input to the filter operation unit 2 for each raster. The already reduced pixels are input to the filter operation unit 2 through the feedback line 71. The filter operation unit 2 performs an inter-pixel operation between the pixel of interest to be subjected to the reduction processing, the peripheral pixels, and the already reduced binary pixels.

【0016】第2図にフィルタ演算部2で行われるフィ
ルタ演算に用いる演算画素を示す。第2図(a)は縮小
処理を行う注目画素Xij(i=1〜M、j=1,N;M
Nは横・縦方向の画像サイズ)と周辺画素であり、注目
画素Xijを中心とした3×3画素である。第2図(b)
はすでに縮小処理を施した画素A,B,Cと、これから
決定しようとする縮小画素
FIG. 2 shows operation pixels used in the filter operation performed by the filter operation unit 2. FIG. 2A shows a target pixel Xij (i = 1 to M, j = 1, N; M) to be subjected to reduction processing.
N is an image size in the horizontal and vertical directions) and peripheral pixels, which are 3 × 3 pixels centered on the target pixel Xij. FIG. 2 (b)
Are the pixels A, B, and C that have already been reduced and the reduced pixels that are to be determined

【0017】[0017]

【数1】 (Equation 1)

【0018】の位置関係を示す。第2図(b)におい
て、A,B,Cは、それぞれ、これから決定しようとす
る縮小画素
The following shows the positional relationship. In FIG. 2 (b), A, B and C are reduced pixels to be determined, respectively.

【0019】[0019]

【数2】 (Equation 2)

【0020】(演算結果Yijを2値化したもの)の前の
縮小画素,前ラインの縮小画素の同位置の縮小画素及び
その前の縮小画素である。フィルタ演算は次のように行
われる。フィルタ出力をYijとすると、 Yij= 4×Xi,j +2(Xi,j-1+Xi-1,j+Xi+1,j+Xi,j+1) +(Xi-1,j-1+Xi+1,j-1+Xi-1,j+1+Xi+1,j+1) −3(A+B)−C …(1) すなわち、第3図のごとく、注目画素周辺には同図
(a)の係数が、また、すでにフィルタ処理を行った縮
小画素には同図(b)の係数が与えられた再帰形フィル
タの構成となっている。第3図(a)の注目画素(Xi
j)を中心として係数値が回転対称であるため、周辺画
素値を均等に演算することができる。また、第3図
(b)の如く、フィルタ演算を行い、2値化後、サブサ
ンプリングされた画素のうち、左(直前)と上(1ライ
ン前)と左上(1ライン前の画素の直前)の画素を再帰
部の係数として演算することにより、縦,横,斜め方向
の細線の保存性を向上させることができる。また、再帰
部の係数が対称にフィードバックされているため、1画
素おきのライン、例えば市松模様等の周期パターンの形
を保存して縮小することができる。
The reduced pixel before (the binarized result of the operation Yij), the reduced pixel at the same position as the reduced pixel on the previous line, and the reduced pixel before it. The filter operation is performed as follows. If the filter output and Yij, Y ij = 4 × X i, j +2 (X i, j-1 + X i-1, j + X i + 1, j + X i, j + 1) + (X i-1, j-1 + Xi + 1, j-1 + Xi -1, j + 1 + Xi + 1, j + 1 ) -3 (A + B) -C (1) That is, as shown in FIG. Has a coefficient shown in FIG. 9A, and a recursive filter in which reduced pixels which have already been subjected to the filter processing are given the coefficient shown in FIG. The pixel of interest (Xi
Since the coefficient values are rotationally symmetric about j), the peripheral pixel values can be calculated uniformly. Also, as shown in FIG. 3 (b), after performing a filter operation and binarizing, among the subsampled pixels, the left (immediately before), the upper (one line before) and the upper left (immediately before the pixel one line before) ) Is calculated as the coefficient of the recursive section, it is possible to improve the preservability of thin lines in the vertical, horizontal and oblique directions. In addition, since the coefficient of the recursive unit is symmetrically fed back, it is possible to save and reduce the line of every other pixel, for example, the shape of a periodic pattern such as a checkered pattern.

【0021】第4図はサブサンプリング点*を中心とす
る非縮小画素とすでに縮小した画素A,B,Cの関係を
示したものである。第3図のフィルタ係数から明らかな
ように、縮小結果画素
FIG. 4 shows the relationship between non-reduced pixels centered on the sub-sampling point * and pixels A, B and C already reduced. As is clear from the filter coefficients in FIG.

【0022】[0022]

【数3】 (Equation 3)

【0023】と最も相関の強い非縮小画素は太線で囲ま
れた3×3画素であり、すべての縮小画素は図のように
方向にかたよりのないものとなっている。尚、第2図及
び第3図示の例ではフィルタ演算に用いる縮小画像とし
てフィルタ演算により決定する縮小画素の前の縮小画
素,前ライン上にある注目画素の真上に位置する縮小画
素及びその前の縮小画素を用いたが、この3つの縮小画
素に限るものではなく、例えば、これら縮小画素に更に
決定する縮小画素の2つ前の縮小画素や2つ前のライン
上にある注目画素の真上に位置する縮小画素等を加えた
4以上の縮小画素をフィルタ演算に用いてもよい。これ
によると、縮小画像に原画像の特徴を更に良好に保存で
きるが、フィルタ演算部の規模が大きくなる。
The non-reduced pixels having the strongest correlation are 3 × 3 pixels surrounded by a bold line, and all the reduced pixels have no deflection in the direction as shown in the figure. In the examples shown in FIGS. 2 and 3, a reduced pixel before a reduced pixel determined by the filter operation as a reduced image used for the filter operation, a reduced pixel located immediately above a target pixel on the previous line, and Is used, but the present invention is not limited to these three reduced pixels. For example, the true pixels of the pixel of interest on the line two lines before the reduced pixel to be further determined as these reduced pixels or the line before the reduced pixel are used. Four or more reduced pixels obtained by adding the reduced pixels and the like located above may be used for the filter operation. According to this, the characteristics of the original image can be stored more favorably in the reduced image, but the scale of the filter operation unit increases.

【0024】フィルタ演算部2において(1)式によっ
て演算された値Yij(多値データ)は、フィルタ演算部
2から比較器4へ入力される。比較器4では次のように
Yijの2値化を行う。即ち、
The value Yij (multi-value data) calculated by the filter operation unit 2 according to the equation (1) is input from the filter operation unit 2 to the comparator 4. The comparator 4 binarizes Yij as follows. That is,

【0025】[0025]

【数4】 (Equation 4)

【0026】をYijの2値化後の値とするとYij>T
なら
Let Yij> T be the value of Yij after binarization.
If

【0027】[0027]

【数5】 (Equation 5)

【0028】また、Yij<T ならIf Yij <T,

【0029】[0029]

【数6】 (Equation 6)

【0030】のように2値化する。この2値化方式によ
る入力データに対する1,0の出現確率を等確率(0.
5)とすると、フィルタ演算出力の期待値は4.5であ
る。従って、T=5とすると、入力データパターンに対
し、1,0シンメトリツクなパターンの2値化出力も
1,0シンメトリツクなものとなる。尚、本実施形態で
はT=5とするが、このTの値を変化させると2値出力
つまり画質が変化する。つまり、Tの値を上げていくと
出力0となる割合が多くなり、下げていくと出力1とな
る割合が多くなる。従って、1を黒,0を白とすると、
前者はネガ画像,後者はポジ画像に特に有効である。
Binarization is performed as shown in FIG. The appearance probabilities of 1,0 with respect to input data by this binarization method are equal probabilities (0.
Assuming 5), the expected value of the filter operation output is 4.5. Therefore, when T = 5, the binarized output of the 1,0 symmetric pattern with respect to the input data pattern is also 1,0 symmetric. In this embodiment, T = 5. However, if the value of T is changed, the binary output, that is, the image quality changes. That is, as the value of T increases, the ratio of output 0 increases, and as the value of T decreases, the ratio of output 1 increases. Therefore, if 1 is black and 0 is white,
The former is particularly effective for negative images, and the latter is particularly effective for positive images.

【0031】比較器4で2値化されたデータはセレクタ
部5で選択され、サブサンプリング部6に入力される。
第5図はサブサンプリング部6のサンプリング位置を示
したものである。主走査方向(横方向),副走査方向
(縦方向)に1つおきのタイミングで図の斜線で示した
データをサンプルすることにより、縦,横共1/2 サイズ
(面積比で1/4 )のサブサンプリング画像を形成するこ
とができる。このサブサンプリング比を変化させること
により縮小率を変えることも可能である。
The data binarized by the comparator 4 is selected by the selector unit 5 and input to the sub-sampling unit 6.
FIG. 5 shows the sampling positions of the sub-sampling unit 6. By sampling the data indicated by diagonal lines in the main scanning direction (horizontal direction) and every other timing in the sub-scanning direction (vertical direction), both the vertical and horizontal sizes are 1/2 (area ratio is 1/4). ) Can be formed. It is also possible to change the reduction ratio by changing the sub-sampling ratio.

【0032】サンプリング部6でサブサンプリングされ
た縮小画像はラスタ毎に順次フレームメモリ7へ格納さ
れる。フレームメモリ7からはすでに縮小されて格納済
の画素データをフィルタ演算部2にライン71を通じて
送り、再帰成分としてフィルタ演算部2ではフィルタ演
算を行っている。次に例外処理部3について説明する。
以上述べた方法により縮小画像を生成する方式において
も、細線等の保存がされない場合がある。第6図及び第
7図にその例を示す。それぞれの図は第2図の各画素に
対応し、小さい3×3画素は非縮小画素MIに、大きい
3画素は既に縮小した縮小画素RIに対応する。また
■,□はそれぞれ黒画素,白画素、
The reduced images subsampled by the sampling section 6 are sequentially stored in the frame memory 7 for each raster. The pixel data already reduced and stored from the frame memory 7 is sent to the filter operation unit 2 through the line 71, and the filter operation unit 2 performs the filter operation as a recursive component. Next, the exception processing unit 3 will be described.
Even in the method of generating a reduced image by the method described above, there are cases where thin lines or the like are not stored. 6 and 7 show examples. Each figure corresponds to each pixel in FIG. 2, a small 3 × 3 pixel corresponds to a non-reduced pixel MI, and a large 3 pixel corresponds to a reduced pixel RI already reduced. ■ and □ are black pixel, white pixel,

【0033】[0033]

【数7】 (Equation 7)

【0034】はDon't careの画素である。第6図はサブ
サンプリング点が3×3の非縮小画素MIの中央である
場合に1画素ラインが縮小により消失する例である。ま
た、画像のエッジ等においても同様な消失が生ずる。第
6図の例では縮小画素RIがどんな場合でもフィルタ演
算値は4以下となり、白画素に縮小される。
Is a Don't care pixel. FIG. 6 shows an example in which one pixel line disappears due to reduction when the sub-sampling point is at the center of the 3 × 3 non-reduced pixel MI. Further, similar disappearance occurs at the edge of the image and the like. In the example of FIG. 6, the filter operation value is 4 or less and the pixel is reduced to a white pixel regardless of the reduced pixel RI.

【0035】第7図はディザ画像等の疑似中間調を縮小
する際の問題点を説明する。疑似中間調画像は黒画素に
周期性があるためサンプリング点との位置関係により中
間調濃度が著しく変化したり画像が消失したりする問題
が生じる。第7図(a),(b),(c),(d)で縮
小画素RIの3画素がすべて白画素の場合、フィルタ演
算値はすべて4以下であり白画素に縮小される。しか
し、これらの場合、中間調画像の孤立点である可能性が
高く黒画像に縮小しなければ前述の問題が発生する。
FIG. 7 illustrates a problem in reducing a pseudo halftone such as a dither image. Since the pseudo halftone image has periodicity in black pixels, there arises a problem that the halftone density significantly changes or the image disappears depending on the positional relationship with the sampling point. 7 (a), (b), (c), and (d), when all three of the reduced pixels RI are white pixels, the filter operation values are all 4 or less and are reduced to white pixels. However, in these cases, there is a high possibility that the image is an isolated point of the halftone image, and the above-described problem occurs unless the image is reduced to a black image.

【0036】そこで、第1図の如く例外処理部3を設
け、フィルタ演算処理とサブサンプリングによる縮小処
理とは別に例外処理を施すことにより、細線,エッジ,
孤立点等の情報を保存する。例外処理部3には、フィル
タ演算部2と同様にフレームメモリ1から縮小しようと
する画像信号がラスタ毎に順次入力されている。ここで
はフィルタ演算部2で参照する3×3画素と同画素を同
タイミングで参照する。また、フレームメモリ7に格納
されている既に縮小処理を施した画素(第2図A,B,
C)もライン71を通じて例外処理部3へ入力される。
すなわち、フィルタ演算部2と例外処理部3は完全に並
列な処理を行っている。
Therefore, as shown in FIG. 1, an exception processing unit 3 is provided, and exception processing is performed separately from the filtering operation processing and the reduction processing by sub-sampling, whereby fine lines, edges,
Saves information such as isolated points. The image signal to be reduced is sequentially input to the exception processing unit 3 for each raster from the frame memory 1 as in the filter operation unit 2. Here, the same pixel is referred to at the same timing as the 3 × 3 pixel referred to by the filter operation unit 2. In addition, the pixels which have already been reduced and stored in the frame memory 7 (FIGS. 2A, B,
C) is also input to the exception processing unit 3 through the line 71.
That is, the filter operation unit 2 and the exception processing unit 3 perform completely parallel processing.

【0037】例外処理部3へ入力された非縮小画素3×
3画素と縮小画素3画素が第6図又は第7図のようなパ
ターンの場合はフィルタ演算後に比較器4で2値化した
結果は縮小画素としては好ましくない。そこで、これら
の場合、例外パターンとしてライン31へ縮小結果(白
画素“0”又は黒画素“1”)を出力すると同時に例外
であることを示す信号“1”(例外でない場合は
“0”)をライン32へ出力する。ライン31,32は
セレクタ部5に入力されており、ライン32が“0”の
場合は例外パターンでなく比較器4からの信号を選択す
る。逆にライン32が“1”の場合、例外パターンであ
り、例外処理部3の結果、すなわちライン31を選択す
るようになっている。
The non-reduced pixel 3 × input to the exception processing unit 3
If the three pixels and the three reduced pixels have a pattern as shown in FIG. 6 or FIG. 7, the result of binarization by the comparator 4 after the filter operation is not preferable as the reduced pixel. Therefore, in these cases, the reduction result (white pixel “0” or black pixel “1”) is output to the line 31 as an exception pattern, and at the same time, a signal “1” indicating the exception (“0” otherwise) is indicated. To line 32. The lines 31 and 32 are input to the selector unit 5. When the line 32 is "0", a signal from the comparator 4 is selected instead of an exception pattern. Conversely, if the line 32 is “1”, it is an exception pattern, and the result of the exception processing unit 3, that is, the line 31 is selected.

【0038】セレクタ部6で選択された画素信号は前述
のようにサブサンプリング部6でサブサンプルされた
後、縮小画像としてフレームメモリ7へ格納される。以
上示したように、すでに縮小した画素をフィードバック
係数とする再帰型フィルタ演算部2と演算結果を2値化
する比較器4を備えたので、細線周期パターン等の保存
性の良い縮小画像を生成することができる。更に、フィ
ルタ演算を補正する例外処理部3を備えることにより細
線,エッジ,疑似中間調画像等の保存性を一層向上させ
ることができる。 [第2実施形態]第8図は第1図に示した縮小装置を階
層的符号化に応用した場合のブロツク図である。
The pixel signal selected by the selector unit 6 is sub-sampled by the sub-sampling unit 6 as described above, and then stored in the frame memory 7 as a reduced image. As described above, since the apparatus includes the recursive filter operation unit 2 that uses already reduced pixels as a feedback coefficient and the comparator 4 that binarizes the operation result, a reduced image with good storability such as a fine line periodic pattern is generated. can do. Further, by providing the exception processing unit 3 for correcting the filter operation, it is possible to further improve the preservability of fine lines, edges, pseudo halftone images, and the like. [Second Embodiment] FIG. 8 is a block diagram when the reduction apparatus shown in FIG. 1 is applied to hierarchical coding.

【0039】15,17,19はフレームメモリ、1
6,18は第1図示の構成の縮小回路、20,22,2
4は参照画素決定回路、21,23,25は符号器であ
る。まず、2値画像信号の原画データIは、フレームメ
モリ15に記憶される。次にフレームメモリ15の原画
データは縮小回路16により縮小され、フレームメモリ
17に記憶される。このときに縮小回路16はフレーム
メモリ15の原画データとすでにフレームメモリ17に
記憶されている縮小データを用い、前述した(1)式の
フィルタ演算を行って縮小動作する。そして、フレーム
メモリ17に記憶される信号は原画の1/2 に縮小された
ものとなっている。同様に、フレームメモリ17から読
み出された信号はフレームメモリ19からの縮小データ
を考慮して縮小回路18によって原画の1/4 の画像に縮
小され、フレームメモリ19に記憶される。
Reference numerals 15, 17, and 19 denote frame memories, 1
Reference numerals 6 and 18 denote reduction circuits having the configuration shown in FIG.
4 is a reference pixel determination circuit, 21, 23 and 25 are encoders. First, the original image data I of the binary image signal is stored in the frame memory 15. Next, the original image data in the frame memory 15 is reduced by the reduction circuit 16 and stored in the frame memory 17. At this time, the reduction circuit 16 performs the reduction operation by using the original image data of the frame memory 15 and the reduced data already stored in the frame memory 17 to perform the filter operation of the above-described equation (1). The signal stored in the frame memory 17 is reduced to half of the original image. Similarly, the signal read from the frame memory 17 is reduced to a quarter of the original image by the reduction circuit 18 in consideration of the reduced data from the frame memory 19 and stored in the frame memory 19.

【0040】参照画素決定回路20,22,24はそれ
ぞれフレームメモリ19,17,15に記憶されている
画像データのサイズ(画素数)を検出し、例えば算術符
号による符号化に最適な参照画素数、及び参照画素位置
を設定する。符号器21では参照画素決定回路20によ
り設定された参照画素を用いてフレームメモリ19に記
憶された1/4 の画像信号が符号化され、第1段階の信号
26として出力される。同様に符号器23,25ではそ
れぞれ参照画素決定回路22,24より設定された参照
画素を用いてそれぞれフレームメモリ17,15に記憶
された1/2 の画像及び原画像信号が符号化され、それぞ
れ第2段階の信号108、第3段階の信号109として
出力される。
The reference pixel determination circuits 20, 22, and 24 detect the sizes (number of pixels) of the image data stored in the frame memories 19, 17, and 15, respectively. , And a reference pixel position. The encoder 21 encodes a 1/4 image signal stored in the frame memory 19 using the reference pixel set by the reference pixel determination circuit 20 and outputs it as a first-stage signal 26. Similarly, the encoders 23 and 25 encode the half image and the original image signal stored in the frame memories 17 and 15 using the reference pixels set by the reference pixel determination circuits 22 and 24, respectively. The second stage signal 108 and the third stage signal 109 are output.

【0041】このように、第1段階から第3段階までの
画像データを解像度の低い画像データから順に符号化伝
送することにより、画像の全体像をいち早く識別し、も
し、そのデータが不要の場合には、以後の伝送を停止さ
せることが可能となる。これにより効率のよい画像通信
サービスが可能となる。また、ここでは第3段階までし
か述べなかったが、任意の段階に容易に拡張する事が可
能である事は言うまでもない。
As described above, the image data from the first stage to the third stage is coded and transmitted in order from the image data having the lower resolution, so that the entire image of the image can be identified quickly, and if the data is unnecessary. , The subsequent transmission can be stopped. This enables an efficient image communication service. In addition, although only the third stage has been described here, it is needless to say that the present embodiment can be easily extended to an arbitrary stage.

【0042】第8図示の符号器21,23,25は、そ
れぞれ参照画素決定回路20,22,24で得られた参
照画素から注目画素の値を予測符号化を行う算術符号等
のエントロピー符号化により構成できる。算術符号につ
いては一般的に知られているので説明は省略する。以上
述べたように第1図示の縮小装置を段階的符号化に応用
することにより、画質劣化の少ないプログレッシブな画
像符号化を行うことができる。 [第3実施形態]第9図は第1図示の縮小装置を画像入
出力装置に用いた場合のブロツク図である。即ち、画像
入力装置の解像度より出力装置の解像度が低い場合の解
像度変換に適応したものである。
Encoders 21, 23 and 25 shown in FIG. 8 perform entropy coding such as arithmetic coding for predictively coding the value of a target pixel from the reference pixels obtained by the reference pixel determination circuits 20, 22, and 24, respectively. Can be configured. Arithmetic codes are generally known and will not be described. As described above, by applying the reduction device shown in FIG. 1 to stepwise encoding, progressive image encoding with little image quality degradation can be performed. [Third Embodiment] FIG. 9 is a block diagram when the reduction device shown in FIG. 1 is used as an image input / output device. That is, it is adapted to resolution conversion when the resolution of the output device is lower than the resolution of the image input device.

【0043】91は画像入力装置で、画像読取装置ある
いは画像受信端末、92は第1図示の縮小回路、93は
画像出力プリンタあるいは画像送信端末である。たとえ
ば、画像入力装置91により入力された画像が400dpiで
画像出力装置93により出力する画像が200dpiの場合、
第1図示の構成における1/2 縮小を行うことにより、画
質劣化の少ない縮小画像を生成することができる。他の
解像度あるいは他の縮小率においても縮小動作を繰返す
ことにより、又はサブサンプルの間隔を異ならせる等に
より適応できる。また画像入出力装置の代わりに画像デ
ータベース等を格納してあるデイスク等の間の画像縮小
にも適応できる。
Reference numeral 91 denotes an image input device, which is an image reading device or an image receiving terminal; 92, a reduction circuit shown in FIG. 1; and 93, an image output printer or an image transmitting terminal. For example, when the image input by the image input device 91 is 400 dpi and the image output by the image output device 93 is 200 dpi,
By performing 1/2 reduction in the configuration shown in FIG. 1, a reduced image with less image quality degradation can be generated. It can be adapted by repeating the reduction operation at another resolution or another reduction ratio, or by changing the interval between subsamples. Further, the present invention can be applied to image reduction between disks or the like storing an image database or the like instead of the image input / output device.

【0044】[0044]

【発明の効果】以上説明したように、本発明の符号化装
置によれば、縮小化後の画像の状態を考慮して縮小処理
が行われるので、従来の2値画像の符号化では縮小時に
消失していた画像のエッジ,細線、あるいはディザ画像
等疑似中間調画像の情報は、符号化後においても保存す
ることができる。更に本発明を階層的符号化に応用する
ことにより情報保存性の良い低解像画像を得ることがで
き、全体画像の早期伝送がより効果的に行える。また出
力装置の解像度が入力装置のそれよりも低い場合、本発
明の符号化を行えば、劣化の少ない縮小画像を得ること
ができる。
As described above, according to the encoding apparatus of the present invention, since the reduction processing is performed in consideration of the state of the image after the reduction, the conventional binary image coding performs The information of the pseudo halftone image such as the edge, the thin line, or the dither image of the lost image can be stored even after the encoding. Furthermore, by applying the present invention to hierarchical coding, a low-resolution image with good information preservation can be obtained, and early transmission of the entire image can be performed more effectively. Further, when the resolution of the output device is lower than that of the input device, by performing the encoding of the present invention, a reduced image with little deterioration can be obtained.

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

【図1】本発明を適用した2値画像縮小装置の構成を示
すブロツク図である。
FIG. 1 is a block diagram showing a configuration of a binary image reducing device to which the present invention is applied.

【図2a】フィルタ演算画素を示す図である。FIG. 2A is a diagram showing a filter operation pixel.

【図2b】フィルタ演算画素を示す図である。FIG. 2B is a diagram showing a filter operation pixel.

【図3a】フィルタ演算係数を示す図である。FIG. 3a is a diagram showing filter operation coefficients.

【図3b】フィルタ演算係数を示す図である。FIG. 3B is a diagram showing filter operation coefficients.

【図4】サブサンプリング位置と縮小画素の位置関係を
示す図である。
FIG. 4 is a diagram illustrating a positional relationship between a sub-sampling position and a reduced pixel.

【図5】サブサンプリングの位置を示す図である。FIG. 5 is a diagram showing positions of sub-sampling.

【図6a】フィルタ演算のみの縮小時に細線が消失する
例を示す図である。
FIG. 6A is a diagram illustrating an example in which a thin line disappears when only a filter operation is reduced.

【図6b】フィルタ演算のみの縮小時に細線が消失する
例を示す図である。
FIG. 6B is a diagram showing an example in which a thin line disappears when only the filter operation is reduced.

【図7a】フィルタ演算のみの縮小時にディザ画像等の
孤立点が消失する例を示す図である。
FIG. 7A is a diagram illustrating an example in which an isolated point such as a dither image disappears when only a filter operation is reduced.

【図7b】フィルタ演算のみの縮小時にディザ画像等の
孤立点が消失する例を示す図である。
FIG. 7B is a diagram illustrating an example in which an isolated point such as a dither image disappears when only the filter operation is reduced.

【図7c】フィルタ演算のみの縮小時にディザ画像等の
孤立点が消失する例を示す図である。
FIG. 7C is a diagram showing an example in which an isolated point such as a dither image disappears when only the filter operation is reduced.

【図7d】フィルタ演算のみの縮小時にディザ画像等の
孤立点が消失する例を示す図である。
FIG. 7D is a diagram showing an example in which an isolated point such as a dither image disappears when only the filter operation is reduced.

【図7e】フィルタ演算のみの縮小時にディザ画像等の
孤立点が消失する例を示す図である。
FIG. 7E is a diagram showing an example in which an isolated point such as a dither image disappears when only the filter operation is reduced.

【図8】本発明を階層的符号化に適用した場合のブロツ
ク図である。
FIG. 8 is a block diagram when the present invention is applied to hierarchical coding.

【図9】本発明を入出力装置に適用した場合のブロツク
図である。
FIG. 9 is a block diagram when the present invention is applied to an input / output device.

【図10a】従来の階層的符号化を示すブロツク図であ
る。
FIG. 10a is a block diagram showing conventional hierarchical coding.

【図10b】従来のサブサンプリングによる縮小例を示
す図である。
FIG. 10b is a diagram showing an example of reduction by conventional sub-sampling.

【図10c】従来のローパスフィルタとサブサンプリン
グによる縮小例を示す図である。
FIG. 10c is a diagram showing a conventional low-pass filter and an example of reduction by sub-sampling.

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

1,7…フレームメモリ、 2…フィルタ演算部、 3…例外処理部、 4…比較器、 5…セレクタ部 1, 7: frame memory, 2: filter operation unit, 3: exception processing unit, 4: comparator, 5: selector unit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 河村 尚登 東京都大田区下丸子3丁目30番2号 キ ヤノン株式会社内 (72)発明者 加藤 久晴 東京都新宿区西新宿2丁目3番2号 国 際電信電話株式会社内 (58)調査した分野(Int.Cl.6,DB名) H04N 1/393 G06T 3/40 H04N 1/41 H04N 1/411 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Naoto Kawamura 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc. (72) Inventor Hisaharu Kato 2-3-2 Nishishinjuku, Shinjuku-ku, Tokyo Country (58) Field surveyed (Int.Cl. 6 , DB name) H04N 1/393 G06T 3/40 H04N 1/41 H04N 1/411

Claims (13)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 原稿画像を表す原稿画像データを記憶す
る第1の記憶手段と、 前記原稿画像データを縮小し、その縮小された画像を表
す第1の縮小画像データを出力する第1の縮小手段と、 前記第1の縮小画像データを記憶する第2の記憶手段
と、 前記第1の縮小画像データを縮小し、その縮小された画
像を表す第2の縮小画像データを出力する第2の縮小手
段と、 前記第1の記憶手段から出力された前記原稿画像データ
と、前記第2の記憶手段から出力された前記第1の縮小
画像データと、前記第2の縮小手段から出力された前記
第2の縮小画像データとを符号化する符号化手段とを具
備し、 前記第1の縮小手段と第2の縮小手段とは、第1の縮小
画像と第2の縮小画像を形成する任意の画素の第1の縮
小画像データと第2の縮小画像データを決定するため
に、 (a-1) 縮小対象の注目画素の画像データと、 (a-2) 前記注目画素の周囲の画素の画像データと、 (b-1) 前記注目画素の前に位置する任意の第1の縮小
画素の縮小画像データと、 (b-2) 前記注目画素の上に位置する任意の第2の縮小
画素の縮小画像データと (b-3) 前記第1の縮小画素の上且つ前記第2の縮小画
素の前方に位置する任意の第3の縮小画素の縮小された
画像データ、 とを参照することを特徴とする画像符号化装置。
A first storage unit that stores original image data representing an original image; a first reduction unit that reduces the original image data and outputs first reduced image data representing the reduced image Means, second storage means for storing the first reduced image data, and second storage for reducing the first reduced image data and outputting second reduced image data representing the reduced image. Reduction means, the original image data output from the first storage means, the first reduced image data output from the second storage means, and the output from the second reduction means. Encoding means for encoding the second reduced image data, wherein the first reducing means and the second reducing means include an arbitrary one for forming a first reduced image and a second reduced image. The first reduced image data and the second reduced image data of the pixel (A-1) image data of a target pixel to be reduced, (a-2) image data of pixels around the target pixel, and (b-1) before the target pixel. (B-2) reduced image data of an arbitrary second reduced pixel located above the target pixel; and (b-3) reduced image data of an arbitrary first reduced pixel located therein. A reduced image data of an arbitrary third reduced pixel located above the pixel and in front of the second reduced pixel.
【請求項2】 前記参照した複数の画素の画像データを
フィルタ処理することにより縮小画像データを決定する
ことを特徴とする請求項1に記載の画像符号化装置。
2. The image encoding apparatus according to claim 1, wherein reduced image data is determined by filtering image data of the plurality of pixels referred to.
【請求項3】 原稿画像を表す原稿画像データを記憶す
るフレーム手段と、 前記原稿画像データを縮小し、その縮小された画像を表
す縮小画像データを出力する縮小手段と、 前記縮小画像データを保持する保持手段と、 前記縮小手段から出力された前記縮小画像データを符号
化する符号化手段とを具備し、 前記縮小手段は、その縮小された画像を形成する各々の
画素の縮小画像データを決定するために、 (a-1) 前記フレーム手段から読み出された、縮小対象
の注目画素の画像データと、 (a-2) 前記フレーム手段から読み出された、前記注目
画素の周囲の画素の画像データと、 (b-1) 前記保持手段から読み出された、前記注目画素
の前に位置する任意の第1の縮小画素の縮小画像データ
と、 (b-2) 前記保持手段から読み出された、前記注目画素
の上に位置する任意の第2の縮小画素の縮小画像データ
と (b-3) 前記保持手段から読み出された、前記第1の縮
小画素の上且つ前記第2の縮小画素の前方に位置する任
意の第3の縮小画素の縮小画像データ、とを参照するこ
とを特徴とする画像符号化装置。
3. Frame means for storing document image data representing a document image; reducing means for reducing the document image data and outputting reduced image data representing the reduced image; and holding the reduced image data And a coding unit that codes the reduced image data output from the reduction unit, wherein the reduction unit determines reduced image data of each pixel forming the reduced image. (A-1) image data of the pixel of interest to be reduced, read from the frame means, and (a-2) image data of pixels around the pixel of interest, read from the frame means. Image data; (b-1) reduced image data of an arbitrary first reduced pixel located before the pixel of interest, read from the holding unit; and (b-2) read from the holding unit. On the pixel of interest And (b-3) any reduced image data read from the holding unit and located on the first reduced pixel and in front of the second reduced pixel. An image encoding apparatus that refers to reduced image data of a third reduced pixel.
【請求項4】 前記参照した複数の画素の画像データを
フィルタ処理することにより縮小画像データを決定する
ことを特徴とする請求項3に記載の画像符号化装置。
4. The image encoding apparatus according to claim 3, wherein reduced image data is determined by filtering image data of the plurality of pixels referred to.
【請求項5】 前記第1の記憶手段と第2の記憶手段と
はフレームメモリであることを特徴とする請求項1に記
載の画像符号化装置。
5. The image encoding apparatus according to claim 1, wherein said first storage means and said second storage means are frame memories.
【請求項6】 前記原稿画像は二値画像であることを特
徴とする請求項1または3に記載の画像符号化装置。
6. The image encoding apparatus according to claim 1, wherein the document image is a binary image.
【請求項7】 前記第1の縮小手段と第2の縮小手段と
は、入力の画像を1/2に縮小することを特徴とする請
求項1に記載の画像符号化装置。
7. The image encoding apparatus according to claim 1, wherein the first reduction unit and the second reduction unit reduce an input image by half.
【請求項8】 前記縮小手段は、入力の画像を1/2に
縮小することを特徴とする請求項3に記載の画像符号化
装置。
8. The image encoding apparatus according to claim 3, wherein said reduction unit reduces an input image by half.
【請求項9】 前記符号化手段はエントロピー符号化を
行うことを特徴とする請求項1乃至8のいずれかに記載
の画像符号化装置。
9. The image encoding apparatus according to claim 1, wherein said encoding means performs entropy encoding.
【請求項10】 前記エントロピー符号化において算術
符号が用いられることを特徴とする請求項9に記載の画
像符号化装置。
10. The image encoding apparatus according to claim 9, wherein an arithmetic code is used in the entropy encoding.
【請求項11】 前記符号化手段は、参照すべき画素の
数並びに位置を設定するための参照画素決定回路を有す
ることを特徴とする請求項1乃至10のいずれかにに記
載の画像符号化装置。
11. The image encoding apparatus according to claim 1, wherein said encoding means has a reference pixel determination circuit for setting the number and position of pixels to be referenced. apparatus.
【請求項12】 前記参照画素決定回路は、前記参照画
素を、前記原稿画像の大きさに応じて決定することを特
徴とする請求項11に記載の画像符号化装置。
12. The image encoding apparatus according to claim 11, wherein the reference pixel determination circuit determines the reference pixel according to a size of the document image.
【請求項13】 前記縮小手段からから出力された縮小
画像データを、前記参照される画像データが所定のパタ
ーンを有する場合に、補正する補正手段を更に具備する
ことを特徴とする請求項3に記載の画像符号化装置。
13. The image processing apparatus according to claim 3, further comprising a correction unit configured to correct the reduced image data output from the reduction unit when the referenced image data has a predetermined pattern. The image encoding device according to claim 1.
JP8164633A 1996-06-25 1996-06-25 Image coding device Expired - Lifetime JP2948147B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8164633A JP2948147B2 (en) 1996-06-25 1996-06-25 Image coding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8164633A JP2948147B2 (en) 1996-06-25 1996-06-25 Image coding device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP1167033A Division JP2787832B2 (en) 1989-06-30 1989-06-30 Image reduction method

Publications (2)

Publication Number Publication Date
JPH08336044A JPH08336044A (en) 1996-12-17
JP2948147B2 true JP2948147B2 (en) 1999-09-13

Family

ID=15796917

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8164633A Expired - Lifetime JP2948147B2 (en) 1996-06-25 1996-06-25 Image coding device

Country Status (1)

Country Link
JP (1) JP2948147B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3270008B2 (en) * 1998-06-26 2002-04-02 沖電気工業株式会社 Shape information encoding / decoding device
JP6482265B2 (en) * 2014-03-06 2019-03-13 キヤノン株式会社 Method and program for generating dither threshold matrix

Also Published As

Publication number Publication date
JPH08336044A (en) 1996-12-17

Similar Documents

Publication Publication Date Title
JP2787832B2 (en) Image reduction method
US5271072A (en) Image reduction of binary images using filtering processing
JP5247492B2 (en) Image forming apparatus, control method, and program
JP2584840B2 (en) Image hierarchical coding device
JPS59223073A (en) Picture processor
JP3634410B2 (en) Image processing system, image processing apparatus and method
EP0613290B1 (en) Method and apparatus for binary image data compression
JPH08125868A (en) Method and device for processing picture
JP3387738B2 (en) Image pattern converter
JP2948147B2 (en) Image coding device
US6343152B1 (en) Bi-level image compression by gray scale encoding
JP2756371B2 (en) Image processing device
US6798543B1 (en) Method and apparatus for compression and decompression of halftoned images
JP3265100B2 (en) Facsimile machine
JP3459723B2 (en) Image processing apparatus and method
JP2941288B2 (en) Image processing system
JP2911473B2 (en) Image reduction apparatus and method
JP4080726B2 (en) Image reduction method, image processing apparatus, and image processing apparatus control method
JP2976386B2 (en) Binary image scaling device
JP3576575B2 (en) Image processing apparatus and image processing method
JP3220217B2 (en) Facsimile machine
JP2770956B2 (en) Image coding apparatus and method
JPH05191632A (en) Binary picture processor
JPS63191475A (en) Image data compressing device
Jiang et al. Classification and compression of digital newspaper images

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990531

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080702

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090702

Year of fee payment: 10

EXPY Cancellation because of completion of term