JP2001136348A - Method and device for automatically adjusting image line sensor read start time, recording medium having program for automatically adjusting image line sensor read start time recorded thereon, and recording medium having image data read processing program recorded thereon - Google Patents

Method and device for automatically adjusting image line sensor read start time, recording medium having program for automatically adjusting image line sensor read start time recorded thereon, and recording medium having image data read processing program recorded thereon

Info

Publication number
JP2001136348A
JP2001136348A JP31128599A JP31128599A JP2001136348A JP 2001136348 A JP2001136348 A JP 2001136348A JP 31128599 A JP31128599 A JP 31128599A JP 31128599 A JP31128599 A JP 31128599A JP 2001136348 A JP2001136348 A JP 2001136348A
Authority
JP
Japan
Prior art keywords
image
sensor
line sensor
medium
reading start
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
Application number
JP31128599A
Other languages
Japanese (ja)
Inventor
Shunichi Niitsu
俊一 新津
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.)
NEC Computertechno Ltd
Original Assignee
NEC Computertechno 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 NEC Computertechno Ltd filed Critical NEC Computertechno Ltd
Priority to JP31128599A priority Critical patent/JP2001136348A/en
Publication of JP2001136348A publication Critical patent/JP2001136348A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To efficiently adjust an image line sensor read start time. SOLUTION: In the control part, a carrier roller 5 driven by a carrier motor 10 carries a reference medium, an image sensor drive circuit 8 drives an image line sensor 1 just after an image read start sensor 2 detects the tip of the reference medium, and the output data of the image line sensor are expanded in an image buffer 4 through an image sensor input circuit 9. After that, the black image line number Z is counted from the head line of the image buffer 4 until the tip edge of the reference medium. Subtracting a black image line number Y required to detect the tip edge of the reference medium in image data from the black image line number Z, a line number X is obtained to calculate the image line sensor read start time after the detection of the tip edge of the reference medium, which is stored as a soft parameter.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はイメージデータ読み
込み方法に関し、特にイメージラインセンサ読み込み開
始時期自動調整方法及びイメージラインセンサ読み込み
開始時期自動調整装置及びイメージラインセンサ読み込
み開始時期自動調整プログラムを格納した記録媒体及び
イメージデータ読み込み処理プログラムを格納した記録
媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image data reading method, and more particularly to an image line sensor reading start timing automatic adjustment method, an image line sensor reading start timing automatic adjustment device, and a recording storing an image line sensor reading start timing automatic adjustment program. The present invention relates to a medium and a recording medium storing an image data reading processing program.

【0002】[0002]

【従来の技術】従来、イメージデータ読み取り装置にお
けるイメージラインセンサのイメージ読み取り開始時期
の調整は、調整員がイメージデータを目視で確認し、イ
メージ読み取り開始時期調整用のソフトパラメータを調
整することによって実施していた。
2. Description of the Related Art Conventionally, adjustment of image reading start timing of an image line sensor in an image data reading apparatus is performed by an adjuster visually confirming image data and adjusting software parameters for adjusting image reading start timing. Was.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のイメー
ジデータ読み取り装置におけるイメージラインセンサの
イメージ読み取り開始時期の調整は、調整員がイメージ
データを目視で確認し、イメージラインセンサ読み取り
開始時期調整用のソフトパラメータを調整することによ
って実施していたため、調整時間が非常にかかり、ま
た、正確性に欠くという欠点があった。そのため、短時
間に正確な調整が実施可能な手段が必要とされていた。
The adjustment of the image reading start timing of the image line sensor in the conventional image data reading apparatus described above is performed by an adjuster who visually checks the image data and adjusts the image line sensor reading start timing. Since the adjustment is performed by adjusting the soft parameters, the adjustment time is very long and the accuracy is low. Therefore, means capable of performing accurate adjustment in a short time has been required.

【0004】[0004]

【課題を解決するための手段】本願の第1の発明は、イ
メージラインセンサ読み込み開始時期自動調整方法にお
いて、基準媒体を搬送モータを通して搬送ローラにより
搬送し(ステップ1)、イメージ読み取り開始センサに
より前記基準媒体の先端部分を検知直後(ステップ
2)、イメージラインセンサをイメージセンサ駆動回路
により駆動し(ステップ3)、前記イメージラインセン
サの出力データをイメージセンサ入力回路を通してイメ
ージバッファに展開する(ステップ4)。その後、前記
イメージバッファの先頭ラインから前記基準媒体の先端
エッジまでの黒イメージライン数Zをカウントし(ステ
ップ5)、該黒イメージライン数Zからイメージデータ
上で前記基準媒体の先端エッジを検出するために必要と
なる黒イメージライン数Yを減算したライン数Xを算出
し(前記(ライン数X)×(1ラインのイメージを読み
込む間隔時間))の演算を行うことにより、前記基準媒
体の先端エッジを検出してからのイメージラインセンサ
読み込み開始時期を算出しソフトパラメータとして保存
する(ステップ6)ことを特徴とする。
According to a first aspect of the present invention, in a method for automatically adjusting a reading start timing of an image line sensor, a reference medium is conveyed by a conveying roller through a conveying motor (step 1), and the image reading sensor detects the reference medium. Immediately after detecting the leading end of the reference medium (Step 2), the image line sensor is driven by the image sensor driving circuit (Step 3), and the output data of the image line sensor is developed in the image buffer through the image sensor input circuit (Step 4). ). Thereafter, the number Z of black image lines from the leading line of the image buffer to the leading edge of the reference medium is counted (step 5), and the leading edge of the reference medium is detected on the image data from the number Z of black image lines. The number of lines X, which is obtained by subtracting the number of black image lines Y required for the calculation, is calculated (the (number of lines X) × (interval time for reading an image of one line)) to obtain the leading end of the reference medium. The image line sensor reading start time after the edge is detected is calculated and stored as a soft parameter (step 6).

【0005】本願の第2の発明は、第1の発明におい
て、媒体を前記搬送モータを通して前記搬送ローラによ
り搬送し(ステップ10)、前記イメージ読み取り開始
センサにより前記媒体検知後(ステップ11)、前記ソ
フトパラメータで示された前記Xライン分に相当するイ
メージセンサ読み込み開始時期まで媒体搬送を行った後
に(ステップ12)、前記イメージセンサ駆動回路によ
り前記イメージラインセンサを駆動し(ステップ1
3)、前記イメージラインセンサの出力データを前記イ
メージセンサ入力回路を通して前記イメージバッファに
展開する(ステップ14)ことを特徴とする。
According to a second aspect of the present invention, in the first aspect, the medium is transported by the transport roller through the transport motor (Step 10), and after the medium is detected by the image reading start sensor (Step 11), After the medium has been conveyed until the image sensor reading start time corresponding to the X lines indicated by the soft parameter (step 12), the image line sensor is driven by the image sensor driving circuit (step 1).
3) The output data of the image line sensor is developed in the image buffer through the image sensor input circuit (step 14).

【0006】本願の第3の発明は、イメージラインセン
サ読み込み開始時期自動調整装置において、基準媒体を
搬送モータを通して搬送ローラにより搬送し、イメージ
読み取り開始センサにより前記基準媒体の先端部分を検
知直後イメージラインセンサをイメージセンサ駆動回路
により駆動し、前記イメージラインセンサの出力データ
をイメージセンサ入力回路を通してイメージバッファに
展開し、その後、前記イメージバッファの先頭ラインか
ら前記基準媒体の先端エッジまでの黒イメージライン数
Zをカウントし該黒イメージライン数Zからイメージデ
ータ上で前記基準媒体の先端エッジを検出するために必
要となる黒イメージライン数Yを減算したライン数Xを
算出し(前記(ライン数X)×(1ラインのイメージを
読み込む間隔時間))の演算を行うことにより前記基準
媒体の先端エッジを検出してからのイメージラインセン
サ読み込み開始時期を算出しこの値をソフトパラメータ
として保存する制御手段を備えることを特徴とする。
According to a third aspect of the present invention, there is provided an image line sensor reading start automatic adjustment device, wherein a reference medium is transported by a transport roller through a transport motor, and an image reading start sensor detects the leading end of the reference medium immediately after the image line is detected. A sensor is driven by an image sensor driving circuit, and output data of the image line sensor is developed in an image buffer through an image sensor input circuit, and thereafter, the number of black image lines from a head line of the image buffer to a leading edge of the reference medium is counted. Z is counted, and the number X of lines obtained by subtracting the number Y of black image lines required to detect the leading edge of the reference medium on the image data from the number Z of black image lines is calculated (the (number of lines X)). × (interval time to read one line image By performing the calculation) to calculate the image line sensor reading start timing from the detection of the leading edge of the reference medium, characterized in that it comprises a control means for storing the value as a soft parameter.

【0007】本願の第4の発明は、第3の発明の前記制
御手段は、媒体を前記搬送モータを通して前記搬送ロー
ラにより搬送し前記イメージ読み取り開始センサにより
前記媒体検知後前記ソフトパラメータで示される前記X
ライン分に相当するイメージラインセンサ読み込み開始
時期まで媒体搬送を行った後に前記イメージセンサ駆動
回路により前記イメージラインセンサを駆動し前記イメ
ージラインセンサの出力データを前記イメージセンサ入
力回路を通して前記イメージバッファに展開することを
特徴とする。
According to a fourth aspect of the present invention, in the third aspect, the control means conveys the medium by the conveyance roller through the conveyance motor, and detects the medium by the image reading start sensor and indicates the medium by the soft parameter. X
After the medium is conveyed until the reading start time of the image line sensor corresponding to the line, the image line sensor is driven by the image sensor driving circuit, and the output data of the image line sensor is expanded in the image buffer through the image sensor input circuit. It is characterized by doing.

【0008】本願の第5の発明は、データ処理装置に
て、基準媒体を搬送モータを通して搬送ローラにより搬
送し(ステップ1)、イメージ読み取り開始センサによ
り前記基準媒体の先端部分を検知直後(ステップ2)、
イメージラインセンサをイメージセンサ駆動回路により
駆動し(ステップ3)、前記イメージラインセンサの出
力データをイメージセンサ入力回路を通してイメージバ
ッファに展開する(ステップ4)。その後、前記イメー
ジバッファの先頭ラインから前記基準媒体の先端エッジ
までの黒イメージライン数Zをカウントし(ステップ
5)、該黒イメージライン数Zからイメージデータ上で
前記基準媒体の先端エッジを検出するために必要となる
黒イメージライン数Yを減算したライン数Xを算出し
(前記(ライン数X)×(1ラインのイメージを読み込
む間隔時間))の演算を行うことにより、前記基準媒体
の先端エッジを検出してからのイメージラインセンサ読
み込み開始時期を算出しソフトパラメータとして保存す
る(ステップ6)イメージラインセンサ読み込み開始時
期自動調整プログラムを格納した記録媒体であることを
特徴とする。
According to a fifth aspect of the present invention, in a data processing apparatus, a reference medium is transported by a transport roller through a transport motor (step 1), and immediately after the leading end of the reference medium is detected by an image reading start sensor (step 2). ),
The image line sensor is driven by the image sensor driving circuit (step 3), and the output data of the image line sensor is developed in the image buffer through the image sensor input circuit (step 4). Thereafter, the number Z of black image lines from the leading line of the image buffer to the leading edge of the reference medium is counted (step 5), and the leading edge of the reference medium is detected on the image data from the number Z of black image lines. The number of lines X, which is obtained by subtracting the number of black image lines Y required for the calculation, is calculated (the (number of lines X) × (interval time for reading an image of one line)) to obtain the leading end of the reference medium. The image line sensor reading start time after the edge is detected is calculated and stored as a software parameter (step 6). The recording medium stores an image line sensor reading start time automatic adjustment program.

【0009】本願の第6の発明は、データ処理装置に
て、媒体を前記搬送モータを通して搬送ローラにより搬
送し(ステップ10)、イメージ読み取り開始センサに
より前記媒体検知後(ステップ11)、ソフトパラメー
タにより予め指定されたイメージラインセンサ読み込み
開始時期まで媒体搬送を行った後に(ステップ12)、
イメージセンサ駆動回路によりイメージラインセンサを
駆動し(ステップ13)、前記イメージラインセンサの
出力データをイメージセンサ入力回路を通してイメージ
バッファに展開する(ステップ14)イメージデータ読
み込み処理プログラムを格納した記録媒体であることを
特徴とする。
According to a sixth aspect of the present invention, in a data processing apparatus, a medium is transported by a transport roller through the transport motor (step 10), and after the medium is detected by an image reading start sensor (step 11), the medium is controlled by software parameters. After the medium has been transported until the reading start time of the image line sensor specified in advance (step 12),
A recording medium storing an image data reading processing program, in which an image line sensor is driven by an image sensor driving circuit (step 13), and output data of the image line sensor is developed in an image buffer through an image sensor input circuit (step 14). It is characterized by the following.

【0010】[作用]図1を参照すると、イメージライ
ンセンサ1によるイメージデータ読み取り時、イメージ
バッファ4の容量が限られているため、イメージ読み取
り開始センサ2とイメージラインセンサ1との物理的位
置関係から、イメージデータの認識に必要無い、無駄な
イメージデータを読み取らないように、イメージの読み
取り開始時期を事前に調整する必要がある。従来は、イ
メージ読み取り開始時期は、イメージデータを調整員が
目視で確認し、ソフトパラメータを調整していたが、本
発明では、イメージ読み取り開始時期を、調整用に読み
込んだイメージデータから自動的に算出するため、調整
工数の削減、及び調整時間の短縮が可能となる。
[Operation] Referring to FIG. 1, when image data is read by the image line sensor 1, since the capacity of the image buffer 4 is limited, the physical positional relationship between the image reading start sensor 2 and the image line sensor 1 is determined. Therefore, it is necessary to adjust the image reading start timing in advance so that unnecessary image data that is not necessary for image data recognition is not read. In the past, the image reading start time was adjusted by the coordinator by visually checking the image data and adjusting the soft parameters.In the present invention, the image reading start time is automatically determined from the image data read for adjustment. Since the calculation is performed, the adjustment man-hour and the adjustment time can be reduced.

【0011】[0011]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して詳細に説明する。
Next, embodiments of the present invention will be described in detail with reference to the drawings.

【0012】図1は、本発明におけるイメージ読み取り
機構の装置図、図2は、本発明のイメージラインセンサ
読み込み開始時期自動調整装置の一実施の形態を示すブ
ロック図である。
FIG. 1 is a device diagram of an image reading mechanism according to the present invention, and FIG. 2 is a block diagram showing one embodiment of an image line sensor reading start automatic adjusting device according to the present invention.

【0013】図1を参照すると、本発明におけるイメー
ジ読み取り機構は、基準媒体3のイメージを読み取るた
めのイメージラインセンサ1と、イメージの読み取りを
開始するトリガであるイメージ読み取り開始センサ2
と、イメージラインセンサ1により読み取ったイメージ
データを保存するイメージバッファ4と、イメージを読
み取るために基準媒体3を搬送するための搬送ローラ5
と6とを備えている。
Referring to FIG. 1, an image reading mechanism according to the present invention includes an image line sensor 1 for reading an image on a reference medium 3 and an image reading start sensor 2 which is a trigger for starting image reading.
An image buffer 4 for storing image data read by the image line sensor 1, and a transport roller 5 for transporting the reference medium 3 for reading the image.
And 6.

【0014】次に図2を参照すると、本発明のイメージ
ラインセンサ読み込み開始時期自動調整装置は、イメー
ジラインセンサ1を駆動するイメージセンサ駆動回路8
と、イメージラインセンサ1からの出力データをイメー
ジバッファ4に展開するイメージセンサ入力回路9と、
イメージ読み取り開始センサ2の入力をトリガとし、イ
メージセンサ駆動回路8を駆動し、また、イメージバッ
ファ4のイメージデータを解析する制御部7とを備えて
いる。
Referring now to FIG. 2, the image line sensor reading start timing automatic adjustment device of the present invention comprises an image sensor driving circuit 8 for driving the image line sensor 1.
An image sensor input circuit 9 for developing output data from the image line sensor 1 in the image buffer 4,
A control unit 7 drives an image sensor drive circuit 8 by using an input of the image reading start sensor 2 as a trigger, and analyzes image data in the image buffer 4.

【0015】次に、本発明の実施の形態の動作について
図2〜図5を参照して説明する。
Next, the operation of the embodiment of the present invention will be described with reference to FIGS.

【0016】なお、図3は、本発明の動作説明図、図4
は、本発明の制御部7におけるイメージラインセンサ読
み取り開始時期自動調整時の処理フローチャートであ
り、図5はイメージラインセンサ読み取り開始時期自動
調整後の通常運用時の制御部7における処理フローチャ
ートである。
FIG. 3 is a diagram for explaining the operation of the present invention, and FIG.
FIG. 5 is a processing flowchart at the time of automatic adjustment of the image line sensor reading start timing in the control unit 7 of the present invention, and FIG. 5 is a processing flowchart of the control unit 7 during normal operation after the automatic adjustment of the image line sensor reading start time.

【0017】図4を参照すると、まず、イメージライン
センサ読み取り開始時期調整用の基準媒体3を制御部7
から搬送モータ10を通して搬送ローラ5、6により搬
送し(ステップ1)、イメージ読み取り開始センサ2に
より媒体先端部分を検知直後(ステップ2)、イメージ
ラインセンサ1をイメージセンサ駆動回路8により駆動
し(ステップ3)、イメージラインセンサ1の出力デー
タをイメージセンサ入力回路9を通して、イメージバッ
ファ4に展開する(ステップ4)。その後、図3におけ
るイメージバッファ4の先頭ラインから媒体の先端エッ
ジまでの黒イメージライン数Zをカウントし(ステップ
5)、黒イメージライン数Zからイメージデータ上で媒
体の先端エッジを検出するために必要となる黒イメージ
ライン数Yを減算したライン数Xを算出し、更に(ライ
ン数X)×(1ラインのイメージを読み込む間隔時間)
の演算を行うことにより、媒体の先端エッジを検出して
からのイメージラインセンサ読み込み開始時期を算出
し、ソフトパラメータとして保存する(ステップ6)。
なお、イメージデータ上で媒体の先端エッジを検出する
ために必要となる黒イメージライン数Yとは、搬送中の
媒体先端部分のばたつき等により発生するイメージデー
タの乱れを無視するために必要となるライン数である。
Referring to FIG. 4, first, the reference medium 3 for adjusting the image line sensor reading start timing is supplied to the control unit 7.
Are transported by the transport rollers 5 and 6 through the transport motor 10 (step 1). Immediately after the leading edge of the medium is detected by the image reading start sensor 2 (step 2), the image line sensor 1 is driven by the image sensor drive circuit 8 (step 1). 3) The output data of the image line sensor 1 is developed in the image buffer 4 through the image sensor input circuit 9 (step 4). Thereafter, the number Z of black image lines from the leading line of the image buffer 4 to the leading edge of the medium in FIG. 3 is counted (step 5), and the leading edge of the medium is detected on the image data from the number Z of black image lines. The number of lines X is calculated by subtracting the number of necessary black image lines Y, and then (the number of lines X) × (interval time for reading an image of one line)
By performing the above calculation, the image line sensor reading start timing after detecting the leading edge of the medium is calculated and stored as a soft parameter (step 6).
The number Y of black image lines required to detect the leading edge of the medium on the image data is necessary to ignore the disturbance of the image data caused by the flutter of the leading edge of the medium during conveyance. Number of lines.

【0018】次に、図5を参照すると、本調整後の通常
運用時は、媒体を搬送モータ10を通して搬送ローラ
5、6により搬送し(ステップ10)、イメージ読み取
り開始センサ2により媒体検知後(ステップ11)、ソ
フトパラメータで示されたXライン分に相当するイメー
ジラインセンサ読み込み開始時期まで媒体搬送を行った
後に(ステップ12)、イメージセンサ駆動回路8によ
りイメージラインセンサ1を駆動し(ステップ13)、
イメージラインセンサ1の出力データをイメージセンサ
入力回路9を通してイメージバッファ4に展開し(ステ
ップ14)、これによりイメージデータの解析を行う
(ステップ14)。
Next, referring to FIG. 5, during normal operation after the adjustment, the medium is transported by the transport rollers 5 and 6 through the transport motor 10 (step 10), and after the medium is detected by the image reading start sensor 2 (step 10). Step 11) After the medium has been conveyed until the image line sensor reading start time corresponding to the X lines indicated by the soft parameters (Step 12), the image line sensor 1 is driven by the image sensor driving circuit 8 (Step 13). ),
The output data of the image line sensor 1 is developed in the image buffer 4 through the image sensor input circuit 9 (step 14), and the image data is analyzed (step 14).

【0019】このように、ライン数Xを認識することに
より、不要な先端部分のイメージデータを読み込むこと
がなくなり、また、認識時間も短縮される。
As described above, by recognizing the number of lines X, unnecessary image data of the leading end portion is not read, and the recognition time is shortened.

【0020】また、構成要素のイメージラインセンサ
は、イメージバッファ上にイメージデータのライン数が
算出可能な形式でイメージデータが出力されるのであれ
ばラインセンサに限らない。
The image line sensor as a constituent element is not limited to the line sensor as long as the image data is output to the image buffer in a format in which the number of lines of the image data can be calculated.

【0021】次に、図6に示す通り、イメージ読み取り
開始センサが、イメージ読み取り開始センサA11、イ
メージ読み取り開始センサB12のように、イメージラ
インセンサ1の前後に装着されている場合でも、搬送読
み取り方向により、それぞれのイメージ読み取り開始セ
ンサ毎のイメージラインセンサ読み取り開始時期用ソフ
トパラメータを持つことになるので、それぞれのイメー
ジ読み取り開始センサ毎に、本発明のイメージラインセ
ンサ読み込み開始時期自動調整方法を適用することによ
り、更なる調整工数の削減、及び調整時間の短縮が可能
となる。
Next, as shown in FIG. 6, even when the image reading start sensor is mounted before and after the image line sensor 1 like the image reading start sensor A11 and the image reading start sensor B12, the conveyance reading direction is not changed. As a result, the image line sensor reading start timing has a soft parameter for each image reading start sensor, so that the image line sensor reading start timing automatic adjustment method of the present invention is applied to each image reading start sensor. This makes it possible to further reduce the number of adjustment steps and the adjustment time.

【0022】次に、本発明の第2の実施の形態について
図面を参照して詳細に説明する。
Next, a second embodiment of the present invention will be described in detail with reference to the drawings.

【0023】図7を参照すると、本発明の第2の実施の
形態は、イメージラインセンサ読み込み開始時期自動調
整プログラムを記録した記録媒体14を備える。この記
録媒体10は、磁気ディスク、半導体メモリその他の記
録媒体であって良い。
Referring to FIG. 7, the second embodiment of the present invention includes a recording medium 14 recording an image line sensor reading start automatic adjustment program. This recording medium 10 may be a magnetic disk, a semiconductor memory, or another recording medium.

【0024】イメージラインセンサ読み込み開始時期自
動調整プログラムは、記録媒体14からデータ処理装置
13に読み込まれ、データ処理装置13の動作を制御す
る。データ処理装置13は、イメージラインセンサ読み
込み開始時期自動調整プログラムの制御により以下の処
理を実行する。
The image line sensor read start automatic adjustment program is read from the recording medium 14 by the data processing device 13 and controls the operation of the data processing device 13. The data processing device 13 executes the following processing under the control of the image line sensor reading start timing automatic adjustment program.

【0025】イメージラインセンサ読み取り開始時期調
整用の基準媒体3を制御部7から搬送モータ10を通し
て搬送ローラ5、6により搬送し(ステップ1)、イメ
ージ読み取り開始センサ2により媒体先端部分を検知直
後(ステップ2)、イメージラインセンサ1をイメージ
センサ駆動回路8により駆動し(ステップ3)、イメー
ジラインセンサ1の出力データをイメージセンサ入力回
路9を通して、イメージバッファ4に展開する(ステッ
プ4)。その後、イメージバッファ4の先頭ラインから
媒体の先端エッジまでの黒イメージライン数Zをカウン
トし(ステップ5)、黒イメージライン数Zからイメー
ジデータ上で媒体の先端エッジを検出するために必要と
なる黒イメージライン数Yを減算したライン数Xを算出
し、更に(ライン数X)×(1ラインのイメージを読み
込む間隔時間)の演算を行うことにより、媒体の先端エ
ッジを検出してからのイメージラインセンサ読み込み開
始時期を算出し、ソフトパラメータとして保存する(ス
テップ6)。
The reference medium 3 for adjusting the reading start timing of the image line sensor is transported by the transport rollers 5 and 6 from the control unit 7 through the transport motor 10 (step 1), and immediately after the leading edge of the medium is detected by the image reading start sensor 2 (step 1). Step 2) The image line sensor 1 is driven by the image sensor driving circuit 8 (Step 3), and the output data of the image line sensor 1 is developed into the image buffer 4 through the image sensor input circuit 9 (Step 4). Thereafter, the number Z of black image lines from the leading line of the image buffer 4 to the leading edge of the medium is counted (step 5), and it is necessary to detect the leading edge of the medium on the image data from the number Z of black image lines. The number of lines X obtained by subtracting the number Y of black image lines is calculated, and furthermore, the operation of (number of lines X) × (interval time for reading one line of image) is performed to obtain the image after the leading edge of the medium is detected. The line sensor reading start time is calculated and stored as a software parameter (step 6).

【0026】次に、本発明の第3の実施の形態について
図面を参照して詳細に説明する。
Next, a third embodiment of the present invention will be described in detail with reference to the drawings.

【0027】図7を参照すると、本発明の第3の実施の
形態は、イメージデータ読み込み処理プログラムを記録
した記録媒体14を備える。この記録媒体14は、磁気
ディスク、半導体メモリその他の記録媒体であって良
い。
Referring to FIG. 7, the third embodiment of the present invention includes a recording medium 14 on which an image data reading processing program is recorded. The recording medium 14 may be a magnetic disk, a semiconductor memory, or another recording medium.

【0028】イメージデータ読み込み処理プログラム
は、記録媒体14からデータ処理装置13に読み込ま
れ、データ処理装置13の動作を制御する。データ処理
装置13は、イメージデータ読み込み処理プログラムの
制御により以下の処理を実行する。
The image data reading processing program is read from the recording medium 14 into the data processing device 13 and controls the operation of the data processing device 13. The data processing device 13 executes the following processing under the control of the image data reading processing program.

【0029】媒体を搬送モータ10を通して搬送ローラ
5、6により搬送し(ステップ10)、イメージ読み取
り開始センサ2により媒体検知後(ステップ11)、予
めソフトパラメータで指定されたXライン分に相当する
イメージラインセンサ読み込み開始時期まで媒体搬送を
行った後に(ステップ12)、イメージセンサ駆動回路
8によりイメージラインセンサ1を駆動し(ステップ1
3)、イメージラインセンサ1の出力データをイメージ
センサ入力回路9を通してイメージバッファ4に展開す
る(ステップ14)。
The medium is transported by the transport rollers 5 and 6 through the transport motor 10 (step 10). After the medium is detected by the image reading start sensor 2 (step 11), an image corresponding to X lines specified in advance by software parameters is obtained. After the medium is conveyed until the line sensor reading start time (step 12), the image line sensor 1 is driven by the image sensor driving circuit 8 (step 1).
3) The output data of the image line sensor 1 is developed in the image buffer 4 through the image sensor input circuit 9 (step 14).

【0030】[0030]

【発明の効果】以上説明したように、本発明のイメージ
ラインセンサ読み込み開始時期自動調整方法を用いるこ
とにより、イメージラインセンサのイメージ読み取り開
始時期を、調整用に読み込んだイメージデータから自動
的に算出し、保存するため、調整工数の削減、及び調整
時間の短縮が可能となる効果がある。
As described above, the image line sensor read start timing is automatically calculated from the image data read for adjustment by using the image line sensor read start automatic adjustment method of the present invention. In addition, since the data is stored, it is possible to reduce the number of adjustment steps and the adjustment time.

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

【図1】イメージ読み取り機構の構成例を示す図であ
る。
FIG. 1 is a diagram illustrating a configuration example of an image reading mechanism.

【図2】本発明のイメージラインセンサ読み込み開始時
期自動調整装置の一実施の形態を示すブロック図であ
る。
FIG. 2 is a block diagram showing an embodiment of an image line sensor reading start automatic adjustment device according to the present invention.

【図3】本発明の動作説明図である。FIG. 3 is an operation explanatory diagram of the present invention.

【図4】本発明の制御部7におけるイメージラインセン
サ読み取り開始時期自動調整時のフローチャートであ
る。
FIG. 4 is a flowchart at the time of automatic adjustment of the image line sensor reading start timing in the control unit 7 of the present invention.

【図5】本発明の制御部7におけるイメージラインセン
サ読み取り開始時期自動調整後の通常運用時の処理フロ
ーチャートである。
FIG. 5 is a processing flowchart during normal operation after automatic adjustment of the image line sensor reading start timing in the control unit 7 of the present invention.

【図6】イメージ読み取り機構の他の構成例を示す図で
ある。
FIG. 6 is a diagram illustrating another configuration example of the image reading mechanism.

【図7】本発明の第2及び第3の実施の形態を示すブロ
ック図である。
FIG. 7 is a block diagram showing second and third embodiments of the present invention.

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

1 イメージラインセンサ 2 イメージ読み取り開始センサ 3 基準媒体 4 イメージバッファ 5 搬送ローラ 6 搬送ローラ 7 制御部 8 イメージセンサ駆動回路 9 イメージセンサ入力回路 10 搬送モータ 11 イメージ読み取り開始センサA 12 イメージ読み取り開始センサB 13 データ処理装置 14 記録媒体 REFERENCE SIGNS LIST 1 image line sensor 2 image reading start sensor 3 reference medium 4 image buffer 5 transport roller 6 transport roller 7 control unit 8 image sensor drive circuit 9 image sensor input circuit 10 transport motor 11 image reading start sensor A 12 image reading start sensor B 13 Data processing device 14 Recording medium

───────────────────────────────────────────────────── フロントページの続き (54)【発明の名称】 イメージラインセンサ読み込み開始時期自動調整方法及びイメージラインセンサ読み込み開始時 期自動調整装置及びイメージラインセンサ読み込み開始時期自動調整プログラムを格納した記録 媒体及びイメージデータ読み込み処理プログラムを格納した記録媒体 ──────────────────────────────────────────────────続 き Continuation of the front page (54) [Title of Invention] Automatic adjustment method of image line sensor reading start time, automatic adjustment device for image line sensor reading start time, and recording medium storing image line sensor reading start automatic adjustment program Recording medium storing image data reading processing program

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 イメージラインセンサ読み込み開始時期
自動調整方法において、基準媒体を搬送モータを通して
搬送ローラにより搬送し(ステップ1)、イメージ読み
取り開始センサにより前記基準媒体の先端部分を検知直
後(ステップ2)、イメージラインセンサをイメージセ
ンサ駆動回路により駆動し(ステップ3)、前記イメー
ジラインセンサの出力データをイメージセンサ入力回路
を通してイメージバッファに展開する(ステップ4)。
その後、前記イメージバッファの先頭ラインから前記基
準媒体の先端エッジまでの黒イメージライン数Zをカウ
ントし(ステップ5)、該黒イメージライン数Zからイ
メージデータ上で前記基準媒体の先端エッジを検出する
ために必要となる黒イメージライン数Yを減算したライ
ン数Xを算出し(前記(ライン数X)×(1ラインのイ
メージを読み込む間隔時間))の演算を行うことによ
り、前記基準媒体の先端エッジを検出してからのイメー
ジラインセンサ読み込み開始時期を算出しソフトパラメ
ータとして保存する(ステップ6)ことを特徴とするイ
メージラインセンサ読み込み開始時期自動調整方法。
In the method for automatically adjusting the reading start timing of an image line sensor, a reference medium is transported by a transport roller through a transport motor (step 1), and immediately after the leading edge of the reference medium is detected by an image reading start sensor (step 2). Then, the image line sensor is driven by the image sensor driving circuit (step 3), and the output data of the image line sensor is developed in the image buffer through the image sensor input circuit (step 4).
Thereafter, the number Z of black image lines from the leading line of the image buffer to the leading edge of the reference medium is counted (step 5), and the leading edge of the reference medium is detected on the image data from the number Z of black image lines. The number of lines X, which is obtained by subtracting the number of black image lines Y required for the calculation, is calculated (the (number of lines X) × (interval time for reading an image of one line)) to obtain the leading end of the reference medium. A method for automatically adjusting the image line sensor reading start time, comprising calculating an image line sensor reading start time after detecting an edge and storing the calculated time as a software parameter (step 6).
【請求項2】 媒体を前記搬送モータを通して前記搬送
ローラにより搬送し(ステップ10)、前記イメージ読
み取り開始センサにより前記媒体検知後(ステップ1
1)、前記ソフトパラメータで示された前記Xライン分
に相当するイメージセンサ読み込み開始時期まで媒体搬
送を行った後に(ステップ12)、前記イメージセンサ
駆動回路により前記イメージラインセンサを駆動し(ス
テップ13)、前記イメージラインセンサの出力データ
を前記イメージセンサ入力回路を通して前記イメージバ
ッファに展開する(ステップ14)ことを特徴とする請
求項1記載のイメージラインセンサ読み込み開始時期自
動調整方法。
2. The medium is transported by the transport roller through the transport motor (Step 10), and after the medium is detected by the image reading start sensor (Step 1).
1) After the medium has been conveyed until the image sensor reading start time corresponding to the X lines indicated by the soft parameters (step 12), the image line sensor is driven by the image sensor driving circuit (step 13). 2. The method according to claim 1, wherein the output data of the image line sensor is developed in the image buffer through the image sensor input circuit (step 14).
【請求項3】 イメージラインセンサ読み込み開始時期
自動調整装置において、基準媒体を搬送モータを通して
搬送ローラにより搬送し、イメージ読み取り開始センサ
により前記基準媒体の先端部分を検知直後イメージライ
ンセンサをイメージセンサ駆動回路により駆動し、前記
イメージラインセンサの出力データをイメージセンサ入
力回路を通してイメージバッファに展開し、その後、前
記イメージバッファの先頭ラインから前記基準媒体の先
端エッジまでの黒イメージライン数Zをカウントし該黒
イメージライン数Zからイメージデータ上で前記基準媒
体の先端エッジを検出するために必要となる黒イメージ
ライン数Yを減算したライン数Xを算出し(前記(ライ
ン数X)×(1ラインのイメージを読み込む間隔時
間))の演算を行うことにより前記基準媒体の先端エッ
ジを検出してからのイメージラインセンサ読み込み開始
時期を算出しこの値をソフトパラメータとして保存する
制御手段を備えることを特徴とするイメージラインセン
サ読み込み開始時期自動調整装置。
3. An image line sensor reading start automatic adjustment device, wherein a reference medium is transported by a transport roller through a transport motor, and the image line sensor is driven by an image sensor drive circuit immediately after the image reading start sensor detects the leading end of the reference medium. And outputs the output data of the image line sensor to an image buffer through an image sensor input circuit. Thereafter, the number Z of black image lines from the leading line of the image buffer to the leading edge of the reference medium is counted, and The number of lines X is calculated by subtracting the number of black image lines Y required to detect the leading edge of the reference medium from the image data from the number of image lines Z (the (number of lines X) × (image of one line) To calculate the interval time) Image line sensor reading start timing automatic adjusting device, characterized in that it comprises a control means for storing and calculating the image line sensor reading start timing from the detection of the more leading edge of the reference medium this value as a soft parameter.
【請求項4】 前記制御手段は、媒体を前記搬送モータ
を通して前記搬送ローラにより搬送し前記イメージ読み
取り開始センサにより前記媒体検知後前記ソフトパラメ
ータで示される前記Xライン分に相当するイメージライ
ンセンサ読み込み開始時期まで媒体搬送を行った後に前
記イメージセンサ駆動回路により前記イメージラインセ
ンサを駆動し前記イメージラインセンサの出力データを
前記イメージセンサ入力回路を通して前記イメージバッ
ファに展開することを特徴とする請求項3記載のイメー
ジラインセンサ読み込み開始時期自動調整装置。
4. The image forming apparatus according to claim 1, wherein the control unit conveys the medium by the conveyance roller through the conveyance motor, and starts reading an image line sensor corresponding to the X line indicated by the soft parameter after detecting the medium by the image reading start sensor. 4. The image sensor according to claim 3, wherein the image sensor is driven by the image sensor driving circuit, and output data of the image line sensor is developed in the image buffer through the image sensor input circuit after the medium is conveyed until the time. Automatic adjustment device for image line sensor reading start time.
【請求項5】 データ処理装置にて、基準媒体を搬送モ
ータを通して搬送ローラにより搬送し(ステップ1)、
イメージ読み取り開始センサにより前記基準媒体の先端
部分を検知直後(ステップ2)、イメージラインセンサ
をイメージセンサ駆動回路により駆動し(ステップ
3)、前記イメージラインセンサの出力データをイメー
ジセンサ入力回路を通してイメージバッファに展開する
(ステップ4)。その後、前記イメージバッファの先頭
ラインから前記基準媒体の先端エッジまでの黒イメージ
ライン数Zをカウントし(ステップ5)、該黒イメージ
ライン数Zからイメージデータ上で前記基準媒体の先端
エッジを検出するために必要となる黒イメージライン数
Yを減算したライン数Xを算出し(前記(ライン数X)
×(1ラインのイメージを読み込む間隔時間))の演算
を行うことにより、前記基準媒体の先端エッジを検出し
てからのイメージラインセンサ読み込み開始時期を算出
しソフトパラメータとして保存する(ステップ6)イメ
ージラインセンサ読み込み開始時期自動調整プログラム
を格納した記録媒体。
5. A data processing device in which a reference medium is transported by a transport roller through a transport motor (step 1).
Immediately after the leading edge of the reference medium is detected by the image reading start sensor (step 2), the image line sensor is driven by the image sensor driving circuit (step 3), and the output data of the image line sensor is transferred to the image buffer through the image sensor input circuit. (Step 4). Thereafter, the number Z of black image lines from the leading line of the image buffer to the leading edge of the reference medium is counted (step 5), and the leading edge of the reference medium is detected on the image data from the number Z of black image lines. The number of lines X is calculated by subtracting the number of black image lines Y required for the calculation (the above (number of lines X)
X (interval time for reading one line of image)) to calculate the image line sensor reading start time after detecting the leading edge of the reference medium and store it as a software parameter (step 6). A recording medium storing a line sensor reading start time automatic adjustment program.
【請求項6】 データ処理装置にて、媒体を前記搬送モ
ータを通して搬送ローラにより搬送し(ステップ1
0)、イメージ読み取り開始センサにより前記媒体検知
後(ステップ11)、ソフトパラメータにより予め指定
されたイメージラインセンサ読み込み開始時期まで媒体
搬送を行った後に(ステップ12)、イメージセンサ駆
動回路によりイメージラインセンサを駆動し(ステップ
13)、前記イメージラインセンサの出力データをイメ
ージセンサ入力回路を通してイメージバッファに展開す
る(ステップ14)イメージデータ読み込み処理プログ
ラムを格納した記録媒体。
6. A medium is transported by a transport roller through the transport motor in the data processing device (step 1).
0), after the medium is detected by the image reading start sensor (step 11), after the medium is conveyed until the image line sensor reading start time specified in advance by the software parameter (step 12), the image line sensor is driven by the image sensor driving circuit. (Step 13), and develops the output data of the image line sensor into an image buffer through an image sensor input circuit (Step 14). A recording medium storing an image data reading processing program.
JP31128599A 1999-11-01 1999-11-01 Method and device for automatically adjusting image line sensor read start time, recording medium having program for automatically adjusting image line sensor read start time recorded thereon, and recording medium having image data read processing program recorded thereon Pending JP2001136348A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31128599A JP2001136348A (en) 1999-11-01 1999-11-01 Method and device for automatically adjusting image line sensor read start time, recording medium having program for automatically adjusting image line sensor read start time recorded thereon, and recording medium having image data read processing program recorded thereon

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31128599A JP2001136348A (en) 1999-11-01 1999-11-01 Method and device for automatically adjusting image line sensor read start time, recording medium having program for automatically adjusting image line sensor read start time recorded thereon, and recording medium having image data read processing program recorded thereon

Publications (1)

Publication Number Publication Date
JP2001136348A true JP2001136348A (en) 2001-05-18

Family

ID=18015306

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31128599A Pending JP2001136348A (en) 1999-11-01 1999-11-01 Method and device for automatically adjusting image line sensor read start time, recording medium having program for automatically adjusting image line sensor read start time recorded thereon, and recording medium having image data read processing program recorded thereon

Country Status (1)

Country Link
JP (1) JP2001136348A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007501565A (en) * 2003-08-04 2007-01-25 イーストマン コダック カンパニー Scan irregular documents

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007501565A (en) * 2003-08-04 2007-01-25 イーストマン コダック カンパニー Scan irregular documents

Similar Documents

Publication Publication Date Title
JP2001136348A (en) Method and device for automatically adjusting image line sensor read start time, recording medium having program for automatically adjusting image line sensor read start time recorded thereon, and recording medium having image data read processing program recorded thereon
JP3860026B2 (en) Image reading apparatus, image reading method, program, and storage medium
JP2979978B2 (en) Position information determining method in photo printing apparatus and photo printing apparatus
JP2725583B2 (en) Optical reader
JP2852854B2 (en) Card reader device
JPS6197656A (en) Paper cutting system
JP2741567B2 (en) Read data judgment method
JPH05128415A (en) Automatic compensation method of encode position
JPH03216065A (en) Original reader
JP3245902B2 (en) Redundant bit setting device for magnetic ticket
JP3270855B2 (en) Media position control device
JPH03120065A (en) Printer
JP2806492B2 (en) Data writing device for magnetic card
JP2761914B2 (en) Information recording / reproducing device
JPH0543083A (en) Document carrying control method for image reader
JP3429893B2 (en) Magnetic recording media processing equipment for automatic ticket gates
JPH11295821A (en) Device and method for feeding film
JP2002232647A (en) Image reader, base density setting method and control program
JP2000067175A (en) Ticket processor and control method therefor
JPH06290289A (en) Card reader
JP2000285199A (en) Method and device for reading medium
JPH02228877A (en) Facsimile equipment
JP2002068458A (en) Board carrying device and board carrying method
JPS62278078A (en) Recorder
JPH06301909A (en) Magnetic information recording method

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20030107