JP2878695B2 - Image processing apparatus and multi-value image estimation method - Google Patents

Image processing apparatus and multi-value image estimation method

Info

Publication number
JP2878695B2
JP2878695B2 JP63263144A JP26314488A JP2878695B2 JP 2878695 B2 JP2878695 B2 JP 2878695B2 JP 63263144 A JP63263144 A JP 63263144A JP 26314488 A JP26314488 A JP 26314488A JP 2878695 B2 JP2878695 B2 JP 2878695B2
Authority
JP
Japan
Prior art keywords
image
pixel
interest
valued
image information
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
JP63263144A
Other languages
Japanese (ja)
Other versions
JPH02109465A (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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP63263144A priority Critical patent/JP2878695B2/en
Publication of JPH02109465A publication Critical patent/JPH02109465A/en
Application granted granted Critical
Publication of JP2878695B2 publication Critical patent/JP2878695B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、疑似階調表現された画像情報の各画素の濃
度値を推定して、入力画像情報を多値画像に変換する画
像処理装置および多値画像推定方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial application field) The present invention estimates the density value of each pixel of image information represented by pseudo gradation and converts input image information into a multi-valued image. The present invention relates to an image processing apparatus for performing conversion and a multi-value image estimation method.

(従来の技術) 従来より走査線密度の異なるファクシミリ間または文
章画像処理機器間で通信を可能とするために、対象画像
に対して各種の線密度変換処理が行なわれている。この
ような線密度変換処理としては、SPC法、論理和法(情
報処理学会論文誌PP920〜925,1985−9,投影法(画像電
子学会誌11−2 PP72−83 1982)等が知られている。
(Prior Art) Conventionally, in order to enable communication between facsimile machines having different scanning line densities or text image processing devices, various line density conversion processes have been performed on a target image. As such a line density conversion process, an SPC method, a disjunction method (Information Processing Society of Japan Transactions PP920-925, 1985-9, a projection method (Image Electronics Society of Japan 11-2, PP72-83 1982), etc.) are known. I have.

一方、近年、文書画像処理機器を中心としてディザ
法,誤差拡散法等の疑似階調表現方式が頻繁に用いられ
るようになり、疑似階調表現された画像情報についても
上記線密度変換処理を行なう必要が生じてきた。
On the other hand, in recent years, pseudo gradation expression methods such as a dither method and an error diffusion method have been frequently used mainly in document image processing devices, and the above-described line density conversion processing is also performed on image information expressed in pseudo gradation. The need has arisen.

しかし、上述した線密度変換処理が対象としている画
像は、単純2値化画像および多値画像であり、ディザ画
像のような疑似階調画像に対して前記線密度変換処理を
行なうと、当該画像の階調情報や精細感が失われ、更に
線密度変換の変倍率によってはモアレが発生し、画質が
大幅に劣化するという問題があった。
However, the images targeted by the above-described line density conversion processing are a simple binarized image and a multi-valued image. When the line density conversion processing is performed on a pseudo gradation image such as a dither image, However, there is a problem that the gradation information and the sense of definition are lost, and furthermore, moire occurs depending on the magnification of the linear density conversion, and the image quality is largely deteriorated.

そこで、ディザ処理を施した画像に対して所定の処理
により中間調画像を復元した後、この中間調画像に対し
て線密度変換処理を行なう方式も提案されている(特開
昭62−114377号)。しかし、この処理では、中間調画像
を復元する際に参照する領域のサイズが小さいと、完全
にディザ画像の持つ周期成分を除去した中間調画像を復
元することが出来ず、モアレの発生を防ぐことができな
かった。また、参照する領域のサイズが大きいと、ディ
ザ画像の特長である精細感が損われるという問題があっ
た。
Therefore, a method has been proposed in which a halftone image is restored by a predetermined process on an image subjected to dither processing, and then a line density conversion process is performed on the halftone image (Japanese Patent Laid-Open No. 62-114377). ). However, in this process, if the size of the area to be referred to when restoring the halftone image is small, the halftone image from which the periodic component of the dither image has been completely removed cannot be restored, and the occurrence of moire is prevented. I couldn't do that. In addition, when the size of the area to be referred to is large, there is a problem that the definition, which is a feature of the dither image, is lost.

(発明が解決しようとする課題) 上記の如く、従来の画像処理方法においては、例え
ば、ディザ画像のように疑似階調表現された画像情報に
対して線密度変換した場合、階調性や鮮鋭感が損われた
り、モアレが生じる等の問題があった。
(Problems to be Solved by the Invention) As described above, in the conventional image processing method, for example, when linear density conversion is performed on image information represented by a pseudo gradation such as a dither image, gradation and sharpness are reduced. There have been problems such as impaired feeling and moire.

そこで本発明は、疑似階調画像の階調性および鮮鋭さ
を保ちつつ疑似階調画像から多値画像を推定する画像処
理装置および多値画像推定方法を提供することを目的と
する。
Accordingly, an object of the present invention is to provide an image processing apparatus and a multi-value image estimation method for estimating a multi-value image from a pseudo-tone image while maintaining the gradation and sharpness of the pseudo-tone image.

[発明の構成] (課題を解決するための手段) 上記の課題を解決するため、本発明に係る画像処理装
置は、擬似階調表現された画像情報を入力し、ROMを用
いたテーブルによって構成された画像識別手段により、
入力された画像情報の各注目画素を中心とする複数の画
素からなる画素領域内の画点の分散の異なる複数のドッ
トパターンに対応して、該注目画素が含まれる画像の種
類を示す識別信号を出力し、この識別信号に基づいて平
滑処理手段において注目画素に対する開口サイズを前記
分散が大きいほど大きな値となるように決定し、入力さ
れた画像情報を該開口サイズで平滑処理して注目画素の
濃度値を求めて多値画像データを出力するようにしたも
のである。
[Structure of the Invention] (Means for Solving the Problems) In order to solve the above problems, an image processing apparatus according to the present invention is configured by inputting image information expressed in pseudo gradation and using a table using a ROM. By the identified image identification means,
An identification signal indicating a type of an image including the target pixel corresponding to a plurality of dot patterns having different variances of image points in a pixel region including a plurality of pixels centered on each target pixel of the input image information. Is output, and the opening size for the target pixel is determined by the smoothing processing means to be larger as the variance is larger based on the identification signal, and the input image information is smoothed by the opening size to obtain the target pixel. The multi-valued image data is output by calculating the density value of.

また、本発明においては平滑処理手段から出力される
多値画像データを線密度変換する線密度変換処理手段を
さらに具備してもよい。
In the present invention, the image processing apparatus may further include a line density conversion processing unit for performing a line density conversion on the multi-valued image data output from the smoothing processing unit.

さらに、本発明は擬似階調表現された画像情報から、
該画像情報の各注目画素の濃度値を求めて該画像情報に
対応する多値画像を推定する多値画像推定方法におい
て、画像情報の各注目画素を中心とする複数の画素から
なる画素領域内の画点の分散から、注目画素に対する開
口サイズを該分散が大きいほど大きな値となるように決
定し、画像情報を該開口サイズで平滑処理して注目画素
の濃度値を求めて多値画像を推定するようにしたことを
特徴とする。
Furthermore, the present invention provides a method for converting image information represented by pseudo gradation into
In a multi-valued image estimating method for obtaining a density value of each pixel of interest of the image information and estimating a multi-valued image corresponding to the image information, a multi-valued image estimation method includes: From the variance of the image points, the aperture size for the pixel of interest is determined to have a larger value as the variance is larger, the image information is smoothed with the aperture size to obtain the density value of the pixel of interest, and the multivalued image is obtained. It is characterized by being estimated.

(作用) 本発明では、画像情報の各注目画素を中心とする複数
の画素からなる画素領域内の画点の分散の異なる複数の
ドットパターンに対応して、注目画素が含まれる画像の
種類を示す識別信号を出力し、これに基づいて注目画素
に対する開口サイズを分散が大きいほど大きな値となる
ように決定している。すなわち、画点の分散の異なる複
数のドットパターンに対応して、分散が大きい場合は、
濃度変化が緩やかであるため、例えばディザ画像の周期
成分であると判断し、分散が小さい場合は、濃度変化が
急峻な文字・線図形やエッジ部分であると判断する。
(Operation) In the present invention, the type of an image including a target pixel is determined in correspondence with a plurality of dot patterns having different variances of image points in a pixel region including a plurality of pixels centered on each target pixel of image information. An identification signal is output, and based on this, the aperture size for the pixel of interest is determined to be larger as the variance is larger. That is, when the variance is large, corresponding to a plurality of dot patterns having different variances of the image points,
Since the density change is gradual, it is determined to be, for example, a periodic component of the dither image, and if the variance is small, it is determined to be a character / line figure or edge portion where the density change is steep.

そして、このような識別結果に基づき、前者の場合は
開口サイズを大きくすることにより、ディザ画像の持つ
周期成分を除去してモアレの発生を防止すると共に、階
調を良好に表現できる。また、後者の場合は開口サイズ
を小さくすることにより、精細感(鮮鋭感)を損ねるこ
となく、濃度値を正しく推定することができる。
In the former case, by increasing the aperture size based on such a result of identification, the periodic component of the dither image is removed to prevent the occurrence of moire and to express the gradation well. In the latter case, by reducing the opening size, the density value can be correctly estimated without impairing the fineness (sharpness).

また、更に上記のように推定された多値画像に対し、
線密度変換することにより、疑似階調表現された入力画
像情報の階調性や精細感をそのまま保持した変倍画像が
得られる。
Further, for the multi-valued image estimated as described above,
By performing the linear density conversion, it is possible to obtain a scaled image that retains the gradation and definition of the input image information represented by the pseudo gradation.

(実施例) 以下、図面を参照しながら本発明の実施例について説
明する。
(Example) Hereinafter, an example of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例に係る画像処理装置の構成
を示すブロック図である。画像処理装置10は、画像入力
インターフェース1と、Nラインメモリ2と、画像識別
回路3と、平滑処理回路4と、線密度変換処理回路5
と、ディザ化処理装置6とから構成されている。画像入
力インターフェース1は外部から伝送路7を介して入力
した疑似階調表現された2値画像データをNラインメモ
リ2に送出する。Nラインメモリ2は入力インターフェ
ース1を介して入力した2値画像データSをNライン分
格納し、注目画素を中心とする多値画像推定に必要な数
画素を画像識別処理回路3及び平滑処理回路4にパラレ
ルに出力する。画像識別回路3はROMを用いたテーブル
によって構成され、Nラインメモリ2から受けた2値画
像データに基づいて画像内の各注目画素がどのような種
類の画像に含まれているか、即ちディザ画像に近いか文
字に近いかを数段階に亙って判定し、この判定結果であ
る画像識別信号SWを平滑処理回路4に出力する。平滑処
理回路4はNラインメモリ2が送出した参照領域の画像
データを上記画像識別回路3から送出された画像識別信
号SWに基づく開口サイズで平滑処理し、注目画素の濃度
値の推定結果である多値画像データSGを出力する。線密
度変換処理回路5は平滑処理回路4から出力された多値
画像データSGに対して線密度変換を行なう。ディザ化処
理回路6は線密度変換処理回路5から入力された線密度
変換後の多値画像データに基づいてディザ画像を作成す
る。
FIG. 1 is a block diagram showing a configuration of an image processing apparatus according to one embodiment of the present invention. The image processing apparatus 10 includes an image input interface 1, an N-line memory 2, an image identification circuit 3, a smoothing processing circuit 4, and a line density conversion processing circuit 5.
And a dithering processing device 6. The image input interface 1 sends to the N-line memory 2 binary image data represented by pseudo gradation input from outside via the transmission path 7. An N-line memory 2 stores N lines of binary image data S input via the input interface 1 and stores several pixels necessary for multi-value image estimation centering on a target pixel in an image identification processing circuit 3 and a smoothing processing circuit. 4 is output in parallel. The image identification circuit 3 is configured by a table using a ROM, and based on the binary image data received from the N-line memory 2, what kind of image each pixel of interest in the image is included in, that is, a dither image It is determined in several steps whether the data is close to a character or a character, and an image identification signal SW as a result of the determination is output to the smoothing processing circuit 4. The smoothing circuit 4 smoothes the image data of the reference area sent from the N-line memory 2 with an aperture size based on the image identification signal SW sent from the image identification circuit 3 and is a result of estimating the density value of the pixel of interest. Output multi-valued image data SG. The linear density conversion processing circuit 5 performs a linear density conversion on the multi-valued image data SG output from the smoothing processing circuit 4. The dithering processing circuit 6 creates a dither image based on the multivalued image data after the line density conversion input from the line density conversion processing circuit 5.

以上のように構成された画像処理装置10において、い
ま、伝送路7を介して2値画像データSが画像インター
フェース1に入力されると、この2値画像データSは、
Nラインメモリ2に順次格納される。Nラインメモリ2
は、例えば第2図に示すようにデータバス21に、双方向
ドライバレジスタ22と、画像メモリ23と、シリアル・パ
ラレル変換回路24とを相互に接続して構成されている。
画像メモリ23は本実施例においては、8ライン分の画像
データを格納する容量を備えている。これら各ラインに
対応した記憶領域をL0〜L7とすると、まず初めに画像メ
モリ23はデータ画像入力インターフェース1からデータ
バス21を介してシリアルに入力する2値画像データSを
L0に1ライン分格納する。次のラインの1画点目の画像
データが画像メモリ23に格納される際には、それに先立
ち、画像メモリ23のL0に既に書込まれている前ラインの
1画点目の画像データが読出され、双方向ドライバ・レ
ジスタ22に格納される。この双方向ドライバレジスタ22
に格納された画像データはデータバス21を介して画像メ
モリ23の次のラインの記憶領域L1の1画点目に書込まれ
る。これと同時に新たに入力された上記次のラインの1
画点目のデータはL0の1画点目に格納される。このよう
な操作を繰返すことにより画像メモリ23が満杯になる
と、その後は新たなラインの画像データが1ドット入力
される度に、そのドットと副走査方向に並ぶL0〜L6に格
納された7ビットの画像データがデータバス21上に読出
され、新たに入力される1ビットを加えた8ビットのデ
ータがL0〜L7の対応する主走査方向位置に格納されるこ
とになる。
In the image processing apparatus 10 configured as described above, when the binary image data S is input to the image interface 1 via the transmission path 7, the binary image data S
The data is sequentially stored in the N-line memory 2. N line memory 2
As shown in FIG. 2, for example, a data bus 21 is connected to a bidirectional driver register 22, an image memory 23, and a serial / parallel conversion circuit 24.
In this embodiment, the image memory 23 has a capacity for storing image data for eight lines. When the storage area corresponding to each of these lines and L 0 ~L 7, first, the image memory 23 the binary image data S to be input serially from the data image input interface 1 via the data bus 21
To store one line in the L 0. When the image data of one screen point on the next line is stored in the image memory 23, prior to it, the image data before one stroke point the line of already written to the L 0 of the image memory 23 is Read and stored in bidirectional driver register 22. This bidirectional driver register 22
The stored image data is written in one stroke th point of the storage area L 1 of the next line of the image memory 23 via the data bus 21 to. At the same time, one of the newly input next lines
Data having the image-th point is stored in one stroke th point of L 0. When the image memory 23 by repeating such an operation is full, then every time the image data of a new line is one dot input, stored in the L 0 ~L 6 arranged in the dot in the sub-scanning direction 7-bit image data are read out onto the data bus 21, so that the 8-bit data obtained by adding 1 bit to be newly entered is stored in the corresponding main scanning direction position of the L 0 ~L 7.

一方、シリアル・パラレル変換回路24は、画像メモリ
23に1ビットの画像データが書込まれる度に、データバ
ス21上にある8ビットの画像データを画像メモリ23への
書込みと同期してシフトインする。シリアル・パラレル
変換回路24は、8ビットの画像データを入力すると、各
ビットについて8ビット、計8ライン×8ビット=64ビ
ットのパラレルデータを出力する。
On the other hand, the serial / parallel conversion circuit 24
Each time 1-bit image data is written to 23, 8-bit image data on data bus 21 is shifted in in synchronization with writing to image memory 23. When the 8-bit image data is input, the serial-parallel conversion circuit 24 outputs parallel data of 8 bits for each bit, that is, 8 lines × 8 bits = 64 bits.

第3図は上記Nラインメモリ2のシリアル・パラレル
変換回路24から出力される8ライン×8ビットパラレル
の画像データを2次元的に示した図である。斜線で示す
(X0,Y0)の画素を注目画素とすると、これを中心とす
る3ライン×4ドットの周辺画素領域Mの画像データ
は、画像識別回路3に入力される。
FIG. 3 is a diagram two-dimensionally showing 8-line × 8-bit parallel image data output from the serial / parallel conversion circuit 24 of the N-line memory 2. Assuming that the pixel of (X 0 , Y 0 ) indicated by oblique lines is the pixel of interest, the image data of the peripheral pixel area M of 3 lines × 4 dots centered on the pixel of interest is input to the image identification circuit 3.

画像識別回路3は例えば第4図に示すように、ROM9か
ら成る。このROM9の内容は、例えば第5図に示すような
統計データに基づいて決定される。このグラフは、2値
画像データからなる複数枚の網点画と文字画とを夫々サ
ンプル画として用意し、これらサンプル画を3×4の開
口で走査したときに観測されるパターンの発生頻度の累
積値を大きい順又は小さい順に並べたグラフである。こ
のような統計データから、あるパターンが網点画像の一
部であるか文字画の一部であるかが推定できる。そこ
で、3×4の全てのドットパターンを10のクラスに分類
し、分散の度合いが高い(網点画である可能性が高い)
クラスから分散度合いが低い(文字画である可能性が高
い)クラスまでSW0〜SW9の信号を対応させてテーブル化
している。ROM9は、周辺画像領域Mのドットパターンを
アドレスとして入力すると、画像識別信号SW0〜SW9をデ
ータとして出力する。
The image identification circuit 3 comprises, for example, a ROM 9 as shown in FIG. The contents of the ROM 9 are determined based on, for example, statistical data as shown in FIG. In this graph, a plurality of halftone dot images and character images each composed of binary image data are prepared as sample images, and the cumulative occurrence frequency of the pattern observed when these sample images are scanned through a 3 × 4 aperture. It is a graph in which values are arranged in descending order or in increasing order. From such statistical data, it can be estimated whether a certain pattern is a part of a halftone image or a part of a character image. Therefore, all of the 3 × 4 dot patterns are classified into 10 classes, and the degree of dispersion is high (it is highly likely that they are halftone dots).
Low degree of dispersion from the class (likely a character image) in correspondence signals SW 0 to SW 9 to class are tabulated. ROM9 inputs the dot pattern of the peripheral image region M as an address, and outputs the image identification signal SW 0 to SW 9 as data.

また、第3図に示したNラインメモリ2の8×8画素
の画像データは、平滑処理回路4にも入力されている。
この平滑処理回路4は、第6図に示すように、ビット計
数回路40a〜40fと、加算器41a,41bと、割算器42a〜42d
と、切換え器43とから構成されている。入力データI1〜
I7は、Nラインメモリ2からの8×8画素の出力を次の
ように組合わせたデータである。I2〜I7については、第
7図(a)〜(f)の夫々対応する画素を「*」印で示
してある。
Further, the image data of 8 × 8 pixels of the N-line memory 2 shown in FIG.
As shown in FIG. 6, the smoothing processing circuit 4 includes bit counting circuits 40a to 40f, adders 41a and 41b, and dividers 42a to 42d.
And a switch 43. Input data I1 ~
I7 is data obtained by combining outputs of 8 × 8 pixels from the N-line memory 2 as follows. Regarding I2 to I7, the corresponding pixels in FIGS. 7A to 7F are indicated by “*”.

I1:(Y,X)=(0,0) I2:(Y,X)=(0,0),(0,1),(1,0),(1,1) I3:(Y,X)=(1,−2),(1,3),(2,−2),(2,
3) I4:(Y,X)=(−1,−1),(−1,0),(−1,1),
(−1,2),(0,−1),(0,0),(0,1),(0,2),
(1,−1),(1,0),(1,1),(1,2),(2,−
1),(2,0),(2,1),(2,2) I5:(Y,X)=(−3,−2),(−3,−1),(−3,
0),(−3,1),(−3,2),(−3,3),(−2−
2),(−2,−1),(−2,0),(−2,1),(−2,
2),(−2,3),(−1−2)(−1,3),(0,−
2),(0,3) I6:(Y,X)=(4,−3),(4,−2),(4,−1),
(4,0),(4,1),(4,2),(4,3),(4,4),(−
3,−3),(−3,4),(−2,−3),(−2,4),(−
1,−3),(−1,4),(0,−3),(0,4) I7:(Y,X)=(1,−3),(1,−2),(1,3),(1,
4),(2−3),(2−2),(2,3),(2,4),
(3,−3),(3−2),(3,−1),(3,0),(3,
1),(3,2),(3,3),(3,4) 平滑処理回路5は、上記入力データI1〜I7に基づい
て、1×1画素(I1),2×2画素(I2),4×4画素(I
4),6×6画素(I3+I4+I5),8×8画素(I4+I5+I6
+I7)の5種類の開口サイズで、平滑処理を同時に行な
う。このため、各ビット計数回路40a〜40fは各入力デー
タI2〜I7に含まれる白又は黒の画点数を計数する。加算
器41aは、I3,I4,I5のビット計数出力を加算し、6×6
画素の開口サイズにおけるビット計数結果を算出する。
加算器41bは、I4,I5,I6,I7のビット計数出力を加算し、
8×8画素の開口サイズにおけるビット計数結果を算出
する。除算器42a〜42dは、各サイズの開口での推定濃度
を求めるため、白又は黒の画点数を各開口画素数で割る
ための回路である。切換器43は、こうして同時に求めら
れた各開口サイズでの推定濃度I1,Ta〜Tdのうち1つを
画像識別回路3が出力する画像識別信号SW0〜SW9によっ
て選択する。例えば、画像識別信号SW0を画点分散大,SW
9を画点集中大とすると、SW0側では開口サイズの大きな
6×6又は8×8画素による推定濃度を選択し、SW9
では開口サイズの小さな1×1または2×2画素による
推定濃度を選択し、中間のSW3〜SW5では、4×4の開口
サイズよる推定濃度を選択する。これにより、ディザ画
像の部分では、開口を大きくし、文字画像の部分では開
口を小さくすることができ、入力画像のディザ画像のデ
ィザ周期成分を除き、しかも精細な部分を再現した多値
画像推定が可能である。
I1: (Y, X) = (0,0) I2: (Y, X) = (0,0), (0,1), (1,0), (1,1) I3: (Y, X ) = (1, -2), (1,3), (2, -2), (2,
3) I4: (Y, X) = (-1, -1), (-1,0), (-1,1,),
(−1,2), (0, −1), (0,0), (0,1), (0,2),
(1, -1), (1,0), (1,1), (1,2), (2, −
1), (2,0), (2,1), (2,2) I5: (Y, X) = (− 3, −2), (− 3, −1), (− 3,
0), (−3,1), (−3,2), (−3,3), (−2−
2), (−2, -1), (−2,0), (−2,1), (−2,
2), (−2,3), (−1-2) (− 1,3), (0, −
2), (0,3) I6: (Y, X) = (4, -3), (4, -2), (4, -1),
(4,0), (4,1), (4,2), (4,3), (4,4), (-
3, -3), (-3,4), (-2, -3), (-2,4), (-
1,3), (-1,4), (0, -3), (0,4) I7: (Y, X) = (1, -3), (1, -2), (1, 3), (1,
4), (2-3), (2-2), (2,3), (2,4),
(3, -3), (3-2), (3, -1), (3,0), (3,
1), (3,2), (3,3), (3,4) The smoothing processing circuit 5 performs 1 × 1 pixel (I1) and 2 × 2 pixel (I2) based on the input data I1 to I7. ), 4 × 4 pixels (I
4), 6 × 6 pixels (I3 + I4 + I5), 8 × 8 pixels (I4 + I5 + I6
+ I7) The smoothing process is performed simultaneously with the five types of opening sizes. Therefore, each of the bit counting circuits 40a to 40f counts the number of white or black pixels included in each of the input data I2 to I7. The adder 41a adds the bit count outputs of I3, I4, and I5, and
The result of counting the bits in the aperture size of the pixel is calculated.
The adder 41b adds the bit count outputs of I4, I5, I6, and I7,
The bit count result for the aperture size of 8 × 8 pixels is calculated. The dividers 42a to 42d are circuits for dividing the number of white or black pixels by the number of aperture pixels in order to obtain an estimated density at each size aperture. Switcher 43, estimated concentration I1 for each aperture size determined simultaneously in this way, selected by the image discrimination signal SW 0 to SW 9 output by the image identification circuit 3 one of Ta to Td. For example, an image dot dispersion size of the image identification signal SW 0, SW
Assuming that 9 is a large pixel concentration, the SW 0 side selects an estimated density based on 6 × 6 or 8 × 8 pixels with a large aperture size, and the SW 9 side estimates with a 1 × 1 or 2 × 2 pixel with a small aperture size. select the density, the intermediate of SW 3 to SW 5, select the estimated concentration with the opening size of 4 × 4. As a result, the aperture can be increased in the dither image portion and the aperture can be reduced in the character image portion, and the multi-valued image estimation that reproduces the fine portion without the dither period component of the dither image of the input image is performed. Is possible.

このようにして、推定された多値画像SGは、線密度変
換処理回路5で拡大または縮小され、更にディザ化処理
回路6により再度多値化されて2値画像として出力され
る。
The multi-valued image SG estimated in this manner is enlarged or reduced by the linear density conversion processing circuit 5, further multi-valued by the dithering processing circuit 6, and output as a binary image.

第8図は本発明の第2の実施例に係る画像処理装置を
示す図である。図中、第1図と同一部分には同一符号を
付し、詳細な説明は省略する。先の実施例では、Nライ
ンメモリ2を用いてオンライン・リアルタイムで画像処
理を行なったが、この実施例では、Nラインメモリ2に
替えて、2値画像ページメモリ51を用い、バッチ処理を
行なう場合について示している。
FIG. 8 is a diagram showing an image processing apparatus according to a second embodiment of the present invention. In the figure, the same parts as those in FIG. 1 are denoted by the same reference numerals, and detailed description is omitted. In the previous embodiment, the image processing was performed online and in real time using the N-line memory 2. In this embodiment, the batch processing is performed using the binary image page memory 51 instead of the N-line memory 2. The case is shown.

2値画像ページメモリ51は、伝送路7から入力インタ
ーフェース1を介して入力された2値画像データをペー
ジ単位で格納する。画像識別回路3および平滑処理回路
4は2値画像ページメモリ51に記憶されている2値画像
データから前述の処理によって適切な開口サイズでの多
値画像を推定する。Nライン多値メモリ52は上記平滑処
理回路4が推定した多値画像を順次Nライン分記憶す
る。Nライン多値メモリ52が記憶する画像のライン数
は、線密度変換回路5が拡大または縮小する際の変倍率
によって決定される。例えば、線密度変換回路5の変倍
率0.5の時には2ラインを1ラインに変換するため、最
低でも2ライン分の多値画像を記憶する必要がある。線
密度変換処理回路5で変倍処理された多値画像は、ディ
ザ化処理回路6でディザ化され、2値画像ページメモリ
51に格納される。そして、変倍処理が全て終了後、2値
画像ページメモリ51上に生成されたディザ画像は、出力
インターフェース53を介して外部に送出される。
The binary image page memory 51 stores the binary image data input from the transmission path 7 via the input interface 1 in page units. The image discriminating circuit 3 and the smoothing processing circuit 4 estimate a multivalued image with an appropriate aperture size from the binary image data stored in the binary image page memory 51 by the above-described processing. The N-line multi-valued memory 52 sequentially stores the multi-valued images estimated by the smoothing processing circuit 4 for N lines. The number of lines of the image stored in the N-line multi-valued memory 52 is determined by the magnification at which the line density conversion circuit 5 enlarges or reduces. For example, when the scaling ratio of the line density conversion circuit 5 is 0.5, two lines are converted to one line, so that it is necessary to store a multi-valued image of at least two lines. The multi-valued image that has been scaled by the linear density conversion processing circuit 5 is dithered by the dithering processing circuit 6 and is converted into a binary image page memory.
Stored in 51. Then, after all the scaling processes are completed, the dither image generated on the binary image page memory 51 is sent to the outside via the output interface 53.

第9図および第10図は、本発明の第3の実施例に係る
画像処理装置を示す図である。この実施例は、先に示し
た第1,第2の実施例で使用された画像識別回路3のROM
の内容を変えずに、より広範囲の周辺画素領域を参照し
て注目画素の含まれる画像の種類を精度よく判定するよ
うにしたものである。ROM9は第4図に示したROMと同一
の動作を行なう。このROM9からの画像識別信号SWは、N
ラインメモリ61に例えば9ライン分格納されている。M
ビットレジスタ62は、第10図に示すA〜Iの9つの周辺
画素領域に対応した画像識別信号SWのマトリクスをNラ
インメモリ61から読出し、判定回路63に出力する。判定
回路63は第10図に斜線で示す注目画点を含む領域Aから
求めた識別信号と上記領域Aの周辺の8つの領域B〜I
から求めた画像識別信号SWとを比較する。そして、領域
Aの画像識別信号と領域B〜Iの画像識別信号SWとが一
致した場合、領域Aの画像識別信号SWをそのまま出力
し、領域Aの画像識別信号と領域B〜Iの画像識別信号
SWとが異なる場合、領域A内の2値画像は雑音を含んで
いる可能性があるとして、領域Aの周辺の8つの領域B
〜Iの画像識別信号を参酌して注目画素の画像識別信号
を決定する。
FIG. 9 and FIG. 10 are views showing an image processing apparatus according to a third embodiment of the present invention. This embodiment uses the ROM of the image identification circuit 3 used in the first and second embodiments described above.
Is not changed, and the type of the image including the target pixel is accurately determined with reference to a wider range of peripheral pixel regions. The ROM 9 performs the same operation as the ROM shown in FIG. The image identification signal SW from the ROM 9 is N
For example, nine lines are stored in the line memory 61. M
The bit register 62 reads a matrix of the image identification signals SW corresponding to the nine peripheral pixel areas A to I shown in FIG. The determination circuit 63 determines the identification signal obtained from the area A including the target pixel indicated by hatching in FIG. 10 and the eight areas B to I around the area A.
Is compared with the image identification signal SW obtained from. When the image identification signal of the area A matches the image identification signal SW of the areas B to I, the image identification signal SW of the area A is output as it is, and the image identification signal of the area A and the image identification signal of the areas B to I are output. signal
If the SW is different, it is determined that the binary image in the area A may contain noise, and the eight areas B around the area A are determined.
The image identification signal of the pixel of interest is determined in consideration of the image identification signals of .about.I.

この実施例によれば、ROM9の容量を全く変えずに画像
の種類を判定する開口を広げることができ、入力画像に
含まれるノイズの影響による誤判定を防止できるという
効果がある。
According to this embodiment, the aperture for determining the type of image can be widened without changing the capacity of the ROM 9 at all, and there is an effect that erroneous determination due to the influence of noise included in the input image can be prevented.

第11図および第12図は本発明の第4の実施例に係る画
像処理装置を示す図である。本実施例はソフトウェアに
よって多値画像の推定を行なう例である。ここで、使用
されるシステムは、第11図に示すように、入力インター
フェース1と、画像メモリ51と、CPU71と、判定テーブ
ル72と、作業用のメモリ73とをバス74を介して相互に接
続して構成されている。
FIG. 11 and FIG. 12 are views showing an image processing apparatus according to a fourth embodiment of the present invention. This embodiment is an example in which a multi-valued image is estimated by software. Here, as shown in FIG. 11, the system used connects the input interface 1, the image memory 51, the CPU 71, the determination table 72, and the work memory 73 to each other via a bus 74. It is configured.

画像メモリ51は、外部から入力した2値画像データS
を入力インターフェース1を介して記憶する。CPU71
は、画像メモリ51に記憶された2値画像データから以下
の処理によって多値画像を推定する。以下、第12図のフ
ロー図を参照してCPU51の動作の説明をする。
The image memory 51 stores the binary image data S input from the outside.
Is stored via the input interface 1. CPU71
Estimates a multi-valued image from the binary image data stored in the image memory 51 by the following processing. Hereinafter, the operation of the CPU 51 will be described with reference to the flowchart of FIG.

2値画像内の注目画点のYアドレスおよびXアドレス
を決定する(St.1および2)。そして、注目画点が属す
る画像の種類を決定するための周辺画素領域の画点の座
標を決定し(St.3)、2値画像から上記座標の画点情報
を読出した後、これら画点情報を一次元に配列しなお
し、判定テーブル72の配列アドレスとして入力し、(S
t.4)注目画点が属する画像の種類を求める。この判定
テーブル52の出力は注目画点を含む参照領域の開口サイ
ズに対応している。従って、この開口サイズに基づいて
参照領域内として取出す各画点の座標を求める(St.
5)。2値画像内から上記座標の画点情報を読出し、上
記処理により読出した参照領域内の画点情報を加算し、
この加算結果を開口サイズ内の画点数で除算して注目画
点の濃度を推定する(St.6)。この推定結果をメモリ73
に書込み(St.7)、画像メモリ51内に記憶されている一
画点の処理が終了する。この処理を画像メモリ51に記憶
されている2値画像の全画点に対して行なう(St.8,
9)。
The Y address and the X address of the pixel of interest in the binary image are determined (St. 1 and 2). Then, the coordinates of the pixels in the peripheral pixel area for determining the type of the image to which the pixel of interest belongs are determined (St. 3), and the pixel information of the coordinates is read from the binary image. The information is rearranged one-dimensionally, input as the array address of the determination table 72, and (S
t.4) Find the type of image to which the noted pixel belongs. The output of the determination table 52 corresponds to the opening size of the reference area including the target pixel. Therefore, based on this opening size, the coordinates of each image point to be taken out within the reference area are obtained (St.
Five). The pixel information of the coordinates is read from the binary image, and the pixel information in the reference area read by the above processing is added.
The density of the target pixel is estimated by dividing the addition result by the number of pixels within the aperture size (St. 6). This estimation result is stored in memory 73
(St. 7), and the processing of one pixel stored in the image memory 51 ends. This processing is performed for all the pixels of the binary image stored in the image memory 51 (St. 8,
9).

CPU71により2値画像から多値画像を推定する処理が
終了した後、必要に応じてCPU71で線密度変換処理を行
なうようにしても良い。
After the CPU 71 completes the process of estimating the multi-valued image from the binary image, the CPU 71 may perform the linear density conversion process as needed.

なお本発明は上述した実施例に限定されるものではな
い。例えば、上記実施例では画像識別回路のROMテーブ
ルを2値化された文字画像および網点画像を用いて統計
的に作成したが、文字画像や濃淡画像からディザ化処理
によって得た画像そのものを用いて画像識別テーブルを
作成してもよい。
The present invention is not limited to the embodiments described above. For example, in the above-described embodiment, the ROM table of the image identification circuit is statistically created using the binarized character image and the halftone image, but the image itself obtained by dithering the character image or the grayscale image is used. May be used to create an image identification table.

また、参照領域の開口サイズも実施例に示したサイズ
以外に設定可能である。
Further, the opening size of the reference area can be set to a size other than the size shown in the embodiment.

また、カラー画像をR,G,B等の単色画像として入力
し、この入力画像に対して上述した処理を行なうことに
より、カラー画像に対応した画像処理も可能となる。
Further, by inputting a color image as a single-color image such as R, G, B, and performing the above-described processing on the input image, image processing corresponding to the color image can be performed.

更に、本発明は、2値ディザに限らず、多値ディザの
多値画像推定にも適用可能であるし、又、誤差拡散法等
の他の疑似階調表現された画像にも適用可能である。
Furthermore, the present invention is applicable not only to binary dithering but also to multi-valued image estimation of multi-valued dither, and is also applicable to images represented by other pseudo gradations such as an error diffusion method. is there.

[発明の効果] 上述したように、本発明によれば、注目画点の種類に
応じて参照領域の開口サイズを設定し、この参照領域内
の画像情報から当該注目画点の濃度を推定することがで
きるので、疑似階調画像の階調性および鮮鋭さを保ちつ
つ精度良く多値画像を推定可能な画像処理装置を提供で
きる。
[Effects of the Invention] As described above, according to the present invention, the opening size of the reference area is set according to the type of the target image point, and the density of the target image point is estimated from the image information in the reference area. Therefore, it is possible to provide an image processing apparatus capable of accurately estimating a multi-valued image while maintaining the gradation and sharpness of the pseudo gradation image.

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

第1図〜第7図は本発明の第1の実施例を示す図で、第
1図は画像処理装置の構成を示すブロック図、第2図は
Nラインメモリの構成を示すブロック図、第3図は周辺
画素領域を示す図、第4図は画像識別回路を構成するRO
Mを示すブロック図、第5図は同ROMの内容を決定する統
計データを示す図、第6図は平滑処理回路の構成を示す
ブロック図、第7図(a)〜(f)は平滑処理回路に入
力する画像データを示す図、第8図は第2の実施例に係
る画像処理装置の構成を示すブロック図、第9図は第3
の実施例に係る画像処理装置の要部の構成を示すブロッ
ク図、第10図は同装置で参照される周辺画素領域を示す
図、第11図は第4の実施例に係る画像処理装置の構成を
示すブロック図、第12図は同装置の処理動作を示す流れ
図である。 1……画像入力インターフェース、2,61……Nラインメ
モリ、3……画像識別回路、4……平滑処理回路、5…
…線密度変換処理回路、6……ディザ化処理回路、7…
…伝送路、9……ROM、10,50,60,70……画像処理装置、
21,74……データバス、22……双方向ドライバレジス
タ、23……画像メモリ、24……シリアル・パラレル変換
回路、40a〜40f……ビット計数回路、41a,41b……加算
器、42a〜42d……除算器、43切換器、51……2値画像ペ
ージメモリ、52……Nライン多値メモリ、53……出力イ
ンターフェース、62……Mビットシフトレジスタ、63…
…判定回路、71……CPU、72……判定テーブル、73……
メモリ。
1 to 7 are diagrams showing a first embodiment of the present invention. FIG. 1 is a block diagram showing a configuration of an image processing apparatus. FIG. 2 is a block diagram showing a configuration of an N-line memory. FIG. 3 is a view showing a peripheral pixel area, and FIG. 4 is a view showing RO constituting an image identification circuit.
M is a block diagram, FIG. 5 is a diagram showing statistical data for determining the contents of the ROM, FIG. 6 is a block diagram showing a configuration of a smoothing processing circuit, and FIGS. 7 (a) to (f) are smoothing processes. FIG. 8 is a diagram showing image data input to a circuit, FIG. 8 is a block diagram showing a configuration of an image processing apparatus according to a second embodiment, and FIG.
FIG. 10 is a block diagram showing a configuration of a main part of the image processing apparatus according to the fourth embodiment, FIG. 10 is a diagram showing a peripheral pixel area referred to by the same apparatus, and FIG. FIG. 12 is a block diagram showing the configuration, and FIG. 12 is a flowchart showing the processing operation of the apparatus. 1 ... Image input interface, 2,61 ... N line memory, 3 ... Image identification circuit, 4 ... Smoothing processing circuit, 5 ...
... Line density conversion processing circuit, 6 ... Dithering processing circuit, 7 ...
… Transmission line, 9… ROM, 10,50,60,70 …… Image processing device,
21, 74 data bus, 22 bidirectional driver register, 23 image memory, 24 serial-parallel conversion circuit, 40a-40f bit counter circuit, 41a, 41b adder, 42a- 42d: Divider, 43 switcher, 51: Binary image page memory, 52: N-line multi-valued memory, 53: Output interface, 62: M-bit shift register, 63 ...
... Judgment circuit, 71 ... CPU, 72 ... Judgment table, 73 ...
memory.

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】擬似階調表現された画像情報を入力する入
力手段と、 ROMを用いたテーブルによって構成され、前記入力手段
により入力された画像情報の各注目画素を中心とする複
数の画素からなる画素領域内の画点の分散の異なる複数
のドットパターンに対応して、該注目画素が含まれる画
像の種類を示す識別信号を出力する画像識別手段と、 前記識別信号に基づいて前記注目画素に対する開口サイ
ズを前記分散が大きいほど大きな値となるように決定
し、前記入力手段により入力された画像情報を該開口サ
イズで平滑処理して前記注目画素の濃度値を求めて多値
画像データを出力する平滑処理手段 とを具備したことを特徴とする画像処理装置。
An input means for inputting image information represented by pseudo gradation and a table using a ROM, wherein a plurality of pixels centered on each pixel of interest of the image information input by the input means are provided. Corresponding to a plurality of dot patterns having different variances of image points in a pixel area, an image identification unit that outputs an identification signal indicating a type of an image including the target pixel, and the target pixel based on the identification signal. Is determined such that the larger the variance, the larger the variance becomes, and the image information input by the input means is smoothed with the aperture size to obtain the density value of the pixel of interest, thereby obtaining multi-valued image data. An image processing apparatus comprising: a smoothing processing unit for outputting.
【請求項2】前記平滑処理手段から出力される前記多値
画像データを線密度変換する線密度変換処理手段をさら
に具備したことを特徴とする請求項1記載の画像処理装
置。
2. The image processing apparatus according to claim 1, further comprising a line density conversion processing unit for performing a linear density conversion on the multi-valued image data output from the smoothing processing unit.
【請求項3】擬似階調表現された画像情報から、該画像
情報の各注目画素の濃度値を求めて該画像情報に対応す
る多値画像を推定する多値画像推定方法において、 前記画像情報の各注目画素を中心とする複数の画素から
なる画素領域内の画点の分散から、前記注目画素に対す
る開口サイズを該分散が大きいほど大きな値となるよう
に決定し、前記画像情報を該開口サイズで平滑処理して
前記注目画素の濃度値を求めて前記多値画像を推定する
ことを特徴とする多値画像推定方法。
3. A multi-valued image estimating method for obtaining a density value of each pixel of interest of the image information from the image information represented by the pseudo gradation and estimating a multi-valued image corresponding to the image information. From the variance of image points in a pixel area composed of a plurality of pixels centered on each pixel of interest, the aperture size for the pixel of interest is determined to be larger as the variance is larger, and the image information is A multi-valued image estimating method, wherein the multi-valued image is estimated by obtaining a density value of the pixel of interest by performing a smoothing process on a size.
JP63263144A 1988-10-19 1988-10-19 Image processing apparatus and multi-value image estimation method Expired - Lifetime JP2878695B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63263144A JP2878695B2 (en) 1988-10-19 1988-10-19 Image processing apparatus and multi-value image estimation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63263144A JP2878695B2 (en) 1988-10-19 1988-10-19 Image processing apparatus and multi-value image estimation method

Publications (2)

Publication Number Publication Date
JPH02109465A JPH02109465A (en) 1990-04-23
JP2878695B2 true JP2878695B2 (en) 1999-04-05

Family

ID=17385419

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63263144A Expired - Lifetime JP2878695B2 (en) 1988-10-19 1988-10-19 Image processing apparatus and multi-value image estimation method

Country Status (1)

Country Link
JP (1) JP2878695B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04138770A (en) * 1990-09-28 1992-05-13 Minolta Camera Co Ltd Shading correction method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61288568A (en) * 1985-06-14 1986-12-18 Konishiroku Photo Ind Co Ltd Method for estimating halftone picture of binary picture

Also Published As

Publication number Publication date
JPH02109465A (en) 1990-04-23

Similar Documents

Publication Publication Date Title
US6686922B2 (en) Adaptive thresholding using loose gray scale template matching
EP1505821B1 (en) Image processing apparatus, an image forming apparatus and an image processing method
JP3636332B2 (en) Image processing method and image processing apparatus
US20060274332A1 (en) Image processing system, a method thereof, and a recording medium thereof
US7412108B2 (en) Image enhancement employing partial template matching
US5568597A (en) Adapting image data resolution to match resolution of an output device
US5638188A (en) Image processing method and apparatus with storing and selecting of dot patterns
US6078697A (en) Method and apparatus for segmenting image data into contone, text and halftone classifications
US6714693B1 (en) Image processing apparatus and image processing method
JPH02165775A (en) Picture processor
EP1734737B1 (en) Image processing method and a recording medium storing image processing program
JP3749282B2 (en) Image processing device
JPH07131634A (en) Image processor
US5539866A (en) Method and apparatus for accurately rendering half-bitted image pixels
JPH0725064A (en) Picture forming equipment of electrophotographic printer
US20040150846A1 (en) Color image halftoning apparatus and method, and mask generation apparatus and method used therein
JP2878695B2 (en) Image processing apparatus and multi-value image estimation method
JPH07334672A (en) Picture processor
JPS6359272A (en) Picture processor
JP3624153B2 (en) Image processing apparatus and image processing method
JP3539552B2 (en) Image processing device
JP2831573B2 (en) Pseudo halftone image processing system
JPH07182503A (en) Method and device for processing image
JP3501533B2 (en) Color image forming equipment
JP3703253B2 (en) Image processing apparatus and method, and storage medium

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080122

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090122

Year of fee payment: 10

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090122

Year of fee payment: 10