JP2010008352A - Size measuring method and size measuring device - Google Patents
Size measuring method and size measuring device Download PDFInfo
- Publication number
- JP2010008352A JP2010008352A JP2008170741A JP2008170741A JP2010008352A JP 2010008352 A JP2010008352 A JP 2010008352A JP 2008170741 A JP2008170741 A JP 2008170741A JP 2008170741 A JP2008170741 A JP 2008170741A JP 2010008352 A JP2010008352 A JP 2010008352A
- Authority
- JP
- Japan
- Prior art keywords
- measurement object
- image
- dimension
- scale
- space
- 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.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims description 27
- 238000005259 measurement Methods 0.000 claims abstract description 102
- 238000012545 processing Methods 0.000 claims abstract description 47
- 238000003384 imaging method Methods 0.000 claims abstract description 28
- 239000000284 extract Substances 0.000 claims description 11
- 239000003550 marker Substances 0.000 description 11
- 230000006870 function Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 8
- 239000013598 vector Substances 0.000 description 7
- 239000011159 matrix material Substances 0.000 description 4
- 238000013519 translation Methods 0.000 description 4
- 239000002131 composite material Substances 0.000 description 2
- 230000001678 irradiating effect Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 241000406668 Loxodonta cyclotis Species 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Images
Landscapes
- Length Measuring Devices By Optical Means (AREA)
Abstract
Description
本発明は、測定対象物を撮像した画像から測定対象物の各辺の寸法を測定する寸法測定方法及び寸法測定装置に関する。 The present invention relates to a dimension measuring method and a dimension measuring apparatus for measuring the dimension of each side of a measuring object from an image obtained by imaging the measuring object.
宅配便等で荷物を送る場合、その配送料金は、当該荷物の重量と共に荷物の長さ、幅、高さを合計した値により決定される場合が多い。そのために、通常の宅配便等の荷物の配送を受付ける業務においては、荷物の長さ、幅、高さの寸法を測定するために、巻尺や定規等を使用して、3方向の長さを測定している。しかしながら、巻尺や定規等を使用する場合、3方向の長さを手作業で測定しなければならないため、測定作業に時間を要するという問題がある。 When a package is sent by a courier, the delivery fee is often determined by the total length, width and height of the package along with the weight of the package. For this reason, in the business of accepting delivery of parcels such as ordinary courier services, in order to measure the length, width and height of the parcel, the length in three directions is measured using a tape measure or a ruler. Measuring. However, when using a tape measure, a ruler, or the like, there is a problem that it takes time for the measurement work because the length in three directions must be measured manually.
そこで、上記の問題を解決するために、特許文献1では、予め一辺の長さが既知の正方形のコードを備えた表示媒体が面上に印刷された荷物を前記表示媒体が印刷された面を含む方向から撮影した第1の画像及び前記荷物の他の面を含む方向から撮影した第2の画像から荷物の立体寸法を算出する方法が開示されている。
Therefore, in order to solve the above problem, in
また、特許文献2では、予め長さ方向、幅方向、高さ方向の3方向の長さが既知の立体形状のマーカを寸法測定の対象となる貨物の角に取り付け、マーカが取り付けられている貨物の角を含む画像を撮影し、前記マーカの長さに基づいて貨物の各辺の寸法を求めている。
しかしながら、特許文献1では、荷物の寸法を測定するために、表示媒体が印刷された面及び他の面を撮影した2つの画像が必要となる。そのため、カメラを移動させて2回撮影を行うか、予め2台のカメラを設置しておく必要がある。また、測定精度を上げるために、夫々の面の真正面から撮影する必要がある。更に又、正方形のコードを備えた表示媒体を予め荷物に印刷しておかなければならないという手数を要する。
However, in
特許文献2では、貨物の各辺の寸法を測定するために、マーカは、長さ、幅、高さの三方向の長さが既知である必要がある。また、マーカは、貨物の角に合わせて取り付けられる必要がある。そのため、マーカを配置する位置は、限定されることになり、マーカの位置がずれた場合には、貨物の各辺の正確な寸法を測定することができないという問題がある。
In
本発明は、上記のような種々の課題を解決することを目的としてなされたものであって、測定対象物及び該測定対象物の面上又は該測定対象物の面の延長平面上に配置された基準長を示す基準尺を含む1つの画像から前記測定対象物の各辺の寸法を測定することができる寸法測定方法及び寸法測定装置を提供することを目的とする。 The present invention has been made for the purpose of solving the various problems as described above, and is arranged on a measurement object and the surface of the measurement object or an extended plane of the surface of the measurement object. Another object of the present invention is to provide a dimension measuring method and a dimension measuring apparatus capable of measuring the dimension of each side of the measurement object from one image including a reference scale indicating a reference length.
上記目的を達成するために、本発明に係る寸法測定方法は、直方体形状の測定対象物の各辺の寸法を測定する寸法測定方法において、前記測定対象物の面上又は該測定対象物の面の延長平面上に基準長を示す基準尺を配置し、前記測定対象物及び前記基準尺の全体が収まり、且つ、前記測定対象物の2つ以上の面が写るように撮影して、1つの画像を生成し、生成した前記画像から前記測定対象物の頂点及び前記基準尺を抽出し、抽出した前記頂点の前記画像平面上における2次元座標から前記測定対象物の3次元空間における位置・姿勢及び寸法のパラメータを求め、前記基準尺を用いて、実空間における距離と前記3次元空間における距離との比率である空間のスケールを求め、該空間のスケール及び前記パラメータに基づいて、前記測定対象物の各辺の寸法を算出することを特徴としている。 In order to achieve the above object, a dimension measuring method according to the present invention is a dimension measuring method for measuring a dimension of each side of a rectangular parallelepiped measuring object on the surface of the measuring object or the surface of the measuring object. A reference scale indicating a reference length is placed on the extended plane of the image, and the measurement object and the whole of the reference scale are accommodated, and two or more surfaces of the measurement object are photographed. An image is generated, the vertex of the measurement object and the reference scale are extracted from the generated image, and the position / posture of the measurement object in a three-dimensional space from the two-dimensional coordinates of the extracted vertex on the image plane And a dimension parameter, and using the reference scale, a space scale that is a ratio of a distance in real space and a distance in the three-dimensional space is determined, and the measurement is performed based on the space scale and the parameter. It is characterized by calculating the size of each side of the object.
また、基準尺として、各マーカ間の距離が既知である2つ以上のマーカを備えているもの又は寸法が既知のパターンを備えているものを用いることができる。 In addition, as the reference scale, one having two or more markers whose distances between the markers are known or one having a pattern whose dimensions are known can be used.
また、本発明に係る寸法測定方法は、直方体形状の測定対象物の各辺の寸法を測定する寸法測定方法において、前記測定対象物の面上又は該測定対象物の面の延長平面上に寸法が既知の基準パターンを投影し、前記測定対象物及び前記基準パターンの全体が収まり、且つ、前記測定対象物の2つ以上の面が写るように撮影して、1つの画像を生成し、生成した前記画像から前記測定対象物の頂点及び前記基準パターンを抽出し、抽出した前記頂点の前記画像平面上における2次元座標から前記測定対象物の3次元空間における位置・姿勢及び寸法のパラメータを求め、前記基準尺を用いて、実空間における距離と前記3次元空間における距離との比率である空間のスケールを求め、該空間のスケール及び前記パラメータに基づいて、前記測定対象物の各辺の寸法を算出することを特徴としている。 Further, the dimension measuring method according to the present invention is a dimension measuring method for measuring a dimension of each side of a rectangular parallelepiped measuring object, wherein the dimension is measured on the surface of the measuring object or an extended plane of the surface of the measuring object. Project a known reference pattern, shoot so that the whole of the measurement object and the reference pattern can be accommodated, and two or more surfaces of the measurement object can be captured, and generate one image. The vertex of the measurement object and the reference pattern are extracted from the obtained image, and the parameters of the position, orientation and dimensions of the measurement object in the three-dimensional space are obtained from the two-dimensional coordinates of the extracted vertex on the image plane. Then, using the reference scale, a space scale that is a ratio of the distance in the real space and the distance in the three-dimensional space is obtained, and the measurement is performed based on the space scale and the parameter. It is characterized by calculating the size of each side of the elephant thereof.
本発明に係る寸法測定装置は、直方体形状の測定対象物の各辺の寸法を測定する寸法測定装置において、前記測定対象物及び該測定対象物の面上又は該測定対象物の面の延長平面上に予め配置された基準長を示す基準尺を含む画像を撮像する撮像手段と、該撮像手段により撮像された前記画像から前記測定対象物の頂点及び前記基準尺を抽出する画像処理手段と、抽出された前記頂点の前記画像平面上における2次元座標から前記測定対象物の3次元空間における位置・姿勢及び寸法のパラメータを求め、前記基準尺を用いて、実空間における距離と前記3次元空間における距離との比率である空間のスケールを求め、該空間のスケール及び前記パラメータに基づいて、前記測定対象物の各辺の寸法を算出する寸法算出手段と、を備えることを特徴としている。 The dimension measuring apparatus according to the present invention is a dimension measuring apparatus that measures the dimension of each side of a rectangular parallelepiped measuring object, and is an extension plane of the measuring object and the surface of the measuring object or the surface of the measuring object. An imaging unit that captures an image including a reference scale indicating a reference length arranged in advance thereon, an image processing unit that extracts a vertex of the measurement object and the reference scale from the image captured by the imaging unit; From the extracted two-dimensional coordinates of the vertex on the image plane, parameters of the position / posture and dimensions of the measurement object in the three-dimensional space are obtained, and the distance in the real space and the three-dimensional space are calculated using the reference scale. A size calculation means for obtaining a scale of a space that is a ratio to the distance in the space and calculating a size of each side of the measurement object based on the scale of the space and the parameter. It is characterized.
また、基準尺として、各マーカ間の距離が既知である2つ以上のマーカを備えているもの又は寸法が既知のパターンを備えているものを用いることができる。 In addition, as the reference scale, one having two or more markers whose distances between the markers are known or one having a pattern whose dimensions are known can be used.
また、本発明に係る寸法測定装置は、直方体形状の測定対象物の各辺の寸法を測定する寸法測定装置において、寸法が既知の基準パターンを投影する投影手段と、前記測定対象物及び該測定対象物の面上又は該測定対象物の面の延長平面上に前記投影手段により投影された前記基準パターンを含む画像を撮像する撮像手段と、該撮像手段により撮像された前記画像から前記測定対象物の頂点及び前記基準パターンを抽出する画像処理手段と、抽出された前記頂点の前記画像平面上における2次元座標から前記測定対象物の3次元空間における位置・姿勢及び寸法のパラメータを求め、前記基準尺を用いて、実空間における距離と前記3次元空間における距離との比率である空間のスケールを求め、該空間のスケール及び前記パラメータに基づいて、前記測定対象物の各辺の寸法を算出する寸法算出手段と、を備えることを特徴としている。 Further, the dimension measuring apparatus according to the present invention is a dimension measuring apparatus that measures the dimension of each side of a rectangular parallelepiped measuring object, a projection unit that projects a reference pattern with a known dimension, the measuring object, and the measurement object An imaging unit that captures an image including the reference pattern projected by the projection unit on the surface of the object or on an extended plane of the surface of the measurement object, and the measurement target from the image captured by the imaging unit Image processing means for extracting a vertex of the object and the reference pattern, and determining parameters of a position / attitude and a dimension of the measurement object in a three-dimensional space from a two-dimensional coordinate on the image plane of the extracted vertex, A reference scale is used to obtain a space scale that is a ratio of the distance in the real space and the distance in the three-dimensional space, and is based on the scale of the space and the parameter. Te, it is characterized by and a dimension calculation means for calculating the size of each side of the measurement object.
また、前記投影手段として、複数のレーザ光を平行に照射するものを用いることができる。 Moreover, what irradiates a some laser beam in parallel as said projection means can be used.
また、前記寸法測定装置において、前記撮像手段により撮像された画像を表示する表示手段と、該表示手段に表示された前記画像から前記測定対象物を指定する指定手段と、を更に備えることもできる。 The dimension measuring apparatus may further include display means for displaying an image picked up by the image pickup means, and specifying means for specifying the measurement object from the image displayed on the display means. .
また、前記撮像手段として、CCDカメラ又はCMOSカメラを用いることができる。また、CCDカメラは、1次元バーコード及び/又は2次元バーコードを読取る機能を有することが好適である。 Further, a CCD camera or a CMOS camera can be used as the imaging means. The CCD camera preferably has a function of reading a one-dimensional barcode and / or a two-dimensional barcode.
本発明に係る寸法測定方法では、宅配便等の荷物の配送料金を決定するために、荷物の各辺の寸法を測定する際、当該荷物が直方体形状の測定対象物であれば、荷物の面上又は荷物の面の延長平面上に基準長を示す基準尺を配置し、荷物及び前記基準尺の全体が収まり、且つ、前記荷物の2つ以上の面が写るように撮影した1つの画像から、前記荷物の各辺の寸法を測定することができる。そのため、荷物の長さ方向、幅方向、高さ方向に関して、それぞれ一方向ずつ測定する必要がなく、1つの画像から荷物の各辺の寸法を測定することができるので、作業効率を格段に向上させることができる。また、基準尺は、荷物の面上又は荷物の面の延長平面上であれば、どのような方向に配置しても良いので、基準尺の配置位置等を気にすることなく、簡易な作業で荷物の各辺の寸法を測定することができ、作業効率の向上を図ることができる。 In the dimension measuring method according to the present invention, when measuring the dimensions of each side of a package in order to determine the delivery fee of the package such as courier, if the package is a rectangular parallelepiped measurement object, the surface of the package From a single image taken so that the reference scale indicating the reference length is placed on the upper surface or an extended plane of the surface of the luggage, the entire luggage and the reference scale are accommodated, and two or more surfaces of the luggage are reflected The dimensions of each side of the luggage can be measured. Therefore, there is no need to measure each direction in the length direction, width direction, and height direction of the load, and the dimensions of each side of the load can be measured from one image, so the work efficiency is greatly improved. Can be made. In addition, since the reference scale may be arranged in any direction as long as it is on the surface of the luggage or an extended plane of the luggage surface, simple work can be done without worrying about the position of the reference scale. Thus, the dimensions of each side of the luggage can be measured, and the work efficiency can be improved.
また、基準尺が、各マーカ間の距離が既知である2つ以上のマーカを備えるものであれば、各マーカ間の距離を利用することにより、測定対象物の各辺の寸法を測定することができる。 In addition, if the reference scale includes two or more markers whose distances between the markers are known, the dimensions of each side of the measurement object are measured by using the distances between the markers. Can do.
また、基準尺は、寸法が既知のパターンを備えるものでも良く、例えば、宅配物の送り状等のように寸法が予め決まっているものをパターンとして利用することにより、測定対象物の各辺の寸法を測定することもできるので、より作業効率を向上させることができる。 In addition, the reference scale may be provided with a pattern whose dimensions are known. For example, the dimension of each side of the measurement object is obtained by using a pattern whose dimensions are determined in advance, such as an invoice for delivery. Therefore, working efficiency can be further improved.
また、寸法が既知の基準パターンを測定対象物の面上又は該測定対象物の面の延長平面上に投影する場合も、基準尺を配置する場合と同様に、測定対象物及び前記基準パターンの全体が収まり、且つ、前記測定対象物の2つ以上の面が写るように撮影した1つの画像から、前記測定対象物の各辺の寸法を測定することができるので、寸法測定の作業効率を向上させることができる。 In addition, when projecting a reference pattern with a known dimension on the surface of the measurement object or on an extended plane of the surface of the measurement object, the measurement object and the reference pattern may be It is possible to measure the dimensions of each side of the measurement object from one image that is captured so that two or more surfaces of the measurement object are captured, so that the work efficiency of the dimension measurement is improved. Can be improved.
本発明に係る寸法測定装置によれば、撮像手段により測定対象物及び該測定対象物の面上又は該測定対象物の面の延長平面上に予め配置された基準尺を含む画像を撮像すれば、測定対象物の各辺の寸法を算出することができるので、寸法測定の作業を効率良く行うことができる。 According to the dimension measuring apparatus according to the present invention, if an image including a reference object preliminarily arranged on the surface of the measuring object and the surface of the measuring object or on the extended plane of the surface of the measuring object is captured by the image pickup means. Since the dimension of each side of the measurement object can be calculated, the dimension measurement work can be performed efficiently.
また、本発明に係る寸法測定装置によれば、撮像手段により測定対象物及び該測定対象物の面上又は該測定対象物の面の延長平面上に投影手段により投影された前記基準パターンを含む画像を撮像すれば、測定対象物の各辺の寸法を算出することができるので、寸法測定の作業を効率良く行うことができる。 The dimension measuring apparatus according to the present invention includes the reference pattern projected by the projecting unit on the measurement object and the surface of the measurement object or an extended plane of the surface of the measurement object by the imaging unit. If an image is taken, the dimension of each side of the measurement object can be calculated, so that the dimension measurement work can be performed efficiently.
また、前記寸法測定装置において、前記撮像手段により撮像された画像を表示する表示手段と、該表示手段に表示された前記画像から前記測定対象物を指定する指定手段と、を更に備えることにより、画像を撮像する環境や背景等の影響により画像処理手段による測定対象物の抽出が行えない場合でも、測定者が表示手段に表示された画像から測定対象物を指定することができる。これにより、測定者が測定対象物を判断できる程度の画像であれば、画像処理手段により測定対象物の頂点が抽出できなかった場合でも、測定対象物の各辺の寸法を算出することが可能になる。 Further, in the dimension measuring apparatus, by further comprising display means for displaying an image picked up by the image pickup means, and specifying means for specifying the measurement object from the image displayed on the display means, Even when the measurement object cannot be extracted by the image processing means due to the influence of the environment where the image is captured, the background, or the like, the measurer can specify the measurement object from the image displayed on the display means. As a result, the dimensions of each side of the measurement object can be calculated even if the image processing means cannot extract the vertices of the measurement object as long as the image can be determined by the measurer. become.
また、撮像手段として、1次元バーコード及び/又は2次元バーコードを読取る機能を有するCCDカメラを用いることにより、例えば、1次元バーコード又は2次元バーコードに測定対象物に関する情報を予め格納し、該測定対象物に貼付しておけば、CCDカメラからその情報を読取ることで、測定対象物の種類等を把握することも可能となる。また、CCDカメラの撮像機能を共有することにより、ハード機能を単純化することができる。 In addition, by using a CCD camera having a function of reading a one-dimensional barcode and / or a two-dimensional barcode as an imaging unit, for example, information on a measurement object is stored in advance in the one-dimensional barcode or the two-dimensional barcode. If it is attached to the measurement object, the type of the measurement object can be grasped by reading the information from the CCD camera. Also, by sharing the imaging function of the CCD camera, the hardware function can be simplified.
以下、本発明の第1の実施形態に係る寸法測定方法及び寸法測定装置について、図面に基づき説明する。本発明の第1の実施形態に係る寸法測定装置100は、測定対象物となる略直方体形状の荷物1の各辺の寸法を測定するためのものであり、図1に示すように、荷物1を撮像するための撮像手段20と、該撮像手段20に接続されたコンピュータ30を備えている。
Hereinafter, a dimension measuring method and a dimension measuring apparatus according to a first embodiment of the present invention will be described with reference to the drawings. The
図2に示すように、コンピュータ30は、制御部(CPU:Central Processing Unit)31、入出力インタフェース32、画像処理部(画像処理手段)33、操作部34、表示部35、画像メモリ36、RAM(Random Access Memory)37、及びROM(Read Only Memory)38等を備えたものであって、各部31〜38はバス39を介して通信可能に接続されている。
As shown in FIG. 2, a
撮像手段20は、測定対象物となる荷物1等の画像を撮像するものであり、CCDカメラ20により構成されている。具体的には、2次元にCCD(Charge Coupled Device:電荷結合素子)画素が配置されたCCDセンサを用いたデジタルカメラ或いはデジタルビデオカメラ等から成る。CCDカメラ20で撮像された画像は、入出力インタフェース32を介してコンピュータ30に自動的に取込まれ、画像処理部33に出力される。尚、撮像手段20は、CCDカメラ20に限定されるものではなく、CMOSカメラ或いはその他の撮像素子を備えるものを用いることも可能である。
The imaging means 20 captures an image of the
制御部31は、ROM38に予め格納されている制御プログラムに従って寸法測定装置100を構成する各部の動作の制御や後述する画像処理部33での所定の画像処理により得られる画像処理データ及びRAM38に予め格納されているデータに基づいて、荷物1の各辺の寸法を算出する処理(寸法算出手段31a)等を行う。
The
入出力インタフェース32は、各種データのやり取り等を行うためのものであり、CCDカメラ20で撮像された画像等は、この入出力インタフェース32を介して、コンピュータ30に取込まれる。
The input /
画像処理部33は、CCDカメラ20から出力された画像に対して所定の画像処理を行う。CCDカメラ20は、レンズ歪み等の各種の幾何学的な歪みにより生じる画像のゆがみ等、一定固有の特性を有しており、これらの特性を校正するための内部パラメータがRAM37に格納されている。画像処理部33では、計測精度を向上させるために、CCDカメラ20から出力された画像に対して、CCDカメラ20の内部パラメータに基づいて、レンズ歪みの補正処理を行った画像処理データ等を生成する。
The
操作部34は、各種の設定等を行うためのものであり、例えば、後述する図1に示す基準尺2の長さのデータ等をRAM37に書込む作業等の所定の入力を行うことができる。表示部35は、液晶ディスプレイ(LCD:Liquid Crystal Display)又はCRT(Cathod Ray Tube)ディスプレイ等の表示装置から構成されており、CCDカメラ20により撮像された画像や荷物1の各辺の寸法を算出した結果等を表示する。
The
画像メモリ36は、CCDカメラ20により撮像された画像や画像処理部33にて画像処理された画像処理データ等を格納する。
The
RAM37は、寸法測定装置100の処理動作に用いる設定データや動作データ等の各種データを読出し及び書込み可能な状態で格納するメモリであり、例えば、CCDカメラ20の内部パラメータや寸法を算出する際に用いる基準尺2の長さを示すデータ等を格納している。
The
ROM38は、制御部31により寸法測定装置100を構成する各部の動作を制御するための各種プログラムを格納するメモリであり、荷物1の各辺の寸法を算出するためのプログラム等を格納している。
The
本実施形態に係る寸法測定方法は、このような寸法測定装置100によって、測定対象となる荷物1の各辺の寸法を測定するものである。尚、荷物1は、図1に示すように立方体を含む直方体形状で形成されるものである。
The dimension measuring method according to the present embodiment measures the dimensions of each side of the
まず、荷物1の各辺の寸法を測定する際、測定者は、図1に示すように、荷物1の上面4に2つのマーカ3をそれぞれ両端付近に備える基準尺2を配置する。この際、測定者は、基準尺2を上面4の辺と平行になるように配置する必要はなく、図1に示すように上面4上の任意の位置に基準尺2を配置することができる。以下、寸法測定装置100を用いて実行される寸法測定方法の流れについて図4のフローチャートを用いて説明する。尚、寸法測定装置100が行う以下の処理動作は、ROM38に格納されるプログラムに基づいて、制御部31が発行する命令に従って、行われるものである。
First, when measuring the dimension of each side of the
S1では、測定者は、CCDカメラ20により荷物1及び上面4に配置された基準尺2の全体が収まり、且つ、荷物1の少なくとも2つの面が写る方向から撮像する。尚、撮像された画像は、表示部35で確認することができ、撮像された画像に荷物1の全体が収まってない場合や荷物1の面が1つしか写っていない場合等は、再びCCDカメラ20により画像を撮像する。
In S <b> 1, the measurer takes an image from the direction in which the whole of the
図3に示すように、CCDカメラ20により撮像された画像が、荷物1及び上面4に配置された基準尺2の全体が収まり、且つ、荷物1の2つ以上の面を含むものであれば、その画像をコンピュータ30の画像処理部33に出力する。尚、ここでは、図3に示すように、荷物1の上面4、正面5、側面6の3つの面を含む画像を例に説明する。
As shown in FIG. 3, if the image captured by the
次に、S2では、画像処理部33が、図5に示すようにCCDカメラ20で撮像された画像から背景部分と荷物1の境界線、荷物1の内部輪郭線、及び基準尺2に備えられた2つのマーカ3の射影点Q1,Q2を抽出する。そして、画像処理部33は、抽出された境界線及び内部輪郭線のそれぞれの交点を抽出することにより荷物1の頂点P1〜P7を抽出する。尚、図5では、画像平面Iに射影された荷物1の7個の頂点P1〜P7全てを抽出した例を示しているが、全ての頂点を抽出する必要はなく、後述するように画像の主点座標及びCCDカメラの焦点距離が分かっている場合には、荷物1の1つの面に属する3個の頂点と他の面に属する1個の頂点を合わせた4個の頂点のみを抽出すれば良い。
Next, in S2, the
そして、S3では、S2で抽出された荷物1の頂点P1〜P7の2次元座標を基に制御部31の寸法算出手段31aが、図3に示す荷物1の3次元空間における3次元位置・姿勢及び寸法等のパラメータを算出する。
In S3, based on the two-dimensional coordinates of the vertices P1 to P7 of the
具体的に寸法算出手段31aでは、図3に示すように、ワールド座標系の原点(0,0,0)を荷物1の中心に設定し、荷物1の長さ方向、幅方向、高さ方向にそれぞれX軸、Y軸、Z軸を設定する。そして、荷物1の長さを2L、幅を2W、高さを2Hと設定すると、3次元空間における荷物1の8個の頂点は、図3に示すようにそれぞれ(L,W,H)、(−L,W,H)、(L,−W,H)、(−L,−W,H)、(L,W,−H)、(L,−W,−H)、(−L,W,−H)、(−L,−W,−H)の3次元座標として表される。
Specifically, in the dimension calculating means 31a, as shown in FIG. 3, the origin (0, 0, 0) of the world coordinate system is set at the center of the
そして、CCDカメラ20と荷物1との間を回転行列Rと並進ベクトルtで座標変換できるとすると、荷物1の頂点が画像平面I上に射影したときの画像座標、つまり画像平面I上のP1〜P7の2次元座標ui,νiは、数式(1)に示す射影方程式で表される。但し、数式(1)におけるnは画像平面I上における荷物1の頂点の数、fはCCDカメラ20の焦点距離、u0,ν0は画像の主点座標、XiはL,W,Hで表される荷物1の頂点座標ベクトル、t1,t2,t3は並進ベクトルt=[t1,t2,t3]Tの3成分、r1,r2,r3は回転行列R=[r1,r2,r3]Tの3個の行ベクトルである。尚、頂点座標Xi,並進ベクトルt,回転行列Rは、それぞれ荷物1の寸法を表すパラメータ、荷物1の3次元位置を表すパラメータ、荷物1の姿勢を表すパラメータである。
数式(1)における未知パラメータは、焦点距離f、画像の主点座標u0,ν0、荷物1の頂点座標ベクトルXiに含まれる3個のパラメータL,W,H、CCDカメラと荷物の間の変換を表す並進ベクトルt及び回転行列Rの6個のパラメータである。つまり、数式(1)には、合計12個の未知パラメータが含まれている。一方、数式(1)により、画像平面I上に射影された荷物1の1個の頂点につき2個の射影方程式が得られる。従って、荷物1の6個の頂点を用いれば、計12個の射影方程式が得られるので、この射影方程式を解くことにより、12個の未知パラメータの解を得ることができる。
The unknown parameters in Equation (1) are the focal length f, the principal point coordinates u 0 and ν 0 of the image, the three parameters L, W, and H included in the vertex coordinate vector X i of the
尚、上記では、未知パラメータを12個としているが、画像の主点座標u0,ν0が、既知の場合には、未知パラメータは10個になる。また、焦点距離fが既知である場合には、未知パラメータは9個に減るが、3次元空間における距離に対する実空間における距離の比率である空間のスケールを任意とすることができるので、独立変数は8個になる。その場合は、荷物1の4個の頂点の座標を用いることにより、8個の射影方程式が得られるので、この射影方程式を解くことにより8個の未知パラメータの解を得ることが可能である。但し、荷物1の1つの面に属する4個の頂点だけでは、求まらない寸法があるため、少なくとも荷物1の1つの面に属する3頂点と他の面に属する1頂点を合わせた4頂点の座標を用いることが必要である。
In the above description, the number of unknown parameters is 12. However, when the principal point coordinates u0 and ν0 of the image are known, the number of unknown parameters is 10. Further, when the focal length f is known, the number of unknown parameters is reduced to nine, but the scale of the space, which is the ratio of the distance in the real space to the distance in the three-dimensional space, can be made arbitrary. Will be eight. In that case, since eight projection equations can be obtained by using the coordinates of the four vertices of the
また、数式(1)を変形すると、数式(2)が得られる。但し、siは、荷物1の各頂点の奥行を示す未知パラメータである。数式(2)の頂点座標Xiに数式(1)の射影方程式を解くことにより得られたL,W,Hをそれぞれ代入することにより、siを直接解くことができる。尚、数式(3)の逆射影誤差Cを最小化する方法で未知パラメータを求めることもできる。
数式(1)、(2)、(3)においては、3次元空間における距離に対する実空間における距離の比率である空間のスケールは決定できない。なぜなら、数式(1)の分子と分母をともに拡大又は縮小しても、画像平面Iに射影された画像座標は変わらないためである。従って、空間のスケールを別途求める必要がある。そこで、S4では、空間のスケールを求める。具体的にS4では、寸法算出手段31aは、S3で得られた荷物1の頂点の3次元座標から、荷物1の各面の方程式を求める。例えば、荷物1の座標系における上面と底面の平面方程式は、それぞれ数式(4)のように表される。また、厚みTを有する基準尺2が配置される場合、平面方程式は数式(5)のように表される。尚、基準尺2が用紙等の非常に薄い素材から成る場合には、T=0として扱うこともできるが、ここでは、基準尺2の厚みTは分かっているものとして説明する。
数式(5)をカメラ座標系Xcに変化すると、数式(6)のように表される。但し、cは回転行列Rの3列目のベクトルを表している。
そして、図6に示すように、焦点Fと2つのマーカ3の画像平面I上の射影点Q1(q1u,q1ν)、Q2(q2u,q2ν)とを結ぶ2本の直線l1,l2を引き、3次元空間における荷物1の上面4との交点R1,R2を求めることにより、マーカ3のそれぞれの3次元座標を得る。この場合、カメラ座標系Xcでは、焦点と画像平面I上の1点を結ぶ直線の式は、数式(7)で表される。但し、sは未知のパラメータである。従って、2本の直線l1,l2の式は、以下の数式(8)のように表される。但し、sq1,sq2は未知のパラメータである。そして、この数式(8)と数式(6)に示す荷物1の上面4の平面を表す方程式cT(Xc−t)=H+Tから3次元空間におけるマーカ3のそれぞれの3次元座標が求められる。このようにして求められたマーカ3のそれぞれの3次元座標からマーカ3間の距離dを求める。そして、予めRAM37に格納されている実空間におけるマーカ3間の距離Dとの比率(D/d)を計算することにより空間のスケールを算出する。
S5では、S4で得られた空間のスケール(D/d)を全ての3次元座標に乗ずることにより、実空間上の寸法における荷物1の各頂点の3次元座標及び各辺の寸法を算出する。 In S5, the scale (D / d) of the space obtained in S4 is multiplied by all three-dimensional coordinates, thereby calculating the three-dimensional coordinates of each vertex and the dimensions of each side in the dimensions in the real space. .
S6では、S5で得られた荷物1の各辺の寸法を表示部35に出力する。このようにして、寸法測定装置100は、CCDカメラ20により撮像された1つの画像から荷物1の各辺の寸法を算出することができる。これにより、寸法測定装置100を用いれば、宅配便等の配送料金を決定するために、荷物1の各辺の寸法を測定する際、荷物1の長さ方向、幅方向、高さ方向に関して、それぞれ一方向ずつ測定する必要がなく、1つの画像から荷物1の各辺の寸法を測定することができるので、作業効率を格段に向上させることができる。尚、ここでは、図3に示すように、荷物1の上面4、正面5、側面6の3つの面を含む画像を例に説明したが、基準尺2が配置されている上面4を含む2つの面が写っている画像であれば、荷物1の頂点を6個抽出することできるので、荷物1の各辺の寸法を算出することは可能である。
In S6, the dimensions of each side of the
以上の説明では、CCDカメラ20により撮像された画像から自動的に測定対象物である荷物1の各辺の寸法を算出する流れについて示したが、図4に示す画像処理部33によるS2での処理において、撮像された画像から画像処理部33が、荷物1の頂点を抽出できなかった場合には、表示部35に撮像された画像を表示するとともに、操作部34から測定対象物の頂点を指定する構成を採るようにしても良い。
In the above description, the flow of automatically calculating the dimension of each side of the
この場合、S2の処理において、画像処理部33による荷物1の頂点の抽出ができないと判断した場合には、CCDカメラ20により撮像された画像を表示部35に表示する。そして、表示部35に表示された画像から測定対象物である荷物1の頂点を測定者が、操作部34により指定する。具体的には、例えば、画像処理部33による荷物1の頂点の抽出ができないと判断された場合は、表示部35に表示された画像上にポインタを表示するように設定する。そして、測定者は、ポインタをマウス(登録商標)等のポインティングデバイスにより操作し、荷物1の頂点にポインタを合わせて指定する。これにより、荷物1の頂点を示す指定信号が生成される。
In this case, if it is determined in the process of S2 that the vertex of the
測定者は、荷物1の各辺の寸法を算出するのに必要な数の頂点を指定し終えると、操作部34により指定の終了を決定する。このようにして得られた画像上の荷物1の頂点を示す指定信号は、画像処理部33へ送られる。そして、画像処理部33は、送られた指定信号が示す画像上の点を荷物1の頂点と判断する。これにより、荷物1の頂点が抽出されたものと判断され、その後、図4に示すS3以降の処理を行う。尚、画像処理手段33が、荷物1の上面4に配置される基準パターン2に備えられたマーカ2の射影点Q1,Q2も抽出できない場合には、操作部34によりマーカ2の射影点Q1,Q2も指定できるように構成しても良い。
When the measurer finishes designating the number of vertices necessary to calculate the dimensions of each side of the
以上のような構成を備えることにより、例えば、撮像する環境の影響により画像処理部33が、撮像された画像から荷物1の頂点を抽出できなかった場合でも、測定者が表示部35に表示された画像から荷物1の頂点を操作部34により指定することで、荷物1の各辺の寸法を算出することが可能になる。尚、画像処理部33が、荷物1の頂点を抽出できた場合には、操作部34による指定を省くように構成しても構わない。また、画像処理部33が、荷物1の頂点を抽出できなかった場合には、その旨を表示部35に表示したり、不図示のスピーカー等によりエラーを報知するように構成することもできる。
With the above-described configuration, for example, even when the
本実施形態では、各マーカ3間の距離dが既知のマーカ3を2つ備えた基準尺2を利用した場合を示しているが、基準尺2は、寸法が既知である四角形や三角形等のパターンを備えたものでも良い。また、パターンとして、例えば、図7に示すように、宅配便等の荷物に貼付される大きさが規定された長方形状の送り状7等を利用することも可能である。その場合には、基準尺2を配置する作業を省くこともできるので、より効率よく測定を行うことができる。
In the present embodiment, a case is shown in which a
この場合、S2の処理において、画像処理部33は、送り状7を抽出することになる。そして、S4の処理において、送り状7の大きさが既知であることを用いて、空間のスケールを求める。
In this case, the
また、本実施形態では、基準尺2を荷物1の上面4に配置した例について説明したが、基準尺2は荷物1の正面5、側面6、又は荷物1が載置されている平面上に配置した場合でも同様に荷物1の各辺の寸法を算出することができる。例えば、荷物1が載置されている平面上に基準尺2を配置した場合、荷物1の底面と基準尺2が配置される平面とは、ほぼ同一平面上とみなすことができるので、S4の処理において基準尺2が配置される平面の平面方程式として数式(6)に示すcT(Xc−t)=T−Hを用いれば良い。
In the present embodiment, the example in which the
また、測定対象物は、荷物1のような直方体形状のものを複数積み重ねたもの或いは複数並べて配置したものであっても良い。この場合も、以上説明した方法と同様の方法により直方体形状の荷物1が複数組み合わさって構成される測定対象物の各辺の寸法を測定することが可能である。
Further, the measurement object may be a stack of a plurality of rectangular parallelepiped shapes such as the
次に、本発明の第2の実施形態に係る寸法測定装置100aについて説明する。図8に示すように、寸法測定装置100aの外観は、ハンディターミナル型のものであり、人の手で掴むことができる程度の大きさを有して形成されている。寸法測定装置100aは、先端部分に撮像手段として、CCDカメラ20a(不図示)を搭載している。従って、測定者は、図8に示すように寸法測定装置100aの先端を測定対象物である荷物1の方向に向けて撮影する。
Next, the
また、寸法測定装置100aの外部には、操作部34及び表示部35が設けられている。操作部34には、CCDカメラ20aの撮像開始ボタンや所定の設定を行うための複数の操作ボタンが設けられている。また、表示部35は、CCDカメラ20aで撮像した画像や寸法測定の結果等を表示するためのものであり、液晶ディスプレイ(LCD:Liquid Crystal Display)により構成されている。
An
また更に、CCDカメラ20aには、図8に示す荷物1の正面5に貼付されている1次元バーコード8や2次元バーコード9を読取る機能を有している。従って、荷物1の各辺の寸法を測定するための撮像とは別に、CCDカメラ20aは、CCDカメラ方式により、これらの1次元バーコード8或いは2次元バーコード9を読取ることができる。これにより、CCDカメラ20の撮像機能を共有することで、ハード機能を単純化することができる。
Further, the
1次元バーコード8や2次元バーコード9は、荷物1に関する色々な情報を含ませることが可能である。従って、CCDカメラ20aからバーコード8,9を読取ることにより、容易に荷物1に関する情報を把握することができるので、荷物1の管理等が行い易くなる。また、バーコード8,9から読取ったデータは、表示部35に表示させるようにしても良い。
The one-
図9は、寸法測定装置100aの構成の一例を示しており、寸法測定装置100aは、CCDカメラ20a、制御部31、入出力インタフェース32、画像処理部33、操作部34、表示部35、画像メモリ36、RAM37、ROM38等を備えている。
FIG. 9 shows an example of the configuration of the
尚、上記各部の機能については、第1の実施形態と同様の機能を有するものであるので、ここでは、詳細な説明は省略する。また、荷物1の各辺の寸法を算出する処理についても第1の実施形態と同様の処理を行うものである。
Note that the functions of the above-described units have the same functions as those in the first embodiment, and thus detailed description thereof is omitted here. The process for calculating the dimensions of each side of the
本発明の第3の実施形態に係る寸法測定装置100bは、図10に示すように、荷物1を撮像するための撮像手段(CCDカメラ)20及び基準パターン10を投影する投影手段40とを備えた複合装置50と、該複合装置50に接続されたコンピュータ30から構成されている。尚、コンピュータ30については、図11に示すように、第1の実施形態と同様の構成から成るものであるので、ここでは詳細な説明は省略する。
As shown in FIG. 10, the
投影手段40は、測定対象物となる荷物1の面上に基準パターン10を投影するためのレーザ光照射部(不図示)と荷物1の面上からの反射光を受光する受光部(不図示)を備えている。尚、基準パターン10を投影する位置は、荷物1の面の延長平面上でも良い。また、本実施形態では、スポット状の基準パターン10を投影する例を示しているが、基準パターン10の形状は、これに限定されるものではない。
The projecting means 40 includes a laser beam irradiation unit (not shown) for projecting the
寸法測定装置100bでは、操作部34からを入力された操作に基づいて、制御部31から投影手段40に対して基準パターン10を投影するための制御信号が送られる。これにより、図10に示すように、投影手段40は、荷物1の面上に基準パターン10を投影する。尚、予め投影手段40が、基準パターン10を投影しておき、測定者が荷物1を移動させることにより、荷物1の面上に基準パターン10が投影されるようにしても良い。
In the
投影手段40が基準パターン10を投影する角度θは、予め操作部34で設定することができるので、図10に示す角度θは既知である。そして、投影手段40から荷物1の上面4に投影された基準パターン10までの距離A,Bは、レーザ光照射部から投影された基準パターン10の荷物1からの反射光を受光部で受光するまでの時間からそれぞれ計測することができる。従って、基準パターン10間の距離D1は、数式(9)から求めることができる。このようにして、得られた距離D1は、RAM37に格納され、荷物1の各辺の寸法を算出する際に利用される。尚、図10では、基準パターン10を上面4に対して、斜めから投影する場合を示しているが、投影手段40を上面4と平行になるように設置した場合には、距離A,Bは等しいものとして扱うことができる。
以下、寸法測定装置100bを用いて、荷物1の各辺の寸法を測定する寸法測定方法について説明するが、第1の実施形態と重複する処理については、詳細な説明は省略する。
Hereinafter, a dimension measuring method for measuring the dimension of each side of the
まず、測定者は、荷物1の各辺の寸法を算出するために、CCDカメラ20により荷物1及び基準パターン10の全体が収まり、且つ、荷物1の少なくとも2つの面が写る方向から撮像することにより、図12に示すような画像が得られる。得られた画像は、入出力インタフェース32を介して、画像処理部33に出力される。そして、画像処理部33では、第1の実施形態と同様に画像から荷物1の頂点及び基準パターン10を抽出する。
First, in order to calculate the dimensions of each side of the
抽出された荷物1の頂点の2次元座標を基に寸法算出手段31aでは、荷物1の3次元位置・姿勢及び寸法等のパラメータを算出する。そして、寸法算出手段31aは、荷物1の頂点の3次元座標から、荷物1の各面の方程式を求める。投影手段40の基準パターン10を用いた場合は、基準パターン10の厚みを考慮する必要はないので、荷物1の上面4の平面方程式である数式(6)のTを0としたcT(Xc−t)=Hを用いる。
Based on the extracted two-dimensional coordinates of the top of the
そして、図12に示すCCDカメラ20の焦点Fと2つの基準パターン10の画像平面I上の射影点とを結ぶ2本の直線を引き、3次元空間における荷物1の上面4との交点を求めることにより、基準パターン10のそれぞれの3次元座標を得ることができる。このようにして得られた基準パターン10のそれぞれの3次元座標から基準パターン10間の距離d1を求める。そして、予めRAM37に格納されている実際の基準パターン10間の距離D1との比率(D1/d1)を計算することにより空間のスケールを算出する。
Then, two straight lines connecting the focal point F of the
そして、得られた空間のスケール(D1/d1)を全ての3次元座標に乗ずることにより、実空間上の寸法における荷物1の各頂点の3次元座標及び各辺の寸法を算出し、その結果を表示部35に出力する。
Then, by multiplying all the three-dimensional coordinates by the scale (D 1 / d 1 ) of the obtained space, the three-dimensional coordinates of each vertex and the dimensions of each side in the dimensions in the real space are calculated, The result is output to the
尚、投影手段40は、上記の構成に限定されるものではなく、図13に示すように、投影手段40(40a)と、CCDカメラ20をそれぞれ分けて設けても良く、投影手段40を天井等に固定しておいても良い。また、図13に示すように、投影手段40aが、平行にレーザ光A,Bを照射する2本のレーザポインタ41を備えるものであれば、投影手段40aを荷物1の上面4に向けて照射することにより、予めレーザ光A,Bの間隔D2が分かっている場合、その間隔D2を利用することにより、荷物1の各辺の寸法を算出することができる。従って、この場合には、受光部等を設けなくても良い。また、図13では、平行な2本のレーザ光A,Bが照射される場合を示しているが、レーザ光の数は、これに限定されるものでなく、夫々のレーザ光の間の距離が分かっていれば、3本以上のレーザ光を照射しても良い。
The
また、図14に示すように、第2の実施形態に示したようなハンディターミナル型の寸法測定装置100cに平行なレーザ光A,Bを照射するレーザポインタ(不図示)を備えるように構成しても良い。この場合、寸法測定装置100cの先端部に備えられるCCDカメラ(不図示)の両隣に平行にレーザ光A,Bを照射するレーザポインタ等を備えるのが好適である。これにより、CCDカメラで撮像する方向と同一の方向に対してレーザ光A,Bを照射することができる。この場合も図13と同様に、レーザ光A,B間の距離D2を利用することにより荷物1の各辺の寸法を算出することができる。また、ここでは、上面4にレーザ光A,Bが照射された場合を例にしているが、レーザ光A,Bは、夫々異なる面に照射されても良い。
Further, as shown in FIG. 14, the handy terminal type
また、図15に示すように、投影手段40bとして、投影する距離に関係なく、一定の長さ寸法D3を有するライン10b等を基準パターンとして投影するものを使用することも可能である。この場合、図15に示すように、投影手段40bをライン10bが投影される荷物1の上面4と平行になるように設定することにより、上面4上には投影手段40と上面4までの距離に関係なく、一定の長さ寸法D3を有するライン10bが投影されることになる。従って、ライン10bが投影された上面4を含む荷物1をCCDカメラ20により撮像することにより、以上説明した方法と同様の方法により、荷物1の各辺の寸法を算出することができる。また、基準パターンとして、ライン10bの代わりに、投影する距離に関係なく一定の直径を有するサークル或いは一定の長さ寸法を有するクロスライン等を投影しても良い。
Further, as shown in FIG. 15, as the projection means 40b, regardless of the distance to be projected, it is also possible to use those projected as a
1 荷物(測定対象物)
2 基準尺
3 マーカ
4 上面
5 正面
6 側面
7 送り状(パターン)
8 1次元バーコード
9 2次元バーコード
10、10a、10b 基準パターン
20、20a 撮像手段(CCDカメラ)
30 コンピュータ
33 画像処理部(画像処理手段)
31a 寸法算出手段
40、40a、40b 投影手段
41 レーザポインタ
100、100a、100b、100c 寸法測定装置
I 画像平面
1 Luggage (object to be measured)
2
8 One-
30
31a Dimension calculation means 40, 40a, 40b Projection means 41
Claims (12)
前記測定対象物の面上又は該測定対象物の面の延長平面上に基準長を示す基準尺を配置し、
前記測定対象物及び前記基準尺の全体が収まり、且つ、前記測定対象物の2つ以上の面が写るように撮影して、1つの画像を生成し、
生成した前記画像から前記測定対象物の頂点及び前記基準尺を抽出し、
抽出した前記頂点の前記画像平面上における2次元座標から前記測定対象物の3次元空間における位置・姿勢及び寸法のパラメータを求め、
前記基準尺を用いて、実空間における距離と前記3次元空間における距離との比率である空間のスケールを求め、
該空間のスケール及び前記パラメータに基づいて、前記測定対象物の各辺の寸法を算出することを特徴とする寸法測定方法。 In the dimension measuring method for measuring the dimension of each side of the measurement object having a rectangular parallelepiped shape,
Placing a reference scale indicating a reference length on the surface of the measurement object or on an extended plane of the surface of the measurement object;
The entire measurement object and the reference scale are accommodated, and two or more surfaces of the measurement object are photographed to generate one image,
Extract the vertex of the measurement object and the reference scale from the generated image,
Obtaining parameters of position / posture and dimensions of the measurement object in a three-dimensional space from the two-dimensional coordinates of the extracted vertex on the image plane;
Using the reference scale, a space scale that is a ratio of the distance in the real space and the distance in the three-dimensional space is obtained,
A dimension measuring method, wherein a dimension of each side of the measurement object is calculated based on the scale of the space and the parameter.
前記測定対象物の面上又は該測定対象物の面の延長平面上に寸法が既知の基準パターンを投影し、
前記測定対象物及び前記基準パターンの全体が収まり、且つ、前記測定対象物の2つ以上の面が写るように撮影して、1つの画像を生成し、
生成した前記画像から前記測定対象物の頂点及び前記基準パターンを抽出し、
抽出した前記頂点の前記画像平面上における2次元座標から前記測定対象物の3次元空間における位置・姿勢及び寸法のパラメータを求め、
前記基準尺を用いて、実空間における距離と前記3次元空間における距離との比率である空間のスケールを求め、
該空間のスケール及び前記パラメータに基づいて、前記測定対象物の各辺の寸法を算出することを特徴とする寸法測定方法。 In the dimension measuring method for measuring the dimension of each side of the measurement object having a rectangular parallelepiped shape,
Projecting a reference pattern of known dimensions on the surface of the measurement object or on an extended plane of the surface of the measurement object;
The entire measurement object and the reference pattern are accommodated and two or more surfaces of the measurement object are photographed to generate one image,
Extracting the vertex of the measurement object and the reference pattern from the generated image,
Obtaining parameters of position / posture and dimensions of the measurement object in a three-dimensional space from the two-dimensional coordinates of the extracted vertex on the image plane;
Using the reference scale, a space scale that is a ratio of the distance in the real space and the distance in the three-dimensional space is obtained,
A dimension measuring method, wherein a dimension of each side of the measurement object is calculated based on the scale of the space and the parameter.
前記測定対象物及び該測定対象物の面上又は該測定対象物の面の延長平面上に予め配置された基準長を示す基準尺を含む画像を撮像する撮像手段と、
該撮像手段により撮像された前記画像から前記測定対象物の頂点及び前記基準尺を抽出する画像処理手段と、
抽出された前記頂点の前記画像平面上における2次元座標から前記測定対象物の3次元空間における位置・姿勢及び寸法のパラメータを求め、前記基準尺を用いて、実空間における距離と前記3次元空間における距離との比率である空間のスケールを求め、該空間のスケール及び前記パラメータに基づいて、前記測定対象物の各辺の寸法を算出する寸法算出手段と、を備えることを特徴とする寸法測定装置。 In a dimension measuring device that measures the dimensions of each side of a rectangular parallelepiped measurement object,
An imaging means for imaging an image including a reference scale indicating a reference length arranged in advance on the measurement object and the surface of the measurement object or on an extended plane of the surface of the measurement object;
Image processing means for extracting the vertex of the measurement object and the reference scale from the image picked up by the image pickup means;
From the extracted two-dimensional coordinates of the vertex on the image plane, parameters of the position / posture and dimensions of the measurement object in the three-dimensional space are obtained, and the distance in the real space and the three-dimensional space are calculated using the reference scale. Dimension measurement, comprising: a dimension calculation unit that obtains a scale of a space that is a ratio to a distance in the object and calculates a dimension of each side of the measurement object based on the scale of the space and the parameter apparatus.
寸法が既知の基準パターンを投影する投影手段と、
前記測定対象物及び該測定対象物の面上又は該測定対象物の面の延長平面上に前記投影手段により投影された前記基準パターンを含む画像を撮像する撮像手段と、
該撮像手段により撮像された前記画像から前記測定対象物の頂点及び前記基準パターンを抽出する画像処理手段と、
抽出された前記頂点の前記画像平面上における2次元座標から前記測定対象物の3次元空間における位置・姿勢及び寸法のパラメータを求め、前記基準尺を用いて、実空間における距離と前記3次元空間における距離との比率である空間のスケールを求め、該空間のスケール及び前記パラメータに基づいて、前記測定対象物の各辺の寸法を算出する寸法算出手段と、を備えることを特徴とする寸法測定装置。 In a dimension measuring device that measures the dimensions of each side of a rectangular parallelepiped measurement object,
Projecting means for projecting a reference pattern of known dimensions;
Imaging means for capturing an image including the reference pattern projected by the projection means on the measurement object and the surface of the measurement object or on an extended plane of the surface of the measurement object;
Image processing means for extracting the vertex of the measurement object and the reference pattern from the image picked up by the image pickup means;
From the extracted two-dimensional coordinates of the vertex on the image plane, parameters of the position / posture and dimensions of the measurement object in the three-dimensional space are obtained, and the distance in the real space and the three-dimensional space are calculated using the reference scale. Dimension measurement, comprising: a dimension calculation unit that obtains a scale of a space that is a ratio to a distance in the object and calculates a dimension of each side of the measurement object based on the scale of the space and the parameter apparatus.
前記撮像手段により撮像された画像を表示する表示手段と、該表示手段に表示された前記画像から前記測定対象物を指定する指定手段と、を備えることを特徴とする寸法測定装置。 In the dimension measuring device according to any one of claims 5 to 9,
A dimension measuring apparatus comprising: a display unit that displays an image captured by the imaging unit; and a specifying unit that specifies the measurement object from the image displayed on the display unit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008170741A JP2010008352A (en) | 2008-06-30 | 2008-06-30 | Size measuring method and size measuring device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008170741A JP2010008352A (en) | 2008-06-30 | 2008-06-30 | Size measuring method and size measuring device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2010008352A true JP2010008352A (en) | 2010-01-14 |
Family
ID=41589028
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2008170741A Withdrawn JP2010008352A (en) | 2008-06-30 | 2008-06-30 | Size measuring method and size measuring device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2010008352A (en) |
Cited By (27)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2010117211A (en) * | 2008-11-12 | 2010-05-27 | East Japan Railway Co | Laser radar installation position verification apparatus, laser radar installation position verification method, and program for laser radar installation position verification apparatus |
| JP2013019721A (en) * | 2011-07-08 | 2013-01-31 | Nippon Telegr & Teleph Corp <Ntt> | Position detector, position detection method, and computer program |
| JP2013108933A (en) * | 2011-11-24 | 2013-06-06 | Kddi Corp | Information terminal device |
| CN103162620A (en) * | 2012-10-26 | 2013-06-19 | 苏州比特速浪电子科技有限公司 | Image processing device and image processing method |
| WO2014006832A1 (en) * | 2012-07-02 | 2014-01-09 | パナソニック株式会社 | Size measurement device and size measurement method |
| JP2014507037A (en) * | 2011-02-28 | 2014-03-20 | データロジック・アイピー・テック・エス・エール・エル | Optical identification method for moving objects |
| KR101383818B1 (en) | 2013-11-05 | 2014-04-08 | 최진원 | Method for measuring lengths, using mobile terminal and the system thereof |
| JP5472538B2 (en) * | 2011-06-14 | 2014-04-16 | 日産自動車株式会社 | Distance measuring device and environmental map generating device |
| CN103808271A (en) * | 2012-11-15 | 2014-05-21 | 张文镒 | Method and device for remotely measuring cracks |
| JP2014109440A (en) * | 2012-11-30 | 2014-06-12 | Mitsubishi Space Software Co Ltd | Dimension estimation apparatus, dimension estimation program and dimension estimation method |
| WO2014157340A1 (en) * | 2013-03-29 | 2014-10-02 | 日本電気株式会社 | Size measurement device and size measurement method |
| JP2015059754A (en) * | 2013-09-17 | 2015-03-30 | 株式会社日立製作所 | Balloon type remote measuring system |
| KR20150084428A (en) * | 2014-01-14 | 2015-07-22 | 한국전자통신연구원 | Apparatus and Method Measuring Mail Size and Acquiring Mail Information |
| EP3051250A1 (en) * | 2015-01-29 | 2016-08-03 | Honeywell International Inc. | Method and system for measuring wear pin length using an input image |
| JP2018112521A (en) * | 2017-01-13 | 2018-07-19 | 株式会社オプトエレクトロニクス | Dimension measurement device, information reading device with measurement function, and dimension measurement method |
| JP2018146457A (en) * | 2017-03-08 | 2018-09-20 | 中国電力株式会社 | Separation distance measuring system and method |
| WO2019187826A1 (en) * | 2018-03-30 | 2019-10-03 | パナソニックIpマネジメント株式会社 | Dimension measurement device for home delivery box |
| JP2019184556A (en) * | 2018-03-30 | 2019-10-24 | パナソニックIpマネジメント株式会社 | Device for measuring size of home delivery box |
| WO2020054118A1 (en) * | 2018-09-10 | 2020-03-19 | Necプラットフォームズ株式会社 | Parcel measurement device, parcel reception system, parcel measurement method, and non-transitory computer readable medium |
| JP2021047475A (en) * | 2019-09-17 | 2021-03-25 | 日本電気通信システム株式会社 | Goods position management device, goods, goods position management system, goods position management method and program |
| WO2022059157A1 (en) * | 2020-09-18 | 2022-03-24 | 株式会社AB.do | Three-dimensional data scale setting method and three-dimensional data scale setting program |
| CN114511612A (en) * | 2020-10-26 | 2022-05-17 | 阿里巴巴集团控股有限公司 | Object measurement method, service providing method, apparatus, equipment and storage medium |
| JP2022082112A (en) * | 2020-11-20 | 2022-06-01 | 計測技研株式会社 | Clearance measurement system and clearance measurement method |
| JP2022087282A (en) * | 2017-05-15 | 2022-06-09 | 東芝テック株式会社 | Transportation reception system |
| CN114608450A (en) * | 2022-03-10 | 2022-06-10 | 西安应用光学研究所 | Method for measuring and calculating three-dimensional size of remote sea surface target by airborne photoelectric system |
| JP2023043090A (en) * | 2021-09-15 | 2023-03-28 | 株式会社Sayコンピュータ | Mobile terminal and size measurement method using mobile terminal |
| JP7650300B2 (en) | 2020-06-22 | 2025-03-24 | ローベルト ボツシユ ゲゼルシヤフト ミツト ベシユレンクテル ハフツング | Semi-automatic acquisition of multiple object data sets of at least one object |
-
2008
- 2008-06-30 JP JP2008170741A patent/JP2010008352A/en not_active Withdrawn
Cited By (44)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2010117211A (en) * | 2008-11-12 | 2010-05-27 | East Japan Railway Co | Laser radar installation position verification apparatus, laser radar installation position verification method, and program for laser radar installation position verification apparatus |
| JP2014507037A (en) * | 2011-02-28 | 2014-03-20 | データロジック・アイピー・テック・エス・エール・エル | Optical identification method for moving objects |
| US9046364B2 (en) | 2011-06-14 | 2015-06-02 | Nissan Motor Co., Ltd. | Distance measurement device and environment map generation apparatus |
| JP5472538B2 (en) * | 2011-06-14 | 2014-04-16 | 日産自動車株式会社 | Distance measuring device and environmental map generating device |
| JP2013019721A (en) * | 2011-07-08 | 2013-01-31 | Nippon Telegr & Teleph Corp <Ntt> | Position detector, position detection method, and computer program |
| JP2013108933A (en) * | 2011-11-24 | 2013-06-06 | Kddi Corp | Information terminal device |
| WO2014006832A1 (en) * | 2012-07-02 | 2014-01-09 | パナソニック株式会社 | Size measurement device and size measurement method |
| GB2519006B (en) * | 2012-07-02 | 2018-05-16 | Panasonic Ip Man Co Ltd | Size measurement device and size measurement method |
| GB2519006A (en) * | 2012-07-02 | 2015-04-08 | Panasonic Ip Man Co Ltd | Size measurement device and size measurement method |
| US9607406B2 (en) | 2012-07-02 | 2017-03-28 | Panasonic Intellectual Property Management Co., Ltd. | Size measurement device and size measurement method |
| CN103162620A (en) * | 2012-10-26 | 2013-06-19 | 苏州比特速浪电子科技有限公司 | Image processing device and image processing method |
| JP2014098683A (en) * | 2012-11-15 | 2014-05-29 | National Applied Research Laboratories | Method for remotely measuring crack |
| CN103808271A (en) * | 2012-11-15 | 2014-05-21 | 张文镒 | Method and device for remotely measuring cracks |
| JP2014109440A (en) * | 2012-11-30 | 2014-06-12 | Mitsubishi Space Software Co Ltd | Dimension estimation apparatus, dimension estimation program and dimension estimation method |
| WO2014157340A1 (en) * | 2013-03-29 | 2014-10-02 | 日本電気株式会社 | Size measurement device and size measurement method |
| JP2015059754A (en) * | 2013-09-17 | 2015-03-30 | 株式会社日立製作所 | Balloon type remote measuring system |
| WO2015068991A1 (en) * | 2013-11-05 | 2015-05-14 | 거울소프트웨어 주식회사 | Method and system for measuring length by using mobile terminal |
| KR101383818B1 (en) | 2013-11-05 | 2014-04-08 | 최진원 | Method for measuring lengths, using mobile terminal and the system thereof |
| US9574871B2 (en) | 2013-11-05 | 2017-02-21 | Gerwool Software Inc. | Method and system for measuring length, using mobile terminal |
| KR102144125B1 (en) | 2014-01-14 | 2020-08-12 | 한국전자통신연구원 | Apparatus and Method Measuring Mail Size and Acquiring Mail Information |
| KR20150084428A (en) * | 2014-01-14 | 2015-07-22 | 한국전자통신연구원 | Apparatus and Method Measuring Mail Size and Acquiring Mail Information |
| US9786042B2 (en) | 2015-01-29 | 2017-10-10 | Honeywell International Inc. | Algorithm for measuring wear pin length using an input image |
| CN105844611A (en) * | 2015-01-29 | 2016-08-10 | 霍尼韦尔国际公司 | Algorithm for measuring wear pin length using an input image |
| EP3051250A1 (en) * | 2015-01-29 | 2016-08-03 | Honeywell International Inc. | Method and system for measuring wear pin length using an input image |
| CN105844611B (en) * | 2015-01-29 | 2021-03-09 | 霍尼韦尔国际公司 | Algorithm for measuring wear pin length using input images |
| JP2018112521A (en) * | 2017-01-13 | 2018-07-19 | 株式会社オプトエレクトロニクス | Dimension measurement device, information reading device with measurement function, and dimension measurement method |
| US10480931B2 (en) | 2017-01-13 | 2019-11-19 | Optoelectronics Co., Ltd. | Dimension measuring apparatus, information reading apparatus having measuring function, and dimension measuring method |
| JP2018146457A (en) * | 2017-03-08 | 2018-09-20 | 中国電力株式会社 | Separation distance measuring system and method |
| JP2022087282A (en) * | 2017-05-15 | 2022-06-09 | 東芝テック株式会社 | Transportation reception system |
| JP7411003B2 (en) | 2017-05-15 | 2024-01-10 | 東芝テック株式会社 | Transportation reception system |
| JP2019184556A (en) * | 2018-03-30 | 2019-10-24 | パナソニックIpマネジメント株式会社 | Device for measuring size of home delivery box |
| WO2019187826A1 (en) * | 2018-03-30 | 2019-10-03 | パナソニックIpマネジメント株式会社 | Dimension measurement device for home delivery box |
| US11836941B2 (en) | 2018-09-10 | 2023-12-05 | Nec Platforms, Ltd. | Package measuring apparatus, package accepting system, package measuring method, and non-transitory computer readable medium |
| WO2020054118A1 (en) * | 2018-09-10 | 2020-03-19 | Necプラットフォームズ株式会社 | Parcel measurement device, parcel reception system, parcel measurement method, and non-transitory computer readable medium |
| JP2020041886A (en) * | 2018-09-10 | 2020-03-19 | Necプラットフォームズ株式会社 | Luggage measurement device, luggage reception system, luggage measurement method, and program |
| JP2021047475A (en) * | 2019-09-17 | 2021-03-25 | 日本電気通信システム株式会社 | Goods position management device, goods, goods position management system, goods position management method and program |
| JP7435998B2 (en) | 2019-09-17 | 2024-02-21 | 日本電気通信システム株式会社 | Article position management device, article, article position management system, article position management method and program |
| JP7650300B2 (en) | 2020-06-22 | 2025-03-24 | ローベルト ボツシユ ゲゼルシヤフト ミツト ベシユレンクテル ハフツング | Semi-automatic acquisition of multiple object data sets of at least one object |
| WO2022059157A1 (en) * | 2020-09-18 | 2022-03-24 | 株式会社AB.do | Three-dimensional data scale setting method and three-dimensional data scale setting program |
| CN114511612A (en) * | 2020-10-26 | 2022-05-17 | 阿里巴巴集团控股有限公司 | Object measurement method, service providing method, apparatus, equipment and storage medium |
| JP2022082112A (en) * | 2020-11-20 | 2022-06-01 | 計測技研株式会社 | Clearance measurement system and clearance measurement method |
| JP2023043090A (en) * | 2021-09-15 | 2023-03-28 | 株式会社Sayコンピュータ | Mobile terminal and size measurement method using mobile terminal |
| CN114608450B (en) * | 2022-03-10 | 2023-09-26 | 西安应用光学研究所 | Method for measuring and calculating three-dimensional size of remote sea surface target by airborne photoelectric system |
| CN114608450A (en) * | 2022-03-10 | 2022-06-10 | 西安应用光学研究所 | Method for measuring and calculating three-dimensional size of remote sea surface target by airborne photoelectric system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2010008352A (en) | Size measuring method and size measuring device | |
| US10825198B2 (en) | 3 dimensional coordinates calculating apparatus, 3 dimensional coordinates calculating method, 3 dimensional distance measuring apparatus and 3 dimensional distance measuring method using images | |
| US9972120B2 (en) | Systems and methods for geometrically mapping two-dimensional images to three-dimensional surfaces | |
| JP4532982B2 (en) | Arrangement information estimation method and information processing apparatus | |
| JP5097765B2 (en) | Measuring method, measuring program and measuring device | |
| CN104279960B (en) | Method for measuring size of object by mobile equipment | |
| JPH10221072A (en) | Photogrammetry system and photogrammetry method | |
| WO2017090426A1 (en) | Physical-object measurement device and physical-object measurement method | |
| JP2013122434A (en) | Three-dimensional shape position measuring device by monocular camera using laser, method for measuring three-dimensional shape position, and three-dimensional shape position measuring program | |
| CN113167569B (en) | Volume measurement device, system, method, and program | |
| WO2014006832A1 (en) | Size measurement device and size measurement method | |
| JP5477658B2 (en) | Calibration jig for calibration, 3D measurement system with calibration jig | |
| JP3690581B2 (en) | POSITION DETECTION DEVICE AND METHOD THEREFOR, PLAIN POSITION DETECTION DEVICE AND METHOD THEREOF | |
| JPWO2018168757A1 (en) | Image processing apparatus, system, image processing method, article manufacturing method, program | |
| JP2015194424A (en) | Information processing apparatus, information processing method, information processing program, and recording medium on which the information processing program is recorded | |
| EP1174681A2 (en) | Method and apparatus for the determination of the contour of sheet metal blanks | |
| JP7469989B2 (en) | Camera Calibration Plate | |
| JP2896539B2 (en) | How to detect unique information such as object position and angle | |
| JP2004212142A (en) | Method of measuring dimension of image | |
| JPH06195472A (en) | Image-processing system | |
| CN116743973A (en) | Automatic correction method for noninductive projection image | |
| JP2023043090A (en) | Mobile terminal and size measurement method using mobile terminal | |
| JP2021185644A (en) | Information processing system | |
| JP3519296B2 (en) | Automatic measurement method and automatic measurement device for thermal image | |
| JP2004170277A (en) | 3-dimensional measurement method, 3-dimensional measurement system, image processing apparatus, and computer program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20110906 |