JPH04310071A - Picture reader - Google Patents

Picture reader

Info

Publication number
JPH04310071A
JPH04310071A JP3076191A JP7619191A JPH04310071A JP H04310071 A JPH04310071 A JP H04310071A JP 3076191 A JP3076191 A JP 3076191A JP 7619191 A JP7619191 A JP 7619191A JP H04310071 A JPH04310071 A JP H04310071A
Authority
JP
Japan
Prior art keywords
image
signal
frame
circuit
light amount
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
JP3076191A
Other languages
Japanese (ja)
Inventor
Makoto Endo
誠 遠藤
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 JP3076191A priority Critical patent/JPH04310071A/en
Publication of JPH04310071A publication Critical patent/JPH04310071A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain binarization at an optimum exposure through the use of an optimum slice level independently whether the picture read density is set automatically or manually. CONSTITUTION:This reader is provided with a halogen lamp 7 to expose an original, a line sensor 13 to read the exposed original picture, a binarization circuit 31 binarizing a picture signal from the line sensor 13, a detection signal generating circuit 34 to detect a frame of an original picture and a CPU 25 controlling the light quantity of the halogen lamp 7. A slice level of the binarizing circuit 31 is decided based on a photometry value obtained by the preliminary scanning before the main scanning for read of the original picture and a value representing the light quantity in the main scanning.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、画像読取装置、特に画
像の周辺部に枠のある画像を読み取り処理する画像処理
装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image reading apparatus, and more particularly to an image processing apparatus for reading and processing an image having a frame around the periphery of the image.

【0002】0002

【従来の技術】従来、ネガ画像を有するマイクロフィル
ムは、図19(A)のように、マイクロフィルムFのコ
マf内にネガ画像が記録されており、各コマfの周辺が
透明になっている。このマイクロフィルムFをネガポジ
反転の情報記録装置でプリントアウトすると、コマfの
周辺の透明部分が現像される。その結果、転写材Pには
図19(B)に示すように、画像領域Gの周囲にベタ黒
状の枠Bがプリントされ、プリント画像の美観を損ねる
だけでなく、トナー消費量を増大させるという問題があ
った。
BACKGROUND OF THE INVENTION Conventionally, in a microfilm having a negative image, a negative image is recorded in a frame f of a microfilm F, and the periphery of each frame f becomes transparent, as shown in FIG. 19(A). There is. When this microfilm F is printed out using a negative/positive reversal information recording device, the transparent portion around the frame f is developed. As a result, as shown in FIG. 19(B), a solid black frame B is printed on the transfer material P around the image area G, which not only spoils the aesthetic appearance of the printed image but also increases toner consumption. There was a problem.

【0003】そこで上記の問題を解決するため、マイク
ロフィルムFの画像コマfの領域を検知し、該画像領域
に基づいて決定される領域を基準として、転写材Pに記
録する領域を制御することにより、図19(C)の様に
枠部のないプリントを得るようにした情報記録装置が提
案されている。
In order to solve the above problem, the area of the image frame f of the microfilm F is detected, and the area to be recorded on the transfer material P is controlled based on the area determined based on the image area. Accordingly, an information recording apparatus has been proposed that can obtain a print without a frame as shown in FIG. 19(C).

【0004】この装置では、画像走査時の画像読取情報
を所定の閾値にて2値化し、RAMに記憶する。この情
報は例えば図20のようになっており、ここで図中のL
x、Lyはそれぞれ転写紙Pの横、縦の長さに対応して
いる。そして、CPUはRAM内のデータのl1のビッ
ト列から順に、その1列が全て0か、或は1を含んでい
るかの判断を行ない、1列が全て0の場合は、この判断
をl1,l2,l3,…と順次繰返す。そして、最初に
1を含む列lnを発見した時点で(図示例ではl6)、
CPUは、画像記録領域の値LFをnとする。更に、上
記の動作を画像領域Gの左端及び上下両端において同様
に行ない、画像記録領域をlx1,ly1,ly2を決
定する。
[0004] In this device, image reading information during image scanning is binarized using a predetermined threshold value and stored in the RAM. This information is, for example, as shown in Figure 20, where L in the figure is
x and Ly correspond to the horizontal and vertical lengths of the transfer paper P, respectively. Then, the CPU sequentially determines whether one column of data in the RAM contains all 0s or 1s, starting from the bit string of l1, and if the first column is all 0s, this judgment is made using l1, l2. , l3, . . . are repeated in sequence. Then, when the first column ln containing 1 is found (l6 in the illustrated example),
The CPU sets the value LF of the image recording area to n. Furthermore, the above operation is similarly performed at the left end and both upper and lower ends of the image area G to determine the image recording areas lx1, ly1, and ly2.

【0005】[0005]

【発明が解決しようとしている課題】しかしながら、上
記従来例では、一旦RAMに原稿画像の全エリア画像サ
ンプリングデータを記憶し、その後そのデータの演算処
理を行ない、枠消を行なうため、高速化が困難であり、
またRAM容量が大きいとコストアップとなってしまう
欠点があった。
[Problems to be Solved by the Invention] However, in the conventional example described above, it is difficult to increase the speed because the entire area image sampling data of the original image is stored in the RAM, and then the data is processed and the frame is erased. and
In addition, a large RAM capacity has the disadvantage of increasing costs.

【0006】そこで、画像走査により読み取った画像信
号をパイプライン処理にて画像処理を行ないながら、同
時に原稿画像の部分エリア画像サンプリングデータによ
り遂次自動枠消処理を行なう、リアルタイム処理が要望
されていた。
[0006]Therefore, there has been a demand for real-time processing in which image signals read by image scanning are subjected to image processing using pipeline processing, and at the same time automatic border erasure processing is performed sequentially using partial area image sampling data of the original image. .

【0007】ところが、この自動枠消を行なう場合に2
値化スライスレベルを固定値にしてしまうと、自動濃度
調整(AE)が利いていれば比較的良いが、ユーザーの
好みによりAEで濃度微調整を行なったり、AEを解除
してマニュアル濃度調整を行なった場合には、誤動作を
生じる可能性が高い。
However, when performing this automatic frame deletion, 2
Setting the value slice level to a fixed value is relatively good if automatic density adjustment (AE) is effective, but depending on the user's preference, the density may be finely adjusted using AE, or AE may be canceled and manual density adjustment performed. If you do so, there is a high possibility that malfunctions will occur.

【0008】また、この自動枠消を行なう場合に、AE
と同時に行なわれた場合には、例えば自動枠消のスライ
スレベルを決定する際に、露光時の光量で測光を行なっ
たとすると、容易にスライスレベルは決定できるものの
、AEはいかなる場合でも常に一定光量で測光を行なわ
なければならないため、AEと自動枠消で別々の(2回
の)前スキャンを行なわなければならない。
[0008] Furthermore, when performing this automatic frame erasing, the AE
If they are performed at the same time, for example, when determining the slice level for automatic frame erasing, the slice level can be easily determined by measuring the light intensity at the time of exposure, but AE always uses a constant light intensity in any case. Since photometry must be performed with AE, separate pre-scans (twice) must be performed with AE and automatic frame erasure.

【0009】[0009]

【課題を解決するための手段】本発明は以上の点に鑑み
てなされたもので、原稿を露光する光源と、露光された
原稿画像を読取る読取手段と、前記読取手段からの画像
信号を量子化する量子化手段と、原稿画像の枠部を検出
する枠検出手段と、前記光源の光量を制御する光量制御
手段とを有し、原稿画像の読取用の本走査の前の前走査
により得た測光値と、本走査における光量を示す値とに
基づいて、前記量子化手段の量子化パラメータを決定す
る画像読取装置を提供するものであり、また原稿画像の
読取用の本走査の前の前走査により得た測光値に基づい
て、本走査における光量を制御するとともに、前記量子
化手段の量子化パラメータを決定する画像読取装置を提
供するものである。
[Means for Solving the Problems] The present invention has been made in view of the above points, and includes a light source for exposing an original, a reading means for reading an image of the exposed original, and an image signal from the reading means. a frame detection means for detecting a frame portion of the original image; and a light amount control means for controlling the light amount of the light source. The present invention provides an image reading device that determines a quantization parameter of the quantization means based on a photometric value obtained in the original scan and a value indicating the amount of light in the main scan. The present invention provides an image reading device that controls the amount of light in the main scan and determines the quantization parameter of the quantization means based on the photometric value obtained in the pre-scan.

【0010】0010

【実施例】図3は本発明をマイクロフィルム用ディジタ
ルリーダープリンターに適用した場合の外観図、図4は
その概略機構図を示す。
Embodiment FIG. 3 is an external view of the present invention applied to a digital reader printer for microfilm, and FIG. 4 is a schematic diagram of its mechanism.

【0011】図3及び図4において、1はマイクロフィ
ルムをスクリーンに投影あるいは読取って画像処理等を
行なうスキャナー、2はスキャナー1で読み取った画像
情報を画像処理した後、普通紙にプリントアウトするた
めのレーザービームプリンター、3は各種設定及び表示
を行なうための操作部、4はロールフィルムの撮影画像
を操作部3上のツマミにて、投影位置に送ったり、巻き
戻したりする機構を持つロールキャリア、5はズーム機
構を持つ投影用ズームレンズ、6はマイクロフィルム画
像を投影するためのスクリーン、7はマイクロフイルム
を照射するためのハロゲンランプ、8はハロゲンランプ
の拡散光を集光するための集光レンズ、9はロールキャ
リア内にある圧板ガラス(不図示)に挟持されたマイク
ロフィルム、10は投影光を反射するための反射ミラー
、11はスクリーン投影か、投影画像読取かを選択する
ための摺動ミラー、12は摺動ミラー11を回転させる
ための軸、13は投影画像を読み取るためのラインセン
サー、14、15はラインセンサーの位置を検出するた
めのセンサーである。
In FIGS. 3 and 4, 1 is a scanner for projecting or reading the microfilm onto a screen and performing image processing, and 2 is for processing the image information read by the scanner 1 and then printing it out on plain paper. 3 is an operating unit for making various settings and displays; 4 is a roll carrier having a mechanism for sending and rewinding the photographed image of the roll film to the projection position using a knob on the operating unit 3; , 5 is a projection zoom lens with a zoom mechanism, 6 is a screen for projecting the microfilm image, 7 is a halogen lamp for irradiating the microfilm, and 8 is a condenser for condensing the diffused light of the halogen lamp. An optical lens, 9 a microfilm sandwiched between pressure plate glass (not shown) in a roll carrier, 10 a reflection mirror for reflecting projection light, and 11 for selecting screen projection or projection image reading. A sliding mirror, 12 is an axis for rotating the sliding mirror 11, 13 is a line sensor for reading a projected image, and 14 and 15 are sensors for detecting the position of the line sensor.

【0012】以上の構成において画像読取の動きについ
て説明する。
The movement of image reading in the above configuration will be explained.

【0013】まず、通常は摺動ミラー11は破線の様な
位置にある。この時、ハロゲンランプ7、集光レンズ8
でマイクロフィルム9に照射した光は、反射ミラー10
、摺動ミラー11を通ってスクリーン6に投影される(
破線の光路)。
First, the sliding mirror 11 is normally located at a position as shown by the broken line. At this time, the halogen lamp 7, the condensing lens 8
The light irradiated onto the microfilm 9 is reflected by the reflection mirror 10.
, is projected onto the screen 6 through the sliding mirror 11 (
(dashed optical path).

【0014】操作部3上に設けられたコピーボタンを押
すと、まず摺動ミラー11は軸12を中心に実線の位置
に移動し、マイクロフィルム投影光は、実線の光路をた
どる。この時、ラインセンサー13はホームポジション
センサー14をはずれ、A方向へ移動を始める。(この
方向を以後、前スキャンとする)。画像光終端位置まで
移動すると、ラインセンサー13は、スタートポジショ
ンセンサー15にかかり、B方向へ反転移動を始める。 (以後、この方向を本スキャンとする)。ラインセンサ
ー13がホームポジションセンサー14にかかると、ラ
インセンサー13の移動は停止し、摺動ミラー11は破
線位置へ戻る。
When the copy button provided on the operation unit 3 is pressed, the sliding mirror 11 first moves around the shaft 12 to the position shown by the solid line, and the microfilm projection light follows the optical path shown by the solid line. At this time, the line sensor 13 separates from the home position sensor 14 and starts moving in the A direction. (Hereafter, this direction will be referred to as the pre-scan). When the line sensor 13 moves to the end position of the image light, it is applied to the start position sensor 15 and begins to move in the B direction. (Hereafter, this direction will be referred to as the main scan). When the line sensor 13 touches the home position sensor 14, the movement of the line sensor 13 stops and the sliding mirror 11 returns to the broken line position.

【0015】図1は、本発明の一実施例における、概略
ブロック図、図2は、画像処理回路26の詳細ブロック
図を示す。以下の説明において、信号の反転を※によっ
て表わす(例えば、信号Aの反転を信号A※と表わす)
FIG. 1 is a schematic block diagram of an embodiment of the present invention, and FIG. 2 is a detailed block diagram of an image processing circuit 26. As shown in FIG. In the following explanation, the inversion of a signal is represented by * (for example, the inversion of signal A is represented as signal A*)
.

【0016】図1において、21は、ラインセンサー1
3の画像信号出力を増幅するためのアンプ、22はアン
プの出力信号をディジタル8ビット信号に直すためのA
/Dコンバータ、23はディジタル化した画像信号をシ
ェーディング補正するためのシェーディング補正回路、
24はそのシェーディング補正された画像信号から測光
値を取得するためのサンプリング回路、27はハロゲン
ランプを駆動するランプ駆動回路である。
In FIG. 1, 21 is the line sensor 1
3 is an amplifier for amplifying the image signal output, and 22 is an A for converting the output signal of the amplifier into a digital 8-bit signal.
/D converter; 23 is a shading correction circuit for shading correction of the digitalized image signal;
24 is a sampling circuit for obtaining a photometric value from the shading-corrected image signal, and 27 is a lamp drive circuit for driving a halogen lamp.

【0017】25は、そのサンプリング回路24からの
割込信号(INT※)に応じて、サンプリングデータを
取り込む制御ハロゲンランプ7の光量制御及び操作部3
の設定を読み込み、あるいは表示等を行なうCPU、2
6はシェーディング補正された画像信号に各種画像処理
を行なう画像処理回路である。
Reference numeral 25 denotes a light amount control and operation unit 3 for the control halogen lamp 7 that takes in sampling data in response to an interrupt signal (INT*) from the sampling circuit 24.
A CPU that reads or displays the settings of
6 is an image processing circuit that performs various image processing on the shading-corrected image signal.

【0018】次に画像処理回路26の詳細ブロックとし
て図2において、31は8ビットの階調を持つ画像信号
VMをスライスレベルSLで2値化するための2値化回
路、32は2値化された画像信号VMBをブロック的に
ビット加算するブロックビット加算回路、33はブロッ
クビット加算された値を判定するための2値化回路(比
較値ref)、34は2値化回路33で2値化された信
号SIGにより画像部と枠部の境界点を検出するための
検出信号MBI、MBITを発生するための検出信号発
生回路である。
Next, as detailed blocks of the image processing circuit 26, in FIG. 2, 31 is a binarization circuit for binarizing the image signal VM having 8-bit gradation at the slice level SL, and 32 is a binarization circuit. 33 is a binarization circuit (comparison value ref) for determining the value of the added image signal VMB in blocks; 34 is a binarization circuit 33 that adds bits to the image signal VMB; This is a detection signal generation circuit for generating detection signals MBI and MBIT for detecting a boundary point between an image portion and a frame portion using a converted signal SIG.

【0019】35は主走査方向同期信号に同期して画像
ブロックGCLKによりカウントする13ビットのカウ
ンタ、36はブロック化の際に生じる主走査方向の遅延
(k)を補正するためのアドレス補正回路であるところ
の13ビットアダー、37は検出信号MBITの立上が
りで主走査方向のアドレスをラッチする画像部立下がり
アドレスラッチ回路、39はTライン毎に生じる同期信
号HSYNT信号により、37の出力アドレス信号NB
ラッチを行ない遅延するTラインラッチ回路、40は同
じくHSYNT信号により38の出力アドレス信号NA
をラッチするTラインラッチ回路である。
35 is a 13-bit counter that counts based on the image block GCLK in synchronization with the main scanning direction synchronization signal, and 36 is an address correction circuit for correcting the delay (k) in the main scanning direction that occurs when forming blocks. A 13-bit adder 37 is an image part falling address latch circuit that latches the address in the main scanning direction at the rising edge of the detection signal MBIT, and 39 is an output address signal NB of 37 by the synchronization signal HSYNT signal generated for each T line.
A T-line latch circuit that performs latching and delays, 40 also outputs 38 output address signals NA by the HSYNT signal.
This is a T-line latch circuit that latches the .

【0020】41はNB、NAのアドレス信号よりタイ
ミングを発生するアドレスタイミング変換回路A、42
は同じく39、40の出力信号PB、PAのアドレス信
号よりタイミングを発生するアドレスタイミング変換回
路Bである。
41 is an address timing conversion circuit A which generates timing from the address signals of NB and NA; 42
Similarly, the address timing conversion circuit B generates timing from the address signals PB and PA of output signals 39 and 40.

【0021】43〜47はゲート回路である。43 to 47 are gate circuits.

【0022】48は画像信号VMをエッジ強調するため
のエッジ強調回路、49は更にエッジ強調化された8ビ
ット階調の画像信号を誤差拡散法により擬似中間調処理
するための誤差拡散回路、50はブロック化の際に生じ
る副走査方向の遅延を補正するための画像遅延回路であ
る。
Reference numeral 48 denotes an edge emphasis circuit for emphasizing the edges of the image signal VM; 49 an error diffusion circuit for performing pseudo-halftone processing on the edge-enhanced 8-bit gradation image signal by an error diffusion method; and 50 is an image delay circuit for correcting a delay in the sub-scanning direction that occurs during blocking.

【0023】図1を基に画像信号の流れを説明する。The flow of image signals will be explained based on FIG.

【0024】先の図4において、ホームポジションセン
サー14からラインセンサー13が移動し、スタートポ
ジションセンサー15へ移動する区間、すなわち前スキ
ャン動作の時は、ラインセンサー13より出力された信
号は、アンプ21で増幅し、A/Dコンバータ22でデ
ィジタル化し、更にシェーディング補正回路23でシェ
ーディング補正が行なわれ、サンプリング回路24へと
その画像信号は送られる。
In FIG. 4, in the section where the line sensor 13 moves from the home position sensor 14 to the start position sensor 15, that is, during the pre-scan operation, the signal output from the line sensor 13 is transmitted to the amplifier 21. The image signal is amplified by the A/D converter 22, digitized by the A/D converter 22, subjected to shading correction by the shading correction circuit 23, and sent to the sampling circuit 24.

【0025】図5はそのサンプリング方式を示した図で
、斜線部が1ブロックで、主走査方向64画素、副走査
方向3画素の長方形より成っている。
FIG. 5 is a diagram showing the sampling method, and the shaded area is one block, which is made up of a rectangle with 64 pixels in the main scanning direction and 3 pixels in the sub-scanning direction.

【0026】この時、測光エリアは紙サイズの内側に設
定されており、測光エリアのタイミングで副走査方向3
ラインおきに割込信号(INT※)は出力され、サンプ
リング回路24の内部の演算処理回路(不図示)では6
4×3のエリア内の画像信号レベルの平均値が、CPU
25のデータバスへ出力される。
At this time, the photometry area is set inside the paper size, and the sub-scanning direction 3 is set at the timing of the photometry area.
An interrupt signal (INT*) is output for every line, and the arithmetic processing circuit (not shown) inside the sampling circuit 24 outputs an interrupt signal (INT*) for every line.
The average value of the image signal level within the 4 x 3 area is
25 data buses.

【0027】割り込み信号(INT※)と測光データレ
ジスタ(AED7〜AED0)の出力タイミングは図6
の様になっている。即ちCPU25にINT※立下り信
号が入力されると、CPU25は割込処理ルーチンに入
り、測光データレジスタ(AED7〜AED0)からデ
ータを読み込む。
[0027] The output timing of the interrupt signal (INT*) and photometry data register (AED7 to AED0) is shown in Figure 6.
It looks like this. That is, when the INT* falling signal is input to the CPU 25, the CPU 25 enters an interrupt processing routine and reads data from the photometry data registers (AED7 to AED0).

【0028】このようにして、測光データを3ライン毎
に遂次入力し、CPU25の内部RAMに記憶していく
。以後図7のフローチャートに添ってCPU25の動作
説明を行なう。
In this way, the photometric data is successively input every three lines and is stored in the internal RAM of the CPU 25. Hereinafter, the operation of the CPU 25 will be explained with reference to the flowchart in FIG.

【0029】この時、ハロゲンランプ7は測光用光量に
なるように制御され、その時の光量データをL0とする
At this time, the halogen lamp 7 is controlled to have a light amount for photometry, and the light amount data at that time is set as L0.

【0030】このように画像データのサンプリングを局
所的に行ない、そのサンプリングデータの最小値MIN
を取得する(ステップ■)。
In this way, image data is sampled locally, and the minimum value MIN of the sampling data is
(Step ■).

【0031】次にMIN′=255×log(MIN)
/log(255)の式により対数変換を行なう。これ
は以後の演算処理を加減式のみで容易に行なうためであ
る。
Next, MIN'=255×log(MIN)
Logarithmic transformation is performed using the formula /log(255). This is so that subsequent calculation processing can be easily performed using only addition and subtraction expressions.

【0032】そして、ステップ■で露光モードをチェッ
クし、露光モードがマニュアルの時はステップ■、AE
の時はステップ■へと分岐する。
[0032] Then, in step ■, check the exposure mode, and if the exposure mode is manual, proceed to step ■, AE.
When , the process branches to step ■.

【0033】マニュアル時には、操作部3上で設定した
コピー濃度F値より、実際の本スキャン時に露光する時
の露光データL値を算出する(ステップ■)。
In the manual mode, the exposure data L value for exposure during actual main scanning is calculated from the copy density F value set on the operation unit 3 (step 2).

【0034】一方AE時には、先ほど決定したMIN′
と操作部3上で設定したAE微調値より、あらかじめ設
定してあるAEテーブルよりL値を算出する(ステップ
■)。
On the other hand, at the time of AE, the previously determined MIN'
Based on the AE fine adjustment value set on the operation unit 3, the L value is calculated from a preset AE table (step 2).

【0035】AEテーブルは、サンプリングデータ最小
値(対数化)MIN′と露光データ(対数化)L′との
関係を示したテーブルで、例えば図8の様になっている
。(ここでL′=255×log(L)/log(25
5))。
The AE table is a table showing the relationship between the minimum sampling data value (logarithmization) MIN' and the exposure data (logarithmization) L', and is as shown in FIG. 8, for example. (Here, L'=255×log(L)/log(25
5)).

【0036】このテーブルにより、濃度の異なる各種フ
ィルムにおいて、あるいはレンズ倍率が異なる場合にお
いても、常に適正な濃度のコピーが得られるような露光
データLを選択する。
Using this table, exposure data L is selected so that copies with appropriate density can always be obtained even when using various films with different densities or when lens magnifications are different.

【0037】次に上記の様に、算出したMIN′とL′
に基づき、スライスレベルSLを算出する(ステップ■
)。
Next, as described above, the calculated MIN' and L'
Calculate the slice level SL based on (step ■
).

【0038】具体的には、まず図9の様な特性パラメー
タに基づき作成されたテーブルによりSA′と、図10
の様な特性パラメータに基づき作成されたテーブルによ
りSB′を求める。
Specifically, first, SA' and FIG.
SB' is determined using a table created based on characteristic parameters such as .

【0039】そして、SL′=MIN′+SA′+SB
′でSL′を求める。
[0039] Then, SL'=MIN'+SA'+SB
' to find SL'.

【0040】次に逆対数変換して、Next, perform antilogarithmic transformation,

【0041】[0041]

【外1】 SLを求める。[Outside 1] Find SL.

【0042】ここで、図9は各種フィルムより経験則的
に求めたものであり、図10は測光用光量データLoの
時0とする露光量補正グラフである。
Here, FIG. 9 is an exposure amount correction graph obtained empirically from various films, and FIG. 10 is an exposure amount correction graph in which the value is set to 0 when the photometric light amount data is Lo.

【0043】そして、本スキャン時には、先に決定した
L値で露光制御するとともに、先に算出したスライスレ
ベルSLにて自動枠消を行なう(ステップ■)。
During the main scan, exposure is controlled using the previously determined L value, and automatic frame erasure is performed using the previously calculated slice level SL (step 2).

【0044】図1、図4において、スタートポジション
センサー15からラインセンサー13が移動し、ホーム
ポジションセンサー14へ移動する区間、すなわち本ス
キャン動作の時は、ラインセンサー13より出力された
信号はアンプ21で増幅し、A/Dコンバータ22でデ
ィジタル化し、更にシェーディング補正回路23でシェ
ーディング補正が行なわれた後、画像処理回路26へと
その画像信号(VM)は送られる。
In FIGS. 1 and 4, during the period in which the line sensor 13 moves from the start position sensor 15 to the home position sensor 14, that is, during the main scan operation, the signal output from the line sensor 13 is transmitted to the amplifier 21. After being amplified by the A/D converter 22, digitized by the A/D converter 22, and subjected to shading correction by the shading correction circuit 23, the image signal (VM) is sent to the image processing circuit 26.

【0045】図2において、画像信号VMは、先の演算
により算出したスライスレベルSLと比較して、2値化
回路31により1か0の2値信号に変換する。画像上の
1点Xに対するブロックは図14のように9×9のサン
プル点を持っており、各サンプル点は主走査方向に8画
素、副走査方向に8画素の間隔になっている。従ってブ
ロックの大きさは64×64画素となり、センサー13
として400dpiの解像力のものを使用しているので
約4mm口のブロックとなる。このため、約2mm幅の
拡大されたゴミ、ホコリまでは誤動作を生じないことに
なる。
In FIG. 2, the image signal VM is compared with the slice level SL calculated by the previous calculation, and converted into a binary signal of 1 or 0 by the binarization circuit 31. A block for one point X on the image has 9×9 sample points as shown in FIG. 14, and each sample point has an interval of 8 pixels in the main scanning direction and 8 pixels in the sub-scanning direction. Therefore, the block size is 64 x 64 pixels, and the sensor 13
Since we are using one with a resolution of 400 dpi, the block will be approximately 4 mm wide. Therefore, dust and dirt enlarged to a width of approximately 2 mm will not cause malfunction.

【0046】ところで、ブロックビット加算回路32で
は、9×9のブロック内のサンプル点が1の個数(総和
)を求め、SUM信号として取り出す。
By the way, the block bit addition circuit 32 calculates the number of 1 sample points (total sum) in a 9×9 block and takes it out as a SUM signal.

【0047】このSUM信号は2値化回路33により、
あらかじめ設定した個数レベルrefと比較してSUM
≧refの時を1、SUM<refの時を0として2値
信号SIGに変換する。
This SUM signal is processed by the binarization circuit 33,
SUM compared with the preset number level ref
When ≧ref, it is set to 1, and when SUM<ref, it is set to 0, and it is converted into a binary signal SIG.

【0048】この信号SIGを基に検出信号発生回路3
4により画像立下がり検出信号MBIと画像立上り検出
信号MBITを作る。この2つの信号は主走査方向前後
の枠位置を検出した信号である。
Based on this signal SIG, the detection signal generation circuit 3
4, an image falling detection signal MBI and an image rising detection signal MBIT are generated. These two signals are signals that detect the front and rear frame positions in the main scanning direction.

【0049】13ビットカウンタ35は同期式カウンタ
で図11図示の如くHSYNC※信号でクリアされ、G
CLKの立上りでカウントアップする。
The 13-bit counter 35 is a synchronous counter that is cleared by the HSYNC* signal as shown in FIG.
Counts up at the rising edge of CLK.

【0050】13ビットはラインセンサー13が400
dpiA3サイズ幅の主走査を想定したビット数である
ので、ラインセンサーの解像力、画像読取幅により異な
る。ブロック化することにより、主走査方向、副走査方
向とも遅延を生じるが、主走査方向に関しては、13ビ
ットアダー36によりアドレス補正することで対処する
。補正値はKであるが、以下のタイミングは便宜上K=
0としている。こうして補正された主走査方向カウンタ
のアドレス値をHADとする。
[0050] For 13 bits, line sensor 13 is 400
The number of bits assumes main scanning with a dpi A3 size width, so it varies depending on the resolution of the line sensor and the image reading width. Blocking causes delays in both the main scanning direction and the sub-scanning direction, but this can be dealt with by correcting the address using the 13-bit adder 36 in the main scanning direction. The correction value is K, but for convenience the following timing is K=
It is set to 0. The address value of the main scanning direction counter corrected in this way is set as HAD.

【0051】図12、図13は画像上の枠部をマスクし
、画像と枠の境界位置に黒縁を形成する過程を示したタ
イミングチャートである。(以下HSYNTをHSYN
C(1ライン)としている)。
FIGS. 12 and 13 are timing charts showing the process of masking a frame on an image and forming a black border at the boundary between the image and the frame. (Hereinafter referred to as HSYNT
C (1 line)).

【0052】図12の1番上の信号はHSYNC※で、
1ラインに1パルス(GCLK2周期分)の間隔で立下
がるパルスが出力される。画像エリアは、このHSYN
C※信号のパルス間に存在するが、プリンターとの関係
で、通常の1ラインは画像読取幅以上のクロックタイミ
ングを有しており、画像エリアの前後には非画像エリア
も存在する。この図12は副走査方向に画像がない状態
から画像が現れた時のタイミングで、画像がある時は、
SIG信号が1となる。
The top signal in FIG. 12 is HSYNC*,
Pulses that fall at intervals of one pulse (two cycles of GCLK) are output on one line. The image area is this HSYN
It exists between the pulses of the C* signal, but due to the relationship with the printer, one normal line has a clock timing that is longer than the image reading width, and there are also non-image areas before and after the image area. This figure 12 shows the timing when an image appears from a state where there is no image in the sub-scanning direction, and when there is an image,
The SIG signal becomes 1.

【0053】ただし、画像部の中でも文字部は枠部の濃
度に近いため、SIG信号が0になる場合もある。この
時、アドレス信号NBはSIG信号の最初の立上り点を
示しており、アドレス信号NAは1ライン中のSIG信
号の最後の立下がり点を示している。
However, since the text portion of the image portion has a density close to that of the frame portion, the SIG signal may become 0. At this time, address signal NB indicates the first rising point of the SIG signal, and address signal NA indicates the last falling point of the SIG signal in one line.

【0054】これはMBIT信号は、SIG信号の最初
の立上りで1になり、次のHSYNC※信号で立下がり
で0になるため、MBIT信号の立上りでNBアドレス
はラッチされる。そして、MBI信号は画像部中に数回
立上がるため、数回ラッチされるが、1ライン中では、
最後の立上りアドレスNAがラッチされるので、次のH
SYNC※信号立上りでラッチした時は、NB、NAア
ドレスがラッチされている。従って、これにより新たに
作成したタイミングNL、NLMは図の様になり、更に
再度HSYNC※でラッチしたPB、PAアドレスによ
り作成したタイミングPL、PLMも図に示した様にな
る。
This is because the MBIT signal becomes 1 at the first rise of the SIG signal and becomes 0 at the next fall of the HSYNC* signal, so the NB address is latched at the rise of the MBIT signal. Since the MBI signal rises several times during the image section, it is latched several times, but within one line,
Since the last rising address NA is latched, the next H
When latched at the rising edge of the SYNC* signal, the NB and NA addresses are latched. Therefore, the newly created timings NL and NLM become as shown in the figure, and the timings PL and PLM created again using the PB and PA addresses latched by HSYNC* also become as shown in the figure.

【0055】そして、図2に示すように、EXORゲー
ト43、44の出力を
Then, as shown in FIG. 2, the outputs of the EXOR gates 43 and 44 are

【0056】[0056]

【外2】 とし、更にそのOR出力を[Outside 2] And further, the OR output is

【0057】[0057]

【外3】 そしてエッジ強調、誤差拡散更には遅延回路を通した画
像信号VDとNLMのアンド出力を
[3] Edge enhancement, error diffusion, and AND output of the image signal VD and NLM through a delay circuit.

【0058】[0058]

【外4】 とした時の各点波形は図12の様になる。画像信号VD
は斜線で示している。
[Example 4] The waveform at each point is as shown in FIG. 12. Image signal VD
is indicated by diagonal lines.

【0059】これにより最初に画像が出現したラインに
おいては、画像域全体を黒線とし、次のライン以降(H
SYNTがHSYNCでなくnライン置きの時は次のn
ライン目以降)は主走査方向の画像部の縁がDでセット
した値の幅で黒帯となる(図12のVDO信号参照)。
As a result, in the line where the image first appears, the entire image area becomes a black line, and from the next line onwards (H
If SYNT is not HSYNC but every n lines, the next n
(after the line), the edge of the image area in the main scanning direction becomes a black band with the width of the value set in D (see the VDO signal in FIG. 12).

【0060】また図13の様にSIGが変化した場合に
はVDO信号のように黒幕の幅が変化する。この黒幕の
幅の変化により、結果的に図15(A)の様な画像は図
15(B)の様な画像に変換される。
Further, when the SIG changes as shown in FIG. 13, the width of the black screen changes like the VDO signal. As a result of this change in the width of the black screen, the image shown in FIG. 15(A) is converted into the image shown in FIG. 15(B).

【0061】エッジ強調回路48にはラプラシアの3×
3の畳み込みマスクを使用している。マスク係数は図1
6に示す。
The edge emphasizing circuit 48 uses Laplacia's 3×
3 convolution mask is used. The mask coefficient is shown in Figure 1.
6.

【0062】また誤差拡散法(ED法)は周知のように
、ある注目画素を一定の閾値と比較し、生じた誤差(注
目画素の濃度と閾値との差分値)を次の複数画素の濃度
に拡散していく方法であり、代表的な擬似中間調処理の
一つである。
Furthermore, as is well known, the error diffusion method (ED method) compares a pixel of interest with a certain threshold value, and calculates the resulting error (difference value between the density of the pixel of interest and the threshold value) to the density of the next plurality of pixels. This is one of the typical pseudo-halftone processing methods.

【0063】遅延回路50は誤差拡散回路49の出力V
DIを設定したライン数だけ副走査方向に遅延したシリ
アル画像信号VDとして出力する。
The delay circuit 50 uses the output V of the error diffusion circuit 49.
It is output as a serial image signal VD delayed in the sub-scanning direction by the number of lines set in DI.

【0064】この様に、画像走査により読み取った画像
信号をパイプライン処理にて画像処理を行なうことによ
り画像記録するような情報記録装置において、リアルタ
イム的に自動枠消処理を行なう場合に、原稿画像上の枠
部の検出の際に用いる2値化信号のスライスレベルの決
定を、前スキャン時の測光データと、本スキャン時の露
光量データにより決定することで、露光モードがAEで
もマニュアルでも、正確に、しかも精度良く枠消を行な
うことができる。
In this way, in an information recording apparatus that records an image by performing image processing on an image signal read by image scanning in a pipeline process, when automatic frame erasing processing is performed in real time, the document image By determining the slice level of the binarized signal used to detect the upper frame based on the photometric data from the previous scan and the exposure amount data from the main scan, the exposure mode is AE or manual. Frame erasure can be performed accurately and with high precision.

【0065】また、画像走査により読み取った画像信号
をパイプライン処理にて画像処理を行なうことにより画
像記録するような情報記録装置において、リアルタイム
的に自動枠消処理を行なう場合に、原稿画像上の枠部の
検出の際に用いる2値化信号のスライスレベルの決定を
、前スキャン時に取得したAEでも使用する測光データ
に基づき行なうことで、露光モードがAEでもマニュア
ルでも1回の前スキャンを行なうのみで、高速に枠消を
行なうことができる。
[0065] Furthermore, in an information recording device that records an image by performing image processing on an image signal read by image scanning in a pipeline process, when automatic frame erasing processing is performed in real time, it is necessary to By determining the slice level of the binarized signal used to detect the frame based on the photometric data that is also used in AE acquired during the previous scan, one pre-scan is performed regardless of whether the exposure mode is AE or manual. You can quickly erase the frame by using only the button.

【0066】(他の実施例)前記実施例では、画像サン
プリングデータの最小値MINを測光値として用いSA
′を求め用いたが、例えば図17の様にヒストグラム上
の左山ピークとなるセンサー出力レベルPK1を測光値
としても良く、また、画像サンプリングデータの最大値
MAXを測光値としても良く、図17のヒストグラムの
右山ピークとなるセンサー出力レベルPK2を測光値と
しても良い。
(Other Embodiments) In the embodiments described above, the minimum value MIN of the image sampling data is used as the photometric value and the SA
' was calculated and used, but for example, the sensor output level PK1, which is the left peak on the histogram as shown in FIG. 17, may be used as the photometric value, or the maximum value MAX of the image sampling data may be used as the photometric value. The sensor output level PK2, which is the peak on the right side of the histogram, may be used as the photometric value.

【0067】更には、これら特徴点、MIN,MAX、
PK1、PK2を組合わせて演算処理することで、SA
を求めても良く、例えばSA′=(MAX′+MIN′
)×K(Kは定数、0<k<1)としてSA′を算出し
ても良い。
Furthermore, these feature points, MIN, MAX,
By performing arithmetic processing on PK1 and PK2 in combination, SA
For example, SA'=(MAX'+MIN'
)×K (K is a constant, 0<k<1) to calculate SA'.

【0068】また、最小値MINを求める際に、図18
のヒストグラムの破線の様にある規定レベル(Kcut
)を設け、それ以下の頒度データは無視する等のフィル
タリング処理を行なっても良い。
[0068] In addition, when finding the minimum value MIN,
The specified level (Kcut
), and filtering processing such as ignoring the distribution data below this may be performed.

【0069】また、前記実施例においては、マイクロフ
ィルム用ディジタルリーダープリンターに適用したが、
ペーパースキャナー、ディジタル複写機への適用は容易
であり、その他原稿を走査する方式(ラインセンサー固
定、移動は問わない)であれば応用可能である。
In addition, in the above embodiment, the application was applied to a digital reader printer for microfilm.
It is easy to apply to paper scanners and digital copying machines, and it can be applied to any other method of scanning documents (whether the line sensor is fixed or movable).

【0070】また、前記実施例では、記録は紙へ行なっ
たが、例えば光磁気ディスク(OMD)等の媒体や、メ
モリ上でも良く、特にその種類は問わない。
Further, in the above embodiments, recording was performed on paper, but it may be on a medium such as a magneto-optical disk (OMD), or on a memory, and the type thereof is not particularly limited.

【0071】以上説明したように、画像走査により読み
取った画素信号をパイプライン処理にて画像処理を行な
うことにより画像記録するような情報記録装置において
、リアルタイム的に自動枠消を行なう場合に、原稿画像
上の枠部の検出の際に用いる2値化信号のスライスレベ
ルの決定を、前スキャン時の測光データと本スキャン時
の露光量データにより決定することで、露光モードがA
E、マニュアルいずれでも正確にしかも精度の良い自動
枠消を行なうことができる。
As explained above, in an information recording apparatus that records an image by performing image processing on pixel signals read by image scanning using pipeline processing, when performing automatic frame erasure in real time, the document By determining the slice level of the binarized signal used to detect the frame on the image based on the photometry data from the previous scan and the exposure amount data from the main scan, the exposure mode can be set to A.
Automatic frame erasing can be performed accurately and with high precision either manually or manually.

【0072】また、原稿画像上の枠部の検出の際に用い
る2値化信号のスライスレベル決定を、前スキャン時に
取得したAEでも使用する測光データに基づき行なうこ
とで、露光モードがAE、マニュアルいずれでも1回の
前スキャンで高速に自動枠消を行なうことができる。
[0072] Furthermore, by determining the slice level of the binarized signal used to detect the frame on the original image based on the photometric data also used in AE acquired during the previous scan, the exposure mode can be set to AE or manual. In either case, automatic border erasure can be performed quickly with one pre-scan.

【0073】また、往動時前スキャン(測光)、復動時
本スキャン(露光)とすることで一往復のみの走査でリ
アルタイム自動枠消が行なえる。
Furthermore, by performing a pre-scan (photometry) during the forward movement and a main scan (exposure) during the backward movement, real-time automatic frame erasure can be performed with only one round-trip scan.

【0074】[0074]

【発明の効果】以上説明した様に、本発明によると、原
稿を露光する光源と、露光された原稿画像を読取る読取
手段と、前記読取手段からの画像信号を量子化する量子
化手段と、原稿画像の枠部を検出する枠検出手段と、前
記光源の光量を制御する光量制御手段とを有した画像読
取装置であって、原稿画像の読取用の本走査の前の前走
査により得た測光値と、本走査における光量を示す値と
に基づいて、前記量子化手段の量子化パラメータを決定
するので、リアルタイム的に自動枠消を行なう場合に原
稿画像上の枠部の検出の際に用いる量子化パラメータの
決定を前走査時の測光データと本走査時の露光量データ
より決定することで、露光モードがAE、マニュアルい
ずれでも正確にしかも精度の良い自動枠消を行なうこと
ができまた、原稿画像の読取用の本走査の前の前走査に
より得た測光値に基づいて本走査における光量を制御す
るとともに前記量子化手段の量子化パラメータを決定す
るので、原稿画像上の枠部の検出の際に用いる量子化パ
ラメータの決定を、前走査時に取得したAEでも使用す
る測光データに基づき行なうことで、露光モードがAE
、マニュアルいずれでも1回の前スキャンで高速に自動
枠消を行なうことができる。
As explained above, according to the present invention, a light source for exposing an original, a reading means for reading an image of the exposed original, a quantization means for quantizing an image signal from the reading means, An image reading device comprising a frame detection means for detecting a frame portion of a document image and a light amount control means for controlling the light amount of the light source, the image reading device comprising: a frame detection means for detecting a frame portion of a document image; and a light amount control means for controlling a light amount of the light source; Since the quantization parameter of the quantization means is determined based on the photometric value and the value indicating the light amount in the main scan, when detecting the frame on the document image when performing automatic frame erasure in real time, By determining the quantization parameter to be used from the photometric data during the pre-scan and the exposure data during the main scan, accurate and precise automatic frame erasure can be performed regardless of whether the exposure mode is AE or manual. , the amount of light in the main scan is controlled based on the photometric value obtained in the pre-scan before the main scan for reading the original image, and the quantization parameter of the quantization means is determined. By determining the quantization parameter used during detection based on the photometric data also used in AE acquired during the previous scan, the exposure mode can be set to AE.
In either manual or manual mode, automatic border erasure can be performed at high speed with a single pre-scan.

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

【図1】全体構成を示すブロック図。FIG. 1 is a block diagram showing the overall configuration.

【図2】画像処理回路のブロック図。FIG. 2 is a block diagram of an image processing circuit.

【図3】ディジタルリーダープリンターの外観図。FIG. 3 is an external view of the digital reader printer.

【図4】ディジタルリーダープリンターの機構図。FIG. 4 is a mechanical diagram of a digital reader printer.

【図5】サンプリング位置を示す図。FIG. 5 is a diagram showing sampling positions.

【図6】タイミングチャート図。FIG. 6 is a timing chart diagram.

【図7】フローチャート図。FIG. 7 is a flowchart diagram.

【図8】MIN′とL′の関係を示す図。FIG. 8 is a diagram showing the relationship between MIN' and L'.

【図9】MIN′とSA′の関係を示す図。FIG. 9 is a diagram showing the relationship between MIN' and SA'.

【図10】L′とSB′の関係を示す図。FIG. 10 is a diagram showing the relationship between L' and SB'.

【図11】タイミングチャート図。FIG. 11 is a timing chart diagram.

【図12】タイミングチャート図。FIG. 12 is a timing chart diagram.

【図13】タイミングチャート図。FIG. 13 is a timing chart diagram.

【図14】サンプリング位置を示す図。FIG. 14 is a diagram showing sampling positions.

【図15】出力画像例を示す図。FIG. 15 is a diagram showing an example of an output image.

【図16】フィルタ係数を示す図。FIG. 16 is a diagram showing filter coefficients.

【図17】ヒストグラムの例を示す図。FIG. 17 is a diagram showing an example of a histogram.

【図18】ヒストグラムの例を示す図。FIG. 18 is a diagram showing an example of a histogram.

【図19】従来の画像出力例を示す図。FIG. 19 is a diagram showing an example of conventional image output.

【図20】メモリRAMを示す図。FIG. 20 is a diagram showing a memory RAM.

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

13  ラインセンサー 24  サンプリング回路 26  画像処理回路 25  CPU 13 Line sensor 24 Sampling circuit 26 Image processing circuit 25 CPU

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  原稿を露光する光源と、露光された原
稿画像を読取る読取手段と、前記読取手段からの画像信
号を量子化する量子化手段と、原稿画像の枠部を検出す
る枠検出手段と、前記光源の光量を制御する光量制御手
段とを有し、原稿画像の読取用の本走査の前の前走査に
より得た測光値と、本走査における光量を示す値とに基
づいて、前記量子化手段の量子化パラメータを決定する
ことを特徴とする画像読取装置。
1. A light source that exposes a document, a reading device that reads the exposed document image, a quantization device that quantizes an image signal from the reading device, and a frame detection device that detects a frame of the document image. and a light amount control means for controlling the light amount of the light source, and the light amount control means controls the amount of light from the light source based on a photometric value obtained in a pre-scan before the main scan for reading the document image and a value indicating the light amount in the main scan. An image reading device characterized by determining a quantization parameter of a quantization means.
【請求項2】  原稿を露光する光源と、露光された原
稿画像を読取る読取手段と、前記読取手段からの画像信
号を量子化する量子化手段と、原稿画像の枠部を検出す
る枠検出手段と、前記光源の光量を制御する光量制御手
段とを有し、原稿画像の読取用の本走査の前の前走査に
より得た測光値に基づいて、本走査における光量を制御
するとともに、前記量子化手段の量子化パラメータを決
定することを特徴とする画像読取装置。
2. A light source that exposes a document, a reading device that reads the exposed document image, a quantization device that quantizes an image signal from the reading device, and a frame detection device that detects a frame of the document image. and a light amount control means for controlling the light amount of the light source, and controls the light amount in the main scan based on the photometric value obtained in the pre-scan before the main scan for reading the original image, and also controls the light amount in the main scan. An image reading device characterized by determining a quantization parameter of a quantization means.
JP3076191A 1991-04-09 1991-04-09 Picture reader Pending JPH04310071A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3076191A JPH04310071A (en) 1991-04-09 1991-04-09 Picture reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3076191A JPH04310071A (en) 1991-04-09 1991-04-09 Picture reader

Publications (1)

Publication Number Publication Date
JPH04310071A true JPH04310071A (en) 1992-11-02

Family

ID=13598245

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3076191A Pending JPH04310071A (en) 1991-04-09 1991-04-09 Picture reader

Country Status (1)

Country Link
JP (1) JPH04310071A (en)

Similar Documents

Publication Publication Date Title
JPS5952423B2 (en) Halftone copying method
US4837450A (en) Apparatus for reading a film image with controllable illumination and threshold value
US6862117B1 (en) Method and apparatus for reducing the effect of bleed-through on captured images
JPH04310071A (en) Picture reader
JP2547621B2 (en) Image region detection method and apparatus for image processing apparatus
US4551023A (en) System for recording information on photographic image density and process
JPH02230870A (en) Picture reader
JP2608264B2 (en) Image reading device
JP2958407B2 (en) Image processing device
JP3021073B2 (en) Image processing device
JP3974236B2 (en) Image processing apparatus and method
JP3701094B2 (en) Image reading device
JPH0341825B2 (en)
JP3760616B2 (en) Image forming apparatus
JPS62154973A (en) Microfilm scanner
JP3015046B2 (en) Image reading apparatus and image reading method
JPH01136110A (en) Image detecting method
JPH084312B2 (en) Image reading device
JPH0555867B2 (en)
JPH0789243B2 (en) Copy density control method
JPH10285377A (en) Original image reader
JPH01311761A (en) Picture position detecting method for picture processing unit
JPS625770A (en) Image reader
JPH0514734A (en) Picture processor
JPH01120517A (en) Image detecting method