JP3333889B2 - Image processing device - Google Patents
Image processing deviceInfo
- Publication number
- JP3333889B2 JP3333889B2 JP04384494A JP4384494A JP3333889B2 JP 3333889 B2 JP3333889 B2 JP 3333889B2 JP 04384494 A JP04384494 A JP 04384494A JP 4384494 A JP4384494 A JP 4384494A JP 3333889 B2 JP3333889 B2 JP 3333889B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- line sensor
- memory
- read
- document
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000001514 detection method Methods 0.000 claims description 2
- 230000015654 memory Effects 0.000 description 53
- 238000010586 diagram Methods 0.000 description 10
- 230000008859 change Effects 0.000 description 5
- 238000003384 imaging method Methods 0.000 description 5
- 238000000034 method Methods 0.000 description 4
- 230000003252 repetitive effect Effects 0.000 description 3
- 230000004913 activation Effects 0.000 description 2
- 238000005286 illumination Methods 0.000 description 2
- 238000003702 image correction Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 229940037003 alum Drugs 0.000 description 1
- 238000009125 cardiac resynchronization therapy Methods 0.000 description 1
- 230000006837 decompression Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000001454 recorded image Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
Landscapes
- Facsimile Scanning Arrangements (AREA)
- Storing Facsimile Image Data (AREA)
- Facsimile Image Signal Circuits (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、原稿台上に開かれた状
態で載置されたブック原稿などの画像であっても、歪み
なく再現できるようにした画像処理装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus capable of reproducing an image of a book original or the like placed on an original platen in an open state without distortion.
【0002】[0002]
【従来の技術】近年、文書入力の効率化を図るべく、原
稿台の上に置かれた文書の内容を読み取る装置が使用さ
れているが、現在におけるこのような装置は、たとえ
ば、この文書がブック原稿などのように綴じられている
ものである場合には、綴じ部の浮き上がりによって読み
取った画像に歪みが生じることから、この歪みを補正す
る工夫がなされている。2. Description of the Related Art In recent years, in order to increase the efficiency of document input, a device for reading the contents of a document placed on a document table has been used. In the case of a bound document such as a book document, the read image is distorted due to the lifting of the binding portion, and thus a device for correcting the distortion has been devised.
【0003】たとえば、特開昭62−143557号公
報に開示されている発明では、綴じ部の浮き上がり状態
を距離センサによって検出し、原稿面と読み取り部間の
距離に対応して副走査方向の読み取りピッチ,すなわ
ち、走査速度を変化させ、画像の歪みを補正するように
している。For example, in the invention disclosed in Japanese Patent Application Laid-Open No. Sho 62-143557, a rising state of a binding portion is detected by a distance sensor, and reading in a sub-scanning direction is performed in accordance with a distance between a document surface and a reading portion. The pitch, that is, the scanning speed is changed to correct image distortion.
【0004】また、特開平3−117965号公報に開
示されている発明では、原稿面の曲り具合を検出し、ペ
ージメモリに記憶した原稿画像を伸長処理することで、
画像の歪みを補正するようにしている。In the invention disclosed in Japanese Patent Application Laid-Open No. 3-117965, the degree of curving of a document surface is detected, and a document image stored in a page memory is expanded to perform processing.
The image distortion is corrected.
【0005】[0005]
【発明が解決しようとする課題】しかしながら、このよ
うな従来の画像処理装置にあって、走査速度を変化させ
るものは、原稿の浮き上がり状態に応じてその走査速度
を微妙に変化させる必要があることから、速度ムラの発
生が問題となり、非常に精密な制御精度が要求されるこ
とになる。また、伸長処理を施すものにおいては、画像
全体を記憶するに十分なメモリ容量を確保する必要があ
る。However, in such a conventional image processing apparatus in which the scanning speed is changed, it is necessary to slightly change the scanning speed in accordance with the floating state of the document. Therefore, the occurrence of speed unevenness becomes a problem, and very precise control accuracy is required. In the case of performing the decompression process, it is necessary to secure a sufficient memory capacity for storing the entire image.
【0006】本発明は、このような従来の問題点に鑑み
てなされたものであり、ラインセンサの走査速度を変え
ることなく、また、最低限のメモリ容量を確保するのみ
で、副走査方向の画像の歪みを補正することができる画
像処理装置の提供を目的とする。The present invention has been made in view of such a conventional problem, and does not change the scanning speed of the line sensor and only secures a minimum memory capacity, and is capable of performing the scanning in the sub-scanning direction. It is an object of the present invention to provide an image processing device capable of correcting an image distortion.
【0007】[0007]
【課題を解決するための手段】上記目的を達成するため
の本発明は、ラインセンサを走査して原稿画像を読み取
り、これを二次元画像情報として記録する画像処理装置
であって、当該ラインセンサを副走査方向に定速駆動す
るラインセンサ駆動手段と、前記ラインセンサにより読
み取った主走査方向の複数ライン分の画像情報を記憶す
る画像記憶手段と、前記ラインセンサ駆動手段によって
駆動されるラインセンサの副走査方向の前記原稿画像の
歪みを検出する画像歪み検出手段と、当該画像歪み検出
手段によって検出した原稿画像の歪みに応じて、前記ラ
インセンサが読み取った画像情報の前記画像記憶手段へ
の書き込みと同時に、前記画像記憶手段に記憶されてい
る画像情報を前記ラインセンサの主走査方向単位に繰り
返し読み出す制御手段と、を有することを特徴とする画
像処理装置である。According to the present invention, there is provided an image processing apparatus which scans a line sensor to read an original image and records the image as two-dimensional image information. Line sensor driving means for driving the image sensor at a constant speed in the sub-scanning direction, image storage means for storing image information of a plurality of lines in the main scanning direction read by the line sensor, and a line sensor driven by the line sensor driving means sub-scanning direction and the image distortion detecting means for detecting a distortion of said original image, according to a distortion of the original image detected by the image distortion detection means, the La
To the image storage means of the image information read by the in-sensor
Control means for repeatedly reading out the image information stored in the image storage means in units of the main scanning direction of the line sensor at the same time as the writing of the image data.
【0008】[0008]
【作用】上述のように構成された本発明は、画像記憶手
段は、ラインセンサの読み取った画像を少なくともライ
ンセンサの画素数分一時的に記憶し、画像の状態を副走
査方向について画像歪み検出手段が画像の歪みを検出
し、これに応じて、制御手段により歪んでいる部分の画
像情報の1ラインを前記画像記憶手段から複数回繰り返
し読み出しを行うことで、撮影された画像の補正を行う
ものである。According to the present invention constructed as described above, the image storage means temporarily stores the image read by the line sensor for at least the number of pixels of the line sensor, and detects the state of the image in the sub-scanning direction. The means detects the distortion of the image, and in response thereto, the control means corrects the photographed image by repeatedly reading one line of the image information of the distorted portion from the image storage means a plurality of times. Things.
【0009】[0009]
【実施例】以下、本発明の実施例を図面に基づいて詳細
に説明する。Embodiments of the present invention will be described below in detail with reference to the drawings.
【0010】図1は、画像読み取り装置の全体構成を示
す図面である。この画像読み取り装置の原稿台1上に
は、書籍やファイルなどの原稿が上向きに置かれ、ライ
ンセンサの走査により原稿を読み取る撮像カメラ部2が
原稿の上方に設けられている。また、原稿台1の奥側上
方に配置され原稿を照明する照明部3と、画像読み取り
条件などの設定を行なう操作部4と、原稿台1の奥側に
配置され原稿の端部形状を写す測距ミラー5とが設けら
れている。FIG. 1 is a drawing showing the overall configuration of an image reading apparatus. A document such as a book or a file is placed upward on a document table 1 of the image reading apparatus, and an imaging camera unit 2 for reading the document by scanning of a line sensor is provided above the document. An illuminating unit 3 disposed above the document table 1 for illuminating the document, an operation unit 4 for setting image reading conditions and the like, and an image of an end portion of the document arranged on the document table 1 at the back of the document table 1. A distance measuring mirror 5 is provided.
【0011】図2は、本装置の概略構成を示すための前
方から見た図面である。撮像カメラ部2は、原稿の画像
を撮像素子面上に結像するための撮像レンズ6と、原稿
の像が結像される焦点面において、図示しない例えばモ
ータと駆動ベルトやギアなどによって構成された駆動手
段によって駆動されて、副走査方向(図2の矢印で示す
方向)に走査する撮像素子であるラインセンサ7とから
なる。原稿台1上に置かれる原稿10は、例えば、1端
で綴じられ左右に開くと各ページが空間的に曲がった柱
面状になる書籍やファイルなどである。FIG. 2 is a front view showing a schematic configuration of the apparatus. The imaging camera unit 2 includes an imaging lens 6 for forming an image of the document on the image sensor surface, and a motor and a driving belt and gears (not shown) on a focal plane on which the image of the document is formed. And a line sensor 7 that is an image sensor that is driven by the driving means and scans in the sub-scanning direction (the direction indicated by the arrow in FIG. 2). The document 10 placed on the platen 1 is, for example, a book or a file that is bound at one end and has a columnar shape in which each page is spatially curved when opened left and right.
【0012】図3は、画像処理回路を説明するためのブ
ロック図である。FIG. 3 is a block diagram for explaining the image processing circuit.
【0013】撮像カメラ部2に用いるラインセンサ7の
画素数は、撮影する原稿のサイズとその原稿を読み取る
解像力により決定され、本実施例ではA3の短辺(29
7mm)を400dipの解像力で読み取るため、50
00画素のレンズ縮小型CCDラインセンサを用いてい
る。The number of pixels of the line sensor 7 used in the imaging camera unit 2 is determined by the size of the document to be photographed and the resolution for reading the document, and in this embodiment, the short side of A3 (29
7 mm) at a resolution of 400 dip, so that 50
A lens reduction type CCD line sensor of 00 pixels is used.
【0014】画像情報を記憶するための画像記憶手段と
なるメモリの容量は、原稿を再現する読み取り階調数で
ある1画素の画像情報に何bitを割り当てるかによっ
て決定される。本実施例では1画素に8bitを割り当
てて、256階調が表現できるようにしている。The capacity of a memory serving as image storage means for storing image information is determined by how many bits are allocated to one pixel of image information, which is the number of read gradations for reproducing an original. In this embodiment, 8 bits are assigned to one pixel so that 256 gradations can be expressed.
【0015】一般に市販されている半導体メモリは、2
進数単位でbit構成が決められている。例えば4MD
RAMでは、1024(210)×1024×4bitや
2048(211)×2048×1bitなどである。そ
こで、これらの半導体メモリを用いて、上記ラインセン
サの画像情報を効率よく記録するには、1列が1024
bitの構成をもつメモリを、5個直列(1024×5
=5120≧&≒5000)に使用することが適当であ
る。[0015] Generally, commercially available semiconductor memories include:
The bit configuration is determined in base units. For example, 4MD
In a RAM, the size is 1024 (2 10 ) × 1024 × 4 bits, 2048 (2 11 ) × 2048 × 1 bit, and the like. Therefore, in order to efficiently record the image information of the line sensor by using these semiconductor memories, one column has 1024 lines.
Five memories each having a bit configuration are connected in series (1024 × 5
= 5120 ≧ & $ 5000).
【0016】このような構成を持つメモリには、例えば
1MDRAM(1024×1024×1bit)や4M
DRAM(1024×1024×4bit)などが有る
が、基板のチップ数を減らし回路構成を簡略化するた
め、本実施例では、4MDRAMを選択した。このメモ
リは、1アドレス当たり4bitの深さを持っているた
め、2個並列に配置し、8bitの階調数に対応してい
る。この状態を概念的に示したものが図4であり、合計
10個の4MDRAMを使用している。A memory having such a configuration includes, for example, a 1M DRAM (1024 × 1024 × 1 bit) and a 4M DRAM.
Although there is a DRAM (1024 × 1024 × 4 bits) and the like, a 4MDRAM is selected in this embodiment in order to reduce the number of chips on the substrate and simplify the circuit configuration. Since this memory has a depth of 4 bits per address, two memories are arranged in parallel and correspond to the number of gradations of 8 bits. FIG. 4 conceptually shows this state, in which a total of ten 4MDRAMs are used.
【0017】次に、画像情報の記憶(メモリへの書き込
み)について説明する。ラインセンサ7は、5000画
素分の受光素子(フォトトランジスタ)を有し、出力さ
れるのアナログ信号はA/D変換器11によりデジタル
信号に変換された後、上下4bitずつに分けられる。
上下に分割された画像情報は、それぞれS/P(シリア
ル/パラレル)変換器12に入力され、本実施例におい
ては5個直列に並べられたDRAMのそれぞれに1画素
ずつ同時に書き込みが行えるように、5画素を1単位と
してまとめて、1単位ごとに、CPU13およびアドレ
スコントローラ14の指示に従って画像メモリ15に書
き込まれる。Next, storage of image information (writing to the memory) will be described. The line sensor 7 has a light receiving element (phototransistor) for 5000 pixels, and an output analog signal is converted into a digital signal by the A / D converter 11 and then divided into upper and lower 4 bits.
The vertically divided image information is input to an S / P (serial / parallel) converter 12, and in this embodiment, one pixel can be simultaneously written into each of five DRAMs arranged in series. The five pixels are grouped as one unit, and written in the image memory 15 in units of one unit in accordance with an instruction from the CPU 13 and the address controller 14.
【0018】次に、記録した画像情報の実行(メモリか
らの呼び出し)について説明する。画像メモリ15に書
き込まれた画像情報は、CPU13およびアドレスコン
トローラ14の指示に従って、本実施例においては5画
素分同時に、画像メモリ15より読み出される。読み出
された画像情報は、P/S(パラレル/シリアル)変換
器16において、書き込み時と同じ様に1画素ずつの順
に並べられた後、上下bitがまとめられ、8bitデ
ータとして、図示しない例えばプリンタやCRTなど、
後段の装置へ送られる。Next, execution of the recorded image information (call from the memory) will be described. In the present embodiment, the image information written in the image memory 15 is read from the image memory 15 at the same time for five pixels in accordance with an instruction from the CPU 13 and the address controller 14. The read image information is arranged in the P / S (parallel / serial) converter 16 in the order of one pixel at a time in the same manner as at the time of writing, and then the upper and lower bits are put together. Printers and CRTs,
It is sent to the subsequent device.
【0019】図4は、画像メモリ15の配列を示す図面
であり、画像メモリ15は前述のように、1チップ当た
り4Mbitの記憶容量を持つメモリ10個より構成さ
れている。各チップは、1M×4bit構成をとり、行
方向、列方向それぞれ1024個の記憶素子を有してい
る。10個のメモリチップは、上位bit、下位bit
用の2群に分けられ各群の5個のメモリチップがS/P
変換された後の画像情報5000画素分に対応してい
る。記憶素子は、列方向に1024あるため、10個の
メモリ全体で1024ライン分の画像情報が記憶可能で
ある。FIG. 4 is a diagram showing an arrangement of the image memory 15. As described above, the image memory 15 is composed of ten memories having a storage capacity of 4 Mbits per chip. Each chip has a 1M × 4 bit configuration and has 1024 storage elements in each of a row direction and a column direction. The 10 memory chips have upper bits, lower bits
And the five memory chips in each group are S / P
This corresponds to 5000 pixel information of the converted image information. Since there are 1024 storage elements in the column direction, 1024 lines of image information can be stored in all of the ten memories.
【0020】図5は、画像メモリ15に記憶された画像
情報の内、上位ビット用1〜5のアドレス配置を示す図
面である。FIG. 5 is a diagram showing the address arrangement of the upper bits 1 to 5 of the image information stored in the image memory 15.
【0021】まず最初に、画像メモリへの書き込み時に
おけるアドレスの制御方法について説明する。ラインセ
ンサ主走査方向の画像情報は、1〜5番目のデータが上
位用1〜5のメモリチップの1行目に記憶され、6〜1
0番目のデータが2行目、11〜15番目の3行目へと
順番に進み1000行目にくると4996〜5000番
目のデータまで書き込みが終了する。First, a method of controlling an address at the time of writing to the image memory will be described. In the image information in the line sensor main scanning direction, the first to fifth data are stored in the first row of the memory chips for higher order 1 to 5, and
The 0th data sequentially proceeds to the second row, the 11th to 15th third rows, and when the 0th data comes to the 1000th row, writing is completed up to the 4996th to 5000th data.
【0022】ラインセンサ副走査方向の画像情報は、1
ライン目のデータが上位用1〜5のメモリチップの一列
目に記憶され、2ライン目が2列目、3ライン目が3列
目へと順番に進み、1024列目に1024ライン目が
記憶された後は、再び1列目に戻り1025ライン目が
記憶される。すなわち、本実施例においては、原稿画像
として、原稿面全てを画像メモリに記憶するものではな
く、一時記憶として1024ライン分の画像が記憶され
るのみである。The image information in the line sensor sub-scanning direction is 1
The data of the line is stored in the first column of the memory chips for the higher order 1 to 5, the second line sequentially proceeds to the second column, the third line proceeds to the third column, and the 1024th line is stored in the 1024 column. Then, the process returns to the first column and the 1025th line is stored. That is, in the present embodiment, the entire original surface is not stored in the image memory as the original image, but only an image of 1024 lines is temporarily stored.
【0023】次に、画像メモリからの読出し時における
アドレスの制御方法について説明する。画像情報の読出
しは、書き込みの後に行なわれるアーリライト方式を取
り、センサ主走査方向の画像情報は、書き込み時と同じ
順序で読み出される。Next, a method of controlling an address at the time of reading from the image memory will be described. The image information is read in an early write mode performed after writing, and the image information in the sensor main scanning direction is read in the same order as when writing.
【0024】これに対し、ラインセンサ副走査方向の画
像情報は、定常状態(原稿に歪みがない場合)では書き
込み時と同様に読み出されるが、原稿に歪みがあり、こ
れを補正するための伸張信号がCPU13から入ると、
読み出し列の進みを止め、同じ列を複数回繰り返して読
み出す。下位用1〜5のメモリチップについても同様に
制御される。すなわち、読み出されて再現される画像
は、伸長信号が入っているときのみ、副走査方向に拡大
された画像となる。これにより、例えば図6(A)に示
す原稿の側面図のように、綴じ合せ部分の両側が盛り上
がった状態の原稿(書籍など)を読取った場合には、図
6(B)に示すように、その画像が副走査方向(図中の
矢印、またはこの矢と逆方向)に縮小されて歪んでいる
ものが、画像メモリから読み出されたときには、図6
(C)に示すように、副走査方向に拡大された正常な画
像となる。On the other hand, the image information in the line sensor sub-scanning direction is read out in the steady state (when the original is not distorted) as in the writing, but the original is distorted and expanded to correct the distortion. When a signal is input from the CPU 13,
The reading column is stopped, and the same column is read a plurality of times. The same applies to the lower-order 1 to 5 memory chips. That is, an image read and reproduced is an image enlarged in the sub-scanning direction only when an expanded signal is included. Thus, when a document (a book or the like) in which both sides of the binding portion are raised is read as shown in the side view of the document shown in FIG. 6A, for example, as shown in FIG. When the image is read out from the image memory and is distorted by being reduced in the sub-scanning direction (the arrow in the figure or the direction opposite to the arrow), FIG.
As shown in (C), a normal image enlarged in the sub-scanning direction is obtained.
【0025】なお、図10に従来の画像読取装置におけ
るメモリのアドレス配置を示すが、図示するように、従
来においては、ラインセンサが読み取ってデジタル変換
された出力がライン順に次々と並べて書き込まれてお
り、本実施例のように、ラインの切れ目でメモリの行や
列を換えるような制御は行っていない。FIG. 10 shows the address arrangement of the memory in the conventional image reading apparatus. As shown in the figure, in the related art, the output which is read by the line sensor and converted into a digital form is sequentially written in line order and written. As in the present embodiment, control for changing the row or column of the memory at a line break is not performed.
【0026】次に、本装置の動作について説明する。図
7は、動作を説明するためのフローチャートである。ま
ず、コピー開始の判断がなされ(S1)、読み取り動作
のスタート指示(コピー開始)が入力されたことを検知
すると、照明部3のランプを点灯して(S2)、原稿1
0を照明する。次いで測距動作のための予備スキャンを
開始する(S3)。ここで測距ミラー5は、45°の角
度で配置されており、CCDラインセンサ7は原稿の上
端部をほぼ水平方向から撮影する。この測距動作では、
CCDラインセンサ7を一端より移動させながら、測距
ミラー5に写った原稿の上端部を撮影することにより、
原稿の高さを算出し記憶する。すなわち、画像の歪みを
検出する。この時、ラインセンサ7と測距ミラー5が画
像歪み検出手段として作用する。Next, the operation of the present apparatus will be described. FIG. 7 is a flowchart for explaining the operation. First, a copy start determination is made (S1). When it is detected that a read operation start instruction (copy start) has been input, the lamp of the illumination unit 3 is turned on (S2), and the original 1
Illuminates 0. Next, a preliminary scan for the distance measurement operation is started (S3). Here, the distance measuring mirror 5 is arranged at an angle of 45 °, and the CCD line sensor 7 photographs the upper end of the document from a substantially horizontal direction. In this ranging operation,
By moving the CCD line sensor 7 from one end and taking an image of the upper end of the document reflected on the distance measuring mirror 5,
The height of the document is calculated and stored. That is, the image distortion is detected. At this time, the line sensor 7 and the distance measuring mirror 5 function as image distortion detecting means.
【0027】次いで、画像の歪みを補正するための演算
が行われる(S4)。この補正演算は、図8に示すよう
に、得られた原稿の高さ情報を元に、スキャン方向に一
定間隔ΔX毎の高さ分布を求め、この区間での原稿の拡
大補正率を以下の近似式にしたがって求める。 ΔL2 =ΔX2 +ΔH2 拡大補正率=ΔL/ΔX ただし、式中、ΔLは原稿面の長さ、ΔHはΔXでの原
稿の高さである。この拡大補正率から、その区間ΔXで
の繰り返しライン数を算出し、区間内に均等に割り振
る。この時CPU13およびアドレスコントローラ14
が制御手段として作用する。Next, an operation for correcting image distortion is performed (S4). In this correction operation, as shown in FIG. 8, based on the obtained height information of the original, a height distribution at regular intervals ΔX is obtained in the scanning direction, and the enlargement correction rate of the original in this section is calculated as follows. It is determined according to an approximate expression. ΔL 2 = ΔX 2 + ΔH 2 Enlargement correction rate = ΔL / ΔX where ΔL is the length of the document surface, and ΔH is the height of the document at ΔX. The number of repetition lines in the section ΔX is calculated from the enlargement correction rate, and the number of lines is evenly distributed in the section. At this time, the CPU 13 and the address controller 14
Act as control means.
【0028】なお、本実施例においては、後述するよう
に、本スキャン時には、画像メモリへの書き込みと同時
に、補正をしながら読み出しを行っているので、補正の
ための繰り返し読み出しに必要なライン数がメモリの列
の数を越えるような場合には、計算結果を修正する必要
がある。本実施例においては、繰り返し可能な最大ライ
ン数はメモリ列の数である1024となっているので、
この繰り返し数(1024)を越えて繰り返し読み出し
が必要な場合には、これを越えないようにする必要があ
る。これは、例えばn列目のラインにおいて画像補正が
必要で、そのための繰り返し読み出し数が1024を越
えるようになると、このn列目のメモリ列には、前述の
ように、読み取り動作におけるn+1024番目の画像
情報が記憶されてしまい、1024を越えて繰り返し読
み出しができなくなるためである。In the present embodiment, as will be described later, at the time of the main scan, reading is performed while performing correction while simultaneously writing to the image memory. Therefore, the number of lines required for repeated reading for correction is required. If the value exceeds the number of columns in the memory, the calculation result needs to be corrected. In this embodiment, the maximum number of repeatable lines is 1024, which is the number of memory columns.
When it is necessary to repeatedly read data exceeding the number of repetitions (1024), it is necessary not to exceed the number. This is because, for example, image correction is necessary for the n-th line, and when the number of repetitive readings for that line exceeds 1024, the n + 1024-th memory in the reading operation is stored in the n-th memory column as described above. This is because image information is stored and cannot be repeatedly read beyond 1024.
【0029】本実施例においては、この修正を副走査方
向の走査速度を変更することにより行っており、具体的
には、歪みのない原稿を読み込んだときの1ページのラ
イン数を基準として、歪みのある画像を読み込んだとき
のライン数との差、すなわち、補正に必要な1ライン当
りの繰り返し読み出しの回数が1024を越えることの
ないようにする。In this embodiment, this correction is made by changing the scanning speed in the sub-scanning direction. Specifically, the correction is performed based on the number of lines of one page when a document without distortion is read. The difference from the number of lines when a distorted image is read, that is, the number of times of repeated reading per line required for correction does not exceed 1024.
【0030】そこで本実施例においては、画像読み取り
の原稿の状態(原稿の高さの状態)ができるだけ多くの
状態に対応させるため、1ライン毎の1メモリ列につい
て1024を越えないように判断するのではなく、余裕
をもって1ページ当り繰り返し読み出し数を含む全ライ
ン数が補正の不要な歪みのない原稿を読み込んだときの
全ライン数を越えないように制御する。Therefore, in this embodiment, in order to make the state of the original for reading an image (the state of the height of the original) correspond to as many states as possible, it is determined that one memory row per line does not exceed 1024. Rather, control is performed so that the total number of lines including the number of repetitive readings per page does not exceed the total number of lines when reading a document without distortion requiring no correction.
【0031】これは、例えば400dpiの解像力で、
A4短辺を副走査方向として撮影すると、その撮影ライ
ン数は、歪みのない状態(補正の必要ない状態)で約3
300ラインとなる。いま、湾曲により歪んだ原稿(書
籍など)を撮影したときの予備スキャンでのA4、1ペ
ージ分のライン数が2000ラインであったとすると、
3300−2000=1300ライン分、画像を伸張す
る必要がある。すなわち、補正に必要な繰り返しライン
数が1024を越えている。そこで、本スキャン時のラ
インセンサの走査速度を以下の式にしたがって変更する
ことにより、原稿の撮影ライン数(上記の2000)を
増やし、結果的に前記ΔXの間隔が短くなるようにし
て、補正に必要な繰り返し読み出しのライン数(上記の
1300)を減少させ、必要な伸長ライン数をメモリ容
量内に治める制御を行なう。このようにスキャン速度を
落とした時も、データの出力タイミングは、一定のまま
で変化しない。 V´=V×(2000+1024)/3000 ただし、式中、Vは変更前の速度(例えば予備スキャン
速度)、V´は変更後の速度(例えば本スキャン速度)
を表す。This is, for example, at a resolution of 400 dpi.
When the short side of A4 is photographed in the sub-scanning direction, the number of photographing lines is about 3 in a state without distortion (a state in which no correction is necessary).
It will be 300 lines. Assuming that the number of lines for A4 and one page in the preliminary scan when a document (a book or the like) distorted due to a curvature is photographed is 2000 lines,
It is necessary to decompress the image by 3300-2000 = 1300 lines. That is, the number of repeating lines required for correction exceeds 1024. Therefore, by changing the scanning speed of the line sensor at the time of the main scan according to the following equation, the number of photographing lines of the original (2,000 above) is increased, and as a result, the interval of ΔX is shortened. Is controlled to reduce the number of repetitive read lines (1300 described above) necessary for the above and to control the required number of expanded lines within the memory capacity. Thus, even when the scanning speed is reduced, the data output timing remains constant and does not change. V ′ = V × (2000 + 1024) / 3000 where V is the speed before change (for example, preliminary scan speed), and V ′ is the speed after change (for example, main scan speed).
Represents
【0032】以上の演算が終了すると、ラインセンサ7
を予備スキャンとは反対の方向に走査して、原稿を撮影
する本スキャンを行なう(S5)。この時、演算で得ら
れた繰り返しライン数を元に、CPU13がアドレスを
コントロールすることにより、副走査方向の部分拡大を
行なう。When the above calculation is completed, the line sensor 7
Is scanned in the direction opposite to the preliminary scan, and a main scan for photographing the original is performed (S5). At this time, the CPU 13 controls the address based on the number of repetition lines obtained by the calculation, thereby performing partial enlargement in the sub-scanning direction.
【0033】なお、前述繰り返しライン数を修正するた
めの動作は、本実施例では、走査速度を変更することに
より行っているが、これは、装備する画像メモリの容量
を少なくし、かつその中で、より多くの原稿の状態に対
応させるためのものであるので、これに限らず、メモリ
の容量を増やしてもよいし、あまりに繰り返し数が多く
なる補正を必要とする場合には、正常な画像読み取りが
困難である場合も予想されるので、読み取り不能をアラ
ームなどを設けて、表示し、読み取りを行わないように
してもよい。In the present embodiment, the operation for correcting the number of repetition lines is performed by changing the scanning speed. However, the present invention is not limited to this, and the memory capacity may be increased. Since it is expected that it is difficult to read an image, it is possible to display an inability to read by providing an alarm or the like, and to prevent reading.
【0034】図9は、画像メモリのタイミング信号を説
明するための図面である。本装置においては、本スキャ
ンの最中に画像情報の画像メモリへの書き込み、読み出
し動作を同時に行なう必要があるため、非常に高速な動
作が要求され、また、繰り返しライン数も多くなる。そ
こで本実施例においては、高速動作が可能でコストが安
いDRAMをメモリ素子として用いた。FIG. 9 is a diagram for explaining the timing signals of the image memory. In this apparatus, since it is necessary to simultaneously write and read image information to and from the image memory during the main scan, a very high-speed operation is required, and the number of repetition lines increases. Therefore, in this embodiment, a DRAM capable of high-speed operation and low in cost is used as a memory element.
【0035】図中、RAS(ロー・アドレス・ストロー
ブ)は行アドレスの活性化信号を示し、CAS(アラム
・アドレス・ストローブ)は列アドレスの活性化信号を
表わす。本実施例においては、同じ行アドレスに書き込
みを行なうため、行アドレスの活性化は一度で良く、そ
の後、書き込みの行アドレス、読み出しの列アドレスと
順次与えると良い。メモリに対する画像情報の書き込
み、読み出しのコントロールはWE(ライトイネーブ
ル:書込可能)信号で行ない、この信号がロー(L)レ
ベルのとき書き込みデータが、ハイ(H)レベルのとき
読み出しデータがデータラインに現れる。In the figure, RAS (row address strobe) indicates a row address activation signal, and CAS (alum address strobe) indicates a column address activation signal. In this embodiment, since writing is performed to the same row address, the row address may be activated only once, and then the write row address and the read column address may be sequentially applied. Writing and reading of image information to and from the memory are controlled by a WE (write enable: writable) signal. When this signal is at a low (L) level, write data is at a high (H) level and read data is at a data line. Appears in
【0036】一般にDRAMでは、メモリ内容の保持を
行なうため、データの再書き込みを行なうリフレッシュ
動作が必要となり、これは、一定期間毎(リフレッシュ
サイクル)に、そのデータを同一アドレスに再書き込み
を行うもので、その一形態として、RAS入力によっ
て、アドレスを取り込み、該当するワード線を選択し、
センスアンプを活性化(リード/ライト)すると共に、
入力されたアドレスで選択される複数ビットのリフレッ
シュを行っているが、本実施例のごとく、画像情報の流
れにしたがって高速に、行アドレスを順次更新してい
く、すなわち、リフレッシュサイクルより早い期間で画
像情報の書き込み、または読み出しのためのアクセスが
行われることで、このアクセス動作がリフレッシュ動作
の代用となり、リフレッシュ動作が不要となる。In general, a DRAM requires a refresh operation for rewriting data in order to retain the memory contents. This refresh operation rewrites the data to the same address every predetermined period (refresh cycle). In one form, an address is taken in by RAS input, a corresponding word line is selected,
Activate (read / write) the sense amplifier and
Although the refresh of a plurality of bits selected by the input address is performed, as in the present embodiment, the row address is sequentially updated at high speed in accordance with the flow of image information, that is, in a period earlier than the refresh cycle. By performing the access for writing or reading the image information, this access operation becomes a substitute for the refresh operation, and the refresh operation becomes unnecessary.
【0037】以上のように、本実施例によれば、書籍な
どの空間的に曲がった原稿を読み取る画像読取装置にお
いて、画像情報を一時記憶する画像メモリを、ラインセ
ンサに対して最適に配置することができ、簡単かつ安価
な構成で、高速かつ高性能の補正処理を実現することが
できる。また、一度の書き込み、読み出し動作におい
て、列アドレスを一度与えるだけで良く、動作時間を短
縮することができる。更に、DRAMにおいて、通常必
要な再書き込み動作(リフレッシュ動作)も省略するこ
とが可能となる。As described above, according to the present embodiment, in an image reading apparatus for reading a spatially curved original such as a book, an image memory for temporarily storing image information is optimally arranged for a line sensor. With a simple and inexpensive configuration, high-speed and high-performance correction processing can be realized. In addition, in writing and reading operations at one time, it is only necessary to give a column address once, and the operation time can be reduced. Further, in the DRAM, a rewriting operation (refresh operation) which is usually required can be omitted.
【0038】なお、以上本実施例の説明においては、原
稿の歪みを補正する副走査方向の部分拡大のために、メ
モリ回路を用いたが、1ページ全体を一時記憶するバッ
ファメモリとしても用いることができる。ただし、この
ときには、メモリ素子の列方向の素子を必要なライン数
だけ増やすと共に、書き込み動作が終了した後、読み出
し動作が行なわれるまで、行アドレスのみを活性化し、
データの再書き込みを行なう必要がある。In the above description of the present embodiment, the memory circuit is used for partial enlargement in the sub-scanning direction for correcting the distortion of the original, but it is also used as a buffer memory for temporarily storing the entire page. Can be. However, at this time, the number of memory elements in the column direction is increased by the required number of lines, and after the write operation is completed, only the row address is activated until the read operation is performed.
Data must be rewritten.
【0039】[0039]
【発明の効果】以上説明したように、本発明により、走
査速度を変えずに1画面中の副走査方向の原稿画像の補
正が行なえるので、走査ムラによる画像ムラをなくすこ
とができ、また複雑な走査駆動系のメカ制御をする必要
がなくなる。As described above, according to the present invention, it is possible to correct the original image in the sub-scanning direction in one screen without changing the scanning speed, so that it is possible to eliminate image unevenness due to scanning unevenness. There is no need to perform complicated scanning drive system mechanical control.
【図1】 本発明を適用した実施例の画像読取装置の外
観構成を説明するための斜視図である。FIG. 1 is a perspective view illustrating an external configuration of an image reading apparatus according to an embodiment of the present invention.
【図2】 本発明を適用した実施例の画像読取装置の構
成を説明するための正面から見た図面である。FIG. 2 is a front view illustrating a configuration of an image reading apparatus according to an embodiment of the invention.
【図3】 本発明を適用した実施例の画像読取装置にお
ける画像処理回路の構成を説明するためのブロック図で
ある。FIG. 3 is a block diagram illustrating a configuration of an image processing circuit in the image reading apparatus according to the embodiment to which the present invention is applied.
【図4】 本発明を適用した実施例の画像読取装置の画
像メモリの構成を説明するための図面である。FIG. 4 is a diagram illustrating a configuration of an image memory of the image reading apparatus according to the embodiment to which the present invention is applied.
【図5】 本発明を適用した実施例における画像メモリ
のアドレス配置を説明するための図面である。FIG. 5 is a diagram for explaining an address arrangement of an image memory in an embodiment to which the present invention is applied.
【図6】 画像読み取りの状態を説明するための図面で
ある。FIG. 6 is a diagram for explaining a state of image reading.
【図7】 本発明を適用した実施例の画像読取装置の動
作を説明するためのフローチャートである。FIG. 7 is a flowchart for explaining the operation of the image reading apparatus according to the embodiment to which the present invention is applied.
【図8】 本発明を適用した実施例の画像読取装置の動
作において、画像の補正を説明するための図面である。FIG. 8 is a view for explaining image correction in the operation of the image reading apparatus according to the embodiment to which the present invention is applied.
【図9】 本発明を適用した実施例の画像読取装置の動
作において、画像メモリへのアクセスタイミングを説明
するための図面である。FIG. 9 is a diagram for explaining access timing to an image memory in the operation of the image reading apparatus according to the embodiment to which the present invention is applied.
【図10】 従来の画像読取装置における画像メモリの
アドレス配置を説明するための図面である。FIG. 10 is a diagram for explaining an address arrangement of an image memory in a conventional image reading apparatus.
1…原稿台、 2…カメラ部、 3…照明部、 4…操作部、 5…測距ミラー、 6…撮像レンズ、 7…ラインセンサ、 10…原稿、 11…A/D変換器、 12,16…S/P変換器、 13…CPU、 14…アドレスコントローラ、 15…メモリ。 DESCRIPTION OF SYMBOLS 1 ... platen, 2 ... camera part, 3 ... illumination part, 4 ... operation part, 5 ... distance measuring mirror, 6 ... imaging lens, 7 ... line sensor, 10 ... original, 11 ... A / D converter, 12, 16: S / P converter, 13: CPU, 14: Address controller, 15: Memory.
───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平5−161001(JP,A) 特開 平5−161000(JP,A) 特開 平5−161002(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04N 1/04 - 1/207 H04N 1/40 - 1/409 ────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-5-161001 (JP, A) JP-A-5-161000 (JP, A) JP-A-5-161002 (JP, A) (58) Field (Int.Cl. 7 , DB name) H04N 1/04-1/207 H04N 1/40-1/409
Claims (1)
取り、これを二次元画像情報として記録する画像処理装
置であって、 当該ラインセンサを副走査方向に定速駆動するラインセ
ンサ駆動手段と、 前記ラインセンサにより読み取った主走査方向の複数ラ
イン分の画像情報を記憶する画像記憶手段と、 前記ラインセンサ駆動手段によって駆動されるラインセ
ンサの副走査方向の前記原稿画像の歪みを検出する画像
歪み検出手段と、 当該画像歪み検出手段によって検出した原稿画像の歪み
に応じて、前記ラインセンサが読み取った画像情報の前
記画像記憶手段への書き込みと同時に、前記画像記憶手
段に記憶されている画像情報を前記ラインセンサの主走
査方向単位に繰り返し読み出す制御手段と、 を有することを特徴とする画像処理装置。An image processing apparatus for scanning a line sensor to read a document image and recording the image as two-dimensional image information, wherein the line sensor drives the line sensor at a constant speed in a sub-scanning direction. Sensor driving means; and a plurality of lasers in the main scanning direction read by the line sensor.
An image storage means for storing image information in minutes, and the image distortion detecting means for detecting a distortion in the sub-scanning direction of the document image of the line sensor driven by said line sensor driving means, detected by the image distortion detection means depending on the distortion of the original image, before the image information in which the line sensor has read
Control means for repeatedly reading out the image information stored in the image storage means in units of the main scanning direction of the line sensor at the same time as writing to the image storage means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP04384494A JP3333889B2 (en) | 1994-03-15 | 1994-03-15 | Image processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP04384494A JP3333889B2 (en) | 1994-03-15 | 1994-03-15 | Image processing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH07254980A JPH07254980A (en) | 1995-10-03 |
| JP3333889B2 true JP3333889B2 (en) | 2002-10-15 |
Family
ID=12675051
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP04384494A Expired - Fee Related JP3333889B2 (en) | 1994-03-15 | 1994-03-15 | Image processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3333889B2 (en) |
-
1994
- 1994-03-15 JP JP04384494A patent/JP3333889B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH07254980A (en) | 1995-10-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4679155A (en) | Method and system for processing image data in reproducing images | |
| KR970024934A (en) | Imaging system with interface between imaging device and computer equipment | |
| US4807044A (en) | Image processing apparatus | |
| JP3333889B2 (en) | Image processing device | |
| JP2002359783A (en) | Imaging device and pixel defect correction method | |
| JP3118032B2 (en) | Video camera | |
| JPS645509B2 (en) | ||
| KR100826343B1 (en) | Trans pose method and device | |
| JPH0514627A (en) | Picture reader | |
| JPS63836B2 (en) | ||
| JP3346916B2 (en) | Image rotation device | |
| JPH05114996A (en) | Image reader | |
| JP2770950B2 (en) | Image signal processing device | |
| JPH08204921A (en) | Scanner device | |
| JP2839768B2 (en) | Image rotation circuit | |
| JPS60117964A (en) | Image reading device | |
| JPS63136771A (en) | Signal processing method | |
| JPH06105155A (en) | Luminance signal binarization device | |
| JPS6130874A (en) | image recording device | |
| JPS6051063A (en) | Picture processing device | |
| JPH0646764B2 (en) | Image reader | |
| JPS644387B2 (en) | ||
| JPS58181359A (en) | Picture data processor | |
| JPH0413909B2 (en) | ||
| JPH099004A (en) | Color image reader |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080802 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080802 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090802 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090802 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100802 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110802 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120802 Year of fee payment: 10 |
|
| LAPS | Cancellation because of no payment of annual fees |