JP2000165820A - Image recording and reproducing method and device - Google Patents

Image recording and reproducing method and device

Info

Publication number
JP2000165820A
JP2000165820A JP10335183A JP33518398A JP2000165820A JP 2000165820 A JP2000165820 A JP 2000165820A JP 10335183 A JP10335183 A JP 10335183A JP 33518398 A JP33518398 A JP 33518398A JP 2000165820 A JP2000165820 A JP 2000165820A
Authority
JP
Japan
Prior art keywords
image
ring buffer
traveling
image recording
written
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
JP10335183A
Other languages
Japanese (ja)
Inventor
Yoshito Abe
淑人 阿部
Hiroshi Sato
博 佐藤
Hideto Sakata
英人 坂田
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.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing 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 Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP10335183A priority Critical patent/JP2000165820A/en
Publication of JP2000165820A publication Critical patent/JP2000165820A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To confirm a picture of a mobile object having already passed over without the need for photographing again on the occurrence of a defective picture. SOLUTION: A ring buffer 3 can write/read optionally endlessly an image signal obtained by continuously photographing a mobile object. A main memory 42 acts like an image storage section that reads and stores an image signal once written in the ring buffer. Furthermore, a timing/controller 22 controls the write/read of the ring buffer 3. Since an image of the mobile object having already passed over is stored in the ring buffer 3, the main memory 42 or an HDD 27, the image can be confirmed without the need for photographing the object again.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、印刷中の印刷物な
どの走行物体を検査し、欠陥画像のデジタル画像記録再
生を行う画像記録再生方法及び装置に係り、特に、欠陥
画像が発生した場合などに、既に行き過ぎた走行物体の
画像を、改めて撮像することなく確認することができる
画像記録再生方法及び装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image recording / reproducing method and apparatus for inspecting a running object such as a printed matter during printing and recording / reproducing a digital image of a defective image, and particularly when a defective image is generated. In addition, the present invention relates to an image recording / reproducing method and apparatus capable of confirming an image of a traveling object that has already gone too far without taking another image.

【0002】[0002]

【従来の技術】図1において、符号G1〜G4は、この
順に、印刷中の印刷物などの走行物体の外観を撮像して
得た、それぞれ1フレームの画像を示す。即ち、現在得
られた信号がW4であるものとし、又、該信号W4によ
る画像をG4とする。又、得られた信号がW4、W3、
W2、W1という順に、新しい画像から古い画像になる
ものとし、これら信号による画像をそれぞれ順にG4、
G3、G2、G1とする。
2. Description of the Related Art In FIG. 1, reference numerals G1 to G4 denote, in this order, one-frame images obtained by imaging the appearance of a running object such as a printed matter being printed. That is, the currently obtained signal is assumed to be W4, and the image based on the signal W4 is assumed to be G4. Also, the obtained signals are W4, W3,
It is assumed that a new image becomes an old image in the order of W2 and W1.
G3, G2, and G1.

【0003】従来は、現在得られた画像の信号そのもの
は保存できたが、それ以前の画像は保存されていない。
例えば図1においては、現在の画像G4は参照できて
も、過去の画像G3〜G1は参照することができない。
Conventionally, a signal of an image obtained at present can be stored, but an image before that is not stored.
For example, in FIG. 1, the current image G4 can be referred to, but the past images G3 to G1 cannot be referred to.

【0004】従って、例えば印刷物を検査する場合、現
在得られた画像に印刷不良が見出された場合、該欠陥画
像そのものは保存できるが、それ以前の画像が保存され
ていない。このため、該印刷不良が過去から連続発生し
ているものか確認することができない。
[0004] Therefore, for example, when inspecting a printed matter, if a printing defect is found in a currently obtained image, the defective image itself can be stored, but the previous image is not stored. For this reason, it is not possible to confirm whether the printing failure has occurred continuously from the past.

【0005】例えば図1の画像G4において、符号A3
の印刷物の汚れが見出されたとする。この場合でも従来
では過去の画像G3〜G1を確認できないため、既に画
像G3やG2においても、符号A2やA1の汚れが生じ
ていることを確認することが出来なかった。
For example, in an image G4 of FIG.
It is assumed that stains on the printed matter are found. Even in this case, since the past images G3 to G1 cannot be confirmed conventionally, it was not possible to confirm that the stains of the codes A2 and A1 have already occurred in the images G3 and G2.

【0006】[0006]

【発明が解決しようとする課題】このため、図2のよう
に、走行物体1を撮像しているカメラC1の下流に、距
離Lだけ離れてカメラC2を設置することも考えられ
る。このようにすると、距離Lの走行による時間差を利
用して、該時間差分だけ過去の画像を得ることができ、
既に行き過ぎた走行物体1の画像を改めて撮像すること
ができる。しかしながら、カメラC2という余分な設備
が必要となる。又、必要な時間差に基づいて、又、走行
物体1の走行速度に基づいて計算される距離Lを確保し
なければならないので、設置スペースを要するという問
題がある。又、走行速度が変化するにも拘わらず必要な
時間差が一定の場合、走行速度の変化に応じて距離Lを
変化させる必要があり、この場合にはカメラC2の設置
位置を移動させなければならないという問題もある。
For this reason, as shown in FIG. 2, it is conceivable that a camera C2 is installed at a distance L away from the camera C1 capturing the moving object 1. In this way, it is possible to obtain a past image by the time difference by using the time difference due to the travel of the distance L,
An image of the traveling object 1 that has already gone too far can be captured again. However, an extra facility called camera C2 is required. In addition, the distance L calculated based on the required time difference and based on the traveling speed of the traveling object 1 must be ensured, so that there is a problem that an installation space is required. If the required time difference is constant despite the change in the traveling speed, it is necessary to change the distance L in accordance with the change in the traveling speed. In this case, the installation position of the camera C2 must be moved. There is also a problem.

【0007】本発明は、前記従来の問題点を解決するべ
くなされたもので、欠陥画像が発生した場合などに、既
に行き過ぎた走行物体の画像を、改めて撮像することな
く確認することができる画像記録再生方法及び装置を提
供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned conventional problems. In the case where a defect image is generated, an image of a traveling object which has already gone too far can be confirmed without taking another image. An object of the present invention is to provide a recording and reproducing method and apparatus.

【0008】[0008]

【課題を解決するための手段】まず、本願の第1発明の
画像記録再生方法は、走行物体の外観検査装置に用いる
欠陥画像の画像記録再生方法において、前記走行物体を
走行中に連続的に撮像し、エンドレスに読み書きするリ
ングバッファに、得られる画像信号を書き込み、該リン
グバッファに書き込まれている任意の過去の撮像画像を
参照可能としたことにより、前記課題を解決したもので
ある。
First, an image recording / reproducing method according to a first invention of the present application is a method for recording / reproducing a defect image used in a visual inspection apparatus for a traveling object. The object has been achieved by writing an obtained image signal in a ring buffer for imaging and reading and writing endlessly and making it possible to refer to any past captured image written in the ring buffer.

【0009】次に、本願の第2発明の画像記録再生装置
は、走行物体の外観検査装置に用いる欠陥画像の画像記
録再生装置において、前記走行物体を走行中に連続的に
撮像して得た画像信号を、エンドレスに書き込み、又任
意に読み出すことができるリングバッファと、該リング
バッファに一旦書き込まれた画像信号を読み出して蓄え
るための画像蓄積部と、前記リングバッファの書き込み
及び読み出しを制御するタイミング・コントローラとを
備えるようにしたことにより、前記課題を解決したもの
である。
Next, an image recording / reproducing apparatus according to a second aspect of the present invention is a defect image recording / reproducing apparatus used for a visual inspection apparatus for a traveling object, which is obtained by continuously imaging the traveling object while traveling. A ring buffer capable of writing and reading an image signal endlessly and arbitrarily; an image storage unit for reading and storing the image signal once written in the ring buffer; and controlling writing and reading of the ring buffer. With the provision of the timing controller, the above-mentioned problem is solved.

【0010】又、前記第2発明の画像記録再生装置にお
いて、1つ以上の画像入力部を備えるようにしたこと
で、1つの具体的な実施形態としたものである。
The image recording / reproducing apparatus according to the second aspect of the present invention includes one or more image input units, thereby providing one specific embodiment.

【0011】更に、前記第2発明の画像記録再生装置に
おいて、前記画像蓄積部に蓄えられている画像を表示す
るための画像表示部を備えるようにしたことで、当該装
置の利便性を向上することができる。
Further, the image recording / reproducing apparatus according to the second aspect of the present invention is provided with an image display section for displaying images stored in the image storage section, thereby improving the convenience of the apparatus. be able to.

【0012】以下、本発明の作用について、簡単に説明
する。
Hereinafter, the operation of the present invention will be briefly described.

【0013】本発明では、既に行き過ぎた走行物体の画
像もリングバッファに保存している。従って、過去に撮
像した画像を得ることができる。又、該リングバッファ
に過去の画像を、複数保存すれば、様々な時間差だけ過
去の画像も容易に得ることができる。従って、走行物体
の走行速度が変化する場合にも、図2で前述した従来例
のようにカメラC2の設置位置を移動させなくても、必
要な時間差だけ過去の画像を、比較的容易に得ることが
できる。
In the present invention, an image of a traveling object that has already gone too far is also stored in the ring buffer. Therefore, an image captured in the past can be obtained. If a plurality of past images are stored in the ring buffer, the past images can be easily obtained with various time differences. Therefore, even when the traveling speed of the traveling object changes, the past image can be obtained relatively easily by a necessary time difference without moving the installation position of the camera C2 as in the conventional example described above with reference to FIG. be able to.

【0014】このように本発明によれば、欠陥画像が発
生した場合などに、既に行き過ぎた走行物体の画像を、
改めて撮像することなく確認することができる。
As described above, according to the present invention, when a defect image is generated, an image of a traveling object that has already gone too far can be obtained.
It can be confirmed without taking another image.

【0015】[0015]

【発明の実施の形態】以下、図を用いて本発明の実施の
形態を詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below in detail with reference to the drawings.

【0016】図3は、本発明が適用される実施形態の構
成を示すブロック図である。
FIG. 3 is a block diagram showing the configuration of the embodiment to which the present invention is applied.

【0017】本実施形態は、データバス及びアドレスバ
スを含むバス5で相互に接続されている、CPU(cent
ral processing unit)40と、主メモリ42と、HD
D(hard disk drive)コントローラ26及びHDD2
7と、ディスプレイ装置50とを備え、基本構成は汎用
コンピュータ装置と類似している。なお、HDD27は
HDDコントローラ26に接続されている。又、ディス
プレイ装置50は、ディスプレイ・コントローラ52
と、CRT(cathode lay tube)やLCD(liquidcrys
tal display)などのディスプレイ54と、表示メモリ
56とにより構成されている。
In this embodiment, a CPU (centrifuge) connected to each other by a bus 5 including a data bus and an address bus.
ral processing unit) 40, main memory 42, HD
D (hard disk drive) controller 26 and HDD 2
7 and a display device 50, and the basic configuration is similar to a general-purpose computer device. The HDD 27 is connected to the HDD controller 26. The display device 50 includes a display controller 52.
And CRT (cathode lay tube) and LCD (liquidcrys
tal display) and a display memory 56.

【0018】このような構成に加えて、本実施形態で
は、撮像器12及びA/D変換器14で構成されるカメ
ラ10を有している。更に、リングバッファ3と、DM
A(direct memory access)コントローラ24と、タイ
ミング・コントローラ22とを有している。DMAコン
トローラ24は、CPU40の処理を必要とせず、リン
グバッファ3に保存されている画像を、バス5を経由し
て、主メモリ42に転送したり、ディスプレイ・コント
ローラ52を経て表示メモリ56に転送する。ここで、
符号20の部分は、本実施形態において本発明を適用し
た主要部分である。
In addition to such a configuration, the present embodiment has a camera 10 including an image pickup device 12 and an A / D converter 14. Further, the ring buffer 3 and the DM
An A (direct memory access) controller 24 and a timing controller 22 are provided. The DMA controller 24 transfers the image stored in the ring buffer 3 to the main memory 42 via the bus 5 or to the display memory 56 via the display controller 52 without requiring the processing of the CPU 40. I do. here,
The portion denoted by reference numeral 20 is a main portion to which the present invention is applied in the present embodiment.

【0019】図4は、本実施形態のリングバッファ3の
構成を示すアドレスマップである。
FIG. 4 is an address map showing the configuration of the ring buffer 3 of the present embodiment.

【0020】この図において、リングバッファ3への画
像信号の書き込みや読み出しは、1フレーム単位になっ
ている。フレームメモリFM1〜FM16は、リングバ
ッファ3内にある、それぞれ1MBのメモリであり、1
フレームの画像を書き込み、保存することができる。リ
ングバッファ3は、このようなフレームメモリFM1〜
FM16が合計16あり、記憶容量は16MBである。
In FIG. 1, writing and reading of image signals to and from the ring buffer 3 are performed in units of one frame. Each of the frame memories FM1 to FM16 is a 1 MB memory in the ring buffer 3,
You can write and save the image of the frame. The ring buffer 3 includes such frame memories FM1 to FM1.
There are 16 FM16s in total, and the storage capacity is 16 MB.

【0021】又、この図において、符号WPは、カメラ
10から得られる現在の画像信号を書き込むべき位置を
示すポインタである。符号RPは、フレームメモリFM
1〜FM16において任意に読み出そうとしている1フ
レームの画像信号の位置を示すポインタである。
In this figure, reference numeral WP is a pointer indicating a position where the current image signal obtained from the camera 10 is to be written. The code RP is the frame memory FM
1 to 1 are pointers indicating the positions of image signals of one frame which are to be read arbitrarily in the FM 16.

【0022】なお、本発明においては、リングバッファ
への書き込みや読み出しは、上述のように1フレーム単
位に限るものではない。例えば、走行方向に直交する方
向のライン画像を、走行物体の走行に伴って順次得るよ
うにしたラスタ・イメージの画像の場合、1フレームに
とらわれず順次リングバッファに書き込むようにしても
よい。このような場合にも、任意の1フレーム分のライ
ン画像をリングバッファから読み出すようにすれば、リ
ングバッファにある任意のフレーム画像を得ることがで
きる。
In the present invention, writing to and reading from the ring buffer is not limited to one frame unit as described above. For example, in the case of a raster image image in which line images in a direction orthogonal to the traveling direction are sequentially obtained as the traveling object travels, the line images may be sequentially written to the ring buffer regardless of one frame. Even in such a case, by reading a line image of an arbitrary frame from the ring buffer, an arbitrary frame image in the ring buffer can be obtained.

【0023】なお、上記のようなリングバッファ3に一
旦書込まれた画像信号を読み出して蓄えるための、本発
明における画像蓄積部は、本実施形態では主メモリ42
である。又、該主メモリ42の画像信号は、HDDコン
トローラ26を経由してHDD27に書き込まれるの
で、該HDD27も本発明における画像蓄積部というこ
とができる。
In the present embodiment, the image storage for reading and storing the image signal once written in the ring buffer 3 as described above is a main memory 42 in the present embodiment.
It is. Further, since the image signal of the main memory 42 is written to the HDD 27 via the HDD controller 26, the HDD 27 can also be referred to as an image storage unit in the present invention.

【0024】以下、本実施形態の作用を説明する。Hereinafter, the operation of the present embodiment will be described.

【0025】通常は、走行体に同期して画像が取り込ま
れ、常時リングバッファ3に画像が書き込まれる。例え
ば前述のように、1フレームが1MBの画像に対して、
リングバッファ3が16MBであれば、16フレームの
画像を連続的に保存することができる。リングバッファ
3に書き込むことができるフレーム数以上の画像を書き
込んだ場合、古い画像から順次上書きされる。例えば上
記のように16フレーム保存できる場合、17フレーム
目から上書きされ、17フレーム目は1フレーム目に上
書きされる。
Normally, an image is taken in synchronism with the running body, and the image is always written in the ring buffer 3. For example, as described above, for an image in which one frame is 1 MB,
If the ring buffer 3 is 16 MB, images of 16 frames can be stored continuously. When images more than the number of frames that can be written to the ring buffer 3 are written, old images are sequentially overwritten. For example, when 16 frames can be stored as described above, the 17th frame is overwritten, and the 17th frame is overwritten on the first frame.

【0026】又、このようなリングバッファ3における
画像の書き込みは、書き込みポインタWPで示される位
置になされる。リングバッファ3に書き込めるフレーム
数をNとすると、該書き込みポインタWPは、“0”か
ら(N−1)までの値をとる。書き込みポインタWP
は、リングバッファ3に書き込みがなされる毎に、順
次、“1”ずつ増加する。又、リングバッファ3に書き
込めるフレーム数以上の値になると、書き込みポインタ
WPの値は再び“0”になる。
The writing of an image in the ring buffer 3 is performed at the position indicated by the write pointer WP. Assuming that the number of frames that can be written to the ring buffer 3 is N, the write pointer WP takes a value from “0” to (N−1). Write pointer WP
Increases sequentially by “1” each time data is written to the ring buffer 3. When the value becomes equal to or larger than the number of frames that can be written in the ring buffer 3, the value of the write pointer WP becomes "0" again.

【0027】リングバッファ3に保存されている画像の
読み出しは、既に書き込まれ、かつ未だ上書きされてし
まっていない画像のみが対象となる。従って、このよう
な条件の画像を、リングバッファ3の読み出し位置を示
す読み出しポインタRPを用いて読み出す。
The reading of the image stored in the ring buffer 3 is performed only for an image that has already been written and has not been overwritten yet. Therefore, the image under such conditions is read using the read pointer RP indicating the read position of the ring buffer 3.

【0028】又、本実施形態では、必要に応じて、リン
グバッファ3にある画像を、DMAコントローラ24、
バス5、ディスプレイ・コントローラ52、表示メモリ
56を経由して、随時、CRTなどのディスプレイ54
に表示することができる。更に、一旦、欠陥発生の信号
がタイミング・コントローラ22に外部から伝えられる
と、DMAコントローラ24は、リングバッファ3内に
蓄えられている、欠陥発生時点を含む前後数フレームの
画像のデータを、主メモリ42に一旦退避する。この
時、それぞれの画像の時刻や検査状態、品目情報などの
附帯情報も同時に主メモリ42に退避する。その後、C
PU40が主メモリ42内のこれらのデータを、HDD
コントローラ26を制御してHDD27に書き込む。
In the present embodiment, the image in the ring buffer 3 is transferred to the DMA controller 24,
Via a bus 5, a display controller 52, and a display memory 56, a display 54 such as a CRT as needed.
Can be displayed. Further, once a signal indicating the occurrence of a defect is transmitted from the outside to the timing controller 22, the DMA controller 24 transfers the image data of several frames before and after the image including the point of occurrence of the defect, stored in the ring buffer 3 to the main controller. It is temporarily saved in the memory 42. At this time, the auxiliary information such as the time, inspection state, and item information of each image is also saved in the main memory 42 at the same time. Then, C
The PU 40 stores these data in the main memory 42
The controller 26 is controlled to write data into the HDD 27.

【0029】キーボード類44から、欠陥画像再生の指
示があった場合には、CPU40は、HDD27内から
指定の画像を取りだし、ディスプレイ・コントローラ5
2を制御してディスプレイ54に表示する。
When an instruction to reproduce a defective image is issued from the keyboards 44, the CPU 40 fetches a specified image from the HDD 27 and sends the specified image to the display controller 5.
2 is displayed on the display 54 by controlling.

【0030】図5は、本実施形態の処理を示すフローチ
ャートである。
FIG. 5 is a flowchart showing the processing of this embodiment.

【0031】以下、該フローチャートを用いて、本実施
形態の作用を説明する。
The operation of this embodiment will be described below with reference to the flowchart.

【0032】図5において、まずステップ112では、
書き込みポインタWPを初期化する。本実施形態では、
リングバッファ3に書き込めるフレーム数をNとする
と、該書き込みポインタWPは、“0”から(N−1)
までの値をとる。従って、該ステップ112では、書き
込みポインタWPの値を“0”にする。即ち、書き込み
ポインタWPの値をiとすると、下記の式のように初期
値を設定する。なお、以下の式の記述において、「:
=」は、右辺の値を左辺の変数に代入することを意味
し、即ち、右辺の値を左辺の変数のメモリ(ポインタ)
に書き込むことを意味するものとする。
In FIG. 5, first, at step 112,
Initialize the write pointer WP. In this embodiment,
Assuming that the number of frames that can be written to the ring buffer 3 is N, the write pointer WP changes from “0” to (N−1).
Take values up to. Therefore, in step 112, the value of the write pointer WP is set to “0”. That is, assuming that the value of the write pointer WP is i, an initial value is set as in the following equation. In the following description of the expression, ":
= ”Means that the value on the right side is assigned to the variable on the left side, that is, the value on the right side is stored in the memory (pointer) of the variable on the left side.
It means to write to.

【0033】i:=0 ……(1)I: = 0 (1)

【0034】ステップ114では、カメラ10の撮像器
12で現在撮像された画像を、A/D変換器14を経由
して取り込む。又、ステップ116では、該画像をリン
グバッファ3に書き込む。即ち、書き込みポインタWP
の示す位置に書き込む。
In step 114, the image currently taken by the image pickup device 12 of the camera 10 is fetched via the A / D converter 14. In step 116, the image is written to the ring buffer 3. That is, the write pointer WP
Write to the position indicated by.

【0035】ステップ120では、図3には示されない
画像検査装置(外観検査装置)で該画像に欠陥があるか
否か判定する。本実施形態は対象の走行物体が、印刷直
後で印刷機で走行中の印刷物である。又、画像検査装置
では、該印刷物に、汚れなどの印刷不良を検査してい
る。ステップ120で不良有りと検出された場合、ステ
ップ122に進む。検出されない場合、ステップ132
に進む。
In step 120, an image inspection apparatus (appearance inspection apparatus) not shown in FIG. 3 determines whether or not the image has a defect. In the present embodiment, the target running object is a printed matter running on a printing press immediately after printing. Further, the image inspection apparatus inspects the printed matter for printing defects such as dirt. If it is determined in step 120 that there is a defect, the process proceeds to step 122. If not detected, step 132
Proceed to.

【0036】ステップ122では、読み出しポインタR
Pの初期化を行う。読み出しポインタRPの値をjとす
ると、該初期化では、読み出しポインタRPの値を下記
の式のように設定する。
At step 122, the read pointer R
Initialize P. Assuming that the value of the read pointer RP is j, in the initialization, the value of the read pointer RP is set as in the following equation.

【0037】j:=i+1 ……(2)J: = i + 1 (2)

【0038】続いてステップ124では、DMAコント
ローラ24の処理により、リングバッファ3を読み出し
て、主メモリ42に保存する。読み出すリングバッファ
3の画像は、下記の式で示す条件のフレームメモリFM
1〜FM16に保存されているものである。ここで、下
記の式において、「mod」は、剰余演算を意味する。
Subsequently, at step 124, the ring buffer 3 is read out by the processing of the DMA controller 24 and stored in the main memory 42. The image of the ring buffer 3 to be read is stored in the frame memory FM under the condition shown by the following equation.
1 to FM16. Here, in the following equation, “mod” means a remainder operation.

【0039】(j mod N) ……(3)(J mod N) (3)

【0040】ステップ128では、読み出しポインタR
Pの値を“1”だけ増加する。即ち、下記の式で示すよ
うに、読み出しポインタRPの値を設定する。
At step 128, the read pointer R
The value of P is increased by "1". That is, the value of the read pointer RP is set as shown by the following equation.

【0041】j:=j+1 ……(4)J: = j + 1 (4)

【0042】ステップ130では、読み出しポインタR
Pの値が適正であるか、判定する。即ち、下記の式が成
立するか判定する。
In step 130, the read pointer R
It is determined whether the value of P is appropriate. That is, it is determined whether the following equation is satisfied.

【0043】[0043]

【数1】 (Equation 1)

【0044】ステップ132では、書き込みポインタW
Pの値を“1”だけ増加する。即ち、下記の式で示すよ
うに、書き込みポインタWPの値を設定する。
At step 132, the write pointer W
The value of P is increased by "1". That is, the value of the write pointer WP is set as shown by the following equation.

【0045】i:=i+1 ……(6)I: = i + 1 (6)

【0046】ステップ136では、書き込みポインタW
Pの値が適正であるか、判定する。即ち、下記の式が成
立するか判定する。
In step 136, the write pointer W
It is determined whether the value of P is appropriate. That is, it is determined whether the following equation is satisfied.

【0047】i=N ……(7)I = N (7)

【0048】ステップ138では、書き込みポインタW
Pを初期化する。即ち、下記の式のように初期値を設定
する。
In step 138, the write pointer W
Initialize P. That is, an initial value is set as in the following equation.

【0049】i:=0 ……(8)I: = 0 (8)

【0050】以上説明したように本実施形態では本発明
を効果的に適用することができる。従って、欠陥画像が
発生した場合などに、既に行き過ぎた走行物体の画像
を、改めて撮像することなく確認することができる。
As described above, in the present embodiment, the present invention can be effectively applied. Therefore, when a defect image occurs, an image of a traveling object that has already gone too far can be confirmed without taking another image.

【0051】例えば、従来のように、図2のカメラC1
の下流にカメラC2を設けなくとも、欠陥検出前後の画
像を保存することができる。従って、カメラC2のため
の設置スペースを要するという問題はない。又、走行速
度が変化するにも拘わらず必要な過去の画像までの時間
差が一定の場合、走行速度の変化に応じて距離Lを変化
させるため、カメラC2の設置位置を移動させなければ
ならないという問題もない。
For example, as in the prior art, the camera C1 shown in FIG.
The images before and after the defect detection can be stored without providing the camera C2 downstream of the camera. Therefore, there is no problem that an installation space for the camera C2 is required. Further, when the time difference to a required past image is constant despite the change in the traveling speed, the installation position of the camera C2 must be moved in order to change the distance L according to the change in the traveling speed. No problem.

【0052】なお、本実施形態において、リングバッフ
ァ3に保存できる画像の数に限界があっても、リングバ
ッファ3に保存された画像が上書きされて消失してしま
う前に主メモリ42に保存するようにすれば、長時間に
亘る実時間の画像を記録することができる。現在では半
導体メモリの価格は低落しており、1GB(=1024
MB)程度のメモリを実装することも不可能ではないの
で、かなりの画像を保存することができる。
In the present embodiment, even if the number of images that can be stored in the ring buffer 3 is limited, the images stored in the ring buffer 3 are stored in the main memory 42 before they are overwritten and disappear. By doing so, it is possible to record a real-time image for a long time. At present, the price of semiconductor memory is falling, and 1 GB (= 1024
It is not impossible to implement a memory of the order of MB), so that considerable images can be stored.

【0053】又、従来のITV(industrial televisio
n)やVTR(video tape recorder)による画像記録装
置では、画質の劣化が問題になる。しかしながら、本実
施形態では、デジタル画像をそのまま保存するため、劣
化がない。例えばアナログ画像に比べて劣化がない。
又、場合によっては、無歪、あるいは有歪の画像圧縮手
法を適用し、保存効率を高めることも可能である。
In addition, a conventional ITV (industrial televisio
In an image recording apparatus using n) or a VTR (video tape recorder), deterioration in image quality becomes a problem. However, in the present embodiment, since the digital image is stored as it is, there is no deterioration. For example, there is no deterioration compared to an analog image.
In some cases, it is also possible to increase the storage efficiency by applying a non-distorted or distorted image compression method.

【0054】[0054]

【発明の効果】本発明によれば、欠陥画像が発生した場
合などに、既に行き過ぎた走行物体の画像を、改めて撮
像することなく確認することができる。
According to the present invention, when a defect image is generated, an image of a traveling object that has already gone too far can be confirmed without taking another image.

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

【図1】印刷中の印刷物などの走行物体の外観を撮像し
て順に得た画像を示す線図
FIG. 1 is a diagram showing images obtained by sequentially capturing the appearance of a running object such as a printed matter being printed;

【図2】既に行き過ぎた走行物体の画像を改めて撮像す
るために複数のカメラを配置する場合の側面図
FIG. 2 is a side view of a case where a plurality of cameras are arranged to newly capture an image of a traveling object that has already gone too far.

【図3】本発明が適用される実施形態の構成を示すブロ
ック図
FIG. 3 is a block diagram showing a configuration of an embodiment to which the present invention is applied;

【図4】上記実施形態のリングバッファの構成を示すア
ドレスマップ
FIG. 4 is an address map showing a configuration of a ring buffer of the embodiment.

【図5】前記実施形態の処理を示すフローチャートFIG. 5 is a flowchart showing processing of the embodiment.

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

1…走行物体 3…リングバッファ 5…バス 10…カメラ 12…撮像器 14…A/D変換器 20…本発明適用の主要部分 22…タイミング・コントローラ 24…DMAコントローラ 26…HDDコントローラ 27…HDD 40…CPU 42…主メモリ 44…キーボード類 50…ディスプレイ装置 52…ディスプレイ・コントローラ 54…ディスプレイ 56…表示メモリ DESCRIPTION OF SYMBOLS 1 ... Running object 3 ... Ring buffer 5 ... Bus 10 ... Camera 12 ... Image pickup device 14 ... A / D converter 20 ... Main part of application of this invention 22 ... Timing controller 24 ... DMA controller 26 ... HDD controller 27 ... HDD 40 ... CPU 42 ... Main memory 44 ... Keyboards 50 ... Display device 52 ... Display controller 54 ... Display 56 ... Display memory

───────────────────────────────────────────────────── フロントページの続き (72)発明者 坂田 英人 東京都新宿区市谷加賀町一丁目1番1号 大日本印刷株式会社内 Fターム(参考) 5C022 AA01 AB68 AC42 AC69 5C053 FA23 FA27 GB40 JA16 KA04 LA01 LA06 LA11 5C054 AA01 AA05 CA04 CC03 CH01 EA07 EB05 HA03  ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Hideto Sakata 1-1-1, Ichigaya-Kaga-cho, Shinjuku-ku, Tokyo F-term in Dai Nippon Printing Co., Ltd. 5C022 AA01 AB68 AC42 AC69 5C053 FA23 FA27 GB40 JA16 KA04 LA01 LA06 LA11 5C054 AA01 AA05 CA04 CC03 CH01 EA07 EB05 HA03

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】走行物体の外観検査装置に用いる欠陥画像
の画像記録再生方法において、 前記走行物体を走行中に連続的に撮像し、 エンドレスに読み書きするリングバッファに、得られる
画像信号を書き込み、 該リングバッファに書き込まれている任意の過去の撮像
画像を参照可能としたことを特徴とする画像記録再生方
法。
An image recording and reproducing method for a defect image used in a visual inspection apparatus for a traveling object, comprising: continuously imaging the traveling object while traveling; writing an obtained image signal to a ring buffer for reading and writing endlessly; An image recording / reproducing method, wherein an arbitrary past captured image written in the ring buffer can be referred to.
【請求項2】走行物体の外観検査装置に用いる欠陥画像
の画像記録再生装置において、 前記走行物体を走行中に連続的に撮像して得た画像信号
を、エンドレスに書き込み、又任意に読み出すことがで
きるリングバッファと、 該リングバッファに一旦書き込まれた画像信号を読み出
して蓄えるための画像蓄積部と、 前記リングバッファの書き込み及び読み出しを制御する
タイミング・コントローラとを備えるようにしたことを
特徴とする画像記録再生装置。
2. An image recording / reproducing apparatus for a defect image used in a visual inspection apparatus for a traveling object, wherein an image signal obtained by continuously imaging the traveling object while traveling is endlessly written and arbitrarily read. And a timing controller for controlling writing and reading of the ring buffer, and an image storage unit for reading and storing the image signal once written in the ring buffer. Image recording and reproducing device.
【請求項3】請求項2に記載の画像記録再生装置におい
て、1つ以上の画像入力部を備えるようにしたことを特
徴とする画像記録再生装置。
3. An image recording / reproducing apparatus according to claim 2, further comprising one or more image input units.
【請求項4】請求項2又は3に記載の画像記録再生装置
において、前記画像蓄積部に蓄えられている画像を表示
するための画像表示部を備えるようにしたことを特徴と
する画像記録再生装置。
4. The image recording / reproducing apparatus according to claim 2, further comprising an image display section for displaying an image stored in said image storage section. apparatus.
JP10335183A 1998-11-26 1998-11-26 Image recording and reproducing method and device Pending JP2000165820A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10335183A JP2000165820A (en) 1998-11-26 1998-11-26 Image recording and reproducing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10335183A JP2000165820A (en) 1998-11-26 1998-11-26 Image recording and reproducing method and device

Publications (1)

Publication Number Publication Date
JP2000165820A true JP2000165820A (en) 2000-06-16

Family

ID=18285695

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10335183A Pending JP2000165820A (en) 1998-11-26 1998-11-26 Image recording and reproducing method and device

Country Status (1)

Country Link
JP (1) JP2000165820A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006253768A (en) * 2005-03-08 2006-09-21 Uniden Corp Digital camera
WO2015141490A1 (en) * 2014-03-20 2015-09-24 ソニー株式会社 Image capturing element, control method, and image capturing device
CN117499601A (en) * 2024-01-02 2024-02-02 上海励驰半导体有限公司 Method for calling multi-camera data for SoC

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006253768A (en) * 2005-03-08 2006-09-21 Uniden Corp Digital camera
US7697036B2 (en) 2005-03-08 2010-04-13 Uniden Corporation Digital camera for capturing both still images and moving pictures
WO2015141490A1 (en) * 2014-03-20 2015-09-24 ソニー株式会社 Image capturing element, control method, and image capturing device
CN106134183A (en) * 2014-03-20 2016-11-16 索尼公司 Camera assembly, control method and camera head
JPWO2015141490A1 (en) * 2014-03-20 2017-04-06 ソニー株式会社 Imaging device, control method, and imaging apparatus
US10313621B2 (en) 2014-03-20 2019-06-04 Sony Corporation Image pickup device, control method, and image pickup apparatus
CN106134183B (en) * 2014-03-20 2020-03-20 索尼公司 Image pickup assembly, control method and image pickup device
CN117499601A (en) * 2024-01-02 2024-02-02 上海励驰半导体有限公司 Method for calling multi-camera data for SoC
CN117499601B (en) * 2024-01-02 2024-04-05 上海励驰半导体有限公司 Method for calling multi-camera data for SoC

Similar Documents

Publication Publication Date Title
JP2007328555A (en) Image correction device
JP2000165820A (en) Image recording and reproducing method and device
JPH01125068A (en) Blur correcting device
JP2956527B2 (en) Video device with image memory function
JP3405302B2 (en) Image distortion correction device
JPS6066728A (en) Digital fluorography apparatus
JP2000106664A (en) Image processor, image processing method, recording and reproducing device and computer-readable storage medium
EP1067782B1 (en) Image display device and displaying method
JPH06268922A (en) Smear correction device
JP4670631B2 (en) Image processing apparatus, image processing method, program for image processing method, and recording medium recording program for image processing method
JPH1175106A (en) Still image camera
JP3587308B2 (en) Blur erasing video display method
JPS63206084A (en) Image display device
JP3788874B2 (en) Electronic zoom device
JPH0726915B2 (en) Image defect detection method
JPH0422073B2 (en)
JP3195255B2 (en) Image extraction device for specific objects
KR101253718B1 (en) Time-varying image recording device
JPH0363277B2 (en)
JPH11313281A (en) Image pickup device, image data recording method and storage medium
JP4349677B2 (en) Image processing method, image processing apparatus, and recording medium on which image processing program is recorded
JPH03102977A (en) Moving picture/still picture converter
JP2000278578A (en) Electronic still camera
JPH10105050A (en) Navigation system
JPH0686206A (en) Electronic still camera

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051118

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071120

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080325