JPH03219776A - Picture signal processor - Google Patents

Picture signal processor

Info

Publication number
JPH03219776A
JPH03219776A JP2013483A JP1348390A JPH03219776A JP H03219776 A JPH03219776 A JP H03219776A JP 2013483 A JP2013483 A JP 2013483A JP 1348390 A JP1348390 A JP 1348390A JP H03219776 A JPH03219776 A JP H03219776A
Authority
JP
Japan
Prior art keywords
converter
image
density
histogram
sensor
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
JP2013483A
Other languages
Japanese (ja)
Inventor
Yuji Hayata
裕治 早田
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 JP2013483A priority Critical patent/JPH03219776A/en
Publication of JPH03219776A publication Critical patent/JPH03219776A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain a proper multi-level processing in response to the density distribution of an original picture by forming a density histogram from an analog electric signal representing picture information and selecting a read density range of the picture from the histogram. CONSTITUTION:A light from an LED array 23 is reflected in an original S and radiates to a sensor 22 via a rod lens array 21. The sensor 22 generates an output in response to the radiating light and inputs it to an A/D converter 203 via an amplifier 202. The converter 203 compares an output of the amplifier 202 with a reference value set initially and converts the result into an 8-bit digital value. The converted picture data is stored in a RAM 209 and a CPU 207 generates a histogram. When the read picture data does not appear a reference level B0 being a bright level as shown in separate figure, a level of a 2nd D/A converter 205 is reset from B0 to Dx (in this case B2) so that the density range from A0 to B2 is able to be converted into an 8-bit digital value by the converter 203.

Description

【発明の詳細な説明】 〔産業上の利用分野] 本発明は、画像信号処理装置に関するものである。[Detailed description of the invention] [Industrial application field] The present invention relates to an image signal processing device.

〔従来の技術] 従来、原稿画像をイメージセンサにより画素単位でサン
プリングし、該サンプリングされた出力を制御部で多値
化処理を行なう画像信号処理装置においては、該制御部
において、アナログ/デジタル変換器(以下A/D変換
器と称す)等により、イメージセンサ出力と基準電圧と
を比較し、定められた濃度の範囲内で多値化処理を行な
うように構成されている。
[Prior Art] Conventionally, in an image signal processing device in which a document image is sampled pixel by pixel by an image sensor and the sampled output is subjected to multi-value processing in a control unit, analog/digital conversion is performed in the control unit. The image sensor output is compared with a reference voltage using an A/D converter (hereinafter referred to as an A/D converter), and multi-value processing is performed within a predetermined density range.

2)前記濃度範囲の設定を行うに際して、前記設定手段
は前記基準比較電圧を制御することを特徴とする請求項
1に記載した画像信号処理装置。
2) The image signal processing apparatus according to claim 1, wherein the setting means controls the reference comparison voltage when setting the density range.

[発明が解決しようとする課題] しかしながら、このように構成された装置においては、
原稿画像がある濃度を中心に片寄った濃度分布をもって
いた場合にも、常に一定濃度範囲において多値化処理を
行なう為、原稿画像を十分な階調をもった信号として読
取れないという欠点があった。
[Problem to be solved by the invention] However, in the device configured in this way,
Even if the original image has a skewed density distribution centered around a certain density, multi-value processing is always performed within a certain density range, so there is a drawback that the original image cannot be read as a signal with sufficient gradation. Ta.

また、原稿画像の地肌と文字等などの濃度差がそれほど
無い場合、多値化処理された時に地肌と文字等の区別が
認識し難いという欠点があった。
Furthermore, if there is not much difference in density between the background of the original image and the characters, etc., there is a drawback that it is difficult to distinguish between the background and the characters when multi-value processing is performed.

よって本発明の目的は、原稿の濃度分布に応じて適切な
多値化処理を可能とした画像信号処理装置を提供するこ
とにある。
SUMMARY OF THE INVENTION Therefore, it is an object of the present invention to provide an image signal processing device that enables appropriate multi-value processing depending on the density distribution of a document.

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

本発明に係る画像信号処理は、画像アナログ信号を入力
し、該アナログ信号と基準比較電圧との比較を行うこと
によりデジタル信号を得る変換手段と、前記デジタル信
号に基づいて濃度ヒストグラムを形成する演算手段と、
前記濃度ヒストグラムを参照して画像の読み取り濃度範
囲を設定する設定手段とを備えたものである。
The image signal processing according to the present invention includes a conversion means that receives an image analog signal and obtains a digital signal by comparing the analog signal with a reference comparison voltage, and an operation that forms a density histogram based on the digital signal. means and
and setting means for setting an image reading density range with reference to the density histogram.

〔作 用J 本発明によれば、画像情報を表すアナログ電気信号から
濃度ヒストグラムを形成し、該1度ヒストグラムから画
像の読み取り濃度範囲を選択することにより、原稿画像
に対する最適濃度範囲を設定することができる。
[Function J] According to the present invention, a density histogram is formed from an analog electrical signal representing image information, and the optimum density range for the original image is set by selecting the reading density range of the image once from the histogram. I can do it.

〔実施例〕〔Example〕

以下に、図面を参照して本発明の一実施例を詳細に説明
する。
An embodiment of the present invention will be described in detail below with reference to the drawings.

第1図は、本発明を適用した原稿画像読取装置の断面構
成図である。画像読取装置1は、第1図に示すように、
機体2内に密着型イメージセンサ3(21:ロッドレン
ズアレイ、23:LEDアレイ、22:センサ)を有し
ており、かっ該センサ3の下側にシート原稿Sを該セ、
ンサ3へ押圧する読取ローラ5を有している。そして、
該読取センサ3の下流には、シート排出装置6が配設さ
れており、該排出装置6は、反転路12の内側案内面を
構成する排紙ローラ9と、該ローラ9に当接してシート
Sを挟持・排出する板バネにより構成された可撓性挾持
板10とを有している。
FIG. 1 is a cross-sectional configuration diagram of a document image reading device to which the present invention is applied. The image reading device 1, as shown in FIG.
The body 2 has a contact type image sensor 3 (21: rod lens array, 23: LED array, 22: sensor), and a sheet document S is placed under the sensor 3.
It has a reading roller 5 that presses against the sensor 3. and,
A sheet discharging device 6 is disposed downstream of the reading sensor 3, and the discharging device 6 includes a sheet discharging roller 9 that constitutes the inner guide surface of the reversing path 12, and a sheet discharging roller 9 that comes into contact with the roller 9. It has a flexible clamping plate 10 made of a plate spring that clamps and discharges S.

また、該挟持板10の水平方向の機体2には、排紙口1
1が開設されており、更に前記排紙ローラ9の上方の機
体には、排紙口13が開設されている。
Further, a paper ejection port 1 is provided in the machine body 2 in the horizontal direction of the holding plate 10.
1 is opened, and furthermore, a paper discharge port 13 is opened in the body above the paper discharge roller 9.

まず、第1図および第2図に示したブロック図を用いて
、原稿画像読取装置の動作を説明する。
First, the operation of the document image reading device will be explained using the block diagrams shown in FIGS. 1 and 2.

本実施例による原稿読取装置(以下、スキャナーと称す
)は、常に外部装置(デジタルプリンタ。
The document reading device (hereinafter referred to as a scanner) according to this embodiment is always an external device (digital printer).

パーソナルコンビエータ−等)と接続されており、これ
ら外部装置とのコントロール信号の通信や外部装置への
画像出力は、インターフェイス回路210を介して行な
われる。
communication of control signals with these external devices and image output to the external devices are performed via the interface circuit 210.

CPU207は、あらかじめ第1のD/Aコンバータ2
08(暗レベル基準値用):!3よび第2のD/Aコン
バータ205(明レベル基準値用)に制御信号を出力し
て、初期設定をしておく。この状態で外部装置より原稿
読取り開始指令が入力されると、シート原稿Sが上流よ
り搬送され、モータ(図示せず)からの回転を駆動ギア
(図示せず)を介して伝達される読取ローラ5と、読取
センサ3とに挾持されて排紙ローラ9へ搬送される。
The CPU 207 has the first D/A converter 2 in advance.
08 (for dark level reference value):! 3 and the second D/A converter 205 (for bright level reference value) to perform initial settings. When a document reading start command is input from an external device in this state, the sheet document S is conveyed from upstream, and rotation from a motor (not shown) is transmitted to the reading roller through a drive gear (not shown). 5 and the reading sensor 3 and conveyed to the paper discharge roller 9.

その際、読取センサ3内のセンサ22によって読取られ
た画像アナログ信号は、増幅器202によって増幅され
、A/Dコンバータ203に入力される。
At this time, the image analog signal read by the sensor 22 in the reading sensor 3 is amplified by the amplifier 202 and input to the A/D converter 203.

AIDコンバータ203では、画像信号が8ビツトのデ
ジタル信号に変換される。このデジタル信号は2値化回
路204に供給され、CPU207により算出された2
値化しきい値で8ビツトのデジタル画像信号が2値化処
理され、1ビツトのデジタル画像信号に変換される。
The AID converter 203 converts the image signal into an 8-bit digital signal. This digital signal is supplied to the binarization circuit 204, and the 2
The 8-bit digital image signal is binarized using the digitization threshold and converted into a 1-bit digital image signal.

206はセレクタであり、CPU207がら出力される
制御信号により、8ビツトの多値デジタル画像信号と1
ビツトの2値化処理されたデジタル画像信号のいずれか
一方を選択し、インターフェイス回路210を介して、
外部装置に出力する。
206 is a selector which selects an 8-bit multi-value digital image signal and a 1-bit digital image signal according to a control signal output from the CPU 207
Select either one of the bit binarized digital image signals and send it to the interface circuit 210.
Output to external device.

次に、本実施例の動作を第2図、第3図(a)〜第3図
(d)、第4図を用いて説明する。
Next, the operation of this embodiment will be explained using FIG. 2, FIG. 3(a) to FIG. 3(d), and FIG. 4.

第4図は、本実施例におけるA/Dコンバータ203の
基準値を設定する為の処理手順を示したフローチャート
である。
FIG. 4 is a flowchart showing the processing procedure for setting the reference value of the A/D converter 203 in this embodiment.

第4図において、ステップ401で、CPU207から
第1のD/Aコンバータ208(暗レベル基準電圧用)
、第2のD/Aコンバータ205(明レベル基準電圧用
)にあらかじめ定められている基準値(AO:反射率0
%の値、Bo:反射率100%の値)を設定する。
In FIG. 4, in step 401, the CPU 207 connects the first D/A converter 208 (for dark level reference voltage).
, a reference value (AO: reflectance 0) predetermined in the second D/A converter 205 (for bright level reference voltage)
% value, Bo: value of 100% reflectance).

続いてステップ402により、まずLEDアレイ23の
光が原稿Sで反射され、ロッドレンズアレイ21を介し
てセンサ22に照射される。
Subsequently, in step 402, the light from the LED array 23 is first reflected by the document S, and is irradiated onto the sensor 22 via the rod lens array 21.

該センサ22は、照射された光に応じた出力を発生し、
増幅器202を介してA/Dコンバータ203に入力さ
れる。
The sensor 22 generates an output according to the irradiated light,
The signal is input to an A/D converter 203 via an amplifier 202.

A/Dコンバータ203は、増幅器202の出力と初期
設定された基準値とを比較し、8ビツトのデジタル値に
変換する。変換された画像データは、ステップ403に
より、RAM209に記憶され、CPU207でヒスト
グラムを作成する。
The A/D converter 203 compares the output of the amplifier 202 with an initially set reference value and converts it into an 8-bit digital value. The converted image data is stored in the RAM 209 in step 403, and the CPU 207 creates a histogram.

次に、ステップ404および405について具体的な説
明を行う。
Next, steps 404 and 405 will be specifically explained.

いま、読み取られた画像データのヒストグラムが第3図
(b)のように明レベルの基準値B0まで現われない場
合には、第2のD/Aコンバータ205の値を8゜−4
88(ここではB、)に再設定し、八〇から82の濃度
範囲が8ビツトのデジタル値にA/Dコンバータ203
で変換できるようにする。
Now, if the histogram of the read image data does not appear up to the bright level reference value B0 as shown in FIG.
88 (in this case, B), and the concentration range from 80 to 82 is converted to an 8-bit digital value by the A/D converter 203.
Make it possible to convert with .

また、第3図(c)のように、読み取られた画像データ
が、暗レベルの基準個人〇まで現われない場合には、第
1のD/Aコンバータ208の値をAo−A−(ここで
はA、)に再設定し、A3から80の濃度範囲を8ビツ
トのデジタル値に変換する。
Further, as shown in FIG. 3(c), when the read image data does not appear up to the dark level reference individual 0, the value of the first D/A converter 208 is changed to Ao-A- (here, A, ) and convert the density range from A3 to 80 into an 8-bit digital value.

同様に、第3図(d)の場合にも、明レベルの基準値B
0→B4.暗レベルの基準値A0→A4に変更する事で
、A/D変換範囲を選択する事ができる。
Similarly, in the case of FIG. 3(d), the bright level reference value B
0→B4. By changing the dark level reference value from A0 to A4, the A/D conversion range can be selected.

他pす11例 前記実施例においては、発生する全ての濃度範囲におい
てA/D変換できるような構成をとったが、第3図(a
)に示した濃度ヒストグラムのように、地肌と文字等の
みで構成されているような画像に関しては、地肌と文字
等の閾値付近に基準値(AO−’AI、 BO−’Bl
)を設定してやる事により、地肌に対する文字等の識別
を容易にする事ができる。
Other Examples 11 In the above embodiment, a configuration was adopted in which A/D conversion could be performed in all the density ranges that occur.
) As shown in the density histogram shown in Figure 2, for an image consisting only of the background and characters, reference values (AO-'AI, BO-'Bl) are set near the thresholds of the background and characters.
), it is possible to easily identify characters, etc. against the background.

[発明の効果] 以上説明したように本発明によれば、画像情報を表すア
ナログ電気信号から濃度ヒストグラムを形成し、該ヒス
トグラムから画像の読み取り濃度範囲を選択することが
できるので、原稿画像に対する最適濃度範囲を設定し、
原稿画像の濃度分布に応じた適切な多値化処理が可能と
なる。
[Effects of the Invention] As explained above, according to the present invention, a density histogram is formed from an analog electrical signal representing image information, and the reading density range of an image can be selected from the histogram. Set the concentration range,
Appropriate multivalue processing according to the density distribution of the original image becomes possible.

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

第1図は本発明の一実施例による画像読取装置の断面構
成図、 第2図は本画像読取装置のブロック図、第3図(a)〜
第3図(d)はそれぞれ濃度ヒストグラムの一例を示す
線図、 第4図は本実施例の動作を示すフローチャートである。 l・・・画像読取装置、 2・・・機体、 3・・・密着型イメージセンサ、 5・・・読取ローラ、 6・・・シート排出装置、 9・・・排紙ローラ、 lO・・・挟持板、 11・・・排紙口、 12・・・反転路、 13・・・排紙口、 21・・・ロッドレンズ、 22・・・センサ、 23・・・LEDアレイ、 202・・・増幅器、 203・・・A/Dコンバータ、 204・・・2値化回路、 205・・・D/Aコンバータ(B)(明レベル基準値
用)、 206・・・セレクタ、 207・・・CPU、 ・・・D/A コンバータ(A) (暗レベル基準値 用) ・・・RAM ・・・I/F回路。 第 図
FIG. 1 is a cross-sectional configuration diagram of an image reading device according to an embodiment of the present invention, FIG. 2 is a block diagram of the image reading device, and FIGS.
FIG. 3(d) is a diagram showing an example of a density histogram, and FIG. 4 is a flowchart showing the operation of this embodiment. 1... Image reading device, 2... Machine body, 3... Contact type image sensor, 5... Reading roller, 6... Sheet ejecting device, 9... Paper ejecting roller, lO... Holding plate, 11... Paper discharge port, 12... Reverse path, 13... Paper discharge port, 21... Rod lens, 22... Sensor, 23... LED array, 202... Amplifier, 203... A/D converter, 204... Binarization circuit, 205... D/A converter (B) (for bright level reference value), 206... Selector, 207... CPU , ...D/A converter (A) (for dark level reference value) ...RAM ...I/F circuit. Diagram

Claims (1)

【特許請求の範囲】 1)画像アナログ信号を入力し、該アナログ信号と基準
比較電圧との比較を行うことによりデジタル信号を得る
変換手段と、 前記デジタル信号に基づいて濃度ヒストグラムを形成す
る演算手段と、 前記濃度ヒストグラムを参照して画像の読み取り濃度範
囲を設定する設定手段と を備えたことを特徴とする画像信号処理装置。 2)前記濃度範囲の設定を行うに際して、前記設定手段
は前記基準比較電圧を制御することを特徴とする請求項
1に記載した画像信号処理装置。
[Scope of Claims] 1) Conversion means for obtaining a digital signal by inputting an image analog signal and comparing the analog signal with a reference comparison voltage; and a calculation means for forming a density histogram based on the digital signal. An image signal processing apparatus comprising: a setting means for setting an image reading density range by referring to the density histogram. 2) The image signal processing apparatus according to claim 1, wherein the setting means controls the reference comparison voltage when setting the density range.
JP2013483A 1990-01-25 1990-01-25 Picture signal processor Pending JPH03219776A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013483A JPH03219776A (en) 1990-01-25 1990-01-25 Picture signal processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013483A JPH03219776A (en) 1990-01-25 1990-01-25 Picture signal processor

Publications (1)

Publication Number Publication Date
JPH03219776A true JPH03219776A (en) 1991-09-27

Family

ID=11834364

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013483A Pending JPH03219776A (en) 1990-01-25 1990-01-25 Picture signal processor

Country Status (1)

Country Link
JP (1) JPH03219776A (en)

Similar Documents

Publication Publication Date Title
US5339172A (en) Apparatus and method for segmenting an input image in one of a plurality of modes
EP1505821B1 (en) Image processing apparatus, an image forming apparatus and an image processing method
US5327262A (en) Automatic image segmentation with smoothing
JP3327617B2 (en) Image processing apparatus using halftone adaptive scanning to obtain good printable images
JPS5810966A (en) Method of determining optimum threshold value for processing threshold of image element and adaptive threshold processor
JPS6138902B2 (en)
EP0868072A2 (en) Shading correction for an image scanner
CA2090581A1 (en) Image processing method and apparatus
JPH1056569A (en) Image processing method and device therefor
KR0181129B1 (en) Image processing apparatus
US5960121A (en) Image processing apparatus for reducing image noise
US6707951B1 (en) Halftone dot image discrimination method and image processing device
JPH03219776A (en) Picture signal processor
US6947595B2 (en) System for processing object areas of an image
JPH0766975A (en) Image forming device
JP4123149B2 (en) Image processing device
JPH0766974A (en) Image forming device
JPS61225975A (en) Conversion to binary signal
JP2718718B2 (en) Image reading device
JP2622388B2 (en) Binarization processing circuit
JPH10322554A (en) Image reader, image processing method in image reader and storage medium
JP2897351B2 (en) Marker removal device
JP2003060917A (en) Image processor, image processing method, program and storage medium
JPH0785265A (en) Image reader
JPH01212176A (en) Color picture forming device