Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2989446B2 - Image reading device - Google Patents
[go: Go Back, main page]

JP2989446B2 - Image reading device - Google Patents

Image reading device

Info

Publication number
JP2989446B2
JP2989446B2 JP5245583A JP24558393A JP2989446B2 JP 2989446 B2 JP2989446 B2 JP 2989446B2 JP 5245583 A JP5245583 A JP 5245583A JP 24558393 A JP24558393 A JP 24558393A JP 2989446 B2 JP2989446 B2 JP 2989446B2
Authority
JP
Japan
Prior art keywords
reading
image
enlargement
read
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP5245583A
Other languages
Japanese (ja)
Other versions
JPH07107270A (en
Inventor
孝幸 杉谷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sanyo Denki Co Ltd
Original Assignee
Sanyo Denki Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Denki Co Ltd filed Critical Sanyo Denki Co Ltd
Priority to JP5245583A priority Critical patent/JP2989446B2/en
Publication of JPH07107270A publication Critical patent/JPH07107270A/en
Application granted granted Critical
Publication of JP2989446B2 publication Critical patent/JP2989446B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Facsimile Scanning Arrangements (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Television Signal Processing For Recording (AREA)
  • Facsimiles In General (AREA)
  • Television Systems (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、複写機やスキャナな
ど、原稿を照明装置により照射し、その反射光、または
透過光を光電変換素子により読み取る、画像読み取り装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image reading apparatus, such as a copying machine or a scanner, which irradiates a document with an illuminating device and reads reflected light or transmitted light thereof with a photoelectric conversion element.

【0002】[0002]

【従来の技術】出願人は先に、特願平4−49652号
に於て、イメージセンサで画面の横方向走査して読み取
った真円がハイビジョン画面上で横長に映出されること
を防止する為、ハイビジョン画面に供給する画像データ
のピクセル比を変更する構成を提案した。
2. Description of the Related Art The applicant has previously disclosed in Japanese Patent Application No. 4-49652 that a perfect circle read by scanning the screen in the horizontal direction with an image sensor is not projected horizontally on a high-definition screen. For this reason, a configuration was proposed in which the pixel ratio of the image data supplied to the HDTV screen was changed.

【0003】[0003]

【発明が解決しようとする課題】しかし、上述する先願
では、読み取った画像をそのまま1対1で表示するもの
であり、拡大や縮小を伴うものではなかった。ハイビジ
ョン画面の縦方向や横方向の長さに合わせて読み取った
画像を拡大または縮小する場合、ピクセル比の変更を独
立して実行すると処理工程が長くなり、回路で実現する
場合は回路が二重になる。そこで、拡大または縮小とピ
クセル比補償を同時に行う必要がある。
However, in the above-mentioned prior application, the read image is displayed as it is on a one-to-one basis, and is not accompanied by enlargement or reduction. When enlarging or reducing an image read in accordance with the length of the HDTV screen in the vertical or horizontal direction, changing the pixel ratio independently increases the processing time. become. Therefore, it is necessary to simultaneously perform enlargement or reduction and pixel ratio compensation.

【0004】[0004]

【課題を解決するための手段】そこで、本発明は、読み
取り指定エリアを主走査方向に走査する光学走査手段
と、該光学走査手段を副走査方向に駆動するステッピン
グモータと、該ステッピングモータに対しステッピング
パルスを供給するモータ制御部と、画像データを主走査
方向に拡大または縮小する拡大縮小部と、指定エリアの
画像を出力する長方形ピクセルにて構成されるモニタと
を有する画像読み取り装置に於て、前記指定エリアの画
像を前記モニタの画面で表示する場合に、前記拡大縮小
部に対し、前記モニタの主走査方向の拡大率または縮小
率にピクセル比補償係数を乗ぜしめた値をセットする制
御部を、設けたことを特徴とする。
Accordingly, the present invention provides a method for reading
Optical scanning means for scanning the designated area in the main scanning direction
And a stepper for driving the optical scanning means in the sub-scanning direction
Stepping motor and stepping motor
Motor controller that supplies pulses and main scanning of image data
And enlargement or reduction in the direction
A monitor consisting of rectangular pixels that output images
In the image reading apparatus having the
When displaying an image on the monitor screen,
The magnification or reduction of the monitor in the main scanning direction
System that sets the value obtained by multiplying the pixel ratio by the pixel ratio compensation coefficient
The control unit is provided.

【0005】[0005]

【作用】よって、本発明によれば、拡大縮小処理の過程
で、同時にピクセル比補償が為される。
According to the present invention, pixel ratio compensation is performed simultaneously in the process of scaling.

【0006】[0006]

【実施例】以下、本発明を図示する実施例に従い説明す
る。図1は、反射原稿を読み取る場合の、フラットベッ
ド型スキャナの構成を示す。図1に於て1は読み取られ
る原稿、2は原稿1を載置する透明部材により構成され
たプラテンガラス、3はプラテンガラスに載置された原
稿1を原稿1上部よりプラテンガラス2に対して押圧す
る原稿押圧板、4はプラテンガラス2に載置された原稿
1に対して光を照射する螢光灯、5は螢光灯4から照射
され原稿1によって反射した反射光を後述する第2のミ
ラーに向けて反射する第1のミラー、9はフォトセンサ
などにより構成される光量センサ、10は螢光灯4と第
1のミラー5とから構成される第1のミラーユニット、
6は第1のミラー5により導かれた反射光を後述する第
3のミラーに向けて反射する第2のミラー、7は第2の
ミラーにより導かれた反射光を後述するレンズに向けて
反射する第3のミラー、11は第2のミラー6と第3の
ミラー7とから構成される第2のミラーユニット、8は
第3のミラーにより導かれた反射光をCCDラインセン
サ9上に結像するレンズである。該レンズ8は、本実施
例においてプラテンガラス2上の1mm相当長の反射光
をCCDセンサ9の24画素分に結像している。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the illustrated embodiments. FIG. 1 shows a configuration of a flatbed scanner when reading a reflection original. In FIG. 1, 1 is a document to be read, 2 is a platen glass made of a transparent member on which the document 1 is placed, and 3 is a document 1 placed on the platen glass with respect to the platen glass 2 from above the document 1. An original pressing plate 4 to be pressed is a fluorescent lamp for irradiating the original 1 placed on the platen glass 2 with light, and 5 is a second light, which will be described later, reflects light emitted from the fluorescent lamp 4 and reflected by the original 1. A first mirror unit 9 configured by a photo sensor and the like; 10 a first mirror unit including a fluorescent lamp 4 and a first mirror 5;
Reference numeral 6 denotes a second mirror that reflects the reflected light guided by the first mirror 5 toward a third mirror described below, and reference numeral 7 reflects the reflected light guided by the second mirror toward a lens described below. A third mirror 11 is a second mirror unit composed of a second mirror 6 and a third mirror 7, and 8 is a device that couples the reflected light guided by the third mirror onto a CCD line sensor 9. It is a lens that images. In this embodiment, the lens 8 forms reflected light having a length equivalent to 1 mm on the platen glass 2 into 24 pixels of the CCD sensor 9.

【0007】光学走査手段として機能する第1のミラー
ユニット10と第2のミラーユニット11は、図示して
いないステッピングモータと、ステッピングモータの動
力を伝える駆動機構(図示せず)とにより2:1の走査
速度で矢印方向A(副走査方向)に移動する。読み取る
原稿がフィルムやオーバーヘッドプロジェクタシートな
どのような透過原稿の場合は、例えば図1に於て、原稿
1の上方に位置し、第1ミラーユニット10と共に一体
化してA方向に移動する様に構成すれば、上方から原稿
1に対し光を照射し、その透過した光を反射原稿の場合
と同様にCCD9へ導くことができる。
The first mirror unit 10 and the second mirror unit 11 functioning as optical scanning means are 2: 1 by a stepping motor (not shown) and a driving mechanism (not shown) for transmitting the power of the stepping motor. It moves in the arrow direction A (sub-scanning direction) at the scanning speed of. When the original to be read is a transparent original such as a film or an overhead projector sheet, for example, as shown in FIG. 1, it is located above the original 1 and is integrated with the first mirror unit 10 so as to move in the direction A. Then, light can be applied to the original 1 from above, and the transmitted light can be guided to the CCD 9 as in the case of the reflective original.

【0008】図2は本実施例を示すブロック図である。
読み取り部12は、プラテンガラスに載置された原稿を
前述のごとくCCDラインセンサを用いてアナログ電気
信号として読み取り、アナログ/デジタルコンバータ
(図示せず)によってデジタルデータに変換し、照明む
ら等の補正を行ったの後、主走査領域制御部13に対し
該画像データを供給する。
FIG. 2 is a block diagram showing the present embodiment.
The reading unit 12 reads a document placed on the platen glass as an analog electric signal using the CCD line sensor as described above, converts the signal into digital data using an analog / digital converter (not shown), and corrects uneven illumination and the like. After that, the image data is supplied to the main scanning area control unit 13.

【0009】原稿の読み取りに先立ち、主制御部19
は、インタフェース16を介してホスト装置より、読み
取条件を決定するのに必要なコマンドやパラメータ等の
コードデータ18を受け取る。本実施例における受信デ
ータと返信データ中のコマンドの種類は、図10に示す
通りである。図10中、受信データ中のR1は読み取っ
た画像を1対1の関係で出力する通常読み取りコマンド
であり、R2は読み取った画像をハイビジョン画面の少
なくとも縦方向または横方向に合わせて拡大縮小して出
力するハイビジョン読み取りコマンドである。このハイ
ビジョン読み取りコマンドR2には、横方向基準コマン
ドK1または縦方向基準コマンドK2または横・縦独立
コマンドK3がそれぞれ対応して設定される。更に、ハ
イビジョン読み取りコマンドR2には、出力がハイビジ
ョンモニタであることを示すコマンドP1、または出力
が印刷であることを示すプリンタモードコマンドP2も
対応して設定される。続く、S0コマンドにおけるパラ
メータx1、y1は読み取り開始位置を、またx2、y
2は読み取りエリアをそれぞれmm単位で示す。図3
は、読み取りエリアと前述するx1、y1、x2、y2
の関係を示す図である。この図3は、読み取りを行う原
稿であり、図示した基準点をイメージセンサの基準点に
合わせて載置する。イメージセンサは基準点からx方向
を右に向かって主走査を行い、y方向を基準点から下に
向かって副走査して読み取り、読み取られた画像データ
ーは、図6に模式的に示す様に、ハイビジョン装置の画
像メモリにa画素からb画素に向かって書き込みが行わ
れ、最終画素dで終了する。
Prior to reading a document, the main control unit 19
Receives code data 18 such as commands and parameters necessary for determining reading conditions from the host device via the interface 16. The types of commands in the received data and the reply data in this embodiment are as shown in FIG. In FIG. 10, R1 in the received data is a normal read command for outputting the read image in a one-to-one relationship, and R2 is used to scale the read image in at least the vertical or horizontal direction of the high-definition screen. This is the HDTV read command to be output. A horizontal reference command K1, a vertical reference command K2, or a horizontal / vertical independent command K3 is set corresponding to the HDTV read command R2. Further, a command P1 indicating that the output is a high-definition monitor or a printer mode command P2 indicating that the output is a print is set corresponding to the high-vision read command R2. The parameters x1 and y1 in the subsequent S0 command indicate the reading start position, and x2 and y.
Reference numeral 2 denotes a reading area in mm units. FIG.
Is the reading area and the aforementioned x1, y1, x2, y2
FIG. FIG. 3 shows a document to be read, and the document is placed so that the illustrated reference point matches the reference point of the image sensor. The image sensor performs main scanning in the x direction from the reference point to the right and sub-scans in the y direction from the reference point to the lower side. The read image data is schematically shown in FIG. Then, writing is performed from the pixel a to the pixel b in the image memory of the Hi-Vision device, and the process ends with the last pixel d.

【0010】Aコマンドは返信データ中のコマンドであ
り、x、yは実際にイメージセンサから出力される横方
向の画素数、yは縦方向のライン数である。主制御部1
9はホスト装置からのコードデータを受信すると、この
領域情報に基づき、主走査方向に於ける読み取り開始画
素のアドレスと読み取るべき画素数、及び拡大縮小率を
算出し、主走査領域制御部13に対しては前述した読み
取りアドレスと画素数を、また拡大・縮小部14に対し
て拡大・縮小率をセットする。副走査方向に関しても同
様に、読み取り開始ラインのアドレスと読み取るべきラ
イン数、そして副走査方向の拡大縮小率の算出を行い、
拡大縮小を行わない場合の走査速度を100%として、
拡大縮小率から走査速度を算出し、モーター制御部21
に対し、走査速度の設定を行う。例えば50%縮小であ
れば、走査速度は反対に200%、つまり倍の速度にな
り、200%拡大であれば、走査速度は反対に50%、
つまり2分の1の速度になる。
The A command is a command in the reply data, where x and y are the number of horizontal pixels actually output from the image sensor, and y is the number of vertical lines. Main control unit 1
9 receives the code data from the host device, calculates the address of the reading start pixel in the main scanning direction, the number of pixels to be read, and the enlargement / reduction ratio based on the area information. On the other hand, the read address and the number of pixels are set, and the enlargement / reduction ratio is set for the enlargement / reduction unit 14. Similarly, for the sub-scanning direction, the address of the reading start line, the number of lines to be read, and the enlargement / reduction ratio in the sub-scanning direction are calculated.
Assuming that the scanning speed when scaling is not performed is 100%,
The scan speed is calculated from the enlargement / reduction ratio, and the motor control unit 21
, The scanning speed is set. For example, if it is reduced by 50%, the scanning speed becomes 200%, that is, double the speed, and if it is enlarged by 200%, the scanning speed becomes 50%,
That is, the speed becomes half.

【0011】更に主制御部19は、前述した各種読み取
り条件を、それぞれの処理部に対して設定し、ホスト装
置に対して読み取り準備の完了後、該ホスト装置に対し
て、これから送信する画像データの横方向と縦方向の画
素数を通知し、インタフェース部16に対し、送信デー
タをコードデータから画像データへ切り換えるよう指示
する。そして螢光灯の点灯を始めとしてCCDから画像
信号が出力されるまでの各種前処理を行い、モーター制
御部21に対し走査開始を指令し、読み取り開始ライン
に達した時点で読み取り部12に対し画像信号の供給開
始を指令する。
Further, the main control unit 19 sets the above-described various reading conditions for each processing unit, and after completing preparation for reading for the host device, transmits the image data to be transmitted to the host device. And instructs the interface unit 16 to switch the transmission data from code data to image data. Then, various preprocessings are performed until the image signal is output from the CCD, starting with lighting of the fluorescent lamp, and a command to start scanning is given to the motor control unit 21. When the reading start line is reached, the reading unit 12 is instructed. Instructs the start of image signal supply.

【0012】読み取り部12から供給された画像データ
17は、主走査領域制御部13において、先に主制御部
19から設定された値に基づき、主走査方向について読
み取り領域部分のみ切り出される。必要な部分のみとな
った画像データは拡大・縮小部14において、やはり主
制御部19から設定された拡大・縮小率に値に基づき、
主走査方向について拡大・縮小処理され、副走査領域制
御部15に供給される。
The image data 17 supplied from the reading section 12 is cut out by the main scanning area control section 13 only on the reading area portion in the main scanning direction based on the value previously set by the main control section 19. The image data that has become only necessary parts is enlarged / reduced by the enlargement / reduction unit 14 based on the value of the enlargement / reduction ratio also set by the main control unit 19.
The image is enlarged / reduced in the main scanning direction and supplied to the sub-scanning area control unit 15.

【0013】副走査領域制御部15では読み取り開始の
指令を受けてから、各種処理の副走査方向におけるディ
レイを考慮した有効なラインからインタフェース16へ
画像情報の供給を開始し、主制御部19から設定された
読み取りライン数分だけ送信した後、画像情報の供給を
停止し、一連の読み取り動作を終了する。次に、表2に
示すコードデータを受信した場合を例にとり、上述した
処理系を用いて指定された読み取り領域をハイビジョン
の画素サイズへ変換するための主走査、及び副走査方向
の拡大・縮小率を算出する過程を述べる。
After receiving the reading start command, the sub-scanning area control unit 15 starts to supply image information to the interface 16 from an effective line in consideration of the delay in the sub-scanning direction of various processes. After transmitting the set number of reading lines, the supply of image information is stopped, and a series of reading operations is completed. Next, taking the case where the code data shown in Table 2 is received as an example, the main scanning and the sub-scanning direction enlargement / reduction for converting the read area designated by using the above-described processing system into the pixel size of the high definition. The process of calculating the rate will be described.

【0014】ハイビジョンの表示装置における横と縦の
長さの比は、図5に示すように規格によって16:9と
定められている。ところがハイビジョン画像の画素数
は、やはり規格により図6に示すように横方向が192
0画素、縦方向が1035画素と定められており、これ
は16:9とはならない。よってハイビジョンモニタに
おける一つの画素は、図7に示すように正方形ではなく
図8、図9のような縦長の長方形であると考えることが
できる。したがってイメージセンサなどで読み取った真
円をハイビジョンモニタに表示すると縦長の楕円になっ
てしまう。
The ratio between the horizontal and vertical lengths of a high-vision display device is set to 16: 9 according to the standard as shown in FIG. However, the number of pixels of a high-definition image is 192 in the horizontal direction as shown in FIG.
0 pixels and 1035 pixels in the vertical direction are defined, which is not 16: 9. Therefore, one pixel in the high-definition monitor can be considered to be not a square as shown in FIG. 7 but a vertically long rectangle as shown in FIGS. Therefore, when a true circle read by an image sensor or the like is displayed on a high-definition monitor, it becomes a vertically long ellipse.

【0015】以上のことから出力装置がハイビジョンモ
ニタの場合は、読み取り領域をハイビジョンサイズの画
素数へ画素密度変換する際、ハイビジョンモニタの縦横
比を考慮し、真円として読み取ったものは真円として表
示されるよう拡大・縮小率を算出する。一方、従来型モ
ニタやプリンタへ出力する場合は、一つの画素はハイビ
ジョンモニタと異なり正方形である。ハイビジョン読み
取りモードにおいて、出力装置がプリンタの場合は、読
み取りサイズとハイビジョン画像の画素数の比率のみに
より拡大・縮小率を算出する。
From the above, when the output device is a high-vision monitor, when the reading area is converted into the number of pixels of the high-definition size in consideration of the aspect ratio of the high-vision monitor, what is read as a perfect circle is regarded as a perfect circle. Calculate the enlargement / reduction ratio to be displayed. On the other hand, when outputting to a conventional monitor or printer, one pixel is square unlike a high-vision monitor. In the high-vision reading mode, when the output device is a printer, the enlargement / reduction ratio is calculated based only on the ratio between the reading size and the number of pixels of the high-vision image.

【0016】本実施例におけるイメージセンサの基本解
像度を16[dot/mm]とすると、図11に示すコマン
ド、及びパラメータを受け取った場合、読み取りエリア
の大きさは、横方向が3200(=16×200)画
素、縦方向が2400ライン(=16×150)とな
る。ハイビジョンの横方向の画素サイズは図6に示した
ように1920画素であるから、横方向を基準として縮
小率を計算すると60%(=1920÷3200×10
0)となる。ところが図9に示すように、横方向を基準
にした場合のハイビジョン画素サイズは、1:1.04
3となるので、縦方向に関してはさらに96%の縮小を
行う。よって最終的な縮小率は、横方向60%、縦方向
58%(=60×0.96)となる。その結果、この読
み取りエリアを横方向を基準に表示をすると、横方向1
920画素、縦方向1392(=2400×0.58)
ラインの表示領域が必要となる。しかし、ハイビジョン
画面の有効表示ライン数は、1035ラインであり、読
み取りエリア全て表示することは不可能になる。そこ
で、1036ライン以降の表示ラインでしか表示できな
いラインについては読み取りも必要なくなる。そこで、
1035を0.58で割った値、つまり1785ライン
より後のラインは読み取りも実行しない。即ち、178
6ライン以降のデータの切り捨てられる。
Assuming that the basic resolution of the image sensor in this embodiment is 16 [dot / mm], when the commands and parameters shown in FIG. 11 are received, the size of the read area is 3200 (= 16 ×) in the horizontal direction. 200) pixels, and the vertical direction is 2400 lines (= 16 × 150). Since the pixel size in the horizontal direction of HDTV is 1920 pixels as shown in FIG. 6, when the reduction ratio is calculated based on the horizontal direction, 60% (= 1920 = 3200 × 10
0). However, as shown in FIG. 9, the HDTV pixel size based on the horizontal direction is 1: 1.04.
3, so that the image is further reduced by 96% in the vertical direction. Therefore, the final reduction ratio is 60% in the horizontal direction and 58% in the vertical direction (= 60 × 0.96). As a result, when this reading area is displayed on the basis of the horizontal direction, the reading area becomes 1 in the horizontal direction.
920 pixels, vertical direction 1392 (= 2400 × 0.58)
A line display area is required. However, the effective display line number of the high-definition screen is 1035 lines, and it is impossible to display the entire reading area. Therefore, it becomes unnecessary to read a line that can be displayed only on the display lines after 1036 lines. Therefore,
A value obtained by dividing 1035 by 0.58, that is, a line after 1785 lines is not read. That is, 178
Data after 6 lines is truncated.

【0017】一方、読み取り領域の指定によっては、逆
に拡大縮小後の有効読み取りエリアの方が大きくなる場
合もある。即ち、読み取りエリアが表示領域より小さく
なることがある。例えば、図13に示すようなコードデ
ータを受け取った場合、縮小率から算出した有効読み取
りライン数1785ラインに対し、指定された読み取り
エリアのライン数は1120ラインとなる。このような
場合は、イメージセンサからホスト装置へ返す読み取り
画像サイズを横1920、縦650(=1120×0.
58)に設定し、余分なデータは送信しない。尚、常に
ハイビジョンの画素数になる様にしたい場合は読み取り
領域を延長すれば良い。また、ホスト装置からの指示が
縦方向基準の場合も、同様に処理を行う。
On the other hand, depending on the designation of the reading area, the effective reading area after enlargement / reduction may be larger. That is, the reading area may be smaller than the display area. For example, when the code data as shown in FIG. 13 is received, the number of lines in the designated reading area is 1120 lines with respect to 1785 effective reading lines calculated from the reduction ratio. In such a case, the read image size returned from the image sensor to the host device is 1920 in width and 650 in height (= 1120 × 0.
58), and no extra data is transmitted. If it is desired to always keep the number of pixels of the high definition, the reading area may be extended. Also, when the instruction from the host device is based on the vertical direction, the same processing is performed.

【0018】また、イメージセンサの読み取り可能範囲
を最大限に活かすためには、原稿を縦長に読み取り、ハ
イビジョンの画像メモリへ横方向に書き込む。この場合
の原稿と読み取り位置の関係を図4に示す。イメージセ
ンサの基準点に対応する原稿の基準点は図示の通りであ
り、イメージセンサは基準点からy方向を下に向かって
主走査を行い、x方向を基準点から左に向かって副走査
して読み取り、読み取られた画像データーは、図6に示
すハイビジョン装置の画像メモリにb画素からd画素に
向かって書き込みが行われ、最終画素cで終了する。
Further, in order to make the most of the readable range of the image sensor, the original is read vertically and written in a high-definition image memory in the horizontal direction. FIG. 4 shows the relationship between the original and the reading position in this case. The reference point of the original corresponding to the reference point of the image sensor is as shown in the figure. The image sensor performs main scanning downward in the y direction from the reference point and sub-scans in the x direction leftward from the reference point. The read image data is written into the image memory of the Hi-Vision device shown in FIG. 6 from the b pixel to the d pixel, and ends with the final pixel c.

【0019】該アプリケーションにおいては、図4にお
けるx1、x2をイメージセンサの副走査方向、y1、
y2を主走査方向に対応させ、前述した同様の手順によ
り拡大縮小率を算出し、画素密度変換処理を行う。以
下、図3に図示する様にハイビジョン画面の副走査方向
(縦方向)に光学走査手段を移動させ、読み取りを行う
本実施例の前記主制御部19の読み取り制御動作につい
て、図15と、図16に示すフローチャトに従い説明す
る。まず、インターフェースからのコードデータの入力
を待つ。コードデータが入力されると、図11や図13
に図示する形式のコマンドパラメータを受信する。次
に、読み取り指定領域のサイズx2と、y2に基本解像
度16を乗じ、縦と横の画素数AHとAVを求めること
により、読み取り領域の算出を実行する。
In this application, x1 and x2 in FIG.
y2 is made to correspond to the main scanning direction, the enlargement / reduction ratio is calculated by the same procedure as described above, and the pixel density conversion processing is performed. Hereinafter, the reading control operation of the main control unit 19 of the present embodiment for performing the reading by moving the optical scanning means in the sub-scanning direction (vertical direction) of the Hi-Vision screen as shown in FIG. The description will be given according to the flowchart shown in FIG. First, it waits for input of code data from the interface. When the code data is input, FIG.
The command parameters in the format shown in FIG. Next, the reading area is calculated by multiplying the size x2 and y2 of the reading designated area by the basic resolution 16 to obtain the number of vertical and horizontal pixels AH and AV.

【0020】次に、コマンドセット中の読み取り方式の
指定を識別し、コマンドが通常読み取りR1、即ち読み
取ったままの画面を拡大縮小することなくそのまま出力
する場合、であれば読み取り画素数の値xyをそれぞ
れ、AVとAHに設定して、図16に図示する読み取り
状態に移行する。また、コマンドがハイビジョン読み取
りR2、即ちハイビジョン画面に合わせて拡大縮小をし
て表示をする場合、であれば基準方向の識別を行う。
Next, the designation of the reading method in the command set is identified, and the command is normally read R1, that is, in the case of outputting the screen as it is read without enlarging or reducing the screen, the value xy of the number of pixels to be read is used. Are set to AV and AH, respectively, and the processing shifts to the reading state shown in FIG. If the command is a high-vision reading R2, that is, if the command is to be displayed after being enlarged or reduced in accordance with the high-vision screen, the reference direction is identified.

【0021】横方向基準K1即ち、横方向をハイビジョ
ン画面一杯に表示するのであれば、1920を横方向の
画素数AHで割り、横方向の拡大縮小率ZHを求め、縦
方向の拡大縮小率ZVも共通にする。また、縦方向基準
K2即ち、縦方向をハイビジョン画面一杯に表示するの
であれば、1035を縦方向の画素数AVで割り、縦方
向の拡大縮小率ZVを求め、横方向の拡大縮小率ZHも
共通にする。
If the horizontal direction reference K1, that is, the horizontal direction is to be completely displayed on the high-definition screen, 1920 is divided by the number of pixels AH in the horizontal direction to obtain the horizontal scaling ratio ZH, and the vertical scaling ratio ZV is obtained. Also common. Also, if the vertical reference K2, that is, the vertical direction is to be completely displayed on the HDTV screen, 1035 is divided by the number of pixels AV in the vertical direction to obtain the vertical scaling ratio ZV, and the horizontal scaling ratio ZH is also obtained. Make it common.

【0022】更に、横・縦独立K3即ち、ハイビジョン
画面一杯に表示をするのであれば、横方向の拡大縮小率
ZHを1920を横方向の画素数AHで割って求め、縦
方向の拡大縮小率ZVを1035を縦方向の画素数AV
で割って求める。次に、モードを識別し、モニタモード
であれば元の縦方向の拡大縮小率ZVを0.96を乗
じ、新たな拡大縮小率ZVを設定しピクセル比補償を行
う。
Furthermore, if the display is full horizontal / vertical independent K3, that is, if the display is to be full of the HDTV screen, the horizontal scaling factor ZH is obtained by dividing 1920 by the number AH of pixels in the horizontal direction. ZV is 1035, the number of pixels AV in the vertical direction
Divide by to find. Next, the mode is identified. If the mode is the monitor mode, the original vertical scale factor ZV is multiplied by 0.96, a new scale factor ZV is set, and pixel ratio compensation is performed.

【0023】その後、指定領域の画素数に拡大縮小率を
乗じ、横方向の読み取り画素数xと、縦方向の読み取り
画素数yを、求める。求めた画素数が表示可能な値、即
ち、xが1920を越していれば、xを1920に制限
し、yが1920を越していれば、yを1035に制限
する。その後、図16の読み取り状態に移行する。この
読み取り状態では、インタフェース16を介してホスト
装置に、横方向の読み取り画素数xと、縦方向の読み取
り画素数yを送信する。次に、インタフェースデータバ
スを画像情報側に切り換える。その後、主走査制御部1
3に主走査方向の読み取り開始位置と読み取りエリアを
セットし、拡大縮小部に横の拡大縮小率ZHをセット
し、縦方向の拡大縮小率ZVをモータ制御部にセットす
る。続いて、螢光灯3を点灯して前処理を行い、読み取
り開始を行う。この読み取り開始により、イメージセン
サは主制御部19が発生するクロックに従い読み取り動
作を実行し、ステッピングモータ19はステッピングク
ロックに従い光学走査手段を移動させる。光学走査手段
が読み取りエリアに達すると主制御部は、副走査領域制
御部15と読み取り開始手段13に、読み取りの開始と
終了タイミング信号を供給して画像データを変換して出
力させる。
Thereafter, the number of pixels in the designated area is multiplied by the enlargement / reduction ratio to obtain the number x of pixels to be read in the horizontal direction and the number y of pixels to be read in the vertical direction. If the obtained number of pixels is a displayable value, that is, x exceeds 1920, x is limited to 1920, and if y exceeds 1920, y is limited to 1035. After that, the processing shifts to the reading state in FIG. In this reading state, the number of horizontal read pixels x and the number of vertical read pixels y are transmitted to the host device via the interface 16. Next, the interface data bus is switched to the image information side. Then, the main scanning control unit 1
3, a reading start position and a reading area in the main scanning direction are set, a horizontal scaling ratio ZH is set in the scaling unit, and a vertical scaling ratio ZV is set in the motor control unit. Subsequently, the fluorescent lamp 3 is turned on to perform preprocessing, and reading is started. Upon the start of the reading, the image sensor performs the reading operation according to the clock generated by the main control unit 19, and the stepping motor 19 moves the optical scanning unit according to the stepping clock. When the optical scanning unit reaches the reading area, the main control unit supplies reading start and end timing signals to the sub-scanning region control unit 15 and the reading start unit 13 to convert and output image data.

【0024】光学走査手段が副走査を終了して、元の位
置に復帰すると、セットデータはリセットされ初期状態
にリセットされる。尚、図4に図示する様に、ハイビジ
ョン画面の主走査方向(横方向)に光学走査手段を移動
させて画像を読み取る場合には、、拡大縮小部に縦の拡
大縮小率ZVをセットし、横方向の拡大縮小率ZHをモ
ータ制御部にセットすればよい。この構成が特許請求の
範囲第2項の発明に対応する。
When the optical scanning means completes the sub-scanning and returns to the original position, the set data is reset and reset to the initial state. As shown in FIG. 4, when an image is read by moving the optical scanning means in the main scanning direction (horizontal direction) of the high-definition screen, a vertical enlargement / reduction ratio ZV is set in the enlargement / reduction unit. What is necessary is just to set the horizontal enlargement / reduction ratio ZH in the motor control unit. This configuration corresponds to the second aspect of the present invention.

【0025】[0025]

【発明の効果】よって、本発明によれば、縮小または拡
大と同時にピクセル比の補償がされる為、効率の良い処
理が実現できる。
As described above, according to the present invention, since the pixel ratio is compensated simultaneously with the reduction or enlargement, efficient processing can be realized.

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

【図1】フラットベッド型スキャナの構成例を示す図で
ある。
FIG. 1 is a diagram illustrating a configuration example of a flatbed scanner.

【図2】本発明の実施例の構成を示すブロック図であ
る。
FIG. 2 is a block diagram showing a configuration of an embodiment of the present invention.

【図3】縦長原稿を読み取る場合の読み取り領域と走査
方向を示す図である。
FIG. 3 is a diagram showing a reading area and a scanning direction when reading a vertically long document.

【図4】横長原稿を読み取る場合の読み取り領域と走査
方向を示す図である。
FIG. 4 is a diagram showing a reading area and a scanning direction when reading a landscape original.

【図5】ハイビジョン表示装置の画面を示す図である。FIG. 5 is a diagram illustrating a screen of a high-definition display device.

【図6】ハイビジョン装置の画像メモリを示す図であ
る。
FIG. 6 is a diagram showing an image memory of the high-vision device.

【図7】NTSC方式やプリンタにおける一つの画素の
縦横比を示す図である。
FIG. 7 is a diagram illustrating an aspect ratio of one pixel in an NTSC system or a printer.

【図8】ハイビジョン表示装置における一つの画素につ
いて、縦を基準とした場合の縦横比を表す図である
FIG. 8 is a diagram illustrating an aspect ratio of one pixel in a high-definition display device on a vertical basis.

【図9】ハイビジョン表示装置における一つの画素につ
いて、横を基準とした場合の縦横比を表す図である
FIG. 9 is a diagram illustrating an aspect ratio of one pixel in a high-definition display device on a horizontal basis.

【図10】受信データと送信データのコマンドを示す説
明図である。
FIG. 10 is an explanatory diagram showing commands for received data and transmitted data.

【図11】受信データの1例を示す図である。FIG. 11 is a diagram illustrating an example of received data.

【図12】図11に対応する送信データを示す図であ
る。
FIG. 12 is a diagram showing transmission data corresponding to FIG. 11;

【図13】受信データの他の例を示す図である。FIG. 13 is a diagram illustrating another example of received data.

【図14】図12に対応する送信データを示す図であ
る。
FIG. 14 is a diagram showing transmission data corresponding to FIG.

【図15】主制御部のフローチャートを示す。FIG. 15 shows a flowchart of a main control unit.

【図16】図15に続く主制御部のフローチャートを示
す。
FIG. 16 shows a flowchart of the main control unit following FIG. 15;

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

9 CCDラインセンサ 12 読み取り部 14 拡大・縮小部 19 主制御部 20 ステッピングモーター 21 モーター制御部 9 CCD line sensor 12 reading unit 14 enlargement / reduction unit 19 main control unit 20 stepping motor 21 motor control unit

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 読み取り指定エリアを主走査方向に走査
する光学走査手段と、該光学走査手段を副走査方向に駆
動するステッピングモータと、該ステッピングモータに
対しステッピングパルスを供給するモータ制御部と、画
像データを主走査方向に拡大または縮小する拡大縮小部
と、指定エリアの画像を出力する長方形ピクセルにて構
成されるモニタとを有する画像読み取り装置に於て、 前記指定エリアの画像を前記モニタの画面で表示する場
合に、前記拡大縮小部に対し、前記モニタの主走査方向
の拡大率または縮小率にピクセル比補償係数を乗ぜしめ
た値をセットする制御部を、設けたことを特徴とする画
像読み取り装置。
An optical scanning unit that scans a designated reading area in a main scanning direction; a stepping motor that drives the optical scanning unit in a sub-scanning direction; a motor control unit that supplies a stepping pulse to the stepping motor; In an image reading apparatus having an enlargement / reduction unit for enlarging or reducing image data in a main scanning direction and a monitor composed of rectangular pixels for outputting an image of a designated area, the image of the designated area is When displaying on a screen, a control unit for setting a value obtained by multiplying an enlargement ratio or a reduction ratio in the main scanning direction of the monitor by a pixel ratio compensation coefficient is provided for the enlargement / reduction unit. Image reading device.
JP5245583A 1993-09-30 1993-09-30 Image reading device Expired - Fee Related JP2989446B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5245583A JP2989446B2 (en) 1993-09-30 1993-09-30 Image reading device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5245583A JP2989446B2 (en) 1993-09-30 1993-09-30 Image reading device

Publications (2)

Publication Number Publication Date
JPH07107270A JPH07107270A (en) 1995-04-21
JP2989446B2 true JP2989446B2 (en) 1999-12-13

Family

ID=17135892

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5245583A Expired - Fee Related JP2989446B2 (en) 1993-09-30 1993-09-30 Image reading device

Country Status (1)

Country Link
JP (1) JP2989446B2 (en)

Also Published As

Publication number Publication date
JPH07107270A (en) 1995-04-21

Similar Documents

Publication Publication Date Title
US7990582B2 (en) Image reading apparatus and image reading method
US5457547A (en) Original image reading apparatus
JP3227191B2 (en) Image reading device
US6490057B1 (en) Image processing apparatus and image processing method, and storage media thereof
US20090103146A1 (en) Image reading apparatus and image reading method
JP2989446B2 (en) Image reading device
JPS63125954A (en) Copying device
JP4895375B2 (en) Image processing system and image processing system control method
US6674920B1 (en) Image processing apparatus
JP2001086287A (en) Image reader
CN1421818A (en) Mass scanning and real-time displaying image scanner and its operation method
JP2547759B2 (en) Image processing device
JP3026579B2 (en) Image reading device
JP2004266543A (en) Image reading apparatus and image reading method
JP2024154808A (en) Image reader
JP2821190B2 (en) Document reading device
JP2575301B2 (en) Image processing device
JPH04119064A (en) Image reading device
JPH01195582A (en) Document reader
JPH04318757A (en) Image reading device
JPH04257979A (en) Color image reading device
JPH11103372A (en) Image reader
JPH04158667A (en) Copy machine
JP2006165993A (en) Image reading device
JPH03291055A (en) Color picture reader

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees