JP3021073B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JP3021073B2
JP3021073B2 JP3076193A JP7619391A JP3021073B2 JP 3021073 B2 JP3021073 B2 JP 3021073B2 JP 3076193 A JP3076193 A JP 3076193A JP 7619391 A JP7619391 A JP 7619391A JP 3021073 B2 JP3021073 B2 JP 3021073B2
Authority
JP
Japan
Prior art keywords
signal
image
bit
circuit
output
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.)
Expired - Fee Related
Application number
JP3076193A
Other languages
Japanese (ja)
Other versions
JPH05199398A (en
Inventor
誠 遠藤
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 JP3076193A priority Critical patent/JP3021073B2/en
Publication of JPH05199398A publication Critical patent/JPH05199398A/en
Application granted granted Critical
Publication of JP3021073B2 publication Critical patent/JP3021073B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は画像処理方法、特に画像
の周辺部に枠のある画像信号を処理する画像処理方法に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing method and, more particularly, to an image processing method for processing an image signal having a frame around an image.

【0002】[0002]

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

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

【0004】この装置では、画像走査時の画像読取情報
を所定の閾値にて二値化し、RAM等のメモリに記憶す
る。この情報は例えば図29のようになっており、ここ
で図中のLX、LYはそれぞれ転写紙Pの横、縦の長さに
対応している。
In this apparatus, image reading information at the time of image scanning is binarized by a predetermined threshold value and stored in a memory such as a RAM. This information is, for example, as shown in FIG. 29, where L X and L Y in the figure correspond to the horizontal and vertical lengths of the transfer paper P, respectively.

【0005】そして、CPU等の演算回路はRAM内の
データのl1のビット列から順に、その1列が全て0か
或いは1を含んでいるかの判断を行ない、1列が全て0
の場合は、この判断をl1、l2、l3…と順次繰返す。
そして最初に1を含む列lnを発見した時点で(図示例
ではl6)、CPUは画像記録領域の値LFをnとする。
[0005] Then, the arithmetic circuit such as the CPU in order from the bit sequence of l 1 data in RAM, which performs a determination of whether the first column contains all 0 or 1, one column are all 0
, This determination is sequentially repeated as l 1 , l 2 , l 3 .
Then (l 6 in the illustrated example) first when found columns l n containing 1, CPU is the value L F of the image recording region and n.

【0006】更に、上記の動作を画像領域Gの左端及び
上下両端において同様に行ない、画像記録領域lx1、l
Y、lY2を決定する。
Further, the above operation is similarly performed at the left end and the upper and lower ends of the image area G, and the image recording areas l x1 , l x
Y and lY2 are determined.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、上記従
来例では、以下の様な欠点があった。
However, the above conventional example has the following disadvantages.

【0008】全画像域の画像情報を記憶するためのR
AMが必要なため、大容量のRAMを必要とするため、
装置が高価なものとなり、大型化してしまう。
R for storing image information of the entire image area
Because AM is required, a large amount of RAM is required,
The device is expensive and bulky.

【0009】また、一担メモリに画像情報を記憶する必
要があるため、処理時間がかかってしまう。
Further, since it is necessary to store the image information in the shared memory, it takes a long processing time.

【0010】矩形での枠消しか行なえないため、図3
0(A)に示す如く画像が傾いている場合等に枠が残っ
てしまう。また、1画面内に2ケ所以上画像がある場合
には、図30(B)に示す如くその間の部分は枠が残っ
てしまうため、かえって画像品位を落とす場合があっ
た。
[0010] Since only a rectangular frame can be erased, FIG.
A frame remains when the image is inclined as shown in FIG. Further, when there are two or more images in one screen, a frame remains between them as shown in FIG. 30B, so that the image quality may be degraded.

【0011】枠消後には図30(c)に示す如く画像
部の輪隔が不明瞭なため、画像部(又は原稿)の大き
さ、及び位置が良くわからなくなる。
After the frame is erased, the size and position of the image portion (or the original) are not well understood because the interval of the image portion is unclear as shown in FIG.

【0012】[0012]

【課題を解決するための手段】本発明は以上の点に鑑み
てなされたもので、画像及びその周辺部を表わす画像信
号を入力する入力手段と、前記入力手段から入力された
画像信号に基づいて前記画像と前記周辺部との境界を検
出する検出手段と、前記検出手段によって検出された前
記境界の外側の画像信号を特定信号に変換する変換手段
と、前記検出手段によって検出された前記境界に対応し
て枠を表わす画信号を形成する形成手段とを有する画像
処理装置を提供するものである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above points, and has an input means for inputting an image signal representing an image and a peripheral portion thereof, and an image signal input from the input means. Detecting means for detecting a boundary between the image and the peripheral part, converting means for converting an image signal outside the boundary detected by the detecting means into a specific signal, and detecting the boundary detected by the detecting means. And a forming means for forming an image signal representing a frame corresponding to the image processing apparatus.

【0013】[0013]

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

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

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

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

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

【0018】図3は本発明の一実施例における、概略ブ
ロック図、図4は画像処理回路26及び枠検出回路24
の詳細ブロック図を示す。以下の説明において、信号の
反転を※によって表す(例えば、信号Aの反転を信号A
※と表す)。
FIG. 3 is a schematic block diagram of an embodiment of the present invention, and FIG. 4 is an image processing circuit 26 and a frame detection circuit 24.
The detailed block diagram of FIG. In the following description, the inversion of the signal is represented by * (for example, the inversion of the signal A is represented by the signal A).
*)

【0019】図3において、21は、ラインセンサー1
3の画像信号出力を増幅するためのアンプ、22はアン
プの出力信号をディジタル8ビット信号に直すためのA
/Dコンバータ、23はディジタル化した画像信号をシ
ェーディング補正するためのシェーディング補正回路、
24はそのシェーディング補正された画像信号から画像
の枠を検出するための枠検出回路、25はその枠検出回
路へのデータ設定制御、及び操作部の設定を読み込み、
あるいは表示等を行なうCPU、26は、シェーディン
グ補正された画像信号に、各種画像処理を行なう画像処
理回路である。
In FIG. 3, reference numeral 21 denotes the line sensor 1.
3, an amplifier for amplifying the image signal output; and 22, an A for converting the output signal of the amplifier into a digital 8-bit signal.
A / D converter 23, a shading correction circuit for shading correction of the digitized image signal,
24 is a frame detection circuit for detecting a frame of an image from the shading-corrected image signal, 25 is a data setting control for the frame detection circuit, and reads the setting of the operation unit,
Alternatively, the CPU 26 for performing display or the like is an image processing circuit that performs various image processing on the image signal subjected to shading correction.

【0020】次に画像処理回路26及び枠検出回路24
の詳細ブロックを図4にて説明する。
Next, an image processing circuit 26 and a frame detection circuit 24
Will be described with reference to FIG.

【0021】101は8ビットの諧調を持つ原画像信号
VMを単純2値化するための2値化回路、102は2値
化された画像信号VMBをブロック的にビット加算する
ブロックビット加算回路、103はブロックビット加算
された値を判定するための2値化回路、104は2値化
回路103で2値化された信号、SIGにより画像部と
枠部の境界点を検出するための検出信号MBI、MBI
Tを発生するための検出信号発生回路である。
Reference numeral 101 denotes a binarization circuit for simply binarizing an original image signal VM having 8-bit gradation, 102 a block bit addition circuit for bit-wise adding the binarized image signal VMB, Reference numeral 103 denotes a binarization circuit for determining the value obtained by adding the block bits, reference numeral 104 denotes a signal binarized by the binarization circuit 103, and a detection signal for detecting a boundary point between the image portion and the frame portion by using the SIG. MBI, MBI
This is a detection signal generation circuit for generating T.

【0022】105は主走査方向同期信号に同期して画
像ブロックGCLKによりカウントする13ビットのカ
ウンタ、106はブロック化の際に生じる主走査方向の
遅延(K)を補正するためのアドレス補正回路であると
ころの13ビットアダー107は検出信号MBITの立
上りで、主走査方向のアドレスをラッチする画像部立上
りアドレスラッチ回路、108は検出信号MBIの立上
りで、主走査方向のアドレスをラッチする画像部立下り
アドレスラッチ回路である。
Reference numeral 105 denotes a 13-bit counter which counts by the image block GCLK in synchronization with the main scanning direction synchronizing signal. Reference numeral 106 denotes an address correction circuit for correcting a delay (K) in the main scanning direction that occurs at the time of blocking. A 13-bit adder 107 is a picture section rising address latch circuit that latches an address in the main scanning direction at the rising edge of the detection signal MBIT, and 108 is an image section rising address latch circuit that latches an address in the main scanning direction at the rising edge of the detection signal MBI. This is a downstream address latch circuit.

【0023】109はTライン毎に生じる同期信号HS
YNT信号により、立上りアドレスラッチ回路107の
出力アドレス信号NBのラッチを行ない、遅延するTラ
インラッチ回路、110は同じくHSYNT信号により
108の出力アドレス信号NAをラッチするTラインラ
ッチ回路である。
Reference numeral 109 denotes a synchronizing signal HS generated for each T line.
A T line latch circuit for latching and delaying the output address signal NB of the rising address latch circuit 107 in response to the YNT signal, and a T line latch circuit 110 for latching the output address signal NA of 108 in response to the HSYNT signal.

【0024】11はNB、NAのアドレス信号よりタイ
ミングを発生するアドレス・タイミング変換回路A、1
12は同じく109、110の出力信号PB、PAのア
ドレス信号よりタイミングを発生するアドレス・タイミ
ング変換回路Bである。
Reference numeral 11 denotes an address / timing conversion circuit A, which generates timing based on NB and NA address signals.
Reference numeral 12 denotes an address / timing conversion circuit B for generating timing from the output signals PB and PA of 109 and 110.

【0025】113〜117はゲート回路で、詳細は後
述する。
Reference numerals 113 to 117 denote gate circuits, which will be described later in detail.

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

【0027】図5はブロックビット加算回路102の一
例を示す概略回路図で、121は2値化回路101で原
画像信号VMを単純2値化した信号VMBを図16に示
したようなGCKW信号(図16では8画素毎に1ブロ
ック)で刻むためのラッチ回路、122〜129はそれ
ぞれHSYNW信号の周期毎にクリアされるラインメモ
リ、130はラッチ回路121の出力信号VMB′とラ
インメモリ122〜129の出力(a〜i)を加算する
加算回路A、131〜138は加算回路A130の4ビ
ット出力をGCKW信号でラッチするラッチ回路、13
9は加算回路A130の出力とラッチ回路131〜13
8の出力(A〜I)を加算する加算回路Bである。
FIG. 5 is a schematic circuit diagram showing an example of the block bit addition circuit 102. Reference numeral 121 denotes a GCKW signal as shown in FIG. (In FIG. 16, one block is formed for every eight pixels.) Latch circuits for engraving are provided. 122 to 129 are line memories that are cleared in each cycle of the HSYNC signal. 130 is an output signal VMB 'of the latch circuit 121 and line memories 122 to 122. Addition circuits A and 131-138 for adding the outputs (a-i) of the 129 are latch circuits for latching the 4-bit output of the addition circuit A130 with the GCKW signal;
Reference numeral 9 denotes the output of the adder circuit A130 and the latch circuits 131 to 13
8 is an adder circuit B for adding the outputs (A to I) of FIG.

【0028】図6は加算回路A130の一例を示す回路
図で、48、49、50、51、52は1ビットフルア
ダー、53、54は1ビットハーフアダーである。
FIG. 6 is a circuit diagram showing an example of the adder circuit A130. Reference numerals 48, 49, 50, 51 and 52 denote 1-bit full adders, and 53 and 54 denote 1-bit half adders.

【0029】図7は加算回路B139の一例を示す回路
図で、55、56、57、58は4ビットアダー、5
9、60は5ビットアダー、61は6ビットアダー、6
2は7ビットアダーである。
FIG. 7 is a circuit diagram showing an example of the adder circuit B139. Reference numerals 55, 56, 57 and 58 denote 4-bit adders,
9, 60 is a 5-bit adder, 61 is a 6-bit adder, 6
2 is a 7-bit adder.

【0030】図8は、検出信号発生回路104の一例を
示す回路図で、41は2値化回路103により、判定2
値化された信号SIGと、枠消エリア信号AREAとア
ンドをとるためのアンドゲート、42はアンドゲート4
1の出力と接続し、画像クロック信号GCLKで刻んで
反転したMBI信号を作るためのDラッチ、43はSI
G信号の最初の立上りで立上り、次のHSYNC※信号
の立下りで立下がるMBIT信号を作るためのJKフリ
ップフロップである。
FIG. 8 is a circuit diagram showing an example of the detection signal generation circuit 104. Reference numeral 41 denotes a binarization circuit
An AND gate for ANDing the coded signal SIG and the frame erasing area signal AREA, and 42 is an AND gate 4
D-latch 43, which is connected to the output of the image clock signal G1 to generate an MBI signal that is inverted by the image clock signal GCLK.
This is a JK flip-flop for generating an MBIT signal that rises at the first rise of the G signal and falls at the fall of the next HSYNC * signal.

【0031】図9は、立上りアドレスラッチ回路107
及び立下りアドレスラッチ回路108の一例を示す回路
図で、44はMBIT信号の立上りでラッチするDラッ
チ、45は更にその信号をHSYNT信号の立上りでラ
ッチするDラッチ46はMBI信号の立上りでラッチす
るDラッチ47は更にその信号をHSYNT信号の立上
りでラッチするDラッチである。
FIG. 9 shows a rising address latch circuit 107.
44 is a circuit diagram showing an example of a falling address latch circuit 108, 44 is a D latch that latches at the rising edge of the MBIT signal, 45 is a D latch that further latches the signal at the rising edge of the HSYNT signal, and 46 is a latching latch at the rising edge of the MBI signal The D latch 47 is a D latch that further latches the signal at the rising edge of the HSYNT signal.

【0032】図10は、アドレス・タイミング変換回路
A111の一例を示す回路図で63はアドレスNBから
主走査方向の黒枠のドット幅Dを引いたアドレスを算出
するための13ビットアダー、64は同様にアドレスN
Aからドット幅Dを加えたアドレスを算出するための1
3ビットアダー、65〜68は各A入力のアドレスと主
走査方向カウントアドレスとが一致した時に1GCLK
分のパルスを出力する13ビットイコーリティコンパレ
ータ、69、70は各々コンパレータ65、67からの
パルス、コンパレータ66、68からのパルスよりNL
M、NL信号を作るためのJKフリップフロップであ
る。
FIG. 10 is a circuit diagram showing an example of the address / timing conversion circuit A111. Reference numeral 63 denotes a 13-bit adder for calculating an address obtained by subtracting the dot width D of the black frame in the main scanning direction from address NB, and reference numeral 64 denotes the same. Address N
1 for calculating the address obtained by adding the dot width D from A
A 3-bit adder, 65-68, outputs 1GCLK when the address of each A input matches the count address in the main scanning direction.
The 13-bit equality comparators 69 and 70 that output the minute pulses are NL from the pulses from the comparators 65 and 67 and the pulses from the comparators 66 and 68, respectively.
This is a JK flip-flop for generating M and NL signals.

【0033】図11はアドレス・タイミング変換回路B
112の一例を示す回路図で、接続は図10と同等であ
るので説明は省略する。
FIG. 11 shows an address / timing conversion circuit B.
FIG. 12 is a circuit diagram showing an example of the circuit 112, and the connection is the same as that in FIG.

【0034】71、72は、13ビットアダー、73〜
76は13ビットイコーリティコンパレータ77、78
はJKフリップフロップである。
Reference numerals 71 and 72 denote 13-bit adders, 73 to
76 is a 13-bit equality comparator 77, 78
Is a JK flip-flop.

【0035】図12〜図14は遅延回路の一例を示す概
略回路図で、81は2値画像信号VDIをシリパラ変換
するシリパラ変換回路、82はSPCLK信号立上りの
タイミングでラッチするラッチ、83、84はRAM
(1)95またはRAM(2)96への出力信号を選択
する3ステートゲート回路、85はインバータ、86は
RAM(1)95またはRAM(2)96からの入力信
号を選択する8ビットセレクタ、87は8ビットセレク
タの出力をPSLAT信号立上りのタイミングでラッチ
するラッチ、88は、ラッチ87の出力をパラシリ変換
するパラシリ変換回路、89はRAM(1)95、RA
M(2)96への書込み、読出しを制御するM1RD
※、M1WR※、M2RD※、M2WR※信号発生回路
であるところのセレクタである。
12 to 14 are schematic circuit diagrams showing an example of the delay circuit. Reference numeral 81 denotes a serial-to-parallel conversion circuit for serially converting the binary image signal VDI, reference numeral 82 denotes latches for latching at the rising edge of the SPCLK signal, and reference numerals 83 and 84. Is RAM
(1) a three-state gate circuit for selecting an output signal to the 95 or the RAM (2) 96; 85, an inverter; 86, an 8-bit selector for selecting an input signal from the RAM (1) 95 or the RAM (2) 96; 87 is a latch for latching the output of the 8-bit selector at the rising edge of the PSLAT signal, 88 is a parallel-to-serial conversion circuit for parallel-to-serial conversion of the output of the latch 87, 89 is a RAM (1) 95, RA
M1RD that controls writing and reading to M (2) 96
*, M1WR *, M2RD *, M2WR * A selector which is a signal generation circuit.

【0036】90はラインカウント数セットのためのラ
ッチ、91は8ビットカウンタ93の出力と比較し、一
致した時にパルスを出力する8ビットイコーリティコン
パレータ、92はインバータ、94は8ビットイコーリ
ティコンパレータの出力毎に反転した信号MSELを作
り出すためのJKフリップフロップである。
90 is a latch for setting the line count number, 91 is an 8-bit equality comparator that compares the output of the 8-bit counter 93 and outputs a pulse when they match, 92 is an inverter, 94 is an 8-bit equality comparator Is a JK flip-flop for generating an inverted signal MSEL for each output.

【0037】以下動作を順を追って説明する。The operation will be described below step by step.

【0038】原画像信号VMは、例えば、図3に示す如
くシェーディング補正、γ補正等の基本的補正回路は通
過しており、ある程度のフィルタリング処理も施されて
いる。
The original image signal VM has passed through basic correction circuits such as shading correction and gamma correction as shown in FIG. 3, for example, and has undergone some filtering processing.

【0039】この原画像信号VMをreflの値、(r
eflはプレスキャンによる測光値に連動している)と
比較して、2値化回路101により1か0の2値信号に
変換する。画像上の1点Xに対するブロックは図22の
ように9×9のサンプル点を持っており、各サンプル点
は主走査方向にGCKW信号の間隔(ここでは8画素
分)、副走査方向にはHSYNW信号の間隔(ここでは
8画素分)だけ離れている。従ってブロックの大きさと
しては、64×64画素となる。
The original image signal VM is defined as a value of refl, (r
efl is linked to the photometric value by the prescan), and is converted into a binary signal of 1 or 0 by the binarization circuit 101. The block corresponding to one point X on the image has 9 × 9 sample points as shown in FIG. 22. Each sample point has a GCKW signal interval (8 pixels here) in the main scanning direction and a sub scanning direction. HSYNW signals are separated by an interval (here, eight pixels). Therefore, the size of the block is 64 × 64 pixels.

【0040】マイクロフィルム上のゴミ、ホコリは拡大
倍率だけ拡大されるが、枠部にホコリが存在した場合
は、この判定ブロックが小さいと、拡大されたゴミ、ホ
コリで誤動作を起こす場合がある。しかし、この判定ブ
ロックが大きければ大きいほどメモリを必要とするため
最小のメモリで、ゴミ、ホコリの誤動作をなくすために
はこのようにとびとびのサンプル点を持つことは有効な
方法である。
Dust and dust on the microfilm are magnified by the enlargement magnification. However, if dust is present in the frame portion, if the judgment block is small, malfunction may occur due to the enlarged dust and dust. However, it is an effective method to have discrete sampling points in order to eliminate the malfunction of dust and dust with a minimum memory since the larger the determination block is, the more memory is required.

【0041】この大きさでは、例えば400dpiのセ
ンサーを用いている場合、約2mm幅の拡大されたゴ
ミ、ホコリまでは、誤動作を生じないことになる。
With this size, for example, when a 400 dpi sensor is used, a malfunction does not occur even for an enlarged dust and dust having a width of about 2 mm.

【0042】図5がブロックビット加算回路102であ
るが、2値化回路101により変換された画像信号VM
BをDラッチ121により、GCKW信号立上りで刻
み、ラインメモリ122〜129によりHSYNW信号
の間隔で順次記憶する。
FIG. 5 shows the block bit addition circuit 102, which is an image signal VM converted by the binarization circuit 101.
B is sliced at the rising edge of the GCKW signal by the D latch 121, and is sequentially stored by the line memories 122 to 129 at intervals of the HSYNCW signal.

【0043】そして、9ライン分(a〜i)の信号をG
CKW信号の間隔でビット加算していく。例えば、図1
7の様にa〜i信号が出力された場合は加算回路A13
0(図6)の出力Aの4ビット出力は図に示した様にな
る。
The signals of nine lines (a to i) are
Bit addition is performed at intervals of the CKW signal. For example, FIG.
When the signals a to i are output as shown in FIG.
The 4-bit output of output A of 0 (FIG. 6) is as shown in the figure.

【0044】更に、4ビットラッチ131〜138で主
走査方向にGCKW信号の間隔で順次記憶する。そし
て、A〜I点における9ライン分のビット加算信号の総
和を加算回路B139により算出する。この時A〜Iの
4ビット信号は図17に沿って考えると図18の様にな
る。そして、その総和である加算回路B139(図7)
の出力SUMは図のSUMで示した様な結果となる。
Further, 4-bit latches 131 to 138 sequentially store data at intervals of GCKW signals in the main scanning direction. Then, the sum of the bit addition signals for nine lines at points A to I is calculated by the addition circuit B139. At this time, the 4-bit signals A to I are as shown in FIG. 18 when considered along FIG. Then, the summation circuit B139 (FIG. 7)
Output SUM results in the result shown by SUM in FIG.

【0045】加算回路A130は例えば図6の様になる
が、a、b、cの信号は1ビットフルアダー48で加算
され、2ビット信号に変換される。同様にd、e、fの
信号は1ビットフルアダー49で加算され、2ビット信
号に変換される。更にg、h、iの信号は1ビットフル
アダー50で加算され、2ビット信号に変換される。
The adder circuit A130 is, for example, as shown in FIG. 6. The signals a, b and c are added by a 1-bit full adder 48 and converted into a 2-bit signal. Similarly, the signals of d, e, and f are added by a 1-bit full adder 49 and converted into a 2-bit signal. Further, the signals of g, h, and i are added by a 1-bit full adder 50 and converted into a 2-bit signal.

【0046】2ビット変換された各信号の上位1ビット
下位1ビットを1ビットフルアダー51、25で別々に
演算し、更にハーフアダー53、54により4ビット信
号に変換する(最大9)。
The upper 1 bit and lower 1 bit of each 2-bit converted signal are separately operated by 1-bit full adders 51 and 25, and further converted to 4-bit signals by half adders 53 and 54 (maximum 9).

【0047】また、加算回路B139は、例えば図7の
様になるが、AとB、CとD、EとF、GとHの4ビッ
ト信号をまず4ビットアダー55〜58で夫々加算し、
5ビットに変換し、更にこの5ビット信号を5ビットア
ダー59、60により加算して、6ビットに変換する。
そしてこの6ビット信号を6ビットアダー61により加
算し、7ビットに変換し、そして最後にIの4ビット信
号を7ビットアダー62で加えて、A〜Iの総和SUM
を出力する。
The adder circuit B139, for example, as shown in FIG. 7, adds 4-bit signals A and B, C and D, E and F, and G and H first by using 4-bit adders 55 to 58, respectively. ,
The signal is converted into 5 bits, and the 5-bit signal is added by 5-bit adders 59 and 60 to be converted into 6 bits.
The 6-bit signal is added by a 6-bit adder 61, converted into 7 bits, and finally a 4-bit signal of I is added by a 7-bit adder 62, and the sum SUM of A to I is added.
Is output.

【0048】こうして得られたSUMは、2値化回路1
03により、ref2と比較して、1か0の2値信号S
IGに変換する。従って、このようにこのSIGはまわ
りの画素から概ね平均的に求めた信号であるので、大面
積のローパスフィルタをかけたような効果があり、ノイ
ズやゴミホコリに対して安定的な信号となっている。
The SUM obtained in this way is a binarizing circuit 1
03, the binary signal S of 1 or 0 as compared with ref2
Convert to IG. Therefore, since this SIG is a signal obtained on average from the surrounding pixels, it has the effect of applying a large-area low-pass filter, and is a stable signal against noise and dust. I have.

【0049】次に、この信号SIGは図8に示した検出
信号発生回路104にて枠消エリア信号AREAにより
アンドゲート41で制限された後、Dラッチ42、JK
フリップフロップ43により画像立下り検出信号MBI
と画像立上り検出信号MBITを作る。基本的にMBI
Tは、タイミング的に、主走査同期信号HSYNCから
最初にくる画像部のエッジをとらえるために、SIGの
最初の立上り点で立上げ、次のHSYNC信号立上りで
立下げている。またMBIはHSYNCから見て、最後
の画像部のエッジをとらえるために、SIGを反転して
いる。
Next, the signal SIG is limited by the AND gate 41 by the frame erasing area signal AREA in the detection signal generating circuit 104 shown in FIG.
The image falling detection signal MBI is output by the flip-flop 43.
And an image rising detection signal MBIT is generated. Basically MBI
T rises at the first rising point of the SIG and falls at the next rising edge of the HSYNC signal in order to catch the edge of the image portion coming first from the main scanning synchronization signal HSYNC in terms of timing. In addition, the MBI inverts the SIG in order to catch the edge of the last image portion as viewed from HSYNC.

【0050】13ビットカウンタ105は同期式カウン
タで、図15に示す如くHSYNC※信号でクリアさ
れ、GCLKの立上りでカウントアップする。13ビッ
トは400dpiA3サイズの主走査を想定したビット
数で、センサーの解像力、画像読取幅により異なる。
The 13-bit counter 105 is a synchronous counter, which is cleared by the HSYNC * signal as shown in FIG. 15, and counts up at the rising edge of GCLK. 13 bits is a bit number assuming main scanning of 400 dpi A3 size, and differs depending on the resolution of the sensor and the image reading width.

【0051】ブロック化することにより、主走査、副走
査とも遅延が生じるが、主走査方向に関しては、13ビ
ットアダー106によりアドレス補正することで対処す
る。補正値はKであるが、以下のタイミングは便宜上K
=0としている。こうして補正された主走査方向カウン
タのアドレス値をHADとする。
Although the blocking causes a delay in both the main scanning and the sub-scanning, the address is corrected in the main scanning direction by correcting the address using the 13-bit adder 106. The correction value is K, but the following timing is K for convenience.
= 0. The address value of the main scanning direction counter corrected in this way is set to HAD.

【0052】図9に示すアドレスラッチ回路107、1
08では、画像が存在した時にはDラッチ44、46に
よりMBIT信号は1ラインに1回、MBI信号は最低
1回HAD信号のラッチを行なうことになる。また、同
期をとるために、Dラッチ44、46の出力をDラッチ
45、47により、再度HSYNT信号の立上りでラッ
チしている。こうしてラッチされたアドレス信号がN
B、NAとなる。そして、このアドレス信号NB、NA
を更にHSYNT信号の立上りでラッチを行なったの
が、アドレス信号PB、PAである。
Address latch circuits 107, 1 shown in FIG.
At 08, when an image is present, the H latch signal is latched once per line by the D latches 44 and 46, and the HAD signal is latched once at least by the MBI signal. For synchronization, the outputs of the D latches 44 and 46 are latched again by the D latches 45 and 47 at the rising edge of the HSYNT signal. The address signal thus latched is N
B, NA. Then, the address signals NB, NA
Are further latched at the rising edge of the HSYNT signal are the address signals PB and PA.

【0053】そして、図10に示すアドレス・タイミン
グ変換回路A111において、13ビットアダー63に
よりNB−Dのアドレスを算出し、同じく13ビットア
ダー64により、NA+Dのアドレスを算出する。そし
て、NB−D、NB、NA+D、NAの各アドレス値
が、主走査方向カウンタのアドレス値HADと一致する
タイミングで、13ビットイコーリティコンパレータ6
5〜68からパルスが出力される。そして、JKフリッ
プフロップ69、70により、13ビットイコーリティ
コンパレータ65の出力で立上り、13ビットイコーリ
ティコンパレータ67の出力で立下るNLM信号、及び
13ビットイコーリティコンパレータ66の出力で立上
り、13ビットイコーリティコンパレータ68の出力で
立下るNL信号が出力される。
Then, in the address / timing conversion circuit A111 shown in FIG. 10, the address of NB-D is calculated by the 13-bit adder 63, and the address of NA + D is calculated by the same 13-bit adder 64. At the timing when the address values of NB-D, NB, NA + D, and NA match the address value HAD of the main scanning direction counter, the 13-bit equality comparator 6
Pulses are output from 5-68. Then, by the JK flip-flops 69 and 70, the NLM signal rises at the output of the 13-bit equality comparator 65, falls at the output of the 13-bit equality comparator 67, and rises at the output of the 13-bit equality comparator 66. An NL signal falling at the output of the parity comparator 68 is output.

【0054】同様にアドレス信号PB、PAからも、図
11に示したアドレス・タイミング変換回路112によ
りPLM、PL信号が出力される。
Similarly, PLM and PL signals are output from the address signals PB and PA by the address / timing conversion circuit 112 shown in FIG.

【0055】図19、図20は画像部の縁に黒枠を形成
する過程を示したタイミングチャートである(以下HS
YNTをHSYNC(1ライン)としている)。
FIGS. 19 and 20 are timing charts showing the process of forming a black frame at the edge of the image portion (hereinafter referred to as HS).
YNT is HSYNC (one line)).

【0056】図19で1番上の信号はHSYNC※で、
1ラインに1パルス(GCLK2周期分)の間隔で立下
るパルスが出力される。画像エリアはこのHSYNC※
信号のパルス間に存在するが、プリンターとの関係で、
通常の1ラインは画像読取幅以上のクロックタイミング
を有しており、画像エリアの前後には非画像エリアも存
在する。
In FIG. 19, the top signal is HSYNC *,
Pulses falling at an interval of one pulse (two GCLK cycles) are output to one line. The image area is HSYNC *
It exists between the signal pulses, but in relation to the printer,
One ordinary line has a clock timing equal to or longer than the image reading width, and non-image areas exist before and after the image area.

【0057】図19は副走査方向に画像がない状態から
画像が現れた時のタイミングで、画像がある時はSIG
信号が1となる。ただし、画像部の中でも文字部は枠部
の濃度に近いためSIG信号が0になる場合もある。こ
の時アドレス信号NBはSIG信号の最初の立上り点を
示しており、アドレス信号NAは1ライン中のSIG信
号の最後立下り点を示している。
FIG. 19 is a timing when an image appears from a state where there is no image in the sub-scanning direction.
The signal becomes 1. However, in the image portion, the SIG signal sometimes becomes 0 because the character portion is close to the density of the frame portion. At this time, the address signal NB indicates the first rising point of the SIG signal, and the address signal NA indicates the last falling point of the SIG signal in one line.

【0058】これはMBIT信号はSIG信号の最初の
立上りで1になり、次のHSYNC※信号で0になるた
め、MBIT信号の立上りで、NBアドレスはラッチさ
れる。そして、MBI信号は画像部中に数回立上るた
め、数回ラッチされるが、1ライン中では、最後の立上
りアドレスNAがラッチされるので、次のHSYNC信
号立上りでラッチした時は、NB、NAアドレスがラッ
チされている。
Since the MBIT signal becomes 1 at the first rise of the SIG signal and becomes 0 at the next HSYNC * signal, the NB address is latched at the rise of the MBIT signal. Since the MBI signal rises several times in the image portion, it is latched several times. However, since the last rising address NA is latched in one line, NB is latched at the next rising edge of the HSYNC signal. , NA addresses are latched.

【0059】従ってこれにより新たに作成したタイミン
グNL、NLMは図の様になり更に再度HSYNCでラ
ッチしたPB、PAアドレスにより作成したタイミング
PL、PLMも図に示した様になる。
Accordingly, the newly created timings NL and NLM are as shown in the figure, and the timings PL and PLM created by the PB and PA addresses latched by the HSYNC again are as shown in the figure.

【0060】そして、図4に示すEXORゲート11
3、114の出力を
The EXOR gate 11 shown in FIG.
3, 114 output

【0061】[0061]

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

【0062】[0062]

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

【0063】[0063]

【外3】 とした時の各点波形は図19の様になる。画像信号VD
は斜線で示している。
[Outside 3] FIG. 19 shows the waveforms at the respective points. Image signal VD
Is indicated by oblique lines.

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

【0065】また、図20の様に、SIGが変化した場
合には、VDO信号のように黒帯の幅が変化する。この
変化により、結果的に図23(A)の様な画像は、図2
3(B)の様な画像に変換される。
As shown in FIG. 20, when the SIG changes, the width of the black band changes like the VDO signal. Due to this change, the image as shown in FIG.
The image is converted into an image as shown in FIG.

【0066】エッジ強調回路118にはラプラシアンの
3×3の畳み込みマスクを使用している。マスク係数は
図24に示す。また、誤差拡散回路119により、中間
調再現特性を向上させている。誤差拡散法(ED法)は
周知のように、ある注目画素を、一定の閾値と比較し、
生じた誤差(注目画素の濃度と閾値との差分値)を次の
複数画素の濃度に拡散していく方法であり、代表的な擬
似中間調処理の一つである。
The edge emphasis circuit 118 uses a Laplacian 3 × 3 convolution mask. The mask coefficients are shown in FIG. Further, the halftone reproduction characteristic is improved by the error diffusion circuit 119. As is well known, the error diffusion method (ED method) compares a pixel of interest with a certain threshold,
This is a method of diffusing the generated error (difference value between the density of the target pixel and the threshold) to the density of the next plurality of pixels, and is one of typical pseudo halftone processing.

【0067】遅延回路120は詳細には図12〜図14
の様に構成されている。
The delay circuit 120 is described in detail in FIGS.
It is configured as follows.

【0068】図13で、まずCPU(不図示)によりD
ラッチ90にレジスタ書込みタイミングで遅延ライン数
がセットされる。8ビットカウンタ93は、副走査同期
信号VSYNC※でクリアされ、主走査同期信号HSY
NCの立上りでカウントアップする。このカウンタ93
の出力カウント信号は8ビットイコーリティコンパレー
タ91に入力され、先の遅延ライン数と比較し、一致し
た時に1ライン周期分の正パルスが出力される。
In FIG. 13, the CPU (not shown) first sets D
The number of delay lines is set in the latch 90 at the register write timing. The 8-bit counter 93 is cleared by the sub-scanning synchronizing signal VSYNC * and outputs the main-scanning synchronizing signal HSY.
It counts up at the rise of NC. This counter 93
Is output to the 8-bit equality comparator 91, is compared with the number of delay lines, and when they match, a positive pulse for one line cycle is output.

【0069】インバータ92によりこの正パルスは負パ
ルスとなり、8ビットカウンタ93をリセットする。同
時に、先の一致信号はJKフリップフロップ94に入力
され、一致信号が出力される度にトグルされた信号MS
ELを出力する。
The positive pulse becomes a negative pulse by the inverter 92, and the 8-bit counter 93 is reset. At the same time, the previous match signal is input to the JK flip-flop 94, and the toggled signal MS is output each time the match signal is output.
Output EL.

【0070】先の8ビットカウンタ93の出力カウント
信号は、RAM(1)95、RAM(2)96のアドレ
スバスMA10〜MA17に接続されている。またRA
M(1)95、RAM(2)96のアドレスバスMA9
〜MA0には、主走査方向13ビットカウンタ5のカウ
ント信号に補正値を加えたアドレス信号HAD12〜H
AD3が接続されている。下位3ビットを用いていない
のは、データがシリアルからパラレルに変換されている
ためである。
The output count signal of the 8-bit counter 93 is connected to the address buses MA10 to MA17 of the RAM (1) 95 and the RAM (2) 96. Also RA
M (1) 95, RAM (2) 96, address bus MA9
To MA0 are address signals HAD12 to HAD12 obtained by adding a correction value to the count signal of the 13-bit counter 5 in the main scanning direction.
AD3 is connected. The reason why the lower three bits are not used is that data is converted from serial to parallel.

【0071】図12で誤差拡散回路19の出力信号VD
Iは8ビットのシリパラ変換器81でシリアルパラレル
信号変換がなされる。
In FIG. 12, the output signal VD of the error diffusion circuit 19 is
I is converted into a serial-parallel signal by an 8-bit serial-parallel converter 81.

【0072】SPCLK信号は図16に示すようにGC
LK信号の1/8周期の信号で、このSPCLK信号で
Dラッチ82によりシリパラ変換の信号はラッチされ、
結果的にGCLKで刻まれたシリアル信号はGCLK/
8で刻む8ビットパラレル信号に変換される。この信号
は先のMSEL信号がHighの時3ステートゲート8
3からRAM(2)96に、データは出力され、3ステ
ートゲート84はハイインピーダンスとなりMSEL信
号がLowの時は3ステートゲート84からRAM
(1)95に、データは出力され3ステートゲート83
はハイインピーダンスとなる。
The SPCLK signal is applied to the GC as shown in FIG.
The signal of the serial-parallel conversion is latched by the D latch 82 by the SPCLK signal with a signal of 1/8 cycle of the LK signal.
As a result, the serial signal carved with GCLK is GCLK /
It is converted to an 8-bit parallel signal that is ticked at 8. This signal is a 3-state gate 8 when the previous MSEL signal is High.
The data is output from 3 to the RAM (2) 96, the 3-state gate 84 becomes high impedance, and when the MSEL signal is low, the 3-state gate 84 outputs the RAM from the RAM.
(1) Data is output to 95 and the 3-state gate 83
Becomes high impedance.

【0073】同時にMSEL信号がHighの時8ビッ
トセレクタ86の出力SにはRAM(1)95からの信
号が出力され、MSEL信号がLowの時は、8ビット
セレクタ86の出力SにはRAM(2)96からの信号
が出力される。そしてこの信号は、Dラッチ8Fにより
PSLAT信号の立上りでラッチされる。
At the same time, when the MSEL signal is High, a signal from the RAM (1) 95 is output to the output S of the 8-bit selector 86, and when the MSEL signal is Low, the output S of the 8-bit selector 86 is set to the RAM (1). 2) The signal from 96 is output. This signal is latched by the D latch 8F at the rise of the PSLAT signal.

【0074】PSLAT信号は図16のようにGCLK
信号の1/8周期の信号で、その立上り点はSPCLK
信号立上り周期の1/2の点である。次いで、Dラッチ
8Fの出力信号は、パラシリ変換器88に入力され、P
SLOAD※信号により、データロードし、GCLK信
号のクロック立上りタイミングでシリアル画像データV
Dを出力する。
The PSLAT signal is GCLK as shown in FIG.
This signal is a 1/8 cycle of the signal, and its rising point is SPCLK.
This is a half of the signal rising cycle. Next, the output signal of the D latch 8F is input to the parallel-serial converter 88,
The data is loaded by the SLOAD * signal, and the serial image data V is output at the clock rising timing of the GCLK signal.
D is output.

【0075】また、MSEL信号は、4ビットセレクタ
89のセレクト信号にもなっており、M1RD※、M1
WR※、M2RD※、M2WR※は図21の様なタイミ
ングでRAM(1)95、RAM(2)96に入力され
る。これによりRAM(1)、RAM(2)のリード
(RD)、ライト(WR)のタイミングは図21に示し
たようになる。またM1WR※、M2WR※に使用され
るメモリ書込み信号MWR※は図21に示したようなタ
イミングで出力されている。
The MSEL signal is also a select signal of the 4-bit selector 89, and M1RD *, M1RD
WR *, M2RD *, and M2WR * are input to the RAM (1) 95 and the RAM (2) 96 at the timing shown in FIG. As a result, the read (RD) and write (WR) timings of the RAM (1) and RAM (2) are as shown in FIG. The memory write signal MWR * used for M1WR * and M2WR * is output at the timing shown in FIG.

【0076】以上のような制御により、シリアル画像信
号VDIは設定した遅延ライン数だけ遅延した、シリア
ル画像信号VDとして出力される。シリアル→パラレル
変換は、こでは高速な画像信号を、低速な(アクセス時
間の長い)安価なRAMで制御するために行なってい
る。
With the above control, the serial image signal VDI is output as the serial image signal VD delayed by the set number of delay lines. Here, the serial-to-parallel conversion is performed in order to control a high-speed image signal with a low-speed (long access time) and inexpensive RAM.

【0077】以上の様に、パイプライン処理により画像
処理を行ない、自動枠消を行なうため、画像メモリとし
ては数ライン分しか必要なく、安価でしかも小型な装置
を提供できる。また、一担、全画像域に画像情報を記憶
するなどの処理が不安なため、高速に処理が行なえる。
As described above, since image processing is performed by pipeline processing and automatic frame erasure is performed, only a few lines are required as an image memory, and an inexpensive and compact device can be provided. In addition, since processing such as storing image information in the entire image area is uneasy, processing can be performed at high speed.

【0078】また、枠消は矩形に行なうのではなく、ほ
ぼ任意の形状に枠消が行なえるため、不必要な枠部を精
度良く消去し、トナー消費量を迎えるとともに、画像品
位の良いコピーを得ることができる。
Further, since the frame can be erased not to a rectangular shape but to an almost arbitrary shape, unnecessary frame portions can be erased with high accuracy, toner consumption can be reached, and image quality copy can be performed. Can be obtained.

【0079】更に画像部(枠の内側部分)の周囲に縁取
を行なうことで、画像部の輪隔を浮き立たせることで、
画像部の大きさ、位置を明瞭化することができる。
Further, by forming a border around the image portion (the inner portion of the frame), the ring gap of the image portion is raised,
The size and position of the image portion can be clarified.

【0080】(他の実施例)図5に示したラインメモリ
1(22)〜ラインメモリ7(28)は1ビットのライ
ンメモリを使用しているが、HSYNW※の周期が8ラ
イン分もあると、スタティック型のラインメモリを使用
しなければならないため、コストが高くなる。そこで図
5のラインメモリをダイナミック型のメモリであるμP
D42505V(NEC製)を用いて構成した例を図2
5に示す。
(Other Embodiments) Although the line memories 1 (22) to 7 (28) shown in FIG. 5 use 1-bit line memories, the cycle of HSYNW * is as long as eight lines. In addition, since a static line memory must be used, the cost increases. Therefore, the line memory shown in FIG.
FIG. 2 shows an example using D42505V (manufactured by NEC).
It is shown in FIG.

【0081】ラインメモリ79のリード用クロックRC
Kとライト用クロックWCK端子には、GCLKW信号
が供給され、リード用リセットRSTR※とライト用リ
セットRSTW※端子にはHSYNC信号が供給されて
いる。従って、1ライン毎にラインメモリ内容は書き換
えられるが、8ビットセレクタ80のSEL端子には、
HSYNW信号が接続されているため、HSYNWがn
ライン周期の場合(n−1)ラインはメモリに1回書込
まれた内容をリフレッシュ的に再書込みすることにな
る。
Read clock RC for line memory 79
The GCLKW signal is supplied to the K and write clock WCK terminals, and the HSYNC signal is supplied to the read reset RSTR * and write reset RSTW * terminals. Therefore, although the contents of the line memory are rewritten for each line, the SEL terminal of the 8-bit selector 80
Since the HSYNW signal is connected, HSYNW becomes n
In the case of the line cycle, the content written once in the memory (n-1) line is rewritten in a refreshing manner.

【0082】従って、nライン目には新しいVMB′が
0ビット目のラインメモリに書き込まれ、以降0ビット
目のラインメモリの内容が1ビット目に、1ビット目の
ラインメモリの内容が2ビット目にと1ビットずつシフ
ト書き込みされる。これにより、nラインおきに8ライ
ンのラインメモリを行なうことができる。
Therefore, on the nth line, a new VMB 'is written into the line memory of the 0th bit, and thereafter, the contents of the line memory of the 0th bit are the 1st bit, and the contents of the line memory of the 1st bit are 2 bits. The data is shifted and written one bit at a time to the eyes. Thus, a line memory of eight lines can be performed every n lines.

【0083】また、以上の説明では原稿としては、マイ
クロフィルム画像を対象にしているが、特に原稿を限定
するものではなく、例えばディジタル複写機やペーパー
スキャナーの様なものに適用しても良い。このような装
置では、主に等倍コピーが行なわれるため、ゴミ、ホコ
リの影響も、マイクロフィルムの様に拡大されない分少
なく、ブロックビット加算回路102は簡素化したもの
で良く、場合によっては省略可能である。
In the above description, the original is a microfilm image. However, the present invention is not limited to the original, and may be applied to, for example, a digital copying machine or a paper scanner. In such an apparatus, since the same-size copying is mainly performed, the influence of dust and dust is small because it is not expanded like a microfilm, and the block bit addition circuit 102 may be simplified, and may be omitted in some cases. It is possible.

【0084】また、主、副走査方向別々に縁取幅が変え
られるので、図26(a)(b)の様な縁取が可能であ
るが、主、副走査方向同時に縁取幅を変える様な構成
は、容易に達成できる。
Also, since the border width can be changed separately in the main and sub-scanning directions, the border shown in FIGS. 26A and 26B can be obtained. However, a configuration in which the border width is changed simultaneously in the main and sub-scan directions. Can be easily achieved.

【0085】また、エッジ強調回路118、誤差拡散回
路119は特に必要な構成要件ではなく、いかなる画像
処理でも良い。又図27に示す様に後端部に枠が一部残
ってコピーされても許容されるならば、遅延回路120
も不要である。
The edge emphasis circuit 118 and the error diffusion circuit 119 are not particularly necessary constituent elements, and may be any image processing. Also, as shown in FIG. 27, if it is permissible to copy a part of the frame remaining at the rear end, the delay circuit 120
Is also unnecessary.

【0086】また、ANDゲート116の入力の片側は
NLM信号を使用しているが、NL、PL、PLMのい
ずれでも等価的に枠消を行なうことが可能である。但
し、それぞれの信号では、若干の枠位置ズレ、縁取機能
をoffした時の枠消幅に差が出る。
Although one of the inputs of the AND gate 116 uses the NLM signal, any one of NL, PL, and PLM can equivalently erase the frame. However, in each signal, there is a slight difference in frame displacement when the frame position is slightly shifted and the border function is turned off.

【0087】以上説明したように、画像読取時に副走査
方向に一定区間離れた2つの主走査方向ラインの読取信
号に対応する画像部か枠部かを示す評価信号を各々取り
出すとともに、更にこの評価信号の画像部両端に境界線
幅の信号を付加した信号を各々取り出し、これら信号よ
り自動非矩形枠消を行なうと同時に、画像部と枠部の境
界線を引くことで画像部全体に黒縁を作るようにしたこ
とにより、その出力画像の画像品位を上げるとともに、
画像領域を強調して、画像の大きさ及び位置を明確化す
ることができる。
As described above, at the time of image reading, an evaluation signal indicating an image portion or a frame portion corresponding to a read signal of two main scanning direction lines separated by a predetermined section in the sub-scanning direction is taken out, and further, this evaluation is performed. A signal having a boundary line width added to both ends of the image portion of the signal is extracted, and a non-rectangular frame is automatically erased from these signals, and at the same time, a black border is drawn on the entire image portion by drawing a boundary line between the image portion and the frame portion. By increasing the quality of the output image,
The size and position of the image can be clarified by enhancing the image region.

【0088】また、この方式は画像メモリとしては、数
ラインのラインメモリしか必要とせず、またその処理は
パイプライン処理により、殆どリアルタイムに行なうこ
とができるため、安価にシステムを構成でき、また高速
な画像処理を行なうことができる。
Further, this system requires only a few line memories as an image memory, and the processing can be performed almost in real time by pipeline processing. Image processing can be performed.

【0089】[0089]

【発明の効果】以上説明した様に、本発明によると、画
像及びその周辺部を表わす画像信号に基づいて画像と周
辺部との境界を検出し、検出された境界の外側の画像信
号を特定信号に変換するとともに、検出された前記境界
に対応して枠を表わす画信号を形成するので、自動非矩
形枠消を行なうと同時に、画像部と枠部の境界線を引く
ことで枠を作るようにしたことにより、その出力画像の
画像品位を上げるとともに、画像領域を強調して、画像
の大きさ及び位置を明確化することができる。
As described above, according to the present invention, a boundary between an image and a peripheral portion is detected based on an image signal representing the image and its peripheral portion, and an image signal outside the detected boundary is specified. Since the image signal is converted into a signal and an image signal representing a frame is formed in accordance with the detected boundary, the frame is formed by performing automatic non-rectangular frame erasing and simultaneously drawing a boundary line between the image portion and the frame portion. By doing so, the image quality of the output image can be improved, and the image area can be emphasized to clarify the size and position of the image.

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

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

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

【図3】デジタルリーダープリンターの回路ブロック
図。
FIG. 3 is a circuit block diagram of a digital reader printer.

【図4】画像処理回路及び枠検出回路のブロック図。FIG. 4 is a block diagram of an image processing circuit and a frame detection circuit.

【図5】ブロックビット加算回路のブロック図。FIG. 5 is a block diagram of a block bit addition circuit.

【図6】加算回路Aのブロック図。FIG. 6 is a block diagram of an adding circuit A.

【図7】加算回路Bのブロック図。FIG. 7 is a block diagram of an adding circuit B;

【図8】検出信号発生回路のブロック図。FIG. 8 is a block diagram of a detection signal generation circuit.

【図9】立上り/立下りアドレスラッチ回路のブロック
図。
FIG. 9 is a block diagram of a rising / falling address latch circuit.

【図10】アドレス・タイミング変換回路Aのブロック
図。
FIG. 10 is a block diagram of an address / timing conversion circuit A;

【図11】アドレス・タイミング変換回路Bのブロック
図。
FIG. 11 is a block diagram of an address / timing conversion circuit B;

【図12】遅延回路のブロック図。FIG. 12 is a block diagram of a delay circuit.

【13】遅延回路のブロック図。FIG. 13 is a block diagram of a delay circuit.

【図14】遅延回路のブロック図。FIG. 14 is a block diagram of a delay circuit.

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

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

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

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

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

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

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

【図22】サンプル点を示す図。FIG. 22 is a diagram showing sample points.

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

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

【図25】ラインメモリの他の構成を示す図。FIG. 25 is a diagram showing another configuration of the line memory.

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

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

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

【図29】メモリRAMの内容を示す図。FIG. 29 is a diagram showing the contents of a memory RAM.

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

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

13 ラインセンサ 24 枠検出回路 26 画像処理回路 102 ブロックビット加算回路 104 検出信号発生回路 107 立上りアドレスラッチ回路 108 立下りアドレスラッチ回路 111 アドレス・タイミング変換回路A 112 アドレス・タイミング変換回路B 120 遅延回路 Reference Signs List 13 line sensor 24 frame detection circuit 26 image processing circuit 102 block bit addition circuit 104 detection signal generation circuit 107 rising address latch circuit 108 falling address latch circuit 111 address / timing conversion circuit A 112 address / timing conversion circuit B 120 delay circuit

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04N 1/38 H04N 1/00 G06T 1/00 G06T 7/00 ──────────────────────────────────────────────────続 き Continuation of front page (58) Field surveyed (Int.Cl. 7 , DB name) H04N 1/38 H04N 1/00 G06T 1/00 G06T 7/00

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 画像及びその周辺部を表わす画像信号を
入力する入力手段と、 前記入力手段から入力された画像信号に基づいて前記画
像と前記周辺部との境界を検出する検出手段と、 前記検出手段によって検出された前記境界の外側の画像
信号を特定信号に変換する変換手段と、 前記検出手段によって検出された前記境界に対応して枠
を表わす画信号を形成する形成手段とを有することを特
徴とする画像処理装置。
An input unit for inputting an image signal representing an image and a peripheral portion thereof; a detection unit for detecting a boundary between the image and the peripheral portion based on the image signal input from the input unit; Conversion means for converting an image signal outside the boundary detected by the detection means into a specific signal; and formation means for forming an image signal representing a frame corresponding to the boundary detected by the detection means. An image processing apparatus characterized by the above-mentioned.
JP3076193A 1991-04-09 1991-04-09 Image processing device Expired - Fee Related JP3021073B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3076193A JP3021073B2 (en) 1991-04-09 1991-04-09 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3076193A JP3021073B2 (en) 1991-04-09 1991-04-09 Image processing device

Publications (2)

Publication Number Publication Date
JPH05199398A JPH05199398A (en) 1993-08-06
JP3021073B2 true JP3021073B2 (en) 2000-03-15

Family

ID=13598306

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3076193A Expired - Fee Related JP3021073B2 (en) 1991-04-09 1991-04-09 Image processing device

Country Status (1)

Country Link
JP (1) JP3021073B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3594228B2 (en) 1999-07-01 2004-11-24 シャープ株式会社 Frame erasing device, frame erasing method, and authoring device

Also Published As

Publication number Publication date
JPH05199398A (en) 1993-08-06

Similar Documents

Publication Publication Date Title
US4782399A (en) Image processing apparatus with high- and low-resolution image sensors and an edge detector
US4924509A (en) Image processing apparatus
US4786976A (en) Image processing apparatus
JP3200873B2 (en) Image processing device
JP2809447B2 (en) Image processing device
JP3021073B2 (en) Image processing device
JPS645509B2 (en)
US5299030A (en) Image data processing method and apparatus with mixture of simple binarization and psuedo intermediate tone
JPH06205195A (en) Picture processor and its method
JPH0417500B2 (en)
JP3111734B2 (en) Image processing device
JP2541937B2 (en) Image processing device
JP2608264B2 (en) Image reading device
JP2547759B2 (en) Image processing device
JPS6367079A (en) Picture processor
JP3003183B2 (en) Image reading device
JPH0514734A (en) Picture processor
JPS6276962A (en) Original recognition device
JPH02264566A (en) Picture reader
JPS62199170A (en) Correction method for density gradation of dot picture
JPS6033781A (en) Picture signal correcting device
JPH0290868A (en) Picture processing device
JPH11243488A (en) Image reader
JPH0636549B2 (en) Digital copier
JPH06303416A (en) Image reader

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090114

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090114

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100114

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110114

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees