JPH10257308A - Image processing apparatus and method - Google Patents

Image processing apparatus and method

Info

Publication number
JPH10257308A
JPH10257308A JP9061179A JP6117997A JPH10257308A JP H10257308 A JPH10257308 A JP H10257308A JP 9061179 A JP9061179 A JP 9061179A JP 6117997 A JP6117997 A JP 6117997A JP H10257308 A JPH10257308 A JP H10257308A
Authority
JP
Japan
Prior art keywords
image
area
character
detection
processing apparatus
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
JP9061179A
Other languages
Japanese (ja)
Inventor
Yukihiko Shimizu
由紀彦 清水
Shinobu Arimoto
忍 有本
Takeshi Matsukubo
勇志 松久保
Yuki Uchida
由紀 内田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP9061179A priority Critical patent/JPH10257308A/en
Publication of JPH10257308A publication Critical patent/JPH10257308A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)

Abstract

(57)【要約】 【課題】画像中の文字・線画領域と他の画像領域との境
界領域を検出することにより、検出した領域に基づく処
理により得られる画像を高品質化する。 【解決手段】文字・線画・中間調検出部2023により
文字、線画、中間調領域を検出し、網点領域検出部20
24により網点領域を検出する。両検出部の検出信号B
INGRA及びAMIの論理和である信号PICT_I
SOに係る画像には、網点領域と文字領域の境界領域に
おいて非検出領域が点在する。そこで、再検出部202
7において、白画素の孤立度に基づいて注目画素が非検
出領域に属するか否かを判定し、その結果に基づいて非
検出領域を検出し、これにより信号PICT_ISOを
修正し、適正な検出信号PICTを生成する。
(57) [Problem] To improve the quality of an image obtained by processing based on a detected region by detecting a boundary region between a character / line drawing region and another image region in the image. A character / line image / halftone area is detected by a character / line image / halftone area detection unit.
24 detects a dot area. Detection signal B of both detectors
Signal PICT_I which is a logical sum of INGRA and AMI
In the image related to SO, non-detection areas are scattered in the boundary area between the halftone area and the character area. Therefore, the re-detection unit 202
7, it is determined whether or not the pixel of interest belongs to the non-detection area based on the degree of isolation of the white pixel, and the non-detection area is detected based on the result, whereby the signal PICT_ISO is corrected and the appropriate detection signal is detected. Generate a PICT.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像処理装置及び
その方法に係り、特に、画像の特徴を抽出してその結果
に基づいて該画像を処理する画像処理装置及びその方法
に関する。
The present invention relates to an image processing apparatus and method, and more particularly to an image processing apparatus and method for extracting features of an image and processing the image based on the result.

【0002】[0002]

【従来の技術】近年、カラー画像データをデジタル的に
処理し、カラープリンタに出力してカラー画像を得るカ
ラープリント装置や、カラー原稿を色分解して電気的に
読み取り、得られたカラー画像データを記録紙上にプリ
ント出力してカラー画像複写を行う所謂デジタルカラー
画像複写機などのカラー印刷システムの発展が著しい。
これらの普及に伴い、特に文字や線画をよりシャープに
印刷したいというカラー画像の印刷品質に対する要求が
高まっている。
2. Description of the Related Art In recent years, color image data obtained by digitally processing color image data and outputting it to a color printer to obtain a color image, and color reading of a color original by color separation and electrical reading. A color printing system such as a so-called digital color image copying machine for copying a color image by printing out the image on recording paper has been remarkably developed.
With the spread of these, there is an increasing demand for printing quality of color images, especially for printing characters and line drawings more sharply.

【0003】そこで、文字や線画の太さを判別して、そ
の太さに応じた画像処理を施すことにより、文字や線画
をシャープに印刷する装置が本出願人により提案されて
いる(特願平6−178501号)。
[0003] Therefore, an apparatus for sharply printing a character or a line drawing by determining the thickness of a character or a line drawing and performing image processing according to the thickness has been proposed by the applicant of the present invention (Japanese Patent Application No. 2002-214,197). Hei 6-178501).

【0004】この提案は、文字・中間調領域の検出部
と、網点領域の検出部とを設け、両検出部によって文字
・中間調領域と網点領域を検出し、検出した領域の大き
さに応した画像処理を実行するものである。
In this proposal, a character / halftone area detecting section and a halftone area detecting section are provided, and both the detecting sections detect a character / halftone area and a halftone area. To execute image processing corresponding to.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上記提
案においては、網点領域中に文字や線画等が存在する場
合に、網点と文字等とが接する境界部分の画像をいずれ
かの検出部によっても検出されない場合がある。このよ
うな非検出領域が存在すると、両検出部による検出結果
に基づいて注目画素が属する画像領域の大きさを判定す
る際に、誤判定がなされることになる。この場合、前記
境界部の画像に対して不適切な画像処理が施され、出力
画像の品質の低下をもたらす。
However, in the above proposal, when a character or a line drawing is present in a halftone dot area, an image of a boundary portion where the halftone dot and the character or the like are in contact is detected by one of the detection units. May not be detected. When such a non-detection area exists, an erroneous determination is made when determining the size of the image area to which the pixel of interest belongs based on the detection results by the two detection units. In this case, improper image processing is performed on the image of the boundary portion, and the quality of the output image is reduced.

【0006】本発明は、上記の問題点に鑑みてなされた
ものであり、画像中の文字・線画領域と他の画像領域と
の境界領域を検出することにより、検出した領域に基づ
く処理により得られる画像を高品質化することを目的と
する。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-described problems, and has been made by performing processing based on a detected area by detecting a boundary area between a character / line drawing area and another image area in an image. The objective is to improve the quality of the image obtained.

【0007】[0007]

【課題を解決するための手段】本発明に係る画像処理装
置は、画像の特徴を抽出してその結果に基づいて該画像
を処理する画像処理装置であって、画像中の文字・線画
・中間調領域を検出する第1の検出手段と、画像中の網
点領域を検出する第2の検出手段と、画像中の文字・線
画・中間調領域と網点領域との境界領域を検出する第3
の検出手段と、を備え、前記第1乃至第3の検出手段に
よる検出結果に基づいて画像を処理することを特徴とす
る。
SUMMARY OF THE INVENTION An image processing apparatus according to the present invention is an image processing apparatus for extracting features of an image and processing the image based on a result of the extraction. First detecting means for detecting a tone area, second detecting means for detecting a halftone area in the image, and second detecting means for detecting a boundary area between the character / line drawing / halftone area and the halftone area in the image. 3
And processing the image based on the detection results of the first to third detection means.

【0008】前記画像処理装置において、前記第3の検
出手段は、前記第1及び第2の検出手段によって検出さ
れていない領域より、画像中の文字・線画・中間調領域
と網点領域との境界領域を検出することが好ましい。
In the above-mentioned image processing apparatus, the third detecting means may detect a region of a character, a line drawing, a halftone region and a halftone dot region in an image from an area not detected by the first and second detecting units. Preferably, a boundary region is detected.

【0009】前記画像処理装置において、前記第3の検
出手段は、前記第1及び第2の検出手段によって検出さ
れていない画素の分布に基づいて各画素が画像中の文字
・線画・中間調領域と網点領域との境界領域に属する画
素であるか否かを判定することによって該境界領域を検
出することが好ましい。
In the above-mentioned image processing apparatus, the third detecting means may be arranged such that each pixel has a character / line image / halftone area in the image based on a distribution of pixels not detected by the first and second detecting means. It is preferable to detect the boundary region by determining whether or not the pixel belongs to the boundary region between the pixel region and the halftone dot region.

【0010】前記画像処理装置において、前記第3の検
出手段は、前記第1及び第2の検出手段によって検出さ
れていない画素の連なりに基づいて各画素が画像中の文
字・線画・中間調領域と網点領域との境界領域に属する
画素であるか否かを判定することによって該境界領域を
検出することが好ましい。
In the image processing apparatus, the third detecting means may be configured such that each pixel is a character / line drawing / halftone area in the image based on a series of pixels not detected by the first and second detecting means. It is preferable to detect the boundary region by determining whether or not the pixel belongs to the boundary region between the pixel region and the halftone dot region.

【0011】前記画像処理装置において、前記第3の検
出手段は、前記第1及び第2の検出手段によって検出さ
れていない画素が連なっている個数に基づいて各画素が
画像中の文字・線画・中間調領域と網点領域との境界領
域に属する画素であるか否かを判定することによって該
境界領域を検出することが好ましい。
In the above-mentioned image processing apparatus, the third detecting means may determine whether each pixel is a character, a line drawing, or a character in an image based on the number of consecutive pixels not detected by the first and second detecting means. It is preferable to detect the boundary area by determining whether or not the pixel belongs to the boundary area between the halftone area and the halftone area.

【0012】前記画像処理装置において、前記第3の検
出手段は、前記第1または第2の検出手段の検出結果の
集合により構成される画像より、画像中の文字・線画・
中間調領域と網点領域との境界領域を検出することが好
ましい。
In the above-mentioned image processing apparatus, the third detecting means converts a character, a line drawing, and a character in the image from an image constituted by a set of detection results of the first or second detecting means.
It is preferable to detect a boundary region between the halftone region and the halftone dot region.

【0013】前記画像処理装置において、前記第3の検
出手段は、前記第1または第2の検出手段の検出結果の
集合により構成される画像において未検出の画素の分布
に基づいて各画素が画像中の文字・線画・中間調領域と
網点領域との境界領域に属する画素であるか否かを判定
することによって該境界領域を検出することが好まし
い。
In the above-mentioned image processing apparatus, the third detecting means may be configured such that each pixel is formed based on a distribution of undetected pixels in an image formed by a set of detection results of the first or second detecting means. It is preferable to detect the boundary area by determining whether or not the pixel belongs to the boundary area between the character / line image / halftone area and the halftone area.

【0014】前記画像処理装置において、前記第3の検
出手段は、前記第1または第2の検出手段の検出結果の
集合により構成される画像において未検出の画素の連な
りに基づいて各画素が画像中の文字・線画・中間調領域
と網点領域との境界領域に属する画素であるか否かを判
定することによって該境界領域を検出することが好まし
い。
In the above-mentioned image processing apparatus, the third detecting means may be configured such that each pixel is formed based on a series of undetected pixels in an image constituted by a set of detection results of the first or second detecting means. It is preferable to detect the boundary area by determining whether or not the pixel belongs to the boundary area between the character / line image / halftone area and the halftone area.

【0015】前記画像処理装置において、前記第3の検
出手段は、前記第1または第2の検出手段の検出結果の
集合により構成される画像において未検出の画素が連な
っている個数に基づいて各画素が画像中の文字・線画・
中間調領域と網点領域との境界領域に属する画素である
か否かを判定することによって該境界領域を検出するこ
とが好ましい。
In the above-mentioned image processing apparatus, the third detecting means may determine each of the undetected pixels based on the number of undetected pixels in an image constituted by a set of detection results of the first or second detecting means. Pixels are characters, line drawings,
It is preferable to detect the boundary area by determining whether or not the pixel belongs to the boundary area between the halftone area and the halftone area.

【0016】前記画像処理装置は、前記第1乃至第3の
検出手段による検出結果に基づいて画像領域のサイズを
判定する判定手段をさらに備え、その判定結果に応じて
画像を処理することが好ましい。
It is preferable that the image processing apparatus further includes a judging means for judging the size of the image area based on the detection result by the first to third detecting means, and processes the image according to the judgment result. .

【0017】本発明に係る画像処理装置は、画像の特徴
を抽出してその結果に基づいて該画像を処理する画像処
理装置であって、画像中の文字・線画領域及び前記文字
・線画領域以外の他の画像領域を検出する主検出手段
と、前記文字・線画領域と前記他の画像領域との境界領
域を検出する副検出手段とを備え、前記主検出手段及び
副検出手段による検出結果に基づいて画像を処理するこ
とを特徴とする。
An image processing apparatus according to the present invention is an image processing apparatus for extracting a feature of an image and processing the image based on the result, wherein a character / line drawing area in the image and a character / line drawing area other than the character / line drawing area are included. Main detecting means for detecting another image area, and sub-detecting means for detecting a boundary area between the character / line drawing area and the other image area. The method is characterized in that an image is processed based on the image.

【0018】前記画像処理装置において、前記副検出手
段は、前記主検出手段により検出されていない領域よ
り、前記境界領域を検出することが好ましい。
In the image processing apparatus, it is preferable that the sub-detecting means detects the boundary area from an area not detected by the main detecting means.

【0019】前記画像処理装置において、前記副検出手
段は、前記主検出手段によって検出されていない画素の
分布に基づいて各画素が前記境界領域に属する画素であ
るか否かを判定することによって前記境界領域を検出す
ることが好ましい。
In the image processing apparatus, the sub-detecting unit determines whether each pixel is a pixel belonging to the boundary area based on a distribution of pixels not detected by the main detecting unit. Preferably, a boundary region is detected.

【0020】前記画像処理装置において、前記副検出手
段は、前記主検出手段によって検出されていない画素の
連なりに基づいて各画素が前記境界領域に属する画素で
あるか否かを判定することによって前記境界領域を検出
することが好ましい。
In the image processing apparatus, the sub-detecting unit determines whether each pixel is a pixel belonging to the boundary area based on a series of pixels not detected by the main detecting unit. Preferably, a boundary region is detected.

【0021】前記画像処理装置において、前記副検出手
段は、前記主検出手段によって検出されていない画素が
連なっている個数に基づいて各画素が前記境界領域に属
する画素であるか否かを判定することによって前記境界
領域を検出することが好ましい。
In the image processing apparatus, the sub-detecting unit determines whether each pixel is a pixel belonging to the boundary area based on the number of consecutive pixels not detected by the main detecting unit. It is preferable to detect the boundary region by the above.

【0022】前記の各画像処理装置は、処理した画像を
出力する出力手段をさらに備えることが好ましい。
Preferably, each of the image processing apparatuses further includes an output unit that outputs a processed image.

【0023】前記の各画像処理装置は、処理対象となる
画像を入力する入力手段をさらに備えることが好まし
い。
It is preferable that each of the image processing apparatuses further includes an input unit for inputting an image to be processed.

【0024】前記画像処理装置において、前記入力手段
は、原稿画像を読み取って入力する手段を含むことが好
ましい。
In the image processing apparatus, the input means preferably includes means for reading and inputting a document image.

【0025】前記の各画像処理装置は、フルカラー画像
を対象として処理する機能を有することが好ましい。
Each of the above image processing apparatuses preferably has a function of processing a full color image.

【0026】本発明に係る画像処理方法は、画像の特徴
を抽出してその結果に基づいて該画像を処理する画像処
理方法であって、画像中の文字・線画・中間調領域を検
出する第1の検出工程と、画像中の網点領域を検出する
第2の検出工程と、画像中の文字・線画領域と網点領域
との境界領域を検出する第3の検出工程とを備え、前記
第1乃至第3の検出工程による検出結果に基づいて画像
を処理することを特徴とする。
An image processing method according to the present invention is an image processing method for extracting a feature of an image and processing the image based on the result, and detecting a character, a line drawing, and a halftone area in the image. 1, a second detection step of detecting a halftone dot area in an image, and a third detection step of detecting a boundary area between a character / line drawing area and a halftone dot area in the image, The method is characterized in that the image is processed based on the detection results of the first to third detection steps.

【0027】本発明に係る画像処理方法は、画像の特徴
を抽出してその結果に基づいて該画像を処理する画像処
理方法であって、画像中の文字・線画領域及び前記文字
・線画領域以外の他の画像領域を検出する主検出工程
と、前記文字・線画領域と前記他の画像領域との境界領
域を検出する副検出工程とを備え、前記主検出手段及び
副検出工程による検出結果に基づいて画像を処理するこ
とを特徴とする。
An image processing method according to the present invention is an image processing method for extracting features of an image and processing the image based on a result of the extraction, wherein a character / line drawing region in the image and a region other than the character / line drawing region are included. A main detection step of detecting another image area, and a sub-detection step of detecting a boundary area between the character / line drawing area and the other image area. The method is characterized in that an image is processed based on the image.

【0028】本発明に係るコンピュータ可読メモリは、
画像の特徴を抽出してその結果に基づいて該画像を処理
するためのプログラムコードを収めたコンピュータ可読
メモリであって、画像中の文字・線画・中間調領域を検
出する第1の検出工程のコードと、画像中の網点領域を
検出する第2の検出工程のコードと、画像中の文字・線
画領域と網点領域との境界領域を検出する第3の検出工
程のコードとを含むことを特徴とする。
The computer readable memory according to the present invention comprises:
A computer-readable memory containing a program code for extracting a feature of an image and processing the image based on the result, the computer-readable memory having a first detection step of detecting a character, a line drawing, and a halftone area in the image. Code, a code of a second detection step of detecting a halftone dot area in the image, and a code of a third detection step of detecting a boundary area between the character / line drawing area and the halftone dot area in the image. It is characterized by.

【0029】本発明に係るコンピュータ可読メモリは、
画像の特徴を抽出してその結果に基づいて該画像を処理
するためのプログラムコードを収めたコンピュータ可読
メモリであって、画像中の文字・線画領域及び前記文字
・線画領域以外の他の画像領域を検出する主検出工程の
コードと、前記文字・線画領域と前記他の画像領域との
境界領域を検出する副検出工程のコードとを含むことを
特徴とする。
The computer readable memory according to the present invention comprises:
A computer readable memory containing a program code for extracting features of an image and processing the image based on the result, wherein a character / line drawing area in the image and another image area other than the character / line drawing area And a code for a sub-detection step for detecting a boundary area between the character / line drawing area and the other image area.

【0030】[0030]

【発明の実施の形態】以下、添付図面を参照しながら本
発明の好適な実施の形態を説明する。
Preferred embodiments of the present invention will be described below with reference to the accompanying drawings.

【0031】図1は、本発明の好適な実施の形態に係る
画像処理装置の断面構成を示す図である。同図におい
て、201はイメージスキャナ部であり、原稿を読み取
って読み取り画像信号に対して所定の信号処理を行う。
228は、ホストコンピュータであり、画像信号を生成
し、コントローラ227を介してイメージスキャナ部2
01に送出する。200は、プリンタ部であり、イメー
ジスキャナ部201において読み取られた原稿画像信号
またはホストコンピュータ228より送出された画像信
号に基づいて記録媒体上にフルカラー画像を出力する。
すなわち、この画像処理装置は、複写機としてもプリン
タとしても機能する。
FIG. 1 is a diagram showing a sectional configuration of an image processing apparatus according to a preferred embodiment of the present invention. In FIG. 1, reference numeral 201 denotes an image scanner unit which reads a document and performs predetermined signal processing on a read image signal.
Reference numeral 228 denotes a host computer which generates an image signal and outputs the image signal via the controller 227 to the image scanner unit 2.
01. A printer unit 200 outputs a full-color image on a recording medium based on a document image signal read by the image scanner unit 201 or an image signal sent from the host computer 228.
That is, this image processing apparatus functions as both a copying machine and a printer.

【0032】イメージスキャナ部201では、原稿圧板
202により原稿台ガラス203上に載置された原稿2
04を押圧した状態で、ハロゲンランプ205により光
を照射し、原稿204からの反射光をミラー206及び
207で反射し、レンズ208により3ラインセンサ
(CCD)210上に結像させる。
In the image scanner unit 201, the original 2 placed on the original platen glass 203 by the original pressing plate 202
Light is irradiated by the halogen lamp 205 with the 04 pressed, the reflected light from the document 204 is reflected by the mirrors 206 and 207, and an image is formed on the three-line sensor (CCD) 210 by the lens 208.

【0033】CCD210は、原稿204からの反射光
を色分解して、フルカラー情報のレッド(R)、グリー
ン(G)、ブルー(B)成分を読み取って、その読み取
り信号を信号処理部209に送る。
The CCD 210 separates the reflected light from the document 204 into colors, reads red (R), green (G), and blue (B) components of full-color information, and sends the read signal to the signal processing unit 209. .

【0034】原稿の読み取りの際、ハロゲンランプ20
5及びミラー206は速度vで、ミラー207は速度
(1/2)vで、3ラインセンサ210における電気的
な走査方向(以下、主走査方向)に対して垂直な方向
(以下、副走査方向)に機械的に移動し、原稿204の
全面を走査する。
When reading an original, the halogen lamp 20
5 and the mirror 206 at a speed v, and the mirror 207 at a speed (1 /) v, in a direction perpendicular to an electrical scanning direction (hereinafter, main scanning direction) in the three-line sensor 210 (hereinafter, sub-scanning direction). ), And scans the entire surface of the document 204.

【0035】標準白色板211は、3ラインセンサ21
0を構成するR,G,Bセンサ210−1〜210−3
による読み取りデータを補正するための補正データを生
成するために設けられている。この標準白色板211
は、可視光で略均一な反射特性を有し、その色は白色で
ある。
The standard white plate 211 is a three-line sensor 21
R, G, B sensors 210-1 to 210-3 constituting 0
Is provided to generate correction data for correcting the read data by the. This standard white plate 211
Has substantially uniform reflection characteristics with visible light, and its color is white.

【0036】画像信号処理部209では、原稿204を
読み取った原稿画像信号またはホストコンピュータ22
8から送られてくる画像信号を選択して、選択に係る画
像信号をマゼンタ(M)、シアン(C)、イエロー
(Y)、ブラック(Bk)の各色成分に分解して画像処
理し、 その処理結果をプリンタ部200に送る。
The image signal processing unit 209 outputs an original image signal obtained by reading the original 204 or the host computer 22.
8 is selected, and the selected image signal is decomposed into magenta (M), cyan (C), yellow (Y), and black (Bk) color components and subjected to image processing. The processing result is sent to the printer unit 200.

【0037】プリンタ部200では、画像処理された
M,C,Y,Bkの各画像信号がレーザドライバ212
に送られる。レーザドライバ212は、この画像信号に
応じて半導体レーザ213をPWM変調しながら駆動す
る。半導体レーザ213から照射されたレーザ光は、ポ
リゴンミラー214、f−θレンズ215、ミラー21
6を介して感光ドラム217上を走査することになる。
なお、プリンタ部200は、解像度として、200線/
400線を切り替えることができる。
In the printer section 200, the image signals of M, C, Y, and Bk that have been subjected to the image processing are transmitted to the laser driver 212.
Sent to The laser driver 212 drives the semiconductor laser 213 while performing PWM modulation according to the image signal. The laser light emitted from the semiconductor laser 213 is applied to a polygon mirror 214, an f-θ lens 215, and a mirror 21.
6, the photosensitive drum 217 is scanned.
The printer unit 200 has a resolution of 200 lines /
400 lines can be switched.

【0038】現像器は、マゼンタ現像器219、シアン
現像器220、イエロー現像器221、ブラック現像器
222により構成され、こららの4つの現像器が交互に
感光ドラムに接触し、感光ドラム217上に形成される
M.C,Y,Bkに関する静電潜像を対応するトナーで
現像する。転写ドラム223は、用紙カセット224ま
たは225より供給された用紙を吸着するようにして巻
き付け、感光ドラム217上に形成されたトナー像を用
紙に転写する。
The developing device is composed of a magenta developing device 219, a cyan developing device 220, a yellow developing device 221 and a black developing device 222. These four developing devices alternately contact the photosensitive drum, and Formed in M. The electrostatic latent images for C, Y, and Bk are developed with corresponding toner. The transfer drum 223 wraps the sheet supplied from the sheet cassette 224 or 225 so as to attract the sheet, and transfers the toner image formed on the photosensitive drum 217 to the sheet.

【0039】以上のようにして、M,C,Y,Bkの4
色のトナー像が用紙に順次転写された後に、この用紙
は、定着ユニット226を通過して排紙される。
As described above, four of M, C, Y, and Bk
After the color toner images are sequentially transferred to the sheet, the sheet passes through the fixing unit 226 and is discharged.

【0040】図2は、イメージスキャナ部201の画像
処理部209の詳細な構成例を示す図である。3ライン
センサ210から出力される画像信号は、アナログ信号
処理回路101に入力され、ここでゲイン調整、オフセ
ット調整された後に、A/D変換回路102において各
色信号毎に8bitのデジタル画像信号R1,G1,B
1に変換される。デジタル画像信号R1,G1,B1
は、シェーディング補正部103に入力され、各色信号
毎に、標準色板211の読み取り信号を用いたシェーデ
ィング補正が施される。
FIG. 2 is a diagram showing a detailed configuration example of the image processing unit 209 of the image scanner unit 201. The image signal output from the three-line sensor 210 is input to the analog signal processing circuit 101, where gain adjustment and offset adjustment are performed, and then, in the A / D conversion circuit 102, an 8-bit digital image signal R 1 for each color signal. G1, B
Converted to 1. Digital image signals R1, G1, B1
Are input to the shading correction unit 103 and subjected to shading correction using a read signal of the standard color plate 211 for each color signal.

【0041】クロック発生部121は、1画素単位のク
ロック信号を発生する。また、主走査アドレスカウンタ
122では、クロック発生部121から供給されるクロ
ック信号をカウントし、主走査アドレスを生成する。デ
コーダ123は、主走査アドレスカウンタ122からの
主走査アドレスをデコードして、シフトパルスやリセッ
トパルス等のライン単位のCCD駆動信号や、3ライン
センサ210から供給される1ライン分の読み取り信号
中の有効領域を示すVE信号、ライン同期信号HSYN
Cを生成する。なお、主走査アドレスカウンタ122
は、このHSYNC信号でクリアされ、次のラインの主
走査アドレスのカウントを開始する。
The clock generator 121 generates a clock signal for each pixel. The main scanning address counter 122 counts a clock signal supplied from the clock generation unit 121 and generates a main scanning address. The decoder 123 decodes the main scanning address from the main scanning address counter 122, and detects a line-by-line CCD drive signal such as a shift pulse or a reset pulse, or a one-line read signal supplied from the three-line sensor 210. VE signal indicating effective area, line synchronization signal HSYN
Generate C. The main scanning address counter 122
Is cleared by the HSYNC signal, and the counting of the main scanning address of the next line is started.

【0042】3ラインセンサ210を構成する各センサ
210−1〜210−3は、相互に所定の距離を隔てて
配置されているため、ラインディレイ回路105におい
て、福走査方向の空間的なずれを補正する。入力マスキ
ング部106は、NTSCの標準色空間に変換する。
The sensors 210-1 to 210-3 constituting the three-line sensor 210 are arranged at a predetermined distance from each other. to correct. The input masking unit 106 converts the image into an NTSC standard color space.

【0043】画像信号切り替え部1064では、ホスト
コンピュータ228から送られてくる画像信号Rif,
Gif,Bifまたは3ラインセンサ210による読み
取りに係る画像信号R4,G4,B4を選択し、画像信
号R40、G40、B40として出力する。
In the image signal switching unit 1064, the image signals Rif,
The image signals R4, G4, and B4 related to reading by the Gif, Bif, or three-line sensor 210 are selected and output as image signals R40, G40, and B40.

【0044】下地処理部1065では、画像信号R4
0,G40,B40の下地成分の検出及び除去を行う。
下地除去を行うか否かは、操作部101により指示する
ことができる。
In the background processing section 1065, the image signal R4
Detection and removal of background components of 0, G40, and B40 are performed.
Whether or not to perform background removal can be instructed by the operation unit 101.

【0045】光量/濃度変換部(LOG変換部)107
は、ルックアップテーブルROMを含み、これを参照す
ることによりR5,G5,B5の輝度信号がC0,M
0,Y0の濃度信号に変換する。ライン遅延メモリ10
8は、後述する黒文字判定部113において画像信号R
40,G40,B40に基づいて生成されるUCR、F
ILTER,SENの判定信号の発生タイミングに適合
するように、画像信号C0,M0,Y0を遅延させる。
Light / density converter (LOG converter) 107
Includes a look-up table ROM, and the luminance signals of R5, G5, and B5 are referred to as C0, M
It is converted into a density signal of 0, Y0. Line delay memory 10
8 is an image signal R in a black character determination unit 113 described later.
40, G40, UCR generated based on B40, F
The image signals C0, M0, and Y0 are delayed so as to match the generation timing of the determination signals of ILTER and SEN.

【0046】マスキングUCR部109は、C1,M
1,Y1の3原色信号より、黒信号(K)を抽出し、さ
らに、ブリンタ部200における記録色材の色濁りを補
正する演算を施して、Y,M,C,Kに関しての所定ビ
ット数(例えば、8bit)の画像信号Y2,M2,C
2,K2を面順次に出力する。
The masking UCR unit 109 includes C1, M
A black signal (K) is extracted from the three primary color signals of Y1, M1, C1, and K, and a black signal (K) is extracted from the three primary color signals. (Eg, 8 bits) image signals Y2, M2, C
2 and K2 are output in a frame-sequential manner.

【0047】主走査方向変倍回路110は、公知の補間
演算により画像信号Y2,M2,C2,K2及び黒文字
判定信号FILTER,SENを主走査方向に変倍処理
し、画像信号Y3,M2,C2,K2及び黒文字判定信
号FILTER’,SEN’とする。
The main scanning direction scaling circuit 110 scales the image signals Y2, M2, C2, K2 and the black character determination signals FILTER, SEN in the main scanning direction by a known interpolation operation, and outputs the image signals Y3, M2, C2. , K2 and black character determination signals FILTER ', SEN'.

【0048】出力フィルタ(空間フィルタ)部111
は、エッジ強調処理/スムージング処理の選択を指示す
る黒文字判定信号FILTER’に基づいて、エッジ強
調またはスムージング処理を選択し、選択した処理を画
像信号Y3,M3,C3,K3に対して施し、画像信号
Y4,M4,C4,K4として出力する。
Output filter (spatial filter) unit 111
Selects edge enhancement or smoothing processing based on a black character determination signal FILTER 'instructing selection of edge enhancement processing / smoothing processing, performs the selected processing on the image signals Y3, M3, C3, and K3, The signals are output as signals Y4, M4, C4, and K4.

【0049】このようにして生成されたM4,C4,Y
4,K4の面順次の画像信号と、200線/400線の
選択を指示する黒文字判定信号SEN’は、プリンタ部
200のレーザドライバ212に送られ、プリンタ部2
00においてPWMによって濃度を表現した出力画像が
形成される。
The M4, C4, Y thus generated
4 and K4, and a black character determination signal SEN 'for instructing selection of 200 lines / 400 lines are sent to the laser driver 212 of the printer unit 200,
At 00, an output image expressing the density by PWM is formed.

【0050】次に黒文字判定部113の動作を説明す
る。この黒文字判定部113では、画像信号切り替え部
1064から出力された画像信号R40,G40,B4
0に基づいて、黒文字判定信号UCR,FILTER,
SENを生成する。
Next, the operation of the black character determination section 113 will be described. In the black character determination section 113, the image signals R40, G40, B4 output from the image signal switching section 1064 are output.
0, the black character determination signals UCR, FILTER,
Generate SEN.

【0051】[エッジ検出部の説明]画像信号切り替え
部1064から出力された画像信号R40,G40,B
40は、黒文字判定部113のエッジ検出部115の
R,G,B端子に入力され、ここで画像中のエッジが検
出される。図3は、エッジ検出部113の構成例を示す
ブロック図である。
[Explanation of Edge Detector] Image signals R40, G40, B output from image signal switcher 1064
40 is input to the R, G, and B terminals of the edge detection unit 115 of the black character determination unit 113, where edges in the image are detected. FIG. 3 is a block diagram illustrating a configuration example of the edge detection unit 113.

【0052】輝度算出回路250は、画像信号R(R4
0),G(G40),B(B40)に基づいて、例え
ば、式(1)により輝度を算出する。
The luminance calculation circuit 250 outputs the image signal R (R4
0), G (G40), and B (B40), for example, the luminance is calculated by Expression (1).

【0053】 Y=0.25R+0.5G+0.25B ・・・(1) 図4は、輝度算出回路250の詳細な構成例を示すブロ
ック図である。輝度算出回路250は、入力信号R,
G,Bに対して夫々乗算器401〜403で所定の係数
を乗じた結果を、加算器404と405で加算して、輝
度信号Yを得る。
Y = 0.25R + 0.5G + 0.25B (1) FIG. 4 is a block diagram showing a detailed configuration example of the luminance calculation circuit 250. The luminance calculation circuit 250 receives the input signals R,
The results obtained by multiplying G and B by predetermined coefficients by multipliers 401 to 403 are added by adders 404 and 405 to obtain a luminance signal Y.

【0054】エッジmin方向検出回路251は、入力さ
れた輝度信号Yからエッジ量の絶対値が最小の値をとる
方向(以下「エッジmin方向」という)を求める。
The edge min direction detecting circuit 251 determines a direction in which the absolute value of the edge amount takes the minimum value (hereinafter referred to as “edge min direction”) from the input luminance signal Y.

【0055】図5は、エッジmin方向検出回路251の
機能を説明するための図である。エッジmin方向検出回
路251は、入力された輝度信号YをFIFO501と
502によって1ラインずつ遅延させて、3×3画素の
周知のラプラシアンフィルタ処理を施す。ラプラシアン
フィルタ503〜506は、それぞれ、図示のような縦
方向,対角線方向,横方向,対角線方向のフィルタであ
る。エッジmin方向検出回路251は、この4方向のフ
ィルタの出力値であるエッジ量の絶対値が最小の値をと
る方向を求め、その方向をエッジmin方向とする。
FIG. 5 is a diagram for explaining the function of the edge min direction detection circuit 251. The edge min direction detection circuit 251 delays the input luminance signal Y one line at a time by FIFOs 501 and 502 and performs a well-known Laplacian filter process of 3 × 3 pixels. The Laplacian filters 503 to 506 are filters in the vertical direction, diagonal direction, horizontal direction, and diagonal direction, respectively, as illustrated. The edge min direction detection circuit 251 finds the direction in which the absolute value of the edge amount, which is the output value of the filter in the four directions, takes the minimum value, and sets the direction as the edge min direction.

【0056】エッジmin方向スムージング回路252
は、得られたエッジmin方向に対してスムージング処理
を施す。この処理により、エッジ成分の最も大きい方向
のみを保存し、その他の方向を平滑化することができ
る。すなわち、複数の方向に対してエッジ成分が大きい
網点成分は、エッジ成分が平滑化されるので、その特徴
は減少する。他方、一方向にのみエッジ成分が存在する
文字や細線の特徴は保存されることになる。必要に応じ
てこの処理を繰返すことで、文字・線成分と網点成分の
分離がより一層効果的に行われ、一般的なエッジ検出法
では検知できない網点中に存在する文字成分も検知する
ことが可能になる。
Edge min direction smoothing circuit 252
Performs smoothing processing on the obtained edge min direction. By this processing, only the direction having the largest edge component can be stored, and the other directions can be smoothed. That is, the feature of the halftone dot component having a large edge component in a plurality of directions is reduced because the edge component is smoothed. On the other hand, features of characters and thin lines having edge components in only one direction are preserved. By repeating this processing as necessary, the separation of the character / line component and the halftone dot component is performed more effectively, and the character component existing in the halftone dot that cannot be detected by the general edge detection method is also detected. It becomes possible.

【0057】エッジ検出回路253では、輝度算出回路
250から直接入力された輝度信号Yに係る画像に関し
ては、所定の閾値th_edge1以下の画素の画素値
を”0”とし、閾値th_edge1を越える画素の画
素値を”1”としてエッジ検出画像を生成する。また、
エッジmin方向スムージング回路252を通過した信号
に係る画像に関しては、上記のようなラプラシアンフィ
ルタ処理を施して、所定の閾値th_edge2以下の
画素の画素値を”0”とし、閾値th_edge2を越
える画素の画素値を”1”としてエッジ検出画像を生成
する。このように、2種類の性質を持った画像を用意
し、白地中の文字に関してはエッジmin方向スムージン
グ部252を通過しない画像を用いることにより、より
細かい文字の細部についてもエッジを検出することが可
能になり、逆に網点中の文字に対しては、エッジmin
方向スムージング部252を通過した画像を用いてエッ
ジ検出を行うことにより、網点成分を検出せずに、文字
や線のみを検出することができる。
In the edge detection circuit 253, for an image relating to the luminance signal Y directly input from the luminance calculation circuit 250, the pixel value of a pixel equal to or less than a predetermined threshold th_edge1 is set to “0”, and the pixel value of the pixel exceeding the threshold th_edge1 is set. An edge detection image is generated by setting the value to “1”. Also,
The image related to the signal that has passed through the edge min direction smoothing circuit 252 is subjected to the above-described Laplacian filter processing to set the pixel value of a pixel equal to or smaller than a predetermined threshold th_edge2 to “0”, and the pixel of the pixel exceeding the threshold th_edge2 An edge detection image is generated by setting the value to “1”. Thus, by preparing an image having two kinds of properties and using an image that does not pass through the edge min direction smoothing unit 252 for characters on a white background, it is possible to detect edges even for finer character details. On the contrary, for a character in a halftone dot, the edge min
By performing edge detection using an image that has passed through the direction smoothing unit 252, only characters and lines can be detected without detecting halftone components.

【0058】図6は、画像中のエッジの検出処理の一例
を示す図である。(a)は輝度データYに係る画像の一
例、(b)はエッジ検出画像の一例である。
FIG. 6 is a diagram showing an example of processing for detecting an edge in an image. (A) is an example of an image relating to luminance data Y, and (b) is an example of an edge detection image.

【0059】エッジ検出部253では、さらに、閾値t
h_edge1による検出結果(エッジ検出画像)を7
×7,5×5,3×3のブロックサイズで膨張した結
果、膨張しない結果、エッジを検出しないことを示す結
果と、閾値th_edge2による検出結果を7つのコ
ードで表わした3ビットの信号EDGEを出力する。こ
こで、信号の膨張とは、ブロック内の全画素値をOR演
算することをいう。
The edge detector 253 further includes a threshold value t
The detection result (edge detection image) by h_edge1 is 7
As a result of expansion using a block size of × 7, 5 × 5, 3 × 3, a result indicating that no edge is detected, a result indicating that no edge is detected, and a three-bit signal EDGE representing the detection result using the threshold th_edge2 in seven codes, Output. Here, the expansion of the signal refers to performing an OR operation on all pixel values in the block.

【0060】[彩度判定部の説明]図7は、彩度判定部
116の詳細な構成例を示すブロック図である。彩度判
定部116では、画像信号切り替え部1064から出力
された画像信号R40,G40,B40は、最大値検出
部601及び最小値検出部602のR,G,B端子に入
力され、最大値Max(R,G,B)と最小値Min
(R,G,B)が抽出される。
[Description of Saturation Determining Unit] FIG. 7 is a block diagram showing a detailed configuration example of the saturation determining unit 116. In the saturation determination unit 116, the image signals R40, G40, and B40 output from the image signal switching unit 1064 are input to the R, G, and B terminals of the maximum value detection unit 601 and the minimum value detection unit 602, and the maximum value Max is output. (R, G, B) and minimum value Min
(R, G, B) is extracted.

【0061】図8は、LUT(ルックアップテーブル)
603における彩度判定用のルックアップテーブルの特
性を示す図である。LUT603は、最大値Max
(R,G,B)と最小値Min(R,G,B)が、領域
BK(黒)、領域GRY(色と黒との中間)、領域CO
L(色)、領域W(白)のいずれの領域に属するかを判
定し、その結果を2ビットの判定信号COLとして出力
する。
FIG. 8 shows an LUT (lookup table).
FIG. 603 is a diagram illustrating characteristics of a saturation determination look-up table in 603. The LUT 603 has a maximum value Max
(R, G, B) and the minimum value Min (R, G, B) are the area BK (black), the area GRY (intermediate between color and black), the area CO
It is determined which of L (color) and area W (white) it belongs to, and the result is output as a 2-bit determination signal COL.

【0062】[文字太さ判定部の説明]図9は、文字太
さ判定部114の詳細な構成例を示すブロック図であ
る。画像信号切り替え部1064から出力された画像信
号R40,G40,B40は、最小値検出部2011の
R,G,B端子に入力される。
[Description of Character Thickness Determination Unit] FIG. 9 is a block diagram showing a detailed configuration example of the character thickness determination unit 114. The image signals R40, G40, and B40 output from the image signal switching unit 1064 are input to the R, G, and B terminals of the minimum value detection unit 2011.

【0063】最小値検出部2011は、画像信号R(R
40),G(G40),B(G40)の最小値Min
(R,G,B)を検出してMINRGB信号として出力
する。そして、平均値検出部2022は、注目画素及び
その近傍の5×5画素のMINRGB信号の平均値AV
E5と、3×3画素のMINRGB信号の平均値AVE
3とを算出する。
The minimum value detection unit 2011 outputs the image signal R (R
40), the minimum value Min of G (G40) and B (G40)
(R, G, B) is detected and output as a MINRGB signal. Then, the average value detection unit 2022 calculates the average value AV of the MINRGB signals of the target pixel and 5 × 5 pixels in the vicinity thereof.
E5 and average value AVE of MINRGB signals of 3 × 3 pixels
3 is calculated.

【0064】文字・線画・中間調検出部2023は、注
目画素の濃度と、注目画素からその周辺に向かっての濃
度変化に基づいて、注目画素が文字・線画または中間調
領域の一部であるか否かを判定する。
The character / line image / halftone detecting unit 2023 determines that the pixel of interest is a character / line image or a part of the halftone area based on the density of the pixel of interest and the density change from the pixel of interest toward its periphery. It is determined whether or not.

【0065】図10は、文字・線画・中間調検出回路2
023の詳細な構成例を示すブロック図である。文字・
線画・中間調検出回路2023では、加算器2030で
AVE3に適当なオフセット値OFST1を加え、その
値とAVE5とをコンパレータ20310で比較する。
また、コンパレータ2032では、加算器2030から
の出力と、適当なリミット値LIM1とを比較する。そ
して、それぞれのコンパレータからの出力値が、OR回
路2033に入力される。
FIG. 10 shows a character / line drawing / halftone detection circuit 2
FIG. 23 is a block diagram showing a detailed configuration example of No. 023. letter·
In the line drawing / halftone detection circuit 2023, an appropriate offset value OFST1 is added to AVE3 by the adder 2030, and the value is compared with AVE5 by the comparator 20310.
The comparator 2032 compares the output from the adder 2030 with an appropriate limit value LIM1. Then, output values from the respective comparators are input to the OR circuit 2033.

【0066】OR回路2033の出力信号BINGRA
は、 AVE3+OFST1>AVE5 または、 AVE3+OFST1>LIM1 の時に“1”になる。つまり、この文字・中間調検出回
路2023によって、注目画素を含む局部領域(3×3
画素の領域)からその周辺(5×5画素の領域)に向か
って濃度変化が存在する場合(文字・線画のエッジ
部)、または、注目画素を含む局部領域(3×3画素の
領域)が、所定値以上の濃度を持っている場合(文字・
線画の内部及び中間調部)に、文字・線画・中間調領域
であることを示す信号BINGRAが“1”になる。
Output signal BINGRA of OR circuit 2033
Becomes "1" when AVE3 + OFST1> AVE5 or AVE3 + OFST1> LIM1. That is, the character / halftone detection circuit 2023 uses the local area (3 × 3
When there is a density change from the pixel area) to the periphery (5 × 5 pixel area) (the edge portion of the character / line image) or a local area (3 × 3 pixel area) including the pixel of interest , If the density is higher than the specified value
The signal BINGRA indicating that it is a character / line drawing / halftone area becomes "1" in the line drawing and in the halftone portion.

【0067】図11は、網点領域検出部2024の詳細
な構成例を示す図である。網点領域検出部2024で
は、網点領域を検出するため、最小値検出回路2021
により生成された信号MINRGBの値に、加算器20
41により適当なオフセット値OFST2を加え、その
結果をコンパレータ2041においてAVE5と比較す
る。また、コンパレータ2042では、加算器2040
からの出力と適当なリミット値LIM2とを比較する。
各コンパレータからの出力値は、OR回路2043に入
力される。
FIG. 11 is a diagram showing a detailed configuration example of the dot area detection unit 2024. In the halftone dot area detection unit 2024, the minimum value detection circuit 2021
Is added to the value of the signal MINRGB generated by
41, an appropriate offset value OFST2 is added, and the result is compared with AVE5 in the comparator 2041. In the comparator 2042, the adder 2040
Is compared with an appropriate limit value LIM2.
The output value from each comparator is input to the OR circuit 2043.

【0068】OR回路2043の出力信号BINAMI
は、 MINRGB+OFST2>AVE5 または MINRGB+OFST2>LIM2 の時に”1”になる。、このBINAMI信号を用い
て、エッジ方向検出回路2044により画素毎のエッジ
の方向が求められる。
Output signal BINAMI of OR circuit 2043
Becomes “1” when MINRGB + OFST2> AVE5 or MINRGB + OFST2> LIM2. Using the BINAMI signal, the edge direction detection circuit 2044 obtains the edge direction of each pixel.

【0069】図12は、エッジ方向検出回路2044に
おけるエッジ方向検出の規則を示す図である。なお、同
図において、注目画素は、3×3画素群の中心の画素で
ある。エッジ方向検出回路2044は、注目画素近傍の
8画素の画素値が、図12に示す(0)〜(3)のいず
れかの条件を満たす場合に、4ビットのエッジ方向信号
DIRAMIのビット0〜3のうち該当するビットを”
1”にする。
FIG. 12 is a diagram showing rules for detecting the edge direction in the edge direction detection circuit 2044. It should be noted that the pixel of interest is the pixel at the center of the 3 × 3 pixel group in FIG. When the pixel values of the eight pixels near the target pixel satisfy any of the conditions (0) to (3) shown in FIG. 12, the edge direction detection circuit 2044 sets bits 0 to 0 of the 4-bit edge direction signal DIRAMI. 3
1 ".

【0070】次段の対向エッジ検出回路2045におい
ては、注目画素を中心とする5×5画素の領域内で互い
に対向するエッジを検出する。図13は、注目画素のD
IRAMI信号をA33とした5×5画素領域を示す図
である。
The opposing edge detection circuit 2045 at the next stage detects opposing edges in a 5 × 5 pixel area centered on the target pixel. FIG. 13 shows the D of the target pixel.
FIG. 4 is a diagram illustrating a 5 × 5 pixel area in which an IRAMI signal is A33.

【0071】ここでは、対向エッジ検出の規則として、
下記の(条件1)〜(条件4)のいずれかを満たす場合
に、対向エッジを検出したものとする規則を採用してい
る。対向エッジ検出回路2045は、対向エッジを検出
した場合、EAAMI信号を”1”にする。 (条件1):A11,A21,A31,A41,A5
1,A22,A32,A42,A33のいずれかのビッ
ト0が“1”、かつ、A33,A24,A34,A4
4,A15,A25,A35,A45,A55のいずれ
かのビット1が“1”である。 (条件2):A11,A21,A31,A41,A5
1,A22,A32,A42,A33のいずれかのビッ
ト1が“1”、かつ、A33,A24,A34,A4
4,A15,A25,A35,A45,A55のいずれ
かのビット0が“1”である。 (条件3):A11,A12,A13,A14,A1
5,A22,A23,A24,A33のいずれかのビッ
ト2が“1”、かつ、A33,A42,A43,A4
4,A51,A52,A53,A54,A55のいずれ
かのビット3が“1”である。 (条件4):A11,A12,A13,A14,A1
5,A22,A23,A24,A33のいずれかのビッ
ト3が“1”、かつ、A33,A42,A43,A4
4,A51,A52,A53,A54,A55のいずれ
かのビット2が“1”である。
Here, as a rule for detecting the opposing edge,
When any of the following (Condition 1) to (Condition 4) is satisfied, a rule is adopted that detects an opposite edge. When detecting the opposite edge, the opposite edge detection circuit 2045 sets the EAAMI signal to “1”. (Condition 1): A11, A21, A31, A41, A5
Bit 0 of any one of A1, A22, A32, A42 and A33 is "1" and A33, A24, A34 and A4
Bit 1 of any one of 4, A15, A25, A35, A45, and A55 is “1”. (Condition 2): A11, A21, A31, A41, A5
1, A22, A32, A42, A33 has bit 1 set to “1” and A33, A24, A34, A4
Bit 0 of any one of A4, A15, A25, A35, A45, and A55 is “1”. (Condition 3): A11, A12, A13, A14, A1
5, A22, A23, A24, or A33 has bit 1 set to “1” and A33, A42, A43, A4
Bit 3 of any one of A4, A51, A52, A53, A54, and A55 is “1”. (Condition 4): A11, A12, A13, A14, A1
Bit 3 of any one of A5, A22, A23, A24, and A33 is “1” and A33, A42, A43, and A4
4, any one of bit 2 of A51, A52, A53, A54, and A55 is “1”.

【0072】膨張回路2046では、EAAMI信号に
対して3画素×4画素の膨張を行い、これにより注目画
素近傍の3×4画素の領域内にEAAMIが“1”の画
素があれば、注目画素のEAAMI信号を“1”に置き
換える。
The expansion circuit 2046 expands the EAAMI signal by 3 pixels × 4 pixels, and if there is a pixel whose EAAMI is “1” in the 3 × 4 pixel area near the target pixel, EAAMI signal is replaced with “1”.

【0073】さらに、収縮回路2047と膨張回路20
48を用いて5×5画素の領域における孤立した検出結
果を除去し、出力信号EBAMIを得る。ここで、収縮
回路2047は、入力されたすべての信号が“1”の時
にのみ“1”を出力する回路である。
Further, the contraction circuit 2047 and the expansion circuit 20
Using 48, an isolated detection result in a 5 × 5 pixel area is removed to obtain an output signal EBAMI. Here, the contraction circuit 2047 is a circuit that outputs “1” only when all the input signals are “1”.

【0074】次に、カウンタ2049では、適当な大き
さを持つウィンドウ内において、膨張回路2048の出
力信号EBAMIが“1”である画素の個数をカウント
し、カウント値を出力する。ここでは注目画素を含む5
×64画素のウインドウを採用している。
Next, the counter 2049 counts the number of pixels for which the output signal EBAMI of the expansion circuit 2048 is "1" in a window having an appropriate size, and outputs a count value. Here, 5 including the pixel of interest
A x64 pixel window is employed.

【0075】図14は、このウインドウの一例を示す図
である。図14において、ウィンドウ内のサンプル点
は、主走査方向に4画素おきに9点、副走査方向に5ラ
イン分の合計45点ある。1つの注目画素に対して、ウ
ィンドウが主走査方向に移動することにより、図14の
(1)〜(9)の9つのウインドウが用意されたことに
なる。すなわち、注目画素を中心として5×64画素の
領域を参照したことになる。
FIG. 14 is a diagram showing an example of this window. In FIG. 14, there are nine sample points in the window in every four pixels in the main scanning direction and a total of 45 points for five lines in the sub-scanning direction. By moving the windows in the main scanning direction for one target pixel, nine windows (1) to (9) in FIG. 14 are prepared. In other words, this means that a region of 5 × 64 pixels centered on the target pixel.

【0076】コンパレータ2050は、カウンタ204
9が夫々のウィンドウ内においてEBAMI信号が”
1”の個数をカウントし、EBAMIが“1”となる個
数が適当な閾値LIM3を越えた場合に、網点であるこ
とを示す網点領域検出信号AMIを”1”にする。
The comparator 2050 includes a counter 204
9 indicates that the EBAMI signal is "" in each window.
The number of "1" is counted, and when the number at which EBAMI becomes "1" exceeds an appropriate threshold value LIM3, a halftone dot area detection signal AMI indicating a halftone dot is set to "1".

【0077】この網点領域検出回路2014により、文
字・線画・中間調検出部2013において孤立点(孤立
した白画素)の集合として検出される網点画像を、網点
領域として適切に検出することができる。文字・線画・
中間調領域を検出したことを示す信号BINGRAと網
点領域信号AMIは、OR回路2025おいてOR演算
され、結果として入力画像を2値化した2値化信号PI
CT_ISOが生成される。より詳しくは、2値化信号
PICT_ISOは、文字・線画・中間調領域及び網点
領域を検出しその画素値を”1”とし、それ以外の画素
を”0”とした2値の画像信号である。
The halftone dot image detected as a set of isolated points (isolated white pixels) by the character / line drawing / halftone detection unit 2013 by the halftone dot area detection circuit 2014 is appropriately detected as a halftone dot area. Can be. Characters, line drawings,
A signal BINGRA indicating that a halftone area has been detected and a halftone area signal AMI are subjected to an OR operation in an OR circuit 2025, and as a result, a binary signal PI obtained by binarizing the input image
CT_ISO is generated. More specifically, the binarized signal PICT_ISO is a binary image signal in which a character, a line drawing, a halftone area, and a halftone area are detected and the pixel value is set to “1”, and the other pixels are set to “0”. is there.

【0078】しかしながら、この2値化信号PICT_
ISOは、網点または中間調領域内に文字または線画領
域が存在する場合、換言すると、文字または線画領域と
網点または中間調領域が接している場合において、その
境界部分を画像領域(文字、線画、中間調または網点領
域)として、文字・線画・中間調検出部2013または
網点領域検出部2014により検出可能な場合と、不可
能な場合が混在する。
However, this binarized signal PICT_
When a character or a line drawing area exists in a halftone dot or a halftone area, in other words, when a character or a line drawing area and a halftone dot or a halftone area are in contact with each other, the boundary portion is defined as an image area (character, As a line drawing, a halftone or a halftone dot area), a case where it can be detected by the character / line drawing / halftone detection unit 2013 or the halftone dot region detection unit 2014 and a case where it cannot be detected are mixed.

【0079】その結果、2値化信号PICT_ISOに
は、部分的に文字・線画・中間調領域または網点領域と
しての検出に失敗した領域が点在することになる。
As a result, the binarized signal PICT_ISO is partially dotted with an area that has failed to be detected as a character, line drawing, halftone area or halftone area.

【0080】そこで、この検出に失敗した画像領域(非
検出領域)を検出することが必要になる。再検出部20
27は、非検出領域を検出して、これにより2値化信号
PICT_ISOを修正し、適正な2値化信号PICT
(文字・線画・中間調領域及び網点領域を示す信号)を
生成する。
Therefore, it is necessary to detect an image area (non-detection area) in which the detection has failed. Redetection unit 20
27 detects a non-detection area, corrects the binarized signal PICT_ISO by this, and corrects the binarized signal PICT_ISO.
(Signals indicating a character, a line drawing, a halftone area, and a halftone dot area).

【0081】図15は、再検出部2027の詳細な構成
例を示す図である。2値化信号PICT_ISOの注目
画素が“1”(黒)の時は、注目画素は既に検出されて
いるから、注目画素におけるPICT信号は、PICT
_ISO信号と同じ“1”とする。一方、2値化信号P
ICT_ISOの注目画素が“0”(白)の時は、注目
画素は非検出領域に属する可能性があるから、この注目
画素が文字・線画・中間調領域または網点領域として検
出すべき領域に属するか否かを判定する。
FIG. 15 is a diagram showing a detailed configuration example of the redetection section 2027. When the target pixel of the binarized signal PICT_ISO is “1” (black), the target pixel has already been detected.
It is set to “1” which is the same as the _ISO signal. On the other hand, the binary signal P
When the pixel of interest in ICT_ISO is “0” (white), the pixel of interest may belong to a non-detection area. Therefore, this pixel of interest is located in an area to be detected as a character / line drawing / halftone area or halftone area. It is determined whether it belongs.

【0082】この判定は、画素値が”0”の画素(白画
素)の分布に基づいて行う。この実施の形態において
は、孤立度(白画素が孤立している度合)を検査し、孤
立度が大きければ非検出領域(検出すべき領域)である
と判定する。具体的には、画素値が”0”の注目画素
に、画素値が”0”の画素が連なっている個数(白連結
数)を検査し、白連結数が小さければ孤立度が大きいも
のと看做して、注目画素が非検出領域に属するものと判
定(2値化信号PICTを”1”とする)し、一方、白
連結数が大きければ孤立度が小さいものと看做して、注
目画素が非検出領域に属しないものと判定する(2値化
信号PICTを”0”とする)。
This determination is made based on the distribution of pixels (white pixels) having a pixel value of “0”. In this embodiment, the degree of isolation (the degree to which white pixels are isolated) is checked, and if the degree of isolation is large, it is determined that the area is a non-detection area (area to be detected). Specifically, the number of white pixels connected to the pixel of interest having a pixel value of “0” (the number of white links) is checked. If the number of white links is small, the degree of isolation is high. It is determined that the pixel of interest belongs to the non-detection area (the binarized signal PICT is set to “1”). It is determined that the target pixel does not belong to the non-detection area (the binary signal PICT is set to “0”).

【0083】白連結数の検査の規則としては、種々の規
則が適用可能である。この再検出部2027では、注目
画素の周囲の検査対象画素(例えば、周囲の8画素、上
下左右の4画素)が、夫々白画素であるか否かを判定
し、検査対象画素が白画素であったら、さらに、当該白
画素を中心とし、その周囲の検査対象画素に関して同様
の処理を行ない、この処理を連鎖的に繰り返して得られ
る白画素の個数を白連結数としている。
Various rules can be applied as the rules for checking the number of white links. The re-detection unit 2027 determines whether or not the pixels to be inspected around the target pixel (for example, eight surrounding pixels and four pixels at the top, bottom, left, and right) are white pixels. If there is, the same processing is further performed on the inspection pixel around the white pixel, and the number of white pixels obtained by repeating this processing in a chain is the white connection number.

【0084】以下、再検出部2027における白連結数
の検査処理の方法を説明する。
Hereinafter, a description will be given of a method of inspecting the number of white links in the re-detecting section 2027.

【0085】白連結数検出部2091は、2値化信号P
ICT_ISOに基づいて白連結数を検出する。白連結
数検出部2091は、CPU102から供給されるフラ
グ信号con_flgに基づいて、検査対象画素のパタ
ーンを選択する。図16は、フラグ信号con_flg
に基づいて選択される検査対象画素のパターンの例を示
す図である。
The white connection number detecting section 2091 outputs the binarized signal P
The number of white links is detected based on ICT_ISO. The white connection number detection unit 2091 selects the pattern of the inspection target pixel based on the flag signal con_flg supplied from the CPU 102. FIG. 16 shows the flag signal con_flg.
FIG. 6 is a diagram showing an example of a pattern of inspection target pixels selected based on the pattern.

【0086】図16(a)は、中心画素3002の上下
左右の4画素を検査対象画素とするパターンであり、図
16(b)は、中心画素3003の周囲の8画素を検査
対象画素とするパターンである。
FIG. 16A shows a pattern in which four pixels at the top, bottom, left and right of the center pixel 3002 are to be inspected, and FIG. 16B shows eight pixels around the center pixel 3003 to be inspected pixels. It is a pattern.

【0087】先ず、図16(a)に示すパターンを使用
した場合の白連結数検出部2091の動作例を図17を
参照しながら説明する。図17は、2値化信号PICT
_ISOに係る2値画像の一例を示す図である。ここで
は、〜が白画素、その他の画素が黒画素、が注目
画素とする。
First, an example of the operation of the white connection number detection unit 2091 when the pattern shown in FIG. 16A is used will be described with reference to FIG. FIG. 17 shows the binarized signal PICT.
FIG. 3 is a diagram illustrating an example of a binary image related to _ISO. Here, it is assumed that is a white pixel and the other pixels are black pixels, and the target pixel is.

【0088】先ず、図16(a)に示すパターンの中心
画素3002を注目画素に一致させ、検査対象画素3
001に対応する画素が白画素であるか否かを判定す
る。この場合、画素、、が白画素である。
First, the central pixel 3002 of the pattern shown in FIG.
It is determined whether the pixel corresponding to 001 is a white pixel. In this case, pixels are white pixels.

【0089】次に、前工程で白画素であると判定した画
素、、に図16(a)に示すパターンの中心画素
3002を順次一致させ、検査対象画素3001に対応
する画素が白画素であるか否かを判定する。この場合、
画素及びが新たに発見される白画素である。
Next, the center pixel 3002 of the pattern shown in FIG. 16A is sequentially matched with the pixel determined to be a white pixel in the previous process, and the pixel corresponding to the inspection target pixel 3001 is a white pixel. It is determined whether or not. in this case,
Pixels and are newly discovered white pixels.

【0090】次に、前工程で白画素であると判定した画
素及びに図16(a)に示すパターンの中心画素3
002を順次一致させ、検査対象画素3001に対応す
る画素が白画素であるか否かを判定する。この場合、画
素が新たに発見される白画素である。
Next, the center pixel 3 of the pattern shown in FIG.
002 are sequentially matched, and it is determined whether or not the pixel corresponding to the inspection target pixel 3001 is a white pixel. In this case, the pixel is a newly discovered white pixel.

【0091】次に、前工程で白画素であると判定した画
素に図16(a)に示すパターンの中心画素3002
を順次一致させ、検査対象画素3001に対応する画素
が白画素であるか否かを判定する。この場合、新たに発
見される白画素は存在しない。したがって、白連結数の
検出処理を終了する。
Next, the center pixel 3002 of the pattern shown in FIG.
Are sequentially matched, and it is determined whether or not the pixel corresponding to the inspection target pixel 3001 is a white pixel. In this case, there is no newly discovered white pixel. Therefore, the process of detecting the number of connected whites ends.

【0092】この処理により、注目画素に連結する白
画素は、画素、、、、、の6画素であるこ
とが検出される。したがって、白画素の連結数は7であ
り、この連結数が連結数信号CONTとして次段のコン
パレータ2092に入力される。
By this processing, it is detected that the white pixels connected to the target pixel are six pixels of pixel,. Therefore, the number of connected white pixels is 7, and this connected number is input to the next-stage comparator 2092 as a connected number signal CONT.

【0093】次に、図16(b)に示すパターンを使用
した場合を一例として、白連結数検出部2091の動作
例を図17を参照しながら説明する。
Next, an example of the operation of the white connection number detection unit 2091 will be described with reference to FIG. 17, using the pattern shown in FIG. 16B as an example.

【0094】先ず、図16(b)に示すパターンの中心
画素3002を注目画素に一致させ、検査対象画素3
001に対応する画素が白画素であるか否かを判定す
る。この場合、画素、、、、が白画素であ
る。
First, the central pixel 3002 of the pattern shown in FIG.
It is determined whether the pixel corresponding to 001 is a white pixel. In this case, pixels are white pixels.

【0095】次に、前工程で白画素であると判定した画
素、、、、に図16(b)に示すパターンの
中心画素3002を順次一致させ、検査対象画素300
1に対応する画素が白画素であるか否かを判定する。こ
の場合、画素及びが新たに発見される白画素であ
る。
Next, the central pixel 3002 of the pattern shown in FIG. 16B is sequentially matched with the pixel determined to be a white pixel in the previous process.
It is determined whether the pixel corresponding to 1 is a white pixel. In this case, pixel and are newly discovered white pixels.

【0096】次に、前工程で白画素であると判定した画
素及びに図16(b)に示すパターンの中心画素3
002を順次一致させ、検査対象画素3001に対応す
る画素が白画素であるか否かを判定する。この場合、新
たに発見される白画素は存在しない。したがって、白連
結数を検出する処理を終了する。
Next, the center pixel 3 of the pattern shown in FIG.
002 are sequentially matched, and it is determined whether or not the pixel corresponding to the inspection target pixel 3001 is a white pixel. In this case, there is no newly discovered white pixel. Therefore, the processing for detecting the number of white links is terminated.

【0097】この処理により、注目画素に連結する白
画素は、画素〜の8画素であることが検出される。
したがって、白画素の連結数は9であり、この連結数が
連結数信号CONTとして次段のコンパレータ2092
に入力される。
By this processing, it is detected that the white pixels connected to the target pixel are the eight pixels from pixel to.
Therefore, the number of connected white pixels is nine, and this connected number is used as the connected number signal CONT in the comparator 2092 in the next stage.
Is input to

【0098】図18は、白連結数の検査処理の手順を示
すフローチャートである。図19は、図18に示す手順
を実行するための回路構成を示す図である。CPU19
10は、図18のフローチャートに係る手順をコード化
したプログラム1921に基づいて動作し、白連結数の
検査処理を実行する。
FIG. 18 is a flowchart showing the procedure of the inspection process of the number of white links. FIG. 19 is a diagram showing a circuit configuration for executing the procedure shown in FIG. CPU19
10 operates based on the program 1921 which codes the procedure according to the flowchart of FIG. 18, and performs the white connection number inspection process.

【0099】2値化信号PICT_ISOに係る画像が
画像メモリ1901上に準備されると、ステップS18
01において、CPU1910は、フラグ信号con_
flgにより指定された検査対象画素のパターンを適用
し、注目画素の周囲の各検査対象画素が白画素であるか
否かを判定し、ステップS1802において、白画素で
あると判定された画素をマッピングメモリ1902にマ
ッピングする。
When an image related to the binarized signal PICT_ISO is prepared in the image memory 1901, step S18 is performed.
01, the CPU 1910 outputs the flag signal con_
The pattern of the inspection target pixel designated by flg is applied, and it is determined whether each inspection target pixel around the target pixel is a white pixel. In step S1802, the pixel determined to be a white pixel is mapped. Mapping to memory 1902.

【0100】ステップS1803では、ステップS18
02においてマッピングメモリ1902にマッピングさ
れた白画素を中心画素3002として、画像メモリ19
01において中心画素3002の周囲に位置する検査対
象画素3001が白画素であるか否かを判定し、ステッ
プS1804において、白画素であると判定された画素
をマッピングメモリ1902にマッピングする。
In step S1803, step S18
02, the white pixel mapped to the mapping memory 1902 is set as the central pixel 3002, and the image memory 19
In step S 01, it is determined whether the inspection target pixel 3001 located around the center pixel 3002 is a white pixel. In step S 1804, the pixel determined to be a white pixel is mapped to the mapping memory 1902.

【0101】ステップS1805では、ステップS18
03において白画素を発見したか否かを判定し、白画素
を発見している場合にはステップS1803に戻り、白
画素を発見していない場合にはステップS1806に進
む。
In step S1805, step S18
In step 03, it is determined whether a white pixel has been found. If a white pixel has been found, the process returns to step S1803. If a white pixel has not been found, the process proceeds to step S1806.

【0102】ステップS1806では、マッピングメモ
リ1902にマッピングされた白画素の個数をカウント
し、これにより白画素の連結数を求め、該連結数を出力
ポート1930に書き込むことにより、白連結数を示す
白連結数信号CONTをコンパレータ2092に対して
出力する。
In step S1806, the number of white pixels mapped in the mapping memory 1902 is counted, and the number of connected white pixels is obtained, and the number of connected white pixels is written to the output port 1930. The connection number signal CONT is output to the comparator 2092.

【0103】コンパレータ2092は、白連結数信号C
ONTは示す白連結数と、CPU102から供給される
閾値信号con_thとを比較し、その結果として比較
結果信号COMPを出力する。閾値信号con_th
は、CPU102により適宜変更可能である。
The comparator 2092 outputs the white connection number signal C
The ONT compares the indicated white connection number with a threshold signal con_th supplied from the CPU 102, and outputs a comparison result signal COMP as a result. Threshold signal con_th
Can be appropriately changed by the CPU 102.

【0104】白連結数信号CONTが、閾値信号con
_flgよりも小さい場合、換言すると、白画素の孤立
度が所定値よりも高い場合、コンパレータ2092は、
非検出領域(検出すべき領域)を検出したことを示す”
1”を出力する。一方、白連結数信号CONTが、閾値
信号con_flg以上の値を有する場合、換言する
と、白画素の孤立度が所定値以下の場合、コンパレータ
2092は、当該注目画素が非検出領域(検出すべき領
域)ではないことを示す”0”を出力する。
The white connection number signal CONT is equal to the threshold signal con.
_Flg, in other words, when the degree of isolation of the white pixel is higher than a predetermined value, the comparator 2092
Indicates that a non-detection area (area to be detected) was detected. "
On the other hand, if the white connection number signal CONT has a value equal to or greater than the threshold signal con_flg, in other words, if the degree of isolation of the white pixel is equal to or less than a predetermined value, the comparator 2092 determines that the target pixel is not detected. "0" indicating that the area is not an area (area to be detected) is output.

【0105】例えば、フラグ信号con_flgが、検
査対象画素のパターンとして、図16(a)に示すパタ
ーンを指定しており、図17に示す2値画像を構成する
2値化信号PICT_ISOが入力された場合、白連結
数信号CONTは”7”を示す。この場合、例えば、閾
値信号con_thが”8”であれば、比較結果信号C
OMPは、”1”、すなわち、注目画素が非検出領域
(検出すべき領域)に属することを示す。
For example, the flag signal con_flg specifies the pattern shown in FIG. 16A as the pattern of the pixel to be inspected, and the binary signal PICT_ISO constituting the binary image shown in FIG. 17 is input. In this case, the white connection number signal CONT indicates “7”. In this case, for example, if the threshold signal con_th is “8”, the comparison result signal C
OMP is “1”, that is, indicates that the target pixel belongs to a non-detection area (area to be detected).

【0106】また、例えば、フラグ信号con_flg
が、検査対象画素のパターンとして、図16(b)に示
すパターンを指定しており、図17に示す2値が像を構
成する2値化信号PICT_ISOが入力された場合、
白連結数信号CONTは”9”を示す。この場合、例え
ば、閾値信号con_thが”8”であれば、比較結果
信号COMPは、”0”、すなわち、注目画素が非検出
域(検出すべき領域)に属しないことを示す。
Also, for example, the flag signal con_flg
However, when the pattern shown in FIG. 16B is designated as the pattern of the pixel to be inspected, and the binary signal PICT_ISO shown in FIG.
The white connection number signal CONT indicates “9”. In this case, for example, if the threshold signal con_th is “8”, the comparison result signal COMP indicates “0”, that is, indicates that the target pixel does not belong to the non-detection area (the area to be detected).

【0107】OR回路2093は、2値化信号PICT
_ISOと比較結果信号COMPとの値をOR演算し、
非検出領域の再検出後の2値化信号PICTを出力す
る。
The OR circuit 2093 outputs the binarized signal PICT
OR operation of the value of _ISO and the comparison result signal COMP,
The binarized signal PICT after re-detection of the non-detection area is output.

【0108】この2値化信号PICTは、エリアサイズ
判定部2026(図9参照)に入力される。
This binarized signal PICT is input to area size determination section 2026 (see FIG. 9).

【0109】図20は、エリアサイズ判定部2026の
詳細な構成例を示すブロック図である。エリアサイズ判
定部2026は、複数の収縮回路2081と膨張回路2
082とのペアを有し、各ペアが参照する領域のサイズ
は互いに異なる。2値化信号PICTは、収縮回路の大
きさに合わせてライン遅延された後に、まず収縮回路群
2081に入力される。図示の構成例において、23×
23画素サイズから35×35画素サイズまでの7種類
の収縮回路を有する。
FIG. 20 is a block diagram showing a detailed configuration example of area size determination section 2026. The area size determination unit 2026 includes a plurality of contraction circuits 2081 and expansion circuits 2
082, and the size of the region referred to by each pair is different from each other. The binarized signal PICT is first input to the contraction circuit group 2081 after being line-delayed according to the size of the contraction circuit. In the illustrated configuration example, 23 ×
It has seven types of contraction circuits from 23 pixel size to 35 × 35 pixel size.

【0110】収縮回路群2081の出力は、ライン遅延
された後に膨張回路群2082に入力される。図示の構
成例においては、収縮回路の7つの出力に対応して、2
7×27画素サイズから39×39画素までの7種類の
膨張回路を有する。膨張回路群2082は、7つの膨張
回路からなる7ビットの信号PICT_FHを出力す
る。
The output of the contraction circuit group 2081 is input to the expansion circuit group 2082 after being line-delayed. In the configuration example shown in FIG.
It has seven types of expansion circuits from 7 × 27 pixel size to 39 × 39 pixel. The expansion circuit group 2082 outputs a 7-bit signal PICT_FH including seven expansion circuits.

【0111】注目画素が文字・線画の一部である場合
は、その文字の太さに応じた信号PICT_FHが生成
される。図21は、信号PICT_FHの生成処理の一
例を説明するための図である。図示の例は、入力された
2値化信号PICTに係る画像が、26画素幅の帯状画
像である場合を示している。この画像に対して、27×
27より大きいサイズの収縮を行い、これを対応する膨
張回路で膨張すると、該膨張回路の出力は”0”にな
り、25×25より小さいサイズの収縮を行った後に、
これを対応する膨張回路で膨張すると、該膨張回路の出
力は”1”になる。したがって、信号PICT_FHの
ビット(0),(1)は”1”、ビット(2)〜(6)
は”0”となる。この場合、信号PICT_FHは、3
0画素幅であることを示している。
If the pixel of interest is a part of a character / line drawing, a signal PICT_FH corresponding to the thickness of the character is generated. FIG. 21 is a diagram for describing an example of a process of generating the signal PICT_FH. The illustrated example shows a case where the image related to the input binarized signal PICT is a band-shaped image having a width of 26 pixels. 27 ×
When a contraction of a size larger than 27 is performed and the expansion is performed by a corresponding expansion circuit, the output of the expansion circuit becomes “0”, and after performing a contraction of a size smaller than 25 × 25,
When this is expanded by the corresponding expansion circuit, the output of the expansion circuit becomes "1". Therefore, bits (0) and (1) of signal PICT_FH are “1”, and bits (2) to (6)
Becomes "0". In this case, the signal PICT_FH is 3
This indicates that the width is 0 pixels.

【0112】エンコーダ2083は、信号PICT_F
Hをエンコードすることによって、注目画素が属する画
像領域の大きさを示す画像領域信号ZONE_Pを決定
する。
The encoder 2083 outputs the signal PICT_F
By encoding H, an image area signal ZONE_P indicating the size of the image area to which the pixel of interest belongs is determined.

【0113】図22は、エンコーダ2083におけるエ
ンコードルールの一例を示す図である。図示の例におい
ては、画像領域信号ZONE_Pとして3ビットの信号
を用い、信号PICT_FHに基づいて、文字・線画等
の画像の太さを8段階で示す。図示のように、最も細い
文字・線画等の画像に関しては、信号ZONE_Pは”
0”になり、最も太い文字・線画等の画像に関しては、
信号ZONE_Pは”7”になる。この処理によって、
広い領域において2値化信号PICTが”1”である写
真画像や網点画像等に関しては、信号ZONE_Pは”
7”(最大値)に定義され、2値化信号が”1”である
領域が最大値よりも小さい領域(例えば、文字・線画等
の画像)に関しては、当該領域の太さに応じて信号ZO
NE_Pの値が定義される。
FIG. 22 is a diagram showing an example of an encoding rule in the encoder 2083. In the illustrated example, a 3-bit signal is used as the image area signal ZONE_P, and the thickness of an image such as a character or a line drawing is indicated in eight stages based on the signal PICT_FH. As shown in the drawing, the signal ZONE_P is "
0 ", and for images such as thickest characters and line drawings,
The signal ZONE_P becomes "7". With this process,
For a photographic image, a halftone image, or the like in which the binary signal PICT is “1” in a wide area, the signal ZONE_P is “
7 "(maximum value), and for an area where the binarized signal is" 1 "is smaller than the maximum value (for example, an image such as a character or a line drawing), the signal is determined according to the thickness of the area. ZO
The value of NE_P is defined.

【0114】ところで、再検出部2027を備えない場
合、すなわち、2値化信号PICT_ISOを直接にエ
リアサイズ判定部2026に入力した場合、例えば、網
点中に文字や線画等が存在すると、網点領域と文字等の
領域との境界において前述の非検出領域が点在すること
になる。このように非検出領域が点在した画像を構成す
る2値化信号PICT_ISOをエリアサイズ判定部2
026の収縮回路2081において収縮すると、点在し
ていた複数の非検出領域が結合して、大きな領域を形成
し、次段の膨張回路2082による膨張処理を施した後
においても、該大きな領域が残る。したがって、例えば
一面の大きな網点領域と判定されるべき領域であるにも
拘わらず、網点領域中の文字等の周囲に、細い文字領域
が点在するものと誤判定することになる。
By the way, when the re-detection unit 2027 is not provided, that is, when the binarized signal PICT_ISO is directly input to the area size determination unit 2026, for example, if a character or a line drawing exists in a halftone dot, The above-mentioned non-detection area is scattered at the boundary between the area and the area such as a character. The binarized signal PICT_ISO constituting the image in which the non-detection areas are scattered as described above is transmitted to the area size determination unit 2.
When the contraction is performed in the contraction circuit 2081 at 026, the plurality of non-detection areas scattered are combined to form a large area, and even after the expansion processing by the next-stage expansion circuit 2082 is performed, the large area remains Remains. Therefore, for example, it is erroneously determined that a thin character area is scattered around a character or the like in the halftone dot area, although the area should be determined to be a large halftone dot area.

【0115】一方、前述のように、再検出部2027を
設け、非検出領域を再検出し、2値化信号PICT_I
SOを修正した2値化信号に基づいて領域を判定するこ
とにより、上記の誤判定を避けることができる。
On the other hand, as described above, the re-detection section 2027 is provided to re-detect the non-detection area, and the binarized signal PICT_I
The erroneous determination can be avoided by determining the area based on the binarized signal with the corrected SO.

【0116】信号ZONE_Pは、ZONE補正部20
84に入力される。図23は、ZONE補正部2084
の詳細な構成例を示すブロック図である。信号ZONE
_Pは、複数のFIFOを有するライン遅延部2111
によりライン遅延されて、例えば、10×10画素の領
域の信号ZONE_Pの値の平均値を算出する平均値算
出部2111に入力される。信号ZONE_Pの値は、
文字・線画等が太いほど大きく、細いほど小さいくな
る。したがって、信号ZONE_Pの値の平均値である
信号ZONEの値も、文字・線画等が太いほど大きく、
細いほど小さいくなる。この補正に用いるブロックサイ
ズは、文字等の太さを判定するためのブロックサイズに
応じて定めることが望ましい。
The signal ZONE_P is output to the ZONE correction unit 20.
84 is input. FIG. 23 shows the ZONE correction unit 2084.
3 is a block diagram showing a detailed configuration example of FIG. Signal ZONE
_P is a line delay unit 2111 having a plurality of FIFOs
, And is input to an average value calculation unit 2111 that calculates the average value of the signal ZONE_P in a region of 10 × 10 pixels, for example. The value of the signal ZONE_P is
Thicker characters and line drawings are larger, and thinner characters are smaller. Therefore, the value of the signal ZONE, which is the average of the values of the signal ZONE_P, also increases as the characters and line drawings are thicker.
The thinner, the smaller. It is desirable that the block size used for this correction be determined according to the block size for determining the thickness of characters and the like.

【0117】補正したZONE信号を用いて、後段の処
理を行うことで、急激に文字や線等の太さが変化する部
分においても、太さの判定結果が滑らかに変化すること
になり、黒文字処理の変化による画像品位の低下をより
改善することができる。
By performing the subsequent processing using the corrected ZONE signal, even in a portion where the thickness of a character or a line suddenly changes, the determination result of the thickness changes smoothly. Deterioration of image quality due to a change in processing can be further improved.

【0118】ここで、前述したように、信号ZONE
が”7”の領域は、中間調または網点領域であると看做
すことができる。そこで、信号ZONEと信号EDGE
より、中間調や網点領域の内部に存在する文字や線を、
他の領域(白地)中の文字や線と区別することが可能で
ある。
Here, as described above, the signal ZONE is output.
Can be regarded as a halftone area or a halftone area. Therefore, the signal ZONE and the signal EDGE
Characters and lines existing inside halftones and halftone dots
It can be distinguished from characters and lines in other areas (white background).

【0119】次に、図9を参照して、画像の縁の検出処
理を説明する。
Next, the process of detecting the edge of an image will be described with reference to FIG.

【0120】先ず、2値化信号PICTに対して、5×
5の膨張回路2111によって膨張処理を施す。この処
理により、不完全な検出がなされる可能性がある網点領
域に関して、検出結果を補正することができる。
First, for the binarized signal PICT, 5 ×
The expansion processing is performed by the expansion circuit 2111 of No. 5. With this process, the detection result can be corrected for a halftone dot region in which incomplete detection may be performed.

【0121】次に、膨張回路2111の出力信号に対し
て、11×11の収縮回路2112によって収縮処理を
施し、その結果を信号FCHとして出力する。このよう
にして生成された信号FCHは、信号PICTを3画素
分収縮させた信号となる。
Next, the output signal of the expansion circuit 2111 is subjected to a contraction process by an 11 × 11 contraction circuit 2112, and the result is output as a signal FCH. The signal FCH generated in this manner is a signal obtained by contracting the signal PICT by three pixels.

【0122】図24は、中間調または網点領域中の文字
等を検出するためのアルゴリズムの一例を示す図であ
る。上記のように、信号FCH信号は信号PICTを収
縮させた信号であるため、FCH、信号ZONE、信号
EDGEを組合わせることにより、白地中のエッジと、
中間調・網点領域中のエッジとを区別することができ、
網点画像中に文字等が存在する場合において網点成分を
強調してしまうことなく、また、写真の縁等の黒文字処
理が不要な部分を処理することなく、黒文字処理を行う
ことができる。
FIG. 24 is a diagram showing an example of an algorithm for detecting a character or the like in a halftone or halftone dot area. As described above, since the signal FCH is a signal obtained by contracting the signal PICT, by combining the FCH, the signal ZONE, and the signal EDGE, the edge in the white background is
Edges in the halftone / halftone area can be distinguished,
In the case where a character or the like exists in a halftone dot image, black character processing can be performed without emphasizing a halftone dot component and without processing a portion that does not require black character processing such as an edge of a photograph.

【0123】[LUTの説明]LUT117は、文字の
太さ判定部114、エッジ検出部115、彩度判定部1
16の出力信号である信号ZONE、信号FCH、信号
EDGE、信号COLの各値と、図25に一部を示す参
照テーブルとに従って、黒文字判定信号UCR,FIL
TER,SENの値を決定する。これらは、マスキング
UCR係数、空間フィルタ係数、プリンタ解像度を選択
するための信号である。なお、各信号の値は次のような
意味を有する。
[Explanation of LUT] The LUT 117 includes a character thickness determination unit 114, an edge detection unit 115, and a saturation determination unit 1.
The black character determination signals UCR and FIL are output according to the values of the signals ZONE, FCH, EDGE, and COL, which are the 16 output signals, and the reference table partially shown in FIG.
Determine the values of TER and SEN. These are signals for selecting masking UCR coefficients, spatial filter coefficients, and printer resolution. The value of each signal has the following meaning.

【0124】 EDGE=0:閾値th_edge1でエッジと判定さ
れない 1:閾値th_edge1でエッジと判定(膨張なし) 2:閾値th_edge1でエッジと判定(3×3膨
張) 3:閾値th_edge1でエッジと判定(5×5膨
張) 4:閾値th_edge1でエッジと判定(7×7膨
張) 5:閾値th_edge2でエッジと判定されない 6:閾値th_edge2でエッジと判定(膨張なし) FCH=0:画像の縁 1:画像の縁でない UCR=0:黒多い 1: ・ 2: ・ ・ 6: ・ 7:黒少ない FILTER=0:スムージング 1:強エッジ強調 2:中エッジ強調 3:弱エッジ強調 SEN=0:200線 1:400線 以上のように、この実施の形態に拠れば、再検出部20
27を設け、これにより非検出領域を再検出して、2値
化信号PICT_ISOを修正することにより、注目画
素が属している領域(例えば、中間調領域、網点領域)
を正しく判定することができる。したがって、高品位の
出力画像を形成することができる。
EDGE = 0: not determined as an edge at threshold th_edge1 1: determined as an edge at threshold th_edge1 (no expansion) 2: determined as an edge at threshold th_edge1 (3 × 3 expansion) 3: determined as an edge at threshold th_edge1 (5 × 5 expansion) 4: Judgment as an edge with threshold th_edge1 (7 × 7 expansion) 5: Not judged as an edge with threshold th_edge2 6: Judgment as an edge with threshold th_edge2 (no expansion) FCH = 0: Image edge 1: Image No edge UCR = 0: more black 1: ・ 2: ・ ・ 6: ・ 7: less black FILTER = 0: smoothing 1: strong edge enhancement 2: middle edge enhancement 3: weak edge enhancement SEN = 0: 200 lines 1: As described above, according to this embodiment, the re-detection unit 20
27, the non-detection area is re-detected, and the binarized signal PICT_ISO is corrected, so that the area to which the pixel of interest belongs (for example, a halftone area or a halftone area)
Can be correctly determined. Therefore, a high-quality output image can be formed.

【0125】上記の実施の形態においては、再検出部2
027の入力として、2値化信号PICT_ISOを用
いたが、この代わりに、文字・線画・中間調検出部20
23の出力である信号BINGRAを用いても良い。こ
の場合、再検出部2027の出力と網点領域検出部20
24との論理和をエリアサイズ判定部2026に入力す
れば良い。また、再検出部2027の入力として、網点
領域検出部2024の出力である信号AMIを用いても
良い。この場合、再検出部2027の出力と文字・線画
・抽出完了検出部2023の出力との論理和をエリアサ
イズ判定部2026に入力すれば良い。
In the above embodiment, the re-detection unit 2
027, the binary signal PICT_ISO is used.
The signal BINGRA, which is the output of 23, may be used. In this case, the output of the re-detection unit 2027 and the halftone dot region detection unit 20
The logical sum of the input data and the data of the input data 24 may be input to the area size determination unit 2026. Further, as an input of the re-detection unit 2027, a signal AMI output from the halftone dot region detection unit 2024 may be used. In this case, the logical sum of the output of the re-detection unit 2027 and the output of the character / line drawing / extraction completion detection unit 2023 may be input to the area size determination unit 2026.

【0126】なお、本発明は、複数の機器(例えば、ホ
ストコンピュータ,インタフェイス機器,リーダ,プリ
ンタなど)から構成されるシステムに適用しても、一つ
の機器からなる装置(例えば、複写機,ファクシミリ装
置など)に適用してもよい。
The present invention can be applied to a system composed of a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), but it can be applied to a single device (for example, a copier, Facsimile machine, etc.).

【0127】また、本発明の目的は、前述した実施形態
の機能を実現するソフトウェアのプログラムコードを記
録した記憶媒体を、システムあるいは装置に供給し、そ
のシステムあるいは装置のコンピュータ(またはCPU
やMPU)が記憶媒体に格納されたプログラムコードを
読出し実行することによっても、達成されることは言う
までもない。
Further, an object of the present invention is to provide a storage medium storing a program code of software for realizing the functions of the above-described embodiments to a system or an apparatus, and to provide a computer (or CPU) of the system or apparatus.
And MPU) read and execute the program code stored in the storage medium.

【0128】この場合、記憶媒体から読出されたプログ
ラムコード自体が前述した実施形態の機能を実現するこ
とになり、そのプログラムコードを記憶した記憶媒体は
本発明を構成することになる。
In this case, the program code itself read from the storage medium implements the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention.

【0129】プログラムコードを供給するための記憶媒
体としては、例えば、フロッピディスク,ハードディス
ク,光ディスク,光磁気ディスク,CD−ROM,CD
−R,磁気テープ,不揮発性のメモリカード,ROMな
どを用いることができる。
As a storage medium for supplying the program code, for example, a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD
-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

【0130】また、コンピュータが読出したプログラム
コードを実行することにより、前述した実施形態の機能
が実現されるだけでなく、そのプログラムコードの指示
に基づき、コンピュータ上で稼働しているOS(オペレ
ーティングシステム)などが実際の処理の一部または全
部を行い、その処理によって前述した実施形態の機能が
実現される場合も含まれることは言うまでもない。
When the computer executes the readout program code, not only the functions of the above-described embodiment are realized, but also the OS (Operating System) running on the computer based on the instruction of the program code. ) May perform some or all of the actual processing, and the processing may realize the functions of the above-described embodiments.

【0131】さらに、記憶媒体から読出されたプログラ
ムコードが、コンピュータに挿入された機能拡張ボード
やコンピュータに接続された機能拡張ユニットに備わる
メモリに書込まれた後、そのプログラムコードの指示に
基づき、その機能拡張ボードや機能拡張ユニットに備わ
るCPUなどが実際の処理の一部または全部を行い、そ
の処理によって前述した実施形態の機能が実現される場
合も含まれることは言うまでもない。
Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, based on the instruction of the program code, It goes without saying that the CPU included in the function expansion board or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.

【0132】[0132]

【発明の効果】本発明に拠れば、画像中の文字・線画領
域と他の画像領域との境界領域を検出することにより、
検出した領域に基づく処理により得られる画像を高品質
化することができる。
According to the present invention, by detecting a boundary region between a character / line drawing region and another image region in an image,
An image obtained by the processing based on the detected area can be improved in quality.

【0133】[0133]

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

【図1】本発明の好適な実施の形態に係る画像処理装置
の断面構成を示す図である。
FIG. 1 is a diagram showing a cross-sectional configuration of an image processing apparatus according to a preferred embodiment of the present invention.

【図2】イメージスキャナ部の画像処理部の詳細な構成
例を示す図である。
FIG. 2 is a diagram illustrating a detailed configuration example of an image processing unit of the image scanner unit.

【図3】エッジ検出部の構成例を示すブロック図であ
る。
FIG. 3 is a block diagram illustrating a configuration example of an edge detection unit.

【図4】輝度算出回路の詳細な構成例を示すブロック図
である。
FIG. 4 is a block diagram illustrating a detailed configuration example of a luminance calculation circuit.

【図5】エッジmin方向検出回路の機能を説明するため
の図である。
FIG. 5 is a diagram for explaining a function of an edge min direction detection circuit.

【図6】図6は、画像中のエッジの検出処理の一例を示
す図である。
FIG. 6 is a diagram illustrating an example of an edge detection process in an image;

【図7】彩度判定部の詳細な構成例を示すブロック図で
ある。
FIG. 7 is a block diagram illustrating a detailed configuration example of a saturation determination unit.

【図8】LUT(ルックアップテーブル)における彩度
判定用のルックアップテーブルの特性を示す図である。
FIG. 8 is a diagram showing characteristics of a look-up table for determining saturation in an LUT (look-up table).

【図9】文字太さ判定部の詳細な構成例を示すブロック
図である。
FIG. 9 is a block diagram illustrating a detailed configuration example of a character thickness determination unit.

【図10】文字・中間調検出回路の詳細な構成例を示す
ブロック図である。
FIG. 10 is a block diagram illustrating a detailed configuration example of a character / halftone detection circuit.

【図11】網点領域検出部の詳細な構成例を示す図であ
る。
FIG. 11 is a diagram illustrating a detailed configuration example of a halftone dot area detection unit.

【図12】エッジ方向検出回路におけるエッジ方向検出
の規則を示す図である。
FIG. 12 is a diagram showing a rule of edge direction detection in an edge direction detection circuit.

【図13】注目画素のDIRAMI信号をA33とした
5×5画素領域を示す図である。
FIG. 13 is a diagram showing a 5 × 5 pixel area in which a DIRAMI signal of a target pixel is A33.

【図14】カウントの対象とするウインドウの一例を示
す図である。
FIG. 14 is a diagram illustrating an example of a window to be counted.

【図15】再検出部の詳細な構成例を示す図である。FIG. 15 is a diagram illustrating a detailed configuration example of a re-detection unit.

【図16】フラグ信号con_flgに基づいて選択さ
れる検査対象画素のパターンを示す図である。
FIG. 16 is a diagram showing a pattern of an inspection target pixel selected based on a flag signal con_flg.

【図17】2値化信号PICT_ISOの2値画像の一
例を示す図である。
FIG. 17 is a diagram illustrating an example of a binary image of a binary signal PICT_ISO.

【図18】白連結度の検査処理の手順を示すフローチャ
ートである。
FIG. 18 is a flowchart illustrating a procedure of a white connectivity degree inspection process.

【図19】図18に示す手順を実行するための回路構成
を示す図である。
FIG. 19 is a diagram showing a circuit configuration for executing the procedure shown in FIG. 18;

【図20】エリアサイズ判定部の詳細な構成例を示すブ
ロック図である。
FIG. 20 is a block diagram illustrating a detailed configuration example of an area size determination unit.

【図21】信号PICT_FHの生成処理の一例を説明
するための図である。
FIG. 21 is a diagram illustrating an example of a process of generating a signal PICT_FH.

【図22】エンコーダにおけるエンコードルールの一例
を示す図である。
FIG. 22 is a diagram illustrating an example of an encoding rule in an encoder.

【図23】ZONE補正部の詳細な構成例を示すブロッ
ク図である。
FIG. 23 is a block diagram illustrating a detailed configuration example of a ZONE correction unit.

【図24】中間調または網点領域中の文字等を検出する
ためのアルゴリズムの一例を示す図である。
FIG. 24 is a diagram illustrating an example of an algorithm for detecting a character or the like in a halftone or halftone dot area.

【図25】黒文字判定部のLUTにおける参照テーブル
の一例を示す図である。
FIG. 25 is a diagram illustrating an example of a reference table in an LUT of a black character determination unit.

フロントページの続き (72)発明者 内田 由紀 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内Continued on the front page (72) Inventor Yuki Uchida 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc.

Claims (23)

【特許請求の範囲】[Claims] 【請求項1】 画像の特徴を抽出してその結果に基づい
て該画像を処理する画像処理装置であって、 画像中の文字・線画・中間調領域を検出する第1の検出
手段と、 画像中の網点領域を検出する第2の検出手段と、 画像中の文字・線画・中間調領域と網点領域との境界領
域を検出する第3の検出手段と、 を備え、前記第1乃至第3の検出手段による検出結果に
基づいて画像を処理することを特徴とする画像処理装
置。
1. An image processing apparatus for extracting features of an image and processing the image based on the result, comprising: first detection means for detecting a character, a line drawing, and a halftone area in the image; A second detecting means for detecting a halftone dot area in the image, and a third detecting means for detecting a boundary area between the character / line drawing / halftone area and the halftone dot area in the image. An image processing apparatus for processing an image based on a detection result by a third detection unit.
【請求項2】 前記第3の検出手段は、前記第1及び第
2の検出手段によって検出されていない領域より、画像
中の文字・線画・中間調領域と網点領域との境界領域を
検出することを特徴とする請求項1に記載の画像処理装
置。
2. The third detecting means detects a boundary area between a character / line drawing / halftone area and a halftone area in an image from an area not detected by the first and second detecting means. The image processing apparatus according to claim 1, wherein:
【請求項3】 前記第3の検出手段は、前記第1及び第
2の検出手段によって検出されていない画素の分布に基
づいて各画素が画像中の文字・線画・中間調領域と網点
領域との境界領域に属する画素であるか否かを判定する
ことによって該境界領域を検出することを特徴とする請
求項1に記載の画像処理装置。
3. The apparatus according to claim 3, wherein each of the pixels includes a character / line drawing / halftone area and a halftone area in the image based on a distribution of pixels not detected by the first and second detection means. 2. The image processing apparatus according to claim 1, wherein the boundary area is detected by determining whether or not the pixel belongs to the boundary area with the pixel.
【請求項4】 前記第3の検出手段は、前記第1及び第
2の検出手段によって検出されていない画素の連なりに
基づいて各画素が画像中の文字・線画・中間調領域と網
点領域との境界領域に属する画素であるか否かを判定す
ることによって該境界領域を検出することを特徴とする
請求項1に記載の画像処理装置。
4. The image processing apparatus according to claim 1, wherein each of the pixels includes a character / line image / halftone area and a halftone area in the image based on a series of pixels not detected by the first and second detection means. 2. The image processing apparatus according to claim 1, wherein the boundary area is detected by determining whether or not the pixel belongs to the boundary area with the pixel.
【請求項5】 前記第3の検出手段は、前記第1及び第
2の検出手段によって検出されていない画素が連なって
いる個数に基づいて各画素が画像中の文字・線画・中間
調領域と網点領域との境界領域に属する画素であるか否
かを判定することによって該境界領域を検出することを
特徴とする請求項1に記載の画像処理装置。
5. The image processing apparatus according to claim 3, wherein each of the pixels includes a character, a line drawing, and a halftone area in the image based on the number of consecutive pixels not detected by the first and second detection means. The image processing apparatus according to claim 1, wherein the boundary area is detected by determining whether or not the pixel belongs to a boundary area with the halftone dot area.
【請求項6】 前記第3の検出手段は、前記第1または
第2の検出手段の検出結果の集合により構成される画像
より、画像中の文字・線画・中間調領域と網点領域との
境界領域を検出することを特徴とする請求項1に記載の
画像処理装置。
6. The image processing apparatus according to claim 1, wherein the third detecting means determines a character / line drawing / halftone area and a halftone area in the image from an image formed by a set of detection results of the first or second detecting means. The image processing apparatus according to claim 1, wherein a boundary area is detected.
【請求項7】 前記第3の検出手段は、前記第1または
第2の検出手段の検出結果の集合により構成される画像
において未検出の画素の分布に基づいて各画素が画像中
の文字・線画・中間調領域と網点領域との境界領域に属
する画素であるか否かを判定することによって該境界領
域を検出することを特徴とする請求項6に記載の画像処
理装置。
7. The image processing apparatus according to claim 1, wherein each of the pixels detects a character or a character in the image based on a distribution of undetected pixels in an image formed by a set of detection results of the first or second detection means. 7. The image processing apparatus according to claim 6, wherein the boundary area is detected by determining whether or not the pixel belongs to a boundary area between the line drawing / halftone area and the halftone dot area.
【請求項8】 前記第3の検出手段は、前記第1または
第2の検出手段の検出結果の集合により構成される画像
において未検出の画素の連なりに基づいて各画素が画像
中の文字・線画・中間調領域と網点領域との境界領域に
属する画素であるか否かを判定することによって該境界
領域を検出することを特徴とする請求項6に記載の画像
処理装置。
8. The image processing apparatus according to claim 1, wherein each of the pixels detects a character or a character in the image based on a series of undetected pixels in an image formed by a set of detection results of the first or second detection means. 7. The image processing apparatus according to claim 6, wherein the boundary area is detected by determining whether or not the pixel belongs to a boundary area between the line drawing / halftone area and the halftone dot area.
【請求項9】 前記第3の検出手段は、前記第1または
第2の検出手段の検出結果の集合により構成される画像
において未検出の画素が連なっている個数に基づいて各
画素が画像中の文字・線画・中間調領域と網点領域との
境界領域に属する画素であるか否かを判定することによ
って該境界領域を検出することを特徴とする請求項6に
記載の画像処理装置。
9. The image processing apparatus according to claim 5, wherein each of the pixels is included in the image based on the number of undetected pixels in the image formed by the set of detection results of the first or second detection means. The image processing apparatus according to claim 6, wherein the boundary area is detected by determining whether or not the pixel belongs to a boundary area between the character / line drawing / halftone area and the halftone area.
【請求項10】 前記第1乃至第3の検出手段による検
出結果に基づいて画像領域のサイズを判定する判定手段
をさらに備え、その判定結果に応じて画像を処理するこ
とを特徴とする請求項1乃至請求項9のいずれか1項に
記載の画像処理装置。
10. The image processing apparatus according to claim 1, further comprising: a determination unit configured to determine a size of an image area based on a detection result of the first to third detection units, and processing the image according to the determination result. The image processing apparatus according to claim 1.
【請求項11】 画像の特徴を抽出してその結果に基づ
いて該画像を処理する画像処理装置であって、 画像中の文字・線画領域及び前記文字・線画領域以外の
他の画像領域を検出する主検出手段と、 前記文字・線画領域と前記他の画像領域との境界領域を
検出する副検出手段と、 を備え、前記主検出手段及び副検出手段による検出結果
に基づいて画像を処理することを特徴とする画像処理装
置。
11. An image processing apparatus for extracting a feature of an image and processing the image based on the result, wherein a character / line drawing area in the image and an image area other than the character / line drawing area are detected. Main detecting means, and a sub-detecting means for detecting a boundary area between the character / line drawing area and the other image area, and processes an image based on a detection result by the main detecting means and the sub-detecting means. An image processing apparatus characterized by the above-mentioned.
【請求項12】 前記副検出手段は、前記主検出手段に
より検出されていない領域より、前記境界領域を検出す
ることを特徴とする請求項11に記載の画像処理装置。
12. The image processing apparatus according to claim 11, wherein the sub-detection unit detects the boundary region from a region not detected by the main detection unit.
【請求項13】 前記副検出手段は、前記主検出手段に
よって検出されていない画素の分布に基づいて各画素が
前記境界領域に属する画素であるか否かを判定すること
によって前記境界領域を検出することを特徴とする請求
項11に記載の画像処理装置。
13. The sub-detection unit detects the boundary region by determining whether each pixel belongs to the boundary region based on a distribution of pixels not detected by the main detection unit. The image processing apparatus according to claim 11, wherein:
【請求項14】 前記副検出手段は、前記主検出手段に
よって検出されていない画素の連なりに基づいて各画素
が前記境界領域に属する画素であるか否かを判定するこ
とによって前記境界領域を検出することを特徴とする請
求項11に記載の画像処理装置。
14. The sub-detection unit detects the boundary region by determining whether each pixel belongs to the boundary region based on a series of pixels not detected by the main detection unit. The image processing apparatus according to claim 11, wherein:
【請求項15】 前記副検出手段は、前記主検出手段に
よって検出されていない画素が連なっている個数に基づ
いて各画素が前記境界領域に属する画素であるか否かを
判定することによって前記境界領域を検出することを特
徴とする請求項11に記載の画像処理装置。
15. The sub-detecting unit determines whether each pixel is a pixel belonging to the boundary area based on the number of consecutive pixels not detected by the main detecting unit, thereby determining the boundary. The image processing apparatus according to claim 11, wherein an area is detected.
【請求項16】 処理した画像を出力する出力手段をさ
らに備えることを特徴とする請求項1乃至請求項15の
いずれか1項に記載の画像処理装置。
16. The image processing apparatus according to claim 1, further comprising an output unit configured to output the processed image.
【請求項17】 処理対象となる画像を入力する入力手
段をさらに備えることを特徴とする請求項16に記載の
画像処理装置。
17. The image processing apparatus according to claim 16, further comprising input means for inputting an image to be processed.
【請求項18】 前記入力手段は、原稿画像を読み取っ
て入力する手段を含むことを特徴とする請求項17に記
載の画像処理装置。
18. The image processing apparatus according to claim 17, wherein said input means includes means for reading and inputting a document image.
【請求項19】 フルカラー画像を対象として処理する
ことを特徴とする請求項1乃至請求項18のいずれか1
項に記載の画像処理装置。
19. The method according to claim 1, wherein processing is performed on a full-color image.
An image processing apparatus according to the item.
【請求項20】 画像の特徴を抽出してその結果に基づ
いて該画像を処理する画像処理方法であって、 画像中の文字・線画・中間調領域を検出する第1の検出
工程と、 画像中の網点領域を検出する第2の検出工程と、 画像中の文字・線画領域と網点領域との境界領域を検出
する第3の検出工程と、 を備え、前記第1乃至第3の検出工程による検出結果に
基づいて画像を処理することを特徴とする画像処理方
法。
20. An image processing method for extracting features of an image and processing the image based on the result, comprising: a first detection step of detecting a character, a line drawing, and a halftone area in the image; A second detection step of detecting a halftone dot area in the image, and a third detection step of detecting a boundary area between the character / line drawing area and the halftone dot area in the image. An image processing method, wherein an image is processed based on a detection result in a detection step.
【請求項21】 画像の特徴を抽出してその結果に基づ
いて該画像を処理する画像処理方法であって、 画像中の文字・線画領域及び前記文字・線画領域以外の
他の画像領域を検出する主検出工程と、 前記文字・線画領域と前記他の画像領域との境界領域を
検出する副検出工程と、 を備え、前記主検出手段及び副検出工程による検出結果
に基づいて画像を処理することを特徴とする画像処理方
法。
21. An image processing method for extracting features of an image and processing the image based on the result, wherein a character / line drawing area in the image and an image area other than the character / line drawing area are detected. A main detection step, and a sub-detection step of detecting a boundary area between the character / line drawing area and the other image area, and processes an image based on a detection result by the main detection unit and the sub-detection step. An image processing method comprising:
【請求項22】 画像の特徴を抽出してその結果に基づ
いて該画像を処理するためのプログラムコードを収めた
コンピュータ可読メモリであって、 画像中の文字・線画・中間調領域を検出する第1の検出
工程のコードと、 画像中の網点領域を検出する第2の検出工程のコード
と、 画像中の文字・線画領域と網点領域との境界領域を検出
する第3の検出工程のコードと、 を含むことを特徴とするコンピュータ可読メモリ。
22. A computer readable memory containing a program code for extracting a feature of an image and processing the image based on the result, wherein the computer readable memory detects a character, a line drawing, and a halftone area in the image. A code of a first detection step, a code of a second detection step of detecting a halftone dot area in an image, and a code of a third detection step of detecting a boundary area between a character / line drawing area and a halftone dot area in the image. And a computer readable memory comprising:
【請求項23】 画像の特徴を抽出してその結果に基づ
いて該画像を処理するためのプログラムコードを収めた
コンピュータ可読メモリであって、 画像中の文字・線画領域及び前記文字・線画領域以外の
他の画像領域を検出する主検出工程のコードと、 前記文字・線画領域と前記他の画像領域との境界領域を
検出する副検出工程のコードと、 を含むことを特徴とするコンピュータ可読メモリ。
23. A computer readable memory storing a program code for extracting a feature of an image and processing the image based on the result, wherein a character / line drawing area in the image and a part other than the character / line drawing area are included. A computer-readable memory comprising: a code for a main detection step of detecting another image area; and a code of a sub-detection step for detecting a boundary area between the character / line drawing area and the other image area. .
JP9061179A 1997-03-14 1997-03-14 Image processing apparatus and method Withdrawn JPH10257308A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9061179A JPH10257308A (en) 1997-03-14 1997-03-14 Image processing apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9061179A JPH10257308A (en) 1997-03-14 1997-03-14 Image processing apparatus and method

Publications (1)

Publication Number Publication Date
JPH10257308A true JPH10257308A (en) 1998-09-25

Family

ID=13163686

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9061179A Withdrawn JPH10257308A (en) 1997-03-14 1997-03-14 Image processing apparatus and method

Country Status (1)

Country Link
JP (1) JPH10257308A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000137807A (en) * 1998-10-05 2000-05-16 Agfa Gevaert Nv Method for smoothing stepping effect
CN100390675C (en) * 2003-01-30 2008-05-28 佳能株式会社 Printing system, information processing device and control method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000137807A (en) * 1998-10-05 2000-05-16 Agfa Gevaert Nv Method for smoothing stepping effect
CN100390675C (en) * 2003-01-30 2008-05-28 佳能株式会社 Printing system, information processing device and control method thereof
US7684070B2 (en) 2003-01-30 2010-03-23 Canon Kabushiki Kaisha Printing system, information processing apparatus and method, and computer program and computer-readable storage medium

Similar Documents

Publication Publication Date Title
US7142717B2 (en) Image processing apparatus and method
JPH11331573A (en) Image processing device
JP4387584B2 (en) Image processing apparatus and image processing method
US6744921B1 (en) Image processing apparatus and method that determines the thickness of characters and lines
CN102547062A (en) Image processing apparatus, image forming apparatus, image processing method, and storage medium
JP3599367B2 (en) Image processing apparatus and method
JP2001036752A (en) Image processing apparatus and method
JP4217302B2 (en) Image processing apparatus and image processing method
JPH0541796A (en) Copying machine
JP3767210B2 (en) Document type determination device and image processing device
JP3554012B2 (en) Image processing apparatus and image processing method
JP4176053B2 (en) Image processing method, image processing apparatus, image forming apparatus, and computer program
JP3581395B2 (en) Image processing apparatus and image processing method
JP3064896B2 (en) Image processing device
JP3281391B2 (en) Full-color image reproducing apparatus and full-color image reproducing method
JPH1040373A (en) Image processing apparatus and method
JP3471915B2 (en) Image processing apparatus and method
JPH11220618A (en) Color image processing apparatus and color image processing method
JP2000134476A (en) Image processing apparatus, control method therefor, and storage medium
JPH09322007A (en) Color image processing apparatus and method
JP2001157059A (en) Image forming apparatus and method
JP3679539B2 (en) Image processing apparatus and image processing method
JP2000134491A (en) Image processing apparatus, control method therefor, and storage medium
JPH11195114A (en) Image processing method and apparatus
JPH0922461A (en) Image processing apparatus and method

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20040601