JP2002328008A - Method and system for measuring dimensions - Google Patents

Method and system for measuring dimensions

Info

Publication number
JP2002328008A
JP2002328008A JP2001133452A JP2001133452A JP2002328008A JP 2002328008 A JP2002328008 A JP 2002328008A JP 2001133452 A JP2001133452 A JP 2001133452A JP 2001133452 A JP2001133452 A JP 2001133452A JP 2002328008 A JP2002328008 A JP 2002328008A
Authority
JP
Japan
Prior art keywords
package
light
distance
light beam
image
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
JP2001133452A
Other languages
Japanese (ja)
Inventor
Shigeru Yamazaki
茂 山崎
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.)
Nippon Signal Co Ltd
Original Assignee
Nippon Signal 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 Nippon Signal Co Ltd filed Critical Nippon Signal Co Ltd
Priority to JP2001133452A priority Critical patent/JP2002328008A/en
Publication of JP2002328008A publication Critical patent/JP2002328008A/en
Pending legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Measurement Of Optical Distance (AREA)

Abstract

PROBLEM TO BE SOLVED: To measure dimensions of a package by one-touch action in non- contact and without a special table or the like in such a method for measuring dimensions that light lays are projected on the package and the dimensions of the package is measured. SOLUTION: The method for measuring dimensions, in which the light lays are projected on the package as an object to be measured in order to measure dimensions of the package, is provided with a step in which the plural light rays 3 are projected onto a surface 2 of the package 1, and the distance L to the package 1 is measured using reflected light rays, a step in which the light rays 3 are projected onto the package 1 while scanning in two-dimensions, and the reflected light rays are photographed, and an arm image at the side of the package 1 where the light rays are projected is extracted using the light- section method in order to form a similar figure of the package 1, and a step in which the actual dimensions are obtained using the formed similar figure of the package 1 and the distance L to the package 1. Thereby, the dimensions of the package 1 are measured by one-touch action in non-contact and without any special table or the like, and the efficiency of measuring dimensions is improved.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、荷物を郵便局やコ
ンビニエンスストア等で受け付ける際に、その荷物に光
線を照射して荷物の寸法を測定する寸法測定方法及び寸
法測定システムに関し、詳しくは、専用台等を必要とせ
ず、荷物に非接触でワンタッチでその荷物の寸法を測定
する寸法測定方法及び寸法測定システムに係るものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a dimension measuring method and a dimension measuring system for measuring the dimensions of a package by irradiating the package with a light beam when receiving the package at a post office or a convenience store. The present invention relates to a dimension measuring method and a dimension measuring system for measuring the dimensions of a package without touching the package and one-touch without requiring a dedicated stand or the like.

【0002】[0002]

【従来の技術】宅配便等の荷物を、郵便局やコンビニエ
ンスストア等で受け付ける際の料金区分としては、荷物
の重量による区分と、荷物の縦、横、高さの和による大
きさの区分とがある。そして、それぞれ、重量を測定し
たり、縦、横、高さの寸法を測定しなければならない。
2. Description of the Related Art When a parcel such as a courier service is received at a post office or a convenience store, there are two types of charge categories: weight based on the weight of the package, and size based on the sum of the height, width and height of the package. There is. Then, it is necessary to measure the weight and to measure the length, width and height, respectively.

【0003】従来の寸法測定装置としては、実公平6−
43684号公報や、特開平8−43034号公報等に
記載されているように、測定対象物としての荷物を専用
の測定台の上に載せて、該荷物の複数方向からレーザ光
等の光線を照射し、この照射した光線が荷物によって遮
断される領域を計測することにより、縦、横、高さの寸
法を測定するものがあった。
[0003] As a conventional dimension measuring device, Japanese Utility Model
As described in JP-A-43684 and JP-A-8-43034, a luggage as an object to be measured is placed on a dedicated measuring table, and a light beam such as a laser beam is emitted from a plurality of directions of the luggage. Some have measured the vertical, horizontal, and height dimensions by irradiating and measuring the area where the irradiated light is blocked by the load.

【0004】また、他の例として、特開平10−105
639号公報に記載されているように、例えば商品に付
されたバーコードを読み取る携帯型のバーコードリーダ
に、荷物の表面に接触して回転するローラとこのローラ
の回転量を検出する手段とを取り付け、上記ローラを荷
物の表面に接触させてバーコードリーダを該荷物の縦、
横、高さ方向に順次移動させ、該ローラの回転量を検出
して荷物の寸法を測定するものがあった。
As another example, Japanese Patent Application Laid-Open No. H10-105
As described in Japanese Patent No. 639, for example, a portable bar code reader that reads a bar code attached to a product includes a roller that rotates in contact with the surface of the package and a unit that detects the amount of rotation of the roller. Attach the bar code reader to the vertical of the load,
In some cases, the size of the package is measured by sequentially moving the roller in the horizontal and height directions and detecting the amount of rotation of the roller.

【0005】[0005]

【発明が解決しようとする課題】しかし、このような従
来の寸法測定装置においては、第一の従来例では、荷物
の三方向を規定して該荷物に光線を照射する専用の測定
台を必要としたり、荷物を専用の搬送路上に置いて該荷
物の複数方向から光線を照射したりしなければならず、
上記荷物よりも大きな専用台等を必要とするものであっ
た。したがって、荷物よりも大きな専用の測定台等によ
り場所や空間を占有されてしまうものであった。
However, in such a conventional dimension measuring apparatus, in the first conventional example, a dedicated measuring table for irradiating a light beam to the package by defining three directions of the package is required. Or place the luggage on a dedicated transport path and irradiate light from multiple directions of the luggage,
It required a dedicated stand larger than the above-mentioned luggage. Therefore, a place or space is occupied by a dedicated measuring table or the like larger than the luggage.

【0006】また、第二の従来例では、上記のような専
用の測定台等は必要としないが、結局はローラを荷物の
表面に接触させてバーコードリーダを該荷物の縦、横、
高さ方向にいちいち移動させなければならず、特別の測
定装置を使用せずに手で物差しや巻尺等を荷物に当てて
寸法を測定するのと大差が無いものであった。したがっ
て、荷物に非接触でワンタッチ式に寸法を測定すること
はできず、寸法測定の効率が良いとは言えないものであ
った。
Further, in the second conventional example, the above-mentioned dedicated measuring table or the like is not required, but in the end, the roller is brought into contact with the surface of the package, and the bar code reader is moved vertically, horizontally, and vertically.
It had to be moved one by one in the height direction, and there was no much difference from measuring a dimension by manually placing a ruler, a tape measure, or the like on a package without using a special measuring device. Therefore, dimensions cannot be measured in a one-touch manner without contacting the luggage, and the efficiency of dimension measurement cannot be said to be high.

【0007】そこで、本発明は、このような問題点に対
処し、専用台等を必要とせず、荷物に非接触でワンタッ
チでその荷物の寸法を測定する寸法測定方法及び寸法測
定システムを提供することを目的とする。
Accordingly, the present invention addresses such a problem, and provides a dimension measuring method and a dimension measuring system for measuring the dimensions of a package without touching the package and without touching the package, without requiring a dedicated stand or the like. The purpose is to:

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
に、本発明による寸法測定方法は、測定対象物としての
荷物に光線を照射してその荷物の寸法を測定する寸法測
定方法において、上記荷物の一つの面に向けて複数の光
線を照射しその反射光を用いて該荷物までの距離を計測
するステップと、上記荷物に向けて光線を2次元にスキ
ャンして照射し、その反射光を撮像して光切断法により
該荷物の光線照射側の各辺像を抽出し上記荷物の相似形
状を生成するステップと、上記生成した荷物の相似形状
と該荷物までの距離を用いて上記荷物の実寸法を求める
ステップと、を行うものである。
In order to achieve the above object, a dimension measuring method according to the present invention is directed to a dimension measuring method for irradiating a light beam on a load as a measurement object to measure the size of the load. Irradiating a plurality of light beams toward one surface of the package and measuring the distance to the package using reflected light thereof; and irradiating the package by scanning a light beam two-dimensionally toward the package and reflecting the reflected light. Generating a similar shape of the luggage by extracting each side image on the light irradiation side of the luggage by the light sectioning method, and using the similar shape of the luggage generated and the distance to the luggage. And determining the actual dimensions of.

【0009】このような構成により、荷物の一つの面に
向けて複数の光線を照射しその反射光を用いて該荷物ま
での距離を計測し、上記荷物に向けて光線を2次元にス
キャンして照射し、その反射光を撮像して光切断法によ
り該荷物の光線照射側の各辺像を抽出し上記荷物の相似
形状を生成し、この生成した荷物の相似形状と該荷物ま
での距離を用いて上記荷物の実寸法を求める。これによ
り、専用台等を必要とせず、荷物に非接触でワンタッチ
でその荷物の寸法を測定することができる。
With this configuration, a plurality of light beams are emitted toward one surface of the package, the distance to the package is measured using the reflected light, and the light beam is two-dimensionally scanned toward the package. The reflected light is imaged, and each side image on the light beam irradiation side of the package is extracted by a light section method to generate a similar shape of the package, and the similar shape of the generated package and the distance to the package are generated. Is used to determine the actual dimensions of the package. This makes it possible to measure the size of the package with one touch without contacting the package without the need for a dedicated stand or the like.

【0010】上記荷物は、立方体を含む直方体形状とし
たものである。この場合は、光切断法により荷物の相似
形状を生成するのが容易である。
[0010] The package has a rectangular parallelepiped shape including a cube. In this case, it is easy to generate a similar shape of the luggage by the light cutting method.

【0011】また、上記荷物までの距離を計測するステ
ップは、光線の照射方向に対して荷物の面が斜めに位置
している場合に、該荷物の一つの面に対して上下、左右
に離れて照射した光線の輝点間の間隔の変化により荷物
の傾きを求め、上記荷物までの距離の補正を行うことを
含むものである。これにより、光線の照射方向に対して
荷物の面が斜めに位置している場合に、その面までの正
確な距離を計測できる。
[0011] The step of measuring the distance to the package may include, when the plane of the package is positioned obliquely with respect to the irradiation direction of the light beam, moving up and down, left and right with respect to one plane of the package. And calculating the inclination of the baggage based on a change in the interval between the bright points of the irradiated light, and correcting the distance to the baggage. Thus, when the surface of the package is positioned obliquely with respect to the irradiation direction of the light beam, an accurate distance to the surface can be measured.

【0012】さらに、上記荷物の相似形状を生成するス
テップは、荷物に対する光線照射側の各辺像を抽出した
閉領域が3面隣接して存在する部分を抽出することによ
り、他の部材と荷物とを区別して抽出することを含むも
のである。これにより、荷物が何かの台の上に載ってい
ても、その台と荷物とを区別して該荷物の相似形状を生
成できる。
[0012] Further, the step of generating the similar shape of the package includes the step of extracting a portion where three closed regions where the side images on the light beam irradiation side of the package are extracted are present adjacent to each other, so that the other components and the package are extracted. And extracting it in a distinguishable manner. Thus, even if the load is on a table, the similar shape of the load can be generated by distinguishing the table from the load.

【0013】次に、本発明による寸法測定システムは、
測定対象物としての荷物に光線を照射してその荷物の寸
法を測定する寸法測定システムにおいて、上記荷物に照
射する光線を発生する発光手段と、この発光手段から発
生された光線を2次元方向に走査して上記荷物に照射す
る光走査照射手段と、上記荷物に照射された光の反射光
を受光して該荷物の全体を撮像する撮像手段と、この撮
像手段からの画像信号を処理して距離計測のための輝点
間の間隔値を用いて上記荷物までの距離を算出すると共
に該荷物の相似形状を生成する画像処理手段と、この画
像処理手段からの距離及び相似形状の出力信号を取り込
んで上記荷物の実寸法を演算して出力する制御手段と、
を備えて成るものである。
Next, the dimension measuring system according to the present invention comprises:
In a dimension measuring system for irradiating a light beam to a package as a measurement target to measure the size of the package, a light emitting unit for generating a light beam for irradiating the package, and a light beam generated from the light emitting unit in a two-dimensional direction. Light scanning irradiation means for scanning and irradiating the package, imaging means for receiving reflected light of the light illuminated on the package and imaging the entire package, and processing image signals from the imaging means Image processing means for calculating the distance to the package using the interval value between the luminescent spots for distance measurement and generating a similar shape of the package, and an output signal of the distance and the similar shape from the image processing means. Control means for calculating and outputting the actual dimensions of the package,
It is provided with.

【0014】このような構成により、発光手段により測
定対象物としての荷物に照射する光線を発生し、上記発
光手段から発生された光線を光走査照射手段で2次元方
向に走査して上記荷物に照射し、この荷物に照射された
光の反射光を受光して撮像手段により上記荷物の全体を
撮像し、この撮像手段からの画像信号を画像処理手段で
処理して距離計測のための輝点間の間隔値を用いて上記
荷物までの距離を算出すると共に該荷物の相似形状を生
成し、この画像処理手段からの距離及び相似形状の出力
信号を取り込んで制御手段により上記荷物の実寸法を演
算して出力する。これにより、専用台等を必要とせず、
荷物に非接触でワンタッチでその荷物の寸法を測定する
ことができる。
With this configuration, a light beam is emitted by the light emitting means to irradiate the object to be measured, and the light beam emitted from the light emitting means is scanned two-dimensionally by the light scanning and irradiating means so as to be applied to the object. Illuminating the package, receiving reflected light of the light illuminated on the package, capturing an image of the entire package by an imaging unit, processing an image signal from the imaging unit by an image processing unit, and illuminating a spot for distance measurement. The distance to the baggage is calculated using the interval value between them, and a similar shape of the baggage is generated.The distance from the image processing means and the output signal of the similar shape are taken in, and the actual size of the baggage is determined by the control means. Calculate and output. This eliminates the need for a dedicated stand, etc.
The size of the package can be measured with one touch without contacting the package.

【0015】上記荷物は、立方体を含む直方体形状とし
たものである。この場合は、荷物の相似形状を生成する
のが容易である。
The luggage has a rectangular parallelepiped shape including a cube. In this case, it is easy to generate a similar shape of the load.

【0016】また、上記制御手段の出力側に、荷物の大
きさに対応した料金単価のデータに基づいて上記制御手
段で算出した荷物の実寸法に対する料金を求める料金変
換処理手段と、この料金変換処理手段で求めた料金を表
示する料金表示手段とを備えたものである。これによ
り、荷物の実寸法に対する料金を求めて、その料金を料
金表示手段に表示できる。
Further, on the output side of the control means, a charge conversion processing means for obtaining a charge for the actual size of the package calculated by the control means based on data of a charge unit price corresponding to the size of the package, Charge display means for displaying the charge obtained by the processing means. As a result, a charge for the actual size of the package can be obtained, and the charge can be displayed on the charge display means.

【0017】さらに、上記制御手段の後段直後に、該制
御手段から出力される複数個の荷物について算出した実
寸法のデータを累積する累積処理手段を設け、この累積
処理手段からの出力をその後段側に送るようにしたもの
である。これにより、複数個の荷物について算出した実
寸法を累積し、その累積結果についてその後の必要な処
理を行える。
Further, immediately after the control means, accumulation processing means for accumulating actual size data calculated for a plurality of packages output from the control means is provided, and the output from the accumulation processing means is output to the subsequent stage. It is sent to the side. As a result, the actual dimensions calculated for a plurality of packages are accumulated, and subsequent necessary processing can be performed on the accumulated result.

【0018】また、他の手段による寸法測定システム
は、上述の手段による寸法測定システムにおける発光手
段と光走査照射手段と撮像手段と画像処理手段と制御手
段とを、バーコードリーダが備える同種手段と共通化す
ると共に該バーコードリーダと一体化したものである。
これにより、商品等に付されたバーコードを読み取るバ
ーコードリーダと、荷物の寸法を測定する寸法測定シス
テムとを一体化し、共用化することができる。
A dimension measuring system according to another means is a dimension measuring system according to the above-described means, wherein the light emitting means, the light scanning and irradiating means, the imaging means, the image processing means, and the control means are the same as the bar code reader. It is common and integrated with the barcode reader.
Thus, a barcode reader that reads a barcode attached to a product or the like and a dimension measurement system that measures the dimensions of a package can be integrated and shared.

【0019】[0019]

【発明の実施の形態】以下、本発明の実施の形態を添付
図面に基づいて詳細に説明する。まず、寸法測定方法に
ついて説明する。図1〜図4は本発明による寸法測定方
法の実施の形態を示す説明図である。この寸法測定方法
は、荷物を郵便局やコンビニエンスストア等で受け付け
る際に、その荷物に光線を照射して荷物の寸法を測定す
るもので、測定対象物としての荷物は主として直方体形
状(立方体を含む)をしている。
Embodiments of the present invention will be described below in detail with reference to the accompanying drawings. First, the dimension measurement method will be described. 1 to 4 are explanatory views showing an embodiment of a dimension measuring method according to the present invention. In this dimension measuring method, when receiving a package at a post office or a convenience store, the package is illuminated with a light beam to measure the dimensions of the package. ).

【0020】まず、図1に示すように、荷物1の一つの
面2に向けて複数の光線、例えば3a,3b,3cを照
射しその反射光を用いて該荷物1までの距離Lを計測す
る。このとき、例えばレーザダイオードLD等の発光源4
からレーザビーム等の光線3を発生させ、この光線3を
光スキャナ5で例えば左右に振って3本の光線3a,3
b,3cを荷物1の面2に順次照射する。そして、この
照射した3本の光線3a,3b,3cによる荷物1の面
2上の輝点6a,6b,6cをCCDカメラ等の撮像装置
7で撮像する。そして、この撮像装置7の画像上で上記
輝点6a〜6c間が何ピクセル分あるかによりその間隔
Dを出し、その間隔Dから距離Lを次のようにして求め
る。
First, as shown in FIG. 1, a plurality of light beams, for example, 3a, 3b, 3c, are radiated toward one surface 2 of a load 1, and the distance L to the load 1 is measured using the reflected light. I do. At this time, a light emitting source 4 such as a laser diode LD is used.
A light beam 3 such as a laser beam is generated from the light beam, and the light beam 3 is swung right and left by an optical scanner 5 to produce three light beams 3a and 3
b, 3c are sequentially irradiated on the surface 2 of the package 1. Then, the bright spots 6a, 6b, 6c on the surface 2 of the luggage 1 by the three irradiated light beams 3a, 3b, 3c are imaged by an imaging device 7 such as a CCD camera. The number of pixels between the bright spots 6a to 6c on the image of the imaging device 7 is determined by the number of pixels.
D is obtained, and the distance L is obtained from the interval D as follows.

【0021】例えば、図2において、発光源4又は光ス
キャナ5から所定の角度θで光線3a,3cを照射した
とすると、距離L1における2本の光線3a,3c間の間
隔は2D1となる。同様に、距離L3における2本の光線3
a,3c間の間隔は2D3となる。ここで、上記所定の角
度θは既知であり、光線の間隔Dは画像上で何ピクセル
分あるかにより分かるので、間隔が2D2であれば、距離
はL2として求められる。なお、この場合は、荷物1の面
2が光線3の照射方向に対して正対している理想的な状
態で説明している。
[0021] For example, in FIG. 2, the light emitting source 4 or ray 3a from the optical scanner 5 at a predetermined angle theta, When irradiated with 3c, 2 beams of light 3a at a distance L 1, the spacing between 3c and 2D 1 Become. Similarly, two beams at a distance L 3 3
a, the spacing between 3c becomes 2D 3. Here, a known the predetermined angle theta, the spacing D of the beam is seen by how many pixels on the image, if the interval is a 2D 2, the distance is determined as L 2. Note that, in this case, the description has been made in an ideal state in which the surface 2 of the package 1 faces the irradiation direction of the light beam 3.

【0022】次に、図3に示すように、上記荷物1に向
けて光線3を2次元にスキャンして照射し、その反射光
を撮像して光切断法により該荷物1の光線照射側の各辺
像を抽出し上記荷物1の相似形状を生成する。このと
き、発光源4から出力される光線3を光スキャナ5でラ
スター式にスキャンして、図4(a)に示すように、荷
物1に対して複数の平行な光線3,3,…を照射する。
この複数の平行な光線3が照射された荷物1を斜め方向
から見ると、光線3は荷物1の各面が交わる角部8,
9,10等で折れ曲がり、上記光線3には変節点11が
できる。
Next, as shown in FIG. 3, the light beam 3 is two-dimensionally scanned and radiated toward the package 1, the reflected light is imaged, and the light is irradiated on the beam irradiating side of the package 1 by a light cutting method. Each side image is extracted and a similar shape of the package 1 is generated. At this time, the light beam 3 output from the light emitting source 4 is raster-scanned by the optical scanner 5 and a plurality of parallel light beams 3, 3,. Irradiate.
When the package 1 irradiated with the plurality of parallel light beams 3 is viewed from an oblique direction, the light beam 3 has corners 8 where the respective surfaces of the package 1 intersect.
The light beam 3 is bent at 9, 10 or the like, and a nodal point 11 is formed in the light ray 3.

【0023】図4(a)に示す状態を図3に示す撮像装
置7で撮像し、画像処理を施して上記変節点11のみを
抽出する。すると、図4(b)に示すように、複数の変
節点11が並んで荷物1の輪郭を示す像が生成される。
さらに画像処理を施して、上記変節点11を線で結ぶこ
とにより、図4(c)に示すように、荷物1の光線照射
側の各辺像8′,9′,10′等が生成される。これに
より、図3に示す荷物1の相似形状12が生成され、該
荷物1の形状が計測できる。
The state shown in FIG. 4A is picked up by the image pickup device 7 shown in FIG. 3 and subjected to image processing to extract only the inflection points 11 described above. Then, as shown in FIG. 4B, an image showing the outline of the package 1 in which a plurality of inflection points 11 are arranged is generated.
By further performing image processing and connecting the inflection points 11 with lines, as shown in FIG. 4C, the side images 8 ', 9', 10 ', etc. on the light irradiation side of the package 1 are generated. You. Thereby, the similar shape 12 of the load 1 shown in FIG. 3 is generated, and the shape of the load 1 can be measured.

【0024】このように、荷物1の形状が計測できた
ら、上記生成した荷物1の相似形状12と該荷物1まで
の距離Lを用いて上記荷物1の実寸法を求める。すなわ
ち、図1に示す荷物1の面2までの距離Lと、その距離L
における間隔Dの値を、図3及び図4に示すように求め
た荷物1の相似形状12に適用して、撮像装置7で撮像
した画面内に占める上記相似形状12の割合から、計算
によって荷物1の実寸法が求められる。
As described above, when the shape of the package 1 is measured, the actual size of the package 1 is obtained by using the generated similar shape 12 of the package 1 and the distance L to the package 1. That is, the distance L to the surface 2 of the package 1 shown in FIG.
Is applied to the similar shape 12 of the luggage 1 obtained as shown in FIGS. 3 and 4, and the ratio of the similar shape 12 occupying the screen imaged by the imaging device 7 is calculated. 1 actual dimensions are required.

【0025】以上の説明は、荷物1の面2が光線3の照
射方向に対して正対している理想的な状態であるが、一
般的には、光線3の照射方向に対して荷物1の面2が斜
めに位置している場合がほとんどであるので、以下、そ
の場合の距離の補正について説明する。すなわち、図1
に示す荷物1までの距離Lの計測において、光線3a〜
3cの照射方向に対して荷物1の面2が斜めに位置して
いる場合に、該荷物1の一つの面2に対して上下、左右
に離れて照射した光線3の輝点間の間隔Dの変化により
荷物1の傾きを求め、上記荷物1までの距離Lの補正を
行うものである。
The above description is an ideal state in which the surface 2 of the package 1 is directly opposed to the irradiation direction of the light beam 3. In most cases, the surface 2 is positioned obliquely, and therefore, the correction of the distance in that case will be described below. That is, FIG.
In the measurement of the distance L to the luggage 1 shown in FIG.
When the surface 2 of the package 1 is positioned obliquely with respect to the irradiation direction of 3c, the distance D between the luminescent spots of the light rays 3 irradiated vertically and horizontally apart from one surface 2 of the package 1 The inclination of the load 1 is obtained from the change in the distance L, and the distance L to the load 1 is corrected.

【0026】例えば、図1に示す荷物1を真横方向から
見た状態の図5に示すように、発光源4(ここでは、簡
単の為に光スキャナ5を省略している)からの光照射軸
15に対して、荷物1の正対する面13が垂直面内で上
部が手前側に傾いて位置する状態131と、反対に上部
が後方側に傾いて位置する状態132とがある。このと
き、正対する面13に発光源4から3本の光線を順次照
射したとし、そのときの輝点を中央の点Oと、上方の点A
と、下方の点Bとする。すると、上部が手前側に傾いて
位置する面131においては、上方の点はA1となり、下
方の点B1となる。また、上部が後方側に傾いて位置する
面132においては、上方の点はA2となり、下方の点B2
となる。なお、図5において、符号αは、撮像装置7を
上記荷物1の正対する面13の中央の点Oに向けたとき
の、発光源4の光照射軸15と撮像装置7の撮像軸との
交わる角度を示している。また、符号Wは、発光源4と
撮像装置7との上下間の距離を示している。
For example, as shown in FIG. 5 when the package 1 shown in FIG. 1 is viewed from the side, light emission from a light emitting source 4 (the optical scanner 5 is omitted here for simplicity). with respect to the axis 15, a state 13 1 directly opposite surface 13 of the package 1 is positioned inclined upper forward side in a vertical plane, upper opposite there is a state 13 2 positioned inclined rearward. At this time, it is assumed that three light beams are sequentially emitted from the light emitting source 4 to the directly facing surface 13.
And point B below. Then, with the surface 13 1 with its upper part positioned inclined to the front side, the upper side of the point the A 1, and the point B 1 of the lower. Further, with the surface 13 2 of the upper is positioned inclined to the rear side, above the point A 2, and the lower point B 2
Becomes In FIG. 5, the symbol α indicates the position of the light irradiation axis 15 of the light emitting source 4 and the imaging axis of the imaging device 7 when the imaging device 7 is directed to the center point O of the surface 13 facing the package 1. The intersection angle is shown. The symbol W indicates the distance between the light emitting source 4 and the imaging device 7 in the vertical direction.

【0027】また、図1に示す荷物1を真上方向から見
た状態の図6に示すように、発光源4(ここでは、簡単
の為に光スキャナ5を省略している)からの光照射軸1
5に対して、荷物1の正対する面14が水平面内で左方
部が手前側に傾いて位置する状態141と、反対に右方
部が手前側に傾いて位置する状態142とがある。この
とき、正対する面14に発光源4から3本の光線を順次
照射したとし、そのときの輝点を中央の点Oと、左方の
点Cと、右方の点Dとする。すると、左方部が手前側に傾
いて位置する面141においては、左方の点はC1とな
り、右方の点D1となる。また、右方部が手前側に傾いて
位置する面142においては、左方の点はC2となり、右
方の点D2となる。そして、実際には、上述の図5及び図
6に示す傾き状態が組み合わされて、各種の斜め面とな
っている。
As shown in FIG. 6 when the package 1 shown in FIG. 1 is viewed from directly above, light from a light emitting source 4 (the optical scanner 5 is omitted here for simplicity). Irradiation axis 1
Against 5, a state 14 1 directly opposite surface 14 of the package 1 is positioned inclined to the front side is the left portion in the horizontal plane, and the state 14 2 right portion on the opposite is positioned inclined to the front side is there. At this time, it is assumed that three light beams are sequentially emitted from the light emitting source 4 to the facing surface 14, and the bright points at that time are assumed to be a central point O, a left point C, and a right point D. Then, with the surface 14 1 which left portion is located inclined to the front side, C 1 becomes a point of the left, the point D 1 of the right. Further, the right portion in the surface 14 2 positioned inclined to the front side, a point left a point D 2 of the C 2, and the right. Actually, the inclined states shown in FIGS. 5 and 6 are combined to form various oblique surfaces.

【0028】そして、上記荷物1の或る面に発光源4か
ら光線を順次照射して、5点の輝点O,A,B,C,Dを照射し
た状態を、図7を参照して説明する。図7(a)は荷物
1の或る面に対して正面から光線を照射した場合を示し
ており、各輝点O,A,B,C,D間の距離をそれぞれa,b,
c,dとする。そして、上記荷物1の或る面に対して正
面斜め上方から光線を照射した場合は、図7(b)に示
すように、距離c,dは変わらないが、輝点OA1,OB1
の距離がそれぞれa′,b′となる。また、上記荷物1
の或る面に対して正面左斜め前方から光線を照射した場
合は、図7(c)に示すように、距離a,bは変わらな
いが、輝点OC1,OD1間の距離がそれぞれc′,d′とな
る。さらに、上記荷物1の或る面に対して左斜め上方か
ら光線を照射した場合は、図7(d)に示すように、輝
点O,A1,B1,C1,D1間の距離がそれぞれa′,b′,
c′,d′となる。
Referring to FIG. 7, a state in which a certain surface of the package 1 is sequentially irradiated with light rays from the light emitting source 4 and five bright spots O, A, B, C, and D are irradiated will be described. explain. FIG. 7A shows a case where a light beam is irradiated from a front on a certain surface of the package 1, and the distances between the bright points O, A, B, C, and D are a, b, and d, respectively.
c and d. When light is applied to a certain surface of the package 1 from obliquely above from the front, the distances c and d do not change, but the distance between the bright spots OA 1 and OB 1 as shown in FIG. Are a 'and b', respectively. In addition, the luggage 1
When a light beam is applied to a certain surface from the front left and obliquely forward, as shown in FIG. 7C, the distances a and b do not change, but the distance between the bright points OC 1 and OD 1 is c 'and d'. Further, when a light beam is applied to a certain surface of the package 1 from an obliquely upper left side, as shown in FIG. 7D, the light spots O, A 1 , B 1, C 1 , D 1 The distances are a ', b',
c 'and d'.

【0029】この状態で、図7(a)に示す正面から光
線を照射した場合の各輝点O,A,B,C,D間の距離a,b,
c,dの比率を記憶しておき、例えば図7(d)に示す
ように斜め上方から光線を照射した場合の各輝点O,A1,B
1,C1,D1間の距離a′,b′,c′,d′の比率の変化
から、上記荷物1の或る面の傾きを計算し、各輝点O,A,
B,C,D間の距離の荷物1の傾きによる変化を補正する。
In this state, the distances a, b, and d between the bright spots O, A, B, C, and D when light rays are irradiated from the front as shown in FIG.
c, each bright point in a case of radiating light from obliquely above as shown in stores the ratio of d, for example, FIG. 7 (d) O, A 1 , B
1, C 1, D 1 between the distance a ', b', c ' , d' from the change in the ratio of, calculate the slope of a certain surface of the luggage 1, each bright point O, A,
The change in the distance between B, C, and D due to the inclination of the package 1 is corrected.

【0030】ここで、図6に示す荷物1の正対する面1
4が水平面内で手前側又は後方側に傾いた状態の距離の
導出例について、図8を参照して説明する。図8におい
て、図6に示す荷物1の正対する面14を基準面とし、
同じく荷物1の傾いた面14 1をその面までの距離を計
測する実測面とする。そして、発光源4からの光照射軸
15と交わる基準面14上の中央の点Oまでの距離をLと
し、求める実測面14 1上の中央の点O1までの距離をL1
とする。また、撮像装置7の焦点をFとしてそのイメー
ジ面から焦点Fまでの焦点距離をfとし、上記発光源4
から撮像装置7の焦点Fまでの距離をgとする。
Here, the facing surface 1 of the package 1 shown in FIG.
4 is the distance of the state inclined in the front or back side in the horizontal plane.
An example of derivation will be described with reference to FIG. Figure 8
Therefore, the facing surface 14 of the package 1 shown in FIG.
Similarly, the inclined surface 14 of the luggage 1 1The distance to that surface
The actual measurement plane to be measured. And a light irradiation axis from the light source 4
Let L be the distance to the central point O on the reference plane 14 that intersects 15
And the actual measurement surface 14 to be obtained 1Center point O on1Distance to L1
And Further, the focus of the imaging device 7 is set to F,
F is the focal length from the surface to the focal point F, and
The distance from to the focal point F of the imaging device 7 is g.

【0031】まず、発光源4から基準面14に対して光
線を照射した中央の点Oから左方の点Cまでの実距離D
0と、これを撮像した撮像装置7のイメージ面上のピク
セル距離d(図示せず)を記憶しておく。次に、上記発
光源4から実測面141に対して光線を照射したときの
中央の点O1,左方の点C1,右方の点D1にそれぞれ対応す
る基準面14上の点Oから左方の点までの実距離D4、及
び右方の点までの実距離D 5を取得し、これらを撮像した
撮像装置7のイメージ面上のピクセル距離y,z(図示
せず)をそれぞれ取得する。
First, light is emitted from the light emitting source 4 to the reference surface 14.
The actual distance D from the center point O illuminated with the line to the left point C
0And the image on the image plane of the imaging device 7
The cell distance d (not shown) is stored. Next,
Light source 4 to measured surface 141When irradiated with light
Central point O1, Left point C1, Right point D1Correspond to
Distance D from point O on the reference plane 14 to the left pointFour,
And the actual distance D to the right point FiveAnd imaged these
Pixel distances y and z on the image plane of the imaging device 7 (shown in FIG.
Without each).

【0032】この状態で、上記取得した基準面14上の
実距離D4及びD5と、撮像装置7のイメージ面上のピクセ
ル距離y,zを用いて、三角形の相似関係から次の式が
成り立つ。 f:d=(g+L):D0 f:y=(g+L):D4 f:z=(g+L):D5 上記の式からD4及びD5を求めると、 D4=y(g+L)/f …(1) D5=z(g+L)/f …(2) となる。
In this state, using the obtained real distances D 4 and D 5 on the reference plane 14 and the pixel distances y and z on the image plane of the imaging device 7, the following equation is obtained from the similarity of a triangle. Holds. f: d = (g + L ): D 0 f: y = (g + L): D 4 f: z = (g + L): When determining the D 4 and D 5 from D 5 above equation, D 4 = y (g + L) / f ... it becomes (1) D 5 = z ( g + L) / f ... (2).

【0033】次に、実測面141上の点C1及びD1の座標
を、2直線の交点を求める連立方程式より求める。ま
ず、点C1の座標を(x4,y4)とすると、 y4=(D0/L)x4 …(3) y4={D4/(L+g)}(x4−g) …(4) の式が得られ、この式(3)及び式(4)の連立解を求
めれば、座標(x4,y4)が求まる。同様にして、点D1
の座標を(x5,y5)とすると、 y5=(D0/L)x5 …(5) y5={D5/(L+g)}(x5−g) …(6) の式が得られ、この式(5)及び式(6)の連立解を求
めれば、座標(x5,y5)が求まる。
Next, the coordinates C 1 and D 1 point on the measured surface 14 1, obtained from the simultaneous equations for determining the intersection of the two straight lines. First, when the coordinates of the point C 1 and (x 4, y 4), y 4 = (D 0 / L) x 4 ... (3) y 4 = {D 4 / (L + g)} (x 4 -g) .. (4) are obtained, and by obtaining the simultaneous solution of the equations (3) and (4), the coordinates (x 4 , y 4 ) can be obtained. Similarly, point D 1
When the coordinates (x 5, y 5), y 5 = a (D 0 / L) x 5 ... (5) y 5 = {D 5 / (L + g)} (x 5 -g) ... (6) An equation is obtained, and by obtaining the simultaneous solution of the equations (5) and (6), the coordinates (x 5 , y 5 ) can be obtained.

【0034】次に、上記求めた点C1の座標(x4,y4
及び点D1の座標(x5,y5)の値から、図8に示す発光
源4からの距離L4,L5を求め、ΔC1O1O1′とΔD1O1O1
との相似関係から、実測面141上における点O1の座標
(x1,y1)を導出する。これにより、求めたい点O1
での距離L1が求まる。
Next, the coordinates (x 4 , y 4 ) of the point C 1 obtained above
From the values of the coordinates (x 5 , y 5 ) of the point D 1 and the distances L 4 and L 5 from the light emitting source 4 shown in FIG. 8, ΔC 1 O 1 O 1 ′ and ΔD 1 O 1 O 1 ″ are obtained.
From similarity relationship with, to derive the coordinates of the point O 1 of the measured surface 14 on 1 (x 1, y 1) . As a result, the distance L 1 to the O 1 point to be determined is obtained.

【0035】同様にして、図5に示す荷物1の正対する
面13が垂直面内で手前側又は後方側に傾いた面1
1,132の距離も求めることができる。以上の距離の
導出を組み合わせれば、荷物1の各種の斜め面までの距
離を計測できる。
Similarly, the facing surface 13 of the load 1 shown in FIG. 5 is the surface 1 inclined to the front or rear in the vertical plane.
The distances of 3 1 and 13 2 can also be obtained. By combining the above derivation of the distance, it is possible to measure the distance to the various oblique surfaces of the package 1.

【0036】以上の説明は、荷物1が非常に広い平面上
に置いてある場合であるが、該荷物1が何か置き台の上
に載っている場合は、その置き台と区別して抽出しなけ
ればならないので、その抽出について図9を参照して説
明する。すなわち、図3に示す荷物1の相似形状を生成
する場合において、荷物1に対する光線照射側の各辺像
を抽出した閉領域が3面隣接して存在する部分を抽出す
ることにより、他の部材(置き台)と荷物1とを区別し
て抽出するものである。
The above description is for the case where the package 1 is placed on a very wide plane. When the package 1 is placed on a table, something is extracted separately from the table. Since this must be done, the extraction will be described with reference to FIG. That is, in the case where the similar shape of the package 1 shown in FIG. 3 is generated, by extracting a portion where three closed areas where each side image on the light irradiation side of the package 1 is extracted are adjacent to each other, other members are extracted. (Table) and luggage 1 are distinguished and extracted.

【0037】例えば、図9(a)において、所定の大き
さの置き台16の上面に測定対象物としての荷物1が置
いてあるとする。この場合、図4(a)と同様に上記荷
物1に複数の平行な光線3,3,…を照射すると、前述
と同様に荷物1上の光線3には変節点11ができる。こ
れと同時に、上記置き台16の周囲の縁部にも光線3の
変節点17ができる。このように、変節点11と変節点
17とが混在している状態では、どの変節点が荷物1の
輪郭を構成しているのか判定不可能である。
For example, in FIG. 9A, it is assumed that a package 1 as a measurement object is placed on the upper surface of a table 16 having a predetermined size. In this case, when a plurality of parallel light beams 3, 3,... Irradiate the package 1 as in FIG. 4A, a node 11 is formed in the light beam 3 on the package 1 as described above. At the same time, an inflection point 17 of the light beam 3 is also formed on the edge around the placing table 16. As described above, in a state where the inflection points 11 and 17 are mixed, it is impossible to determine which inflection point forms the outline of the load 1.

【0038】そこで、図9(b)に示すように、上記変
節点11,17が形成する線分を抽出し、その線分に沿
って閉領域を抽出する。直方体形状の荷物1は、光線照
射側の可視領域として3面を有すると想定し、光線照射
側の各辺像8′,9′,10′等を抽出した閉領域が3
面隣接して存在する部分を、上記荷物1の相似形状12
であるとする。それ以外の変節点17が形成する線分1
8は、閉領域を形成しないか、又は閉領域を形成しても
3面隣接して存在することはない。したがって、変節点
17が形成する線分18の部分は荷物1ではないと認識
し、上記相似形状12の部分のみを抽出して荷物1の相
似形状を生成する。
Therefore, as shown in FIG. 9B, a line segment formed by the inflection points 11 and 17 is extracted, and a closed region is extracted along the line segment. Assuming that the rectangular parallelepiped luggage 1 has three surfaces as visible regions on the light irradiation side, the closed region where each side image 8 ', 9', 10 ', etc. on the light irradiation side is extracted is 3
The portion existing adjacent to the surface is replaced with the similar shape 12
And Line segment 1 formed by other inflection points 17
8 does not form a closed region, or does not exist adjacent to three surfaces even if a closed region is formed. Therefore, it recognizes that the portion of the line segment 18 formed by the inflection point 17 is not the load 1, and extracts only the portion of the similar shape 12 to generate the similar shape of the load 1.

【0039】次に、上記の寸法測定方法を実施するのに
使用する寸法測定システムについて説明する。図10は
本発明による寸法測定システムの実施の形態を示すブロ
ック図である。この寸法測定システムは、荷物を郵便局
やコンビニエンスストア等で受け付ける際に、その荷物
に光線を照射して荷物の寸法を測定するもので、測定対
象物としての荷物は主として直方体形状(立方体を含
む)をしている。
Next, a description will be given of a dimension measuring system used to carry out the above-described dimension measuring method. FIG. 10 is a block diagram showing an embodiment of the dimension measuring system according to the present invention. This dimension measurement system measures the size of a package by irradiating the package with a light beam when the package is received at a post office or a convenience store. ).

【0040】図10において、本発明の寸法測定システ
ムは、発光源21と、光スキャナ22と、撮像装置23
と、画像処理部24と、制御回路部25とを備えて成
る。上記発光源21は、図1に示す測定対象物としての
荷物1に照射する光線3を発生する発光手段となるもの
で、例えばレーザダイオードから成り、発光源制御部2
6からの駆動信号により駆動されてレーザビーム等の光
線3を発生、停止するようになっている。
Referring to FIG. 10, a dimension measuring system according to the present invention comprises a light emitting source 21, an optical scanner 22, and an image pickup device 23.
, An image processing unit 24, and a control circuit unit 25. The light emitting source 21 serves as light emitting means for generating a light beam 3 for irradiating the package 1 as a measurement object shown in FIG.
Driven by a drive signal from the controller 6, it generates and stops a light beam 3 such as a laser beam.

【0041】光スキャナ22は、上記発光源21から発
生された光線3を2次元方向に走査して上記荷物1に照
射する光走査照射手段となるもので、現在の光線3の振
れ角度を検出できるようになっており、光スキャナ制御
部27からの駆動信号により駆動されるようになってい
る。なお、上記光スキャナ制御部27は、図1に示す荷
物1までの距離計測時における定角度の光線照射と、図
3に示す荷物1の形状計測時における横共振スキャン及
び縦ラスタースキャンの切り替えを行う光線照射とを制
御すると共に、スキャン電流の生成を行うものである。
また、上記光スキャナ22には、その内部で光を反射し
て光線3を振るミラーの位相を検出し、該光線3の正確
なスキャン先を想定するための位相角度を後述の制御回
路部25に送る光スキャナ位相検知部28が接続されて
いる。
The light scanner 22 serves as light scanning irradiation means for irradiating the light beam 3 emitted from the light emitting source 21 in the two-dimensional direction and irradiating the light beam 1 with the light beam. It can be driven by a drive signal from the optical scanner control unit 27. The optical scanner control unit 27 switches between irradiation of a fixed angle light beam when measuring the distance to the package 1 shown in FIG. 1 and switching between horizontal resonance scanning and vertical raster scan when measuring the shape of the package 1 shown in FIG. In addition to controlling the light beam irradiation to be performed, a scan current is generated.
Further, the optical scanner 22 detects the phase of a mirror that reflects light inside and swings the light beam 3, and determines a phase angle for assuming an accurate scan destination of the light beam 3 in a control circuit unit 25 described later. Is connected to the optical scanner phase detecting section 28 for sending to the optical scanner.

【0042】撮像装置23は、上記光スキャナ22によ
って荷物1に照射された光の反射光を受光して該荷物1
の全体を撮像する撮像手段となるもので、例えばCCD
(電荷結合素子)又はCMOS等の撮像素子から成る。
The imaging device 23 receives the reflected light of the light illuminated on the package 1 by the optical scanner 22 and receives the reflected light.
It is an imaging means for imaging the whole of the
(Charge coupled device) or an image sensor such as CMOS.

【0043】また、画像処理部24は、上記撮像装置2
3からの画像信号を処理して距離計測のための輝点間の
間隔値を用いて上記荷物1までの距離を算出すると共に
該荷物1の相似形状を生成する画像処理手段となるもの
で、図1に示す荷物1に照射した輝点6a〜6c間の間
隔Dを求めて該荷物1までの距離Lを算出すると共に、図
4に示す荷物1に照射された光線3の変節点11による
相似形状12を生成して、後述の制御回路部25に送る
ようになっている。
The image processing unit 24 is provided with the image pickup device 2
3 is an image processing means for processing the image signal from 3 and calculating the distance to the package 1 using the interval value between the luminescent spots for distance measurement and generating a similar shape of the package 1. A distance D between the bright spots 6a to 6c illuminated on the luggage 1 shown in FIG. 1 is obtained to calculate a distance L to the luggage 1, and the inflection point 11 of the light beam 3 illuminated on the luggage 1 shown in FIG. The similar shape 12 is generated and sent to a control circuit unit 25 described later.

【0044】さらに、制御回路部25は、上記画像処理
部24からの荷物1の距離L及び相似形状12の出力信
号を取り込んで上記荷物1の実寸法を演算して出力する
制御手段となるもので、例えばCPU(中央演算処理装
置)から成る。そして、この制御回路部25は、上記発
光源制御部26に制御信号(発光タイミング信号)を送
って発光源21からの光の発光、停止を制御し、また、
光スキャナ制御部27に制御信号を送って光スキャナ2
2による光線3の2次元方向の走査を制御し、さらに、
画像処理部24に制御信号を送って荷物1の距離及び相
似形状の計測を制御するようになっている。
Further, the control circuit unit 25 is a control means for taking in the distance L of the package 1 from the image processing unit 24 and the output signal of the similar shape 12 to calculate and output the actual dimensions of the package 1. And comprises, for example, a CPU (Central Processing Unit). The control circuit unit 25 sends a control signal (light emission timing signal) to the light emission source control unit 26 to control emission and stop of light from the light emission source 21.
A control signal is sent to the optical scanner
2 controls the scanning of the light beam 3 in the two-dimensional direction,
A control signal is sent to the image processing unit 24 to control the measurement of the distance and the similar shape of the package 1.

【0045】なお、上記制御回路部25には、システム
に対して測定開始信号を入力する測定開始スイッチやボ
タン等の操作入力部29が接続される。また、上記画像
処理部24からの荷物1の距離L及び相似形状12の出
力信号を取り込んで上記荷物1の縦、横、高さ等の実寸
法を演算した結果を取り込んで利用する外部装置30が
接続される。この外部装置30は、上記荷物1の実寸法
を用いて自動的にその荷物1の送料等を算出するもの
で、例えば郵便局やコンビニエンスストア等における料
金表示機又は精算処理機などである。
The control circuit unit 25 is connected to an operation input unit 29 such as a measurement start switch and a button for inputting a measurement start signal to the system. Also, an external device 30 which takes in the distance L of the package 1 and the output signal of the similar shape 12 from the image processing unit 24 and calculates the actual dimensions of the package 1 such as length, width, height, etc., and uses it. Is connected. The external device 30 automatically calculates the postage and the like of the package 1 using the actual dimensions of the package 1, and is, for example, a charge display device or a payment processing machine at a post office or a convenience store.

【0046】次に、このように構成された寸法測定シス
テムの動作について、図11に示すフローチャートを参
照して説明する。まず、図10に示す操作入力部29を
操作して測定開始信号を入力し、荷物1について寸法測
定を開始する(ステップS1)。
Next, the operation of the thus configured dimension measuring system will be described with reference to the flowchart shown in FIG. First, a measurement start signal is input by operating the operation input unit 29 shown in FIG. 10, and dimension measurement of the package 1 is started (step S1).

【0047】すると、図10に示す制御回路部25から
発光源制御部26及び光スキャナ制御部27に制御信号
を送って発光源21及び光スキャナ22を動作させ、図
1に示すように距離計測用の光線3(ここでは、レーザ
ビームとする)を出力し、照射する(ステップS2)。そ
の後、この荷物1に対するレーザ照射の状態を撮像装置
23で撮像して、画像処理部24に送る。そして、この
画像処理部24の処理により、図1に示す輝点6a〜6
cの間隔Dを用いて、荷物1までの距離Lを計測する(ス
テップS3)。
Then, a control signal is sent from the control circuit unit 25 shown in FIG. 10 to the light source control unit 26 and the light scanner control unit 27 to operate the light source 21 and the light scanner 22, and as shown in FIG. A light beam 3 (here, a laser beam) is output and irradiated (step S2). After that, the state of the laser irradiation on the package 1 is imaged by the imaging device 23 and sent to the image processing unit 24. The bright spots 6a to 6 shown in FIG.
The distance L to the package 1 is measured using the interval D of c (step S3).

【0048】次に、図3に示すように、上記荷物1に向
けてレーザを照射して、形状計測用のレーザラインを描
画する(ステップS4)。このレーザ照射の状態を撮像装
置23で撮像して、1ライン1フレームの画像を取得す
る(ステップS5)。そして、この取得した画像について
画像処理部24で画像処理を施し、図4(a)に示す荷
物1上のレーザラインについてレーザ輝線のみを取得す
る(ステップS6)。その後、図4(a)に示すレーザ輝
線上の変節点11を抽出する(ステップS7)。ここで、
上記変節点抽出の動作を所定回数繰り返したか否かを判
断し(ステップS8)、まだ途中であれば“NO”側に進ん
でステップS4に戻り、例えば30回繰り返して30フレ
ーム分取得したならば“YES”側に進んでステップS9に
入る。
Next, as shown in FIG. 3, a laser beam is applied to the package 1 to draw a laser line for shape measurement (step S4). The state of the laser irradiation is imaged by the imaging device 23 to obtain an image of one frame per line (step S5). Then, image processing is performed on the obtained image by the image processing unit 24, and only the laser emission line is obtained for the laser line on the package 1 shown in FIG. 4A (step S6). Thereafter, the inflection point 11 on the laser emission line shown in FIG. 4A is extracted (step S7). here,
It is determined whether or not the above-described inflection point extraction operation has been repeated a predetermined number of times (step S8). If the operation is still in progress, the process proceeds to the “NO” side and returns to step S4. Proceed to the “YES” side and enter step S9.

【0049】上記のようにステップS4からステップS8ま
で30回繰り返して変節点11を抽出したならば、図4
(b)に示すように、荷物1についての全変節点11が
整列する(ステップS9)。さらに画像処理を施して、上
記変節点11を線で結ぶことにより、図4(c)に示す
ように、荷物1のレーザ照射側の各辺像8′,9′,1
0′等によるワイヤフレームを作成する(ステップS1
0)。これにより、図3に示す荷物1の相似形状12が
生成され(ステップS11)、該荷物1の直方体形状が計
測できる。
As described above, if the inflection point 11 is extracted 30 times from step S4 to step S8,
As shown in (b), all the inflection points 11 of the package 1 are aligned (step S9). By further performing image processing and connecting the inflection points 11 with lines, as shown in FIG. 4C, the side images 8 ', 9', 1
Create a wire frame with 0 'or the like (step S1
0). Thereby, the similar shape 12 of the load 1 shown in FIG. 3 is generated (step S11), and the rectangular parallelepiped shape of the load 1 can be measured.

【0050】次に、上記画像処理部24から制御回路部
25に、ステップS3で計測した荷物1までの距離Lと、
ステップS11で生成した荷物1の相似形状12との信号
を送り、撮像装置23で撮像した画面内に占める上記相
似形状12の割合から、計算により荷物1の各辺の寸法
を算出する(ステップS12)。そして、この各辺の実寸
法から上記荷物1の寸法(縦、横、高さを足した値)を
出力し(ステップS13)、図10に示す外部装置30に
送る。
Next, from the image processing unit 24 to the control circuit unit 25, the distance L to the luggage 1 measured in step S3,
A signal with the similar shape 12 of the package 1 generated in step S11 is transmitted, and the size of each side of the package 1 is calculated by calculation from the ratio of the similar shape 12 occupying in the screen captured by the imaging device 23 (step S12). ). Then, the dimensions (the value obtained by adding the height, width, and height) of the package 1 are output from the actual dimensions of each side (step S13) and sent to the external device 30 shown in FIG.

【0051】図12は、図5〜図8を参照して説明した
光の照射方向に対して荷物1の面が斜めに位置している
場合の距離の補正動作を説明するフローチャートであ
る。まず、図10に示す操作入力部29を操作して測定
開始信号を入力し、荷物1について寸法測定を開始する
(ステップS21)。
FIG. 12 is a flowchart for explaining the distance correcting operation when the surface of the package 1 is positioned obliquely to the light irradiation direction described with reference to FIGS. First, the operation input unit 29 shown in FIG. 10 is operated to input a measurement start signal, and dimension measurement of the package 1 is started (step S21).

【0052】次に、予め取得しておいた荷物1の正面か
らレーザを照射した状態の面上の輝点間隔情報を呼び出
す(ステップS22)。次に、上記荷物1の面までの距離
を測定するためのレーザを照射する(ステップS23)。
そして、その状態の荷物1を撮像装置23で撮像して画
像を取得する(ステップS24)。
Next, the information of the bright spot interval on the surface where the laser is irradiated from the front of the baggage 1 which has been acquired in advance is called (step S22). Next, a laser beam for measuring the distance to the surface of the package 1 is irradiated (step S23).
Then, the luggage 1 in that state is imaged by the imaging device 23 to obtain an image (step S24).

【0053】次に、上記撮像した画像の信号を図10に
示す画像処理部24へ送り、例えば図7(d)に示す左
右方向の輝点間隔c′,d′を取得する(ステップS2
5)。さらに、同じく図7(d)に示す上下方向の輝点
間隔a′,b′を取得する(ステップS26)。
Next, the signal of the captured image is sent to the image processing section 24 shown in FIG. 10 to obtain, for example, the horizontal luminous point intervals c 'and d' shown in FIG. 7D (step S2).
Five). Further, the vertical luminous point intervals a 'and b' shown in FIG. 7D are obtained (step S26).

【0054】次に、図10に示す発光源21又は光スキ
ャナ22のレーザ射出点とそれぞれの輝点とを結ぶ直線
の方程式を導出する(ステップS27)。また、上記撮像
した撮像装置23上の視点(輝点)のピクセル位置とそ
れぞれの輝点とを結ぶ直線の方程式を導出する(ステッ
プS28)。そして、上記直線の方程式を用いて、それぞ
れの交点を算出する(ステップS29)。さらに、その交
点の座標値から、それぞれの交点間隔を算出する(ステ
ップS30)。
Next, an equation of a straight line connecting the laser emission point of the light emitting source 21 or the optical scanner 22 shown in FIG. 10 and each bright point is derived (step S27). Further, an equation of a straight line connecting the pixel position of the viewpoint (bright point) on the image pickup device 23 and the respective bright points on the image pickup device 23 is derived (step S28). Then, the respective intersections are calculated using the equation of the straight line (step S29). Further, each intersection interval is calculated from the coordinates of the intersection (step S30).

【0055】最後に、上記算出した交点間隔の値より、
発光源21又は光スキャナ22のレーザ射出点から荷物
1の斜め面までの距離を算出する(ステップS31)。こ
れにより、光の照射方向に対して荷物1の面が斜めに位
置している場合の距離の補正ができる。
Finally, from the calculated value of the intersecting point interval,
The distance from the laser emission point of the light emitting source 21 or the optical scanner 22 to the oblique surface of the package 1 is calculated (step S31). Thereby, the distance can be corrected when the surface of the package 1 is positioned obliquely with respect to the light irradiation direction.

【0056】図13は、図9を参照して説明した荷物1
が何か置き台の上に載っている場合にその置き台と区別
して荷物1を抽出する動作を説明するフローチャートで
ある。このフローチャートは、基本的には図11に示す
ものと同じであるが、図11に示すステップS4からステ
ップS9までの動作が図13ではステップS43において
「通常の形状計測」としてまとめてあることと、図13
にはステップS44とステップS47との間にステップS45と
ステップS46が挿入されている点が異なる。したがっ
て、ここでは図11と異なったステップについてだけ説
明する。
FIG. 13 shows the luggage 1 described with reference to FIG.
9 is a flowchart for explaining an operation of extracting a package 1 separately from a table when any is placed on the table. This flowchart is basically the same as that shown in FIG. 11, except that the operations from step S4 to step S9 shown in FIG. 11 are summarized as “normal shape measurement” in step S43 in FIG. FIG.
Is that steps S45 and S46 are inserted between steps S44 and S47. Therefore, only the steps different from those in FIG. 11 will be described here.

【0057】ステップS44で、図9(b)に示すように
荷物1のレーザ照射側の各辺像8′,9′,10′等に
よるワイヤフレームを作成した後、ステップS45におい
て、そのワイヤフレーム上で3つの隣り合う最内周領域
を指定し、直方体形成領域と指定する。すなわち、図9
(b)に示す各辺像8′,9′,10′等を抽出した閉
領域が3面隣接して存在する部分を、上記荷物1の直方
体形状であるとする。
In step S44, as shown in FIG. 9 (b), a wire frame is formed by the side images 8 ', 9', 10 'on the laser irradiation side of the package 1, and in step S45, the wire frame is formed. The three adjacent innermost peripheral regions are designated above, and designated as a rectangular parallelepiped forming region. That is, FIG.
It is assumed that a portion where three closed areas extracted from each of the side images 8 ', 9', 10 'and the like shown in FIG.

【0058】そして、ステップS46において、上記直方
体形成領域と指定した領域の外周領域を非直方体領域と
して指定する。すなわち、図9(b)に示す変節点17
が形成する線分18の部分は直方体形状ではないと認識
する。その後、ステップS45で指定した直方体形成領域
を抽出して荷物1の相似形状12を生成する(ステップ
S47)。その他のステップは、図11の各ステップと同
様の動作となる。
Then, in step S46, the outer peripheral area of the area designated as the rectangular parallelepiped formation area is designated as a non-cuboid area. That is, the inflection point 17 shown in FIG.
It is recognized that the portion of the line segment 18 formed by is not rectangular parallelepiped. Thereafter, the rectangular parallelepiped formation area designated in step S45 is extracted to generate the similar shape 12 of the package 1 (step S45).
S47). The other steps are the same as the respective steps in FIG.

【0059】図14は、本発明の寸法測定システムの第
二の実施形態を示すブロック図である。この実施形態
は、図10に示す実施形態において、制御回路部25の
出力側に、料金変換処理部31と料金表示部32とを設
けたものである。上記料金変換処理部31は、荷物の大
きさに対応した料金単価のデータに基づいて上記制御回
路部25で算出した荷物1の実寸法に対する料金を求め
る料金変換処理手段となるもので、荷物の大きさに対応
した料金単価のデータと荷物の実寸法に対する料金のデ
ータとの変換テーブルを備えている。また、料金表示部
32は、上記料金変換処理部31で求めた料金を表示す
る料金表示手段となるもので、例えばテレビモニタ又は
液晶モニタ等のディスプレイを備えている。なお、この
料金表示部32は、表示された料金について精算処理機
を兼ねるようにしてもよい。
FIG. 14 is a block diagram showing a second embodiment of the dimension measuring system of the present invention. In this embodiment, a charge conversion processing section 31 and a charge display section 32 are provided on the output side of the control circuit section 25 in the embodiment shown in FIG. The charge conversion processing section 31 serves as a charge conversion processing means for obtaining a charge for the actual size of the package 1 calculated by the control circuit section 25 based on the data of the charge unit price corresponding to the size of the package. A conversion table is provided for converting the unit price data corresponding to the size and the unit price data for the actual size of the package. The charge display unit 32 serves as charge display means for displaying the charge obtained by the charge conversion processing unit 31, and includes a display such as a television monitor or a liquid crystal monitor. The fee display unit 32 may also serve as a settlement processor for the displayed fee.

【0060】図15は、本発明の寸法測定システムの第
三の実施形態を示すブロック図である。この実施形態
は、図14に示す実施形態において、制御回路部25の
後段直後に累積処理部33を設け、その出力を後段側の
料金変換処理部31に送るようにしたものである。この
累積処理部33は、上記制御回路部25から出力される
複数個の荷物について算出した実寸法のデータを累積す
る累積処理手段となるもので、例えば加算処理器を備え
ている。したがって、その後段の料金変換処理部31及
び料金表示部32では、複数個の荷物についての料金を
求めて、個々的に又はまとめて表示することができる。
FIG. 15 is a block diagram showing a third embodiment of the dimension measuring system of the present invention. This embodiment is different from the embodiment shown in FIG. 14 in that an accumulation processing section 33 is provided immediately after the control circuit section 25, and the output thereof is sent to the charge conversion processing section 31 on the downstream side. The accumulation processing unit 33 serves as accumulation processing means for accumulating actual size data calculated for a plurality of packages output from the control circuit unit 25, and includes, for example, an addition processor. Therefore, the charge conversion processing unit 31 and the charge display unit 32 at the subsequent stage can obtain charges for a plurality of packages and display them individually or collectively.

【0061】なお、図15は、図14に示す実施形態に
ついて累積処理部33を設けた例を示したが、本発明は
これに限らず、図10に示す実施形態において制御回路
部25と外部装置30との間に上記累積処理部33を設
けてもよい。
FIG. 15 shows an example in which the accumulation processing section 33 is provided in the embodiment shown in FIG. 14, but the present invention is not limited to this. In the embodiment shown in FIG. The accumulation processing section 33 may be provided between the apparatus and the apparatus 30.

【0062】図16は、本発明の寸法測定システムの第
四の実施形態を示す外観斜視図である。この実施形態
は、図10及び図14並びに図15に示す寸法測定シス
テムの発光源21と、発光源制御部26と、光スキャナ
22と、光スキャナ制御部27と、光スキャナ位相検知
部28と、撮像装置23と、画像処理部24と、制御回
路部25とを、バーコードリーダ34が備える同種手段
と共通化すると共に該バーコードリーダ34と一体化し
たものである。なお、図16において、符号35はキー
入力部を示し、符号36は液晶表示部を示し、符号37
はバーコード及び画像の読み取り口を示している。
FIG. 16 is an external perspective view showing a fourth embodiment of the dimension measuring system of the present invention. This embodiment includes a light emitting source 21, a light emitting source control unit 26, an optical scanner 22, an optical scanner control unit 27, and an optical scanner phase detecting unit 28 of the dimension measuring system shown in FIGS. , The imaging device 23, the image processing unit 24, and the control circuit unit 25 are shared with the same type of means provided in the barcode reader 34 and are integrated with the barcode reader 34. In FIG. 16, reference numeral 35 denotes a key input unit, reference numeral 36 denotes a liquid crystal display unit, and reference numeral 37 denotes a liquid crystal display unit.
Indicates a barcode and image reading port.

【0063】この実施形態の場合は、荷物までの距離及
び荷物の形状を計測するための発光源21、発光源制御
部26、光スキャナ22、光スキャナ制御部27、光ス
キャナ位相検知部28、撮像装置23及び画像処理部2
4を、バーコードリーダ34のバーコード読み取り用に
も利用できる。また、制御回路部25における荷物の距
離及び形状を計測する演算機能以外の大部分の機能は、
バーコードリーダ34のバーコード読み取り用にも利用
できる。したがって、商品等に付されたバーコードを読
み取るバーコードリーダと、荷物の寸法を測定する寸法
測定システムとを一体化し、共用化することができる。
In the case of this embodiment, a light emitting source 21, a light emitting source control unit 26, an optical scanner 22, an optical scanner control unit 27, an optical scanner phase detecting unit 28 for measuring the distance to the package and the shape of the package, Imaging device 23 and image processing unit 2
4 can also be used for bar code reading by the bar code reader 34. Most functions other than the calculation function of measuring the distance and the shape of the baggage in the control circuit unit 25 are as follows.
It can also be used for bar code reading by the bar code reader 34. Therefore, the barcode reader that reads a barcode attached to a product or the like and the dimension measurement system that measures the dimensions of the package can be integrated and shared.

【0064】[0064]

【発明の効果】本発明は以上のように構成されたので、
請求項1に係る寸法測定方法によれば、荷物の一つの面
に向けて複数の光線を照射しその反射光を用いて該荷物
までの距離を計測し、上記荷物に向けて光線を2次元に
スキャンして照射し、その反射光を撮像して光切断法に
より該荷物の光線照射側の各辺像を抽出し上記荷物の相
似形状を生成し、この生成した荷物の相似形状と該荷物
までの距離を用いて上記荷物の実寸法を求めることがで
きる。これにより、専用台等を必要とせず、荷物に非接
触でワンタッチでその荷物の寸法を測定することができ
る。したがって、専用の測定台等により場所や空間が占
有されず、またワンタッチでその荷物の寸法が測定で
き、寸法測定の効率が向上する。
The present invention has been configured as described above.
According to the dimension measuring method of the present invention, a plurality of light beams are irradiated toward one surface of the package, the distance to the package is measured using the reflected light, and the light beam is two-dimensionally directed toward the package. Scan and irradiate the light, image the reflected light, extract each side image on the light beam irradiation side of the luggage by the light section method, and generate a similar shape of the luggage, the similar shape of the generated luggage and the luggage The actual size of the package can be determined using the distance to the package. This makes it possible to measure the size of the package with one touch without contacting the package without the need for a dedicated stand or the like. Therefore, a place or space is not occupied by a dedicated measuring table or the like, and the dimensions of the package can be measured with one touch, thereby improving the efficiency of the dimension measurement.

【0065】また、請求項2に係る発明によれば、上記
荷物は、立方体を含む直方体形状としたことにより、光
切断法により荷物の相似形状を生成するのが容易に行え
る。
According to the second aspect of the present invention, since the package has a rectangular parallelepiped shape including a cube, a similar shape of the package can be easily generated by a light cutting method.

【0066】さらに、請求項3に係る発明によれば、上
記荷物までの距離を計測するステップは、光線の照射方
向に対して荷物の面が斜めに位置している場合に、該荷
物の一つの面に対して上下、左右に離れて照射した光線
の輝点間の間隔の変化により荷物の傾きを求め、上記荷
物までの距離の補正を行うことを含むことにより、光線
の照射方向に対して荷物の面が斜めに位置している場合
に、その面までの正確な距離を計測できる。
Further, according to the third aspect of the present invention, the step of measuring the distance to the package includes the step of measuring the distance to the package when the plane of the package is oblique to the light irradiation direction. Includes correcting the distance to the package by calculating the inclination of the package by changing the distance between the bright spots of the beam irradiated vertically and horizontally away from one surface and correcting the distance to the package. If the luggage surface is located at an angle, the distance to the surface can be measured accurately.

【0067】さらにまた、請求項4に係る発明によれ
ば、上記荷物の相似形状を生成するステップは、荷物に
対する光線照射側の各辺像を抽出した閉領域が3面隣接
して存在する部分を抽出することにより、他の部材と荷
物とを区別して抽出することを含むことにより、荷物が
何かの台の上に載っていても、その台と荷物とを区別し
て該荷物の相似形状を生成できる。
According to the fourth aspect of the present invention, the step of generating the similar shape of the package includes the step of extracting three side images on the light-irradiation side of the package with three closed regions adjacent to each other. By extracting the luggage from other members by extracting the luggage, even if the luggage is placed on a table, the table can be distinguished from the luggage and the similar shape of the luggage Can be generated.

【0068】次に、請求項5に係る寸法測定システムに
よれば、発光手段により測定対象物としての荷物に照射
する光線を発生し、上記発光手段から発生された光線を
光走査照射手段で2次元方向に走査して上記荷物に照射
し、この荷物に照射された光の反射光を受光して撮像手
段により上記荷物の全体を撮像し、この撮像手段からの
画像信号を画像処理手段で処理して距離計測のための輝
点間の間隔値を用いて上記荷物までの距離を算出すると
共に該荷物の相似形状を生成し、この画像処理手段から
の距離及び相似形状の出力信号を取り込んで制御手段に
より上記荷物の実寸法を演算して出力することができ
る。これにより、専用台等を必要とせず、荷物に非接触
でワンタッチでその荷物の寸法を測定することができ
る。したがって、専用の測定台等により場所や空間が占
有されず、またワンタッチでその荷物の寸法が測定で
き、寸法測定の効率が向上する。
Next, according to the dimension measuring system of the fifth aspect, the light beam is emitted by the light emitting means to irradiate the baggage as the object to be measured, and the light beam emitted from the light emitting means is scanned by the light scanning irradiation means. The package is scanned in the dimensional direction to irradiate the package, the reflected light of the light applied to the package is received, and the entire package is imaged by the imaging unit, and the image signal from the imaging unit is processed by the image processing unit. The distance to the baggage is calculated using the interval value between the luminescent spots for distance measurement, and a similar shape of the baggage is generated, and an output signal of the distance and the similar shape from the image processing means is taken. The actual size of the package can be calculated and output by the control means. This makes it possible to measure the size of the package with one touch without contacting the package without the need for a dedicated stand or the like. Therefore, a place or space is not occupied by a dedicated measuring table or the like, and the size of the package can be measured with one touch, and the efficiency of the size measurement is improved.

【0069】また、請求項6に係る発明によれば、上記
荷物は、立方体を含む直方体形状としたことにより、光
切断法により荷物の相似形状を生成するのが容易に行え
る。
According to the sixth aspect of the present invention, since the package has a rectangular parallelepiped shape including a cube, a similar shape of the package can be easily generated by a light cutting method.

【0070】さらに、請求項7に係る発明によれば、上
記制御手段の出力側に、荷物の大きさに対応した料金単
価のデータに基づいて上記制御手段で算出した荷物の実
寸法に対する料金を求める料金変換処理手段と、この料
金変換処理手段で求めた料金を表示する料金表示手段と
を備えたことにより、荷物の実寸法に対する料金を求め
て、その料金を料金表示手段に表示することができる。
Further, according to the invention of claim 7, on the output side of the control means, the charge for the actual size of the package calculated by the control means based on the data of the unit price corresponding to the size of the package is provided. By providing the required charge conversion processing means and the charge display means for displaying the charge obtained by the charge conversion processing means, it is possible to obtain a charge for the actual size of the package and display the charge on the charge display means. it can.

【0071】さらにまた、請求項8に係る発明によれ
ば、上記制御手段の後段直後に、該制御手段から出力さ
れる複数個の荷物について算出した実寸法のデータを累
積する累積処理手段を設け、この累積処理手段からの出
力をその後段側に送るようにしたことにより、複数個の
荷物について算出した実寸法を累積し、その累積結果に
ついてその後の必要な処理を行うことができる。
Further, according to the present invention, immediately after the control means, there is provided an accumulation processing means for accumulating actual size data calculated for a plurality of packages output from the control means. By transmitting the output from the accumulating means to the subsequent stage, the actual dimensions calculated for a plurality of packages can be accumulated, and subsequent necessary processing can be performed on the accumulated result.

【0072】また、請求項9に係る寸法測定システムに
よれば、上述の寸法測定システムにおける発光手段と光
走査照射手段と撮像手段と画像処理手段と制御手段と
を、バーコードリーダが備える同種手段と共通化すると
共に該バーコードリーダと一体化したことにより、商品
等に付されたバーコードを読み取るバーコードリーダ
と、荷物の寸法を測定する寸法測定システムとを一体化
し、共用化することができる。したがって、携帯型のも
のとして小型化し、操作性及び寸法測定の効率を向上す
ることができる。
According to the dimensional measuring system of the ninth aspect, the bar code reader includes the same type of light emitting means, light scanning and irradiating means, imaging means, image processing means, and control means in the above-described dimension measuring system. By integrating the bar code reader with the bar code reader, a bar code reader that reads a bar code attached to a product and the like and a dimension measurement system that measures the dimensions of a package can be integrated and shared. it can. Therefore, the size can be reduced as a portable type, and the operability and the efficiency of dimension measurement can be improved.

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

【図1】 本発明による寸法測定方法の実施の形態を示
す説明図であり、荷物までの距離を計測する状態を示し
ている。
FIG. 1 is an explanatory view showing an embodiment of a dimension measuring method according to the present invention, and shows a state in which a distance to a package is measured.

【図2】 上記荷物までの距離計測の原理を示す説明図
である。
FIG. 2 is an explanatory diagram showing the principle of measuring the distance to the package.

【図3】 上記寸法測定方法の実施の形態を示す説明図
であり、荷物の形状を計測する状態を示している。
FIG. 3 is an explanatory view showing an embodiment of the dimension measuring method, showing a state in which the shape of a package is measured.

【図4】 上記荷物の形状計測において該荷物の相似形
状を計測する状態を示す説明図である。
FIG. 4 is an explanatory diagram showing a state in which a similar shape of the package is measured in the shape measurement of the package.

【図5】 光線の照射方向に対して荷物の面が斜めに位
置している場合の距離の補正について説明する図であ
り、荷物を真横方向から見た状態の説明図である。
FIG. 5 is a diagram for explaining the correction of the distance when the surface of the package is positioned obliquely with respect to the irradiation direction of the light beam, and is a diagram illustrating the package viewed from the side.

【図6】 光線の照射方向に対して荷物の面が斜めに位
置している場合の距離の補正について説明する図であ
り、荷物を真上方向から見た状態の説明図である。
FIG. 6 is a diagram for explaining the correction of the distance when the surface of the package is positioned obliquely with respect to the irradiation direction of the light beam, and is a diagram illustrating the package viewed from directly above.

【図7】 上記荷物の或る面に発光源から光線を順次照
射して、5点の輝点を照射した状態を示す説明図であ
る。
FIG. 7 is an explanatory diagram showing a state in which light is sequentially emitted from a light emitting source to a certain surface of the package and five bright spots are emitted.

【図8】 図6に示す荷物の正対する面が水平面内で手
前側又は後方側に傾いた状態の距離の導出例を説明する
図である。
8 is a diagram illustrating an example of deriving a distance in a state where the facing surface of the luggage illustrated in FIG. 6 is inclined forward or backward in a horizontal plane.

【図9】 荷物が置き台の上に載っている場合にその置
き台と区別して上記荷物を抽出する状態を示す説明図で
ある。
FIG. 9 is an explanatory view showing a state in which, when a package is placed on a table, the package is extracted separately from the table.

【図10】 本発明による寸法測定システムの実施の形
態を示すブロック図である。
FIG. 10 is a block diagram showing an embodiment of a dimension measuring system according to the present invention.

【図11】 本発明の寸法測定システムの動作を説明す
るフローチャートである。
FIG. 11 is a flowchart illustrating an operation of the dimension measuring system of the present invention.

【図12】 図5〜図8を参照して説明した光の照射方
向に対して荷物の面が斜めに位置している場合の距離の
補正動作を説明するフローチャートである。
FIG. 12 is a flowchart illustrating a distance correcting operation when the surface of the package is positioned obliquely to the light irradiation direction described with reference to FIGS.

【図13】 図9を参照して説明した荷物が置き台の上
に載っている場合にその置き台と区別して荷物を抽出す
る動作を説明するフローチャートである。
FIG. 13 is a flowchart illustrating an operation of extracting a package while distinguishing the package described above with reference to FIG. 9 from the table when the package is placed on the table;

【図14】 本発明の寸法測定システムの第二の実施形
態を示すブロック図である。
FIG. 14 is a block diagram showing a second embodiment of the dimension measuring system of the present invention.

【図15】 本発明の寸法測定システムの第三の実施形
態を示すブロック図である。
FIG. 15 is a block diagram showing a third embodiment of the dimension measuring system of the present invention.

【図16】 本発明の寸法測定システムの第四の実施形
態を示す外観斜視図である。
FIG. 16 is an external perspective view showing a fourth embodiment of the dimension measuring system of the present invention.

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

1…荷物 2…荷物の面 3…光線 4,21…発光源 5,22…光スキャナ 7,23…撮像装置 12…相似形状 16…置き台 24…画像処理部 25…制御回路部 26…発光源制御部 27…光スキャナ制御部 28…光スキャナ位相検知部 29…操作入力部 30…外部装置 31…料金変換処理部 32…料金表示部 33…累積処理部 34…バーコードリーダ DESCRIPTION OF SYMBOLS 1 ... Luggage 2 ... Luggage surface 3 ... Light beam 4,21 ... Light emission source 5,22 ... Light scanner 7,23 ... Imaging device 12 ... Similar shape 16 ... Placement table 24 ... Image processing unit 25 ... Control circuit unit 26 ... Light emission Source control unit 27 Optical scanner control unit 28 Optical scanner phase detection unit 29 Operation input unit 30 External device 31 Charge conversion processing unit 32 Charge display unit 33 Accumulation processing unit 34 Barcode reader

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 2F065 AA06 AA21 AA53 BB05 DD06 FF01 FF02 FF04 FF09 GG06 HH04 JJ03 JJ26 LL13 LL62 MM16 QQ31 2F112 AA09 BA02 BA05 BA10 CA08 DA15 DA26 FA03 FA45 GA05 ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 2F065 AA06 AA21 AA53 BB05 DD06 FF01 FF02 FF04 FF09 GG06 HH04 JJ03 JJ26 LL13 LL62 MM16 QQ31 2F112 AA09 BA02 BA05 BA10 CA08 DA15 DA26 FA03 FA45 GA05

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】測定対象物としての荷物に光線を照射して
その荷物の寸法を測定する寸法測定方法において、 上記荷物の一つの面に向けて複数の光線を照射しその反
射光を用いて該荷物までの距離を計測するステップと、 上記荷物に向けて光線を2次元にスキャンして照射し、
その反射光を撮像して光切断法により該荷物の光線照射
側の各辺像を抽出し上記荷物の相似形状を生成するステ
ップと、 上記生成した荷物の相似形状と該荷物までの距離を用い
て上記荷物の実寸法を求めるステップと、を行うことを
特徴とする寸法測定方法。
1. A size measuring method for irradiating a light beam to a package as a measurement object to measure the size of the package, the method comprising: irradiating a plurality of light beams to one surface of the package, and using reflected light thereof. Measuring the distance to the baggage; and irradiating the baggage with a light beam two-dimensionally.
Imaging the reflected light, extracting each side image on the light beam irradiation side of the package by a light cutting method, and generating a similar shape of the package; and using the similar shape of the generated package and the distance to the package. Obtaining the actual dimensions of the package by carrying out the method.
【請求項2】上記荷物は、立方体を含む直方体形状であ
ることを特徴とする請求項1記載の寸法測定方法。
2. The method according to claim 1, wherein the package has a rectangular parallelepiped shape including a cube.
【請求項3】上記荷物までの距離を計測するステップ
は、光線の照射方向に対して荷物の面が斜めに位置して
いる場合に、該荷物の一つの面に対して上下、左右に離
れて照射した光線の輝点間の間隔の変化により荷物の傾
きを求め、上記荷物までの距離の補正を行うステップを
含むことを特徴とする請求項1又は2記載の寸法測定方
法。
3. The step of measuring the distance to the package includes, when the plane of the package is positioned obliquely with respect to the irradiation direction of the light beam, moving the package vertically or horizontally with respect to one surface of the package. 3. The dimension measuring method according to claim 1, further comprising a step of obtaining an inclination of the baggage based on a change in an interval between bright points of the irradiated light beam and correcting a distance to the baggage.
【請求項4】上記荷物の相似形状を生成するステップ
は、荷物に対する光線照射側の各辺像を抽出した閉領域
が3面隣接して存在する部分を抽出することにより、他
の部材と荷物とを区別して抽出するステップを含むこと
を特徴とする請求項1又は2記載の寸法測定方法。
4. The method according to claim 1, wherein the step of generating the similar shape of the package includes extracting a portion where three closed areas where each side image on the light beam irradiation side of the package is extracted are adjacent to each other, and the other components and the package are extracted. 3. The method according to claim 1, further comprising the step of extracting the image data in a manner distinguishing from the image data.
【請求項5】測定対象物としての荷物に光線を照射して
その荷物の寸法を測定する寸法測定システムにおいて、 上記荷物に照射する光線を発生する発光手段と、 この発光手段から発生された光線を2次元方向に走査し
て上記荷物に照射する光走査照射手段と、 上記荷物に照射された光の反射光を受光して該荷物の全
体を撮像する撮像手段と、 この撮像手段からの画像信号を処理して距離計測のため
の輝点間の間隔値を用いて上記荷物までの距離を算出す
ると共に該荷物の相似形状を生成する画像処理手段と、 この画像処理手段からの距離及び相似形状の出力信号を
取り込んで上記荷物の実寸法を演算して出力する制御手
段と、を備えて成ることを特徴とする寸法測定システ
ム。
5. A dimension measuring system for irradiating a light beam on a load as a measurement object to measure the size of the load, a light emitting means for generating a light beam for irradiating the load, and a light beam generated from the light emitting means. Optical scanning irradiation means for scanning the package in two-dimensional directions to irradiate the package, imaging means for receiving reflected light of the light applied to the package and imaging the entire package, and images from the imaging means Image processing means for processing a signal to calculate a distance to the package by using a distance value between luminescent spots for distance measurement and generating a similar shape of the package; and a distance and similarity from the image processing means. Control means for taking in an output signal of the shape, calculating and outputting the actual size of the package, and outputting the result.
【請求項6】上記荷物は、立方体を含む直方体形状であ
ることを特徴とする請求項5記載の寸法測定システム。
6. The dimension measuring system according to claim 5, wherein the package has a rectangular parallelepiped shape including a cube.
【請求項7】上記制御手段の出力側に、荷物の大きさに
対応した料金単価のデータに基づいて上記制御手段で算
出した荷物の実寸法に対する料金を求める料金変換処理
手段と、この料金変換処理手段で求めた料金を表示する
料金表示手段とを、備えたことを特徴とする請求項5又
は6記載の寸法測定システム。
7. A charge conversion processing means for obtaining a charge for an actual size of a package calculated by the control means based on data of a charge unit price corresponding to the size of a package at an output side of the control means; 7. The dimension measuring system according to claim 5, further comprising a fee display unit for displaying a fee obtained by the processing unit.
【請求項8】上記制御手段の後段直後に、該制御手段か
ら出力される複数個の荷物について算出した実寸法のデ
ータを累積する累積処理手段を設け、この累積処理手段
からの出力をその後段側に送ることを特徴とする請求項
5,6又は7記載の寸法測定システム。
8. Immediately after the control means, accumulation processing means for accumulating data of actual dimensions calculated for a plurality of packages output from the control means is provided. The dimension measuring system according to claim 5, 6 or 7, wherein the system is sent to a side.
【請求項9】請求項5記載の発光手段と光走査照射手段
と撮像手段と画像処理手段と制御手段とを、バーコード
リーダが備える同種手段と共通化すると共に該バーコー
ドリーダと一体化したことを特徴とする寸法測定システ
ム。
9. The light emitting means, the light scanning irradiation means, the image pickup means, the image processing means and the control means according to claim 5 are shared with the same kind means provided in the bar code reader and integrated with the bar code reader. A dimension measuring system, characterized in that:
JP2001133452A 2001-04-27 2001-04-27 Method and system for measuring dimensions Pending JP2002328008A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001133452A JP2002328008A (en) 2001-04-27 2001-04-27 Method and system for measuring dimensions

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001133452A JP2002328008A (en) 2001-04-27 2001-04-27 Method and system for measuring dimensions

Publications (1)

Publication Number Publication Date
JP2002328008A true JP2002328008A (en) 2002-11-15

Family

ID=18981311

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001133452A Pending JP2002328008A (en) 2001-04-27 2001-04-27 Method and system for measuring dimensions

Country Status (1)

Country Link
JP (1) JP2002328008A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009040553A (en) * 2007-08-09 2009-02-26 Toyota Industries Corp Fork lift control device for forklift
KR20150084428A (en) * 2014-01-14 2015-07-22 한국전자통신연구원 Apparatus and Method Measuring Mail Size and Acquiring Mail Information
CN107085493A (en) * 2016-02-16 2017-08-22 中强光电股份有限公司 The method of adjustment of touch control projection system and its touch-control sensitivity
JP2018510347A (en) * 2015-03-31 2018-04-12 ベイジン ジンドン シャンケ インフォメーション テクノロジー カンパニー リミテッド Apparatus, method and apparatus for measuring object size
JP2018112521A (en) * 2017-01-13 2018-07-19 株式会社オプトエレクトロニクス Dimension measurement device, information reading device with measurement function, and dimension measurement method
JP6664768B1 (en) * 2019-03-12 2020-03-13 カワノ株式会社 Adhesive application device and adhesive application method
JP2020123332A (en) * 2020-01-16 2020-08-13 株式会社Jon System and method for managing history of setting boundary point, program, data structure of boundary point setting data
CN113281763A (en) * 2021-04-08 2021-08-20 恒鸿达科技有限公司 Long jump distance measurement method based on double lasers
JPWO2020100956A1 (en) * 2018-11-14 2021-10-14 日本電気株式会社 Information processing system, information processing method and program
JP7464851B2 (en) 2021-03-26 2024-04-10 株式会社デンソーウェーブ Code reader

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009040553A (en) * 2007-08-09 2009-02-26 Toyota Industries Corp Fork lift control device for forklift
KR20150084428A (en) * 2014-01-14 2015-07-22 한국전자통신연구원 Apparatus and Method Measuring Mail Size and Acquiring Mail Information
KR102144125B1 (en) 2014-01-14 2020-08-12 한국전자통신연구원 Apparatus and Method Measuring Mail Size and Acquiring Mail Information
JP2018510347A (en) * 2015-03-31 2018-04-12 ベイジン ジンドン シャンケ インフォメーション テクノロジー カンパニー リミテッド Apparatus, method and apparatus for measuring object size
CN107085493A (en) * 2016-02-16 2017-08-22 中强光电股份有限公司 The method of adjustment of touch control projection system and its touch-control sensitivity
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
JPWO2020100956A1 (en) * 2018-11-14 2021-10-14 日本電気株式会社 Information processing system, information processing method and program
JP6664768B1 (en) * 2019-03-12 2020-03-13 カワノ株式会社 Adhesive application device and adhesive application method
WO2020183621A1 (en) * 2019-03-12 2020-09-17 カワノ株式会社 Adhesive coating device and adhesive coating method
JP2020123332A (en) * 2020-01-16 2020-08-13 株式会社Jon System and method for managing history of setting boundary point, program, data structure of boundary point setting data
JP7464851B2 (en) 2021-03-26 2024-04-10 株式会社デンソーウェーブ Code reader
CN113281763A (en) * 2021-04-08 2021-08-20 恒鸿达科技有限公司 Long jump distance measurement method based on double lasers
CN113281763B (en) * 2021-04-08 2023-11-17 恒鸿达科技有限公司 Double-laser-based long jump distance measurement method

Similar Documents

Publication Publication Date Title
US20200326184A1 (en) Dual-resolution 3d scanner and method of using
US8233041B2 (en) Image processing device and image processing method for performing three dimensional measurements
JP4111166B2 (en) 3D shape input device
JP5189287B2 (en) Dental laser digitizer system
CN105143820B (en) Depth scan is carried out using multiple transmitters
US8929608B2 (en) Device and method for recognizing three-dimensional position and orientation of article
JP5465128B2 (en) Point cloud position data processing device, point cloud position data processing system, point cloud position data processing method, and point cloud position data processing program
US20170307363A1 (en) 3d scanner using merged partial images
US7046838B1 (en) Three-dimensional data input method and apparatus
US20060153558A1 (en) Method and apparatus for capturing images using a color laser projection display
CN110325879A (en) System and method for compress three-dimensional depth sense
JP2002328008A (en) Method and system for measuring dimensions
WO2022050279A1 (en) Three-dimensional measurement device
JP3817640B1 (en) 3D shape measurement system
JP2002022424A (en) Three-dimensional measuring apparatus
JP2002022423A (en) Three-dimensional input device
JP2566395B2 (en) Three-dimensional coordinate measuring device
US20210063850A1 (en) Imaging device, method for controlling imaging device, and system including imaging device
JPH07306037A (en) Solid object region detector, measuring instrument of distance to solid object region, and their detection and measurement method
JP2000292121A (en) Three-dimensional measurement method and three- dimensional input device
JP2002286420A (en) Terminal equipment having dimension measurement function
JP3519296B2 (en) Automatic measurement method and automatic measurement device for thermal image
KR20150136036A (en) 3-Dimensional Scanning Method and Scanner Device
JP2004170277A (en) 3-dimensional measurement method, 3-dimensional measurement system, image processing apparatus, and computer program
JP2020104162A (en) Laser processing device