JPH0440752A - Image signal processor - Google Patents

Image signal processor

Info

Publication number
JPH0440752A
JPH0440752A JP2149289A JP14928990A JPH0440752A JP H0440752 A JPH0440752 A JP H0440752A JP 2149289 A JP2149289 A JP 2149289A JP 14928990 A JP14928990 A JP 14928990A JP H0440752 A JPH0440752 A JP H0440752A
Authority
JP
Japan
Prior art keywords
image
binary
halftone
signal
processing
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.)
Pending
Application number
JP2149289A
Other languages
Japanese (ja)
Inventor
Kazuyuki Sumita
住田 和之
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2149289A priority Critical patent/JPH0440752A/en
Publication of JPH0440752A publication Critical patent/JPH0440752A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent the deterioration of picture quality even with an original which includes the binary and halftone images by identifying the binary and halftone image parts of an original information signal by means of an image area separation algorithm. CONSTITUTION:An image area separation part 2 receives an image area separation instruction and analyzes a halftone original information signal 7 inputted from an original scanning part 1. The presence of an edge is defined when the difference of density between an image to be processed and its left adjacent image exceeds a set level and also when the picture element to be processed has the maximum or least density level. Then a binary processing section is decided only when the end is detected within 2 - 6 images based on the edge that is first detected. Then a selection signal is outputted for selection of the binary image data and the pseudo halftone image data. Thus it is possible to obtain the image data where the binary and pseudo halftone images are mixed together and the binary or pseudo halftone image data through a selection part 5.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、画信号処理手段に関する。特に、写真と文字
が混在する原稿の二値化画信号処理手段に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to image signal processing means. In particular, the present invention relates to a binary image signal processing means for a document containing both photographs and text.

〔概要〕〔overview〕

本発明は、二値画像と中間調画像とが同一ぺ一ジに混在
する原稿の画信号を処理する手段において、 原稿情報信号の二値画像部と中間調画像部とを識別する
ことにより、 二値画像および中間調画像の両者に適応した処理を行う
ことができるようにしたものである。
The present invention provides means for processing an image signal of a document in which a binary image and a halftone image coexist on the same page, by identifying the binary image portion and the halftone image portion of the document information signal. It is possible to perform processing suitable for both binary images and halftone images.

〔従来の技術〕[Conventional technology]

従来ては、頁毎に二値処理または疑似中間調処理を選択
しており、同一頁中で二値処理と疑似中間調処理とを使
い分けることはできなかった。
Conventionally, binary processing or pseudo-halftone processing has been selected for each page, and it has been impossible to use binary processing and pseudo-halftone processing properly within the same page.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

このように、従来例では、同一頁中で二値処理と疑似中
間調処理を使い分けることができないので、同一頁中で
二値画像と中間調画像が混在する原稿の場合に、二値画
像領域または中間調画像領域のいづれか一方の画質が著
しく劣る欠点があった。
In this way, in the conventional example, it is not possible to use binary processing and pseudo-halftone processing separately on the same page, so in the case of a document in which binary images and halftone images coexist on the same page, the binary image area Another disadvantage is that the image quality of one of the halftone image areas is significantly inferior.

本発明は、このような欠点を除去するもので、二値画像
と中間調画像との混在する原稿でも画質劣化の生じない
処理が行える画信号処理装置を提供することを目的とす
る。
SUMMARY OF THE INVENTION It is an object of the present invention to provide an image signal processing apparatus that eliminates such drawbacks and is capable of processing even original documents containing a mixture of binary images and halftone images without causing image quality deterioration.

〔課題を解決するための手段〕[Means to solve the problem]

本発明は、二値画像と中間調画像とが同一ぺ一ジに混在
する原稿を走査して原稿情報信号を生成する原稿走査部
と、上記原稿情報信号に二値画像処理を施して二値画像
信号を生成する二値処理部と、上記原稿情報信号に中間
調画像処理を施して疑似中間調画像信号を生成する疑似
中間調処理部とを備えた画信号処理装置において、上記
原稿情報信号の二値画像部と中間調画像部とを識別する
識別信号を生成する像域分離部と、上記識別信号に基づ
き上記二値画像信号または上記疑似中間調画像信号を選
択する選択部とを備えたことを特徴とする。ここで、上
記像域分離部は、最初に検出したエツジを示す画素から
所定個数の画素以内に再びエツジを示す画素を検出した
ときに、この2つの画素で定まる区間を上記二値画像部
とすることが望まれる。また、隣接する画素間との濃度
差が設定値を越える画素および濃度があらかじめ設定さ
れた限界濃度を越える画素を上記エツジを示す画素とす
ることが望まれる。
The present invention includes a document scanning section that scans a document in which a binary image and a halftone image are mixed on the same page to generate a document information signal, and a document scanning section that performs binary image processing on the document information signal to generate a binary image. An image signal processing device comprising a binary processing section that generates an image signal, and a pseudo halftone processing section that performs halftone image processing on the document information signal to generate a pseudo halftone image signal. an image area separation unit that generates an identification signal for identifying the binary image portion and the halftone image portion of the image area; and a selection unit that selects the binary image signal or the pseudo halftone image signal based on the identification signal. It is characterized by: Here, when the image area separation unit detects a pixel indicating an edge again within a predetermined number of pixels from the first detected pixel indicating an edge, the image area separation unit converts the interval defined by these two pixels into the binary image unit. It is desirable to do so. Further, it is desirable that a pixel whose density difference between adjacent pixels exceeds a set value and a pixel whose density exceeds a preset limit density be used as the pixel indicating the edge.

〔作用〕[Effect]

原稿走査部から出力される原稿情報信号を解析して、隣
接する画素間との濃度差が設定値を越える画素および濃
度があらかじめ設定された限界濃度を越える画素が続け
て検出され、この画素間の画素個数が所定個数以内のと
きに、この画素区間を二値画像部と判断する。この判断
に基づき二値画像部と中間調画像部どを識別する識別信
号を生成する。この識別信号に応じて、二値画像処理を
施した二値画像信号または中間調画像処理を施した疑似
中間調画像信号のいずれか一方を選択して出力する。
By analyzing the document information signal output from the document scanning unit, pixels whose density difference between adjacent pixels exceeds a set value and pixels whose density exceeds a preset limit density are successively detected, and the difference between these pixels is detected. When the number of pixels is within a predetermined number, this pixel section is determined to be a binary image portion. Based on this determination, an identification signal is generated to identify the binary image portion, the halftone image portion, etc. Depending on this identification signal, either a binary image signal subjected to binary image processing or a pseudo halftone image signal subjected to halftone image processing is selected and output.

〔実施例〕〔Example〕

以下、本発明の一実施例について図面により説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第1図は、この実施例の構成を示すブロック構成図であ
る。この実施例は、第1図に示すように、原稿を走査し
て原稿の背影濃度が常に最内レベルになるように処理し
た二値処理用原稿情報信号6と基準白レベルに対する相
対濃度を示す中間調原稿情報信号7とを出力する原稿走
査部1と、原稿走査部1から入力される中間調原稿情報
信号7を解析し、二値画像部か中間調画像部かを識別し
てこれらを分離する信号を出力する像域分離部2と、原
稿走査部1から入力される二値処理用原稿情報信号6に
対して二値画像処理を行って二値画信号を出力する二値
処理部3と、原稿走査部1から入力される中間調原稿情
報信号7に対して疑似中間調処理を行って疑似中間調二
値画信号を出力する疑似中間調処理部4と、二値処理部
3から入力される二値画信号と疑似中間調処理部4から
入力される疑似中間調二値画信号のいづれか一方を像域
分離部2から出力される分離信号により選択して出力す
る選択部5とを備える。ここで、二値処理部3と疑似中
間調処理部4との出力と像域分離部2の出力とは画素単
位で同期しているので、選択部5は画素単位で二値画像
処理部3または疑似中間調処理部4の出力を選択するこ
とができる。
FIG. 1 is a block diagram showing the configuration of this embodiment. As shown in FIG. 1, this example shows the relative density with respect to the binary processing original information signal 6 and the reference white level, which was processed so that the background density of the original was always at the innermost level by scanning the original. The original scanning section 1 outputs the halftone original information signal 7, and the halftone original information signal 7 inputted from the original scanning section 1 is analyzed to identify whether it is a binary image part or a halftone image part and distinguish them. An image area separation unit 2 that outputs signals to be separated; and a binary processing unit that performs binary image processing on the binary processing manuscript information signal 6 input from the manuscript scanning unit 1 and outputs a binary image signal. 3, a pseudo halftone processing section 4 that performs pseudo halftone processing on the halftone document information signal 7 inputted from the document scanning section 1 and outputs a pseudo halftone binary image signal; and a binary processing section 3. a selection section 5 that selects and outputs either the binary image signal inputted from the image area separation section 2 or the pseudo halftone binary image signal inputted from the pseudo halftone processing section 4, based on the separation signal outputted from the image area separation section 2; Equipped with. Here, since the outputs of the binary image processing section 3 and the pseudo-halftone processing section 4 and the outputs of the image area separation section 2 are synchronized pixel by pixel, the selection section 5 Alternatively, the output of the pseudo halftone processing section 4 can be selected.

すなわち、この実施例は、二値画像と中間調画像とが同
一ページに混在する原稿を走査して原稿情報信号を生成
する原稿走査部1と、上記原稿情報信号に二値画像処理
を施して二値画像信号を生成する二値処理部3と、上記
原稿情報信号に中間調画像処理を施して疑似中間調画像
信号を生成する疑似中間調処理部4とを備え、さらに、
本発明の特徴とする手段として、上記原稿情報信号の二
値画像部と中間調画像部とを識別する識別信号を生成す
る像域分離部2と、上記識別信号に基づき上記二値画像
信号または上記疑似中間調画像信号を選択する選択部5
とを備える。
That is, this embodiment includes a document scanning section 1 that scans a document in which a binary image and a halftone image are mixed on the same page to generate a document information signal, and a document scanning section 1 that performs binary image processing on the document information signal. It includes a binary processing section 3 that generates a binary image signal, and a pseudo halftone processing section 4 that performs halftone image processing on the document information signal to generate a pseudo halftone image signal, and further includes:
The means characterized by the present invention includes an image area separation unit 2 that generates an identification signal for identifying a binary image portion and a halftone image portion of the document information signal, and an image area separation unit 2 that generates an identification signal for identifying a binary image portion and a halftone image portion of the document information signal; Selection unit 5 for selecting the pseudo halftone image signal
Equipped with.

次に、この実施例の動作について第1図および第2図を
参照して説明する。図外の制御部から原稿読取り開始命
令を受けると、原稿走査部1は原稿の走査を開始し、2
種類の原稿情報信号を出力する。図外の制御部から像域
分離命令を受けると、像域分離部2は後述するアルゴリ
ズムにしたがって原稿走査部1から入力される中間調原
稿情報信号7を解析し、二値画像部と中間調画像部とを
識別してそれぞれ選択するた約の信号を出力する。
Next, the operation of this embodiment will be explained with reference to FIGS. 1 and 2. Upon receiving a command to start reading the original from a control unit (not shown), the original scanning unit 1 starts scanning the original;
Outputs the type of original information signal. Upon receiving an image area separation command from a control unit (not shown), the image area separation unit 2 analyzes the halftone original information signal 7 input from the original scanning unit 1 according to an algorithm described later, and separates the binary image area and halftone image area from each other. It identifies the image area and outputs the selected signal.

図外の制御部から二値画像出力または疑似中間調出力の
命令を受けたときに、像域分離部2はその命令に従って
いずれか一方の出力を選択する信号を出力する。二のよ
うにして、選択部5から二値画像と疑似中間調画像が混
合した画像データ、二値または疑似中間調画像データの
いづれかが得られる。
When receiving a command to output a binary image or a pseudo-halftone output from a control unit (not shown), the image area separation unit 2 outputs a signal for selecting one of the outputs in accordance with the command. 2, image data in which a binary image and a pseudo-halftone image are mixed, or either binary or pseudo-halftone image data is obtained from the selection unit 5.

次に、図外の制御部から像域分離指定を受けたときの像
域分離部2ての処理アルゴリズムについて説明する。
Next, a processing algorithm of the image area separation unit 2 when receiving an image area separation designation from a control unit (not shown) will be described.

原稿情報には、以下の特徴がある。Manuscript information has the following characteristics.

(1)文字・線画部分は、背影レベルとの濃度差が大き
くエツジが胡瞭であり、 (2)文字・線画部分では、始まりエツジから終りのエ
ツジまでの距離が数画素程度である場合がほとんどであ
り、 (3)中間調部分では、背影レベルとの濃度差が急激に
かわることは少なくエツジが不明瞭であり、(4)中間
調部分では、始まりエツジから終りのエツジまでの距離
が長い。
(1) In text/line drawings, the density difference with the back shadow level is large and the edges are clear. (2) In text/line drawings, the distance from the starting edge to the ending edge may be about a few pixels. (3) In the halftone part, the density difference with the background level rarely changes sharply, and the edges are unclear; (4) In the halftone part, the distance from the starting edge to the ending edge is long.

本アルゴリズムは、以上の点に注目して以下のような処
理を行う。
This algorithm focuses on the above points and performs the following processing.

(1)処理の基本状態は疑似中間調処理で行い、(2)
像域分離の処理は主走査方向に対して行い、(3)原稿
に向かって右側から順次画素をチエツクし、 ■ 最初に見つかったエツジを文字または線画部分の始
まりと仮定し、 ■ 9項の始まりから2画素以上6画素以内(この画素
数は別の値に設定可能)に終わりが見つかったときは、
始まりかみ終わりまでの区間を二値処理区間として登録
し、見つからなかったときは9項の始まりの仮定をキャ
ンセルし、■ ■と■を繰り返し行って、1主走査ライ
ンについて二値処理区間のデータを得て、(4)  (
3)で得られた二値処理区間データに従って二値画像デ
ータと疑似中間調画像データとの選択信号を圧力し、 (5)  エツジの検出は、処理しようとする画素とそ
の左隣り画素との濃度差があらかじめ設定した値を越え
たときおよび処理する画素が最高または最低濃度になっ
たときにエツジであると定義して行う。
(1) The basic state of processing is pseudo halftone processing, (2)
Image area separation processing is performed in the main scanning direction, (3) Check pixels sequentially from the right side of the document, ■ Assume the first edge found to be the beginning of a character or line drawing part, ■ Follow the steps in Section 9. If the end is found between 2 and 6 pixels from the beginning (this number of pixels can be set to a different value),
Register the interval from the beginning to the end as the binary processing interval, and if it is not found, cancel the assumption of the beginning in section 9, and repeat ■ ■ and ■ to register the data of the binary processing interval for one main scanning line. (4) (
A selection signal between binary image data and pseudo-halftone image data is applied according to the binary processing interval data obtained in step 3). This is done by defining an edge when the density difference exceeds a preset value and when the pixel to be processed has the highest or lowest density.

〔発明の効果〕〔Effect of the invention〕

本発明は、以上説明したように、像域分離アルゴリズム
を用いることにより、自動的に二値画像領域と中間調画
像領域とを識別することができるので、同一頁中に二値
画像と中間調画像とが混在する原稿に対してもそれぞれ
の領域に適応する処理を行える効果がある。
As explained above, the present invention can automatically distinguish between binary image areas and halftone image areas by using the image area separation algorithm. This has the advantage that even for documents containing mixed images, processing can be applied to each area.

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

第1図は、本発明実施例の構成を示すブロック構成図。 第2図は、本発明実施例の動作を示すフローチャート。 1・・・原稿走査部、2・・・像域分離部、3・・・二
値処理部、4・・・疑似中間調処理部、5・・・選択部
、6・・・二値処理用原稿情報信号、7・・・中間調原
稿情報信号。
FIG. 1 is a block configuration diagram showing the configuration of an embodiment of the present invention. FIG. 2 is a flowchart showing the operation of the embodiment of the present invention. DESCRIPTION OF SYMBOLS 1... Original scanning section, 2... Image area separation section, 3... Binary processing section, 4... Pseudo halftone processing section, 5... Selection section, 6... Binary processing 7... Halftone original information signal.

Claims (1)

【特許請求の範囲】 1、二値画像と中間調画像とが同一ページに混在する原
稿を走査して原稿情報信号を生成する原稿走査部と、 上記原稿情報信号に二値画像処理を施して二値画像信号
を生成する二値処理部と、 上記原稿情報信号に中間調画像処理を施して疑似中間調
画像信号を生成する疑似中間調処理部とを備えた画信号
処理装置において、 上記原稿情報信号の二値画像部と中間調画像部とを識別
する識別信号を生成する像域分離部と、上記識別信号に
基づき上記二値画像信号または上記疑似中間調画像信号
を選択する選択部とを備えたことを特徴とする画信号処
理装置。 2、上記像域分離部は、最初に検出したエッジを示す画
素から所定個数の画素以内に再びエッジを示す画素を検
出したときに、この2つの画素で定まる区間を上記二値
画像部とする請求項1記載の画信号処理装置。 3、隣接する画素間との濃度差が設定値を越える画素お
よび濃度があらかじめ設定された限界濃度を越える画素
を上記エッジを示す画素とする請求項1記載の画信号処
理装置。
[Claims] 1. A document scanning unit that scans a document in which a binary image and a halftone image are mixed on the same page to generate a document information signal; and a document scanning unit that performs binary image processing on the document information signal. In an image signal processing device comprising a binary processing section that generates a binary image signal, and a pseudo halftone processing section that performs halftone image processing on the document information signal to generate a pseudo halftone image signal, the document an image area separation unit that generates an identification signal for identifying a binary image portion and a halftone image portion of the information signal; and a selection unit that selects the binary image signal or the pseudo halftone image signal based on the identification signal. An image signal processing device comprising: 2. When the image area separation unit detects a pixel indicating an edge again within a predetermined number of pixels from the first detected pixel indicating an edge, the image area separation unit determines an interval defined by these two pixels as the binary image unit. The image signal processing device according to claim 1. 3. The image signal processing device according to claim 1, wherein a pixel whose density difference between adjacent pixels exceeds a set value and a pixel whose density exceeds a preset limit density are used as pixels indicating the edge.
JP2149289A 1990-06-07 1990-06-07 Image signal processor Pending JPH0440752A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2149289A JPH0440752A (en) 1990-06-07 1990-06-07 Image signal processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2149289A JPH0440752A (en) 1990-06-07 1990-06-07 Image signal processor

Publications (1)

Publication Number Publication Date
JPH0440752A true JPH0440752A (en) 1992-02-12

Family

ID=15471930

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2149289A Pending JPH0440752A (en) 1990-06-07 1990-06-07 Image signal processor

Country Status (1)

Country Link
JP (1) JPH0440752A (en)

Similar Documents

Publication Publication Date Title
JP3276985B2 (en) Image pixel processing method
US7564583B2 (en) Methods and apparatus for reconstructing digitized images
US5852678A (en) Detection and rendering of text in tinted areas
US7346215B2 (en) Apparatus and method for capturing a document
EP0074795A2 (en) Image scanning apparatus and method
US5371610A (en) Image data processing apparatus
US6621944B1 (en) Image reader
US5812695A (en) Automatic typing of raster images using density slicing
US6947595B2 (en) System for processing object areas of an image
JPH0440752A (en) Image signal processor
JPH06334856A (en) Picture processor
JP3725255B2 (en) Digital image processing device
JP3210378B2 (en) Image input device
JPH04313774A (en) Surface removing system for image processor
JPH0548891A (en) Picture area separator
JP2001136394A (en) Picture processor
JP3014257B2 (en) Document reading device
JPH03213057A (en) Picture area identifying device
JPH0795397A (en) Original reader
JPH10108016A (en) Image-processing method
JPH0443765A (en) Picture signal processor
JPH0563970A (en) Picture processor
JP2002204367A (en) Image processor
JPH01197886A (en) Picture signal processor
JPS63180273A (en) Image processor