JPH05199398A - Image processing device - Google Patents
Image processing deviceInfo
- Publication number
- JPH05199398A JPH05199398A JP3076193A JP7619391A JPH05199398A JP H05199398 A JPH05199398 A JP H05199398A JP 3076193 A JP3076193 A JP 3076193A JP 7619391 A JP7619391 A JP 7619391A JP H05199398 A JPH05199398 A JP H05199398A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- image
- circuit
- bit
- 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.)
- Granted
Links
Landscapes
- Image Analysis (AREA)
- Image Processing (AREA)
- Facsimiles In General (AREA)
- Facsimile Scanning Arrangements (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
(57)【要約】
【目的】 画像信号に対して自動非矩形枠消しを行なう
と同時に枠を作ることにより、その出力画像の画像品位
を上げるとともに、画像の大きさ及び位置を明確化す
る。
【構成】 画像及びその周辺部を表わす画像信号を入力
するラインセンサー13と、入力された画像信号に基づ
いて画像と周辺部との境界を検出する枠検出回路24
と、検出された境界の外側の画像信号を特定信号に変換
するとともに、境界に対応して枠を表わす画信号を形成
する画像処理回路26とを有する。
(57) [Abstract] [Purpose] The image quality of the output image is improved and the size and position of the image are clarified by performing automatic non-rectangular frame erasure on the image signal and forming a frame at the same time. A line sensor 13 for inputting an image signal representing an image and its peripheral portion, and a frame detection circuit 24 for detecting a boundary between the image and the peripheral portion based on the input image signal.
And an image processing circuit 26 that converts an image signal outside the detected boundary into a specific signal and forms an image signal representing a frame corresponding to the boundary.
Description
【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 on the periphery of 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 the microfilm F as shown in FIG. 28A, and the periphery of each frame f is transparent. There is. 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 spoils the appearance of the printed image but also increases the toner consumption amount. There was a problem.
【0003】そこで、上記の問題を解決するため、マイ
クロフィルムFの画像コマfの領域を検知し、該画像領
域に基づいて決定される領域を基準として、転写材Pに
記録する領域を制御することにより図28(c)の様に
枠部のないプリントを得るようにした情報記録装置が提
案されている。Therefore, 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. As a result, an information recording apparatus has been proposed in which a frameless print 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とする。Then, an arithmetic circuit such as a CPU sequentially determines from the bit string of l 1 of the data in the RAM whether or not one column contains all 0s or contains 1s, and one column contains all 0s.
In this case, this judgment is sequentially repeated with l 1 , l 2 , l 3 ...
When the column l n containing 1 is first discovered (l 6 in the illustrated example), the CPU sets the value L F of the image recording area to 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
Determine Y and l Y2 .
【0007】[0007]
【発明が解決しようとする課題】しかしながら、上記従
来例では、以下の様な欠点があった。However, the above-mentioned conventional example has the following drawbacks.
【0008】全画像域の画像情報を記憶するためのR
AMが必要なため、大容量のRAMを必要とするため、
装置が高価なものとなり、大型化してしまう。R for storing the image information of the entire image area
Since AM is required, a large amount of RAM is required,
The device becomes expensive and becomes large in size.
【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)に示す如くその間の部分は枠が残っ
てしまうため、かえって画像品位を落とす場合があっ
た。Since only a rectangular frame can be erased, FIG.
If the image is inclined as shown in 0 (A), the frame remains. Further, when there are two or more images in one screen, a frame remains in the portion between them as shown in FIG. 30 (B), which may rather deteriorate the image quality.
【0011】枠消後には図30(c)に示す如く画像
部の輪隔が不明瞭なため、画像部(又は原稿)の大き
さ、及び位置が良くわからなくなる。After the frame is erased, the size and position of the image portion (or the original document) cannot be clearly understood because the ring spacing of the image portion is unclear as shown in FIG. 30 (c).
【0012】[0012]
【課題を解決するための手段】本発明は以上の点に鑑み
てなされたもので、画像及びその周辺部を表わす画像信
号を入力する入力手段と、前記入力手段から入力された
画像信号に基づいて前記画像と前記周辺部との境界を検
出する検出手段と、前記検出手段によって検出された前
記境界の外側の画像信号を特定信号に変換する変換手段
と、前記検出手段によって検出された前記境界に対応し
て枠を表わす画信号を形成する形成手段とを有する画像
処理装置を提供するものである。The present invention has been made in view of the above points, and is based on an input means for inputting an image signal representing an image and its peripheral portion, and an image signal input from the input means. Detecting means for detecting a boundary between the image and the peripheral portion, converting means for converting an image signal outside the boundary detected by the detecting means into a specific signal, and the boundary detected by the detecting means. And a forming means for forming an image signal representing a frame corresponding to the above.
【0013】[0013]
【実施例】図1は本発明をマイクロフィルム用ディジタ
ルリーダープリンターに適用した場合の外観図、図2
は、その概略機構図を示す。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is an external view of the present invention applied to a digital film reader for microfilm, and FIG.
Shows a schematic 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 is a scanner for projecting or reading a microfilm on a screen for image processing, and 2 is for image processing the image information read by the scanner 1 and then printing it on plain paper. Laser beam printer, 3 is an operation unit for performing various settings and displays, 4 is a roll carrier having a mechanism for sending and rewinding a photographed image of a roll film to a projection position by a knob on the operation unit 3. 5 is a projection zoom lens having a zoom mechanism, 6 is a screen for projecting a microfilm image, 7 is a halogen lamp for illuminating the microfilm, and 8 is for condensing diffused light of the halogen lamp. A condenser lens, 9 is a microfilm sandwiched between pressure plate glasses (not shown) in a roll carrier, 1 Is a reflection mirror for reflecting projection light, 11 is a sliding mirror for selecting screen projection or reading of a projected image, 12 is an axis for rotating the sliding mirror 11, 13 is for reading a projected image The line sensors 14, 15 are sensors for detecting the position of the line sensor.
【0015】以上の構成において、画像読取の動きにつ
いて説明する。The movement 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 indicated 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, it is projected on the screen 6 through the sliding mirror 11 (the optical path of the broken line).
【0017】操作部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 to the position of the solid line about the axis 12, and the microfilm projection light follows the optical path of the solid line. At this time, the line sensor 13 departs from the home position sensor 14 and starts moving in the A direction (this direction is hereinafter referred to as a prescan). When the line sensor 13 is moved to the image light end position, the line sensor 13 engages with the start position sensor 15 and starts reversing movement in the B direction (hereinafter, this direction is referred to as a main scan). After that, 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 broken line position.
【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.
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, 21 is a line sensor 1.
An amplifier for amplifying the image signal output 3 and an amplifier A for converting the amplifier output signal into a digital 8-bit signal.
/ D converter, 23 is 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 data setting control for the frame detection circuit;
Alternatively, the CPU 26 for displaying and the like is an image processing circuit for performing various kinds of image processing on the image signal subjected to shading correction.
【0020】次に画像処理回路26及び枠検出回路24
の詳細ブロックを図4にて説明する。Next, the image processing circuit 26 and the frame detection circuit 24
Detailed blocks of the above 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 is a binarization circuit for simply binarizing the original image signal VM having an 8-bit gradation, and 102 is a block bit addition circuit for bitwise adding the binarized image signal VMB. Reference numeral 103 denotes a binarization circuit for determining a value obtained by adding block bits, 104 denotes a signal binarized by the binarization circuit 103, and a detection signal for detecting a boundary point between an image portion and a frame portion by SIG. MBI, MBI
It is a detection signal generation circuit for generating T.
【0022】105は主走査方向同期信号に同期して画
像ブロックGCLKによりカウントする13ビットのカ
ウンタ、106はブロック化の際に生じる主走査方向の
遅延(K)を補正するためのアドレス補正回路であると
ころの13ビットアダー107は検出信号MBITの立
上りで、主走査方向のアドレスをラッチする画像部立上
りアドレスラッチ回路、108は検出信号MBIの立上
りで、主走査方向のアドレスをラッチする画像部立下り
アドレスラッチ回路である。Reference numeral 105 is a 13-bit counter which counts by the image block GCLK in synchronization with the main scanning direction synchronizing signal, and 106 is an address correction circuit for correcting the delay (K) in the main scanning direction which occurs during block formation. A 13-bit adder 107 at a certain point 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 MBIT, and 108 is an image section rising edge that latches an address in the main scanning direction at the rising edge of the detection signal MBI. It is a downstream address latch circuit.
【0023】109はTライン毎に生じる同期信号HS
YNT信号により、立上りアドレスラッチ回路107の
出力アドレス信号NBのラッチを行ない、遅延するTラ
インラッチ回路、110は同じくHSYNT信号により
108の出力アドレス信号NAをラッチするTラインラ
ッチ回路である。Reference numeral 109 is a synchronization signal HS generated for each T line.
A T line latch circuit that latches the output address signal NB of the rising address latch circuit 107 by the YNT signal and delays it, and a T line latch circuit 110 that similarly latches the output address signal NA of 108 by the HSYNT signal.
【0024】11はNB、NAのアドレス信号よりタイ
ミングを発生するアドレス・タイミング変換回路A、1
12は同じく109、110の出力信号PB、PAのア
ドレス信号よりタイミングを発生するアドレス・タイミ
ング変換回路Bである。Reference numeral 11 is an address / timing conversion circuit A, 1 for generating timing from the address signals of NB and NA.
Reference numeral 12 is an address / timing conversion circuit B for generating timing from the output signals PB and PA of 109 and 110.
【0025】113〜117はゲート回路で、詳細は後
述する。Gate circuits 113 to 117 will be described in detail later.
【0026】118は原画像信号VMをエッジ強調する
ためのエッジ強調回路、119は更にエッジ強調化され
た8ビット諧調の画像信号を誤差拡散法により擬似中間
調処理するための誤差拡散回路、120はブロック化の
際に生じる副走査方向の遅延を補正するための画像遅延
回路である。Reference numeral 118 is an edge enhancement circuit for edge enhancing the original image signal VM, and 119 is an error diffusion circuit for performing pseudo halftone processing of the edge enhanced 8-bit grayscale image signal by the error diffusion method. Is an image delay circuit for correcting a delay in the sub-scanning direction that occurs when the block is formed.
【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 signal VMB obtained by binarizing the original image signal VM by the binarization circuit 101 and a GCKW signal as shown in FIG. (1 block in FIG. 16 for every 8 pixels), latch circuits 122 to 129 are cleared for each cycle of the HSYNW signal, 130 is an output signal VMB ′ of the latch circuit 121 and the line memories 122 to 122. An adder circuit A for adding the outputs (a to i) of 129, 131 to 138 is a latch circuit for latching the 4-bit output of the adder circuit A130 with the GCKW signal, 13
9 is 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 eight.
【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. 48, 49, 50, 51 and 52 are 1-bit full adders, and 53 and 54 are 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. 55, 56, 57 and 58 are 4-bit adders and 5
9 and 60 are 5 bit adders, 61 are 6 bit adders, 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 the judgment 2 by the binarization circuit 103.
An AND gate 42 for ANDing the binarized area signal AREA with the binarized signal SIG.
D latch for connecting to the output of No. 1 and creating an MBI signal which is inverted with the image clock signal GCLK, 43 is an SI
It is a JK flip-flop for creating an MBIT signal which rises at the first rise of the G signal and falls at the next fall of the HSYNC * signal.
【0031】図9は、立上りアドレスラッチ回路107
及び立下りアドレスラッチ回路108の一例を示す回路
図で、44はMBIT信号の立上りでラッチするDラッ
チ、45は更にその信号をHSYNT信号の立上りでラ
ッチするDラッチ46はMBI信号の立上りでラッチす
るDラッチ47は更にその信号をHSYNT信号の立上
りでラッチするDラッチである。FIG. 9 shows the rising address latch circuit 107.
And 44 is a circuit diagram showing an example of the falling address latch circuit 108, in which 44 is a D latch that latches at the rising edge of the MBIT signal, 45 is a D latch that latches that signal at the rising edge of the HSYNT signal, and 46 is a 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. 63 is a 13-bit adder for calculating the address obtained by subtracting the dot width D of the black frame in the main scanning direction from the address NB, and 64 is the same. Address N
1 to calculate the address with the dot width D added from A
3-bit adder, 65 to 68 is 1 GCLK when the address of each A input and the count address in the main scanning direction match.
13-bit equality comparators, 69 and 70, which output minute pulses, are NL from the pulses from the comparators 65 and 67 and the pulses from the comparators 66 and 68, respectively.
It is a JK flip-flop for producing M and NL signals.
【0033】図11はアドレス・タイミング変換回路B
112の一例を示す回路図で、接続は図10と同等であ
るので説明は省略する。FIG. 11 shows the address / timing conversion circuit B.
In the circuit diagram showing an example of 112, the connection is the same as in FIG.
【0034】71、72は、13ビットアダー、73〜
76は13ビットイコーリティコンパレータ77、78
はJKフリップフロップである。71 and 72 are 13-bit adders, 73-
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 a delay circuit. 81 is a serial-parallel conversion circuit for converting the binary image signal VDI into serial-parallel, 82 is a latch for latching at the rising edge of the SPCLK signal, and 83, 84. Is RAM
(1) 3-state gate circuit for selecting output signal to 95 or RAM (2) 96, 85 for inverter, 86 for 8-bit selector for selecting input signal from RAM (1) 95 or RAM (2) 96, 87 is a latch for latching the output of the 8-bit selector at the rising timing of the PSLAT signal, 88 is a parallel-serial conversion circuit for converting the output of the latch 87 to parallel-serial, and 89 is RAM (1) 95, RA
M1RD that controls writing and reading to M (2) 96
*, M1WR *, M2RD *, M2WR * This is a selector that is a signal generation circuit.
【0036】90はラインカウント数セットのためのラ
ッチ、91は8ビットカウンタ93の出力と比較し、一
致した時にパルスを出力する8ビットイコーリティコン
パレータ、92はインバータ、94は8ビットイコーリ
ティコンパレータの出力毎に反転した信号MSELを作
り出すためのJKフリップフロップである。Reference numeral 90 is a latch for setting the line count number, 91 is an 8-bit equality comparator which compares with the output of the 8-bit counter 93 and outputs a pulse when they match, 92 is an inverter, and 94 is an 8-bit equality comparator. Is a JK flip-flop for producing an inverted signal MSEL for each output of.
【0037】以下動作を順を追って説明する。The operation will be described below step by step.
【0038】原画像信号VMは、例えば、図3に示す如
くシェーディング補正、γ補正等の基本的補正回路は通
過しており、ある程度のフィルタリング処理も施されて
いる。The original image signal VM has passed through a basic correction circuit such as shading correction and γ correction as shown in FIG. 3, and is also subjected to some filtering processing.
【0039】この原画像信号VMをreflの値、(r
eflはプレスキャンによる測光値に連動している)と
比較して、2値化回路101により1か0の2値信号に
変換する。画像上の1点Xに対するブロックは図22の
ように9×9のサンプル点を持っており、各サンプル点
は主走査方向にGCKW信号の間隔(ここでは8画素
分)、副走査方向にはHSYNW信号の間隔(ここでは
8画素分)だけ離れている。従ってブロックの大きさと
しては、64×64画素となる。This original image signal VM is refl value, (r
efl is interlocked with the photometric value of the prescan), and is converted by the binarizing circuit 101 into a binary signal of 1 or 0. The block for one point X on the image has 9 × 9 sample points as shown in FIG. 22, and each sample point has a GCKW signal interval (here, 8 pixels) in the main scanning direction and a sub scanning direction in the sub scanning direction. The HSYNW signals are separated by an interval (here, 8 pixels). Therefore, the block size is 64 × 64 pixels.
【0040】マイクロフィルム上のゴミ、ホコリは拡大
倍率だけ拡大されるが、枠部にホコリが存在した場合
は、この判定ブロックが小さいと、拡大されたゴミ、ホ
コリで誤動作を起こす場合がある。しかし、この判定ブ
ロックが大きければ大きいほどメモリを必要とするため
最小のメモリで、ゴミ、ホコリの誤動作をなくすために
はこのようにとびとびのサンプル点を持つことは有効な
方法である。Dust and dust on the microfilm are magnified by the magnification ratio. However, if dust is present in the frame, if the judgment block is small, the magnified dust and dust may cause malfunction. However, the larger the decision block is, the more memory is required. Therefore, the smallest memory is required, and it is an effective method to have such discrete sample points in order to prevent malfunction of dust and dust.
【0041】この大きさでは、例えば400dpiのセ
ンサーを用いている場合、約2mm幅の拡大されたゴ
ミ、ホコリまでは、誤動作を生じないことになる。With this size, when a sensor of 400 dpi, for example, is used, no malfunction will occur up to an enlarged dust or dust of about 2 mm width.
【0042】図5がブロックビット加算回路102であ
るが、2値化回路101により変換された画像信号VM
BをDラッチ121により、GCKW信号立上りで刻
み、ラインメモリ122〜129によりHSYNW信号
の間隔で順次記憶する。Although FIG. 5 shows the block bit addition circuit 102, the image signal VM converted by the binarization circuit 101 is used.
B is marked by the D latch 121 at the rising edge of the GCKW signal, and sequentially stored by the line memories 122 to 129 at intervals of the HSYNW signal.
【0043】そして、9ライン分(a〜i)の信号をG
CKW信号の間隔でビット加算していく。例えば、図1
7の様にa〜i信号が出力された場合は加算回路A13
0(図6)の出力Aの4ビット出力は図に示した様にな
る。Then, the signals of 9 lines (a to i) are G
Bits are added at intervals of the CKW signal. For example, in FIG.
When the signals a to i are output as in 7, the adder circuit A13
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, the 4-bit latches 131 to 138 sequentially store in the main scanning direction at intervals of the GCKW signal. Then, the adder circuit B139 calculates the sum of the bit addition signals for 9 lines at the points A to I. At this time, the 4-bit signals A to I are as shown in FIG. 18 when considered along with FIG. Then, the addition circuit B139 (FIG. 7), which is the sum thereof
The output SUM of is the result as shown by SUM in the figure.
【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 as shown in FIG. 6, for example. The signals a, b and c are added by the 1-bit full adder 48 and converted into a 2-bit signal. Similarly, the d, e, and f signals are added by the 1-bit full adder 49 and converted into a 2-bit signal. Furthermore, 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 the lower 1 bit of each 2-bit converted signal are separately calculated by the 1-bit full adders 51 and 25, and further converted into 4-bit signals by the 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 is, for example, as shown in FIG. 7, in which 4-bit signals of A and B, C and D, E and F, G and H are first added by the 4-bit adders 55 to 58, respectively. ,
It is converted to 5 bits, and this 5-bit signal is added by the 5-bit adders 59 and 60 to be converted to 6 bits.
Then, the 6-bit signal is added by the 6-bit adder 61 to be converted to 7 bits, and finally the 4-bit signal of I is added by the 7-bit adder 62 to obtain the sum SUM of A to I.
Is output.
【0048】こうして得られたSUMは、2値化回路1
03により、ref2と比較して、1か0の2値信号S
IGに変換する。従って、このようにこのSIGはまわ
りの画素から概ね平均的に求めた信号であるので、大面
積のローパスフィルタをかけたような効果があり、ノイ
ズやゴミホコリに対して安定的な信号となっている。The SUM thus obtained is the binarization circuit 1
03, a binary signal S of 1 or 0 as compared with ref2.
Convert to IG. Therefore, since this SIG is a signal obtained from the surrounding pixels almost on average, it has the effect of applying a low-pass filter with a large area, and becomes a stable signal against noise and dust. There is.
【0049】次に、この信号SIGは図8に示した検出
信号発生回路104にて枠消エリア信号AREAにより
アンドゲート41で制限された後、Dラッチ42、JK
フリップフロップ43により画像立下り検出信号MBI
と画像立上り検出信号MBITを作る。基本的にMBI
Tは、タイミング的に、主走査同期信号HSYNCから
最初にくる画像部のエッジをとらえるために、SIGの
最初の立上り点で立上げ、次のHSYNC信号立上りで
立下げている。またMBIはHSYNCから見て、最後
の画像部のエッジをとらえるために、SIGを反転して
いる。Next, this signal SIG is limited by the AND gate 41 by the frame elimination area signal AREA in the detection signal generation circuit 104 shown in FIG. 8, and then the D latch 42, JK.
The image fall detection signal MBI is generated by the flip-flop 43.
And the image rise detection signal MBIT. Basically MBI
In order to catch the edge of the image portion which comes first from the main scanning synchronization signal HSYNC, T rises at the first rising point of SIG and falls at the next rising edge of the HSYNC signal. Further, MBI inverts SIG in order to catch the edge of the last image portion when 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 the number of bits assuming 400 dpi A3 size main scanning, and varies depending on the resolution of the sensor and the image reading width.
【0051】ブロック化することにより、主走査、副走
査とも遅延が生じるが、主走査方向に関しては、13ビ
ットアダー106によりアドレス補正することで対処す
る。補正値はKであるが、以下のタイミングは便宜上K
=0としている。こうして補正された主走査方向カウン
タのアドレス値をHADとする。By dividing into blocks, a delay occurs in both the main scanning and the sub-scanning, but in the main scanning direction, address correction is performed by 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 thus corrected 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 and 1 shown in FIG.
At 08, when an image exists, the MLAT signal latches the HAD signal once per line and the MBI signal latches the HAD signal at least once by the D latches 44 and 46. Further, for synchronization, the outputs of the D latches 44 and 46 are latched by the D latches 45 and 47 again at the rising edge of the HSYNT signal. The address signal thus latched is N
B and NA. Then, the address signals NB, NA
Further, the address signals PB and PA are latched at the rising edge of the HSYNT signal.
【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 13-bit adder 63 calculates the NB-D address, and the 13-bit adder 64 also calculates the NA + D address. Then, the 13-bit equality comparator 6 is generated 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.
Pulses are output from 5 to 68. Then, the JK flip-flops 69 and 70 rise at the output of the 13-bit equality comparator 65, rise at the output of the 13-bit equality comparator 67, and rise at the output of the 13-bit equality comparator 66 to give the 13-bit equality comparator. The NL signal falling at the output of the priority comparator 68 is output.
【0054】同様にアドレス信号PB、PAからも、図
11に示したアドレス・タイミング変換回路112によ
りPLM、PL信号が出力される。Similarly, from the address signals PB and PA, the PLM and PL signals are output by the address / timing conversion circuit 112 shown in FIG.
【0055】図19、図20は画像部の縁に黒枠を形成
する過程を示したタイミングチャートである(以下HS
YNTをHSYNC(1ライン)としている)。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 (1 line).
【0056】図19で1番上の信号はHSYNC※で、
1ラインに1パルス(GCLK2周期分)の間隔で立下
るパルスが出力される。画像エリアはこのHSYNC※
信号のパルス間に存在するが、プリンターとの関係で、
通常の1ラインは画像読取幅以上のクロックタイミング
を有しており、画像エリアの前後には非画像エリアも存
在する。The first signal in FIG. 19 is HSYNC *,
A pulse falling at one pulse (two GCLK cycles) is output to one line. The image area is this HSYNC *
It exists between the pulses of the signal, but in relation to the printer,
Normally, one line has a clock timing that is equal to or larger than the image reading width, and there are non-image areas before and after the image area.
【0057】図19は副走査方向に画像がない状態から
画像が現れた時のタイミングで、画像がある時はSIG
信号が1となる。ただし、画像部の中でも文字部は枠部
の濃度に近いためSIG信号が0になる場合もある。こ
の時アドレス信号NBはSIG信号の最初の立上り点を
示しており、アドレス信号NAは1ライン中のSIG信
号の最後立下り点を示している。FIG. 19 shows the timing when an image appears when there is no image in the sub-scanning direction.
The signal becomes 1. However, the SIG signal may become 0 because the character part of the image part is close to the density of the frame part. At this time, the address signal NB shows the first rising point of the SIG signal, and the address signal NA shows 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 rising of the SIG signal and becomes 0 at the next HSYNC * signal, the NB address is latched at the rising of the MBIT signal. Since the MBI signal rises several times in the image part, it is latched several times, but since the last rising address NA is latched in one line, NB is latched at the next HSYNC signal rising. , 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 HSYNC again are also as shown in the figure.
【0060】そして、図4に示すEXORゲート11
3、114の出力をThen, the EXOR gate 11 shown in FIG.
The output of 3,114
【0061】[0061]
【外1】 とし、更にそのOR出力を[Outer 1] And the OR output
【0062】[0062]
【外2】 そしてエッジ強調、誤差拡散更には遅延回路を通した画
像信号VDとNLMのアンド出力を[Outside 2] Then, edge enhancement, error diffusion, and AND output of the image signals VD and NLM that have passed through the delay circuit
【0063】[0063]
【外3】 とした時の各点波形は図19の様になる。画像信号VD
は斜線で示している。[Outside 3] The waveform of each point is as shown in FIG. Image signal VD
Is indicated by diagonal 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 made a black line, and the line after the next line (H
When SYNCT is not HSYNC and n lines are placed, the next n lines and thereafter) has a black band at the width of the edge of the image part in the main scanning direction set by D (see VDO signal).
【0065】また、図20の様に、SIGが変化した場
合には、VDO信号のように黒帯の幅が変化する。この
変化により、結果的に図23(A)の様な画像は、図2
3(B)の様な画像に変換される。Further, as shown in FIG. 20, when the SIG changes, the width of the black band changes like the VDO signal. Due to this change, as a result, the image shown in FIG.
It is converted into an image like 3 (B).
【0066】エッジ強調回路118にはラプラシアンの
3×3の畳み込みマスクを使用している。マスク係数は
図24に示す。また、誤差拡散回路119により、中間
調再現特性を向上させている。誤差拡散法(ED法)は
周知のように、ある注目画素を、一定の閾値と比較し、
生じた誤差(注目画素の濃度と閾値との差分値)を次の
複数画素の濃度に拡散していく方法であり、代表的な擬
似中間調処理の一つである。The edge enhancement circuit 118 uses a Laplacian 3 × 3 convolution mask. The mask coefficient is shown in FIG. Further, the error diffusion circuit 119 improves the halftone reproduction characteristic. As is well known, the error diffusion method (ED method) compares a certain pixel of interest with a certain threshold value,
This is a method of diffusing the generated error (the difference value between the density of the pixel of interest and the threshold value) to the density of the next plurality of pixels, which is one of typical pseudo halftone processing.
【0067】遅延回路120は詳細には図12〜図14
の様に構成されている。The delay circuit 120 will be described in detail with reference to FIGS.
It is configured like.
【0068】図13で、まずCPU(不図示)によりD
ラッチ90にレジスタ書込みタイミングで遅延ライン数
がセットされる。8ビットカウンタ93は、副走査同期
信号VSYNC※でクリアされ、主走査同期信号HSY
NCの立上りでカウントアップする。このカウンタ93
の出力カウント信号は8ビットイコーリティコンパレー
タ91に入力され、先の遅延ライン数と比較し、一致し
た時に1ライン周期分の正パルスが出力される。In FIG. 13, first, by the CPU (not shown), 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 the main-scanning synchronizing signal HSYNC.
Count up at the rising edge of NC. This counter 93
The output count signal of is input to the 8-bit equality comparator 91, compared with the number of delay lines described above, and when they match, a positive pulse for one line period 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. RA
Address bus MA9 of M (1) 95 and RAM (2) 96
To MA0 are address signals HAD12 to HAD 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 lower 3 bits are not used because the data is converted from serial to parallel.
【0071】図12で誤差拡散回路19の出力信号VD
Iは8ビットのシリパラ変換器81でシリアルパラレル
信号変換がなされる。The output signal VD of the error diffusion circuit 19 in FIG.
I is an 8-bit serial-parallel converter 81 for serial-parallel signal conversion.
【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 GC as shown in FIG.
The signal of ⅛ cycle of the LK signal, the signal of serial-parallel conversion is latched by the D latch 82 by this SPCLK signal,
As a result, the serial signal carved with GCLK is GCLK /
It is converted into an 8-bit parallel signal that is divided by 8. This signal is a 3-state gate 8 when the previous MSEL signal is high.
Data is output from the RAM 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.
(1) The 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, the 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 output to the RAM ( 2) The signal from 96 is output. This signal is latched by the D latch 8F at the rising edge 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.
It is a signal of 1/8 cycle of the signal, and its rising point is SPCLK.
This is a half point of the signal rising period. Then, the output signal of the D latch 8F is input to the parallel-serial converter 88, and P
Data is loaded by the SLOAD * signal, and serial image data V is loaded at the clock rising timing of the GCLK signal.
Output D.
【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 also serves as a select signal for the 4-bit selector 89, and M1RD *, M1
The WR *, M2RD *, and M2WR * are input to the RAM (1) 95 and the RAM (2) 96 at the timings 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で制御するために行なってい
る。By the above control, the serial image signal VDI is output as the serial image signal VD delayed by the set number of delay lines. The serial-to-parallel conversion is performed here in order to control a high-speed image signal with a low-speed (long access time) inexpensive RAM.
【0077】以上の様に、パイプライン処理により画像
処理を行ない、自動枠消を行なうため、画像メモリとし
ては数ライン分しか必要なく、安価でしかも小型な装置
を提供できる。また、一担、全画像域に画像情報を記憶
するなどの処理が不安なため、高速に処理が行なえる。As described above, since image processing is performed by pipeline processing and automatic frame erasing is performed, only a few lines are required as an image memory, and an inexpensive and compact device can be provided. Further, since it is uneasy to carry out processing such as storing image information in the entire image area, the processing can be performed at high speed.
【0078】また、枠消は矩形に行なうのではなく、ほ
ぼ任意の形状に枠消が行なえるため、不必要な枠部を精
度良く消去し、トナー消費量を迎えるとともに、画像品
位の良いコピーを得ることができる。Further, since the frame erasing is not performed in a rectangular shape but can be performed in almost any shape, unnecessary frame portions can be erased with high precision, toner consumption can be reached, and a copy with good image quality can be obtained. Can be obtained.
【0079】更に画像部(枠の内側部分)の周囲に縁取
を行なうことで、画像部の輪隔を浮き立たせることで、
画像部の大きさ、位置を明瞭化することができる。Further, by edging the periphery of the image portion (inner portion of the frame), the ring gap of the image portion is raised,
The size and position of the image part can be clarified.
【0080】(他の実施例)図5に示したラインメモリ
1(22)〜ラインメモリ7(28)は1ビットのライ
ンメモリを使用しているが、HSYNW※の周期が8ラ
イン分もあると、スタティック型のラインメモリを使用
しなければならないため、コストが高くなる。そこで図
5のラインメモリをダイナミック型のメモリであるμP
D42505V(NEC製)を用いて構成した例を図2
5に示す。(Other Embodiments) The line memories 1 (22) to 7 (28) shown in FIG. 5 use 1-bit line memories, but the cycle of HSYNW * is 8 lines. Since the static line memory must be used, the cost becomes high. Therefore, the line memory of FIG.
FIG. 2 shows an example of configuration using D42505V (manufactured by NEC).
5 shows.
【0081】ラインメモリ79のリード用クロックRC
Kとライト用クロックWCK端子には、GCLKW信号
が供給され、リード用リセットRSTR※とライト用リ
セットRSTW※端子にはHSYNC信号が供給されて
いる。従って、1ライン毎にラインメモリ内容は書き換
えられるが、8ビットセレクタ80のSEL端子には、
HSYNW信号が接続されているため、HSYNWがn
ライン周期の場合(n−1)ラインはメモリに1回書込
まれた内容をリフレッシュ的に再書込みすることにな
る。Read clock RC of 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 line memory contents are rewritten for each line, the SEL terminal of the 8-bit selector 80 is
Since the HSYNW signal is connected, HSYNW is n
In the case of the line cycle, the (n-1) line refreshes and rewrites the contents once written in the memory.
【0082】従って、nライン目には新しいVMB′が
0ビット目のラインメモリに書き込まれ、以降0ビット
目のラインメモリの内容が1ビット目に、1ビット目の
ラインメモリの内容が2ビット目にと1ビットずつシフ
ト書き込みされる。これにより、nラインおきに8ライ
ンのラインメモリを行なうことができる。Therefore, a new VMB 'is written in the 0th bit line memory on the nth line, and thereafter, the 0th bit line memory content is the 1st bit and the 1st bit line memory content is the 2nd bit. One bit is written to each eye. As a result, a line memory of 8 lines can be performed every n lines.
【0083】また、以上の説明では原稿としては、マイ
クロフィルム画像を対象にしているが、特に原稿を限定
するものではなく、例えばディジタル複写機やペーパー
スキャナーの様なものに適用しても良い。このような装
置では、主に等倍コピーが行なわれるため、ゴミ、ホコ
リの影響も、マイクロフィルムの様に拡大されない分少
なく、ブロックビット加算回路102は簡素化したもの
で良く、場合によっては省略可能である。In the above description, the original is a microfilm image, but the original is not particularly limited and may be applied to, for example, a digital copying machine or a paper scanner. In such a device, since the same size copying is mainly performed, the influence of dust and dust is small as it is not enlarged like microfilm, and the block bit addition circuit 102 may be a simplified one, and may be omitted in some cases. It is possible.
【0084】また、主、副走査方向別々に縁取幅が変え
られるので、図26(a)(b)の様な縁取が可能であ
るが、主、副走査方向同時に縁取幅を変える様な構成
は、容易に達成できる。Since the edging width can be changed separately in the main and sub-scanning directions, edging as shown in FIGS. 26A and 26B is possible. However, the edging width is changed simultaneously in the main and sub-scanning directions. Can be easily achieved.
【0085】また、エッジ強調回路118、誤差拡散回
路119は特に必要な構成要件ではなく、いかなる画像
処理でも良い。又図27に示す様に後端部に枠が一部残
ってコピーされても許容されるならば、遅延回路120
も不要である。Further, the edge enhancement circuit 118 and the error diffusion circuit 119 are not particularly required constituent elements, and any image processing may be performed. Also, as shown in FIG. 27, if it is permissible for a part of the frame to be copied at the rear end, the delay circuit 120
Is also unnecessary.
【0086】また、ANDゲート116の入力の片側は
NLM信号を使用しているが、NL、PL、PLMのい
ずれでも等価的に枠消を行なうことが可能である。但
し、それぞれの信号では、若干の枠位置ズレ、縁取機能
をoffした時の枠消幅に差が出る。Further, although the NLM signal is used on one side of the input of the AND gate 116, the frame can be erased equivalently by any of NL, PL and PLM. However, for each signal, there is a slight shift in the frame position and a difference in the frame disappearance width when the edging function is turned off.
【0087】以上説明したように、画像読取時に副走査
方向に一定区間離れた2つの主走査方向ラインの読取信
号に対応する画像部か枠部かを示す評価信号を各々取り
出すとともに、更にこの評価信号の画像部両端に境界線
幅の信号を付加した信号を各々取り出し、これら信号よ
り自動非矩形枠消を行なうと同時に、画像部と枠部の境
界線を引くことで画像部全体に黒縁を作るようにしたこ
とにより、その出力画像の画像品位を上げるとともに、
画像領域を強調して、画像の大きさ及び位置を明確化す
ることができる。As described above, at the time of image reading, the evaluation signals indicating the image portion or the frame portion corresponding to the read signals of the two lines in the main scanning direction which are separated from each other in the sub-scanning direction by a constant section are taken out and further evaluated. A signal with the border width added to both ends of the image part of the signal is taken out, and the non-rectangular frame is automatically erased from these signals. By making it, while improving the image quality of the output image,
The image area can be emphasized to clarify the size and position of the image.
【0088】また、この方式は画像メモリとしては、数
ラインのラインメモリしか必要とせず、またその処理は
パイプライン処理により、殆どリアルタイムに行なうこ
とができるため、安価にシステムを構成でき、また高速
な画像処理を行なうことができる。Also, this system requires only a few line memories as an image memory, and since the processing can be performed almost in real time by pipeline processing, the system can be constructed inexpensively and at high speed. Image processing can be performed.
【0089】[0089]
【発明の効果】以上説明した様に、本発明によると、画
像及びその周辺部を表わす画像信号に基づいて画像と周
辺部との境界を検出し、検出された境界の外側の画像信
号を特定信号に変換するとともに、検出された前記境界
に対応して枠を表わす画信号を形成するので、自動非矩
形枠消を行なうと同時に、画像部と枠部の境界線を引く
ことで枠を作るようにしたことにより、その出力画像の
画像品位を上げるとともに、画像領域を強調して、画像
の大きさ及び位置を明確化することができる。As described above, according to the present invention, the boundary between the image and the peripheral portion is detected based on the image signal representing the image and the peripheral portion thereof, and the image signal outside the detected boundary is specified. Since a picture signal representing a frame is formed corresponding to the detected boundary while being converted into a signal, automatic non-rectangular frame erasure is performed, and at the same time a frame is created by drawing a boundary line between the image part and the frame part. 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.
【図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 adder circuit A.
【図7】加算回路Bのブロック図。FIG. 7 is a block diagram of an adder 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】遅延回路のブロック図。[13] 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 diagram.
【図16】タイミングチャート図。FIG. 16 is a timing chart diagram.
【図17】タイミングチャート図。FIG. 17 is a timing chart diagram.
【図18】タイミングチャート図。FIG. 18 is a timing chart diagram.
【図19】タイミングチャート図。FIG. 19 is a timing chart diagram.
【図20】タイミングチャート図。FIG. 20 is a timing chart.
【図21】タイミングチャート図。FIG. 21 is a timing chart diagram.
【図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.
13 ラインセンサ 24 枠検出回路 26 画像処理回路 102 ブロックビット加算回路 104 検出信号発生回路 107 立上りアドレスラッチ回路 108 立下りアドレスラッチ回路 111 アドレス・タイミング変換回路A 112 アドレス・タイミング変換回路B 120 遅延回路 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
Claims (1)
入力する入力手段と、 前記入力手段から入力された画像信号に基づいて前記画
像と前記周辺部との境界を検出する検出手段と、 前記検出手段によって検出された前記境界の外側の画像
信号を特定信号に変換する変換手段と、 前記検出手段によって検出された前記境界に対応して枠
を表わす画信号を形成する形成手段とを有することを特
徴とする画像処理装置。1. Input means for inputting an image signal representing an image and a peripheral portion thereof; detection means for detecting a boundary between the image and the peripheral portion based on the image signal input from the input means; The image forming apparatus includes: a converting unit that converts an image signal outside the boundary detected by the detecting unit into a specific signal; and a forming unit that forms an image signal representing a frame corresponding to the boundary detected by the detecting unit. An image processing device characterized by.
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 true JPH05199398A (en) | 1993-08-06 |
JP3021073B2 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) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7010745B1 (en) | 1999-07-01 | 2006-03-07 | Sharp Kabushiki Kaisha | Border eliminating device, border eliminating method, and authoring device |
-
1991
- 1991-04-09 JP JP3076193A patent/JP3021073B2/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7010745B1 (en) | 1999-07-01 | 2006-03-07 | Sharp Kabushiki Kaisha | Border eliminating device, border eliminating method, and authoring device |
Also Published As
Publication number | Publication date |
---|---|
JP3021073B2 (en) | 2000-03-15 |
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 | |
JPS6198069A (en) | Image processing device | |
JP3200873B2 (en) | Image processing device | |
JP2809447B2 (en) | Image processing device | |
JP3021073B2 (en) | Image processing device | |
JPH06205195A (en) | Image processing apparatus and method thereof | |
JP2541937B2 (en) | Image processing device | |
JP2608264B2 (en) | Image reading device | |
JPS60254876A (en) | Shading correcting device | |
JPH0514734A (en) | Image processing device | |
JP2547759B2 (en) | Image processing device | |
JPH05268479A (en) | Picture reader and picture processing method in picture reader | |
JPS62199170A (en) | Correction method for density gradation of dot picture | |
JP3003183B2 (en) | Image reading device | |
JPH0636549B2 (en) | Digital copier | |
JPS6367079A (en) | Picture processor | |
JPH02264566A (en) | Picture reader | |
JPH0426273A (en) | Image processing device | |
JPH0927896A (en) | Image processing device | |
JPH11243488A (en) | Image reader | |
JPH04310071A (en) | Image reading device | |
JPS6033781A (en) | Picture signal correcting device | |
JPH0514630A (en) | Marker area detector and detecting method |
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 |