JPH09116710A - Edit area setting device and image reader - Google Patents
Edit area setting device and image readerInfo
- Publication number
- JPH09116710A JPH09116710A JP7270829A JP27082995A JPH09116710A JP H09116710 A JPH09116710 A JP H09116710A JP 7270829 A JP7270829 A JP 7270829A JP 27082995 A JP27082995 A JP 27082995A JP H09116710 A JPH09116710 A JP H09116710A
- Authority
- JP
- Japan
- Prior art keywords
- image
- scanning
- circuit
- coordinate
- area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Editing Of Facsimile Originals (AREA)
- Control Or Security For Electrophotography (AREA)
- Image Input (AREA)
- Processing Or Creating Images (AREA)
- Facsimile Scanning Arrangements (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は原稿上を走査し、読
み取られた画像を編集するための編集領域を設定する編
集領域設定装置および編集領域を読み取る画像読み取り
装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an editing area setting device for scanning an original and setting an editing area for editing a read image, and an image reading device for reading the editing area.
【0002】[0002]
【従来の技術】従来、原稿画像への編集を行う方法とし
て、編集したい領域に直接マーカペンで書き込みを行
い、スキャナ等で読み取った後、マーカ着色領域に基づ
き編集領域を検出し、編集領域内の切り出しなどを行っ
ていた。(例えば、特開平2−294156号公報)。2. Description of the Related Art Conventionally, as a method of editing an original image, a region to be edited is directly written with a marker pen, read by a scanner or the like, and then the editing region is detected based on the marker coloring region. I was cutting out. (For example, Japanese Patent Laid-Open No. 2-294156).
【0003】[0003]
【発明が解決しようとする課題】しかしながら上記の従
来の構成では、以下の課題を有する。However, the above conventional configuration has the following problems.
【0004】原稿に直接に編集領域を書き込む方法はオ
リジナル原稿を損なう。例えば、原稿上をマーカで着色
する方法では、保存しておきたい原稿が汚れてしまう。
一旦着色した後は、再度マーカー指定できないという問
題がある。The method of directly writing the edit area on the original document spoils the original original document. For example, in the method of coloring a document with a marker, the document to be stored becomes dirty.
Once colored, there is a problem that the marker cannot be designated again.
【0005】また、マーカーペンを用いる方法では作業
効率が悪い。これは、マーカーペンで原稿上の指定領域
にペンで書き込みを行った後、スキャナーで読み取る手
順となるため、手間と時間を必要とする。さらには、マ
ーカーペンなどの補助道具を常に必要とする。Further, the method using a marker pen is inefficient in working efficiency. This is a procedure in which a marker pen is used to write in a designated area on a document with a pen and then read with a scanner, which requires time and effort. Furthermore, auxiliary tools such as marker pens are always needed.
【0006】補助装置を用いることなく、かつ、原稿を
損なうことがない他の編集領域設定方法として、車輪の
回転にともなってパルスを発生するエンコーダの出力か
ら走査位置を算出する方法(例えば、特開昭62−15
964号公報)を用い、領域を設定する毎に、走査位置
を算出する方法が考えられる。As another editing area setting method which does not damage an original without using an auxiliary device, a method of calculating a scanning position from an output of an encoder which generates a pulse with rotation of a wheel (for example, Kaisho 62-15
964), a method of calculating the scanning position each time a region is set can be considered.
【0007】しかし、この方法では、原稿上の限られた
軌跡上から走査位置が検出されるだけなので、所望の領
域に自由に編集領域を設定することができないという問
題がある。However, this method has a problem in that it is not possible to freely set an editing area in a desired area because the scanning position is only detected from a limited locus on the document.
【0008】また、走査開始位置を基準点として逐次検
出されるエンコーダのパルスをカウントして走査位置を
算出するので、メカ精度、車輪の滑りなどによって累積
位置誤差が生じるという問題がある。Further, since the scanning position is calculated by counting the pulses of the encoder which are sequentially detected with the scanning start position as the reference point, there is a problem that a cumulative position error occurs due to mechanical precision, wheel slippage and the like.
【0009】検出される走査位置の累積位置誤差が大き
くなると、実際に車輪が走査している原稿上の正規の走
査位置との間で大きな位置誤差が生じる。(以後、この
位置誤差を位置ずれと言う)。When the cumulative position error of the detected scanning position becomes large, a large position error occurs between the wheel and the regular scanning position on the original which is actually scanned by the wheel. (Hereinafter, this position error is referred to as position shift).
【0010】位置ずれは、編集精度を悪くすると同時
に、編集対象である画像にも影響を与える。例えば、ハ
ンドスキャナーのセンサから読み出される画像データの
座標上の位置を、位置ずれした走査位置に基づいて算出
し、画像メモリの所定のアドレスに格納すると、画像メ
モリ上に接続された平面画像に大きな画像歪みを生じ
る。The positional deviation not only deteriorates the editing accuracy, but also affects the image to be edited. For example, if the coordinate position of the image data read from the sensor of the hand scanner is calculated based on the misaligned scanning position and stored at a predetermined address in the image memory, it is possible to obtain a large planar image connected to the image memory. Image distortion occurs.
【0011】この位置ずれによる平面画像の画像歪みに
ついて図19(b)〜(d)を用いて説明する。Image distortion of a plane image due to this positional shift will be described with reference to FIGS.
【0012】図19(b)に図示すように、ハンドスキ
ャナー1004で原稿1000上を自由走査する場合の
説明を行う。図19(c)に図示すように、一方向のみ
を読み取る小型ハンドスキャナーでは、原稿1000上
の大画面を読み取ることはできない。しかし、一方向に
対してセンサの読み取り範囲だけ画像メモリ上に画像デ
ータが格納されるので、接続ずれは発生しない。As shown in FIG. 19B, the case where the hand scanner 1004 freely scans the original 1000 will be described. As shown in FIG. 19C, a small-sized hand scanner that reads only one direction cannot read a large screen on the original 1000. However, since the image data is stored in the image memory in the reading range of the sensor in one direction, the connection shift does not occur.
【0013】図19(d)に図示すように、一筆書きの
往復走査によって原稿1000上の大画面を読み取るハ
ンドスキャナーでは、位置ずれした走査位置に基づいて
画像データを画像メモリに格納すると、画像の接続部が
位置ずれし、画像が歪む。特に、累積位置誤差を発生す
るスキャナーでは、走査する範囲が広くなるほど位置ず
れがひどくなり、画像自体を判読できなくなる。As shown in FIG. 19D, in a hand scanner that reads a large screen on the original 1000 by reciprocal scanning with one stroke, when image data is stored in an image memory based on the misaligned scanning position, the image is read. The connection part of is misaligned and the image is distorted. Particularly, in a scanner that generates a cumulative position error, the wider the scanning range, the more the position shift becomes, and the image itself cannot be read.
【0014】よって、位置ずれした読み取り画像に対し
て、切り取りなどの編集領域を設定しても、所望した画
像位置と実際の画像位置が異なるため、精度の良い編集
位置の指定はできないという問題がある。Therefore, even if an edit area such as a cutout is set for a read image whose position has been shifted, the desired image position and the actual image position are different, so that it is not possible to specify an accurate edit position. is there.
【0015】本発明は上記従来の問題点を解決するもの
で、オリジナル原稿を損なうことなく、効率良く編集領
域を設定することができる編集領域設定装置を提供する
ことを第1の目的とし、さらに、合成される画像対して
精度良く編集領域を設定できる編集領域設定装置を提供
することを第2の目的とし、効率良く編集できる画像読
み取り装置を提供することを第3の目的とする。SUMMARY OF THE INVENTION The first object of the present invention is to solve the above-mentioned conventional problems, and it is a first object of the present invention to provide an editing area setting device capable of efficiently setting an editing area without damaging an original document. A second object is to provide an editing area setting device capable of accurately setting an editing area for an image to be combined, and a third object is to provide an image reading device capable of efficiently editing.
【0016】[0016]
【課題を解決するための手段】上記目的を達成するた
め、本発明に係る編集領域設定装置および画像読み取り
装置は次の構成を有する。In order to achieve the above object, an editing area setting device and an image reading device according to the present invention have the following configurations.
【0017】第1の目的を達成するために、本発明の編
集領域設定装置は次の第1の構成を有する。In order to achieve the first object, the editing area setting device of the present invention has the following first configuration.
【0018】第1の構成では、原稿上の座標検出位置を
指定する検出指定手段と、前記座標検出位置で、複数の
位置座標を検出する位置検出手段と、編集領域を設定す
るための編集位置座標点の設定位置を調整する位置調整
手段と、前記編集位置座標点を、前記複数の位置座標と
前記設定位置に基づいて生成する座標演算手段と、前記
検出指定手段により座標検出位置が指定される毎に、前
記座標演算手段から生成される前記編集位置座標点を格
納する記憶手段と、記憶された前記編集位置座標点から
編集領域を生成する編集領域生成手段とを有する。In the first configuration, the detection designation means for designating the coordinate detection position on the document, the position detection means for detecting a plurality of position coordinates at the coordinate detection position, and the editing position for setting the editing area Position adjusting means for adjusting the setting position of the coordinate point, coordinate calculating means for generating the edit position coordinate point based on the plurality of position coordinates and the setting position, and the coordinate detection position is designated by the detection designating means. Each time, the storage unit stores the edit position coordinate point generated by the coordinate calculation unit, and the edit area generation unit generates an edit area from the stored edit position coordinate point.
【0019】次に、第2の目的を達成するために、本発
明の編集領域設定装置は次の第2の構成を有する。Next, in order to achieve the second object, the editing area setting device of the present invention has the following second structure.
【0020】第2の構成では、原稿画像を走査して読み
取られた画像データと、前記画像データに対応する走査
位置とを順次入力とし、走査位置に基づいて前記画像デ
ータを画像メモリに格納する画像処理手段において、重
複して走査する重なり走査領域内の、前記画像データと
画像メモリに格納した格納データから前記走査位置の位
置ずれを検出し、位置ずれを補正する補正量を出力する
位置ずれ補正手段と、前記補正量に基づいて前記走査位
置を補正する補正手段と、補正された走査位置に基づい
て前記画像データを前記画像メモリに格納する写像手段
とを備える画像処理手段と、前記補正された走査位置に
基づいて編集領域を設定する領域設定手段とを有する。In the second configuration, the image data read by scanning the original image and the scanning position corresponding to the image data are sequentially input, and the image data is stored in the image memory based on the scanning position. The image processing means detects a positional deviation of the scanning position from the image data and the storage data stored in the image memory in the overlapping scanning area for overlapping scanning, and outputs a correction amount for correcting the positional deviation. An image processing unit including a correction unit, a correction unit that corrects the scanning position based on the correction amount, and a mapping unit that stores the image data in the image memory based on the corrected scanning position; Area setting means for setting an editing area based on the scanned position.
【0021】次に、第3の目的を達成するために、本発
明の画像読み取り装置は次の第3の構成を有する。Next, in order to achieve the third object, the image reading apparatus of the present invention has the following third configuration.
【0022】第3の構成では、原稿を走査して画像デー
タを生成するセンサと、前記センサの走査位置を検出す
る走査位置検出手段と、前記走査位置に基づいて前記画
像データを画像メモリに格納する格納手段と、編集領域
を設定する編集領域設定手段と、前記画像メモリに格納
された前記編集領域内の画像データを読み出す出力手段
とを有する。In the third structure, a sensor for scanning an original to generate image data, a scanning position detecting means for detecting the scanning position of the sensor, and the image data stored in the image memory based on the scanning position. Storage means, an editing area setting means for setting an editing area, and an output means for reading out the image data in the editing area stored in the image memory.
【0023】[0023]
【発明の実施の形態】本発明の第1の構成によって、原
稿上の座標検出位置の指定によって、座標検出位置で複
数の位置座標を検出し、編集領域を設定するための編集
位置座標点の設定位置を調整することで、複数の位置座
標から演算により任意位置に編集位置座標点を設定でき
る。よって、オリジナル原稿を損なうことなく、原稿上
の所望する位置に編集位置座標点を設定することができ
る。According to the first configuration of the present invention, by designating a coordinate detection position on a document, a plurality of position coordinates are detected at the coordinate detection position and an edit position coordinate point for setting an edit area is set. By adjusting the set position, the edit position coordinate point can be set at an arbitrary position by calculation from a plurality of position coordinates. Therefore, the edit position coordinate point can be set at a desired position on the original without damaging the original.
【0024】また、本発明の第2の構成によって、画像
処理手段は、入力した走査位置に位置誤差が含まれてい
ても、重複して走査する重なり走査領域内の、画像デー
タと格納データの画像情報から走査位置の位置ずれを検
出し、位置ずれを補正することができる。領域設定手段
は、補正した走査位置に基づいて編集領域を設定するの
で、合成された画像に対して精度良い編集領域を設定す
ることができる。Further, according to the second configuration of the present invention, the image processing means allows the image data and the stored data in the overlapping scanning area to be scanned redundantly even if the input scanning position includes a positional error. The positional deviation of the scanning position can be detected from the image information, and the positional deviation can be corrected. Since the area setting means sets the edit area based on the corrected scanning position, it is possible to set the edit area with high accuracy for the combined image.
【0025】また、本発明の第3の構成によって、原稿
上の画像を読み取りながら編集領域を設定できる。よっ
て、編集作業効率があがる。Further, according to the third configuration of the present invention, the editing area can be set while reading the image on the original. Therefore, the editing work efficiency is improved.
【0026】以下、実施例を用いて本発明をさらに具体
的に説明する。なお、本発明を説明する前に、第1〜3
の実施例で基本となる画像処理装置、および画像読み取
り装置について説明する。Hereinafter, the present invention will be described more specifically with reference to examples. Before describing the present invention, first to third
The image processing apparatus and the image reading apparatus, which are the basics of this embodiment, will be described.
【0027】(第1の実施例)まず、本発明の編集領域
設定装置および画像読み取り装置に用いる画像処理装置
について図面を参照しながら説明する。図1は本発明の
第1の実施例における編集領域設定装置および画像読み
取り装置に用いる画像処理装置A、および原稿画像を読
み取り走査する画像読み取り部Bのブロック図である。(First Embodiment) First, an image processing apparatus used in the editing area setting apparatus and the image reading apparatus of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of an image processing apparatus A used in an editing area setting apparatus and an image reading apparatus and an image reading unit B for reading and scanning an original image according to the first embodiment of the present invention.
【0028】原稿9上を手動により走査し、原稿画像を
読み取ることで、ラインイメージセンサ1は画像データ
を生成する。読み取り画像データは、画像バッファ4に
出力される。図16に図示するように、原稿画像を読み
取り走査する画像読み取り部Bは、ラインイメージセン
サ1が取り付けられているハンドスキャナ本体の匡体1
04に、ラインイメージセンサ1の両端位置に2個の車
輪31、32が装備され、各車輪31、32には車輪の
回転を検出するエンコーダ2a,2bがそれぞれ取り付
けてある。The line image sensor 1 generates image data by manually scanning the original 9 and reading the original image. The read image data is output to the image buffer 4. As shown in FIG. 16, an image reading unit B that reads and scans a document image includes a case 1 of the hand scanner body to which the line image sensor 1 is attached.
In the line 04, two wheels 31 and 32 are provided at both ends of the line image sensor 1, and encoders 2a and 2b for detecting the rotation of the wheels are attached to the wheels 31 and 32, respectively.
【0029】それぞれのエンコーダ2a,2bは、車輪
31、32の回転角度に応じて90度位相の異なる2相
のA相パルスとB相パルスを発生する。このA相パルス
とB相パルスを用いて、車輪31、32の回転方向を検
出する。A相パルスとB相パルスは90度位相が異なる
為、B相パルスの立ち上がりによって検出されるA相パ
ルスのレベルは車輪の回転方向によって、「H」レベル
と「L」レベルに識別される。識別された信号341、
361の「L」レベルを車輪の前進方向(UP方向)と
すると、「H」レベルは車輪の後進方向(DOWN方
向)となる。位置カウンタ33、35は、信号341、
361が「L」レベルのときB相パルス数に従ってカウ
ント値を増加し、「H」レベルのときB相パルス数に従
ってカカウント値を減算させる。位置座標検出回路37
は、位置カウンタ33、35からのカウント値331、
351を入力し、車輪の回転方向を考慮した各車輪3
1、32の移動距離を検出する。次に、走査位置検出回
路37は、車輪の移動距離に基づいて、各車輪31、3
2の原稿上での座標を算出する。さらに、走査位置検出
回路37は、各車輪31、32の座標をラインイメージ
センサ1の両端の各読み取り画素の座標に変換し、走査
位置座標300として出力する。走査位置検出回路3
7、位置カウンタ33、位置カウンタ35、より構成さ
れる走査位置検出回路3について、動作の詳細は後述す
る。Each of the encoders 2a and 2b generates a two-phase A-phase pulse and a B-phase pulse whose phases are different by 90 degrees depending on the rotation angles of the wheels 31 and 32. The rotation directions of the wheels 31, 32 are detected using the A-phase pulse and the B-phase pulse. Since the A-phase pulse and the B-phase pulse are 90 degrees out of phase with each other, the level of the A-phase pulse detected by the rising of the B-phase pulse is classified into "H" level and "L" level depending on the rotation direction of the wheel. The identified signal 341,
When the “L” level of 361 is the forward direction of the wheel (UP direction), the “H” level is the reverse direction of the wheel (DOWN direction). The position counters 33 and 35 have signals 341,
When 361 is at "L" level, the count value is increased according to the number of B-phase pulses, and when it is at "H" level, the count value is subtracted according to the number of B-phase pulses. Position coordinate detection circuit 37
Is a count value 331 from the position counters 33 and 35,
351 is input and each wheel 3 considering the rotation direction of the wheel 3
The moving distances of 1 and 32 are detected. Next, the scanning position detection circuit 37 determines the wheels 31, 3 based on the moving distance of the wheels.
The coordinates on the second document are calculated. Further, the scanning position detection circuit 37 converts the coordinates of the wheels 31 and 32 into the coordinates of the read pixels at both ends of the line image sensor 1 and outputs the coordinates as the scanning position coordinates 300. Scan position detection circuit 3
Details of the operation of the scanning position detection circuit 3 including the position counter 33, the position counter 33, and the position counter 35 will be described later.
【0030】図1に示すように位置ずれ検出回路7は、
写像回路5からの高密度化画像データ500と、画像メ
モリ6に格納された格納データの相関値を算出する。さ
らに、位置ずれ検出回路7は、この相関値に基づいて算
出される位置補正量を用いて走査位置座標300を補正
し、補正位置座標710を写像回路5に出力する。写像
回路5は、画像データ400を画素密度変換し、高密度
化画像信号500を出力する。さらに、写像回路5は補
正位置座標710を用いて、画像メモリ6のアドレスを
生成する。写像回路5は、高密度化画像データ500の
各画素データを、バス600を介して画像メモリ6に格
納する。位置ずれ検出回路7及び写像回路5の動作の詳
細は後述する。As shown in FIG. 1, the position shift detection circuit 7 is
The correlation value between the densified image data 500 from the mapping circuit 5 and the stored data stored in the image memory 6 is calculated. Further, the positional deviation detection circuit 7 corrects the scanning position coordinate 300 using the position correction amount calculated based on this correlation value, and outputs the corrected position coordinate 710 to the mapping circuit 5. The mapping circuit 5 performs pixel density conversion on the image data 400 and outputs a densified image signal 500. Further, the mapping circuit 5 uses the corrected position coordinates 710 to generate the address of the image memory 6. The mapping circuit 5 stores each pixel data of the densified image data 500 in the image memory 6 via the bus 600. Details of the operations of the position shift detection circuit 7 and the mapping circuit 5 will be described later.
【0031】以下、走査位置検出回路3の動作につい
て、さらに詳しく説明する。図2は、位置検出回路3の
動作説明図である。図2において、太線は2個の車輪の
移動軌跡を示している。ラインイメージセンサ1がiラ
イン目の画素データを読みとったときの、2個の車輪の
位置を示す座標を、それぞれP0i(X0i,Y0i),
P1i(X1i,Y1i)とする。今、P0i-1,P1i-1
の座標が既知であるとき、P0iおよびP1iの座標は、
(数1)を用いて近似的に算出できる。The operation of the scanning position detecting circuit 3 will be described in more detail below. FIG. 2 is an operation explanatory diagram of the position detection circuit 3. In FIG. 2, the thick line indicates the locus of movement of the two wheels. The coordinates indicating the positions of the two wheels when the line image sensor 1 reads the pixel data of the i-th line are P0 i (X0 i , Y0 i ),
Let P1 i (X1 i , Y1 i ). Now, P0 i-1 and P1 i-1
The coordinates of P0 i and P1 i are
It can be approximately calculated using (Equation 1).
【0032】[0032]
【数1】 (Equation 1)
【0033】ここで、・は乗算をする演算であり、/は
除算をする演算である。以後、・は乗算をする演算子と
し、/は除算をする演算子として記載する。L0
i-1は、読みとり開始時からi−1ライン目の読み取り
を行った時までに、車輪が移動した距離である。△L0
iは、i−1ライン目の読み取りからiライン目の読み
取を行ったときまでに、車輪が移動した距離である。移
動距離は、車輪の回転方向を考慮するので、マイナスの
値にも成り得る。また、車輪の原稿上での移動距離は、
図16に図示するエンコーダ2a、2bのパルス数Nと
1パルスの分解能P(インチ/1パルス)からP×Nを
計算することで得られる。図16の位置座標検出回路3
7は、位置カウンタ33、35のカウント値331、3
51をセンサの読み取り周期に同期して読み取り、iラ
イン目とi−1ライン目で検出したカウント値の差分か
ら、車輪の回転方向を含む原稿上での移動距離△L0i
を検出する。Dは、2つの車輪間の距離である。(数
1)は、△θ=|θi−θi-1|=|△L0i−△L1i|
/Dを0とした近似計算である。△θは、ラインイメー
ジセンサ1の1ライン走査時間の間に、ラインイメージ
センサ1の変化角度を意味する。(数1)を用いること
によって、読み取り開始時の2つの車輪の座標を決めて
おけば、2つの車輪の移動距離からそれらの座標を算出
することができる。Here, · is an operation for multiplication and / is an operation for division. Hereinafter, · will be described as an operator for multiplication and / will be described as an operator for division. L0
i-1 is the distance traveled by the wheel from the start of reading until the reading of the i-1th line. △ L0
i is the distance traveled by the wheel from the reading of the i-1th line to the reading of the i-th line. The moving distance can be a negative value because the rotation direction of the wheel is taken into consideration. Also, the moving distance of the wheel on the original is
It can be obtained by calculating P × N from the number of pulses N of the encoders 2a and 2b shown in FIG. 16 and the resolution P (inch / one pulse) of one pulse. Position coordinate detection circuit 3 of FIG.
7 is the count values 331, 3 of the position counters 33, 35.
51 is read in synchronization with the reading cycle of the sensor, and based on the difference between the count values detected on the i-th line and the (i-1) th line, the moving distance ΔL0 i on the original including the rotation direction of the wheels.
Is detected. D is the distance between the two wheels. (Equation 1) is Δθ = | θ i −θ i−1 | = | ΔL0 i −ΔL1 i |
This is an approximate calculation with / D set to 0. Δθ means a change angle of the line image sensor 1 during one line scanning time of the line image sensor 1. By using (Equation 1), if the coordinates of the two wheels at the start of reading are determined, those coordinates can be calculated from the movement distances of the two wheels.
【0034】図3は、ラインイメージセンサ1の両端部
読み取り画素の座標算出の説明図である。車輪31の座
標をP0(X0,Y0)、車輪32の座標をP1(X1,
Y1)とする。ラインイメージセンサ1の両端部の画素
の座標Ps(Xs,Ys)およびPe(Xe,Ye)は、(数
2)により算出できる。FIG. 3 is an explanatory diagram of the calculation of the coordinates of the pixels read at both ends of the line image sensor 1. The coordinates of the wheel 31 are P0 (X0, Y0), and the coordinates of the wheel 32 are P1 (X1,
Y1). The coordinates Ps (Xs, Ys) and Pe (Xe, Ye) of the pixels at both ends of the line image sensor 1 can be calculated by (Equation 2).
【0035】[0035]
【数2】 (Equation 2)
【0036】ここで、Dは車輪31と32の間の距離、
d1は車輪31から読み取り画素Psまでの距離、d2
は車輪31から読み取り画素Peまでの距離である。Where D is the distance between the wheels 31 and 32,
d1 is the distance from the wheel 31 to the read pixel Ps, d2
Is the distance from the wheel 31 to the read pixel Pe.
【0037】走査位置検出回路3は、エンコーダ2aお
よび2bからの2相パルスから得られる車輪31、32
の移動距離から、(数1)および(数2)の演算を行
い、ラインイメージセンサ1の両端の読み取り画素の座
標を、図16の走査位置座標300として出力する。The scanning position detecting circuit 3 has wheels 31, 32 obtained from the two-phase pulses from the encoders 2a and 2b.
Calculations of (Equation 1) and (Equation 2) are performed based on the movement distance of (1), and the coordinates of the read pixels at both ends of the line image sensor 1 are output as the scanning position coordinates 300 in FIG.
【0038】図4は、ラインイメージセンサ1の走査領
域の説明図である。図4を用いて、原稿9の読み取り領
域幅がラインイメージセンサ1の長さより大きい場合
の、ラインイメージセンサの手動走査による動きを説明
する。原稿を読み取るために、操作者は手によってハン
ドスキャナ本体を原稿に接触させつつ、原稿9上を往復
動作させながら手動走査する。このとき、本体に取り付
けられた2個の車輪が回転し、エンコーダ2a,2bか
ら2相パルスが出力される。図4は、ラインイメージセ
ンサ1により読みとられる原稿上の読み取り領域を示し
ている。FIG. 4 is an explanatory diagram of the scanning area of the line image sensor 1. The movement of the line image sensor by manual scanning when the reading area width of the document 9 is larger than the length of the line image sensor 1 will be described with reference to FIG. In order to read a document, an operator manually scans the document 9 while reciprocating the document 9 while bringing the hand scanner body into contact with the document by hand. At this time, the two wheels attached to the main body rotate, and the encoders 2a and 2b output two-phase pulses. FIG. 4 shows a reading area on the original read by the line image sensor 1.
【0039】ラインイメージセンサ1は原稿9の全幅を
走査することができないので、図16の読み取り部B
は、ラインイメージセンサ1の往復動作によって原稿全
体を読み取る。図4は、イメージセンサ両端の画素のみ
の位置を記載しているが、イメージセンサ1は両端画素
を結ぶライン上の画像を読み取る。例えば、ラインイメ
ージセンサ1の両端画素がそれぞれA点とB点である場
合、ラインイメージセンサ1はA点とB点を結ぶライン
上を読み取っている。(以後、これを読み取り位置A−
Bと記す)。Since the line image sensor 1 cannot scan the entire width of the original 9, the reading unit B in FIG.
Reads the entire document by the reciprocating motion of the line image sensor 1. Although FIG. 4 shows only the positions of pixels at both ends of the image sensor, the image sensor 1 reads an image on a line connecting the pixels at both ends. For example, when the pixels at both ends of the line image sensor 1 are points A and B, respectively, the line image sensor 1 is reading on the line connecting the points A and B. (Hereafter, this is read position A-
B).
【0040】図4では、ラインイメージセンサ1は、読
み取り位置A−Bを走査開始位置とし、読み取り位置C
−Dまで走査する。A点、B点、D点、C点に囲まれる
読み取り領域ABDCを読みとった画像データは、画像
メモリ6に新規に格納される。このような領域を、以後
新規走査領域と称する。In FIG. 4, the line image sensor 1 uses the reading position AB as the scanning start position and the reading position C as the scanning position.
Scan to -D. The image data obtained by reading the reading area ABDC surrounded by the points A, B, D, and C is newly stored in the image memory 6. Such an area is hereinafter referred to as a new scanning area.
【0041】次に、ラインイメージセンサ1は、戻り方
向に、読み取り位置C−DからE−Fまで走査する。C
点、D点、G点、E点に囲まれる領域CDGEは、重複
して画像が読み取られる領域である。以後、この重複し
て読み取られる領域を重なり走査領域と称する。D点、
G点、F点に囲まれる領域DGFは、新規走査領域であ
る。領域ABCDの読み取り画像データ中の各画素は、
位置検出回路3からの走査位置座標に基づいて、写像回
路5により画像メモリ6に格納される。次に、ラインイ
メージセンサ1が戻り方向に移動し、読み取り位置C−
DからE−Fまで走査する。このとき、重なり走査領域
CDGE、新規走査領域ABGEC、および新規走査領
域DFGの3つの走査領域が存在する。Next, the line image sensor 1 scans from the reading positions CD to EF in the returning direction. C
An area CDGE surrounded by points, D points, G points, and E points is an area where images are read in an overlapping manner. Hereinafter, the overlapping read area is referred to as an overlap scanning area. Point D,
The area DGF surrounded by the points G and F is a new scanning area. Each pixel in the read image data of the area ABCD is
The image data is stored in the image memory 6 by the mapping circuit 5 based on the scanning position coordinates from the position detection circuit 3. Next, the line image sensor 1 moves in the return direction, and the reading position C-
Scan from D to E-F. At this time, there are three scanning areas: the overlapping scanning area CDGE, the new scanning area ABGEC, and the new scanning area DFG.
【0042】図1、図4から走査位置座標300に位置
誤差がなければ、走査位置座標300に基づいて、読み
取り画像データの各画素を、画像メモリ6に写像して格
納することができる。すなわち、重なり走査領域の読み
とり画像データが、画像メモリにオーバーライトされて
も、新規走査領域ABGECと重なり走査領域CDGE
の継ぎ目部分に、画像メモリ中の読み取り画像にずれは
生じない。しかし、ハンドスキャナの機構設計精度、車
輪と原稿間のスリップ、車輪の原稿への沈み込み、曲線
手動走査時の車輪幅の影響などにより、走査位置座標3
00は位置誤差を含む。また、走査位置検出回路3は、
エンコーダ2a,2bから出力される2相パルスをカウ
ントして、エンコーダの移動距離を得るので、前記位置
誤差は累積される。よって、走査位置座標300を用い
て画像データ400を画像メモリ6に写像すると、前記
継ぎ目部分に画像のずれ生じる。ここで、読み取り画像
データを画像メモリの所定のアドレスに格納する動作を
写像と言う。If there is no position error in the scanning position coordinate 300 from FIGS. 1 and 4, each pixel of the read image data can be mapped and stored in the image memory 6 based on the scanning position coordinate 300. That is, even if the read image data of the overlapping scanning area is overwritten in the image memory, the new scanning area ABGEC and the overlapping scanning area CDGE are overlapped.
There is no deviation in the read image in the image memory at the seam portion of. However, due to the precision of the mechanical design of the hand scanner, the slip between the wheel and the original, the sinking of the wheel into the original, the effect of the wheel width during manual scanning of the curve, etc., the scanning position coordinate 3
00 includes a position error. Further, the scanning position detection circuit 3
Since the two-phase pulses output from the encoders 2a and 2b are counted to obtain the moving distance of the encoder, the position error is accumulated. Therefore, when the image data 400 is mapped to the image memory 6 using the scanning position coordinates 300, the image shift occurs at the joint portion. Here, the operation of storing the read image data in a predetermined address of the image memory is called mapping.
【0043】この画像ずれを無くすため、位置ずれ検出
回路7は、重なり走査領域CDGEの画像メモリ6に格
納された画像データと高密度化画像データ500を用い
て、それらの相関度合いを示す相関値を算出する。さら
に、位置ずれ検出回路7は、この相関値に基づいて、走
査位置座標を補正するための位置補正量を算出する。ま
た、位置ずれ検出回路7は、この位置補正量に従って走
査位置座標300を補正し、補正位置座標710を写像
回路5に出力する。写像回路5は補正位置座標710に
従って、高密度化画像データ500中の各画素を画像メ
モリ6に写像するためのアドレスを生成し、画像メモリ
6に格納する。重なり走査領域の抽出について説明は後
述する。In order to eliminate this image shift, the position shift detection circuit 7 uses the image data stored in the image memory 6 of the overlap scanning area CDGE and the densified image data 500, and a correlation value indicating the degree of correlation between them. To calculate. Further, the position shift detection circuit 7 calculates the position correction amount for correcting the scanning position coordinates based on this correlation value. Further, the position shift detection circuit 7 corrects the scanning position coordinates 300 according to this position correction amount and outputs the corrected position coordinates 710 to the mapping circuit 5. The mapping circuit 5 generates an address for mapping each pixel in the densified image data 500 to the image memory 6 according to the corrected position coordinate 710, and stores the address in the image memory 6. The extraction of the overlap scanning area will be described later.
【0044】図7は画像メモリ6の説明図である。画像
メモリ6の各画素のビット構成は、画像データの走査位
置情報を保持する書き込みフラグの記憶ビット(ビット
7)と、画像データの記憶ビット(ビット0〜6)より
成る。ここで、画像データの記憶ビット数は特定される
ものではなく、必要な階調数によって設計すればよい。
本実施例では128階調の画像を扱うものとし、0から
127の値を持つ濃淡データを格納するために、1画素
あたり7ビットが画像メモリに確保される。bit7の
書き込みフラグは、画像データが画像メモリに6書き込
まれていないとき(未格納状態)「0」であり、画像デ
ータがすでに書き込まれているとき(格納状態)「1」
になる。このように、画像データを格納するメモリと走
査位置情報を格納するメモリを共用することで、アドレ
ス発生、メモリ制御部を簡素化でき、さらには、同時に
アクセスできることからアクセス速度を高速化できる。
なお、画像データを格納するメモリと走査位置情報を格
納するメモリを個別に構成することもでき、走査位置情
報を画素単位でなく、ブロック単位としても良い。画像
データの格納位置を特定できる走査位置情報を記憶でき
れば良い。FIG. 7 is an explanatory diagram of the image memory 6. The bit configuration of each pixel of the image memory 6 includes a storage bit (bit 7) of a write flag that holds scanning position information of image data and a storage bit (bits 0 to 6) of image data. Here, the number of storage bits of the image data is not specified and may be designed according to the required number of gradations.
In this embodiment, an image with 128 gradations is handled, and 7 bits per pixel are secured in the image memory in order to store the grayscale data having a value of 0 to 127. The write flag of bit7 is "0" when the image data 6 is not written in the image memory (unstored state) and "1" when the image data is already written (stored state).
become. In this way, by sharing the memory for storing the image data and the memory for storing the scanning position information, the address generation and the memory control unit can be simplified, and the simultaneous access allows the access speed to be increased.
The memory for storing the image data and the memory for storing the scanning position information may be separately configured, and the scanning position information may be in block units instead of pixel units. It suffices if the scanning position information that can specify the storage position of the image data can be stored.
【0045】次に、位置ずれ検出回路7についてその動
作を説明する。図5は位置ずれ検出回路7のブロック図
である。図1のラインイメージセンサ1の読み取り走査
が開始される前に、画像メモリ6の全てのデータ、補正
量算出回路73の位置補正量703、および画像相関回
路72内の相関テーブルは、「0」に初期化される。こ
の初期化後、ラインイメージセンサ1のラインの読み取
り走査ごとに、走査位置座標300が位置補正回路74
により補正されて、補正位置座標710として写像回路
5に出力される。ラインイメージセンサ1の読み取りが
開始された時点では、位置補正量703は「0」なの
で、走査位置座標300と補正位置座標710は同じ座
標値となる。Next, the operation of the position shift detection circuit 7 will be described. FIG. 5 is a block diagram of the displacement detection circuit 7. Before the reading scan of the line image sensor 1 of FIG. 1 is started, all the data in the image memory 6, the position correction amount 703 of the correction amount calculation circuit 73, and the correlation table in the image correlation circuit 72 are “0”. Is initialized to. After this initialization, the scanning position coordinate 300 is changed to the position correction circuit 74 every time the line image sensor 1 reads a line.
Are corrected and output to the mapping circuit 5 as corrected position coordinates 710. Since the position correction amount 703 is “0” at the time when the reading of the line image sensor 1 is started, the scanning position coordinate 300 and the correction position coordinate 710 have the same coordinate value.
【0046】写像回路5は、画像データ400を画素密
度変換処理により高密度化し、高密度化画像信号500
を生成する。さらに、写像回路5は、入力される補正位
置座標710を用いて、高密度化画像信号の各画素デー
タPnの画像メモリ6への格納アドレスADRnを算出
する。写像回路5の動作の詳細については後述する。写
像回路5は、アドレスADRnに従って、バス600を
経由して画像メモリ6のアドレスADRnに格納されて
いる画素データPnを読み出し、バス600を介して、
重なり領域検出回路71に画素データPnを出力する。The mapping circuit 5 densifies the image data 400 by a pixel density conversion process to obtain a densified image signal 500.
Generate Further, the mapping circuit 5 uses the input corrected position coordinates 710 to calculate the storage address ADRn of each pixel data Pn of the densified image signal in the image memory 6. Details of the operation of the mapping circuit 5 will be described later. The mapping circuit 5 reads the pixel data Pn stored in the address ADRn of the image memory 6 via the bus 600 according to the address ADRn, and reads the pixel data Pn from the bus 600 via the bus 600.
The pixel data Pn is output to the overlapping area detection circuit 71.
【0047】重なり領域検出回路71は、画素Pnの書
き込みフラグ(bit7)をチェックして、この画素デ
ータPnのアドレスADRnに画像データが格納済みか
どうかを判定する。画素データPnのbit7が1のと
きは、センサの読み取り走査によって画像データがすで
にアドレスADRnに格納されていることを示している
ので、画素データPnは重なり走査領域に含まれること
が判定できる。また、bit7が0のときは、画素デー
タPnは新規走査領域に含まれることが判定できる。重
なり領域検出回路71は、判定信号701を画像相関回
路72、写像回路5に出力する。ここで、判定信号70
1は、画素データPnが新規走査領域に含まれるとき
「0」、重なり走査領域に含まれるとき「1」となる信
号である。The overlap area detection circuit 71 checks the write flag (bit7) of the pixel Pn to determine whether the image data has been stored at the address ADRn of the pixel data Pn. When the bit 7 of the pixel data Pn is 1, it indicates that the image data has already been stored in the address ADRn by the reading scan of the sensor, and thus it can be determined that the pixel data Pn is included in the overlap scanning region. When bit7 is 0, it can be determined that the pixel data Pn is included in the new scanning area. The overlapping area detection circuit 71 outputs the determination signal 701 to the image correlation circuit 72 and the mapping circuit 5. Here, the determination signal 70
1 is a signal which becomes "0" when the pixel data Pn is included in the new scanning area and "1" when the pixel data Pn is included in the overlapping scanning area.
【0048】画像相関回路72は、判定信号701が
「1」のとき画素データPnについての相関値算出処理
を行い、判定信号701が「0」のとき相関値算出処理
を行わない。写像回路5は、判定信号701が「0」の
とき、高密度化画素データPnを、画像メモリ6に格納
する。また、写像回路5は、判定信号701が「1」の
ときはPnを画像メモリ6に格納をしない。この1画素
単位の一連の処理動作を、高密度化画像データ500の
1ラインの全部画素データについて行う。The image correlation circuit 72 performs the correlation value calculation process for the pixel data Pn when the determination signal 701 is "1", and does not perform the correlation value calculation process when the determination signal 701 is "0". The mapping circuit 5 stores the densified pixel data Pn in the image memory 6 when the determination signal 701 is “0”. Further, the mapping circuit 5 does not store Pn in the image memory 6 when the determination signal 701 is “1”. This series of processing operations for each pixel is performed for all the pixel data of one line of the densified image data 500.
【0049】1ライン分の高密度化画像データ500の
上記処理が終了した時点で、画像相関回路72は、重な
り走査領域に含まれる画素についてのみ相関値計算処理
を行うことによって作成した相関テーブルを用いて、走
査位置座標300の位置ずれ方向を検出する。さらに、
画像相関回路72は、補正量算出回路73に位置ずれを
キャンセルするためのオフセット値702を出力する。
1ライン全ての高密度化画素が新規走査領域に含まれる
ときは、画像相関回路72の相関テーブルは初期値
「0」のままである。このときは、前記オフセット値7
02は、0(位置ずれ無し)となる。At the time when the above processing of the high-density image data 500 for one line is completed, the image correlation circuit 72 creates a correlation table created by performing the correlation value calculation processing only for the pixels included in the overlap scanning area. The position shift direction of the scanning position coordinate 300 is detected by using this. further,
The image correlation circuit 72 outputs an offset value 702 for canceling the positional deviation to the correction amount calculation circuit 73.
When the densified pixels of all one line are included in the new scanning area, the correlation table of the image correlation circuit 72 remains the initial value "0". At this time, the offset value 7
02 is 0 (no displacement).
【0050】補正量算出回路73は、オフセット値70
2を、内部に保持している補正量の累積値に加算して位
置補正量703を出力する。位置補正回路74は、次に
処理する1ラインの画像データの走査位置座標300と
位置補正量703を加算して、補正位置座標710とし
て写像回路5に出力する。以後、前述した一連の処理を
順次ラインごとに繰り返し行う。The correction amount calculation circuit 73 uses the offset value 70
The position correction amount 703 is output by adding 2 to the cumulative value of the correction amount held inside. The position correction circuit 74 adds the scanning position coordinates 300 of the image data of one line to be processed next and the position correction amount 703, and outputs it as corrected position coordinates 710 to the mapping circuit 5. After that, the series of processes described above is sequentially repeated for each line.
【0051】次に、写像回路5の動作を図6、図7、図
9を用いて説明する。図6は写像回路5のブロック図、
図7は画像メモリ6の説明図、図9は画素密度変換の説
明図である。Next, the operation of the mapping circuit 5 will be described with reference to FIGS. 6, 7 and 9. FIG. 6 is a block diagram of the mapping circuit 5,
FIG. 7 is an explanatory diagram of the image memory 6, and FIG. 9 is an explanatory diagram of pixel density conversion.
【0052】画素密度変換回路51は、画像データ40
0中の1画素データにつき3つの補間画素を生成し、2
倍に高密度化された高密度化画像データ500を出力す
る。The pixel density conversion circuit 51 uses the image data 40.
3 interpolated pixels are generated for 1 pixel data in 0, and 2
The densified image data 500 that has been doubled in density is output.
【0053】まず、補間画素の生成方法について図9を
用いて説明する。Pi,jは、画像データ400中、iラ
イン目の画像データのj番目の画素データを示す。黒ド
ットは各画素データの座標点である。図9(a)は画像
データ400中の隣接する4つの画素を示している。画
像データ400中の画素データPi,jに対して、3つの
補間画素を生成する場合について説明する。図9(b)
においてQi,j,Ri,jおよびSi,jは補間画素である。
各補間画素データは、(数3)により算出する。First, a method of generating interpolation pixels will be described with reference to FIG. P i, j represents the j-th pixel data of the image data of the i-th line in the image data 400. Black dots are coordinate points of each pixel data. FIG. 9A shows four adjacent pixels in the image data 400. A case where three interpolation pixels are generated for the pixel data P i, j in the image data 400 will be described. FIG. 9B
In, Q i, j , R i, j and S i, j are interpolated pixels.
Each interpolation pixel data is calculated by (Equation 3).
【0054】[0054]
【数3】 (Equation 3)
【0055】次に、座標値算出回路52について説明す
る。座標値算出回路52には、ラインイメージセンサ1
の両端画素の補正後の座標値である補正位置座標710
が入力される。座標値算出回路52は、補正位置座標7
10を用いて、高密度化画像データ500の各画素の座
標値520を計算する。図7に示すように、ラインイメ
ージセンサ1の両端画素PsiおよびPeiの座標(補正
位置座標710)が、それぞれ(Xsi、Ysi),(X
ei,Yei)である場合の、座標値算出回路52の動作
を説明する。サフィックスiは、画像データ400のi
ライン目の補正位置座標であることを示す。ここで、ラ
インイメージセンサ1の読み取り画素密度を8画素/m
m,画像メモリ6に格納する画像の画素密度を8画素/
mm、Xsi,Ysi,XeiおよびYeiは1/8mmを
単位とする実数値である。Next, the coordinate value calculation circuit 52 will be described. The coordinate value calculation circuit 52 includes the line image sensor 1
Corrected position coordinates 710, which are the coordinate values after the correction of pixels at both ends of
Is entered. The coordinate value calculation circuit 52 uses the corrected position coordinates 7
10, the coordinate value 520 of each pixel of the densified image data 500 is calculated. As shown in FIG. 7, the coordinates (correction position coordinates 710) of both end pixels Ps i and Pe i of the line image sensor 1 are (Xs i , Ys i ) and (X
The operation of the coordinate value calculation circuit 52 in the case of e i , Ye i ) will be described. The suffix i is the i of the image data 400.
Indicates that the coordinates are the corrected position coordinates of the line. Here, the read pixel density of the line image sensor 1 is set to 8 pixels / m.
m, the pixel density of the image stored in the image memory 6 is 8 pixels /
mm, Xs i , Ys i , Xe i and Ye i are real values in units of 1/8 mm.
【0056】ラインイメージセンサ1の1ラインの読み
取り画素数をNd、1ライン中の画素番号をjとした場
合、画素データPi,jの座標(XPi,j,YPi,j)は
(数4)を用いて算出される。When the number of read pixels in one line of the line image sensor 1 is Nd and the pixel number in one line is j , the coordinates (XP i, j , YP i, j ) of the pixel data P i, j are ( It is calculated using Equation 4).
【0057】[0057]
【数4】 (Equation 4)
【0058】画素データPi,jに対応する3つの補間画
素データQi,j,Ri,j,Si,jの座標(XQi,j,YQ
i,j),(XRi,j,YRi,j),(XSi,j,YSi,j)
は(数5)を用いて算出される。Coordinates (XQ i, j , YQ) of three interpolated pixel data Q i, j , R i, j , S i, j corresponding to the pixel data P i, j
i, j ), (XR i, j , YR i, j ), (XS i, j , YS i, j )
Is calculated using (Equation 5).
【0059】[0059]
【数5】 (Equation 5)
【0060】座標値算出回路52は、(数4)および
(数5)の演算処理を行うことにより、高密度化画像信
号500中の各画素の座標値520を算出する。The coordinate value calculation circuit 52 calculates the coordinate value 520 of each pixel in the high density image signal 500 by performing the arithmetic processing of (Expression 4) and (Expression 5).
【0061】整数化回路53は、実数値である座標値5
20を整数化し、整数座標値530を出力する。実数の
座標値520を(Xreal,Yreal),整数座標値530
を(Xint,Yint)とすると、整数座標値は、(数6)
を用いて算出される。The integer conversion circuit 53 calculates the coordinate value 5 which is a real value.
20 is converted into an integer, and an integer coordinate value 530 is output. Coordinate value 520 of the real number is (X real , Y real ), integer coordinate value 530
Is (X int , Y int ), the integer coordinate value is (Equation 6)
Is calculated using.
【0062】[0062]
【数6】 (Equation 6)
【0063】(数6)において[ ]は、小数点以下を
四捨五入する演算を示す。0.5を加算した後に少数部
切り捨て処理を行うことは、四捨五入することと等価で
ある。In [Equation 6], [] indicates an operation for rounding off the decimal point. Performing the fractional part truncation processing after adding 0.5 is equivalent to rounding.
【0064】アドレス生成回路54は、整数化座標値5
30を画像メモリ6のアドレス540に変換する。図1
0に画像メモリ6のアドレス配置を示す。画像メモリ6
はX方向にM画素、Y方向にN画素のページメモリであ
る。画像メモリの左上の画素のアドレスは0,右上のア
ドレスはM−1、右下のアドレスはMN−1である。整
数化座標値530を(Xint,Yint)とすると、画像メ
モリのアドレスADRは(数7)により算出される。The address generation circuit 54 uses the integer coordinate value 5
30 is converted into the address 540 of the image memory 6. FIG.
0 shows the address arrangement of the image memory 6. Image memory 6
Is a page memory having M pixels in the X direction and N pixels in the Y direction. The address of the upper left pixel of the image memory is 0, the upper right address is M-1, and the lower right address is MN-1. If the integer coordinate value 530 is (X int , Y int ), the address ADR of the image memory is calculated by (Equation 7).
【0065】[0065]
【数7】 (Equation 7)
【0066】誤差算出回路55には、実数の座標値52
0と整数座標値530が入力され、座標値520が整数
化されたために生じる座標誤差550を出力する。X方
向の座標誤差をEx、Y方向の座標誤差をEyとする
と、座標誤差(Ex,Ey)は、(数8)により算出さ
れる。The error calculation circuit 55 has a real coordinate value 52.
0 and an integer coordinate value 530 are input, and a coordinate error 550 that occurs because the coordinate value 520 is converted into an integer is output. When the coordinate error in the X direction is Ex and the coordinate error in the Y direction is Ey, the coordinate error (Ex, Ey) is calculated by (Equation 8).
【0067】[0067]
【数8】 (Equation 8)
【0068】ここで、| |は絶対値をとる演算であ
る。以後、| |は絶対値をとる演算子として記載す
る。ExおよびEyは、0〜0.5の値をとる。Here, || is an operation that takes an absolute value. Hereinafter, || will be described as an operator that takes an absolute value. Ex and Ey take values of 0 to 0.5.
【0069】比較回路56は、座標誤差550のExお
よびEyと、あらかじめ決められた値を比較する。比較
回路56は、ExおよびEyが共に前記値より小さいと
き、「1」になる信号560を出力する。The comparison circuit 56 compares Ex and Ey of the coordinate error 550 with a predetermined value. The comparison circuit 56 outputs a signal 560 which becomes “1” when both Ex and Ey are smaller than the above values.
【0070】アクセス回路57は、バス600を介して
画像メモリ6をアクセスする。画像メモリ6のアドレス
は、アドレス540により指定される。アクセス回路5
7による高密度化画像信号500の画像メモリ6への格
納は、判定信号701が「0」かつ信号560が「1」
であるときのみ行うように制御する。すなわち高密度化
画像信号500内のある画素の画像メモリ6への写像
は、その画素が新規走査領域に含まれる画素でかつ座標
誤差が所定値より小さいという条件を満たしたときのみ
行われる。前記条件を満たさない画素は画像メモリ6へ
の写像は行われない。この画像メモリ6上の格納済み領
域に新規な画像データを格納しないメモリ制御を行うこ
とよって、累積位置誤差を含む走査位置が入力されて
も、手動走査で往復した一筆書き走査で順次重ねて読み
取りする際に、累積位置誤差が小さい状態の画像データ
を優先して画像メモリ6に格納するので、画像メモリ6
上には常に走査位置誤差の小さい画像を格納できる。こ
の格納データを位置ずれ検出に用いれば、歪みの小さい
接続合成画像が得られ、平面画像の品位を向上できる。The access circuit 57 accesses the image memory 6 via the bus 600. The address of the image memory 6 is designated by the address 540. Access circuit 5
In order to store the high-density image signal 500 in the image memory 6 according to 7, the determination signal 701 is “0” and the signal 560 is “1”
Control so that only when is. That is, the mapping of a pixel in the high-density image signal 500 onto the image memory 6 is performed only when the pixel is a pixel included in the new scanning area and the coordinate error is smaller than a predetermined value. Pixels that do not satisfy the above conditions are not mapped to the image memory 6. By controlling the memory so that no new image data is stored in the stored area on the image memory 6, even if the scanning position including the accumulated position error is input, the scanning is sequentially repeated by the one-stroke writing reciprocating by the manual scanning. In this case, since the image data having a small cumulative position error is preferentially stored in the image memory 6, the image memory 6
An image with a small scanning position error can always be stored on the top. If this stored data is used for positional deviation detection, a connected composite image with small distortion can be obtained, and the quality of the planar image can be improved.
【0071】図11は、図1の高密度化画像データ50
0の画像メモリ6への写像動作の説明図である。図11
(a)は、高密度化画像データ500を示す。図11
(a)において、黒ドットは、各画素の座標値を示して
いる。高密度画像データ500の画素密度は、最小16
画素/mmである。図11(b)は、画像メモリ6の画
素を示す。図11(b)において、黒ドットは画素Wの
座標値を示す。距離Uは、比較回路4の比較回路56で
用いられる所定値を示している。画像メモリ6は、画素
密度が8画素/mmの画像データを格納する。図11
(c)は、高密度化画像データ(図11(a))と、画
像メモリの画素(図11(b))を同一の座標系で重ね
た例である。図11(c)の場合、高密度画像データの
画素P,Q,RおよびSの各座標値は、領域Tの外側に
あるので、画素P,Q,R,Sいずれも画像メモリの画
素Wには写像されないことになる。すなわち、画像メモ
リ6中に、原稿読み取り領域であるにも関わらず、写像
されない画素(写像抜け画素)が存在することになる。FIG. 11 shows the densified image data 50 of FIG.
FIG. 7 is an explanatory diagram of a mapping operation of 0 to the image memory 6. FIG.
(A) shows the densified image data 500. FIG.
In (a), the black dot indicates the coordinate value of each pixel. The minimum pixel density of the high-density image data 500 is 16
Pixels / mm. FIG. 11B shows pixels of the image memory 6. In FIG. 11B, the black dot indicates the coordinate value of the pixel W. The distance U indicates a predetermined value used in the comparison circuit 56 of the comparison circuit 4. The image memory 6 stores image data having a pixel density of 8 pixels / mm. FIG.
FIG. 11C is an example in which the high-density image data (FIG. 11A) and the pixels of the image memory (FIG. 11B) are overlapped in the same coordinate system. In the case of FIG. 11C, since the coordinate values of the pixels P, Q, R, and S of the high-density image data are outside the area T, all the pixels P, Q, R, and S are the pixels W of the image memory. Will not be mapped to. In other words, in the image memory 6, there are pixels that are not imaged (image missing pixels) even though they are the original reading area.
【0072】写像抜け画素が発生すると、黒ベタ領域で
はかなりよく目立つ白筋となり、画質品位を著しく劣化
させる。また、この写像抜け画素が文字領域で発生する
と、文字に白筋が入るなど文字品が著しく劣化する。When image-defective pixels occur, white streaks are noticeable in a solid black area, and the image quality is significantly deteriorated. In addition, when the mapping missing pixel occurs in the character area, the character product is remarkably deteriorated such as a white streak in the character.
【0073】写像抜け画素は、領域Tを広げることによ
り無くすことができる。しかし、領域Tを広げると写像
時の座標誤差が大きくなるので、画像メモリに写像され
た画像の歪みが大きくなる。画像の歪みの点からいう
と、領域Tは狭い程良い。The mapping missing pixels can be eliminated by expanding the area T. However, if the area T is widened, the coordinate error at the time of mapping becomes large, so that the distortion of the image mapped in the image memory becomes large. From the viewpoint of image distortion, the smaller the area T, the better.
【0074】写像抜け画素を無くすための、距離Uの限
界値Umaxは、画像メモリの画素ピッチを単位として
(数9)で表せる。本実施例の場合、画像メモリの画素
密度は8画素/mmであるので、単位は1/8mmとな
る。The limit value U max of the distance U for eliminating mapping missing pixels can be expressed by (Equation 9) using the pixel pitch of the image memory as a unit. In the case of this embodiment, since the pixel density of the image memory is 8 pixels / mm, the unit is 1/8 mm.
【0075】[0075]
【数9】 (Equation 9)
【0076】距離Uを0.35とすることにより、写像
抜け画素を無くすことができる。ある程度の写像抜け画
素の発生を許容して、画像ひずみを低減することを重点
とする場合は、距離Uは0.3から0.35の範囲に設
定すればよい。距離Uを0.3以下にすると、写像抜け
画素が多発し、再現画像の画質が著しく低下する。By setting the distance U to 0.35, it is possible to eliminate mapping missing pixels. If the priority is to allow the occurrence of image-missing pixels to some extent and reduce the image distortion, the distance U may be set in the range of 0.3 to 0.35. When the distance U is set to 0.3 or less, image-missing pixels occur frequently, and the image quality of a reproduced image significantly deteriorates.
【0077】図5に示す位置ずれ検出回路7の動作説明
に戻る。図8は相関テーブルの説明図である。図16の
画像相関回路72について図8を主に用いて説明する。
図8(a)は相関処理の対象となる相関位置の説明図、
図8(b)は相関テーブルの説明図である。同じく図1
6の位置補正回路74に入力されるiライン目の走査位
置座標300をP10(X1,Y1)、P20(X2,
Y2)とし、位置補正量703を△Xoffseti、△Yoff
setiとする。位置補正回路74は、走査位置座標300
から(数10)に基づいて補正位置座標710のP11
(X3,Y3)、P21(X4,Y4)を算出する。Returning to the description of the operation of the positional deviation detection circuit 7 shown in FIG. FIG. 8 is an explanatory diagram of the correlation table. The image correlation circuit 72 of FIG. 16 will be described mainly using FIG.
FIG. 8A is an explanatory diagram of a correlation position that is a target of correlation processing,
FIG. 8B is an explanatory diagram of the correlation table. FIG. 1
6, the scanning position coordinate 300 of the i-th line input to the position correction circuit 74 is set to P10 (X1, Y1), P20 (X2,
Y2), and the position correction amount 703 is ΔXoffset i , ΔYoff
Set i . The position correction circuit 74 uses the scanning position coordinates 300.
From the (Equation 10), P11 of the correction position coordinate 710
(X3, Y3) and P21 (X4, Y4) are calculated.
【0078】[0078]
【数10】 (Equation 10)
【0079】図5に示すように重なり領域検出回路71
からの判定信号701が「1」、すなわち被処理画素が
重なり走査領域に含まれているときのみ、画像相関回路
72は被処理画素について相関値を算出し、相関テーブ
ルの更新を行う。被処理画素の座標に対応する画像メモ
リ6中の画素Pnを着目画素とする。相関値の算出は、
被処理画素の座標を微少値増減した座標に対応する画像
メモリ中の画素データと、被処理画素との画素データの
差分値を算出することにより行う。As shown in FIG. 5, the overlap area detection circuit 71
The image correlation circuit 72 calculates the correlation value for the pixel to be processed and updates the correlation table only when the determination signal 701 from 1 is “1”, that is, when the pixel to be processed is included in the overlapping scanning region. The pixel Pn in the image memory 6 corresponding to the coordinates of the pixel to be processed is the pixel of interest. To calculate the correlation value,
This is performed by calculating the difference value between the pixel data in the image memory and the pixel data of the pixel to be processed, which corresponds to the coordinate in which the coordinate of the pixel to be processed is increased or decreased by a small amount.
【0080】着目画素Pnの座標を(Xn,Yn)、微
少座標値を△hx、△hyとした場合、被処理画素の相
関値算出の対象となる画素データPhの座標(Xhmn,
Yh mn)は、(数11)で算出される。The coordinates of the pixel Pn of interest are (Xn, Yn)
When the minor coordinate values are Δhx and Δhy, the phase of the pixel to be processed is
Coordinates (Xhmn,
Yh mn) Is calculated by (Equation 11).
【0081】[0081]
【数11】 [Equation 11]
【0082】ここで、mは−1、0、1、nは−1、
0、1の値をとる。また、[ ]は少数部の四捨五入演
算である。Here, m is -1, 0, 1, n is -1,
It takes the values 0 and 1. Also, [] is a rounding operation of the decimal part.
【0083】図8(a)では、P12からP22は、m
=1、n=1の場合の、相関値を算出する1ラインの位
置を示している。この相関値算出の対象座標に対応する
相関テーブルをh(m,n)とすると、図8(b)に図
示する相関テーブルが作成できる。In FIG. 8A, P12 to P22 are m
1 shows the position of one line for calculating the correlation value when = 1 and n = 1. When the correlation table corresponding to the target coordinates for this correlation value calculation is h (m, n), the correlation table shown in FIG. 8B can be created.
【0084】高密度化画像信号500の1ライン中の画
素番号をj、データ値をDnj、画像メモリ6中の相関
値算出の対象となる画素データをDhjmnとすると、各
相関テーブルの値h(m,n)は、(数12)によって
算出される。ここで、ho(m,n)は画素番号j−1
までの相関値計算で生成された相関値テーブルの値であ
る。1ラインの相関値計算を開始する前に、相関テーブ
ルの値は全て0に初期化される。If the pixel number in one line of the high-density image signal 500 is j, the data value is Dn j , and the pixel data for which the correlation value is to be calculated in the image memory 6 is Dh jmn , the values in each correlation table are shown. h (m, n) is calculated by (Equation 12). Here, ho (m, n) is the pixel number j-1.
It is the value of the correlation value table generated by the correlation value calculation up to. Before the calculation of the correlation value for one line is started, the values in the correlation table are all initialized to zero.
【0085】[0085]
【数12】 (Equation 12)
【0086】図5の画像相関回路72は、上記の相関値
計算を、高密度化画像信号中の1ラインの全ての画素に
ついて行うことにより相関テーブルを完成する。また、
相関値算出の対象座標は、(数10)に基づく補正位置
座標710とする。The image correlation circuit 72 of FIG. 5 completes the correlation table by performing the above correlation value calculation for all the pixels of one line in the high density image signal. Also,
The target coordinates for calculating the correlation value are the corrected position coordinates 710 based on (Equation 10).
【0087】画像相関回路72は、1ラインの相関値の
計算が終了した時点で、h(m,n)の最小値を保持す
る(mmin,nmin)を検索し、オフセット値702とし
て出力する。相関テーブル中に複数の最小値が存在し、
その最小値に(mmin,nmin)=(0、0)が含まれる
場合、(0,0)の最小値が優先して用いられる。相関
テーブル中の相関値h(mmin,nmin)が最も小さいと
言うことは、(△hx×mmin,△hy×nmin)の微少
値を各画素の座標に加算して写像すると、画像メモリ中
の画像とこれから写像しようとするラインの画像とが、
最もよく一致することを示している。また、複数の最小
値が存在し、その最小値に相関窓の中心が含まれる場合
は、オフセット値702は0とする。例えば、3×3の
相関窓を設定すればh(0,0)が相関窓の中心とな
る。ここで、mは−1、0、1、nは−1、0、1の値
をとるものとする。The image correlation circuit 72 searches for (m min , n min ) holding the minimum value of h (m, n) at the time when the calculation of the correlation value of one line is completed, and outputs it as the offset value 702. To do. There are multiple minimum values in the correlation table,
When the minimum value includes (m min , nmin ) = (0, 0), the minimum value of (0, 0) is preferentially used. The fact that the correlation value h (m min , nmin ) in the correlation table is the smallest means that when the minute value of (Δhx × m min , Δhy × n min ) is added to the coordinates of each pixel and mapped, The image in the image memory and the image of the line to be mapped are
It shows the best match. Further, when there are a plurality of minimum values and the minimum value includes the center of the correlation window, the offset value 702 is set to 0. For example, if a 3 × 3 correlation window is set, h (0,0) becomes the center of the correlation window. Here, m takes a value of -1, 0, 1, and n takes a value of -1, 0, 1.
【0088】図5の補正量算出回路73は、オフセット
値702(mmin,nmin)を用いて(数13)に示す演
算を行う。ここで、オフセット値702を、△X=△h
x×mmin、△Y=△hy×nminとする。The correction amount calculation circuit 73 in FIG. 5 performs the calculation shown in (Equation 13) using the offset value 702 (m min , nmin ). Here, the offset value 702 is defined as △ X = △ h
Let x × m min and ΔY = Δhy × n min .
【0089】[0089]
【数13】 (Equation 13)
【0090】(数13)において、サフィックスiは、
高密度化画像データ500のiライン目の相関テーブル
完成時の位置補正量703を表す。図5の位置補正回路
74は、走査位置座標300に(△Xoffseti,△Yoff
seti)を加算することにより、走査位置座標300の補
正を行い、補正位置座標710を出力する。In (Equation 13), the suffix i is
A position correction amount 703 when the correlation table of the i-th line of the densified image data 500 is completed is shown. The position correction circuit 74 of FIG. 5 displays the scanning position coordinates 300 at (ΔXoffset i , ΔYoff
The scan position coordinate 300 is corrected by adding set i ) and the corrected position coordinate 710 is output.
【0091】尚、本実施例では、相関対象画素位置を9
箇所としたが、位置ずれ量が大きい場合には、より多く
の相関対象画素位置を多くし、相関範囲を広げても良
い。また、相関テーブルを作成をN(N>1)走査ライ
ン間隔で行い、N(N>1)走査ライン間隔で位置ずれ
の補正を行っても良い。例えば、N=8としても良い。In this embodiment, the correlation target pixel position is set to 9
However, if the positional deviation amount is large, more correlation target pixel positions may be increased to widen the correlation range. Further, the correlation table may be created at N (N> 1) scanning line intervals, and the positional deviation may be corrected at N (N> 1) scanning line intervals. For example, N = 8 may be set.
【0092】以上のように本発明の第1の実施例の編集
領域設定装置および画像読み取り装置に用いる画像処理
装置によれば、入力した走査位置に位置誤差が含まれて
いても、重複して走査する重なり走査領域内の、画像デ
ータと格納データとの画像情報から走査位置の位置ずれ
を検出し、位置ずれを補正することができる。この補正
した走査位置に基づいて画像データを画像メモリに格納
することで、走査位置の位置誤差によって起こる画像の
接続ずれを防止し、画像メモリ内で接続された平面画像
の画像歪みを低減できる。As described above, according to the image processing apparatus used in the editing area setting apparatus and the image reading apparatus according to the first embodiment of the present invention, even if the input scanning position includes a position error, it is duplicated. The positional deviation of the scanning position can be detected from the image information of the image data and the stored data in the overlapping scanning area to be scanned, and the positional deviation can be corrected. By storing the image data in the image memory based on the corrected scanning position, it is possible to prevent the connection deviation of the image caused by the position error of the scanning position and reduce the image distortion of the planar image connected in the image memory.
【0093】(第2の実施例)次に、本発明の第2の実
施例として、図5の画像相関回路72で検出される位置
ずれに対応したオフセット値702が大きい場合の処理
について説明する。(Second Embodiment) Next, as a second embodiment of the present invention, a process when the offset value 702 corresponding to the positional deviation detected by the image correlation circuit 72 of FIG. 5 is large will be described. .
【0094】画像相関回路72で検出される位置ずれに
対応したオフセット値702が大きいと、位置補正量7
03はオフセット値702が加算される位置で大きく変
化し、結果、補正位置座標710は補正される位置で大
きく変化する。この補正位置座標710が大きく変化し
たときの画像メモリ6におけるデータの格納状態を、図
15を用いて説明する。図15は画像メモリ6における
データの格納状態の説明図である。図15では、(i−
1)ライン目を画像相関検出を行うラインとし、iライ
ン目を位置補正を行うラインとする。また、(i−1)
ライン目は両端画素をPsi-1、Pei-1、iライン目は
両端画素をPsi、Peiとして記載している。When the offset value 702 corresponding to the positional deviation detected by the image correlation circuit 72 is large, the position correction amount 7
03 greatly changes at the position where the offset value 702 is added, and as a result, the corrected position coordinate 710 largely changes at the corrected position. The storage state of data in the image memory 6 when the correction position coordinate 710 largely changes will be described with reference to FIG. FIG. 15 is an explanatory diagram of a data storage state in the image memory 6. In FIG. 15, (i-
1) The line-th line is a line for image correlation detection, and the i-th line is a line for position correction. Also, (i-1)
The pixels on both ends of the line are described as Ps i-1 and Pe i-1 , and the pixels of both ends on the i- th line are described as Ps i and Pe i .
【0095】図15に図示するように、補正される量が
大きく変化する位置での補正位置座標710に従って、
写像回路5が画像メモリ6に画像データを格納すると、
(i−1)ライン目とiライン目のライン間にはデータ
が格納されない領域(位置補正による写像抜け領域)が
発生する。As shown in FIG. 15, according to the correction position coordinates 710 at the position where the amount to be corrected changes greatly,
When the mapping circuit 5 stores image data in the image memory 6,
An area in which no data is stored (a mapping missing area due to position correction) occurs between the (i-1) th line and the i-th line.
【0096】このデータが格納されない領域の発生を抑
える方法について、図12、図13、図14を用いて説
明する。図12は分割制御回路75を含む位置ずれ検出
回路7のブロック図、図13は分割制御回路75のタイ
ミングチャート図、図14は位置補正量703と分割位
置補正量705の違いを説明する説明図である。A method of suppressing the generation of the area in which the data is not stored will be described with reference to FIGS. 12, 13 and 14. 12 is a block diagram of the positional deviation detection circuit 7 including the division control circuit 75, FIG. 13 is a timing chart of the division control circuit 75, and FIG. 14 is an explanatory diagram for explaining the difference between the position correction amount 703 and the division position correction amount 705. Is.
【0097】図12において、図5の位置ずれ検出回路
7のブロック図と異なる点は、画像相関回路72のオフ
セット値702を直接に補正量算出回路73に入力しな
い点である。オフセット値702は分割制御回路75に
よって写像抜け領域を防止する分割オフセット値704
に変換され、補正量算出回路73に入力される。12 is different from the block diagram of the positional deviation detection circuit 7 of FIG. 5 in that the offset value 702 of the image correlation circuit 72 is not directly input to the correction amount calculation circuit 73. The offset value 702 is a division offset value 704 for preventing a mapping missing area by the division control circuit 75.
Is input to the correction amount calculation circuit 73.
【0098】写像抜け領域を防止するように、レジスタ
754にはオフセット値702を分割するパラメータN
Bを保持する。オフセット値702は除算器751によ
って、レジスタ754に保持されている分割数NBで除
算され、スイッチ752はスイッチ制御753の制御出
力により除算器751の出力をON/OFFする。「O
N」の場合は、除算器751の出力が分割オフセット値
704となり、「OFF」の場合は、分割オフセット値
704は「0」(オフセット値無し)となる。なお、分
割数NBが2nであれば、除算器751はnビットシフ
トで構成できる。なお、分割数NBは特定されるもので
なく、オフセット値702のとりうる最大値によって設
定される。A register N 754 has a parameter N for dividing the offset value 702 so as to prevent a mapping missing area.
Hold B. The offset value 702 is divided by the division number NB held in the register 754 by the divider 751, and the switch 752 turns ON / OFF the output of the divider 751 by the control output of the switch control 753. "O
In the case of "N", the output of the divider 751 becomes the division offset value 704, and in the case of "OFF", the division offset value 704 becomes "0" (no offset value). If the number of divisions NB is 2 n , the divider 751 can be configured by n-bit shift. The division number NB is not specified and is set by the maximum value that the offset value 702 can take.
【0099】図13で、分割制御回路75の動作をタイ
ミングチャートに従って説明する。ここで、分割数NB
を4として説明する。また、画像相関を最初に行うライ
ン位置をi番目とし、8ライン間隔で画像相関検出を行
うものとする。図13では、iライン目を0、(i+
8)ライン目を8というようにして数のみ記載してい
る。The operation of the division control circuit 75 will be described with reference to a timing chart in FIG. Here, the number of divisions NB
Will be described as 4. Further, it is assumed that the line position where the image correlation is first performed is i-th and the image correlation detection is performed at intervals of 8 lines. In FIG. 13, the i-th line is 0, (i +
8) The line number is indicated as 8 and only the number is described.
【0100】写像回路5は、バス600を経由して、ラ
インセンサ1が読み取った1ラインの画像信号をすべて
写像した時、1ラインのライン同期信号を分割制御回路
75、画像相関回路72に出力する。The mapping circuit 5 outputs a line synchronization signal for one line to the division control circuit 75 and the image correlation circuit 72 when all the image signals for one line read by the line sensor 1 are mapped via the bus 600. To do.
【0101】画像相関回路72は、走査が開始される最
初のライン位置を初期化ライン位置(i=0のライン位
置)とし、初期化ライン位置からライン同期信号をカウ
ントし、カウント数iを8で割った余りが0のとき、画
像相関検出を行い(i=0の初期化ライン位置は除
く。)、オフセット値702を次のライン位置の読み取
りが開始される前に、ライン同期信号に同期して更新す
る。画像相関検出が終了すると、相関終了信号をバス6
00を経由して分割制御回路75のスイッチ制御753
に出力する。スイッチ制御753は、画像相関回路72
の相関終了信号を受信した次のライン位置を、カウント
値で1とし、次のライン位置からライン同期信号のカウ
ントを開始する。レジスタ754の分割数NBに対応し
て、スイッチ制御753は、スイッチ752を「1≦カ
ウント値≦4」のときONにし、「カウント値>4」の
ときOFFにする。The image correlation circuit 72 sets the first line position where the scanning is started to the initialization line position (i = 0 line position), counts the line synchronization signal from the initialization line position, and sets the count number i to 8 When the remainder divided by is 0, image correlation detection is performed (excluding the initialization line position of i = 0), and the offset value 702 is synchronized with the line synchronization signal before the reading of the next line position is started. And update. When the image correlation detection is completed, the correlation completion signal is sent to the bus 6
Switch control 753 of the division control circuit 75 via 00
Output to The switch control 753 controls the image correlation circuit 72.
The next line position that receives the correlation end signal of 1 is set to 1 as the count value, and counting of the line synchronization signal is started from the next line position. Corresponding to the division number NB of the register 754, the switch control 753 turns ON the switch 752 when “1 ≦ count value ≦ 4” and turns OFF when “count value> 4”.
【0102】補正量算出回路73は、分割した分割オフ
セット値704を入力し、1ライン前の位置補正量70
5を格納したレジスタ731の累積値とオフセット値7
04を加算器732で加算し、分割制御された位置補正
量705を出力する。The correction amount calculation circuit 73 inputs the divided division offset value 704, and receives the position correction amount 70 for one line before.
Accumulated value of register 731 storing 5 and offset value 7
04 is added by the adder 732, and the position correction amount 705 subjected to division control is output.
【0103】次に、補正量算出回路73において、オフ
セット値702を入力して生成する位置補正量703
(分割制御なし)と、分割オフセット値704を入力し
て生成する分割位置補正量705(分割制御あり)の違
いについて図14を用いて説明する。Next, in the correction amount calculation circuit 73, the position correction amount 703 generated by inputting the offset value 702 is input.
The difference between (without division control) and division position correction amount 705 (with division control) generated by inputting the division offset value 704 will be described with reference to FIG.
【0104】図12と同様に、画像相関検出は、最初に
行うライン位置をi番目とし、8走査ライン間隔で画像
相関を行うものとする。図14では、iライン目を0
(ライン位置)、(i+8)ライン目を8(ライン位
置)というようにして数のみ記載している。また、位置
ずれのキャンセルを行うオフセット値702はX方向と
Y方向とも同じ処理なのでX方向の一方だけを実施例と
して記載する。また、i番目のライン位置では、補正量
算出回路73のレジスタ731の累積値は「0」、分割
制御回路75のレジスタ754の分割数は4として説明
する。Similar to FIG. 12, it is assumed that the image correlation detection is performed by setting the first line position to be the i-th line and performing image correlation at 8-scan line intervals. In FIG. 14, the i-th line is 0
The (line position) and (i + 8) th line are referred to as 8 (line position), and only the numbers are described. Further, since the offset value 702 for canceling the positional deviation is the same in both the X direction and the Y direction, only one of the X directions will be described as an example. Further, at the i-th line position, the cumulative value of the register 731 of the correction amount calculation circuit 73 is “0”, and the division number of the register 754 of the division control circuit 75 is four.
【0105】図14において、iライン目と(i+8)
ライン目で画像相関検出を行うことから、画像相関回路
72からのオフセット値702は(i+1)ライン目
(オフセット値=△hx×m)と(i+9)ライン目
(オフセット値=−△hx×m)で出力される。In FIG. 14, the i-th line and (i + 8)
Since the image correlation detection is performed at the line, the offset value 702 from the image correlation circuit 72 is the (i + 1) th line (offset value = Δhx × m) and the (i + 9) th line (offset value = −Δhx × m). ) Is output.
【0106】「分割制御なし」では、補正量算出回路7
3はオフセット値702を入力し、次の(i+1)ライ
ン目でレジスタ731の累積値(累積値=0)とオフセ
ット値の△hx×mを加算した信号703を得る。同様
に、(i+9)ライン目に、レジスタ731の累積値
(累積値=△hx×m)とオフセット値の−△hx×m
を加算した位置補正量703を得る。In the case of "without division control", the correction amount calculation circuit 7
3 receives the offset value 702 and obtains a signal 703 in which the cumulative value (cumulative value = 0) of the register 731 and the offset value Δhx × m are added at the next (i + 1) th line. Similarly, on the (i + 9) th line, the cumulative value of the register 731 (cumulative value = Δhx × m) and the offset value of −Δhx × m
A position correction amount 703 obtained by adding is obtained.
【0107】「分割制御あり」では、補正量算出回路7
3は分割オフセット値704を入力し、次の(i+1)
ライン目に、レジスタ731の累積値(累積値=0)と
オフセット値の△hx×(m/4)を加算した分割位置
補正量705を得る。(i+2)のライン目ではレジス
タ731の累積値(累積値=△hx×(m/4))とオ
フセット値の△hx×(m/4)を加算した分割位置補
正量705を得る。以降、順次に(i+4)ライン目ま
で△hx×(m/4)だけ増加する分割位置補正量70
5を得る。(i+4)ライン目から(i+8)ライン目
までは、分割オフセット値704が0となることから変
化しない。同様に、(i+9)のライン目に、レジスタ
731の累積値(累積値=△hx×m)とオフセット値
の−△hx×(m/4)を加算した分割位置補正量70
5を得、以降順次に、(i+9)ライン目から(i+1
2)ライン目まで−△hx×(m/4)だけ減少する分
割位置補正量705を得る。(i+13)ライン目から
は分割オフセット値704が0となることから変化しな
い。In the case of "with division control", the correction amount calculation circuit 7
3 inputs the division offset value 704, and the next (i + 1)
A division position correction amount 705 is obtained by adding the cumulative value of the register 731 (cumulative value = 0) and the offset value Δhx × (m / 4) to the line. In the (i + 2) th line, the division position correction amount 705 is obtained by adding the cumulative value (cumulative value = Δhx × (m / 4)) of the register 731 and the offset value Δhx × (m / 4). Thereafter, the division position correction amount 70 is sequentially increased by Δhx × (m / 4) up to the (i + 4) th line.
Get 5. From the (i + 4) th line to the (i + 8) th line, since the division offset value 704 is 0, there is no change. Similarly, the division position correction amount 70 obtained by adding the cumulative value (cumulative value = Δhx × m) of the register 731 and the offset value −Δhx × (m / 4) to the line (i + 9)
5 is obtained, and thereafter, sequentially from the (i + 9) th line to (i + 1
2) A division position correction amount 705 that decreases by −Δhx × (m / 4) is obtained up to the line. From the (i + 13) th line, the division offset value 704 becomes 0, so there is no change.
【0108】「分割制御なし」の場合、大きなオフセッ
ト値702が検出されると、そのまま画像相関検出を行
う(i−1)ライン目と、次のiライン目で位置補正量
703は大きく増加、減少する。よって、図15に図示
したように(i−1)ライン目と、iライン目のライン
間には、データが格納されない領域(補正による写像抜
け領域)が発生する。In the case of "no division control", when a large offset value 702 is detected, the position correction amount 703 greatly increases between the (i-1) th line for which image correlation detection is performed and the next i-th line. Decrease. Therefore, as shown in FIG. 15, an area where no data is stored (a mapping missing area due to correction) occurs between the (i-1) th line and the i-th line.
【0109】「分割制御あり」の場合、大きいオフセッ
ト値702が検出されても、分割制御回路75はオフセ
ット値702をライン毎に分割するので、画像相関検出
を行う(i−1)ライン目と、次のiライン目で分割位
置補正量705は徐々に増加または減少する。よって、
図15に図示するように、(i−1)ライン目と、「分
割制御なし」の場合のiライン目の間に、分割制御によ
り設定されるhiライン目が設定され、(i−1)ライ
ン目とiライン目のライン間の、データが格納されない
領域の発生は防止される。ここで、hiライン目は両端
画素をPshi、Pehiとして記載している。In the case of "with division control", even if a large offset value 702 is detected, the division control circuit 75 divides the offset value 702 line by line, so that the (i-1) th line for image correlation detection is performed. , The division position correction amount 705 gradually increases or decreases at the next i-th line. Therefore,
As illustrated in FIG. 15, the hi-th line set by the division control is set between the (i−1) -th line and the i-th line in the case of “no division control”, and (i−1) An area where no data is stored is prevented from occurring between the line of the line i and the line of the line i. Here, in the hi-th line, both end pixels are described as Ps hi and Pe hi .
【0110】また、相関対象範囲を広げた場合、大きな
オフセット値で走査位置を補正するので、データが格納
されない領域(補正による写像抜け領域)の発生が多発
する。この場合、「分割制御あり」を用いることで、画
像メモリ6にデータが格納されない領域の発生(補正に
よる写像抜け領域)は抑えられ、画像相関検出を行う場
合の位置ずれ検出精度を高めることができる。結果、画
像メモリ6上に再現する画像品位を向上させるできる。Further, when the correlation target range is widened, the scanning position is corrected with a large offset value, so that an area where data is not stored (a mapping missing area due to correction) frequently occurs. In this case, by using “with division control”, it is possible to suppress the occurrence of an area in which data is not stored in the image memory 6 (a mapping missing area due to correction), and improve the positional deviation detection accuracy when performing image correlation detection. it can. As a result, the quality of the image reproduced on the image memory 6 can be improved.
【0111】また、「入力画像データを高密度化するこ
とで画素数を増大させた上で、写像時の座標誤差の少な
い画素のみ画像メモリへの写像を行う方法」と「分割制
御あり」を用いることで、画像メモリ中の写像されない
画素を大幅に無くすことができる。さらに、写像時の座
標変換誤差に起因する読み取り再現画像の歪みを大幅に
低減できる。加えて、イメージセンサの画素数を増やし
たり、最大手動走査速度を小さくする必要もなく、画像
メモリ6上での画像品位をより向上させることができ
る。In addition, "a method of increasing the number of pixels by densifying the input image data and then mapping only pixels with few coordinate errors during mapping to the image memory" and "with division control" are described. By using it, it is possible to largely eliminate unmapped pixels in the image memory. Further, the distortion of the read reproduction image due to the coordinate conversion error at the time of mapping can be significantly reduced. In addition, the image quality on the image memory 6 can be further improved without increasing the number of pixels of the image sensor or reducing the maximum manual scanning speed.
【0112】以上のように本発明の第2の実施例の編集
領域設定装置および画像読み取り装置に用いる画像処理
装置によれば、位置ずれを補正する補正値を所定の割合
で可変制御し、段階的に可変された補正値に基づいて走
査位置を補正し、補正された走査位置データに基づいて
画像データを画像メモリに格納するので、走査位置の補
正によって起こる、画像メモリ内の画像データが格納さ
れない領域の発生を防止できる。As described above, according to the image processing apparatus used in the editing area setting apparatus and the image reading apparatus according to the second embodiment of the present invention, the correction value for correcting the positional deviation is variably controlled at a predetermined ratio, and the steps are performed. The scanning position is corrected based on the corrected correction value and the image data is stored in the image memory based on the corrected scanning position data. Therefore, the image data in the image memory that is caused by the correction of the scanning position is stored. It is possible to prevent the generation of the unprotected area.
【0113】また、急激な走査位置の補正がないので、
画像データと格納データとの画像情報から位置ずれを検
出する場合の相関値の検出範囲を小さくでき、回路規模
を小さくできる。Since there is no abrupt correction of the scanning position,
The detection range of the correlation value when detecting the positional deviation from the image information of the image data and the stored data can be reduced, and the circuit scale can be reduced.
【0114】さらには、画像メモリ内の画像データが格
納されない領域の発生(写像抜け)を防止しているの
で、重複した走査領域内の画像データと格納データとの
画像情報から位置ずれを検出する際の相関値の誤差を小
さくでき、位置ずれ検出の精度を向上できる。Furthermore, since the occurrence of a region (image missing) in the image memory where the image data is not stored is prevented, the positional deviation is detected from the image information of the image data and the stored data in the overlapping scanning region. The error of the correlation value at that time can be reduced, and the accuracy of the positional deviation detection can be improved.
【0115】結果、画像メモリ内で再現される画像品位
を向上させることができる。また、本発明の編集領域設
定装置および画像読み取り装置に用いる画像処理装置を
ハードウェア構成すれば、1ライン毎に、順次処理でき
るので、回路規模を小さくでき、さらにリアルタイム処
理することができる。As a result, the quality of the image reproduced in the image memory can be improved. In addition, if the image processing apparatus used in the editing area setting apparatus and the image reading apparatus of the present invention is configured with hardware, it is possible to sequentially process each line, so that the circuit scale can be reduced and further real-time processing can be performed.
【0116】なお、入力画像データ400を高密度化し
た画像データ500を用い、画素数を増大させた上で、
写像時の座標誤差の少ない画素のみ画像メモリへの写像
を行ったが、高密度化しない画像データ400を用いて
も良い。この場合は、「分割制御あり」により、写像さ
れない領域は防止できる。また、写像時の座標誤差の判
定を0.5にする場合、入力画像データ400
(Pi,j)と高密度化した画像データ500のうち、走
査ライン間に生成されるRi,jを常時格納するように
し、画像メモリへ写像しても良い。これによって、走査
ラインに許容以上の間隔が生じた場合でも画像データの
格納抜けは抑えられ、写像されない領域(写像抜け領
域)の発生を防止できる。The image data 500 obtained by densifying the input image data 400 is used to increase the number of pixels.
Although only pixels having a small coordinate error at the time of mapping are mapped to the image memory, the image data 400 that does not have a high density may be used. In this case, the area that is not mapped can be prevented by "with division control". When the determination of the coordinate error at the time of mapping is 0.5, the input image data 400
Of the image data 500 densified with (P i, j ), R i, j generated between scanning lines may be always stored and mapped to the image memory. As a result, even if a scan line has an unacceptable interval, it is possible to prevent storage failure of image data and prevent the generation of a non-imaged area (image-missing area).
【0117】(第3の実施例)以上、第1の実施例、第
2の実施例では、走査位置のX成分,Y成分に対する位
置ずれ検出について説明したが、走査位置の回転方向に
対する位置ずれ検出をさらに追加した場合について以後
説明する。(Third Embodiment) As described above, in the first embodiment and the second embodiment, the positional deviation detection for the X component and the Y component of the scanning position has been described. However, the positional deviation of the scanning position in the rotational direction is described. The case where detection is further added will be described below.
【0118】走査位置で回転成分の位置誤差を生じる要
因を、原稿上を2個の車輪で手動走査した場合を例とし
て述べる。The factor that causes the positional error of the rotational component at the scanning position will be described by taking as an example the case where the original is manually scanned by two wheels.
【0119】図3に示される構成での位置誤差要因は、
車輪31、32の原稿上での滑り、車輪径の精度誤差、
車輪間の距離Dの精度誤差、車輪31、32の原稿への
沈み込み、手動走査で回転する際の回転中心が車輪幅に
影響されること、などがある。よって、回転成分に対す
る位置誤差を補正の対象に加えることで位置ずれを精度
良く補正することができる。The position error factor in the configuration shown in FIG.
Slippage of the wheels 31, 32 on the document, accuracy error of wheel diameter,
There are errors in the accuracy of the distance D between the wheels, sinking of the wheels 31 and 32 into the document, and the center of rotation when rotating by manual scanning is affected by the wheel width. Therefore, by adding the position error for the rotation component to the correction target, it is possible to accurately correct the position shift.
【0120】以下の第3の実施例では、回転成分に対す
る位置ずれ検出を更に追加し、回転成分に対する補正を
行う場合について図16、図17、図18を用いて説明
する。In the third embodiment to be described below, a case will be described with reference to FIGS. 16, 17, and 18 in which the positional deviation detection for the rotation component is further added to correct the rotation component.
【0121】図16に図示する画像読み取り部Bは、第
1の実施例と同様のものである。また、図16におい
て、第1の実施例と異なる点は、回転成分に対する位置
ずれ検出を行うための座標回転変換回路8を追加してい
ること、さらに、位置ずれ検出の精度を向上させる遅延
回路9を追加していることである。遅延回路9は、第1
の実施例、及び第2の実施例でも、位置ずれの補正精度
を向上させる効果を有する。この効果については後述す
る。The image reading section B shown in FIG. 16 is the same as that of the first embodiment. Further, in FIG. 16, the difference from the first embodiment is that a coordinate rotation conversion circuit 8 for detecting the positional deviation with respect to the rotational component is added, and further, a delay circuit for improving the accuracy of the positional deviation detection. 9 is added. The delay circuit 9 has a first
The embodiment and the second embodiment also have the effect of improving the positional deviation correction accuracy. This effect will be described later.
【0122】図16に図示する編集領域設定装置および
画像読み取り装置に用いる画像処理装置は、画像読み取
り部Bからライン単位で得られる走査位置座標300
と、走査位置に対応する画像データ400とを順次入力
する。The image processing apparatus used in the editing area setting apparatus and the image reading apparatus shown in FIG. 16 has a scanning position coordinate 300 obtained in line units from the image reading unit B.
And the image data 400 corresponding to the scanning position are sequentially input.
【0123】ラインセンサ1のアナログ出力はアンプ1
02で増幅され、A/D変換器103でデジタル画像デ
ータに変換される。デジタル画像データは、画像バッフ
ァ4に一時記憶される。画像バッファ4は、走査位置座
標300と同期して対応する画像データ400を出力す
る。The analog output of the line sensor 1 is the amplifier 1
Amplified by 02 and converted into digital image data by the A / D converter 103. The digital image data is temporarily stored in the image buffer 4. The image buffer 4 outputs the corresponding image data 400 in synchronization with the scanning position coordinate 300.
【0124】補正量算出回路73は、画像相関回路72
からのオフセット値702を累積して保持する。The correction amount calculation circuit 73 is the image correlation circuit 72.
The offset value 702 from is accumulated and held.
【0125】位置補正回路74は、位置補正量703で
走査位置座標300の位置ずれを補正し、補正走査位置
座標710を出力する。The position correction circuit 74 corrects the positional deviation of the scanning position coordinate 300 with the position correction amount 703 and outputs the corrected scanning position coordinate 710.
【0126】遅延回路9は、走査ライン単位で、補正走
査位置座標710と画像データ400とを遅延させる。The delay circuit 9 delays the corrected scanning position coordinates 710 and the image data 400 in units of scanning lines.
【0127】写像回路5は、遅延された補正走査位置座
標710の座標データ92から、1走査ラインの各画素
データ61(Pn)のメモリアドレス62(ADRn)
を生成し、画像メモリ6の平面画像データの格納領域
(メモリ65)に、遅延された画像データ91のうち、
写像対象となる画素データ61(Pn)を格納する。The mapping circuit 5 calculates the memory address 62 (ADRn) of each pixel data 61 (Pn) of one scanning line from the delayed coordinate data 92 of the corrected scanning position coordinates 710.
Of the delayed image data 91 in the storage area (memory 65) of the plane image data of the image memory 6
The pixel data 61 (Pn) to be mapped is stored.
【0128】ここで、第1の実施例と同様に、画像メモ
リ6を図7に図示する構成にすると、画像データの走査
位置情報を保持する書き込みフラグの記憶ビット(ビッ
ト7)がメモリ66に相当し、画像データの記憶ビット
(ビット0〜6)がメモリ65に相当する。よって、重
なり領域検出回路71は、メモリ66のメモリアドレス
62(ADRn)に格納されている走査位置情報から、
重複して走査する重なり領域を判定し、重なり走査領域
の判定信号701を出力する。Here, if the image memory 6 is configured as shown in FIG. 7 as in the first embodiment, the storage bit (bit 7) of the write flag for holding the scanning position information of the image data is stored in the memory 66. Correspondingly, the storage bits (bits 0 to 6) of the image data correspond to the memory 65. Therefore, the overlapping area detection circuit 71 determines from the scanning position information stored in the memory address 62 (ADRn) of the memory 66,
The overlapping area to be scanned overlappingly is determined, and the determination signal 701 of the overlapping scanning area is output.
【0129】判定信号701は、画素Pnの書き込みフ
ラグ(bit7)をチェックして、この画素データ61
(Pn)のアドレス62(ADRn)に画像データが格
納済みかどうかを判定する。画素データ61(Pn)の
bit7が1のときは、センサの読み取り走査によって
画像データがすでにメモリアドレス62(ADRn)に
格納されていることを示しているので、画素データ61
(Pn)は重なり走査領域に含まれることが判定でき
る。また、bit7が0のときは、画素データ61(P
n)は新規走査領域に含まれることが判定できる。重な
り領域検出回路71は、判定信号701を画像相関回路
72、写像回路5に出力する。ここで、判定信号701
は、画素データ61(Pn)が新規走査領域に含まれる
とき「0」、重なり走査領域に含まれるとき「1」とな
る信号である。The decision signal 701 is obtained by checking the write flag (bit7) of the pixel Pn to determine the pixel data 61.
It is determined whether the image data has been stored in the address 62 (ADRn) of (Pn). When the bit 7 of the pixel data 61 (Pn) is 1, it indicates that the image data is already stored in the memory address 62 (ADRn) by the reading scan of the sensor.
It can be determined that (Pn) is included in the overlap scanning area. When bit7 is 0, pixel data 61 (P
It can be determined that n) is included in the new scan area. The overlapping area detection circuit 71 outputs the determination signal 701 to the image correlation circuit 72 and the mapping circuit 5. Here, the determination signal 701
Is a signal that becomes “0” when the pixel data 61 (Pn) is included in the new scanning area and becomes “1” when it is included in the overlapping scanning area.
【0130】写像回路5は、判定信号701が「0」の
とき、画素データPnを、メモリ65に格納する。ま
た、写像回路5は、判定信号701が「1」のきは画素
データPnをメモリ65に格納をしない。この1画素単
位の一連の処理動作を、1走査ラインの画像データ91
の全画素について行う。The mapping circuit 5 stores the pixel data Pn in the memory 65 when the determination signal 701 is "0". The mapping circuit 5 does not store the pixel data Pn in the memory 65 when the determination signal 701 is “1”. This series of processing operations for each pixel is performed by the image data 91 of one scanning line.
For all pixels.
【0131】座標回転変換回路8は補正走査位置座標7
10[Ps−Pe]に対し、微少角△φを振った傾き方
向の相関座標800を画像相関回路72に、1走査ライ
ン単位で出力する。The coordinate rotation conversion circuit 8 uses the corrected scanning position coordinates 7
With respect to 10 [Ps-Pe], correlation coordinates 800 in the tilt direction with a slight angle Δφ are output to the image correlation circuit 72 in units of one scanning line.
【0132】画像相関回路72は、相関座標800の座
標データから、1走査ラインの各相関検出の対象画素P
nの相関検出アドレス63を生成し、画像メモリ6の平
面画像データの格納領域(メモリ65)から格納済みデ
ータ64を読み出し、同時に、格納済みデータ64に対
応する走査位置情報をメモリ66より読み出し、重なり
領域検出71に出力する。The image correlation circuit 72 uses the coordinate data of the correlation coordinates 800 to determine the target pixel P for each correlation detection of one scanning line.
The correlation detection address 63 of n is generated, the stored data 64 is read from the storage area (memory 65) of the plane image data of the image memory 6, and at the same time, the scanning position information corresponding to the stored data 64 is read from the memory 66. It is output to the overlap area detector 71.
【0133】重なり領域検出回路71は、メモリ66の
相関検出アドレス63に格納された走査位置情報から、
重複して走査する重なり領域を判定し、重なり走査領域
の判定信号701を出力する。The overlap area detection circuit 71 uses the scanning position information stored in the correlation detection address 63 of the memory 66 as
The overlapping area to be scanned overlappingly is determined, and the determination signal 701 of the overlapping scanning area is output.
【0134】画像相関回路72は、判定信号701が
「1」のとき画素Pnについての相関値算出処理を行
い、判定信号701が「0」のとき相関値算出処理を行
わない。The image correlation circuit 72 performs the correlation value calculation process for the pixel Pn when the determination signal 701 is "1", and does not perform the correlation value calculation process when the determination signal 701 is "0".
【0135】図17に図示するように、画像相関回路7
2で、走査位置座標300[Ps−Pe]に対し、微少
角△φを振った傾き方向の相関座標[Ps−Pe(±△
φ)]、または、相関座標[Ps(±△φ)−Pe]の
相関検出処理を加えて行うことで、回転成分の位置ずれ
を検出でき、より精度のよい位置ずれ補正を実現するこ
とができる。As shown in FIG. 17, the image correlation circuit 7
2, the correlation coordinate [Ps-Pe (± Δ] in the tilt direction in which the minute angle Δφ is shaken with respect to the scanning position coordinate 300 [Ps-Pe].
φ)] or correlation detection processing of correlation coordinates [Ps (± Δφ) −Pe] is performed, the positional deviation of the rotation component can be detected, and more accurate positional deviation correction can be realized. it can.
【0136】この場合、本発明の第1の実施例の相関テ
ーブル値h(m,n)と組み合わせると、相関テーブル
値はh(l,m,n)となる。lは−1,0,1の値を
とる。角度方向に3通り、位置方向に9通りの計27通
りの相関テーブルが作成できる。相関テーブルの最小値
がh(l,m,n)の場合、角度の補正量△φoffset i
はl・△φの計算により生成される。ここで、△φは例
えば0.2度とする。なお、l、m、nは特定されるも
のでない。値を大きくすれば、相関を行う領域が広くな
り、補正精度を向上できる。よって、要求される位置ず
れの補正精度によって設定される値である。In this case, the correlation test of the first embodiment of the present invention is performed.
When combined with the table value h (m, n), the correlation table
The value is h (l, m, n). l is the value of -1, 0, 1
Take. 27 in total, 3 in the angular direction and 9 in the positional direction
Can create a correlation table. Minimum value in correlation table
Is h (l, m, n), the angle correction amount Δφoffset i
Is generated by calculating l · Δφ. Where Δφ is an example
For example, 0.2 degrees. Note that l, m, and n are specified
Not. The larger the value, the wider the area for correlation.
Therefore, the correction accuracy can be improved. Therefore, the required position
It is a value set by the correction accuracy of these.
【0137】図16に図示するように、位置ずれの回転
成分を検出する為に、補正走査位置座標710の座標を
座標上で座標回転変換回路8で回転変換し、走査位置座
標300[Ps−Pe]に対し、微少角△φを振った傾
き方向の相関座標800[Ps−Pe(±△φ)]、ま
たは、相関座標800[Ps(±△φ)−Pe]を出力
する。As shown in FIG. 16, in order to detect the rotational component of the positional deviation, the coordinate of the corrected scanning position coordinate 710 is rotationally converted on the coordinate by the coordinate rotation conversion circuit 8, and the scanning position coordinate 300 [Ps- The correlation coordinates 800 [Ps-Pe (± Δφ)] or the correlation coordinates 800 [Ps (± Δφ) -Pe] in the tilt direction obtained by swinging the minute angle Δφ with respect to Pe] are output.
【0138】画像相関回路72は、回転変換において、
微少角△φを振った傾き方向のそれぞれの相関座標80
0に従って、(数10)から(数12)の演算を繰り返
すことで27通りの相関テーブル67を作成する。ここ
で、l,m,nはそれぞれ−1,0,1の値をとるもの
とする。The image correlation circuit 72
Correlation coordinates 80 in each tilt direction with a slight angle Δφ
According to 0, 27 kinds of correlation tables 67 are created by repeating the operations of (Expression 10) to (Expression 12). Here, l, m, and n are assumed to take values of -1, 0, and 1, respectively.
【0139】この相関テーブル67から、位置ずれを補
正するオフセット値702を検出する。An offset value 702 for correcting the positional deviation is detected from this correlation table 67.
【0140】画像相関回路72は、1走査ラインの各角
度に対して相関値の計算が終了した時点で、h(l,
m,n)の最小値を保持する(lmin,mmin,nmin)
を検索し、オフセット値702として出力する。相関テ
ーブル中に複数の最小値が存在し、その最小値に(l
min,mmin,nmin)=(0、0、0)が含まれる場
合、(0,0,0)の最小値が優先して用いられる。相
関テーブル中の相関値h(l min,mmin,nmin)が最
も小さいと言うことは、(△φ×lmin,△hx×
mmi n,△hy×nmin)の微少値を各画素の座標に加算
して写像すると、画像メモリ中の格納データとこれから
写像しようとするラインの画像データとの画像情報が、
最もよく一致することを示している。また、複数の最小
値が存在し、その最小値に相関窓の中心が含まれる場合
は、オフセット値702のX成分、Y成分は0とする。
例えば、3×3の相関窓を設定すればh(l,0,0)
が相関窓の中心となる。さらに、回転角度の振り角が0
の相関値を優先させる。The image correlation circuit 72 determines each corner of one scanning line.
When the calculation of the correlation value for the degree is completed, h (l,
hold the minimum value of (m, n) (lmin, Mmin, Nmin)
Is output and is output as an offset value 702. Correlation
There are multiple minimum values in the table, and the minimum value is (l
min, Mmin, Nmin) = (0,0,0) is included
In this case, the minimum value of (0,0,0) is preferentially used. phase
Correlation value h (l min, Mmin, Nmin) Is the highest
Is smaller than (Δφ × lmin, △ hx ×
mmi n, △ hy × nmin) Is added to the coordinates of each pixel
Then, the data stored in the image memory and the future
Image information with the image data of the line to be mapped,
It shows the best match. Also, multiple minimums
If a value exists and its minimum contains the center of the correlation window
Indicates that the X component and Y component of the offset value 702 are 0.
For example, if a 3 × 3 correlation window is set, h (l, 0,0)
Is the center of the correlation window. In addition, the swing angle of the rotation angle is 0
Prioritize the correlation value of.
【0141】補正量算出回路73は、オフセット値70
2(lmin,mmin,nmin)を用いて(数14)に示す
演算を行う。ここで、オフセット値702を、△X=△
hx×mmin、△Y=△hy×nmin、△Ψ=△φ×l
minとする。The correction amount calculation circuit 73 uses the offset value 70
The calculation shown in (Equation 14) is performed using 2 (l min , mmin , nmin ). Here, the offset value 702 is ΔX = Δ
hx × m min , ΔY = Δhy × n min , ΔΨ = Δφ × l
min .
【0142】[0142]
【数14】 [Equation 14]
【0143】(数14)において、サフィックスiは、
画像データ400のiライン目の相関テーブル完成時の
位置補正量703を表す。In (Equation 14), the suffix i is
The position correction amount 703 when the correlation table of the i-th line of the image data 400 is completed is shown.
【0144】位置補正回路74は、走査位置座標300
に(△Xoffseti,△Yoffseti,△φoffseti)を加算
することにより、走査位置座標300の補正を行い、補
正位置座標710を出力する。The position correction circuit 74 uses the scanning position coordinates 300.
Is added to (ΔXoffset i , ΔYoffset i , Δφoffset i ) to correct the scanning position coordinate 300 and output the corrected position coordinate 710.
【0145】位置補正回路74に入力されるiライン目
の走査位置座標300をPs(Xs,Ys)、Pe(X
e,Ye)とし、位置補正量703を△Xoffseti、△
Yoffseti、△φoffsetiとする。位置補正回路74は、
走査位置座標300から(数15)に基づいて補正位置
座標710のPsh(Xsh,Ysh)、Peh(Xe
h,Yeh)を算出する。The scanning position coordinate 300 of the i-th line input to the position correction circuit 74 is converted into Ps (Xs, Ys), Pe (X
e, Ye), and the position correction amount 703 is ΔX offset i , Δ
Yoffset i, and △ φoffset i. The position correction circuit 74 is
Based on (Formula 15) from the scanning position coordinate 300, Psh (Xsh, Ysh) and Peh (Xe) of the correction position coordinate 710 are obtained.
h, Yeh) is calculated.
【0146】[0146]
【数15】 (Equation 15)
【0147】ここで、座標上の回転中心を、常に座標P
sとする。また、asin[ ]はアークサインの演算
を行う関数である。また、Ndはラインイメージセンサ
1の1ラインの読み取り画素数である。なお、座標上の
回転中心を、座標Peとしてもよく、両方行っても良
い。両方行うことで、両車輪に対応した位置ずれを検出
できる。Here, the center of rotation on the coordinate is always the coordinate P.
s. Also, asin [] is a function for calculating the arc sine. Nd is the number of read pixels of one line of the line image sensor 1. The center of rotation on the coordinates may be the coordinates Pe or both. By performing both, the positional deviation corresponding to both wheels can be detected.
【0148】以上に説明したように、車輪の滑り、車輪
間の径の精度誤差、車輪間の距離の精度誤差、車輪の原
稿への沈み込みなどの要因で起こる、回転方向に対する
位置ずれの補正を加えることで、走査位置座標300の
位置誤差を精度良く補正できる。As described above, the correction of the positional deviation with respect to the rotation direction caused by the factors such as the slip of the wheels, the accuracy error of the diameter between the wheels, the accuracy error of the distance between the wheels, and the sinking of the wheels into the original document. By adding, it is possible to accurately correct the position error of the scanning position coordinate 300.
【0149】次に、遅延回路9によって、位置ずれの補
正精度を向上させる方法について、図14、図16、図
18を用いて説明する。図18は図16に図示する遅延
回路9の動作説明図である。Next, a method of improving the positional deviation correction accuracy by the delay circuit 9 will be described with reference to FIGS. 14, 16 and 18. FIG. 18 is an operation explanatory diagram of the delay circuit 9 shown in FIG.
【0150】図14に図示する位置補正量705は、位
置補正量703に比較して、オフセット702に相当す
る補正値が段階的に変化するので、画像相関の検出位置
から可変制御される間の走査ライン数に相当する走査領
域で必要な補正量が不足する。補正量が不足すると、位
置ずれ検出位置で接続ずれが残る。In the position correction amount 705 shown in FIG. 14, the correction value corresponding to the offset 702 changes stepwise as compared with the position correction amount 703, so that the position from the image correlation detection position is variably controlled. The necessary correction amount is insufficient in the scanning area corresponding to the number of scanning lines. If the correction amount is insufficient, connection deviation remains at the position deviation detection position.
【0151】この補正量が不足する状態を回避するた
め、走査位置710と画像データ400を遅延回路9
で、位置補正量705が可変制御される間の走査ライン
数に相当する分を遅延させ、写像回路5で写像位置と相
関回路72で検出する位置ずれの検出位置を異ならせ
る。In order to avoid the situation where the correction amount is insufficient, the scanning circuit 710 and the image data 400 are delayed by the delay circuit 9.
The delay corresponding to the number of scanning lines while the position correction amount 705 is variably controlled is delayed so that the mapping position of the mapping circuit 5 is different from the detection position of the positional deviation detected by the correlation circuit 72.
【0152】図14では、位置ずれの検出位置と、位置
補正量705が位置補正量703と同じになる位置が4
ラインずれているので、遅延回路9は走査位置710と
画像データ400を4ライン分遅延させる。遅延によっ
て写像回路5での写像位置では、位置補正量703と同
じ位置補正量705が得る。これによって、位置誤差を
キャンセルする補正値が確保され、位置ずれの補正精度
をさらに向上できる。In FIG. 14, the position where the positional deviation is detected and the position where the position correction amount 705 is the same as the position correction amount 703 are four.
Since the lines are deviated, the delay circuit 9 delays the scanning position 710 and the image data 400 by four lines. Due to the delay, at the mapped position in the mapping circuit 5, the same position correction amount 703 as the position correction amount 703 is obtained. As a result, the correction value for canceling the positional error is secured, and the positional deviation correction accuracy can be further improved.
【0153】また、図18に図示するように、ラインセ
ンサ1の読み取り領域は、手動走査される位置で、領域
a、領域b、領域aと領域bの混在という3つの状態が
発生する。新規走査領域では常に領域bの状態であり、
重複走査領域と新規走査領域が混在する領域では領域a
と領域bが混在し、重複走査領域だけでは領域aのみと
なる。Further, as shown in FIG. 18, the reading area of the line sensor 1 has three states, that is, area a, area b, and area a and area b are mixed at the position where the scanning is performed manually. In the new scanning area, it is always in the state of area b,
In the area where the overlapping scanning area and the new scanning area are mixed, the area a
And area b are mixed, and only overlapping scan area is area a.
【0154】ここで、領域aでは、位置ずれ検出すると
きの相関検出ウインド内の位置で、画像メモリ65の画
像データの格納状態は状態1となる。状態1では、着目
画素位置の周辺はすべて格納データが存在することか
ら、位置ずれ検出する為の相関値を検出できる。Here, in the area a, the storage state of the image data of the image memory 65 is the state 1 at the position in the correlation detection window when the position shift is detected. In the state 1, since there is stored data in the periphery of the pixel position of interest, the correlation value for detecting the positional deviation can be detected.
【0155】一方、領域bでは、位置ずれ検出するとき
の相関検出ウインド内の位置で、画像メモリ65の画像
データの格納状態は状態2となる。状態2では、着目画
素位置の周辺で格納データが存在する位置と存在しない
位置が混在している。よって、この相関検出ウインド内
で位置ずれ検出すると、相関値に偏りが発生する。なぜ
なら、格納データが存在する位置では、画像データと格
納データの画像情報から相関値を生成できるが、格納デ
ータが存在しない位置では、格納データがないので初期
化されているデータと画像データとから相関値を生成す
るこのになるからである。この、異なるデータに基づい
て生成された相関値から位置ずれを検出すると、検出誤
差が生じる。On the other hand, in the area b, the storage state of the image data of the image memory 65 is the state 2 at the position in the correlation detection window when detecting the displacement. In the state 2, the position where the stored data exists and the position where the stored data does not exist are mixed around the target pixel position. Therefore, if the positional deviation is detected in the correlation detection window, the correlation values are biased. Because at the position where the stored data exists, the correlation value can be generated from the image data and the image information of the stored data, but at the position where the stored data does not exist, since there is no stored data, it is possible to use the initialized data and the image data. This is because the correlation value is generated. When the positional deviation is detected from the correlation value generated based on the different data, a detection error occurs.
【0156】検出誤差をなくすには、メモリ66の走査
位置情報を用いる。走査位置情報から相関検出ウインド
内の位置で、1箇所でも未格納画素がある状態2では、
相関値を生成しない。未格納画素の判定は、重なり領域
検出回路71で検出される判定信号701を用いる。こ
れによって、相関値の偏りをなくすことができ、位置ず
れ検出の精度を向上できる。To eliminate the detection error, the scanning position information of the memory 66 is used. At the position in the correlation detection window from the scanning position information, in the state 2 in which there is an unstored pixel even at one position,
Do not generate correlation value. The determination signal 701 detected by the overlapping area detection circuit 71 is used to determine the unstored pixels. As a result, it is possible to eliminate the bias of the correlation values and improve the accuracy of the positional deviation detection.
【0157】図16に図示する遅延回路9を用い、写像
位置と位置ずれの検出位置を異ならせ、位置ずれの検出
位置をラインセンサ1の移動方向に対して先行させるこ
とで、リアルタイム処理で位置ずれの補正精度が向上で
きる。By using the delay circuit 9 shown in FIG. 16, the mapping position and the misregistration detection position are made different, and the misregistration detection position is preceded with respect to the moving direction of the line sensor 1. The accuracy of deviation correction can be improved.
【0158】リアルタイム処理では、写像処理と位置ず
れ検出を平行して処理すると、着目画素周辺に新規に写
像して格納される画素が頻繁に発生するので、相関値は
新規写像画素の影響を受ける。手動走査時の手ぶれなど
によって、検出位置が前後すると、さらに新規写像画素
の影響が大きくなり、位置ずれの検出精度が低下する。
よって、写像位置と位置ずれの検出位置を異ならせ、位
置ずれの検出位置をラインセンサ1の移動方向に対して
先行させることで、新規写像画素の影響を小さくし、位
置ずれの検出精度を向上させることができる。以上のよ
うに本発明の第3の実施例の編集領域設定装置および画
像読み取り装置に用いる画像処理装置によれば、車輪の
滑り、車輪間の径の精度誤差、車輪間の距離の精度誤
差、車輪の原稿への沈み込みなどの要因によって起こ
る、回転成分の位置ずれ検出と、その回転成分の位置ず
れを補正の対象に加えることで、精度良く位置誤差を補
正できる。In the real-time processing, if the mapping processing and the positional deviation detection are processed in parallel, pixels newly mapped and stored around the pixel of interest frequently occur, so the correlation value is affected by the new mapped pixel. . If the detection position moves back and forth due to camera shake during manual scanning or the like, the influence of the new mapped pixel becomes greater, and the detection accuracy of the positional deviation decreases.
Therefore, by making the mapping position different from the position where the positional deviation is detected and allowing the position where the positional deviation is detected to precede the moving direction of the line sensor 1, the influence of the new mapped pixel is reduced and the positional deviation detection accuracy is improved. Can be made. As described above, according to the image processing apparatus used in the editing area setting device and the image reading device of the third embodiment of the present invention, wheel slippage, wheel diameter accuracy error, wheel distance accuracy error, The positional error can be accurately corrected by detecting the positional deviation of the rotational component and causing the positional deviation of the rotational component, which is caused by factors such as the wheel sinking into the document, to be corrected.
【0159】さらに、遅延回路9で走査位置710と画
像データ400を遅延させ、写像位置と位置ずれの検出
位置を異ならせることで、写像位置で位置誤差を補正す
る補正量が確保され、位置ずれの補正精度をさらに向上
できる。また、直前に写像したラインのデータが相関値
に影響するのを防ぎ、位置ずれの検出精度を向上させる
ことができる。Further, by delaying the scanning position 710 and the image data 400 by the delay circuit 9 so that the mapping position and the detection position of the positional deviation are different, a correction amount for correcting the positional error at the mapping position is secured, and the positional deviation is corrected. The correction accuracy of can be further improved. Further, it is possible to prevent the data of the line mapped immediately before from affecting the correlation value, and improve the accuracy of detecting the positional deviation.
【0160】(第4の実施例)つぎに、本発明の第4の
実施例の編集領域設定装置および画像読み取り装置につ
いて図面を参照しながら説明する。(Fourth Embodiment) An editing area setting device and an image reading device according to a fourth embodiment of the present invention will be described with reference to the drawings.
【0161】図22は本発明の第4の実施例における画
像処理部A、画像読み取り部B、編集領域設定部Cのブ
ロック図を示す。尚、走査位置検出回路3は、編集領域
設定部Cの位置検出回路も兼ねる。FIG. 22 is a block diagram of the image processing section A, the image reading section B, and the editing area setting section C in the fourth embodiment of the present invention. The scanning position detection circuit 3 also serves as the position detection circuit of the editing area setting section C.
【0162】図22に示す領域A,B中のブロックは、
第1の実施例と同様のものである。図22において第1
の実施例と異なる点は、原稿上の座標検出位置を検出す
る検出指定回路2100aと、編集位置座標点の設定位
置を調整する位置調整回路2100bを含んでいる位置
指定回路2100が追加されている点と、編集位置が指
定される毎に、編集位置座標点を順次格納する編集座標
メモリ2200が追加されている点と、記憶された座標
データから編集領域を生成する編集領域生成回路230
0が追加されている点と、生成された編集領域に対して
画像データを切り出す切り出し回路2400が追加され
ている点である。The blocks in the areas A and B shown in FIG.
This is the same as the first embodiment. First in FIG. 22
The difference from the above embodiment is that a detection designation circuit 2100a for detecting the coordinate detection position on the document and a position designation circuit 2100 including a position adjustment circuit 2100b for adjusting the set position of the editing position coordinate point are added. Each time a point and an edit position are designated, an edit coordinate memory 2200 for sequentially storing the edit position coordinate point is added, and an edit area generation circuit 230 for generating an edit area from the stored coordinate data.
0 is added, and a cutout circuit 2400 that cuts out image data from the generated edit area is added.
【0163】図22に示すように、走査位置検出回路3
は、センサ1の両端位置座標として走査位置座標300
を生成する。(以後、走査位置座標300を両端位置座
標300とする)。As shown in FIG. 22, the scanning position detecting circuit 3
Is the scanning position coordinate 300 as both end position coordinates of the sensor 1.
Generate (Hereinafter, the scanning position coordinate 300 will be referred to as both end position coordinate 300).
【0164】検出指定回路2100aは図23に示すよ
うにスイッチ2001を備え、スイッチ2001は、一
度スイッチを押し込んだときに「ON」、離したときに
「OFF」の信号を発生する。(以後、この一連の動作
を、「ON」、「OFF」と呼ぶ)。The detection designating circuit 2100a is provided with a switch 2001 as shown in FIG. 23. The switch 2001 generates a signal of "ON" when the switch is once pushed, and a signal of "OFF" when the switch is released. (Hereinafter, this series of operations is referred to as "ON" and "OFF").
【0165】検出指定回路2100aは、スイッチ20
01を「ON」「OFF」すると、検出パルス2101
aを位置指定信号2101に出力する。The detection designation circuit 2100a is provided with the switch 20.
When 01 is turned “ON” and “OFF”, the detection pulse 2101
a is output to the position designation signal 2101.
【0166】位置調整回路2100bはスライド抵抗2
002を持ち、図23に示すように、スライド抵抗20
02中の目印2003の位置により設定位置を調整す
る。本実施例では、スライド抵抗2002は目印200
3の位置により抵抗値が変わる。この抵抗値ほ変化を設
定位置に対応させる。なお、本実施例では、スライド抵
抗2002の両端位置座標を画像処理部Aで検出される
走査位置座標300を共用して用い、取り付けの位置関
係を考慮して、走査位置座標300から演算によって算
出する。The position adjusting circuit 2100b has a slide resistance 2
002, and as shown in FIG.
The set position is adjusted according to the position of the mark 2003 in 02. In this embodiment, the slide resistor 2002 is a mark 200.
The resistance value changes depending on the position of 3. This change in resistance value corresponds to the set position. In this embodiment, the coordinates of both ends of the slide resistor 2002 are shared by the scanning position coordinates 300 detected by the image processing section A, and the positional relationship of attachment is taken into consideration to calculate from the scanning position coordinates 300 by calculation. To do.
【0167】位置調整回路2100bは、調整パラメー
タ2101bを位置指定信号2101に出力する。位置
指定回路2100は、検出指定回路2100a、位置調
整回路2100bを有し、検出指定回路2100aと位
置調整回路2100bからそれぞれ出力されたパラメー
タ2101a、2101bを含む位置指定信号2101
を出力する。The position adjustment circuit 2100b outputs the adjustment parameter 2101b to the position designation signal 2101. The position designation circuit 2100 includes a detection designation circuit 2100a and a position adjustment circuit 2100b, and a position designation signal 2101 including parameters 2101a and 2101b output from the detection designation circuit 2100a and the position adjustment circuit 2100b, respectively.
Is output.
【0168】座標演算回路2500は、位置指定信号2
101を受け取ると、センサ1の両端位置座標300を
取り込み、位置指定信号2101中の調整パラメータ2
101bに基づいて編集位置座標点2501を算出し、
編集座標メモリ2200に格納する。座標演算回路25
00の動作の詳細については後述する。The coordinate calculation circuit 2500 uses the position designation signal 2
When 101 is received, both end position coordinates 300 of the sensor 1 are fetched and the adjustment parameter 2 in the position designation signal 2101 is read.
The edit position coordinate point 2501 is calculated based on 101b,
It is stored in the edit coordinate memory 2200. Coordinate operation circuit 25
The details of the operation of 00 will be described later.
【0169】編集領域生成回路2300は、編集座標メ
モリ2200に格納された編集位置座標点データ220
1の各座標点に基づいて編集領域データ2301を生成
する。The editing area generating circuit 2300 is used for editing position coordinate point data 220 stored in the editing coordinate memory 2200.
The edit area data 2301 is generated based on each coordinate point 1.
【0170】切り出し回路2400は、編集領域データ
2301を用いて、画像メモリ6からバス600を経由
して、編集領域内の各画素データを読み出す。The clipping circuit 2400 uses the editing area data 2301 to read each pixel data in the editing area from the image memory 6 via the bus 600.
【0171】次に、座標演算回路2500の動作につい
て、さらに詳細に説明する。座標演算回路2500は、
まず、位置指定信号2101に含まれる検出パルス21
01aを受け取り、指定された位置でのセンサ1の両端
位置座標300を取り込む。取り込んだ両端位置座標3
00と、位置指定信号2101に含まれる調整パラメー
タ2101bとを用いて編集位置座標点2501を算出
する。Next, the operation of the coordinate calculation circuit 2500 will be described in more detail. The coordinate calculation circuit 2500 is
First, the detection pulse 21 included in the position designation signal 2101
01a is received, and both end position coordinates 300 of the sensor 1 at the designated position are fetched. Coordinates of both ends captured 3
00 and the adjustment parameter 2101b included in the position designation signal 2101 are used to calculate the edit position coordinate point 2501.
【0172】図24は、位置調整回路2100bにおけ
る編集位置座標点の座標算出の説明図である。図24に
おいて、センサ1の両端位置座標300に対応するスラ
イド抵抗2002の両端座標をPsa(Xsa,Ysa)、お
よびPsb(Xsb,Ysb)とする。位置調整回路2100
bが生成する調整パラメータ2101bをEDとする
と、編集位置座標点Pedit(Xedit,Yedit)は、下記
(数16)により算出できる。FIG. 24 is an explanatory diagram of the coordinate calculation of the editing position coordinate point in the position adjusting circuit 2100b. In FIG. 24, the coordinates of both ends of the slide resistor 2002 corresponding to the coordinates 300 of both ends of the sensor 1 are Psa (Xsa, Ysa) and Psb (Xsb, Ysb). Position adjustment circuit 2100
When the adjustment parameter 2101b generated by b is ED, the edit position coordinate point Pedit (Xedit, Yedit) can be calculated by the following (Equation 16).
【0173】[0173]
【数16】 (Equation 16)
【0174】ここで、Rはスライド抵抗2002の最大
値、R1は編集位置座標点Peditからスライド抵抗の端
点座標Psaまでの距離に対応した抵抗値である。Here, R is the maximum value of the slide resistance 2002, and R1 is the resistance value corresponding to the distance from the editing position coordinate point Pedit to the end point coordinate Psa of the slide resistance.
【0175】座標演算回路2500は、センサ1の走査
位置座標300に対応するスライド抵抗2002の両端
座標Psa(Xsa,Ysa)、およびPsb(Xsb,Ysb)か
ら、上記(数16)の演算を行い、座標Pedit(Xedi
t,Yedit)を、編集位置座標点2501として出力す
る。The coordinate calculation circuit 2500 calculates the above (Formula 16) from the coordinates Psa (Xsa, Ysa) and Psb (Xsb, Ysb) of both ends of the slide resistor 2002 corresponding to the scanning position coordinate 300 of the sensor 1. , Coordinates Pedit (Xedi
t, Yedit) is output as the edit position coordinate point 2501.
【0176】次に、編集位置の設定と編集領域の生成に
ついて、図25を用いて説明する。図25において、ス
ライド抵抗2002の長さはイメージセンサ1の読み取
り範囲に対応し、スライド内の目印2003の位置は編
集位置座標点に対応する。Next, setting of the editing position and generation of the editing area will be described with reference to FIG. In FIG. 25, the length of the slide resistor 2002 corresponds to the reading range of the image sensor 1, and the position of the mark 2003 in the slide corresponds to the editing position coordinate point.
【0177】図25において、ハンドスキャナ1004
で原稿1000上を自由走査する場合の説明を行う。In FIG. 25, the hand scanner 1004
The case of freely scanning the original 1000 will be described.
【0178】図25において、まず、ある位置P1を編
集位置と指定する場合、位置P1において、スイッチ2
001を「ON」する。このとき、センサ1の両端位置
座標a,bが検出され、スライド抵抗2002の目印2
003の位置から演算により編集位置座標点Cが生成さ
れる。上記の動作を繰り返すことにより、各編集位置座
標点A、B、C、D、E、Fが順次生成されていく。In FIG. 25, first, when a certain position P1 is designated as the editing position, the switch 2 is set at the position P1.
001 is turned “ON”. At this time, both end position coordinates a and b of the sensor 1 are detected, and the mark 2 of the slide resistance 2002 is detected.
The edit position coordinate point C is generated from the position 003 by calculation. By repeating the above operation, each editing position coordinate point A, B, C, D, E, F is sequentially generated.
【0179】指定された各編集位置座標点A、B、C、
D、E、Fは、編集領域生成回路により、画像領域内に
編集領域ABCDEFを形成する。Each designated editing position coordinate point A, B, C,
D, E, and F form an edit area ABCDEF in the image area by the edit area generation circuit.
【0180】以上のように、本実施例の編集領域設定装
置の構成によれば、読み取りながら編集したい領域を指
定でき、作業の効率化を図ることができる。また、スラ
イド抵抗2002の目印2003の位置を移動させるこ
とで所望する任意の位置に座標点を設定できる。さら
に、読み取りと同時に、希望する位置に編集領域を指定
することができる。As described above, according to the configuration of the editing area setting device of the present embodiment, the area to be edited can be designated while reading, and the work efficiency can be improved. Further, the coordinate point can be set at any desired position by moving the position of the mark 2003 of the slide resistor 2002. Further, at the same time as reading, the edit area can be designated at a desired position.
【0181】(第5の実施例)次に、本発明の第5の実
施例の編集領域設定装置および画像読み取り装置につい
て図面を参照しながら説明する。(Fifth Embodiment) Next, an editing area setting device and an image reading device according to a fifth embodiment of the present invention will be described with reference to the drawings.
【0182】図26は本発明の第5の実施例における画
像処理部A、画像読み取り部B、編集領域設定部Cのブ
ロック図である。FIG. 26 is a block diagram of the image processing section A, the image reading section B, and the edit area setting section C in the fifth embodiment of the present invention.
【0183】図26に示す点線領域A、点線領域Bの各
ブロックは、第1の実施例と同様のものであり、点線領
域Cの各ブロックは、第4の実施例と同様のものであ
る。図26において第4の実施例と異なる点は、画像処
理部Aに位置ずれ検出回路7が追加されている点と、座
標演算回路2500が取り込む位置データを、走査位置
検出回路3からではなく、位置ずれ検出回路7から受け
取る点である。The blocks in the dotted line area A and the dotted line area B shown in FIG. 26 are the same as those in the first embodiment, and the blocks in the dotted line area C are the same as those in the fourth embodiment. . 26 is different from the fourth embodiment in that the position shift detection circuit 7 is added to the image processing unit A and the position data taken in by the coordinate calculation circuit 2500 is not obtained from the scanning position detection circuit 3. This is a point received from the position shift detection circuit 7.
【0184】図26に示すように、座標演算回路250
0は、位置指定信号2101を受け取ると、両端位置座
標300ではなく、位置ずれ検出回路7から補正走査位
置データ710を取り込み、位置指定信号2101中の
調整パラメータ2101bに基づいて編集位置座標点2
501を算出し、編集座標メモリ2200に格納する。As shown in FIG. 26, the coordinate calculation circuit 250.
When 0 receives the position designation signal 2101, the correction scanning position data 710 is fetched from the position shift detection circuit 7 instead of the both end position coordinates 300, and the edit position coordinate point 2 is read based on the adjustment parameter 2101b in the position designation signal 2101.
501 is calculated and stored in the editing coordinate memory 2200.
【0185】以上のように、本実施例の画像読み取り装
置の構成によれば、位置ずれ検出回路7から補正走査位
置データ710を取り込むことで、走査位置検出回路3
が生成したセンサ1の両端位置座標300に位置誤差が
含まれていても、位置ずれを補正した編集位置座標点2
501が生成でき、より精度のよい編集領域が設定がで
きる。As described above, according to the structure of the image reading apparatus of the present embodiment, the scanning position detecting circuit 3 is obtained by fetching the corrected scanning position data 710 from the positional deviation detecting circuit 7.
Even if the both-end position coordinates 300 of the sensor 1 generated by the position error include a position error, the edit position coordinate point 2 in which the position shift is corrected
501 can be generated, and a more accurate editing area can be set.
【0186】なお、本発明の実施例では、入力画像デー
タ及び走査位置座標を、ラインセンサ両端に一体になっ
て取り付けられた一対の車輪の回転に伴ってパルスを発
生する2つのロータリーエンコーダを用いるハンドスキ
ャナから入力するとしたが、タブレット若しくは基準格
子を印刷したシートを補助装置に用い、ラインセンサの
両端の位置検出を行うことで走査位置座標と画像データ
を得るハンドスキャナから入力しても良い。(例えば、
すでに公知のUSP4、260、979、USP4,5
81,761を用いる)。In the embodiment of the present invention, two rotary encoders are used which generate a pulse in accordance with the rotation of a pair of wheels integrally attached to both ends of the line sensor for input image data and scanning position coordinates. Although the input is made from the hand scanner, the tablet or the sheet on which the reference grid is printed may be used as the auxiliary device to detect the positions of both ends of the line sensor to obtain the scanning position coordinates and the image data. (For example,
Already known USP4, 260, 979, USP4,5
81, 761).
【0187】さらに、本実施例では、ラインイメージセ
ンサを用いたハンドスキャナからの信号を処理する編集
領域設定装置および画像読み取り装置に用いる画像処理
装置について説明したが、ハンドスキャナに限定される
ものではない。例えば、エリアイメージセンサを用いた
画像入力装置からの画像信号を処理するものでも良い。Further, in the present embodiment, the edit area setting device for processing the signal from the hand scanner using the line image sensor and the image processing device used for the image reading device have been described, but the invention is not limited to the hand scanner. Absent. For example, an image signal from an image input device using an area image sensor may be processed.
【0188】また、本発明の実施例と同様の処理を、パ
ーソナルコンピュータ、MPU(マイクロプロセッサユ
ニット)やDSP(ディジタルシグナルプロセッサ)を
用い、ソフトウエアによって実現しても良い。The same processing as that of the embodiment of the present invention may be realized by software using a personal computer, MPU (microprocessor unit) or DSP (digital signal processor).
【0189】また、図19(a)に図示するように、本
発明の編集領域設定装置および画像読み取り装置に用い
る画像処理装置は、読み取り範囲の限定された小型の入
力装置1004によって画像を入力し、原稿1000上
の部分画像を接続合成して大画面の平面画像を作成す
る。よって、本発明の編集領域設定装置および画像読み
取り装置に用いる画像処理装置を携帯機器1001に搭
載することで、小型の入力装置1004を有する携帯機
器でも大きな原稿の画像入力ができる。例えば、携帯F
AX、携帯情報端末、携帯スキャナーなどに最適であ
る。なお、図20に図示するように、入力装置1004
を小型にできることから、携帯機器の本体と一体にして
使用することもできる。また、携帯機器1001の代わ
りにパーソナルコンピュータを用いれば、小型で大画面
が入力できる入力装置1004を実現でき、操作性を向
上できる。ここで、入力装置1004は、例えば、図1
6に図示する2点破線領域Bの構成を有するスキャナー
である。Further, as shown in FIG. 19A, the image processing apparatus used in the editing area setting device and the image reading device of the present invention inputs an image by a small input device 1004 having a limited reading range. , A partial image on the original 1000 is connected and combined to create a large-screen plane image. Therefore, by mounting the image processing device used in the editing area setting device and the image reading device of the present invention on the portable device 1001, it is possible to input an image of a large document even on a portable device having a small input device 1004. For example, cell phone F
Most suitable for AX, personal digital assistants, mobile scanners, etc. As shown in FIG. 20, the input device 1004
Since it can be made small, it can also be used by being integrated with the main body of a mobile device. Further, if a personal computer is used instead of the mobile device 1001, a small-sized input device 1004 capable of inputting a large screen can be realized, and operability can be improved. Here, the input device 1004 is, for example, as shown in FIG.
6 is a scanner having a configuration of a two-dot broken line area B shown in FIG.
【0190】また、図19(e)に図示するように、本
発明の編集領域設定装置および画像読み取り装置に用い
る画像処理装置は、検出した走査位置座標の位置ずれを
累積しながら補正を行うので、累積位置誤差の大きい入
力装置1004でも、位置ずれを補正し、接続ずれのな
い画像を生成できる。よって、本実施例で用いたよう
に、ラインセンサ両端に一体になって取り付けられた一
対の車輪の回転に伴ってパルスを発生する2つのロータ
リーエンコーダを用いるハンドスキャナに搭載するとよ
りいっそうその効果が大きい。タブレット若しくは基準
格子を印刷したシートを補助装置に用いるハンドスキャ
ナに比較して、高価な補助装置を必要とせず、小型化、
携帯性、操作性などが格段に良い。さらには、厚い書籍
を読み取ることもできる。ここで、入力装置1004
は、例えば、図16に図示する2点破線領域Bの構成を
有するスキャナーである。Further, as shown in FIG. 19E, the image processing apparatus used in the editing area setting apparatus and the image reading apparatus of the present invention corrects while accumulating the positional deviation of the detected scanning position coordinates. Even with the input device 1004 having a large cumulative position error, it is possible to correct the positional deviation and generate an image with no connection deviation. Therefore, as in the case of the present embodiment, the effect is further enhanced when it is mounted on a hand scanner that uses two rotary encoders that generate pulses in accordance with the rotation of a pair of wheels integrally attached to both ends of the line sensor. large. Compared to a hand scanner that uses a tablet or a sheet on which a reference grid is printed as an auxiliary device, it does not require an expensive auxiliary device and is compact.
The portability and operability are remarkably good. Furthermore, it can read thick books. Here, the input device 1004
Is, for example, a scanner having a configuration of a two-dot broken line area B shown in FIG.
【0191】また、本発明の第4、第5の実施例では、
検出指定回路2100aにスイッチ2001を用いた
が、パルスを発生するという機能があればよいので、ス
イッチではなく、他の方式で設定してもかまわない。例
えば、マウスでクリックするとしてもよい。In the fourth and fifth embodiments of the present invention,
Although the switch 2001 is used for the detection designating circuit 2100a, any other method may be used instead of the switch, as long as it has a function of generating a pulse. For example, it may be clicked with a mouse.
【0192】また、本発明の第4、第5の実施例では、
位置調整回路2100bにスライド抵抗2002を用い
たが、位置を調整でき、調整パラメータを変更できるも
のであれば良い。例えば、複数の目印を備え、各目印の
位置にそれぞれスイッチを配置することで、所望する目
印の位置のスイッチを設定して調整パラメータを変更し
てもかまわない。また、複数のスイッチを1つにまと
め、「ON」「OFF」の回数で調整パラメータを変更
するようにしてもよい。In the fourth and fifth embodiments of the present invention,
Although the slide resistor 2002 is used for the position adjusting circuit 2100b, any device that can adjust the position and change the adjustment parameter may be used. For example, the adjustment parameter may be changed by setting a switch at a desired mark position by providing a plurality of marks and arranging a switch at each mark position. Alternatively, the plurality of switches may be combined into one and the adjustment parameter may be changed depending on the number of times of “ON” and “OFF”.
【0193】また、本発明の第4、第5の実施例では、
検出指定回路2100aのスイッチ2001と位置調整
回路2100bのスライド抵抗2002を別々に配置し
たが、スイッチ2001をスライド抵抗2002の目印
2003と兼用し、目印2003を「ON」「OFF」
とすることで、さらに操作性を良くできる。In the fourth and fifth embodiments of the present invention,
Although the switch 2001 of the detection designation circuit 2100a and the slide resistor 2002 of the position adjustment circuit 2100b are separately arranged, the switch 2001 is also used as the mark 2003 of the slide resistor 2002, and the mark 2003 is “ON” or “OFF”.
By doing so, the operability can be further improved.
【0194】また、本発明の第4、第5の実施例では、
編集領域の設定において、多点で設定し多角形領域を生
成する例を用いたが、対角点を用いて領域を設定し、対
角点により決定される対角領域を編集領域としてもよ
い。In the fourth and fifth embodiments of the present invention,
In the setting of the editing area, an example of setting a multi-point to generate a polygonal area is used, but the area may be set using a diagonal point and the diagonal area determined by the diagonal point may be used as the editing area. .
【0195】[0195]
【発明の効果】以上のように本発明は、原稿上の座標検
出位置の指定によって、座標検出位置で複数の位置座標
を検出し、編集位置座標点の設定位置を調整すること
で、複数の位置座標から演算により任意位置に編集位置
座標点を設定できる。よって、原稿上の所望する位置に
編集位置座標点を設定することができるといった効果が
ある。As described above, according to the present invention, a plurality of position coordinates are detected at the coordinate detection position by designating the coordinate detection position on the original, and the setting position of the editing position coordinate point is adjusted to thereby detect a plurality of positions. An edit position coordinate point can be set at an arbitrary position by calculation from position coordinates. Therefore, there is an effect that the edit position coordinate point can be set at a desired position on the document.
【0196】また、直接にマーカーペン等を用て原稿に
書き込む方式に対して、オリジナル原稿を損なうことな
く、編集位置の指定ができるいった効果がある。Further, as compared with the method of directly writing on the original with a marker pen or the like, there is an effect that the editing position can be designated without damaging the original original.
【0197】また、入力した走査位置に位置誤差が含ま
れていても、重複して走査する重なり走査領域内の、画
像データと格納データの画像情報から走査位置の位置ず
れを検出し、位置ずれを補正することができる。領域設
定手段は、補正した走査位置に基づいて編集領域を設定
するので、合成された画像に対して精度良い編集領域を
設定することができるといった効果がある。Further, even if the input scanning position includes a positional error, the positional deviation of the scanning position is detected from the image information of the image data and the stored data in the overlapping scanning area for overlapping scanning, and the positional deviation is detected. Can be corrected. Since the area setting means sets the editing area based on the corrected scanning position, there is an effect that the editing area can be set with high accuracy for the combined image.
【0198】また、原稿上の画像を読み取りながら編集
領域を設定できる。よって、編集作業効率があがるとい
った効果がある。Further, the editing area can be set while reading the image on the original. Therefore, there is an effect that the editing work efficiency is improved.
【図1】本発明の第1の実施例における画像処理部A、
及び原稿画像を読み取り走査する画像読み取り部を示す
ブロック図FIG. 1 is an image processing unit A according to a first embodiment of the present invention,
And block diagram showing an image reading unit for reading and scanning a document image
【図2】本発明の第1の実施例における位置検出回路3
の動作説明図FIG. 2 is a position detection circuit 3 according to the first embodiment of the present invention.
Operation explanation diagram
【図3】本発明の第1の実施例におけるラインイメージ
センサ1の両端部読み取り画素の座標算出を示す説明図FIG. 3 is an explanatory diagram showing calculation of coordinates of pixels read at both ends of the line image sensor 1 according to the first embodiment of the present invention.
【図4】本発明の第1の実施例におけるラインイメージ
センサ1の走査領域の説明図FIG. 4 is an explanatory diagram of a scanning area of the line image sensor 1 according to the first embodiment of the present invention.
【図5】本発明の第1の実施例における位置ずれ検出回
路7のブロック図FIG. 5 is a block diagram of a positional deviation detection circuit 7 according to the first embodiment of the present invention.
【図6】本発明の第1の実施例における写像回路5のブ
ロック図FIG. 6 is a block diagram of a mapping circuit 5 according to the first embodiment of the present invention.
【図7】本発明の第1の実施例における画像メモリ6の
説明図FIG. 7 is an explanatory diagram of the image memory 6 according to the first embodiment of the present invention.
【図8】本発明の第1の実施例における相関テーブルの
説明図FIG. 8 is an explanatory diagram of a correlation table according to the first embodiment of this invention.
【図9】本発明の第1の実施例における画素密度変換の
説明図FIG. 9 is an explanatory diagram of pixel density conversion in the first embodiment of the present invention.
【図10】本発明の第1の実施例における画像メモリ6
のアドレス配置図FIG. 10 is an image memory 6 according to the first embodiment of the present invention.
Address layout
【図11】本発明の第1の実施例における高密度化画像
データ500の画像メモリ6への写像動作の説明図FIG. 11 is an explanatory diagram of a mapping operation of the densified image data 500 onto the image memory 6 in the first embodiment of the present invention.
【図12】本発明の第2の実施例における分割制御回路
75を含む位置ずれ検出回路7のブロック図FIG. 12 is a block diagram of a positional deviation detection circuit 7 including a division control circuit 75 according to a second embodiment of the present invention.
【図13】本発明の第2の実施例における分割制御回路
75のタイミングチャートFIG. 13 is a timing chart of the division control circuit 75 according to the second embodiment of the present invention.
【図14】本発明の第2の実施例における位置補正量7
03と分割位置補正量705の違いを説明する説明図FIG. 14 is a position correction amount 7 in the second embodiment of the present invention.
03 and the explanatory diagram for explaining the difference between the division position correction amount 705
【図15】本発明の第2の実施例における画像メモリ6
におけるデータの格納状態の説明図FIG. 15 is an image memory 6 according to the second embodiment of the present invention.
Diagram of data storage status in
【図16】本発明の第3の実施例における画像処理部
A、および原稿画像を読み取り走査する画像読み取り部
Bのブロック図FIG. 16 is a block diagram of an image processing unit A and an image reading unit B that reads and scans a document image according to a third embodiment of the present invention.
【図17】本発明の第3の実施例における角度補正の説
明図FIG. 17 is an explanatory diagram of angle correction according to the third embodiment of the present invention.
【図18】本発明の第3の実施例における遅延回路9の
動作説明図FIG. 18 is an operation explanatory diagram of the delay circuit 9 according to the third embodiment of the present invention.
【図19】本発明の第3の実施例における走査位置の位
置ずれによる読み取り画像の接続ずれの説明図FIG. 19 is an explanatory diagram of connection deviation of read images due to positional deviation of scanning positions in the third embodiment of the present invention.
【図20】本発明の第3の実施例における携帯端末機器
の一実施例を示す斜視図FIG. 20 is a perspective view showing an embodiment of a mobile terminal device according to the third embodiment of the present invention.
【図21】本発明の第3の実施例における携帯端末機器
の他の実施例を示す分解斜視図FIG. 21 is an exploded perspective view showing another embodiment of the mobile terminal device according to the third embodiment of the present invention.
【図22】本発明の第4の実施例における画像処理部
A、及び原稿画像を読み取り走査する画像読み取り部
B、編集領域設定部Cを示すブロック図FIG. 22 is a block diagram showing an image processing unit A, an image reading unit B for reading and scanning an original image, and an editing area setting unit C in a fourth embodiment of the present invention.
【図23】本発明の第4の実施例におけるスイッチ20
01、スライド抵抗2002、目印2003を示す斜視
図FIG. 23 is a switch 20 according to a fourth embodiment of the present invention.
01, slide resistance 2002, a perspective view showing a mark 2003
【図24】本発明の第4の実施例における位置調整回路
2100bの原理の説明図FIG. 24 is an explanatory diagram of the principle of the position adjusting circuit 2100b according to the fourth embodiment of the present invention.
【図25】本発明の第4の実施例における編集動作の説
明図FIG. 25 is an explanatory diagram of an editing operation according to the fourth embodiment of the present invention.
【図26】本発明の第5の実施例における画像処理部
A、及び原稿画像を読み取り走査する画像読み取り部
B、編集領域設定部Cを示すブロック図FIG. 26 is a block diagram showing an image processing unit A, an image reading unit B that reads and scans a document image, and an edit area setting unit C according to a fifth embodiment of the present invention.
1 ラインイメージセンサ 2a、2b エンコーダ 3 走査位置検出回路 4 画像バッファ 5 写像回路 6 画像メモリ 7 位置ずれ検出回路 8 座標回転変換回路 9 遅延回路 31、32 車輪 33、35 位置カウンタ 37 位置座標検出回路 51 画素密度変換回路 52 座標値算出回路 53 整数化回路 54 アドレス生成回路 55 誤差算出回路 65、66 メモリ 67 相関テーブル 71 重なり領域検出回路 72 画像相関回路 73 補正量算出回路 74 位置補正回路 75 分割制御回路 1001 携帯端末の本体 1004 入力装置 1007 ICカードスロット 1008a、1008b ロックピン 1009a、1009b ピン挿入穴 2001 スイッチ 2002 スライド抵抗 2003 目印 2100 位置指定回路 2100a 検出指定回路 2100b 位置調整回路 2200 編集座標メモリ 2300 編集領域生成回路 2400 切り出し回路 2500 座標演算回路 1 Line Image Sensor 2a, 2b Encoder 3 Scanning Position Detection Circuit 4 Image Buffer 5 Mapping Circuit 6 Image Memory 7 Position Deviation Detection Circuit 8 Coordinate Rotation Conversion Circuit 9 Delay Circuit 31, 32 Wheels 33, 35 Position Counter 37 Position Coordinate Detection Circuit 51 Pixel density conversion circuit 52 Coordinate value calculation circuit 53 Integer conversion circuit 54 Address generation circuit 55 Error calculation circuit 65, 66 Memory 67 Correlation table 71 Overlap area detection circuit 72 Image correlation circuit 73 Correction amount calculation circuit 74 Position correction circuit 75 Division control circuit 1001 Main body of mobile terminal 1004 Input device 1007 IC card slot 1008a, 1008b Lock pin 1009a, 1009b Pin insertion hole 2001 Switch 2002 Slide resistance 2003 Mark 2100 Position designation circuit 2100a Detection designated times Path 2100b Position adjustment circuit 2200 Edit coordinate memory 2300 Edit area generation circuit 2400 Cutout circuit 2500 Coordinate operation circuit
フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G06F 15/64 340A (72)発明者 仲 昭行 大阪府門真市大字門真1006番地 松下電器 産業株式会社内Continuation of front page (51) Int.Cl. 6 Identification number Internal reference number FI Technical display location G06F 15/64 340A (72) Inventor Akiyuki Naka 1006 Kadoma, Kadoma, Osaka Prefecture Matsushita Electric Industrial Co., Ltd.
Claims (8)
手段と、 前記座標検出位置で、複数の位置座標を検出する位置検
出手段と、 編集領域を設定するための編集位置座標点の設定位置を
調整する位置調整手段と、 前記編集位置座標点を、前記複数の位置座標と前記設定
位置に基づいて生成する座標演算手段と、 前記検出指定手段により座標検出位置が指定される毎
に、前記座標演算手段から生成される前記編集位置座標
点を格納する記憶手段と、 記憶された前記編集位置座標点から編集領域を生成する
編集領域生成手段と、 を備えたことを特徴とする編集領域設定装置。1. A detection designation unit for designating a coordinate detection position on a document, a position detection unit for detecting a plurality of position coordinates at the coordinate detection position, and an edit position coordinate point for setting an edit area. Position adjusting means for adjusting the position, the editing position coordinate point, the coordinate calculating means for generating based on the plurality of position coordinates and the setting position, every time the coordinate detection position is designated by the detection designating means, An editing area comprising: storage means for storing the editing position coordinate point generated by the coordinate calculating means; and editing area generating means for generating an editing area from the stored editing position coordinate point. Setting device.
を2つの検出手段で検出することを特徴とする請求項1
記載の編集領域設定装置。2. The position detecting means detects the plurality of position coordinates by two detecting means.
The editing area setting device described.
る車輪と、前記車輪の回転に対応してパルスを出力する
エンコーダで構成されることを特徴とする請求項2記載
の編集領域設定装置。3. The editing area according to claim 2, wherein the detecting means includes a wheel that rotates in contact with the document surface and an encoder that outputs a pulse corresponding to the rotation of the wheel. Setting device.
パルスを出力することを特徴とする請求項3記載の編集
領域設定装置。4. The editing area setting device according to claim 3, wherein the encoder outputs pulses of two systems having different phases.
タと、前記画像データに対応する走査位置とを順次入力
とし、走査位置に基づいて前記画像データを画像メモリ
に格納する画像処理において、 重複して走査する重なり走査領域内の、前記画像データ
と前記画像メモリに格納した格納データから前記走査位
置の位置ずれを検出し、位置ずれを補正する補正量を出
力する位置ずれ補正手段と、 前記補正量に基づいて前記走査位置を補正する補正手段
と、 補正された走査位置に基づいて前記画像データを前記画
像メモリに格納する写像手段とを具備する画像処理手段
と、 前記補正された走査位置に基づいて編集領域を設定する
領域設定手段と、 を備えることを特徴とする編集領域設定装置。5. In an image processing for sequentially inputting image data read by scanning an original image and a scanning position corresponding to the image data, and storing the image data in an image memory based on the scanning position, A misregistration correction unit that detects a misregistration of the scanning position from the image data and the storage data stored in the image memory in an overlapping scanning area that scans in an overlapping manner, and outputs a correction amount that corrects the misregistration. An image processing unit including a correction unit that corrects the scanning position based on the correction amount, and a mapping unit that stores the image data in the image memory based on the corrected scanning position, and the corrected scanning unit. An editing area setting device comprising: an area setting means for setting an editing area based on a position.
領域設定装置であることを特徴とする請求項5記載の編
集領域設定装置。6. The editing area setting device according to claim 5, wherein the area setting means is the editing area setting device according to claim 1.
サと、 前記センサの走査位置を検出する走査位置検出手段と、 前記走査位置に基づいて前記画像データを画像メモリに
格納する格納手段と、 編集領域を設定する編集領域設定手段と、 前記画像メモリに格納された前記編集領域内の画像デー
タを読み出す出力手段と、 を備えることを特徴とする画像読み取り装置。7. A sensor for scanning an original to generate image data, a scanning position detecting means for detecting a scanning position of the sensor, and a storing means for storing the image data in an image memory based on the scanning position. An image reading apparatus comprising: an editing area setting unit that sets an editing area; and an output unit that reads out image data in the editing area stored in the image memory.
項5記載の編集領域設定装置であることを特徴とする請
求項7記載の画像読み取り装置。8. The image reading apparatus according to claim 7, wherein the area setting means is the editing area setting apparatus according to claim 1 or 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP7270829A JPH09116710A (en) | 1995-10-19 | 1995-10-19 | Edit area setting device and image reader |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP7270829A JPH09116710A (en) | 1995-10-19 | 1995-10-19 | Edit area setting device and image reader |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH09116710A true JPH09116710A (en) | 1997-05-02 |
Family
ID=17491599
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP7270829A Pending JPH09116710A (en) | 1995-10-19 | 1995-10-19 | Edit area setting device and image reader |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH09116710A (en) |
-
1995
- 1995-10-19 JP JP7270829A patent/JPH09116710A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5930411A (en) | Image processing apparatus for adjusting scanning position | |
EP0478015B1 (en) | Device for processing picture data for printing process | |
US6721465B1 (en) | Non-contact image reader and system using the same | |
US6785428B1 (en) | Rotated transform of an image using block transfers | |
JP3602884B2 (en) | Image processing device | |
US5113267A (en) | Apparatus for and method of reconstructing a document | |
JPH08214130A (en) | Image processing unit | |
JPH09116710A (en) | Edit area setting device and image reader | |
JPS639266B2 (en) | ||
JP2002077566A (en) | Image corrector | |
JP4270035B2 (en) | Image processing device | |
JPH0851526A (en) | Image processing unit | |
JPS6113256B2 (en) | ||
JPH0851532A (en) | Image processing unit and image processing method | |
JPH08241393A (en) | Device and method for image processing | |
JPH0851531A (en) | Image processing unit | |
JPH1198348A (en) | Method and device for processing picture | |
JPS63254855A (en) | Scanning distortion correction method | |
JPS61222374A (en) | Picture image reader | |
JP2967228B2 (en) | Image data transfer device | |
JP2006013803A (en) | Image processing apparatus | |
USH84H (en) | Real-time polar controlled video processor | |
JPH0851522A (en) | Image input device | |
JP3385712B2 (en) | Image input device | |
JPH0851525A (en) | Image processing unit |