JP6004472B2 - Correction apparatus, correction method, and program - Google Patents
Correction apparatus, correction method, and program Download PDFInfo
- Publication number
- JP6004472B2 JP6004472B2 JP2012215339A JP2012215339A JP6004472B2 JP 6004472 B2 JP6004472 B2 JP 6004472B2 JP 2012215339 A JP2012215339 A JP 2012215339A JP 2012215339 A JP2012215339 A JP 2012215339A JP 6004472 B2 JP6004472 B2 JP 6004472B2
- Authority
- JP
- Japan
- Prior art keywords
- coordinate
- accessor
- coordinates
- image data
- target mark
- 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.)
- Active
Links
Images
Landscapes
- Automatic Tape Cassette Changers (AREA)
- Automatic Disk Changers (AREA)
Description
本発明は、ライブラリ装置に備わるアクセッサの移動制御の補正処理を行う補正装置、補正方法及びプログラムに関する。 The present invention relates to a correction apparatus, a correction method, and a program for performing correction processing for movement control of an accessor provided in a library apparatus.
バックアップデータの記録する記録媒体70を格納するライブラリ装置30は、アクセッサと呼ばれる移動装置を備えている。当該アクセッサは、記録媒体70を格納するためのセル40と記録媒体70にバックアップデータを書き込むドライブ装置50との間を移動し、セル40やドライブ装置50に対して記録媒体70を出し入れする装置である。
そして、ライブラリ装置30におけるアクセッサの位置調整に関する技術が特許文献1に開示されている。
The
A technique relating to the position adjustment of the accessor in the
ところで、アクセッサが搭載する撮影装置の一例であるカメラが生産中止になることがある。ここでアクセッサの搭載するカメラが故障した場合、アクセッサには以前と種類の異なるカメラが交換品として新たに保守担当者によって取り付けられる場合がある。このアクセッサに新たに搭載されるカメラは、故障したカメラとは異なる画角を持っている可能性がある。 By the way, production of a camera, which is an example of a photographing device mounted on an accessor, may be discontinued. When a camera mounted on the accessor breaks down, a different type of camera may be attached to the accessor as a replacement by a maintenance person. The camera newly installed in this accessor may have a different angle of view from the malfunctioning camera.
ここで、アクセッサを制御する制御部は、例えばアクセッサに搭載されたカメラにより撮影された画像中の1画素を1座標とした場合の所定の座標数が示す座標距離と、当該所定の座標距離に対応する画像中の画素数分の撮影位置の移動をアクセッサのモータに指示するための基準信号の出力回数との対応関係を示す移動用テーブルを記憶部等に記憶する。そして当該アクセッサの制御部は、画像解析により特定した基準位置から画像中の所定のマークまでの画素数に対応する座標距離と移動用テーブルに保持されている対応関係とに基づいて、モータへ基準信号を出力する。これによりアクセッサは、アクセッサに取り付けられたカメラの撮影する画像中において所定のマークが所定の基準位置で撮影されるように移動し、ライブラリ等に格納されている記録媒体の取り出しやライブラリのセルへの記録媒体の挿入を行う。 Here, the control unit that controls the accessor, for example, sets the coordinate distance indicated by a predetermined number of coordinates when one pixel in an image captured by a camera mounted on the accessor is one coordinate, and the predetermined coordinate distance. A movement table indicating a correspondence relationship with the number of times of output of the reference signal for instructing the motor of the accessor to move the photographing position by the number of pixels in the corresponding image is stored in the storage unit or the like. Then, the control unit of the accessor performs reference to the motor based on the coordinate distance corresponding to the number of pixels from the reference position specified by the image analysis to the predetermined mark in the image and the correspondence relationship held in the movement table. Output a signal. As a result, the accessor moves so that a predetermined mark is captured at a predetermined reference position in an image captured by a camera attached to the accessor, and the recording medium stored in the library or the like is taken out or moved to the library cell. Insert the recording medium.
ここで、故障したカメラと新たにアクセッサに搭載されるカメラとの両カメラが読み取る画像の画角が異なる場合、それぞれ1画素が示す実空間上の距離が違う。よってそれら2つのカメラで取得した各画像中の所定の画素数に対応する座標距離に応じた実空間上の距離が異なる。したがって、保守担当者の交換作業によって新たに搭載されたカメラで取得した画像上の所定の画素数に対応する座標距離に応じた実空間上の距離は、移動用テーブルが示す所定の画素数に対応する基準信号の出力回数でアクセッサが移動する実空間上の距離と異なる。これによりアクセッサは、新たに搭載したカメラで取得した画像と、上述の移動用テーブルとを用いて、正確な移動制御を行うことができなくなってしまう。
なお、上述の特許文献1の技術は、画像検出手段を用いて、ある特定の1種類のカメラに対してアクセッサの位置調整を短時間で行う技術である。そのため、特許文献1の技術は、種類の異なるカメラがアクセッサに搭載された場合に、アクセッサを正確に移動制御できなくなるという問題を解決するものではない。
Here, when the angle of view of the images read by both the failed camera and the camera newly installed in the accessor is different, the distance in real space indicated by each pixel is different. Therefore, the distance in the real space differs according to the coordinate distance corresponding to the predetermined number of pixels in each image acquired by these two cameras. Therefore, the distance in the real space corresponding to the coordinate distance corresponding to the predetermined number of pixels on the image newly acquired by the camera newly installed by the maintenance person's replacement work is equal to the predetermined number of pixels indicated by the movement table. It differs from the distance in real space where the accessor moves depending on the number of times the corresponding reference signal is output. As a result, the accessor cannot perform accurate movement control using the image acquired by the newly mounted camera and the above-described movement table.
Note that the technique disclosed in
そこでこの発明は、上記の課題を解決することのできる補正装置、補正方法及びプログラムを提供することを目的としている。 Therefore, an object of the present invention is to provide a correction device, a correction method, and a program that can solve the above-described problems.
上記目的を達成するために、本発明は、ライブラリ装置におけるアクセッサの位置を調整するための補正装置であって、前記アクセッサに設けられた治具を撮影した撮影装置によって生成された画像データの中から、前記治具に設けられたターゲットマークの画像データにおける座標を特定する座標特定部と、前記特徴物の座標と基準座標とを比較する座標比較部と、前記座標比較部が行った比較結果に基づいて前記撮影装置の種類を特定する種類特定部と、を備えることを特徴とする補正装置である。 In order to achieve the above object, the present invention provides a correction apparatus for adjusting the position of an accessor in a library apparatus , and includes image data generated by a photographing apparatus that photographs a jig provided in the accessor. From the coordinate identification unit that identifies the coordinates in the image data of the target mark provided on the jig, the coordinate comparison unit that compares the coordinates of the feature and the reference coordinates, and the comparison results performed by the coordinate comparison unit And a type specifying unit that specifies the type of the imaging device based on the correction device.
また本発明は、ライブラリ装置におけるアクセッサの位置を調整するための補正方法であって、前記アクセッサに設けられた治具を撮影した撮影装置によって生成された画像データの中から、前記治具に設けられたターゲットマークの画像データにおける座標を特定し、前記ターゲットマークの座標と基準座標とを比較し、前記比較による比較結果に基づいて前記アクセッサに設けられた前記撮影装置の種類を特定する、ことを特徴とする補正方法である。 The present invention also relates to a correction method for adjusting the position of the accessor in the library apparatus, from the image data generated by the photographing apparatus photographing a jig provided on the accessor, provided in the jig Identifying the coordinates of the target mark in the image data, comparing the coordinates of the target mark with reference coordinates, and identifying the type of the imaging device provided in the accessor based on the comparison result of the comparison Is a correction method characterized by
また本発明は、ライブラリ装置におけるアクセッサの位置を調整するための補正装置のコンピュータを、前記アクセッサに設けられた治具を撮影した撮影装置によって生成された画像データの中から、前記治具に設けられたターゲットマークの画像データにおける座標を特定する座標特定手段、前記ターゲットマークの座標と基準座標とを比較する座標比較手段、前記比較による比較結果に基づいて前記アクセッサに設けられた前記撮影装置の種類を特定する種類特定手段、として機能させることを特徴とするプログラムである。 The present invention causes a computer of a correction device for adjusting the position of the accessor in the library apparatus, from the image data generated by the photographing apparatus photographing a jig provided on the accessor, provided in the jig coordinate specifying means for specifying coordinates in the image data of the target mark that is, coordinate comparison means for comparing coordinates and the reference coordinates of the target mark, the imaging provided in the accessor based on a comparison result obtained by the prior Symbol comparison It is a program characterized by functioning as type specifying means for specifying the type of device.
本発明の補正装置の処理により、アクセッサの制御部は、アクセッサに搭載されたカメラに適切な移動用テーブルを用いて、適切にアクセッサの移動制御を行うことができる。 By the processing of the correction device of the present invention, the accessor control unit can appropriately control the movement of the accessor by using a movement table suitable for the camera mounted on the accessor.
<実施形態>
図1は、本発明の補正装置1の最小構成を示す機能ブロック図である。
この図で示すように、補正装置1は、少なくとも、座標特定部2と、座標比較部3と、種類特定部4とを備える。
ここで、座標特定部2は、対象物を撮影した撮影装置によって生成された画像データの中から、対象物の一部分である特徴物の座標を特定する。
また、座標比較部3は、特徴物の座標と基準座標20とを比較する。
また、種類特定部4は、座標比較部3が行った比較の比較結果に基づいて、撮影装置の種類を特定する。
<Embodiment>
FIG. 1 is a functional block diagram showing the minimum configuration of the
As shown in this figure, the
Here, the
Further, the
Further, the
図2は、本発明の実施形態による補正装置1の構成を示す機能ブロック図である。
本発明の実施形態による補正装置1は、図2で示すように、座標特定部2、座標比較部3、種類特定部4、テーブル補正部12の機能部を備えている。これらの機能部は、制御部10がプログラムを実行することにより、補正装置1に構成される。
また、記憶部5は、基準座標20と、種類特定用テーブルT1と、移動用テーブルT2とを記憶している。ここで、基準座標20は、座標比較部3がカメラ6の撮影した対象物の画像データにおける座標と比較するデータであり、この比較結果に基づいて種類特定部4はカメラ6の種類を特定する。また、種類特定用テーブルT1は、種類特定部4が、座標比較部3の比較した比較結果に基づいてカメラ6の種類を特定する際に用いるテーブルである。
また、カメラ6は、移動装置の一例であるアクセッサ11、に固定されている治具7を撮影することにより、当該治具7に印刷されている対象物の画像が含まれる画像データを生成し、その生成した画像データを座標特定部2に出力する。なお、以降の説明において、アクセッサ11に元々取り付けられていたカメラ6をカメラ6aと呼び、当該カメラ6aの故障時に交換された後のカメラ6をカメラ6bと呼ぶこととする。そしてカメラ6a,カメラ6bを総称してカメラ6と呼ぶこととする。
FIG. 2 is a functional block diagram showing the configuration of the
As shown in FIG. 2, the
In addition, the
Further, the
図3は、本発明の実施形態におけるライブラリ装置30の構成をブロック図である。
この図は、当該ライブラリ装置30を上から見た場合の例を示している。ライブラリ装置30は、複数の記録媒体70を格納するライブラリ80、記録媒体70に記録されている情報の読み込みや記録媒体70への情報の書き込みを行うドライブ装置50を備えている。またライブラリ装置30は、ライブラリ80に格納されている記録媒体70をドライブ装置50へ搬出するアクセッサ11を備えている。またアクセッサ11にはカメラ6と制御部10とが搭載されている。ライブラリ装置30はそれ以外の構成を備えていてもよい。
FIG. 3 is a block diagram showing the configuration of the
This figure shows an example when the
ここで、ライブラリ80は、記録媒体70を格納するセル40を複数有している。ライブラリ80において、セル40は上下左右に設けられていてよい。また、記録媒体70は、例えばテープやディスクなどのデータカートリッジであってよい。または記録媒体70はそれ以外の記録媒体70であってもよい。
Here, the library 80 has a plurality of cells 40 for storing the
またドライブ装置50は記録媒体70に記録されている情報の読み込みや記録媒体70への情報の書き込みを行う装置である。ドライブ装置50はアクセッサ11の動作によって記録媒体70を把持して引き込み口の間口に配置されると、その記録媒体70を検出し、内部に引き込む動作を行う。
The
また、アクセッサ11は、制御部10による制御に基づいて、ライブラリ80の各セル40に格納されている記録媒体70を把持してドライブ装置50へ搬出し、またドライブ装置50から記録媒体70を把持してライブラリ80へ搬出する駆動部である。
本実施形態においては、アクセッサ11に制御部10が搭載されている場合の例について説明するが、制御部10はライブラリ装置30内の他の場所に設置され、アクセッサ11等を通信回線などを介して制御するようにしてもよい。
Further, the
In the present embodiment, an example in which the
図4は、治具7が固定されているアクセッサ11を示す図である。
この図において、カメラ6は、治具7における特徴物を斜め方向から撮影する位置でアクセッサ11に固定されている。
また、治具7は、特徴物の一例であるターゲットマーク8と、バーコード9(上部バーコード9aと下部バーコード9b)とが印刷された板であり、カメラ6の種類に関わらず、アクセッサ11上の同一の位置に、また同一の方向を撮影するように固定される。そして、治具7は、アクセッサ11の位置調整の際にのみ使用される板であり、アクセッサ11の実動作時には取り外される。
なおターゲットマーク8は、少なくとも垂直線を含む形状を示しており、本実施形態においては右側に垂直線を有し、当該垂直線を一辺とする三角形を示している。当該三角形の垂直線における2頂点の下側頂点を頂点A、上側頂点を頂点Bと呼ぶこととする。
FIG. 4 is a view showing the accessor 11 to which the
In this figure, the
The
Note that the
図5は、種類の異なるカメラ6で撮影した治具7の画像を示す図である。
図5において、治具7の画像101aは、カメラ6aを搭載したアクセッサ11の位置調整を行う際にカメラ6aが撮影した画像である。
また、図5において、治具7の画像101bは、カメラ6aを搭載したアクセッサ11が実動作を開始し、しばらくした後にカメラ6aが故障しカメラ6bに交換した後にアクセッサ11の位置調整を行う際にカメラ6bが撮影した画像である。
カメラ6aと6bとで撮影した画像は共に、縦がX1画素、横がY1画素の画像である。また、画像101aと101bの両画像において、画像左上の座標が(0,0)である。また、画像101aと101bの両画像において、画像左下の座標が(0,Y1)、画像右上の座標が(X1,0)、画像右下の座標が(X1,Y1)である。
FIG. 5 is a diagram showing an image of the
In FIG. 5, an
In FIG. 5, the
The images taken by the cameras 6a and 6b are both X1 pixel in the vertical direction and Y1 pixel in the horizontal direction. In both the
ターゲットマーク8におけるA点の座標は、アクセッサ11の移動制御に用いるための基準となる座標である。アクセッサ11から治具7を外した後の実動作においても、このターゲットマーク8におけるA点の座標がアクセッサ11の移動制御に用いるための基準となる座標となる。
またターゲットマーク8におけるB点の座標は、カメラ6の取り付け角度が正常であるかを調べるために用いる座標である。座標特定部2が、カメラ6が撮影した画像の画像データを画像処理し、ターゲットマーク8におけるA点とB点とのX座標を求める。そして、座標特定部2は、両X座標の差が所定の範囲内にあればカメラ6の取り付け角度が正常であると判断する。
なお、図5で示したターゲットマーク8は三角形であるが、三角形に限定するものではなく、例えば四角形や星形等の他の形状であってもよい。
The coordinates of the point A in the
Further, the coordinates of the point B in the
Although the
また、治具7に印刷されている2つのバーコード9は、実際にライブラリ80のセル40に格納される記録媒体70の背に印刷されるバーコード9と同様の情報である。また治具7に印刷されている2つのバーコード9は、当該バーコード9によって特定される領域が、カメラ6で撮影できるかどうかを判定するために利用されるものである。
バーコード9によって特定される領域が、カメラ6で撮影できるかどうかを判定するための具体的な処理としては、例えば、座標特定部2が、カメラ6の撮影した画像の画像データを画像処理し、バーコード9におけるC点とD点との座標を求める。そして、アクセッサ11の実動作時に、制御部10は、座標特定部2の求めたC点とD点を対角の頂点とする長方形の内部に記録媒体70に印刷されたバーコード9が撮影されるような位置にアクセッサ11を移動制御する。
Further, the two
As a specific process for determining whether or not the area specified by the
なお、図5における画像101aにおける2つのバーコード9の収まる範囲と、101bにおける2つのバーコード9の収まる範囲との比較からわかるように、カメラ6aと6bは異なる画角で撮影するカメラ6であり、カメラ6bはカメラ6aを拡大した画像となる。そのため、異なるカメラ6aと6bとで撮影した画像101aと101bとでは、1画素当たりの実空間における距離が異なる。
As can be seen from a comparison between the range in which the two
図6は、移動用テーブルT2を示す図である。
この移動用テーブルT2は、制御部10がアクセッサ11をX座標方向に移動制御する際に使用するテーブルである。またこの移動用テーブルT2は、画像中の1画素を1座標とした場合の所定の座標数が示す座標距離と、当該所定の座標距離に対応する画像中の画素数分の撮影位置の移動をアクセッサ11のモータに指示するための基準信号の出力回数との対応関係を示すテーブルである。制御部10は、この移動用テーブルT2を用いて、アクセッサ11のモータに入力する基準信号の回数を調整してアクセッサ11を移動制御する。ここで、図6における移動用テーブルT2では、例えば、1座標分の座標距離に対応する画像中の画素数分の撮影位置の移動をアクセッサ11のモータに指示するための基準信号の出力回数がn1回であることを示している。また図6における移動用テーブルT2では、例えば、2座標分の座標距離に対応する画像中の画素数分の撮影位置の移動をアクセッサ11のモータに指示するための基準信号の出力回数がn2回であることを示している。
FIG. 6 is a diagram showing the movement table T2.
This movement table T2 is a table used when the
なお、図6におけるT2aは、移動用テーブルT2の具体例を示すテーブルである。
図6における移動用テーブルT2aでは、例えば、1座標分の座標距離に対応する画像中の画素数分の撮影位置の移動をアクセッサ11のモータに指示するための基準信号の出力回数が1回であることを示している。また図6aにおける移動用テーブルT2aでは、例えば、10座標分の座標距離に対応する画像中の画素数分の撮影位置の移動をアクセッサ11のモータに指示するための基準信号の出力回数が9回であることを示している。このように、移動用テーブルT2は、アクセッサ11を移動制御するためにモータに入力する基準信号の入力回数を、画像中の1画素を1座標とした場合の座標距離ごとに記憶している。
Note that T2a in FIG. 6 is a table showing a specific example of the movement table T2.
In the moving table T2a in FIG. 6, for example, the number of times of output of the reference signal for instructing the motor of the accessor 11 to move the photographing position by the number of pixels in the image corresponding to the coordinate distance of one coordinate is one. It shows that there is. Further, in the movement table T2a in FIG. 6a, for example, the number of output of the reference signal for instructing the motor of the accessor 11 to move the photographing position by the number of pixels in the image corresponding to the coordinate distance of 10 coordinates is 9 times. It is shown that. As described above, the movement table T2 stores the number of times of input of the reference signal input to the motor for controlling the movement of the
基準信号入力回数1回でアクセッサ11が移動する距離が仮に1.7mmであり、1座標分の座標距離に対応する画像中の画素数分の実際の撮影対象の幅が仮に2mmであるする。このような場合において、アクセッサ11を20mm動かすには、制御部10は基準信号を11回モータに入力してアクセッサ11を18.7mm動かすか、基準信号を12回モータに入力してアクセッサ11を20.4mm動かすことができる。しかしながら、制御部10は、アクセッサ11を基準信号を用いて正確に20mm移動させることはできない。したがって、移動用テーブルT2は、図6の移動用テーブルT2aで示すように、具体的に、アクセッサ11を移動制御するためにモータに入力する基準信号の入力回数を、画像中の1画素を1座標とした場合の座標距離ごとに予め記憶している。
It is assumed that the distance that the accessor 11 moves when the reference signal is input once is 1.7 mm, and the actual width of the imaging target for the number of pixels in the image corresponding to the coordinate distance for one coordinate is temporarily 2 mm. In such a case, to move the
図6で示す移動用テーブルT2aは、元々アクセッサ11に搭載されるカメラ6aの撮影した画像を用いてアクセッサ11を制御するための移動用テーブルT2である。
ここで、カメラ6aの故障によって交換された後のカメラ6bの撮影した画像を用いてアクセッサ11を制御するための移動用テーブルT2bは、事前に、例えばパーソナルコンピュータ60(以下、PC60と呼ぶ)におけるハードディスクに記憶されているものとする。当該移動用テーブルT2bも、移動用テーブルT2aと同様の情報が記録されている。ただし、移動用テーブルT2aと移動用テーブルT2bとでは、1座標分の座標距離に対応する画像中の画素数分の撮影位置の移動をアクセッサ11のモータに指示するための基準信号の出力回数が異なっている。
The moving table T2a shown in FIG. 6 is a moving table T2 for controlling the
Here, a moving table T2b for controlling the
図7は、本発明の実施形態による補正装置1の処理フローを示す図である。
次に、アクセッサ11に搭載されるカメラ6aが故障し、同じ種類のカメラ6aまたは種類の異なるカメラ6bの何れかに交換される場合を例に、実施形態による補正装置1の処理フローを説明する。
ここで、故障する前にカメラ6aを搭載したアクセッサ11に対して位置調整が行われ、カメラ6a用の移動用テーブルT2が、例えばPC60におけるハードディスクに記憶されているとする。また、カメラ6aにより撮影した治具7の画像101aが、例えばPC60におけるハードディスクに既に記憶されているとする。
FIG. 7 is a diagram showing a processing flow of the
Next, the processing flow of the
Here, it is assumed that the position adjustment is performed on the
ライブラリ装置30におけるアクセッサ11に搭載されているカメラ6aが故障した場合、保守担当者はまず、アクセッサ11に搭載されているカメラ6aを別のカメラ6bに交換する。このカメラ6bは、図4における治具7に印刷されているターゲットマーク8とバーコード9(上部バーコード9aと下部バーコード9b)との全体がカメラ6bの画角に収まる位置でアクセッサ11に固定される。
そして、保守担当者は、アクセッサ11の位置調整のために、PC60を操作し、例えばPC60のハードディスクに記憶されているアクセッサ11の位置調整のためのプログラムをアクセッサ11における記憶部5にダウンロードする操作を行う。
次に保守担当者はPC60を操作して、補正開始を指示する。するとPC60は補正開始信号をアクセッサ11に備えられた補正装置1に出力する。そして補正装置1の制御部10は補正開始信号を入力する(ステップS1)。制御部10は補正開始信号を入力すると、次にカメラ6bに撮影指示信号を出力する(ステップS2)。すると、カメラ6bはターゲットマーク8とバーコード9の印刷された治具7を撮影し、撮影により生成した画像データを補正装置1へ出力する。そして、補正装置1においては制御部10内の座標特定部2が画像データを入力する(ステップS3)。
When the camera 6a mounted on the
Then, the maintenance person operates the
Next, the maintenance person operates the
座標特定部2は、画像データを入力すると、各画素の階調が0(黒)または255(白)の間の所定のしきい値と、入力した画像データの各画素の階調とを比較する。そして、座標特定部2は、しきい値より小さい階調の画素を白に、また、しきい値より大きい階調の画素を黒に置き替えることで、元の画像を二値画像に変換する二値化処理を行う。そして、座標特定部2は、二値化処理した画像データから、事前に記憶部5が記憶している例えば図5に示す三角形のターゲットマーク8の形状や所定のバーコード9の形状と同じ形状をした黒で示される画素のまとまりをパターンマッチングにより抽出する。そして、座標特定部2は抽出した画像データから三角形のターゲットマーク8におけるA点とB点の座標と、上部バーコード9aの左上のC点と下部バーコード9bの右下のD点の座標を特定する。そして、座標特定部2は、特定したA点のX座標を座標比較部3に出力する(ステップS4)。
When the image data is input, the coordinate specifying
次に、座標比較部3は、座標特定部2の特定したA点のX座標を入力すると、そのA点のX座標と基準座標20とを比較する。この基準座標20は、例えば図5における画像101aのA点のX座標と画像101bのA点のX座標の間の原点からの距離を示す座標であるしきい値を示すX2とすればよい。そして、座標比較部3は、その比較結果を種類特定部4に出力する(ステップS5)。
Next, when the X coordinate of the point A specified by the coordinate specifying
種類特定部4は、座標比較部3の比較結果を入力すると、その比較結果に基づいて、アクセッサ11に搭載されているカメラ6がカメラ6aであるか6bであるかを判定する(ステップS6)。例えば、種類特定部4は、座標比較部3の比較結果が「基準座標20>カメラ交換後のA点のX座標」の場合、種類特定部4はカメラ6をカメラ6aと特定する。また、種類特定部4は、「カメラ交換後のA点のX座標≧基準座標20」の場合、種類特定部4はカメラ6をカメラ6bと特定する(ステップS6)。なお、種類特定部4がアクセッサ11に搭載されているカメラ6の種類をカメラ6aと特定した場合、カメラ交換前に搭載していたカメラ6aと同じ種類のカメラ6aであるため、アクセッサ11の位置調整に移動用テーブルT2aはそのまま使用することができる。
When the
そして、種類特定部4がアクセッサ11に搭載されているカメラ6の種類をカメラ6bと特定した場合、種類特定部4はテーブル補正部12にカメラ6b用の移動用テーブルT2bをダウンロードする命令信号を出力する(ステップS7)。
そして、テーブル補正部12がPC60からアクセッサ11の位置調整に使用するカメラ6b用の移動用テーブルT2bをダウンロードし、記憶部5に記憶している移動用テーブルT2aと置き替えて記録する(ステップS8)。
このような処理により、制御部10は交換後の異なる種類のカメラ6bを用いてアクセッサ11の移動制御を行う場合にも、当該カメラ6bに適切な移動用テーブルT2bを用いるので、アクセッサ11の移動制御を適切に行うことができる。
When the
Then, the
By such processing, the
そして、ステップS6において、「基準座標20>カメラ交換後のA点のX座標」であると判定したことにより、アクセッサ11に取り付けられているカメラ6がカメラ6aであると特定した場合、または、ステップS8の後、制御部10はステップS5で座標特定部2が抽出した垂直に並ぶA点とB点のX座標の差を演算する。そして、制御部10は、その演算結果が規定値に収まっているか否かを判定する(ステップS9)。
In step S6, when it is determined that “reference coordinate 20> X coordinate of point A after camera replacement”, the
制御部10は、A点とB点のX座標の差が規定値に収まっていると判定した場合、カメラ6は正しい取り付け角度で取り付けられていると判定する(ステップS10)。他方、制御部10は、A点とB点のX座標の差が規定値に収まっていないと判定した場合、カメラ6は正しい取り付け角度で取り付けられていないと判定する。すると、制御部10は、カメラ6の取り付け不具合を示す警告メッセージを画面上に表示する(ステップS11)。
その場合、保守担当者は警告メッセージを見てカメラ6の取り付けをやり直す。
When the
In that case, the maintenance person sees the warning message and reattaches the
以上の補正装置1の処理によれば、補正装置1は、アクセッサ11に搭載するカメラ6aを交換した場合、カメラ6の種類を特定し、そのカメラ6に適した移動用テーブルT2をPC60からダウンロードする。この補正装置1の処理により、アクセッサ11の制御部10は、そのダウンロードした移動用テーブルT2を用いて適切にアクセッサ11の移動制御を行うことができる。
According to the processing of the
上述の実施形態における説明では、画像を二値化処理してターゲットマーク8やバーコード9の座標の特定を行ったが、二値化処理の代わりに注目画素とその近傍の階調値を用いて演算するエッジ検出技術を用いてターゲットマーク8やバーコード9の座標を特定してもよい。
In the description of the above-described embodiment, the coordinates of the
また、上述の実施形態における説明では、座標比較部3はターゲットマーク8におけるA点のX座標と1つのしきい値とを比較したが、カメラ6の種類が複数ある場合、複数のしきい値を設定し、それらのしきい値とA点のX座標を比較してもよい。そして種類特定部4は座標比較部3の比較結果に基づいてカメラ6を特定してもよい。例えばX座標のしきい値aとしきい値b(しきい値a<しきい値b)と、A点のXa座標とを用いて、Xa<しきい値aである場合、しきい値a≦Xa<しきい値bである場合、しきい値b≦Xaである場合の何れかの判定結果に基づいて、種類特定部4は3種類のカメラ6から1種類のカメラ6を特定することができる。
In the description of the above embodiment, the coordinate
なお本発明の実施形態について説明したが、上述の位置調整装置は内部に、コンピュータシステムを有している。そして、上述した処理の過程は、プログラムの形式でコンピュータ読み取り可能な記録媒体70に記憶されており、このプログラムをコンピュータが読み出して実行することによって、上記処理が行われる。ここでコンピュータ読み取り可能な記録媒体70とは、磁気ディスク、光磁気ディスク、CD−ROM、DVD−ROM、半導体メモリ等をいう。また、このコンピュータプログラムを通信回線によってコンピュータに配信し、この配信を受けたコンピュータが当該プログラムを実行するようにしても良い。
In addition, although embodiment of this invention was described, the above-mentioned position adjustment apparatus has a computer system inside. The process described above is stored in a computer-
また、上記プログラムは、前述した機能の一部を実現するためのものであっても良い。さらに、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であっても良い。 The program may be for realizing a part of the functions described above. Furthermore, what can implement | achieve the function mentioned above in combination with the program already recorded on the computer system, and what is called a difference file (difference program) may be sufficient.
1・・・補正装置
2・・・座標特定部
3・・・座標比較部
4・・・種類特定部
5・・・記憶部
6・・・カメラ
7・・・治具
8・・・ターゲットマーク
9・・・バーコード
9a・・・上部バーコード
9b・・・下部バーコード
10・・・制御部
11・・・アクセッサ
12・・・テーブル補正部
20・・・基準座標
30・・・ライブラリ装置
40・・・セル
50・・・ドライブ装置
60・・・パーソナルコンピュータ
70・・・記録媒体
80・・・ライブラリ
101a、101b・・・画像
T2、T2a、T2b・・・移動用テーブル
DESCRIPTION OF
Claims (8)
前記アクセッサに設けられた治具を撮影した撮影装置によって生成された画像データの中から、前記治具に設けられたターゲットマークの画像データにおける座標を特定する座標特定部と、
前記ターゲットマークの座標と基準座標とを比較する座標比較部と、
前記座標比較部が行った比較結果に基づいて前記撮影装置の種類を特定する種類特定部と、
を備え、
前記撮影装置は、前記アクセッサに設けられる、
ことを特徴とする補正装置。 A correction device for adjusting the position of an accessor in a library device,
From the image data generated by the photographing apparatus photographing a jig provided on the accessor, and the coordinate specifying unit for specifying a coordinate in the image data of the target mark formed on the jig,
A coordinate comparison unit that compares the coordinates of the target mark with reference coordinates;
A type identifying unit that identifies the type of the imaging device based on a comparison result performed by the coordinate comparison unit;
Equipped with a,
The photographing device is provided in the accessor;
A correction device characterized by that.
前記種類特定部が特定した撮影装置の種類に基づいて前記移動用テーブルを補正するテーブル補正部と、
を備えることを特徴とする請求項1に記載の補正装置。 A coordinate distance indicated by a predetermined number of coordinates when one pixel in the image data is one coordinate, and a reference signal for instructing movement of the imaging position of the imaging apparatus by the number of pixels corresponding to the predetermined coordinate distance Using a moving table indicating a correspondence relationship with the number of outputs, and a moving device attached to the photographing device that holds the recording medium and moves to a predetermined position,
A table correcting unit that corrects the moving table based on the type of the imaging device specified by the type specifying unit;
The correction apparatus according to claim 1, further comprising:
ことを特徴とする請求項1または請求項2に記載の補正装置。 The coordinate comparison unit uses a threshold coordinate indicating a distance from an origin in the image data as the reference coordinate, and compares the coordinate of the target mark with the threshold. Or the correction apparatus of Claim 2.
ことを特徴とする請求項1から請求項3の何れか一項に記載の補正装置。 The coordinate specifying unit converts image data generated by a photographing device that has photographed the jig into binarized image data, and is provided in the jig previously recorded in the storage unit from the binarized image data. The shape of at least one of the target mark and the predetermined barcode is extracted using a pattern matching technique, and the coordinates of the predetermined position indicated by the shape of at least one of the target mark and the barcode are specified. The correction apparatus according to any one of claims 1 to 3, wherein the correction apparatus includes:
ことを特徴とする請求項1から請求項3の何れか一項に記載の補正装置。 The coordinate specifying unit is provided in the jig that has converted the image data generated by the imaging device that has captured the jig into image data that has been edge-detected, and has been previously recorded in the storage unit from the image data that has been edge-detected . Extracting a shape of at least one of the target mark and the predetermined barcode using a pattern matching technique, and specifying coordinates of a predetermined position indicated by the shape of at least one of the target mark and the barcode; The correction device according to any one of claims 1 to 3, wherein
前記座標特定部は、前記ターゲットマークの垂直に並ぶ2点の座標を特定し、
当該2点の座標から前記撮影装置の取り付け角度の良否を判断する制御部を備える、
ことを特徴とする請求項1から請求項5の何れか一項に記載の補正装置。 The target mark has a shape including two points arranged vertically,
The coordinate specifying unit specifies the coordinates of two points vertically aligned with the target mark ,
A control unit that determines the quality of the mounting angle of the imaging device from the coordinates of the two points;
The correction apparatus according to claim 1, wherein the correction apparatus is a correction apparatus.
前記アクセッサに設けられた治具を撮影した撮影装置によって生成された画像データの中から、前記治具に設けられたターゲットマークの画像データにおける座標を特定し、
前記ターゲットマークの座標と基準座標とを比較し、
前記比較による比較結果に基づいて前記アクセッサに設けられた前記撮影装置の種類を特定する、
ことを特徴とする補正方法。 A correction method for adjusting the position of an accessor in a library device,
From the image data generated by the photographing device that photographed the jig provided in the accessor, specify the coordinates in the image data of the target mark provided in the jig ,
Compare the coordinates of the target mark with the reference coordinates,
Identifying the type of the imaging device provided in the accessor based on the comparison result of the comparison;
A correction method characterized by that.
前記アクセッサに設けられた治具を撮影した撮影装置によって生成された画像データの中から、前記治具に設けられたターゲットマークの画像データにおける座標を特定する座標特定手段、
前記ターゲットマークの座標と基準座標とを比較する座標比較手段、
前記比較による比較結果に基づいて前記アクセッサに設けられた前記撮影装置の種類を特定する種類特定手段、
として機能させることを特徴とするプログラム。 A computer of a correction device for adjusting the position of the accessor in the library device ;
From the image data generated by the photographing apparatus photographing a jig provided on the accessor, coordinate specifying means for specifying coordinates in the image data of the target mark formed on the jig,
Coordinate comparison means for comparing the coordinates of the target mark with reference coordinates;
Type specifying means for specifying the type of the imaging device provided in the accessor based on a comparison result obtained by the prior Symbol comparison,
A program characterized by functioning as
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012215339A JP6004472B2 (en) | 2012-09-28 | 2012-09-28 | Correction apparatus, correction method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012215339A JP6004472B2 (en) | 2012-09-28 | 2012-09-28 | Correction apparatus, correction method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2014071921A JP2014071921A (en) | 2014-04-21 |
JP6004472B2 true JP6004472B2 (en) | 2016-10-12 |
Family
ID=50746976
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012215339A Active JP6004472B2 (en) | 2012-09-28 | 2012-09-28 | Correction apparatus, correction method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6004472B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022070939A1 (en) * | 2020-09-30 | 2022-04-07 | ソニーグループ株式会社 | Recording medium switching device, method for operating recording medium switching device, and program |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3720511B2 (en) * | 1997-02-21 | 2005-11-30 | シャープ株式会社 | Camera adjustment image processing apparatus and camera adjustment method using the same |
US6331714B1 (en) * | 1999-04-13 | 2001-12-18 | Hewlett-Packard Company | Guidance system and method for an automated media exchanger |
JP2004093265A (en) * | 2002-08-30 | 2004-03-25 | Fujitsu Ltd | Position detection device and library device |
US7117068B2 (en) * | 2003-09-29 | 2006-10-03 | Quantum Corporation | System and method for library robotics positional accuracy using parallax viewing |
JP4394064B2 (en) * | 2005-11-18 | 2010-01-06 | 富士通株式会社 | Tilt detection method, tilt detection device, object position control method, and position control device |
WO2009050792A1 (en) * | 2007-10-16 | 2009-04-23 | Fujitsu Limited | Alignment adjusting device, library device and alignment adjusting method |
JP2009217912A (en) * | 2008-03-12 | 2009-09-24 | Nec Personal Products Co Ltd | Device and method of adjusting stop position of accessor mechanism |
JP5813939B2 (en) * | 2010-09-30 | 2015-11-17 | Necプラットフォームズ株式会社 | Library device, accessor, and positioning method in library device |
-
2012
- 2012-09-28 JP JP2012215339A patent/JP6004472B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2014071921A (en) | 2014-04-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11164323B2 (en) | Method for obtaining image tracking points and device and storage medium thereof | |
CN108229475B (en) | Vehicle tracking method, system, computer device and readable storage medium | |
US9319622B2 (en) | Video projector with automated image enhancement | |
JP3825935B2 (en) | Image processing apparatus, image processing method, recording medium, and image processing system | |
US9930306B2 (en) | Image processing apparatus, image processing method, and computer-readable storage medium | |
KR20140081678A (en) | Projection-type image display device, image projection method, and computer program | |
US10083365B2 (en) | Optical reading of external segmented display | |
US10313596B2 (en) | Method and apparatus for correcting tilt of subject ocuured in photographing, mobile terminal, and storage medium | |
JP2010028411A (en) | Image correcting apparatus, image correcting method, projector and projection system | |
JP2008009849A (en) | Person tracking device | |
US20180220113A1 (en) | Projection display system, information processing apparatus, information processing method, and storage medium therefor | |
JP2014063265A (en) | Image processor, image processing method and program | |
US20110304730A1 (en) | Pan, tilt, and zoom camera and method for aiming ptz camera | |
CN112017210A (en) | Target object tracking method and device | |
JP6336341B2 (en) | Imaging apparatus, control method therefor, program, and storage medium | |
CN112906429A (en) | Image-text image identification system and method | |
JP6004472B2 (en) | Correction apparatus, correction method, and program | |
CN108263077A (en) | Method for printing screen, device, terminal device and the storage medium of mobile phone screen | |
US9785839B2 (en) | Technique for combining an image and marker without incongruity | |
US20230114980A1 (en) | System and method for processing media for facial manipulation | |
CN115684012A (en) | Visual inspection system, calibration method, device and readable storage medium | |
US20180220077A1 (en) | Information processing apparatus having camera function, display control method thereof, and storage medium | |
JP5164658B2 (en) | Image processing apparatus, image processing method, and program | |
KR101790994B1 (en) | 360-degree video implementing system based on rotatable 360-degree camera | |
CN115803610A (en) | Image acquisition method and device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20140917 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20150807 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20160516 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20160524 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20160715 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20160809 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160901 |
|
R150 | Certificate of patent (=grant) or registration of utility model |
Ref document number: 6004472 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |