JPH03214969A - Picture reader - Google Patents

Picture reader

Info

Publication number
JPH03214969A
JPH03214969A JP2011139A JP1113990A JPH03214969A JP H03214969 A JPH03214969 A JP H03214969A JP 2011139 A JP2011139 A JP 2011139A JP 1113990 A JP1113990 A JP 1113990A JP H03214969 A JPH03214969 A JP H03214969A
Authority
JP
Japan
Prior art keywords
data
image
attribute
output
attribute data
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
JP2011139A
Other languages
Japanese (ja)
Inventor
Hiroya Sugawa
須川 寛也
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.)
Minolta Co Ltd
Original Assignee
Minolta Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP2011139A priority Critical patent/JPH03214969A/en
Priority to US07/642,688 priority patent/US5371610A/en
Publication of JPH03214969A publication Critical patent/JPH03214969A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)

Abstract

PURPOSE:To confirm or recognize the content of picture processing by providing a picture processing means applying picture processing based on at least one of designation attribute data and discrimination attribute data, and an output control means outputting a picture data by a prescribed picture element number and an attribute data corresponding to picture elements of the relevant pre scribed number alternately in the case of picture data output. CONSTITUTION:A discrimination attribute data alpha0 obtained by automatic discrim ination of binary attribute and a designation attribute data a0 to control binarizing processing are fed to a data selection section 286 and an output data DSEL0 is decided in response to the data a0. A negative processing section 287 outputs a binarized picture data inputted from a selector 285 when the designation attribute data a1 is logical 0 and outputs an inverted binary picture data when the data a1 is logical 1. In the case of data output from the negative processing section 287, data are outputted in a form of 8-picture element parallel picture data VIDEO1-8.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、原稿を読み取って得た信号に画像処理を施し
た上で、原稿に対応した画像信号を出方する画像読取り
装置に関する. 〔従来の技術〕 従来より、デジタル式の複写機やファクシミリ、OCR
 (光学式文字読取り機)、光ファイリングシステム、
各種ディスプレイ装置などのように、一定の大きさのド
ット(i!素)の組み合わせによって西像の作像、記憶
、表示などを行う装置の画像入力手段として、原稿を画
素に細分化して読み取る画像読取り装置(イメージリー
グ)が用いられている. この種の画像読取り装置では、読み取った画像情報が量
子化されデジタルの画像データとして取り扱われるので
、種々の画像処理を容易に行うことができる.一般には
、画像を明瞭にするエッジ(輪郭)強調、画像を自然な
ものにする平滑化(スムージング)などの画質改善のた
めの画像処理と、画像編集のための画像処理とを行うよ
うに構成されている。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image reading device that performs image processing on a signal obtained by reading a document and outputs an image signal corresponding to the document. [Conventional technology] Conventionally, digital copying machines, facsimile machines, and OCR
(optical character reader), optical filing system,
An image that reads a document by dividing it into pixels as an image input means for devices such as various display devices that create, store, and display images using a combination of dots (i! elements) of a fixed size. A reading device (Image League) is used. In this type of image reading device, the read image information is quantized and treated as digital image data, so various image processing can be easily performed. Generally, it is configured to perform image processing to improve image quality, such as edge enhancement to make the image clearer, smoothing to make the image more natural, and image processing to edit the image. has been done.

画像編集としては、原稿内の特定領域のみを抽出するト
リミング、特定領域を白ぬきとするマスキング、ネガと
ポジとを反転(白黒反転)するリバース、特定色の部分
を他の色に置き換える色変換などが知られている。
Image editing includes trimming to extract only a specific area within a document, masking to whiten out a specific area, reverse to invert the negative and positive (black and white inversion), and color conversion to replace a specific color with another color. etc. are known.

画像編集が可能とされた画像読取り装置では、例えば、
特開昭62−181570号公報に示されているように
、画像処理の内容に対応した属性データを記憶するため
の属性メモリが設けられ、この属性メモリに、原稿を細
かく区分した各区分領域毎の属性データを予め記憶させ
ておき、画像の読取りに合わせてリアルタイムで属性デ
ータに基づく画像処理を実行させるようになっている。
For example, in an image reading device that allows image editing,
As shown in Japanese Unexamined Patent Publication No. 181570/1989, an attribute memory is provided for storing attribute data corresponding to the content of image processing, and this attribute memory stores information for each divided area in which the manuscript is divided into fine sections. Attribute data is stored in advance, and image processing based on the attribute data is executed in real time as the image is read.

これによれば、各区分領域毎に画像処理の内容を指定す
ることができ、複雑多様な画像編集が可能である. ところで、周知のように、原稿の各画素の濃度に応じた
多値データを2値化するための画像処理(以下「2値化
処理」という)においては、再現画像の品質の上から、
一般に、文字などの線画像に対しては、1つの画素の多
値レベルと一定の閾値レベルとを比較するいわゆる単純
2値処理が適し、写真などの中間調画像に対しては、デ
ィザ法や誤差拡散法などによる疑似階調処理が適する。
According to this, the content of image processing can be specified for each segmented area, and complex and diverse image editing is possible. By the way, as is well known, in image processing (hereinafter referred to as "binarization processing") for binarizing multi-valued data according to the density of each pixel of a document, from the quality of the reproduced image,
In general, so-called simple binary processing, which compares the multivalue level of one pixel with a certain threshold level, is suitable for line images such as characters, and dithering and other methods are suitable for halftone images such as photographs. Pseudo gradation processing using error diffusion method is suitable.

したがって、線画像と中間調画像とが混在する原稿を読
み取る場合には、線画像であるか中間調画像であるかと
いう画像の属性(以下「2値化属性」ということがある
)に応じて2値化処理を切り換える必要がある. このような2値化処理の切り換えを自動的に行うために
、従来より、例えば特開昭62−39978号公報など
に示された種々の手法によって2値化属性を判別する判
別手段を組み入れた画像読取り装置がある。なお、色変
換などのカラー編集が可能とされた画像読・取り装置で
は、画像の色の属性を判別する手段が組み込まれている
Therefore, when reading a document that contains a mixture of line images and halftone images, the It is necessary to switch the binarization process. In order to automatically switch the binarization process, discriminating means for discriminating the binarization attribute using various methods disclosed in, for example, Japanese Unexamined Patent Publication No. 62-39978, etc., has been conventionally incorporated. There is an image reading device. Note that an image reading/reading device that is capable of color editing such as color conversion has a built-in means for determining the color attributes of an image.

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

従来の画像読取り装置では、画像処理が施された後の画
像データのみが出力され、画像処理の内容を示す属性デ
ータは出力されない. したがって、オペレータ又は画像データを入力とする各
種装置は、画像読取り装置からの画像データがどのよう
な画像処理を施されたものであるのかを容易に確認又は
認識することができないという問題があった. すなわち、オペレータは、特に2値化処理のように画像
読取り装置の内部での判別結果に基づく画像処理の様子
を確認する場合において、プリンタ又はディスプレイ装
置によって画像データに基づく画像を得た後、この画像
と原稿とを細かく比較観察することにより、間接的に各
区分領域における判別結果に誤りがないか否かをチェッ
クしなければならず、確認作業が甚だ面倒である。
Conventional image reading devices output only image data that has been subjected to image processing, and do not output attribute data that indicates the content of the image processing. Therefore, there is a problem in that an operator or various devices that input image data cannot easily check or recognize what kind of image processing has been performed on the image data from the image reading device. .. That is, especially when checking the state of image processing based on the discrimination results inside the image reading device, such as binarization processing, the operator should check the image data after obtaining the image based on the image data using the printer or display device. By closely comparing and observing the image and the original, it is necessary to indirectly check whether there are any errors in the discrimination results in each segmented area, which is extremely troublesome.

また、例えば画像読取り装置及びホストコンピュータ(
ホスト)からなるOCRでは、ホストは、特に画像デー
タの値が空白部を示す「0」の場合に、その画像データ
がマスキングによる白ぬき部分に対応するのか又は原稿
の空白部に対応するのかを認識する必要があり、この認
識のために画像読取り装置からの画像データを画像メモ
リ上に一旦展開し、画像メモリのアドレス(座標)と画
像編集の指定領域(指定座標)とを対応付けるための座
標演算を行わなければならない。
In addition, for example, an image reading device and a host computer (
In OCR, the host determines whether the image data corresponds to a white part due to masking or a blank part of the original, especially when the value of the image data is "0" indicating a blank part. For this recognition, the image data from the image reading device is once developed on the image memory, and the coordinates are used to associate the address (coordinates) of the image memory with the designated area (designated coordinates) for image editing. calculation must be performed.

本発明は、上述の問題に鑑み、新たな信号出力線を設け
ることなく、画像処理の内容の確認又は認識を可能とし
た画像読取り装置を提供することを目的としている。
SUMMARY OF THE INVENTION In view of the above-mentioned problems, it is an object of the present invention to provide an image reading device that makes it possible to confirm or recognize the content of image processing without providing a new signal output line.

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

本発明は、上述の課題を解決するため、原稿を画素に細
分化して読み取り、得られた信号に画像処理を施し、各
画素に対応した画像データを出力するように構成された
画像読取り装置において、前記原稿を区分した各区分領
域毎に生成された画像処理のための指定属性データを記
憶する属性記憶手段と、前記原稿の読み取りに合わせて
前記区分領域毎に特定の属性の判別を行い、判別属性デ
ータを生成する属性判別手段と、前記指定属性データ及
び前記判別属性データの内の少なくとも一方に基づいて
画像処理を行う画像処理手段と、前記画像データの出力
に際し、所定数の画素分の画像データと当該所定数の画
素に対応した属性データとを交互に出力する出力制御手
段とを備えてなることを特徴として構成される。
In order to solve the above-mentioned problems, the present invention provides an image reading device configured to read a document by dividing it into pixels, perform image processing on the obtained signal, and output image data corresponding to each pixel. , an attribute storage means for storing designated attribute data for image processing generated for each segmented area into which the manuscript is divided; and determining a specific attribute for each segmented area in accordance with reading of the manuscript; an attribute discriminator that generates discriminant attribute data; an image processing means that performs image processing based on at least one of the designated attribute data and the discriminant attribute data; The present invention is characterized by comprising an output control means that alternately outputs image data and attribute data corresponding to the predetermined number of pixels.

〔作 用〕[For production]

属性記憶手段は、原稿を区分した各区分領域毎に生成さ
れた画像処理のための指定属性データを記憶する。
The attribute storage means stores designated attribute data for image processing generated for each divided area of the document.

属性判別手段は、原稿の読み取りに合わせて区分領域毎
に特定の属性の判別を行い、判別属性データを生成する
The attribute determining means determines a specific attribute for each segmented area as the document is read, and generates determined attribute data.

画像処理手段は、指定属性データ及び判別属性データの
内の少な《とも一方に基づいて画像処理を行う。
The image processing means performs image processing based on at least one of the specified attribute data and the discrimination attribute data.

出力制御手段は、原稿を細分化した各画素に対応した画
像データの出力に際し、所定数の画素分の画像データと
当該所定数の画素に対応した画像処理のための属性デー
タとを交互に出力する。
The output control means alternately outputs image data for a predetermined number of pixels and attribute data for image processing corresponding to the predetermined number of pixels when outputting image data corresponding to each pixel of the subdivided document. do.

〔実施例〕〔Example〕

以下、本発明の実施例を図面を参照しつつ説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第2図はイメージリーダ1の概略の構成を示す断面正面
図である. イメージリーダ1には、直方体状の筐体の上面に最大で
A3サイズの原稿が載置可能な原稿台ガラス2が取り付
けられており、載置された原稿は原稿カバー3によって
押さえられるようになっている。原稿台ガラス2の走査
方向の前端部にはシェーディング補正用の白色画像から
なる基準パターン14が設けられている。
FIG. 2 is a cross-sectional front view showing the general configuration of the image reader 1. The image reader 1 has a document table glass 2 attached to the top surface of a rectangular parallelepiped housing, on which a document of up to A3 size can be placed, and the placed document is held down by a document cover 3. ing. A reference pattern 14 made of a white image for shading correction is provided at the front end of the document platen glass 2 in the scanning direction.

筐体の内部には、原稿台ガラス2の下方で原稿画像を矢
印M5方向(副走査方向)に走査可能に配置された光学
系、及び原稿画像の濃度に応じた画像データを生成する
電気回路部12が設けられている。
Inside the casing, there is an optical system arranged to be able to scan the original image in the direction of arrow M5 (sub-scanning direction) below the original platen glass 2, and an electric circuit that generates image data according to the density of the original image. A section 12 is provided.

光学系は、露光ランプ4、反射鏡5、ミラー6を有する
第1スライダ13、ミラー7.8を有する第2スライダ
13a、及び主レンズ9などから構成されている.第1
スライダl3の移動速度をVとしたとき、第2スライダ
13aはv / 2の速度で移動するように駆動制御さ
れる。
The optical system includes an exposure lamp 4, a reflecting mirror 5, a first slider 13 having a mirror 6, a second slider 13a having a mirror 7.8, a main lens 9, and the like. 1st
When the moving speed of the slider l3 is V, the second slider 13a is driven and controlled to move at a speed of v/2.

主レンズ9を通遇した走査光は、支持部材11に取り付
けられたイメージセンサー10に入射し、電気信号に変
換される.イメージセンサー10は、主走査方向に連続
するように配列した複数個のCCDチップにより構成さ
れ、400画素/インチの解像度で原稿の読取りが可能
とされている.各CCDチップには、多数の受光素子が
1列に配列されており、さらに、各受光素子は3つの領
域に分割され、1つの分割領域が、R(レッド)、G(
グリーン)、B(ブルー)の3色の内の1色の光を受光
するように各受光素子の表面に分光フィルターが設けら
れている。1つの受光素子が原稿画像の1つの画素に対
応し、各受光素子から画素の1色に対する反射光強度に
応じた光電変換信号が電気回路部12へ出力される。
The scanning light passing through the main lens 9 is incident on the image sensor 10 attached to the support member 11, and is converted into an electrical signal. The image sensor 10 is composed of a plurality of CCD chips arranged continuously in the main scanning direction, and is capable of reading an original at a resolution of 400 pixels/inch. Each CCD chip has a large number of light-receiving elements arranged in a row, and each light-receiving element is divided into three regions, one divided region being R (red), G (
A spectral filter is provided on the surface of each light-receiving element so as to receive light of one of three colors: green) and B (blue). One light-receiving element corresponds to one pixel of the original image, and each light-receiving element outputs a photoelectric conversion signal to the electric circuit section 12 according to the intensity of reflected light for one color of the pixel.

第1図は電気回路部l2のブロック図である。FIG. 1 is a block diagram of the electric circuit section l2.

電気回路部12は、イメージセンサーIOからの光電変
換信号をR,G,Bの各色の信号に分離して所定の増幅
を行う色分離部21、各色のアナログ信号をA/D変換
(量子化)して8ビットの画像データDm7〜0を出力
するデジタル化処理部22、画像データDm7〜0の主
走査方向の光量むらやイメージセンサーlOのビット間
のバラッキを補正するためのシェーディング補正部23
、2値化属性及び色属性を判別する画像判別部25、濃
度レベル調整や外部接続機器の濃度特性(T特性)に応
じたT変換を行う濃度変換部26、画像編集処理及び2
値化処理を含む画像処理を行う画像処理部28、データ
出力の制御のための出力制御部29、後述の指定属性デ
ータa2〜0を記憶する属性メモリ30、属性データ出
力制御部31、クロック発生回路4l、シェーディング
補正部23から出力される画像データDm17〜10の
1ライン分の記憶を行うラインメモリ24、各部に各種
同期信号を出力する同期信号発生部40、露光ランブ4
の点灯制御を行うランプ制御部4a、走査用のスキャナ
モータ16を駆動するためのドライバ16a、及び、こ
れらの全体を制御するCPυ20などから構成されてい
る。
The electric circuit section 12 includes a color separation section 21 that separates the photoelectric conversion signal from the image sensor IO into R, G, and B color signals and performs predetermined amplification, and A/D conversion (quantization) of the analog signal of each color. ) and outputs 8-bit image data Dm7 to Dm0, and a shading correction unit 23 to correct unevenness in the amount of light in the main scanning direction of the image data Dm7 to Dm0 and variations between bits of the image sensor lO.
, an image discrimination unit 25 that discriminates binarization attributes and color attributes, a density conversion unit 26 that performs density level adjustment and T conversion according to the density characteristics (T characteristics) of externally connected equipment, and an image editing process.
An image processing section 28 that performs image processing including value conversion processing, an output control section 29 for controlling data output, an attribute memory 30 that stores designated attribute data a2 to 0 (described later), an attribute data output control section 31, and a clock generation unit. A circuit 4l, a line memory 24 that stores one line of image data Dm17 to Dm10 output from the shading correction section 23, a synchronization signal generation section 40 that outputs various synchronization signals to each section, and an exposure lamp 4.
The lamp controller 4a controls the lighting of the lamp, a driver 16a that drives the scanner motor 16 for scanning, and a CPυ20 that controls all of these components.

CPU2 0には、処理プログラムを格納したROM2
0a、プログラムの実行に際し、各種フラグやステータ
スデータなどの一時記憶のためのレジスタ20b及びR
AM2 0 cが内蔵されている。
The CPU20 has a ROM2 that stores processing programs.
0a, registers 20b and R for temporary storage of various flags and status data during program execution;
Built-in AM20c.

CPU20は、オペレータによる操作手段を備えた外部
のホスト装置との間で、各種のコマンド(制御命令コー
ドデータ)やイメージリーダ1の動作状態(ステータス
)を示すデータの受渡しのための通信を行い、受信した
コマンドに基づいて、原稿の読み取りに先立って画像編
集や2硫化処理を規定する指定属性データa2〜0を生
成し、これを属性メモリ30に格納する. なお、同期信号発生部40により出力される同期信号と
しては、主走査の1ライン毎に出力される水平同期信号
Hsync,1画素毎のデータ伝送タイミングの基準と
なる画素クロック信号SYNCK,イメージリーダ1か
らのデータ出力の有効期間を示すイネーブル信号VDが
ある.第3図(a)及び(b)は属性メモリ30の構成
を示す図である. 属性メモリ30は、第3図(b)に示されるように、画
像Gを主走査方向及び副走査方向にそれぞれ8画素毎に
区分した8×8のドントマトリクスからなる各区分領域
E毎にCPU20により生成される指定属性データa2
〜0を記憶可能に構成されている。
The CPU 20 communicates with an external host device equipped with operator operation means to exchange various commands (control instruction code data) and data indicating the operating state (status) of the image reader 1. Based on the received command, designated attribute data a2 to a0 specifying image editing and disulphization processing are generated prior to reading the original, and this is stored in the attribute memory 30. Note that the synchronization signals outputted by the synchronization signal generation unit 40 include a horizontal synchronization signal Hsync outputted for each main scanning line, a pixel clock signal SYNCK that serves as a reference for data transmission timing for each pixel, and the image reader 1 There is an enable signal VD indicating the valid period of data output from the . FIGS. 3(a) and 3(b) are diagrams showing the configuration of the attribute memory 30. As shown in FIG. 3(b), the attribute memory 30 uses the CPU 20 for each segmented region E, which is composed of an 8×8 donma matrix obtained by segmenting the image G into 8-pixel units in the main scanning direction and the sub-scanning direction. Specified attribute data a2 generated by
It is configured to be able to store 0 to 0.

イメージリーダ1において、指定属性データaO,al
,a2は、それぞれ2値化処理、ネガポジ反転、トリミ
ングを規定するためのデータである。
In the image reader 1, specified attribute data aO, al
, a2 are data for specifying binarization processing, negative/positive inversion, and trimming, respectively.

第4図は画像判別部25のプロンク図である。FIG. 4 is a Pronk diagram of the image discriminator 25.

画像判別部25は、2値化属性判別部251、色属性判
別部252、及び判別属性データ出力部253などから
なる. 2値化属性判別部251は、区分領域E毎に2値化属性
の判別、すなわち区分領域Eが文字画像?対応するか又
は中間調画像に対応するかを判別し、判別結果を示す1
ビットの判別属性データα0を出力する。また、色属性
判別部252は、区分頷域Eが色編集の対象として指定
された特定色に対応するか否かを判別し、1ビットの判
別属性データα1を出力する。
The image discrimination section 25 includes a binarized attribute discrimination section 251, a color attribute discrimination section 252, a discrimination attribute data output section 253, and the like. The binarization attribute determination unit 251 determines the binarization attribute for each segmented area E, that is, is the segmented area E a character image? 1. Determine whether the image corresponds to a halftone image or a halftone image, and show the determination result 1
Bit discrimination attribute data α0 is output. Further, the color attribute determination unit 252 determines whether or not the classification nod area E corresponds to a specific color designated as a color editing target, and outputs 1-bit determination attribute data α1.

なお、画像判別部25には、区分領域E毎の属性判別を
可能とするために、8ライン分の画像データDm17〜
10を格納するラインメモリ(不図示)が設けられてい
る. 判別属性データα0は、判別対象の区分領域Eが文字画
像に対応する場合にはr■」とされ、中間調画像に対応
する場合には「1」とされる。また、判別属性データα
1は、判別対象の区分領域Eが特定色に対応する場合に
は「1」とされ、特定色以外に対応する場合には「0」
とされる.第5図は画像処理部28のブロック図である
In addition, in order to enable attribute discrimination for each segmented area E, the image discrimination unit 25 includes image data Dm17 to Dm17 for 8 lines.
A line memory (not shown) for storing 10 is provided. The discrimination attribute data α0 is set to "r■" when the segmented area E to be discriminated corresponds to a character image, and is set to "1" when it corresponds to a halftone image. In addition, the discrimination attribute data α
1 is set to "1" when the segmented area E to be determined corresponds to a specific color, and "0" when it corresponds to a color other than the specific color.
It is said that FIG. 5 is a block diagram of the image processing section 28.

画像処理部28は、フィルタリング部281、トリミン
グ・マスキング部282、単純2値化処理部283、疑
領中間調処理部284、データ選択部286、セレクタ
285、及びネガ処理部287などから構成されている
. 画像処理部28には、濃度変換部26から画像データD
m27〜20が画素配列順にシリアルに入力される。入
力された画像データDm27〜20に対しては、先ずフ
ィルタリング部281でエッジ強調及びスムージングな
どの画質改善のための処理が施される。次に指定属性デ
ータa2に従うトリミング・マスキング部282にて、
データa2が「1」のときには、マスキング処理として
強制的に空白部に対応した「0」とされる。データa2
が「0」のときには、そのままトリミング・マスキング
部282から出力される(データスルー)。
The image processing section 28 includes a filtering section 281, a trimming/masking section 282, a simple binarization processing section 283, a halftone processing section 284, a data selection section 286, a selector 285, a negative processing section 287, etc. There is. The image processing unit 28 receives image data D from the density conversion unit 26.
m27 to m20 are input serially in the order of pixel arrangement. The input image data Dm27 to Dm20 are first subjected to processing for improving image quality, such as edge enhancement and smoothing, in the filtering unit 281. Next, in the trimming/masking unit 282 according to the specified attribute data a2,
When the data a2 is "1", it is forcibly set to "0" corresponding to the blank part as a masking process. data a2
When is "0", the data is output as is from the trimming/masking unit 282 (data through).

トリミング・マスキング部282から出力された画像デ
ータは、単純2値化処理部283及び疑領中間調処理部
284でそれぞれ2値化され、2値画像データDA,D
Bとして同時にセレクタ285に入力される. セレクタ285は、データ選択部286からの出力デー
タDSELOに従って2値画像データDA又はDBの一
方を選択して出力する.データ選択部286には、2値
化属性を自動判別して得られる上述の判別属性データα
0とともに、2値化処理を制御するための指定属性デー
タaOが加えられており、このデータaOの値に応じて
出力データDSELOの値が定まる。すなわち、データ
aOが「0」であれば、出力データDSELOとして判
別属性データα0がそのまま出力され、データaOが「
1」であれば、判別属性データα0を反転したデータが
出力される。つまり、画像処理部28では、データaO
が「0」のときには、外部からの2値化処理の指定がデ
フォルトされて画像判別部25による2値化属性の自動
判別に基づいた2値画像データが出力され、データaO
がr1,のときには、2値化属性の自動判別の結果とは
逆の2値化処理を受けた2値画像データが出力されるこ
とになる. ネガ処理部287は、指定属性データa1が「O」であ
れば、セレクタ285から入力された2値画像データを
そのまま出力し、データalが「1」であれば、値を反
転した2値画像データを出力する.ネガ処理部287か
らのデータ出力に際しては、8百素分ずつのパラレルの
西像データV I DEO 1〜8の形で順次出力され
る.なお、画像処理部28には、区分領域E毎の画像判
別を可能とするために、8ライン分の画像データDm2
7〜20を格納する図外のラインメモリ、及び8ビット
のシリアル/パラレル変換手段が設けられている. 第6図は属性データ出力制御部30のブロック図である
. 属性データ出力制御部30は、判別属性データαO.α
1及び指定属性データa2〜0を合わせて5ビットの属
性データa4〜0を出力する合成部301からなる. 属性データa4,a3は、それぞれ判別属性データα0
.α1に対応する. 第7図は出力制御部29のブロック図、第8図は属性デ
ータa4〜0の出力動作を示すタイミングチャートであ
る. 出力制御部29は、信号SYNCKを8分の1に分周し
た信号1/8・Hsyncを出力する分周器401、信
号Hsyncに従って信号VDをラッチするラッチ回路
402、CPU2 0からの出力制御データCO〜1に
応じて出力制御信号SO,S1をそれぞれ出力するセレ
クタ403,404、信号so,siにより出力制御さ
れ、それぞれ画像データV I DEO 1〜8又は属
性データa4〜0を出力データDATAとして選択する
ためのデータラッチ回路405,406などから構成さ
れている. 信号1/8・Hsyncは、データラッチ回路405,
406のクロック端子(CK)に入力され、セレクタ4
04には選択肢入力としてそのまま加えられ、セレクタ
403にはその選択肢入力としてインバータ407で反
転されて加えられ、また、インバータ408を介して出
力同期信号DSYNCとして外部へ出力される. 信号VDがアクティブ(’LJ)になると、分周器40
1、セレクタ403.404からそれぞれ信号1/8 
・HS7nc,So.31が出力され、出力データDA
TAの出力が可能となる.第8図及び第1図をも参照し
つつ、出力データDATAの出力動作を説明する. 原稿の走査が開始されると、1ライン目の先頭の画素に
対応するものから順に画像データDml7〜10が画像
判別部25及び濃度変換部26に入力される. 上述のように、8本のラインに跨がる区分頷域E毎に画
像判別を行うために、画像判別部25には8ライン分の
画像データDm17〜10が格納されるので、8ライン
目までの走査中における画像判別部25の出力は無効デ
ータである.第8図においては、無効データには斜線を
付してある.したがって、信号VDは、9ライン目の走
査開始を示す信号Hsyncに同期して「L」とされ、
画像判別部25からは、9ライン目の先頭の8画素分の
画像データDm17〜lOが入力された時点から以後、
信号1/8・HSyncに同期してlライン目を含む区
分領域已に対応した判別属性データα0.α1が出力さ
れる. 属性メモリ30からは判別属性データα0,α1の出力
にタイミングを合わせて指定属性データa2〜0が出力
される。
The image data output from the trimming/masking section 282 is binarized by a simple binarization processing section 283 and a false halftone processing section 284, respectively, and binary image data DA, D are obtained.
B is simultaneously input to the selector 285. The selector 285 selects and outputs either the binary image data DA or DB according to the output data DSELO from the data selection section 286. The data selection unit 286 includes the above-mentioned discrimination attribute data α obtained by automatically discriminating the binarized attribute.
0 as well as designated attribute data aO for controlling the binarization process, and the value of the output data DSELO is determined according to the value of this data aO. That is, if the data aO is "0", the discrimination attribute data α0 is output as is as the output data DSELO, and the data aO is "0".
1'', data obtained by inverting the discrimination attribute data α0 is output. That is, in the image processing section 28, the data aO
When is "0", the external designation of binarization processing is defaulted, and binary image data based on the automatic discrimination of the binarization attribute by the image discrimination unit 25 is output, and the data aO
When is r1, binary image data that has been subjected to a binarization process that is opposite to the result of automatic discrimination of binarization attributes is output. If the designated attribute data a1 is "O", the negative processing unit 287 outputs the binary image data input from the selector 285 as is, and if the data al is "1", it outputs the binary image data with the values reversed. Output the data. When data is output from the negative processing section 287, it is sequentially output in the form of parallel west image data V I DEO 1 to 8 of 800 elements each. Note that the image processing unit 28 includes 8 lines of image data Dm2 in order to enable image discrimination for each segmented area E.
A line memory (not shown) for storing numbers 7 to 20 and 8-bit serial/parallel conversion means are provided. FIG. 6 is a block diagram of the attribute data output control section 30. The attribute data output control unit 30 outputs the discrimination attribute data αO. α
1 and specified attribute data a2 to 0 to output 5-bit attribute data a4 to 0. Attribute data a4 and a3 are discrimination attribute data α0, respectively.
.. Corresponds to α1. FIG. 7 is a block diagram of the output control section 29, and FIG. 8 is a timing chart showing the output operation of attribute data a4 to a0. The output control unit 29 includes a frequency divider 401 that outputs a signal 1/8·Hsync obtained by dividing the signal SYNCK by 1/8, a latch circuit 402 that latches the signal VD according to the signal Hsync, and output control data from the CPU 20. The output is controlled by the selectors 403 and 404 which respectively output the output control signals SO and S1 according to CO~1, and the signals so and si, and the image data V I DEO 1~8 or the attribute data a4~0 are respectively output as the output data DATA. It consists of data latch circuits 405, 406, etc. for selection. The signal 1/8・Hsync is sent to the data latch circuit 405,
406 clock terminal (CK), selector 4
04 as it is as a selection input, the selection input is inverted by an inverter 407 and added to the selector 403, and is outputted to the outside as an output synchronization signal DSYNC via an inverter 408. When signal VD becomes active ('LJ), frequency divider 40
1. Signal 1/8 from selectors 403 and 404 respectively
・HS7nc, So. 31 is output, and the output data DA
TA output becomes possible. The output operation of the output data DATA will be explained with reference to FIGS. 8 and 1. When scanning of the original is started, image data Dml7 to Dml10 are input to the image discrimination section 25 and the density conversion section 26 in order from those corresponding to the first pixel of the first line. As described above, in order to perform image discrimination for each divisional nod area E spanning eight lines, the image discrimination unit 25 stores eight lines of image data Dm17 to Dm10. The output of the image discriminator 25 during scanning up to this point is invalid data. In Figure 8, invalid data is shaded. Therefore, the signal VD is set to "L" in synchronization with the signal Hsync indicating the start of scanning on the 9th line,
From the time when the image data Dm17 to lO for the first 8 pixels of the 9th line are input from the image discrimination unit 25,
In synchronization with the signal 1/8.HSync, the discrimination attribute data α0. α1 is output. The attribute memory 30 outputs specified attribute data a2-0 in synchronization with the output of the discrimination attribute data α0, α1.

一方、濃度変換部26にて8ドット分の遅延が生じるの
で、画像処理部28には、画像判別部25に対して8ド
ット分遅れて9ライン目の画像データDm27〜20が
入力される.画像処理部28においても上述のように8
ライン分の遅延が生しるので、9ライン目の画像データ
Dm27〜20が入力された時点で、1ライン目の百像
データDm27〜20に対する画像処理が完了すること
となる.さらに、画像処理部28では、シリアル/パラ
レル変換による遅延が生じ、9ライン目の入力時点から
さらに8ドット分遅れて、1ライン目に対応した画像デ
ータVIDEO1〜8が8画素毎にまとめて並列出力さ
れる。
On the other hand, since a delay of 8 dots occurs in the density conversion section 26, the image data Dm27-20 of the 9th line is input to the image processing section 28 with a delay of 8 dots relative to the image discrimination section 25. The image processing unit 28 also processes 8 as described above.
Since a line delay occurs, the image processing for the first line of 100 image data Dm27 to Dm20 is completed when the ninth line of image data Dm27 to Dm20 is input. Furthermore, in the image processing unit 28, a delay occurs due to serial/parallel conversion, and after an additional 8 dots delay from the input point of the 9th line, the image data VIDEO 1 to 8 corresponding to the 1st line are grouped in parallel every 8 pixels. Output.

属性データ出力制御部3lは、画像データVIDEO1
〜8の出力にタイミングを合わせて属性データa4〜0
を出力する。
The attribute data output control unit 3l outputs image data VIDEO1.
Attribute data a4 to 0 in synchronization with the output of ~8
Output.

このように出力された画像データV I DEO 1〜
8及び属性データa4〜0は、それぞれ出力制御部29
のデータラッチ回路405,406により、信号1/8
・Hsyncの立ち上がりのタイミングでラッチされる
.ただし、データラッチ回路405,406では、ラッ
チデータは出力端子(Q)から常時出力されることはな
く、出力は、CPU20からの計2ビットの出力制御デ
ータCO〜1に応じた信号So,SL (アクティブロ
ー)によって制御される. すなわち、出力制御データCo,CIがともに「0」の
場合には、信号SOは「L」 (接地レベル)とされ、
信号S1は’HJ  (V c C l/ヘ71/)と
され、データラッチ回路405が出力可能状態となり、
データラッチ回路4o6゛の出力端子はハイインピーダ
ンス状態となる.これにより、出力制御部29からは、
出力データDATAとして画像データV I DEO 
1〜8が走査順に出力される。
Image data V I DEO 1~ output in this way
8 and attribute data a4 to a0 are each output control unit 29.
The data latch circuits 405 and 406 allow the signal 1/8
-Latched at the rising edge of Hsync. However, in the data latch circuits 405 and 406, the latch data is not always output from the output terminal (Q), and the outputs are the signals So and SL according to the total 2-bit output control data CO~1 from the CPU 20. (active low). That is, when the output control data Co and CI are both "0", the signal SO is set to "L" (ground level),
The signal S1 is set to 'HJ (V c C l/H71/), and the data latch circuit 405 becomes ready for output.
The output terminal of the data latch circuit 4o6' becomes in a high impedance state. As a result, from the output control section 29,
Image data VI DEO as output data DATA
1 to 8 are output in scanning order.

また、出力制御データcoが「1」であり且つ出力制御
データCIが「0」である場合には、信号SO,Slは
、それぞれrH,、「L」とされ、出力データDATA
として属性データa4〜0が順次出力される. さらに、出力制御データCOが「0」であり且つ出力制
御データC1が「1」である場合には、信号SO,Sl
は、信号1/8・Hsyncに応じてrH,又は「L」
とされ、出力データDATAとして画像データV I 
DEO 1〜8と属性データa4〜0とが交互に出力さ
れる. つまり、イメージリーダ1では、ホスト装置からのコマ
ンド指定によって出力制御データCO,C1を設定して
おくことにより、通常どおりに画像データV I DE
O 1〜8を出力させるか、画像編集の領域指定の修正
などのために属性データa4〜0を出力させるか、また
は画像とその属性とを同時に表示させて画像判別の確認
を行うなどのために画像データVIDEO1〜8とこれ
に対応した属性データa4〜0とを交互に出力させると
いうように、出力データDATAの活用目的や受け例の
データ処理形態などに応じて出力の選択が可能である. なお、第8図に示されるように、イメージリーダ1では
、画像データV I DEO 1〜8及び属性データa
4〜0を出力する場合において、両者のデータが画像デ
ータV I DEO 1〜8のみを出力する場合の2分
の1の周期で交互に出力されるので、属性データa4〜
0の出力によって画像データD1〜8の出力時間が延長
することはない.また、属性データa4〜0は画像デー
タVIDEO1〜8と同一の信号線を介して出力され、
属性データa4〜0の出力のために専用の信号線を設け
る必要がない. 次に、第9図〜第18図のフローチャートを参照してイ
メージリーダ1の動作を説明する。
Further, when the output control data co is "1" and the output control data CI is "0", the signals SO and Sl are set to rH and "L", respectively, and the output data DATA
Attribute data a4 to a0 are sequentially output as . Furthermore, when the output control data CO is "0" and the output control data C1 is "1", the signals SO, Sl
is rH or "L" according to the signal 1/8・Hsync
As output data DATA, image data VI
DEO 1-8 and attribute data a4-0 are output alternately. In other words, in the image reader 1, by setting the output control data CO and C1 according to the command specification from the host device, the image data V I DE
O To output 1 to 8, output attribute data a4 to 0 for correcting area designation in image editing, or display the image and its attributes at the same time to confirm image discrimination. The output can be selected depending on the purpose of use of the output data DATA and the data processing format of the received example, such as alternately outputting the image data VIDEO 1 to 8 and the corresponding attribute data a4 to 0. .. Note that, as shown in FIG. 8, in the image reader 1, image data V I DEO 1 to 8 and attribute data a
In the case of outputting 4 to 0, both data are output alternately at half the cycle of the case of outputting only image data V I DEO 1 to 8, so the attribute data a4 to
Outputting 0 does not extend the output time of image data D1 to D8. Further, the attribute data a4-0 are outputted via the same signal line as the image data VIDEO1-8,
There is no need to provide a dedicated signal line for outputting attribute data a4-0. Next, the operation of the image reader 1 will be explained with reference to flowcharts shown in FIGS. 9 to 18.

第9図はCPU20の動作を概略的に示すメインフロー
チャートである. 電源が投入されてプログラムがスタートすると、まず、
ステップ#lで初期設定を行う.ステップ#2において
は、ホスト装置からのコマンドの有無をチェックする。
FIG. 9 is a main flowchart schematically showing the operation of the CPU 20. When the power is turned on and the program starts, first,
Perform initial settings in step #l. In step #2, the presence or absence of a command from the host device is checked.

コマンドが有れば、コマンドの種別を判断し(ステップ
#3)、種別に応じて、読取り処理(ステップ#4)、
読取りモード指定処理(ステップ#5)、属性指定処理
(ステンブ#6)、出力データ指定処理(ステップ#7
)を実行する. その後、その他の処理(ステップ#8)を実行しステッ
プ#2へ戻り、ステップ#2〜ステソプ#8の処理を繰
り返す. 第10図は受信処理のフローチャート、第11図は送信
処理のフローチャートである。
If there is a command, the type of command is determined (step #3), and depending on the type, reading processing (step #4) is performed.
Reading mode specification processing (step #5), attribute specification processing (step #6), output data specification processing (step #7)
). Thereafter, other processing (step #8) is executed, the process returns to step #2, and the processing from step #2 to step #8 is repeated. FIG. 10 is a flowchart of reception processing, and FIG. 11 is a flowchart of transmission processing.

これらのルーチンは割り込みルーチンであり、ホスト装
置からのアクセスに応じて適時実行される。
These routines are interrupt routines and are executed at appropriate times in response to access from the host device.

第10図の受信処理においては、まず、受信した信号の
コード解析(ステップ#1l)を行い、ステップ#l2
でコマンドの受信が確認された場合には、受信したコマ
ンドをレジスタ2Ob内の所定領域に格納する(ステッ
プ#13)。
In the reception process shown in FIG. 10, first, code analysis of the received signal (step #1l) is performed, and step #l2
If reception of the command is confirmed, the received command is stored in a predetermined area in the register 2Ob (step #13).

受信した信号が、ステータスの通知を要求するものであ
れば(ステップ#14)、待機状態やウェイト状態など
のステータスを示すデータをレジスタ20bから読み出
してホスト装置へ送信する.また、受信した信号が予め
定義されているコマンド及びステータス要求の何れにも
対応しない場合には、受信エラーを示すコードデータを
送信する(ステップ#16), 第11図の送信処理においては、前の送信が完了して次
の送信が可能となるのを待ち(ステップ#21)、送信
すべきコードデータをレジスタ20bにセットする(ス
テップ#22).その後、ステップ#23で、続いて送
信すべきコードデータの有無、すなわち送信の要否をチ
ェックし、送信が必要であればステップ#21へ戻る. 第12図は第9図のステップ#1の初期設定のフローチ
ャートである. まず、ステータスとして、読取り走査のための準備の途
中であることを示すrWAITJをセットする。すなわ
ち、レジスタ20b内のステータス用の領域にrWAI
 T,,に対応したデータを格納する(ステンプ#31
), 次に、ステップ#32で、各部が正常に動作するか否か
をチェックするためのセルフテストを行う。
If the received signal requests status notification (step #14), data indicating the status such as standby state or wait state is read from the register 20b and transmitted to the host device. Furthermore, if the received signal does not correspond to any of the predefined commands and status requests, code data indicating a reception error is transmitted (step #16). Waits until the next transmission is possible after completion of the transmission (step #21), and sets the code data to be transmitted in the register 20b (step #22). Thereafter, in step #23, the presence or absence of code data to be subsequently transmitted, that is, whether or not transmission is necessary, is checked, and if transmission is necessary, the process returns to step #21. FIG. 12 is a flowchart of the initial setting of step #1 in FIG. 9. First, rWAITJ is set as a status indicating that preparation for read scanning is in progress. That is, rWAI is stored in the status area in the register 20b.
Store the data corresponding to T, (step #31
), Next, in step #32, a self-test is performed to check whether each part operates normally.

ステップ#33で、異常の有無をチェックし、異常が有
れば、ステップ#37へ移って動作不可コードをホスト
装置へ送信する. 異常が無ければ、ステップ#34へ進み、各部の初期化
を行う。このとき、属性メモリ30に対しては、指定属
性データao,at,a2として「0」が書き込まれる
。したがって、以降において指定属性データa2〜0の
書き換えがなければ、画像処理部28においては、トリ
ミング及びネガボジ反転の画像編集は施されず、且つ2
値化処理は判別属性データα0に基づいて行われること
になる. また、濃度変換部26においては、標準の濃度となるよ
うに設定が行われ、出力制御部29においては、画像デ
ータVIDEO1〜8と属性デ−タa4〜0が交互に出
力されるようにセレクタ403,404の入力が選ばれ
る. これらの初期化の後に、ステップ#35で、第1スライ
ダ13をホーム位置へ移動し、移動が終了すると、ステ
ップ#36で、ステータスを「WAITJから待機状態
を示すrREADY,に変更する. 第13図は上述の読取り処理のフローチャートである. まず、ステータスを読取り中であることを示すrBUs
YJとし(ステップ#41)、露光ランブ4を点灯する
(ステップ#42). 次に、スキャナモータ16をオンし(ステップ#43)
、第1スライダ13がシェーディング位置、つまり基準
パターン14の直下の位置に達するのを待つ(ステップ
#44). 第1スライダl3が基準パターンl4に達すると、シェ
ーディング補正のために基準パターン14を読み取り、
基準画像データ(白色データ)をラインメモリ24に格
納する(ステップ#45).続いて、ステップ#46で
、第1スライダ13が原稿の先端位置に達するのを待ち
、ステップ#47で、同期信号発生部40をオンして同
期信号を出力させる.これにより、同期信号に従って各
部が動作し、上述のように9ライン目の走査開始後に有
効な画像データV I DEO 1〜8及び属性データ
a4〜0が交互に出力される. 原稿の走査の終了、すなわち第1スライダ13が原稿の
後端位置に達するのを待ち(ステップ#48)、同期信
号発生部40をオフし(ステップ#49)、スキャナモ
ータl6を一旦オフし(ステップ#50)、露光ランブ
4を消灯する(ステップ#51). そして、スキャナモータ16を逆転させて両スライダ1
3.13aをリターンさせ(ステップ#52)、第1ス
ライダ13がホーム位置に戻るのを待ち(ステップ#5
3)、スキャナモータ16をオフし(ステップ954L
最後に、ステップ#55でステータスをrREADY.
とする.第14図は第9図のステップ#5の読取りモー
ド指定処理のフローチャートである. ステップ#61で、ステータスをrWAITJとし、ス
テップ#62で、コマンドに含まれているパラメータを
チェックし、パラメータに応じて濃度指定(ステップ#
63)又は出力対象機器の指定などを行うその他の指定
(ステップ#64)を実行する.そして、ステップ#6
5でステータスをrREADY.に戻す。
In step #33, the presence or absence of an abnormality is checked, and if an abnormality is found, the process moves to step #37 and an inoperable code is sent to the host device. If there is no abnormality, the process proceeds to step #34, where each part is initialized. At this time, "0" is written into the attribute memory 30 as designated attribute data ao, at, a2. Therefore, if the designated attribute data a2 to a0 are not rewritten thereafter, the image processing unit 28 will not perform image editing such as trimming and negative/positive reversal, and
The value conversion process will be performed based on the discriminant attribute data α0. Further, in the density conversion section 26, settings are made so that the standard density is obtained, and in the output control section 29, a selector is set so that the image data VIDEO 1 to 8 and the attribute data a4 to 0 are output alternately. Inputs 403 and 404 are selected. After these initializations, in step #35, the first slider 13 is moved to the home position, and when the movement is completed, in step #36, the status is changed from "WAITJ" to rREADY, which indicates a standby state. The figure is a flowchart of the above-mentioned reading process. First, rBUs indicating that the status is being read
YJ (step #41), and expose lamp 4 is turned on (step #42). Next, turn on the scanner motor 16 (step #43).
, waits for the first slider 13 to reach the shading position, that is, the position directly below the reference pattern 14 (step #44). When the first slider l3 reaches the reference pattern l4, the reference pattern 14 is read for shading correction,
The reference image data (white data) is stored in the line memory 24 (step #45). Next, in step #46, the first slider 13 waits for the first slider 13 to reach the leading edge position of the document, and in step #47, the synchronization signal generator 40 is turned on to output a synchronization signal. As a result, each part operates according to the synchronization signal, and as described above, after the start of scanning on the 9th line, valid image data V I DEO 1 to 8 and attribute data a4 to 0 are alternately output. Wait until the scanning of the original is finished, that is, the first slider 13 reaches the rear end position of the original (step #48), turn off the synchronization signal generator 40 (step #49), and turn off the scanner motor l6 ( Step #50), and turn off the exposure lamp 4 (Step #51). Then, the scanner motor 16 is reversed so that both sliders 1
3. Return 13a (step #52) and wait for the first slider 13 to return to the home position (step #5
3) and turn off the scanner motor 16 (step 954L).
Finally, in step #55, the status is changed to rREADY.
Suppose that FIG. 14 is a flowchart of the reading mode designation process in step #5 of FIG. In step #61, the status is set to rWAITJ, and in step #62, the parameters included in the command are checked, and the concentration is specified according to the parameters (step #62).
63) or other specifications such as specifying the output target device (step #64). And step #6
5 to set the status to rREADY. Return to

第15図はステップ#63の濃度指定のフローチャート
である. ステップ#71で、濃度の指定方法が自動であるか否か
をチェックする.指定方法が自動以外であれば、ステッ
プ#74へ移り、そこでオペレータによる指定操作に基
づいてホスト装置から送られるパラメータに応じて濃度
変換部26の設定を行う。
FIG. 15 is a flowchart for specifying density in step #63. In step #71, it is checked whether the density specification method is automatic. If the designation method is other than automatic, the process moves to step #74, where the density conversion unit 26 is set in accordance with the parameters sent from the host device based on the designation operation by the operator.

ステップ#71で自動と判断された場合には、ステップ
#72で原稿の濃度を検知するための予備走査を行い、
ラインメモリ24に順次格納される画像データDm17
 〜10をRAM20cに適時取り込む.そして、ステ
ップ#73でRAM20Cのデータに基づいて原稿の濃
度を検知した後にステップ#74へ進み、検知結果に応
じて濃度変換部26の設定を行う. 第16図は第9図のステップ#6の属性指定処理のフロ
ーチャートである. まず、ステータスをrWAITJとし(ステップ#81
)、指定の正否をチェックする(ステップ#82). 指定が正しくない場合、例えば、読取り範囲外の領域が
指定された場合や座標指定の順序に誤りがある場合には
、ステップ#85へ移ってエラーコードをホスト装!へ
送信する. 指定が正しい場合には、属性メモリ30に対して指定属
性データaO,al,a2の書き込む属性データ書込み
処理を実行し(ステップ#83)、ステータスをrRE
ADY,とする(ステップ#84). 第17図はステップ#83の属性データ書込み処理のフ
ローチャートである. ステップ#9lで、ホスト装置からの指定の種別をチェ
ックし、種別に応じてステップ#92〜ステップ#98
の各処理を実行する. すなわち、2値化属性の自動判別が指定された場合には
、ステップ#92で、指定された区分領域已について、
指定属性データaOを「0」とする. 2値化属性が予め指定された場合には、ステップ#93
で、指定された区分領域已について、指定属性データa
Oを「l」とする. ポジの指定、つまり、白黒反転を行わない旨の指定がな
された場合には、ステップ#94で、指定された区分領
域已について、指定属性データalを「0」とする.こ
れに対して、ネガの指定、つまり、白黒反転を行う旨の
指定がなされた場合には、ステップ#95で、指定され
た区分領域已について、指定属性データalを「1」と
する.トリミングが指定された場合には、ステップ#9
6で、指定された区分領域E以外について、指定属性デ
ータa2を「l」とし、マスキングが指定された場合に
は、ステップ#97で、指定された区分領域Eについて
、指定属性データa2を「1」とする. また、トリミング・マスキング解除が指定された場合に
は、ステップ#98で、指定された区分領域E以外につ
いて、指定属性データa2を「0」に戻す. 第18図は第9図のステップ#7の出力データ指定処理
のフローチャートである。
If automatic is determined in step #71, preliminary scanning is performed to detect the density of the document in step #72.
Image data Dm17 sequentially stored in line memory 24
Load ~10 into RAM20c at the appropriate time. Then, in step #73, the density of the original is detected based on the data in the RAM 20C, and then the process proceeds to step #74, where the density conversion unit 26 is set according to the detection result. FIG. 16 is a flowchart of the attribute specification process in step #6 of FIG. First, set the status to rWAITJ (step #81
), check whether the specification is correct or not (step #82). If the specification is incorrect, for example, if an area outside the reading range is specified or if there is an error in the order of coordinate specification, proceed to step #85 and write the error code to the host device! Send to. If the specification is correct, execute attribute data write processing to write the specified attribute data aO, al, a2 to the attribute memory 30 (step #83), and set the status to rRE.
ADY, (step #84). FIG. 17 is a flowchart of the attribute data writing process in step #83. In step #9l, check the type specified from the host device, and step #92 to step #98 according to the type.
Execute each process. That is, when automatic discrimination of binarization attributes is specified, in step #92, for the specified segmented area,
Set the specified attribute data aO to "0". If the binarization attribute is specified in advance, step #93
Then, for the specified segmented area, the specified attribute data a
Let O be "l". If a positive designation, that is, a designation not to perform black and white reversal, is made, in step #94, the designated attribute data al is set to "0" for the designated segmented area. On the other hand, if a negative designation, that is, a designation to perform black and white reversal, is made, in step #95, the designated attribute data al is set to "1" for the designated segmented area. If trimming is specified, step #9
In Step #6, the designated attribute data a2 is set to "l" for areas other than the designated segmented area E, and if masking is specified, the designated attribute data a2 is set to "l" for the designated segmented area E in step #97. 1”. If trimming/unmasking is specified, in step #98, the specified attribute data a2 is returned to "0" for areas other than the specified segmented area E. FIG. 18 is a flowchart of the output data designation process in step #7 of FIG.

このルーチンでは、最初にステップ#101で出力デー
タDATAの種別をチェックし、種別に応じて、ステッ
プ#102〜ステップ#l04の処理を行う。
In this routine, the type of output data DATA is first checked in step #101, and steps #102 to #104 are performed depending on the type.

画像データV I DEO 1〜8のみの出力が選択さ
れた場合には、ステップ#l02で、出力制御データC
O,CIをともに「0」とする.属性データa4〜0の
みの出力が選択された場合には、ステップ#103が実
行され、出力制御データCOは「1」とされ、出力制御
データC1は「0」とされる. また、画像データVIDEO1〜8及び属性データa4
〜0の双方の出力が選択された場合には、ステップ#l
04で、出力制御データCOは「0」とされ、出力制御
データCIは「1」とされる. 上述の実施例によれば、2値化属性の判別結果に対応し
た判別属性データα0が出力されるので、ホスト装置に
て文字認識を行う場合には、判別属性データα0に基づ
いて、文字画像に対応する区分領域Eのみについて認識
処理を実行することができ認識効率が向上する.また、
イメージリーダ1をファイリングシステムやファクシミ
リの画像読取り手段として用いる場合には、判別属性デ
ータα0に基づいて、画像データVIDEO1〜8に対
して線画像又は中間調画像のそれぞれに遺したデータ圧
縮などのデータ処理を施すことが可能となる. 〔発明の効果〕 本発明によれば、新たな信号出力線を設けることなく、
画像データに対して施された画像処理の内容の確認又は
認識が可能となる.
If output of only image data V I DEO 1 to 8 is selected, in step #l02, output control data C
Both O and CI are set to ``0''. If the output of only attribute data a4 to a0 is selected, step #103 is executed, the output control data CO is set to "1", and the output control data C1 is set to "0". In addition, image data VIDEO 1 to 8 and attribute data a4
If both outputs of ~0 are selected, step #l
At 04, the output control data CO is set to "0" and the output control data CI is set to "1". According to the embodiment described above, the discrimination attribute data α0 corresponding to the discrimination result of the binarized attribute is output, so when character recognition is performed on the host device, the character image is determined based on the discrimination attribute data α0. Recognition processing can be performed only on the segmented area E corresponding to , which improves recognition efficiency. Also,
When the image reader 1 is used as a filing system or facsimile image reading means, data such as data compression left in each line image or halftone image for image data VIDEO 1 to VIDEO 8 is extracted based on the discrimination attribute data α0. It becomes possible to perform processing. [Effects of the Invention] According to the present invention, without providing a new signal output line,
It becomes possible to confirm or recognize the details of image processing performed on image data.

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

第1図は本発明に係る電気回路部のブロック図、第2図
はイメージリーダの概略の構成を示す断面正面図、第3
図は属性メモリの構成を示す図、第4図は画像判別部の
ブロック図、第5図は画像処理部のブロック図、第6図
は属性データ出力制御部のブロック図、第7図は出力制
御部のブロノク図、第8図は属性データの出力動作を示
すタイミングチャート、第9図〜第18図はイメージリ
ーグの動作を示すフローチャートである.1・・・イメ
ージリーグ(Ii像読取り装置)、25・・・画像判別
部(属性判別手段)、28・・・画像処理部(画像処理
手段)、29・・・出力制御部(出力制御手段)、30
・・・属性メモリ(属性記憶手段)、a O,  a 
1,  a 2−・・指定属性テータ、a4〜0・・・
属性データ、 αO,α1・・・判別属性データ、 V I DEO 1〜8・・・画像データ、Dm27〜
20・・・画像データ E・・・区分領域である. (信号)、
FIG. 1 is a block diagram of an electric circuit section according to the present invention, FIG. 2 is a cross-sectional front view showing a schematic configuration of an image reader, and FIG.
The figure shows the configuration of the attribute memory, Figure 4 is a block diagram of the image discrimination unit, Figure 5 is a block diagram of the image processing unit, Figure 6 is a block diagram of the attribute data output control unit, and Figure 7 is the output A Bronok diagram of the control section, FIG. 8 is a timing chart showing the output operation of attribute data, and FIGS. 9 to 18 are flow charts showing the operation of the image league. DESCRIPTION OF SYMBOLS 1... Image league (Ii image reading device), 25... Image discrimination part (attribute discrimination means), 28... Image processing part (image processing means), 29... Output control part (output control means) ), 30
...Attribute memory (attribute storage means), a O, a
1, a 2-...Specified attribute data, a4~0...
Attribute data, αO, α1...Discrimination attribute data, VI DEO 1-8...Image data, Dm27-
20...Image data E...It is a segmented area. (signal),

Claims (1)

【特許請求の範囲】[Claims] (1)原稿を画素に細分化して読み取り、得られた信号
に画像処理を施し、各画素に対応した画像データを出力
するように構成された画像読取り装置において、 前記原稿を区分した各区分領域毎に生成された画像処理
のための指定属性データを記憶する属性記憶手段と、 前記原稿の読み取りに合わせて前記区分領域毎に特定の
属性の判別を行い、判別属性データを生成する属性判別
手段と、 前記指定属性データ及び前記判別属性データの内の少な
くとも一方に基づいて画像処理を行う画像処理手段と、 前記画像データの出力に際し、所定数の画素分の画像デ
ータと当該所定数の画素に対応した属性データとを交互
に出力する出力制御手段と を備えてなることを特徴とする画像読取り装置。
(1) In an image reading device configured to read a document by dividing it into pixels, perform image processing on the obtained signal, and output image data corresponding to each pixel, each segmented area into which the document is divided. Attribute storage means for storing designated attribute data for image processing generated in each case; and Attribute determination means for determining a specific attribute for each of the divided areas in accordance with reading of the document and generating discriminating attribute data. and an image processing unit that performs image processing based on at least one of the specified attribute data and the discrimination attribute data, and when outputting the image data, image data for a predetermined number of pixels and the predetermined number of pixels are An image reading device comprising: output control means for alternately outputting corresponding attribute data.
JP2011139A 1990-01-19 1990-01-19 Picture reader Pending JPH03214969A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2011139A JPH03214969A (en) 1990-01-19 1990-01-19 Picture reader
US07/642,688 US5371610A (en) 1990-01-19 1991-01-17 Image data processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011139A JPH03214969A (en) 1990-01-19 1990-01-19 Picture reader

Publications (1)

Publication Number Publication Date
JPH03214969A true JPH03214969A (en) 1991-09-20

Family

ID=11769689

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011139A Pending JPH03214969A (en) 1990-01-19 1990-01-19 Picture reader

Country Status (1)

Country Link
JP (1) JPH03214969A (en)

Similar Documents

Publication Publication Date Title
US5371610A (en) Image data processing apparatus
US6228125B1 (en) Image processing apparatus for parallel image processing and method therefor
US6028966A (en) Image reading apparatus and method including pre-scanning
JPH03214969A (en) Picture reader
JPH03214965A (en) Picture reader
JPH03214967A (en) Picture reader
JPH03214970A (en) Picture reader
JP2557480B2 (en) Color image processor
JPH01157172A (en) Color image processor
US6055007A (en) Image processing device and image reading device
JP3358133B2 (en) Image processing device
JPH02295351A (en) Picture processing system
JP2926710B2 (en) Image processing device
JP2656561B2 (en) Color image processing equipment
JP2958407B2 (en) Image processing device
JP2557481B2 (en) Color image processor
JPH0241067A (en) Color picture processing unit
JPH05268479A (en) Picture reader and picture processing method in picture reader
JP3302010B2 (en) Control method of electronic equipment
JP2886870B2 (en) Document reading device
JPH07254981A (en) Data managing device for image magnifying processor
JPH05199404A (en) Variable enlargement processing method for image reader
JP2783739B2 (en) Drop-out color adjustment method
JPH09261448A (en) Image processor
JPH02296265A (en) image processing system