JP2002171406A - Image processing apparatus, image processing method, and image processing program - Google Patents

Image processing apparatus, image processing method, and image processing program

Info

Publication number
JP2002171406A
JP2002171406A JP2001281897A JP2001281897A JP2002171406A JP 2002171406 A JP2002171406 A JP 2002171406A JP 2001281897 A JP2001281897 A JP 2001281897A JP 2001281897 A JP2001281897 A JP 2001281897A JP 2002171406 A JP2002171406 A JP 2002171406A
Authority
JP
Japan
Prior art keywords
reference block
image
value
image processing
attribute
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.)
Withdrawn
Application number
JP2001281897A
Other languages
Japanese (ja)
Inventor
Takashi Nakanishi
隆 中西
Kazuyuki Murata
和行 村田
Hideyuki Kuwano
秀之 桑野
Naoki Takahashi
直樹 高橋
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2001281897A priority Critical patent/JP2002171406A/en
Publication of JP2002171406A publication Critical patent/JP2002171406A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Image Analysis (AREA)

Abstract

PROBLEM TO BE SOLVED: To overcome the problem of a conventional image processing apparatus such that the image quality of image data is deteriorated because attribute discrimination is applied to each object block on the basis of orthogonal data resulting from applying orthogonal transform to the image data, resulting in increasing the adverse effect when the attribute is mis-discriminated. SOLUTION: A reference selection means 1 of the image processing apparatus of this invention selects a reference block 2R and a target pixel. An orthogonal transform means 2 applies orthogonal transform to pixel data in the reference block 2R to obtain the orthogonal data. A feature calculation means 3 calculates feature values Fm, Fn, Fp representing features of the reference block 2R on the basis of the orthogonal data. Then an attribute discrimination means 4 discriminates the attribute of the target pixel on the basis of the feature values. Thus, the image processing apparatus improves the accuracy of attribute discrimination and enhances the image quality.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像データに現れ
る例えば網点領域、文字領域、連続階調領域などの属性
を判定する画像処理装置、画像処理方法及び画像処理プ
ログラムに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus, an image processing method, and an image processing program for determining attributes such as a halftone area, a character area, and a continuous tone area appearing in image data.

【0002】[0002]

【従来の技術】近年、デジタル複写機が普及して、アナ
ログ複写機に取って代わりつつある。デジタル複写機
は、CCD(charge coupled devi
ce)センサなどによって原稿の画像を読み取り、この
画像の信号をデジタルデータに変換する。さらに、デジ
タル複写機は、得られた画像のデータに対して、フィル
タ処理、ガンマ処理、階調処理などの画像処理を施し、
画像のデータをレーザビームプリンタなどによって用紙
に記録する。
2. Description of the Related Art In recent years, digital copying machines have become widespread and are replacing analog copying machines. The digital copying machine is a charge coupled device (CCD).
ce) The image of the document is read by a sensor or the like, and the signal of this image is converted into digital data. Further, the digital copier performs image processing such as filtering, gamma processing, and gradation processing on the obtained image data,
The image data is recorded on paper by a laser beam printer or the like.

【0003】原稿の画像には、網点領域、文字・線画領
域、連続階調領域など様々な領域が現れる。高い画質で
原稿の画像を用紙に記録するための画像処理は、画像又
は画像の一部がいずれの領域に属するかによって異な
る。このため、デジタル複写機には、画像のデータがい
ずれの領域に属するものであるか属性判定を行い、その
属性に応じてデータを分離し、分離したデータごとに画
像処理を異ならせるものがある。
Various areas such as a halftone area, a character / line drawing area, and a continuous tone area appear in an image of a document. Image processing for recording an image of a document on a sheet with high image quality differs depending on which region an image or part of an image belongs to. For this reason, some digital copiers determine the attribute to which area the image data belongs, separate the data according to the attribute, and vary the image processing for each separated data. .

【0004】このような分離を空間領域で表現された画
像データに基づいて行う方法は従来から種々考案されて
いた。FFT(高速フーリエ変換)やDCT(離散コサ
イン変換)などの直交変換によって空間周波数領域で表
現されたデータを扱う場合でも、従来からの方法を適用
するために一旦逆変換が行われることもあった。この場
合、逆変換によって空間領域で表現された画像データに
基づいて分離が行われた後、直交変換が行われていた。
Various methods for performing such separation based on image data expressed in a spatial domain have been conventionally devised. Even when data expressed in the spatial frequency domain by orthogonal transform such as FFT (Fast Fourier Transform) or DCT (Discrete Cosine Transform), an inverse transform is sometimes performed once to apply a conventional method. . In this case, after the separation is performed based on the image data expressed in the spatial domain by the inverse transform, the orthogonal transform is performed.

【0005】一方、上述の分離を空間周波数領域で表現
されたデータに基づいて行う方法もあった。例えば特開
平6−223172号公報には、画像データにウェーブ
レット変換を施したデータに基づいて文字領域と非文字
領域を分離する技術が記載されている。また、特開平1
1−220622号公報には、画像データにウェーブレ
ット変換を施したデータに基づいて対象ブロック毎に判
定を行い、各対象ブロックを文字領域、網点領域、連続
階調領域などに分離する技術が記載されている。
On the other hand, there is also a method of performing the above-described separation based on data expressed in a spatial frequency domain. For example, JP-A-6-223172 describes a technique for separating a character region and a non-character region based on data obtained by performing wavelet transform on image data. Also, Japanese Patent Application Laid-Open
Japanese Patent Application Laid-Open No. 1-220622 describes a technique in which a determination is made for each target block based on data obtained by performing a wavelet transform on image data, and each target block is separated into a character area, a halftone area, a continuous tone area, and the like. Have been.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、空間領
域で表現された画像データに基づいて分離を行う方法を
採用する場合、空間周波数領域で表現されたデータを扱
うとき、分離のために逆変換及び直交変換を行う必要が
生じ、余分な処理と時間がかかってしまう。
However, when a method of performing separation based on image data represented in the spatial domain is employed, when data represented in the spatial frequency domain is handled, an inverse transform and a transform for separation are performed. It is necessary to perform orthogonal transformation, which requires extra processing and time.

【0007】また、空間周波数領域で表現されたデータ
に基づいて分離を行う方法を採用する場合でも、特開平
6−223172号公報に記載の技術のように、画像を
文字領域と非文字領域に分離するだけでは、画質が不十
分になる場合があった。さらに、特開平11−2206
22号公報に記載の技術のように、ウェーブレット変換
したデータを文字領域、網点領域、連続階調領域などに
分離しても、その単位が対象ブロックであるため、誤判
定したときの悪影響が大きくなり、画像品位が低下す
る。
[0007] Further, even when a method of performing separation based on data expressed in the spatial frequency domain is adopted, an image is divided into a character region and a non-character region as in the technique described in Japanese Patent Laid-Open No. Hei 6-223172. There is a case where the image quality becomes insufficient only by the separation. Further, JP-A-11-2206
Even if the data subjected to the wavelet transform is separated into a character area, a halftone area, a continuous tone area, and the like as in the technique described in Japanese Patent Publication No. 22, the adverse effect of an erroneous determination is not obtained because the unit is the target block. And the image quality deteriorates.

【0008】以上のように、デジタル複写機やスキャナ
などの画像処理装置では、画像のデータの属性を詳細に
判定して、属性に適した処理を行う必要があるにもかか
わらず、十分な属性判定ができていない。
As described above, in an image processing apparatus such as a digital copying machine or a scanner, although it is necessary to determine the attribute of image data in detail and perform processing suitable for the attribute, a sufficient attribute is required. The judgment has not been made.

【0009】本発明は、上述のような従来の技術におけ
る課題を鑑みてなされたものであり、精度のよい属性判
定を行うことが可能な画像処理装置、画像処理方法、及
び画像処理プログラムを提供することを目的とするもの
である。
The present invention has been made in view of the above-mentioned problems in the conventional technology, and provides an image processing apparatus, an image processing method, and an image processing program capable of performing accurate attribute determination. It is intended to do so.

【0010】[0010]

【課題を解決するための手段】本発明は、上記目的を達
成するために以下の手段を採用している。
The present invention employs the following means to achieve the above object.

【0011】本発明において、まず参照選択手段は、画
像を構成する画素を複数含む参照ブロックの選択、及び
該参照ブロック内の1つ又は複数の画素からなる注目領
域の選択を行う。次に、直交変換手段は、参照ブロック
内の画素の値を直交変換した結果である直交データを得
る。さらに、特徴算出手段は、直交データに基づいて参
照ブロックの空間周波数帯域毎の特徴を表す特徴値を算
出する。そして、属性判定手段は、特徴値に基づいて注
目領域の属性を判定する。
In the present invention, first, the reference selecting means selects a reference block including a plurality of pixels constituting an image, and selects a region of interest consisting of one or more pixels in the reference block. Next, the orthogonal transform means obtains orthogonal data as a result of orthogonally transforming the values of the pixels in the reference block. Further, the feature calculation means calculates a feature value representing a feature of each of the spatial frequency bands of the reference block based on the orthogonal data. Then, the attribute determining means determines the attribute of the attention area based on the characteristic value.

【0012】判定される属性は、例えば網点領域、文字
領域、又は連続階調領域などである。これらの属性が注
目領域毎に判定されるから、精度のよい属性判定が可能
となる。
The attribute to be determined is, for example, a halftone dot area, a character area, or a continuous tone area. Since these attributes are determined for each attention area, accurate attribute determination can be performed.

【0013】また、参照ブロックの特徴値と他のブロッ
クの特徴値とを空間周波数毎に積算する積算手段が備え
られることもある。この場合、属性判定手段は、積算手
段の積算結果に基づいて注目領域の属性を判定する。積
算する分だけ、属性判定の精度を向上させることができ
る。判定を行うのに他のブロックに対する判定結果を利
用したとしても、誤判定の影響が伝播しやすくなるが、
他のブロックの特徴値を積算し、しかも注目領域につい
てのみ属性判定を行うから、誤判定の悪影響が抑えられ
る。
[0013] Further, an integrating means for integrating the characteristic value of the reference block and the characteristic value of another block for each spatial frequency may be provided. In this case, the attribute determining means determines the attribute of the attention area based on the integration result of the integrating means. The accuracy of attribute determination can be improved by an amount corresponding to the integration. Even if the judgment result for other blocks is used to make the judgment, the effect of the erroneous judgment is likely to propagate,
Since the characteristic values of the other blocks are integrated and the attribute determination is performed only for the attention area, the adverse effect of the erroneous determination can be suppressed.

【0014】また、直交データのうち、所定の空間周波
数帯域の直交データに基づいた補正値を算出する補正算
出手段が備えられることもある。この場合、属性判定手
段は、特徴値と補正値とに基づいて注目領域の属性を判
定する。補正値を属性判定に利用することによって、特
徴値が類似する場合の誤判定を抑えることができる。
Further, among the orthogonal data, a correction calculating means for calculating a correction value based on orthogonal data in a predetermined spatial frequency band may be provided. In this case, the attribute determining means determines the attribute of the attention area based on the characteristic value and the correction value. By using the correction value for attribute determination, erroneous determination when the characteristic values are similar can be suppressed.

【0015】さらに、積算手段によって特徴値だけでな
く、補正値も積算するようにしてもよい。また、特徴算
出手段は、直交データのうち、空間周波数帯域が最低の
ものを除いて特徴値を算出するのがよい。
Further, not only the characteristic value but also the correction value may be integrated by the integrating means. Further, it is preferable that the feature calculation unit calculates the feature value except for the orthogonal data having the lowest spatial frequency band.

【0016】また、属性判定の対象となる画像は、例え
ば原稿から読み取った画像である。この場合に、参照選
択手段は、原稿読み取りの主走査方向から副走査方向の
順で連続的にかつ1画素毎にずらして参照ブロックを順
次選択する。
The image to be subjected to attribute determination is, for example, an image read from a document. In this case, the reference selecting means sequentially selects the reference blocks sequentially in the order from the main scanning direction of the document reading to the sub-scanning direction and shifted by one pixel.

【0017】また、参照ブロック内の一部領域にのみ画
像を構成する画素が含まれる場合に、直交変換手段は、
参照ブロック内の一部領域以外の領域にある画素の値
を、白色画像を表す値で埋める。
Further, when pixels constituting an image are included only in a partial area in the reference block, the orthogonal transform means
The value of a pixel in an area other than the partial area in the reference block is filled with a value representing a white image.

【0018】さらに、積算手段は、他のブロックの注目
領域にあたる領域が画像外にある場合に、画像外に注目
領域にあたる領域のあるブロックの特徴値は積算せず、
参照ブロックの特徴値と画像内に注目領域がある他のブ
ロックの特徴値のみを積算する。他のブロックは、例え
ば注目領域が参照ブロックの注目領域の周辺にあるブロ
ックである。
Further, when the region corresponding to the region of interest of another block is outside the image, the integrating means does not integrate the characteristic value of the block having the region corresponding to the region of interest outside the image.
Only the feature value of the reference block and the feature value of another block having a region of interest in the image are integrated. Another block is, for example, a block whose attention area is around the attention area of the reference block.

【0019】また、判定結果は、画像処理を選択するた
めに用いられる。画像処理には、単純2値化処理や誤差
拡散処理、ディザ処理、圧縮処理などが含まれる。
The determination result is used for selecting image processing. The image processing includes simple binarization processing, error diffusion processing, dither processing, compression processing, and the like.

【0020】[0020]

【発明の実施の形態】(第1の実施の形態)本発明は、
例えばデジタル複写機に現れる。このデジタル複写機の
全体構成を図2に示す。
DESCRIPTION OF THE PREFERRED EMBODIMENTS (First Embodiment)
For example, it appears in digital copiers. FIG. 2 shows the overall configuration of this digital copying machine.

【0021】図2に示すように、このデジタル複写機
は、原稿104の画像を読み取るイメージスキャナ部1
01を備えている。イメージスキャナ部101の筐体上
面には、原稿台ガラス(以下、プラテンという)103
が設けられている。原稿104は、このプラテン103
上に配置される。ランプ105は、プラテン103を通
じて原稿104を露光する。走査ミラー106、10
7、108は、露光された原稿104からの反射光を結
像レンズ109に導く。結像レンズ109は、原稿10
4からの反射光をラインセンサ110上に結像させる。
ランプ105及び走査ミラー106、107、108
は、副走査方向Yに一定の走査速度で移動する。走査ミ
ラー107、108の走査速度は、ランプ105及び走
査ミラー106の走査速度Vの半分であり、走査によっ
て光路長は変化しない。ラインセンサ110は、例えば
CCD等で構成され、反射光をアナログ電気信号に変換
する。ラインセンサ110の電気的走査方向は、副走査
方向Yに垂直な主走査方向に平行であるから、ランプ1
05及び走査ミラー106、107、108が移動する
ことによって、原稿104全面に対してアナログ電気信
号が得られる。このアナログ信号は、ラインセンサ11
0から信号処理部111へ出力される。信号処理部11
1は、アナログ信号をデジタルデータに変換し、得られ
た画像のデータに対して画像処理を施し、プリンタ部1
02に出力する。
As shown in FIG. 2, this digital copying machine has an image scanner section 1 for reading an image of a document 104.
01 is provided. A platen glass (hereinafter, referred to as a platen) 103 is provided on the upper surface of the housing of the image scanner unit 101.
Is provided. The original 104 is the platen 103
Placed on top. The lamp 105 exposes the document 104 through the platen 103. Scanning mirrors 106, 10
Reference numerals 7 and 108 guide the reflected light from the exposed document 104 to the imaging lens 109. The imaging lens 109 is used to
The reflected light from 4 is imaged on the line sensor 110.
Lamp 105 and scanning mirrors 106, 107, 108
Moves at a constant scanning speed in the sub-scanning direction Y. The scanning speed of the scanning mirrors 107 and 108 is half of the scanning speed V of the lamp 105 and the scanning mirror 106, and the optical path length does not change by scanning. The line sensor 110 is configured by, for example, a CCD or the like, and converts reflected light into an analog electric signal. Since the electrical scanning direction of the line sensor 110 is parallel to the main scanning direction perpendicular to the sub-scanning direction Y, the lamp 1
By moving the scanning mirror 05 and the scanning mirrors 106, 107, and 108, an analog electric signal is obtained over the entire surface of the document 104. This analog signal is output to the line sensor 11
0 is output to the signal processing unit 111. Signal processing unit 11
The printer unit 1 converts an analog signal into digital data, performs image processing on the obtained image data, and
02 is output.

【0022】プリンタ部102は、イメージスキャナ部
101から入力された画像のデータを用紙に記録する。
画像のデータが送られるのは、レーザドライバ112で
ある。レーザドライバ112は、画像のデータに応じ
て、半導体レーザ113を変調駆動する。ポリゴンミラ
ー114、fθレンズ115は、ミラー116を介し
て、半導体レーザ113からのレーザ光を感光ドラム1
17上に走査する。これによって、感光ドラム117に
は静電潜像が形成される。感光ドラム117の周面に
は、現像器118が配置されている。現像器118は、
トナー(現像材)を静電潜像に付着させ、静電潜像を現
像する。転写ドラム119は、用紙カセット120、1
21から給紙されてきた用紙に、現像された像(トナー
像)を転写する。トナー像が転写された用紙は、転写ド
ラム119から定着ユニット122へ搬送される。定着
ユニット122は、用紙にトナー像を定着させる。定着
の後、用紙は外部へ排出される。
The printer unit 102 records the image data input from the image scanner unit 101 on paper.
It is the laser driver 112 that sends the image data. The laser driver 112 modulates and drives the semiconductor laser 113 according to image data. The polygon mirror 114 and the fθ lens 115 apply laser light from the semiconductor laser 113 to the photosensitive drum 1 via the mirror 116.
Scan over 17. As a result, an electrostatic latent image is formed on the photosensitive drum 117. On the peripheral surface of the photosensitive drum 117, a developing device 118 is arranged. The developing device 118
The toner (developer) is attached to the electrostatic latent image to develop the electrostatic latent image. The transfer drum 119 includes a paper cassette 120,
The developed image (toner image) is transferred to the paper fed from 21. The sheet on which the toner image has been transferred is transported from the transfer drum 119 to the fixing unit 122. The fixing unit 122 fixes the toner image on the sheet. After fixing, the paper is discharged to the outside.

【0023】このようにして用紙に記録された画像の品
質は信号処理部111における画像処理で変動する。こ
こで、図1に信号処理部111のより詳細な構成を示
す。
The quality of the image recorded on the paper in this way varies in the image processing in the signal processing unit 111. Here, FIG. 1 shows a more detailed configuration of the signal processing unit 111.

【0024】図1に示すように、信号処理部111は、
A/D変換器11を備えている。A/D変換器11は、
ラインセンサ110から入力されたアナログ電気信号
(画信号s00)をデジタルの画像データa00に変換
する。アナログ電気信号は、ラインセンサ110の各画
素に入射した反射光の輝度に対応しており、A/D変換
器11は、各画素の輝度を例えば8ビットのデジタルデ
ータに変換する。シェーディング補正回路12は、A/
D変換器11からの画像データa00をラインセンサ1
10の感度むらやランプ105の照明むらに基づいて補
正する。ラインバッファ13は、シェーディング補正回
路12で補正された画像データb00を主走査方向に対
応するライン単位で記憶する。
As shown in FIG. 1, the signal processing unit 111
An A / D converter 11 is provided. The A / D converter 11
An analog electric signal (image signal s00) input from the line sensor 110 is converted into digital image data a00. The analog electric signal corresponds to the luminance of the reflected light incident on each pixel of the line sensor 110, and the A / D converter 11 converts the luminance of each pixel into, for example, 8-bit digital data. The shading correction circuit 12 outputs
The image data a00 from the D converter 11 is sent to the line sensor 1
The correction is made based on the sensitivity unevenness of 10 and the illumination unevenness of the lamp 105. The line buffer 13 stores the image data b00 corrected by the shading correction circuit 12 in line units corresponding to the main scanning direction.

【0025】ラインバッファ13は、例えば図3に示す
ように、(A4サイズ(縦)の原稿に対して600dp
iで読み取った場合、)副走査方向Yに10画素分、及
び主走査方向Xに約4900画素分のデータを記憶す
る。この各画素に対する領域に、輝度を表す8ビットの
データb00が格納される。
As shown in FIG. 3, for example, as shown in FIG.
In the case of reading by i), data for 10 pixels in the sub-scanning direction Y and about 4900 pixels in the main scanning direction X are stored. In an area corresponding to each pixel, 8-bit data b00 representing luminance is stored.

【0026】属性判定部123は、ラインバッファ13
に記憶された画像データb00に対して属性判定を行
う。属性判定部123の備える参照選択手段1は、画像
を構成する画素を複数含む参照ブロック2Rの選択、及
び該参照ブロック2R内の1つ又は複数の画素からなる
注目領域の選択を行う。ここでの画像を構成する画素
は、ラインバッファ13にデータが記憶された画素であ
る。参照ブロック2Rは、例えば図3及び図4(a)に
示すように、4×4の16画素からなる。注目領域とし
ては、例えば参照ブロック内の注目画素b2が選択され
る。この注目画素b2は、参照ブロック2R内の所定位
置にある画素である。参照選択手段1は、選択した参照
ブロック2R及び注目画素b2を直交変換手段2に通知
する。
The attribute judging unit 123
Is determined for the image data b00 stored in. The reference selecting unit 1 included in the attribute determining unit 123 selects a reference block 2R including a plurality of pixels constituting an image, and selects an attention area including one or a plurality of pixels in the reference block 2R. The pixels constituting the image here are the pixels whose data is stored in the line buffer 13. The reference block 2R is composed of 4 × 4 16 pixels as shown in FIGS. 3 and 4A, for example. As the region of interest, for example, the pixel of interest b2 in the reference block is selected. The target pixel b2 is a pixel at a predetermined position in the reference block 2R. The reference selecting unit 1 notifies the orthogonal transforming unit 2 of the selected reference block 2R and target pixel b2.

【0027】直交変換手段2は、通知された参照ブロッ
ク2R内の各画素のデータをラインバッファ13から読
み出し、ブロック単位で直交変換を行う。直交変換した
結果である直交データは、空間周波数領域での各成分の
係数を表す。図4(a)に示すように、4×4の16画
素からなる参照ブロック2R内の各画素のデータa1〜
d4が与えられているとき、画素数と同数の直交データ
K1〜N4が得られる。なお、画像データが8ビットで
表されている場合には、例えば下位2ビット程度を切り
捨てたり、シフトしても、属性判定に影響はない。
The orthogonal transformation means 2 reads out the data of each pixel in the notified reference block 2R from the line buffer 13 and performs orthogonal transformation on a block basis. Orthogonal data, which is the result of the orthogonal transformation, represents the coefficient of each component in the spatial frequency domain. As shown in FIG. 4A, data a1 to a4 of each pixel in a reference block 2R composed of 4 × 4 16 pixels.
When d4 is given, the same number of orthogonal data K1 to N4 as the number of pixels is obtained. When the image data is represented by 8 bits, for example, truncation or shift of the lower 2 bits does not affect the attribute determination.

【0028】直交変換には、直交ウェーブレット変換を
用いることができる。この場合、例えば変換対象が1×
4のデータ列(A,B,C,D)で与えられていれば、
まず、それぞれ隣り合う要素を加算した結果を前半に、
減算した結果を後半に再配置する操作を行う。この操作
により、(A+B,C+D,A−B、C−D)というデ
ータ列が得られる。さらに、このデータ列の前半の要素
についてのみ、上述の操作を行う。これによって、
((A+B)+(C+D),(A+B)−(C+D),
A−B、C−D)というデータ列が得られる。ウェーブ
レット変換によって得られる直交データ(K,L,M,
N)は、このデータ列によって表される。すなわち、K
=(A+B)+(C+D)であり、L=(A+B)−
(C+D)であり、M=A−Bであり、N=C−Dであ
る。
As the orthogonal transform, an orthogonal wavelet transform can be used. In this case, for example, the conversion target is 1 ×
4 is given by the data string (A, B, C, D)
First, the result of adding each adjacent element in the first half,
Perform the operation of rearranging the result of the subtraction in the latter half. By this operation, a data string of (A + B, C + D, AB, CD) is obtained. Further, the above operation is performed only for the first half of the data string. by this,
((A + B) + (C + D), (A + B)-(C + D),
AB, CD) are obtained. Orthogonal data (K, L, M,
N) is represented by this data sequence. That is, K
= (A + B) + (C + D), and L = (A + B)-
(C + D), M = AB, and N = CD.

【0029】また、データ列が2行以上の配列で表され
るときには、同様の操作を横方向(行方向)と縦方向
(列方向)で共に行えばよい。例えば行方向について操
作を行った後に、その結果に基づき縦方向について操作
を行う。なお、縦横いずれの方向から操作を行っても、
最終的な結果は同じものになる。
When the data string is represented by an array of two or more rows, the same operation may be performed both in the horizontal direction (row direction) and in the vertical direction (column direction). For example, after an operation is performed in the row direction, an operation is performed in the vertical direction based on the result. It should be noted that, regardless of whether the operation is performed vertically or horizontally,
The end result is the same.

【0030】図4(a)に示した画像データa1〜d4
に対して上述の操作を行ったとき、ウェーブレット変換
によって得られる直交データK1〜N4は、以下のよう
な変換式で与えられる。
The image data a1 to d4 shown in FIG.
, The orthogonal data K1 to N4 obtained by the wavelet transform are given by the following conversion formulas.

【0031】(1列目) K1=(a1+a2+a3+a4+b1+b2+b3+b4)+(c1+c2+c3+c4+d1+d2+d3
+d4) K2=(a1+a2+a3+a4+b1+b2+b3+b4)-(c1+c2+c3+c4+d1+d2+d3
+d4) K3=(a1+b1+c1+d1)-(a2+b2+c2+d2) K4=(a3+b3+c3+d3)-(a4+b4+c4+d4) (2列目) L1=(((a1+b1)-(c1+d1))+((a2+b2)-(c2+d2)))+(((a3+b3)
-(c3+d3))+((a4+b4)-(c4+d4))) L2=(((a1+b1)-(c1+d1))+((a2+b2)-(c2+d2)))-(((a3+b3)
-(c3+d3))+((a4+b4)-(c4+d4))) L3=((a1+b1)-(c1+d1))-((a2+b2)-(c2+d2)) L4=((a3+b3)-(c3+d3))-((a4+b4)-(c4+d4)) (3列目) M1=((a1-b1)+(a2-b2))+((a3-b3)+(a4-b4)) M2=((a1-b1)+(a2-b2))-((a3-b3)+(a4-b4)) M3=(a1-b1)-(a2-b2) M4=(a3-b3)-(a4-b4) (4列目) N1=((c1-d1)+(c2-d2))+((c3-d3)+(c4-d4)) N2=((c1-d1)+(c2-d2))-((c3-d3)+(c4-d4)) N3=(c1-d1)-(c2-d2) N4=(c3-d3)-(c4-d4) この場合、直交変換手段2は、図5に示すようなウェー
ブレット変換回路14によって実現することができる。
図5に示すように、ウェーブレット変換回路14は、各
変換式に対応した変換演算回路1400、1401〜1
414、1415から構成される。各変換演算回路14
00〜1415は、各変換式から明らかな通り、加減算
器のみで構成されることから、高い演算速度を実現する
ことが可能である。
(First column) K1 = (a1 + a2 + a3 + a4 + b1 + b2 + b3 + b4) + (c1 + c2 + c3 + c4 + d1 + d2 + d3
+ d4) K2 = (a1 + a2 + a3 + a4 + b1 + b2 + b3 + b4)-(c1 + c2 + c3 + c4 + d1 + d2 + d3
+ d4) K3 = (a1 + b1 + c1 + d1)-(a2 + b2 + c2 + d2) K4 = (a3 + b3 + c3 + d3)-(a4 + b4 + c4 + d4) (second column) L1 = (((a1 + b1)-(c1 + d1)) + ((a2 + b2)-(c2 + d2))) + (((a3 + b3)
-(c3 + d3)) + ((a4 + b4)-(c4 + d4))) L2 = (((a1 + b1)-(c1 + d1)) + ((a2 + b2)-(c2 + d2 )))-(((a3 + b3)
-(c3 + d3)) + ((a4 + b4)-(c4 + d4))) L3 = ((a1 + b1)-(c1 + d1))-((a2 + b2)-(c2 + d2) ) L4 = ((a3 + b3)-(c3 + d3))-((a4 + b4)-(c4 + d4)) (third column) M1 = ((a1-b1) + (a2-b2)) + ((a3-b3) + (a4-b4)) M2 = ((a1-b1) + (a2-b2))-((a3-b3) + (a4-b4)) M3 = (a1-b1) -(a2-b2) M4 = (a3-b3)-(a4-b4) (4th column) N1 = ((c1-d1) + (c2-d2)) + ((c3-d3) + (c4- d4)) N2 = ((c1-d1) + (c2-d2))-((c3-d3) + (c4-d4)) N3 = (c1-d1)-(c2-d2) N4 = (c3- d3)-(c4-d4) In this case, the orthogonal transform means 2 can be realized by a wavelet transform circuit 14 as shown in FIG.
As shown in FIG. 5, the wavelet transform circuit 14 includes transform operation circuits 1400, 1401-1
414 and 1415. Each conversion operation circuit 14
Since each of 00 to 1415 is composed of only an adder / subtractor, as is clear from each conversion formula, it is possible to realize a high operation speed.

【0032】なお、直交変換に、このようなウェーブレ
ット変換を利用するのではなく、FFTやDCTなどそ
の他の直交変換を利用してもよい。
It should be noted that, instead of using such a wavelet transform for the orthogonal transform, other orthogonal transforms such as FFT and DCT may be used.

【0033】上述のような直交データe00は、特徴算
出手段3へ出力される。
The orthogonal data e00 as described above is output to the feature calculation means 3.

【0034】特徴算出手段3は、直交変換手段2からの
直交データe00に基づき、低空間周波数帯域、中間空
間周波数帯域、高空間周波数帯域の各空間周波数帯域の
特徴を表す特徴値をそれぞれ算出する。
The characteristic calculating means 3 calculates characteristic values representing the characteristics of each of the low spatial frequency band, the intermediate spatial frequency band, and the high spatial frequency band based on the orthogonal data e00 from the orthogonal transforming means 2. .

【0035】4×4の16画素からなる参照ブロックに
対応する図4(b)に示した直交データK1〜N4を、
例えば図6に示すように、各空間周波数帯域に分類す
る。直交データK1は、最低空間周波数帯域に分類され
る。また、直交データL1、K2は、低空間周波数帯域
に分類される。また、直交データK3、L2、M1、N
1、M2、L3、K4、L4、N2は、中間空間周波数
帯域に分類される。また、直交データM3、N3、M
4、N4は、高空間周波数帯域に分類される。このう
ち、最低空間周波数帯域に分類される直交データK1
は、直流成分(定数項)を表し、その他の空間周波数帯
域に分類される直交データL1〜N4は、交流成分を表
す。参照ブロックの特徴は、交流成分に現れるから、こ
こでは、最低空間周波数帯域に分類される直交データK
1は使用しない。
The orthogonal data K1 to N4 shown in FIG. 4B corresponding to a reference block consisting of 4 × 4 16 pixels are
For example, as shown in FIG. 6, the data is classified into each spatial frequency band. The orthogonal data K1 is classified into the lowest spatial frequency band. Also, the orthogonal data L1 and K2 are classified into a low spatial frequency band. Also, the orthogonal data K3, L2, M1, N
1, M2, L3, K4, L4, and N2 are classified into intermediate spatial frequency bands. Also, orthogonal data M3, N3, M
4, N4 are classified into high spatial frequency bands. Among them, the orthogonal data K1 classified into the lowest spatial frequency band
Represents a DC component (constant term), and the orthogonal data L1 to N4 classified into other spatial frequency bands represent an AC component. Since the feature of the reference block appears in the AC component, here, the orthogonal data K classified into the lowest spatial frequency band is used.
1 is not used.

【0036】さて、一般的に、文字など線で表現される
文字領域に属する参照ブロックでは、低空間周波数帯域
に分類される直交データの絶対値が大きくなる特徴があ
る。図7(a)は、原稿が文字の印刷された用紙である
場合の画像データの具体例を示す。図7(a)に示すよ
うに、中央2列にある画素の値は、他の2列にある画素
の値と較べてかなり大きく、これによって縦線が表現さ
れている。図7(b)は、この場合の直交データの具体
例を示す。図7(b)に示すように、最低空間周波数帯
域に分類される直交データを除くと、低空間周波数帯域
に分類される直交データの絶対値は、他の帯域に分類さ
れる直交データの絶対値よりかなり大きい。
In general, a reference block belonging to a character area represented by a line such as a character is characterized in that the absolute value of orthogonal data classified into a low spatial frequency band is large. FIG. 7A shows a specific example of image data when a document is a sheet on which characters are printed. As shown in FIG. 7A, the value of the pixel in the center two columns is considerably larger than the value of the pixel in the other two columns, and this represents a vertical line. FIG. 7B shows a specific example of orthogonal data in this case. As shown in FIG. 7B, except for the orthogonal data classified into the lowest spatial frequency band, the absolute value of the orthogonal data classified into the low spatial frequency band is the absolute value of the orthogonal data classified into another band. Considerably larger than the value.

【0037】また、解像度の低い網点領域に属する参照
ブロックでは、中間空間周波数帯域に分類される直交デ
ータの絶対値が大きく、解像度の高い網点領域に属する
参照ブロックでは、高空間周波数帯域に分類される直交
データの絶対値が大きくなる。図8(a)は、原稿が網
点印刷された用紙である場合の画像データの具体例を示
す。また、図8(b)は、この場合の直交データの具体
例を示す。図8(b)に示すように、この例では、中間
空間周波数帯域に分類される直交データの絶対値がかな
り大きくなっている。
In a reference block belonging to a halftone dot region having a low resolution, the absolute value of orthogonal data classified into an intermediate spatial frequency band is large. The absolute value of the orthogonal data to be classified increases. FIG. 8A shows a specific example of image data in a case where the original is a dot-printed sheet. FIG. 8B shows a specific example of orthogonal data in this case. As shown in FIG. 8B, in this example, the absolute value of the orthogonal data classified into the intermediate spatial frequency band is considerably large.

【0038】さらに、連続階調領域に属する参照ブロッ
クでは、特定帯域に分類される直交データの絶対値が大
きくなる傾向は小さい。図9(a)は、原稿が写真画像
の焼き付けられた印画紙である場合の画像データの具体
例を示す。また、図9(b)は、この場合の直交データ
の具体例を示す。図9(b)に示すように、他の場合に
は、1000を超える値の直交データが存在していた
が、この場合には存在せず、最も大きくても100程度
しか各直交データの絶対値は変わらない。
Further, in the reference block belonging to the continuous tone area, the tendency that the absolute value of the orthogonal data classified into the specific band becomes large is small. FIG. 9A shows a specific example of image data when the original is photographic paper on which a photographic image is printed. FIG. 9B shows a specific example of orthogonal data in this case. As shown in FIG. 9B, in other cases, orthogonal data having a value exceeding 1000 existed. However, in this case, the orthogonal data did not exist. The value does not change.

【0039】そこで、例えば図4(b)に示した直交デ
ータL1〜N4に基づき、低空間周波数帯域の特徴値F
m、中間空間周波数帯域の特徴値Fn、高空間周波数帯
域の特徴値Fpを次式のように与える。
Thus, for example, based on the orthogonal data L1 to N4 shown in FIG.
m, the characteristic value Fn of the intermediate spatial frequency band, and the characteristic value Fp of the high spatial frequency band are given by the following equations.

【0040】 Fm=|L1|+|K2|+|L2| Fn=|M1|+|N1|+|M2|+|N2|+|K3|+|L3
|+|K4|+|L4| Fp=|M3|+|N3|+|M4|+|N4| (尚、|**|は絶対値を意味する。) この場合、特徴算出手段3は、図10に示すような算出
回路15によって実現することができる。算出回路15
は、図10に示すように、絶対値演算回路1500a、
1500b〜1500n、1500oを備えている。絶
対値演算回路1500a〜1500oには、直交データ
L1〜N4がそれぞれ入力される。絶対値演算回路15
00a〜1500oは、各直交データの絶対値を演算
し、加算器1501a、1501c、1501d、15
01e、1501f、1501j、1501kに出力す
る。例えば直交データL1、K2が入力される各絶対値
演算回路1500a、1500bは、絶対値|L1|、
|K2|をそれぞれ加算器1501aに出力する。
Fm = | L1 | + | K2 | + | L2 | Fn = | M1 | + | N1 | + | M2 | + | N2 | + | K3 | + | L3
| + | K4 | + | L4 | Fp = | M3 | + | N3 | + | M4 | + | N4 | (where | ** | means an absolute value.) In this case, the feature calculating means 3 This can be realized by the calculation circuit 15 as shown in FIG. Calculation circuit 15
Is an absolute value operation circuit 1500a, as shown in FIG.
1500b to 1500n and 1500o. The orthogonal data L1 to N4 are input to the absolute value calculation circuits 1500a to 1500o, respectively. Absolute value calculation circuit 15
00a to 1500o calculate the absolute value of each orthogonal data and adders 1501a, 1501c, 1501d, 15
01e, 1501f, 1501j, and 1501k. For example, each of the absolute value calculation circuits 1500a and 1500b to which the orthogonal data L1 and K2 are input has an absolute value | L1 |
| K2 | is output to the adder 1501a.

【0041】加算器1501a〜1501lは上式に従
って配置されている。加算器1501aは、絶対値演算
回路1500aからの|L1|と絶対値演算回路150
0bからの|K2|とを加算して、|L1|+|K2|
を加算器1501bへ出力する。加算器1501bに
は、加算器1501aからの|L1|+|K2|と絶対
値演算回路1500cからの|L2|とが入力される。
加算器1501bは、これらを加算して|L1|+|K
2|+|L2|を求め、低空間周波数帯域の特徴値Fm
を出力する。同様に、加算器1501iは、中間空間周
波数帯域の特徴値Fnを出力し、加算器1501lは、
低空間周波数帯域の特徴値Fpを出力する。
The adders 1501a to 1501l are arranged according to the above equation. The adder 1501a is provided with | L1 | from the absolute value arithmetic circuit 1500a and the absolute value arithmetic circuit 150.
| K2 | from 0b is added, and | L1 | + | K2 |
Is output to the adder 1501b. | L1 | + | K2 | from the adder 1501a and | L2 | from the absolute value calculation circuit 1500c are input to the adder 1501b.
The adder 1501b adds these and adds | L1 | + | K
2 | + | L2 |, and the characteristic value Fm of the low spatial frequency band
Is output. Similarly, the adder 1501i outputs the feature value Fn of the intermediate spatial frequency band, and the adder 1501l outputs
The feature value Fp of the low spatial frequency band is output.

【0042】ここで、図7(b)、図8(b)、図9
(b)に示した各直交データに基づいて各特徴値を算出
すると、図7(b)の例については、Fm=1564、
Fn=1356、Fp=334という結果が得られる。
同様に、図8(b)の例については、Fm=1163、
Fn=808、Fp=15という結果が得られる。ま
た、図9(b)の例については、Fm=148、Fn=
100、Fp=10という結果が得られる。
FIGS. 7 (b), 8 (b), 9
When each feature value is calculated based on each orthogonal data shown in (b), Fm = 1564 for the example of FIG.
The result is Fn = 1356 and Fp = 334.
Similarly, for the example of FIG. 8B, Fm = 1163,
The result is that Fn = 808 and Fp = 15. Also, in the example of FIG. 9B, Fm = 148, Fn =
The result is 100, Fp = 10.

【0043】これらの特徴値Fm、Fn、Fpは、属性
判定手段4に出力される。
These characteristic values Fm, Fn, Fp are output to the attribute determining means 4.

【0044】属性判定手段4は、各特徴値に基づいて注
目画素b2の属性を判定する。属性判定手段4は、例え
ば図11に示すような判定回路16によって実現するこ
とができる。図11に示すように、判定回路16は、比
較器1600a、1600b、1601を備えている。
比較器1600aは、特徴値Fmと特徴値Fnとの大小
を比較し、大きい方の値を出力する。比較器1600b
は、比較器1600aの出力と特徴値Fpとの大小を比
較し、大きい方の値を出力する。比較器1601は、比
較器1600bの出力Fmax と閾値T1との大小を比較
する。
The attribute determining means 4 determines the attribute of the target pixel b2 based on each characteristic value. The attribute determining means 4 can be realized by, for example, a determining circuit 16 as shown in FIG. As shown in FIG. 11, the determination circuit 16 includes comparators 1600a, 1600b, and 1601.
The comparator 1600a compares the magnitude of the feature value Fm with the magnitude of the feature value Fn, and outputs the larger value. Comparator 1600b
Compares the magnitude of the output of the comparator 1600a with the feature value Fp and outputs the larger value. Comparator 1601 compares the magnitude of output Fmax of comparator 1600b with threshold value T1.

【0045】閾値T1は、1画素の画像データを表すビ
ット数の大きさ、及び参照ブロックの画素数の大きさに
対応して予め設定される。1画素の画像データが8ビッ
トで表され、参照ブロックの画素数が4×4の16画素
である場合には、「500」程度に設定される。
The threshold value T1 is set in advance according to the size of the number of bits representing the image data of one pixel and the size of the number of pixels of the reference block. If one pixel of image data is represented by 8 bits and the number of pixels of the reference block is 4 × 4, that is, 16 pixels, it is set to about “500”.

【0046】Fmax <T1の場合には、連続階調領域で
あることを示す所定のデータを注目画素b2に対する判
定結果Qansとして出力する。判定結果Qansを表現する
のに2ビットの論理信号を用いた場合、例えば連続階調
領域であることを示す判定結果Qansを「00」で表
す。また、Fmax <T1でない場合には、Fmax が特徴
値Fm、Fn、Fpのいずれであるかに従って、Fmax
が特徴値Fmのときは、文字領域であることを示す所定
のデータ、例えば「11」を注目画素b2に対する判定
結果Qansとして出力する。また、Fmax が特徴値Fn
又はFpのときは、網点領域であることを示す所定のデ
ータ、例えば「10」を注目画素b2に対する判定結果
ansとして出力する。
If Fmax <T1, predetermined data indicating the continuous tone area is output as the determination result Q ans for the target pixel b2. When a 2-bit logical signal is used to represent the determination result Q ans , for example, the determination result Q ans indicating a continuous tone area is represented by “00”. If Fmax <T1 is not satisfied, Fmax is determined according to which of Fm, Fn, and Fp the feature value is.
Is a feature value Fm, predetermined data indicating a character area, for example, “11” is output as the determination result Q ans for the target pixel b2. Also, Fmax is the feature value Fn
Alternatively, in the case of Fp, predetermined data indicating a halftone dot area, for example, “10” is output as the determination result Q ans for the target pixel b2.

【0047】このようにして参照ブロック2R内の注目
画素b2の属性が判定されると、属性判定手段4は、そ
の旨を参照選択手段1に通知する。この通知を受ける
と、参照選択手段1は、次の参照ブロック2R及び注目
画素b2の選択を行う。次の参照ブロック2Rの位置
は、それより前の参照ブロック2Rの位置を、主走査方
向X及び副走査方向Yの少なくとも一方の方向に所定の
画素数分ずらしたところにする。
When the attribute of the pixel of interest b2 in the reference block 2R is determined in this way, the attribute determination unit 4 notifies the reference selection unit 1 of the determination. Upon receiving this notification, the reference selecting means 1 selects the next reference block 2R and target pixel b2. The position of the next reference block 2R is obtained by shifting the position of the preceding reference block 2R by at least a predetermined number of pixels in at least one of the main scanning direction X and the sub-scanning direction Y.

【0048】例えば参照ブロック2Rの位置を主走査方
向Xに1画素ずつ移動させて順次参照ブロック2Rを選
択し、主走査方向Xの選択が終了すると、次に1画素だ
け副走査方向Yに移動して、再び主走査方向Xの選択を
行う。また、参照ブロック2Rに対する注目画素b2の
配置は変わらない。選択を行う度に上述の属性判定を繰
り返せば、ラインバッファ13に記憶された全てのデー
タb00について属性判定を行うことができる。
For example, the position of the reference block 2R is moved one pixel at a time in the main scanning direction X to sequentially select the reference block 2R. When the selection in the main scanning direction X is completed, the reference block 2R is moved by one pixel in the sub-scanning direction Y next. Then, the main scanning direction X is selected again. The arrangement of the pixel of interest b2 with respect to the reference block 2R does not change. If the above-described attribute determination is repeated each time selection is performed, attribute determination can be performed for all data b00 stored in the line buffer 13.

【0049】なお、参照ブロック2Rを4×4の16画
素とした例について説明したが、この場合に、この参照
ブロック2Rに対応する画像データから得られる情報量
は乏しい。参照ブロック2Rの画素数が大きい程、属性
判定の精度は向上する。また、ウェーブレット変換を利
用する場合、参照ブロック2Rの主走査方向X及び副走
査方向Yの画素数が2のべき乗の値を取る必要がある。
このため、実用的には、参照ブロック2Rとして8×8
の64以上の画素を含むものを用いるのが好ましい。
Although an example has been described in which the reference block 2R is 4 × 4 16 pixels, the amount of information obtained from the image data corresponding to the reference block 2R is small in this case. The greater the number of pixels of the reference block 2R, the higher the accuracy of attribute determination. When the wavelet transform is used, the number of pixels of the reference block 2R in the main scanning direction X and the sub-scanning direction Y needs to take a value of a power of two.
Therefore, practically, 8 × 8 is used as the reference block 2R.
It is preferable to use a pixel including 64 or more pixels.

【0050】但し、参照ブロック2Rの副走査方向Yの
画素数を大きくするためには、ラインバッファ13のラ
イン数もそれだけ確保しなければならない。コストの面
からすると、副走査方向Yの画素数は、4画素程度とす
るのが好ましい。一方、主走査方向Xの画素数を大きく
設定しても、ラインバッファ13のライン数を増加させ
る必要は生じない。このため、8×8の64画素を含む
参照ブロックを用いる代わりに、4×16の64画素を
含む参照ブロックを用いてもよい。
However, in order to increase the number of pixels in the sub-scanning direction Y of the reference block 2R, the number of lines in the line buffer 13 must be ensured accordingly. From the viewpoint of cost, the number of pixels in the sub-scanning direction Y is preferably set to about four pixels. On the other hand, even if the number of pixels in the main scanning direction X is set large, there is no need to increase the number of lines in the line buffer 13. Therefore, instead of using a reference block including 8 × 8 64 pixels, a reference block including 4 × 16 64 pixels may be used.

【0051】また、参照選択手段1で選択される参照ブ
ロック2Rの位置によっては、参照ブロック2R内の一
部領域にのみ画像を構成する画素が含まれる場合が生じ
る。
Further, depending on the position of the reference block 2R selected by the reference selecting means 1, there may be a case where pixels constituting an image are included only in a partial area within the reference block 2R.

【0052】例えば、図12に示すように、ラインバッ
ファ13に記憶されている画像データb00の角にあた
る位置の画素が注目画素b2に選択された場合、参照ブ
ロック内の画素a1、b1、c1、d1、a2、a3、
a4のデータは、ラインバッファ13に記憶されていな
い。
For example, as shown in FIG. 12, when the pixel at the position corresponding to the corner of the image data b00 stored in the line buffer 13 is selected as the pixel of interest b2, the pixels a1, b1, c1, c1,. d1, a2, a3,
The data of a4 is not stored in the line buffer 13.

【0053】このような場合には、参照ブロック2R内
の画素のうちデータb00がラインバッファ13に記憶
されている画素以外の画素a1、b1、c1、d1、a
2、a3、a4の値を、白色画像を表す値で埋める。例
えば画像データを8ビットで表現する場合、白色から黒
色に至る各階調に、「0」、「1」、…、「254」、
「255」という符号を当てることができる。この場
合、「0」というデータが白色画像を表す値である。な
お、この例とは逆に、黒色から白色に至る各階調に、
「0」、「1」、…、「254」、「255」という符
号を当てる場合、白色画像を表す値は「255」とな
る。
In such a case, the pixels a1, b1, c1, d1, and a1 other than the pixels whose data b00 is stored in the line buffer 13 among the pixels in the reference block 2R.
The values of 2, a3 and a4 are filled with values representing a white image. For example, when the image data is represented by 8 bits, “0”, “1”,..., “254”,
The symbol “255” can be assigned. In this case, data “0” is a value representing a white image. Note that, contrary to this example, for each gradation from black to white,
When the symbols “0”, “1”,..., “254”, and “255” are assigned, the value representing the white image is “255”.

【0054】このように白色画像を表す値で埋めるの
は、一般的に原稿の画像の端には、原稿の下地色である
白色が表れる場合がほとんどであり、しかも白色画像は
属性判定に影響を及ぼさないからである。
Filling with a value representing a white image as described above generally occurs in most cases where white, which is the background color of the document, appears at the edge of the document image, and the white image influences the attribute determination. Because it has no effect.

【0055】これによって、参照ブロック内の画素のデ
ータが部分的にない場合でも、画素毎に属性判定を行う
ことができる。
As a result, even when the pixel data in the reference block is partially missing, the attribute can be determined for each pixel.

【0056】属性判定手段4による判定結果は、属性判
定部123から画像処理部124へ出力される。
The result of the determination by the attribute determining means 4 is output from the attribute determining section 123 to the image processing section 124.

【0057】画像処理部124は、網点領域、連続階調
領域、文字領域の各領域に対応した画像処理をそれぞれ
行う網点用画像処理部125、写真用画像処理部12
6、文字用画像処理部127を備えている。
The image processing section 124 performs the image processing corresponding to each of the halftone area, the continuous tone area, and the character area.
6. A character image processing unit 127 is provided.

【0058】網点用画像処理部125、写真用画像処理
部126、文字用画像処理部127は、制御部128の
制御に従い、ラインバッファ13に記憶されている画像
データb00をそれぞれ読み出す。読み出した画像デー
タb00に対して、例えば文字用画像処理部127は、
単純2値化処理を施す。また、写真用画像処理部12
6、網点用画像処理部125は、誤差拡散処理やディザ
処理を行う。これによって、擬似的に階調を表現する。
なお、再現画像の品質を良くするために、必要に応じて
網点用画像処理部125はモアレ除去用処理を、文字用
画像処理部127は、鮮鋭化処理を行うようにしてもよ
い。
Under the control of the control unit 128, the dot image processing unit 125, the photograph image processing unit 126, and the character image processing unit 127 read the image data b00 stored in the line buffer 13. For the read image data b00, for example, the character image processing unit 127
A simple binarization process is performed. Further, the image processing unit for photograph 12
6. The dot image processing unit 125 performs an error diffusion process and a dither process. Thereby, a gray scale is expressed in a pseudo manner.
In order to improve the quality of the reproduced image, the halftone dot image processing unit 125 may perform moiré removal processing and the character image processing unit 127 may perform sharpening processing as necessary.

【0059】網点用画像処理部125、写真用画像処理
部126、文字用画像処理部127それぞれの出力は、
セレクタ部129に入力される。セレクタ部129は、
画像処理選択手段7の具体例である。制御部128は、
属性判定部123からの判定結果に従い、セレクタ部1
29に、いずれかの入力を選択させる。例えば判定結果
が「00」であれば、セレクタ部129は、写真用画像
処理部126からの入力をプリンタ部102に出力す
る。また、判定結果が「11」であれば、セレクタ部1
29は、文字用画像処理部127からの入力をプリンタ
部102に出力する。また、判定結果が「10」であれ
ば、セレクタ部129は、網点用画像処理部125から
の入力をプリンタ部102に出力する。
The outputs of the dot image processing unit 125, the photograph image processing unit 126, and the character image processing unit 127 are as follows:
It is input to the selector section 129. The selector unit 129 is
5 is a specific example of the image processing selection unit 7. The control unit 128
According to the determination result from the attribute determination unit 123, the selector unit 1
29 causes any input to be selected. For example, if the determination result is “00”, the selector unit 129 outputs an input from the photographic image processing unit 126 to the printer unit 102. If the determination result is “11”, the selector unit 1
Reference numeral 29 outputs the input from the character image processing unit 127 to the printer unit 102. If the determination result is “10”, the selector unit 129 outputs an input from the dot image processing unit 125 to the printer unit 102.

【0060】これによって、画素毎の判定結果に従って
画像処理が行われることになるから、高い画質で用紙に
画像を記録することができる。 (第2の実施の形態)図13に、第2の実施の形態にお
ける信号処理部111の概略構成を示す。
As a result, the image processing is performed according to the determination result for each pixel, so that an image can be recorded on a sheet with high image quality. (Second Embodiment) FIG. 13 shows a schematic configuration of a signal processing unit 111 according to a second embodiment.

【0061】図13に示すように、この信号処理部11
1は、第1の実施の形態における信号処理部111の特
徴算出手段3と属性判定手段4との間に積算手段5を配
置したものである。第1の実施の形態において既に説明
したものと同様であるので、ラインセンサ110から特
徴算出手段3に至るまでの動作の詳細な説明は省略する
が、画像処理方法では、図14に示すように、まず参照
選択手段1が参照ブロック2R及び注目画素b2を選択
する(S1)。次に、直交変換手段2が参照ブロック2
R内の各画素の値を直交変換して直交データを得る(S
2)。次に、特徴算出手段3が低空間周波数帯域、中間
空間周波数帯域、高空間周波数帯域の各帯域の特徴を表
す特徴値を算出する(S3)。
As shown in FIG. 13, the signal processing unit 11
Reference numeral 1 denotes an arrangement in which an integrating means 5 is arranged between the feature calculating means 3 and the attribute determining means 4 of the signal processing unit 111 in the first embodiment. Since the operation is the same as that already described in the first embodiment, a detailed description of the operation from the line sensor 110 to the feature calculation unit 3 is omitted, but in the image processing method, as shown in FIG. First, the reference selecting means 1 selects the reference block 2R and the target pixel b2 (S1). Next, the orthogonal transformation means 2 sets the reference block 2
The value of each pixel in R is orthogonally transformed to obtain orthogonal data (S
2). Next, the feature calculation means 3 calculates feature values representing the features of each of the low spatial frequency band, the intermediate spatial frequency band, and the high spatial frequency band (S3).

【0062】ここで、注目画素gを含む参照ブロック2
Rに対して、低空間周波数帯域の特徴がFm(g)で、
中間空間周波数帯域の特徴値がFn(g)で、高空間周
波数帯域の特徴値がFp(g)で与えられたとする。
Here, the reference block 2 including the target pixel g
For R, the characteristic of the low spatial frequency band is Fm (g),
It is assumed that the characteristic value of the intermediate spatial frequency band is given by Fn (g) and the characteristic value of the high spatial frequency band is given by Fp (g).

【0063】次に、積算手段5は、注目画素gを含む参
照ブロック2Rの特徴値と他のブロックの特徴値とを空
間周波数帯毎に積算する(S4)。このために、積算手
段5は、例えば注目画素gから主走査方向Xの両側に隣
接する画素(g−1)、(g+1)を注目画素とするブ
ロックの特徴値も必要とする。注目画素(g−1)を含
む参照ブロック2R、注目画素gを含む参照ブロック2
R、注目画素(g+1)を含む参照ブロック2Rの順に
特徴値が得られる場合には、注目画素(g+1)を含む
参照ブロック2Rの特徴値が得られるまで、注目画素
g、(g−1)を含む参照ブロック2Rの特徴値をレジ
スタなどに保持しておけばよい。
Next, the integrating means 5 integrates the characteristic value of the reference block 2R including the target pixel g and the characteristic value of another block for each spatial frequency band (S4). For this purpose, the integrating means 5 also needs, for example, a feature value of a block in which pixels (g−1) and (g + 1) adjacent to the target pixel g on both sides in the main scanning direction X are the target pixels. Reference block 2R including target pixel (g-1), reference block 2 including target pixel g
When the characteristic value is obtained in the order of R and the reference block 2R including the target pixel (g + 1), the target pixel g, (g−1) is obtained until the characteristic value of the reference block 2R including the target pixel (g + 1) is obtained. Is stored in a register or the like.

【0064】注目画素(g−1)、(g+1)を含むブ
ロックに対しては、それぞれ低空間周波数帯域の特徴が
Fm(g−1)、Fm(g+1)で、中間空間周波数帯
域の特徴値がFn(g−1)、Fn(g+1)で、高空
間周波数帯域の特徴値がFp(g−1)、Fp(g+
1)で与えられたとする。
For the block including the target pixels (g-1) and (g + 1), the characteristics of the low spatial frequency band are Fm (g-1) and Fm (g + 1), respectively, and the characteristic value of the intermediate spatial frequency band Are Fn (g-1) and Fn (g + 1), and the feature values in the high spatial frequency band are Fp (g-1) and Fp (g +
Suppose that it was given in 1).

【0065】積算手段5は、これらの特徴値を空間周波
数帯域毎に積算する。すなわち、特徴値の積算値Fms
(g)、Fns(g)、Fps(g)は、次式によって
与えられる。
The integrating means 5 integrates these characteristic values for each spatial frequency band. That is, the integrated value Fms of the characteristic value
(G), Fns (g) and Fps (g) are given by the following equations.

【0066】 Fms(g)=Fm(g−1)+Fm(g)+Fm(g
+1) Fns(g)=Fn(g−1)+Fn(g)+Fn(g
+1) Fps(g)=Fp(g−1)+Fp(g)+Fp(g
+1) なお、この例では、注目画素gを含む参照ブロック2R
の特徴値に対して、主走査方向Xの両側にある画素を注
目画素とするブロックについて特徴値を積算したが、こ
れに限られるものではない。例えば注目画素gの周辺に
ある画素…、(g−2)、(g−1)及び画素(g+
1)、(g+2)、…のように、主走査方向Xに1つず
つ並んだ形で連続する所定数の画素を含むブロックの特
徴値をそれぞれ積算してもよい。また、画素(g−
4)、(g−2)、及び画素(g+2)、(g+4)の
ように、主走査方向Xに1つずつ並んだ形で連続しない
所定数の画素を含むブロックの特徴値をそれぞれ積算し
てもよい。もちろん、各注目画素の配列方向も主走査方
向Xに限られるものではない。主走査方向Xには比較的
多数のデータがラインバッファ13に記憶されているの
で好ましいが、配列方向は、副走査方向Yでも、主走査
方向Xと副走査方向Yの間の斜め方向でもよい。
Fms (g) = Fm (g−1) + Fm (g) + Fm (g
+1) Fns (g) = Fn (g-1) + Fn (g) + Fn (g
+1) Fps (g) = Fp (g-1) + Fp (g) + Fp (g
+1) In this example, the reference block 2R including the target pixel g
The feature values of the block having pixels on both sides in the main scanning direction X as the pixel of interest are integrated with respect to the feature value of, but the present invention is not limited to this. For example, pixels around the target pixel g,..., (G−2), (g−1), and a pixel (g +
As in 1), (g + 2),..., The feature values of blocks including a predetermined number of consecutive pixels arranged one by one in the main scanning direction X may be integrated. The pixel (g-
4), (g−2), and pixel (g + 2) and (g + 4), respectively, are integrated with the feature values of a block including a predetermined number of non-consecutive pixels arranged one by one in the main scanning direction X. You may. Of course, the arrangement direction of each target pixel is not limited to the main scanning direction X. Although a relatively large number of data are stored in the line buffer 13 in the main scanning direction X, it is preferable that the arrangement direction is the sub-scanning direction Y or an oblique direction between the main scanning direction X and the sub-scanning direction Y. .

【0067】積算手段5は、例えば図15に示すよう
な、積算回路17によって実現することができる。積算
回路17は、レジスタ1701a〜1701f、加算器
1700a〜1700fを備える。この積算回路17で
は、各空間周波数帯域について特徴値を積算する構成は
同様である。このため、ここでは、低空間周波数帯域の
特徴値Fmに対する構成について説明しておく。積算回
路17のレジスタ1701a、1701dはシフトレジ
スタになっており、このレジスタ1701dには、常に
注目画素gの1つ前の注目画素(g−1)を含む参照ブ
ロック2Rの特徴値Fm(g−1)がラッチされた状態
となっている。また、レジスタ1701aには、常に注
目画素gを含む参照ブロック2Rの特徴値Fm(g)が
ラッチされた状態となっている。この状態で、注目画素
gの次の注目画素(g+1)を含む参照ブロック2Rの
特徴値Fm(g+1)が入力されると、加算器1700
aは、入力された特徴値Fm(g+1)とレジスタ17
01aに保持された特徴値Fm(g)とを加算すること
になる。加算器1700dは、加算器1700aの加算
結果とレジスタ1701dに保持された特徴値Fm(g
−1)とを加算する。これによって、加算器1700a
の出力にFm(g−1)+Fm(g)+Fm(g+1)
=Fms(g)が得られる。同様に、加算器1700e
の出力には、Fn(g−1)+Fn(g)+Fn(g+
1)=Fns(g)が得られる。また、加算器1700
fの出力には、Fp(g−1)+Fp(g)+Fp(g
+1)=Fps(g)が得られる。
The integrating means 5 can be realized by an integrating circuit 17 as shown in FIG. 15, for example. The integrating circuit 17 includes registers 1701a to 1701f and adders 1700a to 1700f. In the integration circuit 17, the configuration for integrating the characteristic values for each spatial frequency band is the same. Therefore, here, the configuration for the characteristic value Fm of the low spatial frequency band will be described. The registers 1701a and 1701d of the integrating circuit 17 are shift registers, and the register 1701d always stores the feature value Fm (g−g−g) of the reference block 2R including the target pixel (g−1) immediately before the target pixel g. 1) is in a latched state. Further, the register 1701a is in a state where the characteristic value Fm (g) of the reference block 2R including the target pixel g is always latched. In this state, when the feature value Fm (g + 1) of the reference block 2R including the target pixel (g + 1) following the target pixel g is input, the adder 1700 is added.
a is the input feature value Fm (g + 1) and the register 17
01a is added to the characteristic value Fm (g) held in 01a. The adder 1700d calculates the addition result of the adder 1700a and the characteristic value Fm (g) held in the register 1701d.
-1) is added. Thereby, the adder 1700a
Fm (g-1) + Fm (g) + Fm (g + 1)
= Fms (g). Similarly, an adder 1700e
Output of Fn (g-1) + Fn (g) + Fn (g +
1) = Fns (g) is obtained. The adder 1700
The output of f includes Fp (g-1) + Fp (g) + Fp (g
+1) = Fps (g) is obtained.

【0068】なお、積算手段5により積算を行う場合
に、特徴値を積算する参照ブロックの位置によって、参
照ブロックの特徴値が存在しない場合がある。例えば注
目画素のデータがラインバッファ13に記憶されていな
い場合のように、注目画素が画像外に位置するような場
合である。当該参照ブロックについて特徴値は算出され
ていない。この場合、積算手段5は、当該参照ブロック
の各特徴値を「0」とし、画像内に注目画素がある参照
ブロックの特徴値のみを積算すればよい。
When the integration is performed by the integration means 5, the characteristic value of the reference block may not exist depending on the position of the reference block in which the characteristic value is integrated. For example, there is a case where the target pixel is located outside the image, such as when the data of the target pixel is not stored in the line buffer 13. No feature value has been calculated for the reference block. In this case, the integrating means 5 only needs to set each characteristic value of the reference block to “0” and integrate only the characteristic values of the reference block having the target pixel in the image.

【0069】次に、属性判定手段4は、積算手段5の積
算結果に基づいて注目画素gの属性を判定する(S
5)。この場合の属性判定手段4は、例えば図16に示
すような判定回路18によって実現することができる。
Next, the attribute determining means 4 determines the attribute of the target pixel g based on the integration result of the integrating means 5 (S
5). The attribute determining means 4 in this case can be realized by, for example, a determining circuit 18 as shown in FIG.

【0070】判定回路18は、判定回路16と同様の構
成を有し、比較器1800a、1800b、1801を
備えている。比較器1800aは、積算結果Fms
(g)と積算結果Fns(g)との大小を比較し、大き
い方の値を出力する。比較器1800bは、比較器18
00aの出力と積算結果Fps(g)との大小を比較
し、大きい方の値を出力する。比較器1801は、比較
器1800bの出力Fsmaxと閾値T2との大小を比較
する。
The determination circuit 18 has the same configuration as the determination circuit 16 and includes comparators 1800a, 1800b, and 1801. The comparator 1800a calculates the integration result Fms
(G) is compared with the integration result Fns (g), and the larger value is output. The comparator 1800b includes a comparator 18
The output 00a is compared with the integration result Fps (g), and the larger value is output. Comparator 1801 compares the magnitude of output Fsmax of comparator 1800b with threshold value T2.

【0071】閾値T2は、1画素の画像データを表すビ
ット数の大きさ、及び参照ブロックの画素数の大きさ、
そして積算する特徴値の個数に対応して予め設定され
る。1画素の画像データが8ビットで表され、参照ブロ
ックの画素数が4×4の16画素である場合には、「5
00」×3=「1500」程度に設定される。
The threshold value T2 is determined by the size of the number of bits representing the image data of one pixel, the size of the number of pixels of the reference block,
It is set in advance corresponding to the number of feature values to be integrated. If the image data of one pixel is represented by 8 bits and the number of pixels of the reference block is 4 × 4 = 16 pixels, “5
00 ”× 3 = about“ 1500 ”.

【0072】Fsmax <T2の場合には、連続階調領域
であることを示す所定のデータを注目画素gに対する判
定結果Qansとして出力する。判定結果Qansを表現する
のに2ビットの論理信号を用いた場合、例えば連続階調
領域であることを示す判定結果Qansを「00」で表
す。また、Fsmax <T2でない場合には、Fsmax が
特徴値Fms(g)、Fns(g)、Fps(g)のい
ずれであるかに従って、Fsmax が特徴値Fms(g)
のときは、文字領域であることを示す所定のデータ、例
えば「11」を注目画素gに対する判定結果Qansとし
て出力する。また、Fsmax が特徴値Fns(g)又は
Fps(g)のときは、網点領域であることを示す所定
のデータ、例えば「10」を注目画素gに対する判定結
果Qansとして出力する。
If Fsmax <T2, predetermined data indicating the continuous tone area is output as the determination result Q ans for the target pixel g. When a 2-bit logical signal is used to represent the determination result Q ans , for example, the determination result Q ans indicating a continuous tone area is represented by “00”. If Fsmax <T2, Fsmax is a characteristic value Fms (g) according to which of Fs (g), Fns (g), and Fps (g) Fsmax is.
In this case, predetermined data indicating a character area, for example, “11” is output as the determination result Q ans for the target pixel g. When Fsmax is the feature value Fns (g) or Fps (g), predetermined data indicating a halftone area, for example, “10” is output as the determination result Q ans for the target pixel g.

【0073】このように、注目画素の周辺にある画素を
注目画素とする他のブロックの特徴値を参照ブロックの
特徴値に積算し、積算結果に基づいて属性判定を行え
ば、より詳細な属性判定が可能となる。 (第3の実施の形態)第1の実施の形態における信号処
理部111によって従来よりも詳細な属性判定を行うこ
とが可能であるが、解像度の低い網点と、解像度の高い
文字又は線については、特徴が類似する場合がある。こ
の場合には、誤判定を行ってしまう恐れがある。
As described above, by integrating the characteristic values of the other blocks having pixels around the target pixel with the target pixel as the target pixel with the characteristic values of the reference block and performing attribute determination based on the result of the integration, a more detailed attribute can be obtained. Judgment becomes possible. (Third Embodiment) Although the signal processing unit 111 in the first embodiment can perform attribute determination in more detail than in the past, halftone dots with low resolution and characters or lines with high resolution can be used. May have similar features. In this case, an erroneous determination may be made.

【0074】図20(a)は、原稿が解像度の低い網点
印刷の行われた用紙である場合の画像データの具体例を
示す。また、図20(b)は、この場合の直交データの
具体例を示す。図20(b)に示すように、中間空間周
波数帯域に分類される直交データの絶対値、例えば2行
3列目、2行4列目の値が若干他の直交データの絶対値
と較べて大きくなっているが、特に大きい値を示すもの
ではない。
FIG. 20A shows a specific example of image data when the original is a sheet on which halftone printing with a low resolution has been performed. FIG. 20B shows a specific example of orthogonal data in this case. As shown in FIG. 20 (b), the absolute value of orthogonal data classified into the intermediate spatial frequency band, for example, the value in the second row and third column and the value in the second row and fourth column is slightly compared with the absolute values of other orthogonal data. Although it is large, it does not show a particularly large value.

【0075】これに対し、図21(a)は、原稿が解像
度の高い文字や線の印刷された用紙である場合の画像デ
ータの具体例を示す。また、図21(b)は、この場合
の直交データの具体例を示す。図21(b)に示すよう
に、低空間周波数帯域に分類される直交データの絶対
値、例えば1行2列目の値が若干大きくなっている他、
中間空間周波数帯域に分類される直交データの絶対値、
例えば1行4列目の値も若干大きくなっている。
On the other hand, FIG. 21A shows a specific example of image data when the original is a sheet on which high-resolution characters and lines are printed. FIG. 21B shows a specific example of orthogonal data in this case. As shown in FIG. 21B, the absolute value of the orthogonal data classified into the low spatial frequency band, for example, the value in the first row and the second column is slightly larger,
The absolute value of the orthogonal data classified into the intermediate spatial frequency band,
For example, the value in the first row and the fourth column is slightly larger.

【0076】すなわち、解像度の高い文字や線の場合、
文字や線の特徴と網点の特徴の両方が現れており、これ
が誤判定を招く原因となる。
That is, in the case of a character or a line having a high resolution,
Both the characteristics of characters and lines and the characteristics of halftone dots appear, which causes erroneous determination.

【0077】例えば第1の実施の形態と同様にして特徴
値を算出すると、図20(b)の例については、Fm=
134、Fn=1358、Fp=130という結果が得
られる。また、図21(b)の例については、Fm=9
14、Fn=954、Fp=10という結果が得られ
る。
For example, when the characteristic value is calculated in the same manner as in the first embodiment, in the example of FIG.
134, Fn = 1358, and Fp = 130. In the example of FIG. 21B, Fm = 9
14, Fn = 954 and Fp = 10 are obtained.

【0078】いずれの場合でも、中間空間周波数帯域の
特徴値Fnが最大となっており、両方とも属性判定の結
果は、網点領域であることを示すものになってしまう。
In any case, the feature value Fn of the intermediate spatial frequency band is maximum, and the result of attribute determination in both cases indicates a halftone dot area.

【0079】ところで、一般的に、縦の直線或いは横の
直線の場合は、直交データのうち、特定の直交データの
絶対値が大きくなる特徴がみられる。
By the way, generally, in the case of a vertical straight line or a horizontal straight line, there is a feature that the absolute value of specific orthogonal data among the orthogonal data becomes large.

【0080】例えば図4(b)に示した直交データK1
〜N4の場合、縦の直線があるとき、直交データL1、
M1、N1の絶対値が大きくなる特徴がある。また、横
の直線があるとき、直交データK2、K3、K4の絶対
値が大きくなる特徴がある。
For example, the orthogonal data K1 shown in FIG.
In the case of ~ N4, when there is a vertical straight line, the orthogonal data L1,
There is a feature that the absolute values of M1 and N1 increase. Also, when there is a horizontal straight line, the absolute value of the orthogonal data K2, K3, and K4 is large.

【0081】そこで、第3の実施の形態における信号処
理部111は、図17に示すように、第1の実施の形態
における信号処理部111の構成に加えて、補正算出手
段6を備える。なお、A/D変換器11から特徴算出手
段3に至るまでの信号処理部111の動作の説明は、第
1の実施の形態で説明した動作と同様であるため省略す
る。
Therefore, as shown in FIG. 17, the signal processing unit 111 according to the third embodiment includes a correction calculation unit 6 in addition to the configuration of the signal processing unit 111 according to the first embodiment. Note that the description of the operation of the signal processing unit 111 from the A / D converter 11 to the feature calculation unit 3 is the same as the operation described in the first embodiment, and a description thereof will be omitted.

【0082】補正算出手段6は、直交データのうち、所
定の空間周波数帯域の直交データに基づいた補正値を算
出する。例えば所定の空間周波数帯域の直交データは、
縦の直線に関連する直交データL1、M1、N1と、横
の直線に関連する直交データK2、K3、K4である。
この場合、補正算出手段6は、例えば図18に示すよう
な補正回路19によって実現することができる。
The correction calculating means 6 calculates a correction value based on orthogonal data of a predetermined spatial frequency band among the orthogonal data. For example, orthogonal data of a predetermined spatial frequency band is
These are orthogonal data L1, M1, and N1 related to a vertical straight line, and orthogonal data K2, K3, and K4 related to a horizontal straight line.
In this case, the correction calculation unit 6 can be realized by, for example, a correction circuit 19 as shown in FIG.

【0083】図18に示すように、補正回路19は、絶
対値演算回路1900a〜1900fを備えている。絶
対値演算回路1900a〜1900fには、直交データ
L1、M1、N1、K2、K3、K4がそれぞれ入力さ
れる。絶対値演算回路1900a〜1900fは、各直
交データの絶対値を演算し、加算器1901a、190
1cに出力する。例えば直交データL1、M1が入力さ
れる各絶対値演算回路1900a、1900bは、絶対
値|L1|、|M1|をそれぞれ加算器1901aに出
力する。
As shown in FIG. 18, the correction circuit 19 includes absolute value calculation circuits 1900a to 1900f. The orthogonal data L1, M1, N1, K2, K3, and K4 are input to the absolute value calculation circuits 1900a to 1900f, respectively. Absolute value calculation circuits 1900a to 1900f calculate the absolute value of each orthogonal data and adders 1901a and 1901a
1c. For example, the absolute value calculation circuits 1900a and 1900b to which the orthogonal data L1 and M1 are input output the absolute values | L1 | and | M1 | to the adder 1901a.

【0084】加算器1901aは、絶対値演算回路19
00aからの|L1|と絶対値演算回路1900bから
の|M1|とを加算して、|L1|+|M1|を加算器
1901bへ出力する。加算器1901bには、加算器
1901aからの|L1|+|M1|と絶対値演算回路
1900cからの|N1|とが入力される。加算器15
01bは、これらを加算して|L1|+|M1|+|N
1|を求め、加算器1901eへ出力する。
The adder 1901a is connected to the absolute value arithmetic circuit 19
| L1 | from 00a and | M1 | from the absolute value calculation circuit 1900b are added, and | L1 | + | M1 | is output to the adder 1901b. | L1 | + | M1 | from the adder 1901a and | N1 | from the absolute value calculation circuit 1900c are input to the adder 1901b. Adder 15
01b is the sum of these | L1 | + | M1 | + | N
1 | is obtained and output to the adder 1901e.

【0085】また、加算器1901cは、絶対値演算回
路1900dからの|K2|と絶対値演算回路1900
eからの|K3|とを加算して、|K2|+|K3|を
加算器1901dへ出力する。加算器1901dには、
加算器1901cからの|K2|+|K3|と絶対値演
算回路1900fからの|K4|とが入力される。加算
器1901dは、これらを加算して|K2|+|K3|
+|K4|を求め、加算器1901eへ出力する。
The adder 1901c is provided with | K2 | from the absolute value operation circuit 1900d and the absolute value operation circuit 1900d.
| K3 | from E, and outputs | K2 | + | K3 | to the adder 1901d. In the adder 1901d,
| K2 | + | K3 | from the adder 1901c and | K4 | from the absolute value calculation circuit 1900f are input. The adder 1901d adds these and adds | K2 | + | K3 |
+ | K4 | is obtained and output to the adder 1901e.

【0086】加算器1901eは、加算器1901bか
らの|L1|+|M1|+|N1|と加算器1901d
からの|K2|+|K3|+|K4|とを加算して、縦
横直線の補正値Rqとして、|L1|+|M1|+|N
1|+|K2|+|K3|+|K4|を属性判定手段4
へ出力する。
The adder 1901e is provided with | L1 | + | M1 | + | N1 | from the adder 1901b and the adder 1901d.
| K2 | + | K3 | + | K4 | from the data, and | L1 | + | M1 | + | N
1 | + | K2 | + | K3 | + | K4 |
Output to

【0087】属性判定手段4は、特徴値と補正値とに基
づいて注目画素b2の属性を判定する。この場合の属性
判定手段4は、例えば図19に示すような判定回路20
によって実現することができる。
The attribute determining means 4 determines the attribute of the target pixel b2 based on the characteristic value and the correction value. In this case, the attribute determining means 4 is, for example, a determination circuit 20 as shown in FIG.
It can be realized by.

【0088】図19に示すように、判定回路20は、判
定回路16と同様、比較器2000a、2000b、2
001を備える他、比較器2002、セレクタ回路20
03を備えている。比較器2000aは、特徴値Fmと
特徴値Fnとの大小を比較し、大きい方の値を出力す
る。比較器2000bは、比較器2000aの出力と特
徴値Fpとの大小を比較し、大きい方の値を出力する。
比較器2001は、比較器2000bの出力Fmaxと閾
値T1との大小を比較する。
As shown in FIG. 19, the judgment circuit 20 includes comparators 2000a, 2000b,
001, a comparator 2002, a selector circuit 20
03. The comparator 2000a compares the magnitude of the feature value Fm with the magnitude of the feature value Fn, and outputs the larger value. The comparator 2000b compares the magnitude of the output of the comparator 2000a with the feature value Fp, and outputs the larger value.
Comparator 2001 compares the magnitude of output Fmax of comparator 2000b with threshold value T1.

【0089】Fmax <T1の場合には、連続階調領域で
あることを示す所定のデータを注目画素b2に対する判
定結果Qansとしてセレクタ回路2003へ出力する。
判定結果Qansを表現するのに2ビットの論理信号を用
いた場合、例えば連続階調領域であることを示す判定結
果Qansを「00」で表す。また、Fmax <T1でない
場合には、Fmax が特徴値Fm、Fn、Fpのいずれで
あるかに従って、Fmax が特徴値Fmのときは、文字領
域であることを示す所定のデータ、例えば「11」を注
目画素b2に対する判定結果Qansとしてセレクタ回路
2003へ出力する。また、Fmax が特徴値Fn又はF
pのときは、網点領域であることを示す所定のデータ、
例えば「10」を注目画素b2に対する判定結果Qans
としてセレクタ回路2003へ出力する。
If Fmax <T1, predetermined data indicating the continuous tone area is output to the selector circuit 2003 as the determination result Q ans for the target pixel b2.
When a 2-bit logical signal is used to represent the determination result Q ans , for example, the determination result Q ans indicating a continuous tone area is represented by “00”. If Fmax <T1 is not satisfied, predetermined data indicating a character area when Fmax is the feature value Fm, for example, “11”, is determined according to which of Fmax is the feature value Fm, Fn, or Fp. To the selector circuit 2003 as the determination result Q ans for the pixel of interest b2. Fmax is the characteristic value Fn or F
In the case of p, predetermined data indicating a halftone area,
For example, the determination result Q ans for the pixel of interest b2 is “10”.
Is output to the selector circuit 2003.

【0090】さらに、この判定回路20では、比較器2
002が、補正値Rqと閾値T3との大小を比較する。
閾値T3は、閾値T1に対応して設定され、例えば閾値
T1が「500」程度である場合、「500」×2=
「1000」程度に設定される。そして、比較器200
2は、Rq<T3の場合に、文字領域でないことを示す
所定のデータを補正結果Ransとしてセレクタ回路20
03へ出力する。補正結果Ransを表現するのに2ビッ
トの論理信号を用いた場合、例えば文字領域でないこと
を示す補正結果Ransを「10」で表す。また、Rq<
T3でない場合には、文字領域であることを示す所定の
データ、例えば「11」を補正結果Ransとしてセレク
タ回路2003へ出力する。
Further, in the determination circuit 20, the comparator 2
002 compares the magnitude of the correction value Rq with the threshold T3.
The threshold value T3 is set corresponding to the threshold value T1, and for example, when the threshold value T1 is about “500”, “500” × 2 =
It is set to about “1000”. And the comparator 200
2, when Rq <T3, the selector circuit 20 uses predetermined data indicating that the area is not a character area as the correction result R ans.
Output to 03. If the correction result using the 2-bit logic signal to represent R ans, the correction result R ans indicating that it is not, for example, the character area represented by "10". Also, Rq <
If it is not T3, predetermined data indicating a character area, for example, “11” is output to the selector circuit 2003 as a correction result R ans .

【0091】セレクタ回路2003は、判定結果Qans
が網点領域を示す「10」のとき、補正結果Ransに従
って、判定結果Qansか補正結果Ransによって補正した
判定結果Qans’を出力する。判定結果Qansと補正結果
ansが一致するとき、判定結果Qansを出力する。一
方、判定結果Qansと補正結果Ransが異なるとき、すな
わち、補正結果Ransが文字領域を示す「11」のと
き、判定結果Qans’として補正結果Ransを出力する。
また、判定結果Qansが網点領域を示す「10」でなけ
れば、補正結果Ransに関係なく、判定結果Qansを出力
する。
The selector circuit 2003 determines the determination result Q ans
When it is "10" indicating the dot region, the correction according to the result R ans, and outputs the judgment result Q ans' corrected by the decision result Q ans or correction result R ans. When the judgment result Q ans matches the correction result R ans , the judgment result Q ans is output. On the other hand, when the determination result Q ans is different from the correction result R ans , that is, when the correction result R ans is “11” indicating a character area, the correction result R ans is output as the determination result Q ans ′.
If the determination result Q ans is not “10” indicating a halftone dot area, the determination result Q ans is output regardless of the correction result R ans .

【0092】このように、補正算出手段6を備えること
によって、縦又は横の直線で表される文字の一部を網点
とする恐れを軽減し、網点領域と文字領域についても良
好な属性判定を実現することができる。 (第4の実施の形態)第4の実施の形態における信号処
理部111は、図22に示すように、第2の実施の形態
における信号処理部111の構成に加えて、補正算出手
段6を備える。なお、A/D変換器11から特徴算出手
段3、そして補正算出手段6に至るまでの信号処理部1
11の動作の説明は、第1及び第3の実施の形態で説明
した動作と同様であるため省略する。
As described above, the provision of the correction calculating means 6 reduces the possibility that a part of a character represented by a vertical or horizontal straight line will become a halftone dot, and makes it possible to obtain favorable attributes for the halftone dot region and the character region. The determination can be realized. (Fourth Embodiment) As shown in FIG. 22, a signal processing unit 111 according to a fourth embodiment includes a correction calculation unit 6 in addition to the configuration of the signal processing unit 111 according to the second embodiment. Prepare. The signal processing unit 1 from the A / D converter 11 to the feature calculation unit 3 and the correction calculation unit 6
The description of the operation No. 11 is the same as the operation described in the first and third embodiments, and will not be repeated.

【0093】ここで、注目画素hを含む参照ブロック2
Rに対して、低空間周波数帯域の特徴値がFm(h)
で、中間空間周波数帯域の特徴値がFn(h)で、高空
間周波数帯域の特徴値がFp(h)でそれぞれ与えられ
たとする。また、注目画素hの主走査方向Xの両側に隣
接する画素(h−1)、(h+1)を注目画素とする参
照ブロック2Rに対しては、それぞれ低空間周波数帯域
の特徴がFm(h−1)、Fm(h+1)で、中間空間
周波数帯域の特徴値がFn(h−1)、Fn(h+1)
で、高空間周波数帯域の特徴値がFp(h−1)、Fp
(h+1)で与えられたとする。
Here, the reference block 2 including the target pixel h
For R, the characteristic value of the low spatial frequency band is Fm (h)
Suppose that the characteristic value of the intermediate spatial frequency band is given by Fn (h) and the characteristic value of the high spatial frequency band is given by Fp (h). Further, for the reference block 2R having the pixels (h-1) and (h + 1) adjacent to both sides of the pixel of interest h in the main scanning direction X, the feature of the low spatial frequency band is Fm (h- 1), Fm (h + 1), and the feature values of the intermediate spatial frequency band are Fn (h-1), Fn (h + 1)
And the feature values of the high spatial frequency band are Fp (h-1), Fp
Suppose that it was given by (h + 1).

【0094】さらに、上記注目画素h、注目画素(h−
1)、注目画素(h+1)に対して、補正値がRq
(h)、Rq(h−1)、Rq(h+1)で与えられた
とする。
Further, the target pixel h and the target pixel (h-
1) The correction value is Rq for the pixel of interest (h + 1).
(H), Rq (h-1), and Rq (h + 1).

【0095】積算手段5は、これらの特徴値を空間周波
数帯域毎に積算する。すなわち、特徴値の積算値Fms
(h)、Fns(h)、Fps(h)は、次式によって
与えられる。
The integrating means 5 integrates these characteristic values for each spatial frequency band. That is, the integrated value Fms of the characteristic value
(H), Fns (h) and Fps (h) are given by the following equations.

【0096】 Fms(h)=Fm(h−1)+Fm(h)+Fm(h
+1) Fns(h)=Fn(h−1)+Fn(h)+Fn(h
+1) Fps(h)=Fp(h−1)+Fp(h)+Fp(h
+1) また、積算手段5は、各補正値も積算する。すなわち、
補正値の積算結果Rqs(h)は、次式によって与えら
れる。
Fms (h) = Fm (h−1) + Fm (h) + Fm (h
+1) Fns (h) = Fn (h-1) + Fn (h) + Fn (h
+1) Fps (h) = Fp (h-1) + Fp (h) + Fp (h
+1) The integrating means 5 also integrates each correction value. That is,
The integration result Rqs (h) of the correction values is given by the following equation.

【0097】Rqs(h)=Rq(h−1)+Rq
(h)+Rq(h+1) なお、この例では、注目画素hを含む参照ブロック2R
の特徴値に対して、主走査方向Xの両側にある画素(h
−1)、(h+1)を注目画素とするブロックについて
特徴値及び補正値を積算したが、これに限られるもので
はない。例えば注目画素hの周辺にある画素…、(h−
2)、(h−1)及び画素(h+1)、(h+2)、…
のように、主走査方向Xに1つずつ並んだ形で連続する
所定数の画素を含むブロックの特徴値及び補正値をそれ
ぞれ積算してもよい。また、画素…、(h−4)、(h
−2)、及び画素(h+2)、(h+4)、…のよう
に、主走査方向Xに1つずつ並んだ形で連続しない所定
数の画素を含むブロックの特徴値及び補正値をそれぞれ
積算してもよい。もちろん、各注目画素の配列方向も主
走査方向Xに限られるものではない。主走査方向Xには
比較的多数のデータがラインバッファ13に記憶されて
いるので好ましいが、配列方向は、副走査方向Yでも、
主走査方向Xと副走査方向Yの間の斜め方向でもよい。
Rqs (h) = Rq (h-1) + Rq
(H) + Rq (h + 1) In this example, the reference block 2R including the target pixel h
Pixels on both sides in the main scanning direction X (h
Although the feature value and the correction value are integrated for the block in which -1) and (h + 1) are the target pixels, the present invention is not limited to this. For example, pixels around the pixel of interest h ..., (h-
2), (h-1) and pixels (h + 1), (h + 2), ...
As described above, the feature value and the correction value of a block including a predetermined number of consecutive pixels arranged one by one in the main scanning direction X may be integrated. Also, pixels ..., (h-4), (h
-2) and the feature value and the correction value of a block including a predetermined number of non-consecutive pixels arranged one by one in the main scanning direction X, such as pixels (h + 2), (h + 4),. You may. Of course, the arrangement direction of each target pixel is not limited to the main scanning direction X. Although a relatively large amount of data is stored in the line buffer 13 in the main scanning direction X, it is preferable.
It may be an oblique direction between the main scanning direction X and the sub-scanning direction Y.

【0098】この場合の積算手段5は、例えば図23に
示すような、積算回路21によって実現することができ
る。積算回路21は、レジスタ2101a〜2101
h、加算器2100a〜2100hを備える。この積算
回路21では、各空間周波数帯域について特徴値を積算
する構成、さらには補正値を積算する構成は同様であ
る。このため、ここでは、低空間周波数帯域の特徴値F
mに対する構成について説明しておく。積算回路21の
レジスタ2101a、2101eはシフトレジスタにな
っており、このレジスタ2101eには、常に注目画素
hの1つ前の注目画素(h−1)を含む参照ブロック2
Rの特徴値Fm(h−1)がラッチされた状態となって
いる。また、レジスタ2101aには、常に注目画素h
を含む参照ブロック2Rの特徴値Fm(h)がラッチさ
れた状態となっている。この状態で、注目画素hの次の
注目画素(h+1)を含む参照ブロック2Rの特徴値F
m(h+1)が入力されると、加算器2100aは、入
力された特徴値Fm(h+1)とレジスタ2101aに
保持された特徴値Fm(h)とを加算することになる。
加算器2100eは、加算器2100aの加算結果とレ
ジスタ2101eに保持された特徴値Fm(h−1)と
を加算する。これによって、加算器2100eの出力に
Fm(h−1)+Fm(h)+Fm(h+1)=Fms
(h)が得られる。同様に、加算器2100fの出力に
は、Fn(h−1)+Fn(h)+Fn(h+1)=F
ns(h)が得られる。また、加算器2100gの出力
には、Fp(h−1)+Fp(h)+Fp(h+1)=
Fps(h)が得られる。さらに、加算器2100hの
出力には、Rq(h−1)+Rq(h)+Rq(h+
1)=Rqs(h)が得られる。
The integrating means 5 in this case can be realized by an integrating circuit 21 as shown in FIG. 23, for example. The integrating circuit 21 includes registers 2101a to 2101
h, adders 2100a to 2100h. In the integrating circuit 21, the configuration for integrating the characteristic values for each spatial frequency band and the configuration for integrating the correction values are the same. Therefore, here, the characteristic value F of the low spatial frequency band is used.
The configuration for m will be described. The registers 2101a and 2101e of the integrating circuit 21 are shift registers. The register 2101e always includes the reference block 2 including the target pixel (h-1) immediately before the target pixel h.
The characteristic value Fm (h-1) of R is in a latched state. The register 2101a always stores the target pixel h
The characteristic value Fm (h) of the reference block 2 </ b> R including the above is latched. In this state, the feature value F of the reference block 2R including the target pixel (h + 1) next to the target pixel h
When m (h + 1) is input, the adder 2100a adds the input characteristic value Fm (h + 1) and the characteristic value Fm (h) held in the register 2101a.
The adder 2100e adds the addition result of the adder 2100a and the feature value Fm (h-1) held in the register 2101e. As a result, the output of the adder 2100e becomes Fm (h-1) + Fm (h) + Fm (h + 1) = Fms
(H) is obtained. Similarly, the output of the adder 2100f includes Fn (h-1) + Fn (h) + Fn (h + 1) = F
ns (h) is obtained. Further, the output of the adder 2100g includes Fp (h-1) + Fp (h) + Fp (h + 1) =
Fps (h) is obtained. Further, the output of the adder 2100h includes Rq (h-1) + Rq (h) + Rq (h +
1) = Rqs (h) is obtained.

【0099】なお、積算手段5により積算を行う場合
に、特徴値及び補正値を積算する参照ブロックの位置に
よって、参照ブロックの特徴値が存在しない場合があ
る。例えば注目画素のデータがラインバッファ13に記
憶されていない場合のように、注目画素が画像外に位置
するような場合である。当該参照ブロックについて特徴
値は算出されていない。この場合、積算手段5は、当該
参照ブロックの各特徴値及び補正値を「0」とし、画像
内に注目画素がある参照ブロックの特徴値及び補正値の
みを積算すればよい。
When the integration is performed by the integration means 5, the characteristic value of the reference block may not exist depending on the position of the reference block in which the characteristic value and the correction value are integrated. For example, there is a case where the target pixel is located outside the image, such as when the data of the target pixel is not stored in the line buffer 13. No feature value has been calculated for the reference block. In this case, the integrating means 5 only needs to set each characteristic value and correction value of the reference block to “0” and integrate only the characteristic value and the correction value of the reference block having the target pixel in the image.

【0100】属性判定手段4は、積算手段5の積算結果
に基づいて注目画素hの属性を判定する。この場合の属
性判定手段4は、例えば図24に示すような判定回路2
2によって実現することができる。
The attribute determining means 4 determines the attribute of the pixel of interest h based on the result of integration by the integrating means 5. In this case, the attribute determination means 4 is, for example, a determination circuit 2 as shown in FIG.
2 can be realized.

【0101】判定回路22は、判定回路18と同様の構
成を有し、比較器2200a、2200b、2201、
2202、セレクタ回路2203を備えている。比較器
2200aは、特徴値Fms(h)と特徴値Fns
(h)との大小を比較し、大きい方の値を出力する。比
較器2200bは、比較器2200aの出力と特徴値F
ps(h)との大小を比較し、大きい方の値を出力す
る。比較器2201は、比較器2200bの出力Fsma
xと閾値T2との大小を比較する。
The determination circuit 22 has the same configuration as the determination circuit 18 and includes comparators 2200a, 2200b, 2201,
2202 and a selector circuit 2203. The comparator 2200a calculates the characteristic value Fms (h) and the characteristic value Fns
(H) is compared, and the larger value is output. The comparator 2200b outputs the output of the comparator 2200a and the characteristic value F
Compare the magnitude with ps (h) and output the larger value. The comparator 2201 outputs the output Fsma of the comparator 2200b.
The magnitude of x and the threshold value T2 are compared.

【0102】Fsmax <T2の場合には、連続階調領域
であることを示す所定のデータを注目画素hに対する判
定結果Qansとしてセレクタ回路2203へ出力する。
判定結果Qansを表現するのに2ビットの論理信号を用
いた場合、例えば連続階調領域であることを示す判定結
果Qansを「00」で表す。また、Fsmax <T2でな
い場合には、Fsmax が特徴値Fms(h)、Fns
(h)、Fps(h)のいずれであるかに従って、Fs
max が特徴値Fms(h)のときは、文字領域であるこ
とを示す所定のデータ、例えば「11」を注目画素hに
対する判定結果Q ansとしてセレクタ回路2203へ出
力する。また、Fsmax が特徴値Fns(h)又はFp
s(h)のときは、網点領域であることを示す所定のデ
ータ、例えば「10」を注目画素hに対する判定結果Q
ansとしてセレクタ回路2203へ出力する。
If Fsmax <T2, the continuous tone region
Is determined for the pixel of interest h.
Fixed result QansIs output to the selector circuit 2203.
Judgment result QansUse a 2-bit logic signal to represent
If there is, for example, a determination
Fruit QansIs represented by “00”. Also, Fsmax <T2.
Fsmax is the characteristic value Fms (h), Fns
(H) or Fps (h) according to Fs (h).
When max is the feature value Fms (h), the character area
, For example, “11” is assigned to the pixel of interest h.
Judgment result Q ansOut to the selector circuit 2203 as
Power. Also, Fsmax is the feature value Fns (h) or Fp
In the case of s (h), a predetermined data indicating a halftone dot area is used.
Data, for example, “10” is determined as the determination result Q for the pixel of interest h.
ansIs output to the selector circuit 2203.

【0103】さらに、比較器2202は、補正値Rqs
(h)と閾値T4との大小を比較する。閾値T4は、閾
値T2に対応して設定され、例えば閾値T2が「50
0」×3=「1500」程度である場合、「1500」
×2=「3000」程度に設定される。そして、比較器
2202は、Rqs(h)<T4の場合に、文字領域で
ないことを示す所定のデータを補正結果Ransとしてセ
レクタ回路2203へ出力する。補正結果Ransを表現
するのに2ビットの論理信号を用いた場合、例えば文字
領域でないことを示す補正結果Ransを「10」で表
す。また、Rqs(h)<T3でない場合には、文字領
域であることを示す所定のデータ、例えば「11」を補
正結果Ransとしてセレクタ回路2203へ出力する。
Further, the comparator 2202 calculates the correction value Rqs
(H) is compared with the threshold value T4. The threshold value T4 is set corresponding to the threshold value T2.
If “0” × 3 = about “1500”, “1500”
× 2 = set to about “3000”. Then, when Rqs (h) <T4, the comparator 2202 outputs, to the selector circuit 2203, predetermined data indicating a non-character area as a correction result R ans . If the correction result using the 2-bit logic signal to represent R ans, the correction result R ans indicating that it is not, for example, the character area represented by "10". If Rqs (h) <T3, predetermined data indicating a character area, for example, “11” is output to the selector circuit 2203 as a correction result R ans .

【0104】セレクタ回路2203は、判定結果Qans
が網点領域を示す「10」のとき、補正結果Ransに従
って、判定結果Qansか補正結果Ransによって補正した
判定結果Qans’を出力する。判定結果Qansと補正結果
ansが一致するとき、判定結果Qansを出力する。一
方、判定結果Qansと補正結果Ransが異なるとき、すな
わち、補正結果Ransが文字領域を示す「11」のと
き、判定結果Qans’として補正結果Ransを出力する。
また、判定結果Qansが網点領域を示す「10」でなけ
れば、補正結果Ransに関係なく、判定結果Qansを出力
する。
The selector circuit 2203 determines the determination result Q ans
When it is "10" indicating the dot region, the correction according to the result R ans, and outputs the judgment result Q ans' corrected by the decision result Q ans or correction result R ans. When the judgment result Q ans matches the correction result R ans , the judgment result Q ans is output. On the other hand, when the determination result Q ans is different from the correction result R ans , that is, when the correction result R ans is “11” indicating a character area, the correction result R ans is output as the determination result Q ans ′.
If the determination result Q ans is not “10” indicating a halftone dot area, the determination result Q ans is output regardless of the correction result R ans .

【0105】これによって、参照ブロック2Rの注目画
素hに対して、第1、2、3の実施の形態で説明した場
合よりも更に詳細な属性判定を行うことができる。 (その他)第1〜第4の各実施の形態では、本発明をデ
ジタル複写機に適用したが、これに限られるものではな
い。例えばスキャナやファクシミリなどの他の画像処理
装置に本発明を適用することも可能である。
As a result, more detailed attribute determination can be performed on the target pixel h of the reference block 2R than in the first, second, and third embodiments. (Others) In the first to fourth embodiments, the present invention is applied to a digital copying machine. However, the present invention is not limited to this. For example, the invention can be applied to other image processing apparatuses such as a scanner and a facsimile.

【0106】ここで、図25は、本発明をスキャナに適
用した場合の信号処理部111の概略構成を示す。
FIG. 25 shows a schematic configuration of the signal processing section 111 when the present invention is applied to a scanner.

【0107】図25に示すように、属性判定部123の
構成は、第2の実施の形態における属性判定部123の
構成と同様である。また、図示していないが、ラインセ
ンサ110上流の構成も、デジタル複写機のイメージス
キャナ部101と同様に構成することができる。但し、
デジタル複写機に適用した場合には、属性判定部123
の判定結果を画質向上のために利用していたが、スキャ
ナに適用した場合には、圧縮形態の選択のために利用し
てもよい。
As shown in FIG. 25, the configuration of attribute determining section 123 is the same as the configuration of attribute determining section 123 in the second embodiment. Although not shown, the configuration upstream of the line sensor 110 can be configured similarly to the image scanner unit 101 of the digital copying machine. However,
When applied to a digital copying machine, the attribute determining unit 123
Is used to improve image quality, but when applied to a scanner, it may be used to select a compression format.

【0108】圧縮処理部130は、属性判定部123か
らの判定結果に従って圧縮形態を選択し、イメージスキ
ャナ部によって読み取られた画像のデータを圧縮してデ
ータ格納部136に記憶する。
The compression processing section 130 selects a compression mode according to the determination result from the attribute determination section 123, compresses the image data read by the image scanner section, and stores it in the data storage section 136.

【0109】圧縮処理部130は、高圧縮処理部13
1、中圧縮処理部132、低圧縮処理部133を備えて
いる。
The compression processing section 130 is a high compression processing section 13
1, a middle compression processing section 132 and a low compression processing section 133.

【0110】高圧縮処理部131、中圧縮処理部13
2、低圧縮処理部133は、制御部134の制御に従
い、ラインバッファ13に記憶されている画像データを
それぞれ読み出す。読み出した画像データb00に対し
て、高圧縮処理部131は、最も圧縮率が高い圧縮形態
で圧縮処理を行う。また、中圧縮処理部132は、次に
圧縮率が高い圧縮形態で圧縮処理を行う。さらに、低圧
縮処理部133は、最も圧縮率が低い圧縮形態で圧縮処
理を行う。
High compression processing section 131, medium compression processing section 13
2. The low-compression processing unit 133 reads out the image data stored in the line buffer 13 under the control of the control unit 134. The high compression processing unit 131 performs a compression process on the read image data b00 in a compression mode having the highest compression ratio. Further, the middle compression processing section 132 performs the compression processing in a compression mode having the next highest compression ratio. Further, the low-compression processing unit 133 performs the compression processing in a compression mode having the lowest compression ratio.

【0111】ここで、圧縮形態は、圧縮方式及び圧縮率
の少なくともいずれかを含む。例えば高圧縮処理部13
1、中圧縮処理部132、低圧縮処理部133で、異な
る圧縮方式を利用する場合には、高圧縮処理部131
は、それらの圧縮方式のうち最も圧縮率の高い圧縮方式
を利用する。また、高圧縮処理部131、中圧縮処理部
132、低圧縮処理部133で、圧縮率が可変の同じ圧
縮方式を利用する場合には、高圧縮処理部131は、当
該圧縮方式の最も高い圧縮率で圧縮を行う。
Here, the compression mode includes at least one of a compression method and a compression ratio. For example, the high compression processing unit 13
1. When different compression methods are used by the middle compression processing unit 132 and the low compression processing unit 133, the high compression processing unit 131
Uses the compression scheme with the highest compression rate among those compression schemes. When the high compression processing unit 131, the medium compression processing unit 132, and the low compression processing unit 133 use the same compression method with a variable compression ratio, the high compression processing unit 131 uses the highest compression method of the compression method. Perform compression at a rate.

【0112】高圧縮処理部131、中圧縮処理部13
2、低圧縮処理部133それぞれの出力は、セレクタ部
135に入力される。セレクタ部135も画像処理選択
手段7の具体例である。制御部134は、属性判定部1
23からの判定結果に従い、セレクタ部135に、いず
れかの入力を選択させる。
High compression processing section 131, medium compression processing section 13
2. Each output of the low-compression processing unit 133 is input to the selector unit 135. The selector unit 135 is also a specific example of the image processing selection unit 7. The control unit 134 controls the attribute determination unit 1
In accordance with the determination result from 23, the selector unit 135 is made to select any one of the inputs.

【0113】例えば判定結果が「00」であれば、セレ
クタ部135は、低圧縮処理部133からの入力をデー
タ格納部136に記憶する。この場合、圧縮にあたって
画質劣化を抑えることが重要視される。また、判定結果
が「11」であれば、セレクタ部135は、高圧縮処理
部131からの入力をデータ格納部136に記憶する。
対象が文字であれば多少画質が劣化しても判読は可能で
あるから、この場合消費容量の軽減が重要視される。ま
た、判定結果が「10」であれば、セレクタ部135
は、中圧縮処理部132からの入力をデータ格納部13
6に記憶する。この場合、画質劣化の軽減と消費容量の
軽減が同程度重要視されることになる。
For example, if the determination result is “00”, the selector unit 135 stores the input from the low compression processing unit 133 in the data storage unit 136. In this case, it is important to suppress image quality degradation during compression. If the determination result is “11”, the selector unit 135 stores the input from the high compression processing unit 131 in the data storage unit 136.
If the object is a character, it is possible to read even if the image quality is slightly degraded, and in this case, reduction of the consumed capacity is regarded as important. If the determination result is “10”, the selector unit 135
Transmits the input from the medium compression processing unit 132 to the data storage unit 13
6 is stored. In this case, reduction of image quality degradation and reduction of consumption capacity are regarded as equally important.

【0114】このように、属性に応じた画質及び圧縮率
を精度よく選択することができる。
As described above, the image quality and the compression ratio according to the attribute can be selected with high accuracy.

【0115】なお、本発明は、デジタル複写機やスキャ
ナなど、原稿の画像を読み取る画像処理装置だけでな
く、デジタルスチルカメラなどの画像処理装置に適用す
ることも可能である。
The present invention can be applied not only to an image processing apparatus for reading an image of a document, such as a digital copying machine or a scanner, but also to an image processing apparatus such as a digital still camera.

【0116】さらに、第1〜第4の各実施の形態では、
注目画素に対して属性判定を行ったがこれに限られるも
のではない。注目画素に代えて、参照ブロック内の複数
の画素からなる注目領域に対して属性判定を行うように
してもよい。この場合には、注目画素に対して属性判定
を行うよりも若干精度は劣化するが、属性判定の処理量
を軽減することができる。
Furthermore, in each of the first to fourth embodiments,
The attribute is determined for the target pixel, but the present invention is not limited to this. Instead of the target pixel, the attribute determination may be performed on a target region including a plurality of pixels in the reference block. In this case, although the accuracy is slightly deteriorated as compared with the case where the attribute determination is performed on the target pixel, the processing amount of the attribute determination can be reduced.

【0117】また、第1〜第4の各実施の形態では、専
用回路によって信号処理部111を構成したが、これに
限られるものではない。例えばプログラムの制御に従っ
て、図14に示した手順をマイクロプロセッサに実行さ
せることも可能である。この場合、プログラムは、マイ
クロプロセッサが読み出し可能な不揮発性メモリなどに
格納しておき、画像が入力された際に、マイクロプロセ
ッサが当該プログラムを読み出すようにすればよい。プ
ログラムは、マイクロプロセッサやラインバッファと協
働して、既に説明したような属性判定機能や画像処理機
能を実現する。
Further, in each of the first to fourth embodiments, the signal processing section 111 is constituted by the dedicated circuit, but the present invention is not limited to this. For example, it is also possible to cause the microprocessor to execute the procedure shown in FIG. 14 according to control of a program. In this case, the program may be stored in a non-volatile memory or the like which can be read by the microprocessor, and the microprocessor may read the program when an image is input. The program realizes the attribute determination function and the image processing function as described above in cooperation with the microprocessor and the line buffer.

【0118】このような画像処理プログラムは、機器に
組み込まれた不揮発性メモリなどに格納された状態で流
通する他、CDROMなどのコンピュータ読み取り可能
な記録媒体に記録された状態で流通したり、インターネ
ットなどの電気通信回線を通じて流通することがある。
Such an image processing program is distributed in a state of being stored in a non-volatile memory or the like incorporated in a device, distributed in a state of being recorded on a computer-readable recording medium such as a CD-ROM, or distributed on the Internet. It may be distributed through telecommunication lines such as

【0119】また、本発明はカラー画像を扱う画像処理
装置にも、白黒画像のみを扱う画像処理装置にも適用す
ることができる。
The present invention can be applied to an image processing apparatus that handles color images and an image processing apparatus that handles only monochrome images.

【0120】[0120]

【発明の効果】以上説明した通り、本発明では、参照ブ
ロックの特徴値に基づいて注目領域毎に網点領域、文字
領域、連続階調領域などの属性が判定されるから、属性
判定の精度を向上させることができる。その結果、画像
を用紙に記録するときには、適切な画像処理を選択する
ことができ、また画像を圧縮するときには、適切な圧縮
形態を選択することができる。もちろん、従来のような
逆変換等の処理は不要であり、処理時間は短い。
As described above, according to the present invention, attributes such as a halftone dot region, a character region, and a continuous tone region are determined for each region of interest based on the characteristic value of the reference block. Can be improved. As a result, an appropriate image processing can be selected when an image is recorded on a sheet, and an appropriate compression mode can be selected when an image is compressed. Of course, processing such as the conventional inverse conversion is unnecessary, and the processing time is short.

【0121】また、参照ブロックの特徴値と他のブロッ
クの特徴値とを空間周波数毎に積算すれば、その分だ
け、属性判定の精度を向上させることができる。他のブ
ロックの特徴値を積算し、しかも注目領域についてのみ
属性判定を行うから、誤判定の悪影響が抑えられる。
If the characteristic value of the reference block and the characteristic value of the other blocks are integrated for each spatial frequency, the attribute determination accuracy can be improved by that amount. Since the characteristic values of the other blocks are integrated and the attribute determination is performed only for the attention area, the adverse effect of the erroneous determination can be suppressed.

【0122】また、直交データのうち、所定の空間周波
数帯域の直交データに基づいた補正値を、属性判定に利
用することによって、例えば網点領域と文字領域とで特
徴値が類似することがあっても、その場合の誤判定を抑
えることができる。
Further, by using a correction value based on orthogonal data of a predetermined spatial frequency band among the orthogonal data for attribute determination, for example, a characteristic value may be similar between a halftone dot region and a character region. However, erroneous determination in that case can be suppressed.

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

【図1】第1の実施の形態におけるデジタル複写機の備
える信号処理部の概略構成を示すブロック図
FIG. 1 is a block diagram illustrating a schematic configuration of a signal processing unit provided in a digital copying machine according to a first embodiment;

【図2】本発明を適用したデジタル複写機の全体構成を
説明するための図
FIG. 2 is a diagram for explaining the overall configuration of a digital copying machine to which the present invention has been applied;

【図3】参照ブロックの構成及び参照ブロックの選択の
様子を説明する図
FIG. 3 is a diagram for explaining a configuration of a reference block and a state of selection of a reference block;

【図4】画像データと直交データの関係を説明するため
の図
FIG. 4 is a diagram for explaining a relationship between image data and orthogonal data.

【図5】ウェーブレット変換回路の構成を示す図FIG. 5 is a diagram showing a configuration of a wavelet transform circuit.

【図6】参照ブロックにおける空間周波数帯域による分
類を示す図
FIG. 6 is a diagram showing classification based on a spatial frequency band in a reference block.

【図7】原稿が文字の印刷された用紙である場合の画像
データ及び直交データの具体例を示す図
FIG. 7 is a diagram illustrating a specific example of image data and orthogonal data when a document is a sheet on which characters are printed;

【図8】原稿が網点印刷された用紙である場合の画像デ
ータ及び直交データの具体例を示す図
FIG. 8 is a diagram showing a specific example of image data and orthogonal data when a document is halftone printed paper;

【図9】原稿が写真画像の焼き付けられた印画紙である
場合の画像データ及び直交データの具体例を示す図
FIG. 9 is a diagram showing a specific example of image data and orthogonal data when a document is photographic paper on which a photographic image is printed.

【図10】算出回路の構成を示す図FIG. 10 illustrates a configuration of a calculation circuit.

【図11】第1の実施の形態における判定回路の構成を
示す図
FIG. 11 is a diagram illustrating a configuration of a determination circuit according to the first embodiment;

【図12】データの記憶されていない画素を含む参照ブ
ロックが選択された様子を示す図
FIG. 12 is a diagram showing a state where a reference block including a pixel in which no data is stored is selected;

【図13】第2の実施の形態におけるデジタル複写機の
備える信号処理部の概略構成を示すブロック図
FIG. 13 is a block diagram illustrating a schematic configuration of a signal processing unit provided in a digital copying machine according to a second embodiment;

【図14】第2の実施の形態における画像処理方法を説
明するためのフローチャート
FIG. 14 is a flowchart illustrating an image processing method according to a second embodiment.

【図15】第2の実施の形態における積算回路の構成を
示す図
FIG. 15 is a diagram illustrating a configuration of an integrating circuit according to a second embodiment;

【図16】第2の実施の形態における判定回路の構成を
示す図
FIG. 16 is a diagram illustrating a configuration of a determination circuit according to the second embodiment.

【図17】第3の実施の形態におけるデジタル複写機の
備える信号処理部の概略構成を示すブロック図
FIG. 17 is a block diagram illustrating a schematic configuration of a signal processing unit provided in a digital copying machine according to a third embodiment;

【図18】第3の実施の形態における補正回路の構成を
示す図
FIG. 18 is a diagram illustrating a configuration of a correction circuit according to a third embodiment.

【図19】第3の実施の形態における判定回路の構成を
示す図
FIG. 19 is a diagram illustrating a configuration of a determination circuit according to a third embodiment;

【図20】解像度の低い網点領域についての画像データ
及び直交データの具体例を示す図
FIG. 20 is a diagram showing a specific example of image data and orthogonal data for a halftone dot region having a low resolution.

【図21】解像度の高い文字(直線)領域についての画
像データ及び直交データの具体例を示す図
FIG. 21 is a diagram showing a specific example of image data and orthogonal data for a high-resolution character (straight line) area;

【図22】第4の実施の形態におけるデジタル複写機の
備える信号処理部の概略構成を示すブロック図
FIG. 22 is a block diagram illustrating a schematic configuration of a signal processing unit provided in a digital copying machine according to a fourth embodiment;

【図23】第4の実施の形態における積算回路の構成を
示す図
FIG. 23 is a diagram illustrating a configuration of an integrating circuit according to a fourth embodiment.

【図24】第4の実施の形態における判定回路の構成を
示す図
FIG. 24 is a diagram illustrating a configuration of a determination circuit according to a fourth embodiment.

【図25】本発明をスキャナに適用した場合の信号処理
部の概略構成を示すブロック図
FIG. 25 is a block diagram illustrating a schematic configuration of a signal processing unit when the present invention is applied to a scanner.

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

1 参照選択手段 2 直交変換手段 2R 参照ブロック 3 特徴算出手段 4 属性判定手段 5 積算手段 6 補正算出手段 7 画像処理選択手段 11 A/D変換器 12 シェーディング補正回路 13 ラインバッファ 101 イメージスキャナ部 102 プリンタ部 104 原稿 110 ラインセンサ s00 画信号 a00 画像データ b00 画像データ b2 注目画素 e00 直交データ a1〜d4 画像データ Fm 特徴値 Fn 特徴値 Fp 特徴値 DESCRIPTION OF SYMBOLS 1 Reference selection means 2 Orthogonal transformation means 2R Reference block 3 Feature calculation means 4 Attribute determination means 5 Accumulation means 6 Correction calculation means 7 Image processing selection means 11 A / D converter 12 Shading correction circuit 13 Line buffer 101 Image scanner unit 102 Printer Unit 104 document 110 line sensor s00 image signal a00 image data b00 image data b2 pixel of interest e00 orthogonal data a1 to d4 image data Fm feature value Fn feature value Fp feature value

フロントページの続き (72)発明者 桑野 秀之 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 (72)発明者 高橋 直樹 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 Fターム(参考) 5C077 LL19 MP01 PP27 PP49 PQ24 5L096 FA21 GA19 JA11 Continued on the front page (72) Inventor Hideyuki Kuwano 1006 Kazuma Kadoma, Osaka Pref. Matsushita Electric Industrial Co., Ltd. 5C077 LL19 MP01 PP27 PP49 PQ24 5L096 FA21 GA19 JA11

Claims (15)

【特許請求の範囲】[Claims] 【請求項1】 画像を構成する画素を複数含む参照ブロ
ックの選択、及び該参照ブロック内の1つ又は複数の画
素からなる注目領域の選択を行う参照選択手段と、 前記参照ブロック内の画素の値を直交変換した結果であ
る直交データを得る直交変換手段と、 前記直交データに基づいて前記参照ブロックの空間周波
数帯域毎の特徴を表す特徴値を算出する特徴算出手段
と、 前記特徴値に基づいて前記注目領域の属性を判定する属
性判定手段とを備えた画像処理装置。
1. A reference selecting means for selecting a reference block including a plurality of pixels constituting an image, and selecting a region of interest comprising one or more pixels in the reference block; Orthogonal transform means for obtaining orthogonal data which is a result of orthogonally transforming a value; feature calculating means for calculating a feature value representing a feature for each spatial frequency band of the reference block based on the orthogonal data; And an attribute determining means for determining an attribute of the attention area.
【請求項2】 画像を構成する画素を複数含む参照ブロ
ックの選択、及び該参照ブロック内の1つ又は複数の画
素からなる注目領域の選択を行う参照選択手段と、 前記参照ブロック内の画素の値を直交変換した結果であ
る直交データを得る直交変換手段と、 前記直交データに基づいて前記参照ブロックの空間周波
数帯域毎の特徴を表す特徴値を算出する特徴算出手段
と、 前記参照ブロックの特徴値と他のブロックの特徴値とを
空間周波数帯域毎に積算する積算手段と、 前記積算手段の積算結果に基づいて前記注目領域の属性
を判定する属性判定手段とを備えた画像処理装置。
2. A reference selecting unit for selecting a reference block including a plurality of pixels constituting an image and selecting an attention area including one or more pixels in the reference block, and Orthogonal transform means for obtaining orthogonal data as a result of orthogonally transforming a value; feature calculating means for calculating a feature value representing a feature for each spatial frequency band of the reference block based on the orthogonal data; and features of the reference block. An image processing apparatus comprising: integrating means for integrating a value and a characteristic value of another block for each spatial frequency band; and attribute determining means for determining an attribute of the attention area based on a result of integration by the integrating means.
【請求項3】 画像を構成する画素を複数含む参照ブロ
ックの選択、及び該参照ブロック内の1つ又は複数の画
素からなる注目領域の選択を行う参照選択手段と、 前記参照ブロック内の画素の値を直交変換した結果であ
る直交データを得る直交変換手段と、 前記直交データに基づいて前記参照ブロックの空間周波
数帯域毎の特徴を表す特徴値を算出する特徴算出手段
と、 前記直交データのうち、所定の空間周波数帯域の直交デ
ータに基づいた補正値を算出する補正算出手段と、 前記特徴値と前記補正値に基づいて前記注目領域の属性
を判定する属性判定手段とを備えた画像処理装置。
3. A reference selecting means for selecting a reference block including a plurality of pixels constituting an image, and selecting an attention area consisting of one or more pixels in the reference block; Orthogonal transformation means for obtaining orthogonal data that is a result of orthogonal transformation of a value; feature calculation means for calculating a feature value representing a feature for each spatial frequency band of the reference block based on the orthogonal data; An image processing apparatus comprising: a correction calculation unit that calculates a correction value based on orthogonal data of a predetermined spatial frequency band; and an attribute determination unit that determines an attribute of the attention area based on the characteristic value and the correction value. .
【請求項4】 前記属性は、網点領域、文字領域、又は
連続階調領域のいずれかである請求項1乃至3のいずれ
かに記載の画像処理装置。
4. The image processing apparatus according to claim 1, wherein the attribute is one of a halftone area, a character area, and a continuous tone area.
【請求項5】 前記特徴算出手段は、前記直交データの
うち、空間周波数帯域が最低のものを除いて前記特徴値
を算出する請求項1乃至3のいずれかに記載の画像処理
装置。
5. The image processing apparatus according to claim 1, wherein the feature calculation unit calculates the feature value excluding the orthogonal data having the lowest spatial frequency band.
【請求項6】 前記画像は、原稿から読み取った画像で
ある請求項1乃至3のいずれかに記載の画像処理装置。
6. The image processing apparatus according to claim 1, wherein the image is an image read from a document.
【請求項7】 前記参照選択手段は、原稿読み取りの主
走査方向から副走査方向の順で連続的にかつ1画素ずつ
ずらして前記参照ブロックを順次選択する請求項6記載
の画像処理装置。
7. The image processing apparatus according to claim 6, wherein the reference selection unit sequentially selects the reference block by shifting one pixel at a time in the order of main scanning from the main scanning direction and in the sub-scanning direction.
【請求項8】 前記直交変換手段は、前記参照ブロック
内の一部領域にのみ前記画像を構成する画素が含まれる
場合に、前記参照ブロック内の前記一部領域以外の領域
にある画素の値を、白色画像を表す値で埋める請求項1
乃至3のいずれかに記載の画像処理装置。
8. The method according to claim 1, wherein the orthogonal transformation unit is configured to, when a pixel constituting the image is included only in a partial area in the reference block, determine a value of a pixel in an area other than the partial area in the reference block. Is filled with a value representing a white image.
The image processing apparatus according to any one of claims 1 to 3.
【請求項9】 前記属性判定手段の判定結果に基づい
て、前記注目領域に対する画像処理を選択する画像処理
選択手段を備える請求項1乃至3のいずれかに記載の画
像処理装置。
9. The image processing apparatus according to claim 1, further comprising an image processing selection unit that selects an image processing for the attention area based on a determination result of the attribute determination unit.
【請求項10】 前記画像処理は、圧縮処理である請求
項9記載の画像処理装置。
10. The image processing apparatus according to claim 9, wherein said image processing is compression processing.
【請求項11】 前記積算手段は、前記他のブロックの
注目領域にあたる領域が前記画像外にある場合に、前記
参照ブロックの特徴値と前記画像内に注目領域がある前
記他のブロックの特徴値を積算する請求項2記載の画像
処理装置。
11. The feature value of the reference block and the feature value of the other block having the attention area in the image when the area corresponding to the attention area of the other block is outside the image. The image processing apparatus according to claim 2, wherein:
【請求項12】 前記参照ブロックの特徴値及び補正値
と他のブロックの特徴値及び補正値とをそれぞれ積算す
る積算手段を更に備え、 前記属性判定手段は、前記積算手段の積算結果に基づい
て前記注目領域の属性を判定する請求項3記載の画像処
理装置。
12. An integrating means for integrating the characteristic value and the correction value of the reference block and the characteristic value and the correction value of another block, respectively, wherein the attribute judging means is configured to perform the operation based on the integration result of the integrating means. The image processing apparatus according to claim 3, wherein an attribute of the attention area is determined.
【請求項13】 前記他のブロックは、注目領域が前記
参照ブロックの注目領域の周辺にある請求項2又は12
記載の画像処理装置。
13. The other block, wherein the attention area is around the attention area of the reference block.
The image processing apparatus according to any one of the preceding claims.
【請求項14】 画像を構成する画素を複数含む参照ブ
ロックの選択、及び該参照ブロック内の1つ又は複数の
画素からなる注目領域の選択を行う手順と、 前記参照ブロック内の画素の値を直交変換した結果であ
る直交データを得る手順と、 前記直交データに基づいて前記参照ブロックの空間周波
数帯域毎の特徴を表す特徴値を算出する手順と、 前記参照ブロックの特徴値と他のブロックの特徴値とを
空間周波数帯域毎に積算する手順と、 前記積算の結果に基づいて前記注目領域の属性を判定す
る手順とを備えた画像処理方法。
14. A procedure for selecting a reference block including a plurality of pixels constituting an image, and selecting a region of interest including one or more pixels in the reference block, and determining a value of a pixel in the reference block. A procedure for obtaining orthogonal data that is a result of the orthogonal transformation; a procedure for calculating a feature value representing a feature for each spatial frequency band of the reference block based on the orthogonal data; and a feature value of the reference block and other blocks. An image processing method, comprising: a step of integrating a characteristic value for each spatial frequency band; and a step of determining an attribute of the attention area based on a result of the integration.
【請求項15】 コンピュータに、 画像を構成する画素を複数含む参照ブロックの選択、及
び該参照ブロック内の1つ又は複数の画素からなる注目
領域の選択を行う手順と、 前記参照ブロック内の画素の値を直交変換した結果であ
る直交データを得る手順と、 前記直交データに基づいて前記参照ブロックの空間周波
数帯域毎の特徴を表す特徴値を算出する手順と、 前記参照ブロックの特徴値と他のブロックの特徴値とを
空間周波数帯域毎に積算する手順と、 前記積算の結果に基づいて前記注目領域の属性を判定す
る手順とを実行させるための画像処理プログラム。
15. A procedure for causing a computer to select a reference block including a plurality of pixels constituting an image and to select a region of interest including one or more pixels in the reference block; Obtaining orthogonal data as a result of orthogonally transforming the values of the above, a step of calculating a characteristic value representing a feature of each of the spatial frequency bands of the reference block based on the orthogonal data, and a feature value of the reference block and the like. An image processing program for executing a procedure of integrating the characteristic value of each block with respect to each spatial frequency band, and a procedure of determining an attribute of the attention area based on a result of the integration.
JP2001281897A 2000-09-21 2001-09-17 Image processing apparatus, image processing method, and image processing program Withdrawn JP2002171406A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001281897A JP2002171406A (en) 2000-09-21 2001-09-17 Image processing apparatus, image processing method, and image processing program

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2000-287055 2000-09-21
JP2000287055 2000-09-21
JP2001281897A JP2002171406A (en) 2000-09-21 2001-09-17 Image processing apparatus, image processing method, and image processing program

Publications (1)

Publication Number Publication Date
JP2002171406A true JP2002171406A (en) 2002-06-14

Family

ID=26600427

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001281897A Withdrawn JP2002171406A (en) 2000-09-21 2001-09-17 Image processing apparatus, image processing method, and image processing program

Country Status (1)

Country Link
JP (1) JP2002171406A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6965457B2 (en) * 2000-09-21 2005-11-15 Matsushita Electric Industrial Co., Ltd. Image processing apparatus, method, and program for image attribute determination based on orthogonal data
JP2014078786A (en) * 2012-10-09 2014-05-01 Ricoh Co Ltd Image processor, image processing method and recording medium recording image processing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6965457B2 (en) * 2000-09-21 2005-11-15 Matsushita Electric Industrial Co., Ltd. Image processing apparatus, method, and program for image attribute determination based on orthogonal data
JP2014078786A (en) * 2012-10-09 2014-05-01 Ricoh Co Ltd Image processor, image processing method and recording medium recording image processing method

Similar Documents

Publication Publication Date Title
US9734439B2 (en) Image processing apparatus and method thereof
US7633650B2 (en) Apparatus and method for processing binary image produced by error diffusion according to character or line drawing detection
JP4912270B2 (en) Image processing apparatus and control method thereof
JP5247492B2 (en) Image forming apparatus, control method, and program
JPH1169150A (en) Image area discriminating method, image processor and image forming device
WO2004080057A1 (en) Image processor
JPH11341284A (en) Picture processor
US7324244B2 (en) Image forming apparatus and image forming method
JP4280404B2 (en) Image processing apparatus and method
JP3949931B2 (en) Image forming apparatus
JP4097114B2 (en) Image processing apparatus, image processing method, and recording medium
JP3311549B2 (en) Magnification control device for image processing device
JP2002232654A (en) Device and method for image processing and computer readable recording medium with program for making computer perform the method recorded thereon
US6965457B2 (en) Image processing apparatus, method, and program for image attribute determination based on orthogonal data
JPH1141473A (en) Image processor, image recording device, and image forming device
JP4861506B2 (en) Image processing apparatus and control method thereof
JP2002171406A (en) Image processing apparatus, image processing method, and image processing program
JP4753253B2 (en) Image processing device
JP2001268361A (en) Image processing apparatus and storage medium
JP3883031B2 (en) Image processing apparatus, image processing method, and storage medium
JP3113659B2 (en) Image forming device
JP4213626B2 (en) Image processing device
JP3938457B2 (en) Image processing apparatus and image processing method
JP2008092323A (en) Image processing equipment, and image reading apparatus and image forming apparatus equipped with the same
JP5020904B2 (en) Image reading apparatus, control method therefor, and image forming apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080820

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20090916