JP2012101874A - Outline detection system - Google Patents

Outline detection system Download PDF

Info

Publication number
JP2012101874A
JP2012101874A JP2010250599A JP2010250599A JP2012101874A JP 2012101874 A JP2012101874 A JP 2012101874A JP 2010250599 A JP2010250599 A JP 2010250599A JP 2010250599 A JP2010250599 A JP 2010250599A JP 2012101874 A JP2012101874 A JP 2012101874A
Authority
JP
Japan
Prior art keywords
image
detection unit
outer shape
unit
edge
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.)
Granted
Application number
JP2010250599A
Other languages
Japanese (ja)
Other versions
JP5703696B2 (en
Inventor
Tadashi Adachi
正 安達
Sachikazu Tanaka
祥和 田中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2010250599A priority Critical patent/JP5703696B2/en
Publication of JP2012101874A publication Critical patent/JP2012101874A/en
Application granted granted Critical
Publication of JP5703696B2 publication Critical patent/JP5703696B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Geophysics And Detection Of Objects (AREA)
  • Control Of Conveyors (AREA)

Abstract

PROBLEM TO BE SOLVED: To detect the outline of an object carried by carrying devices in a predetermined direction.SOLUTION: The outline detection system includes: a first carrying device 110 configured to carry the object M in the predetermined direction D; a second carrying device 120 arranged at a distance from the installation position of the first carrying device 110 in the predetermined direction D, and configured to receive the object M carried by the first carrying device 110 and carry the object M in the predetermined direction D; a plate body 130 arranged between the first and second carrying devices 110 and 120, and located lower than the carrying surface of each of the first and second carrying devices 110 and 120, and having a pattern of stripes arranged in a direction perpendicular to the predetermined direction D provided on the top surface thereof; an imaging device 140 provided above the plate body 130, and located higher than the carrying surface of each of the first and second carrying devices 110 and 120, and configured to image an imaging area extending in the direction perpendicular to the predetermined direction D; and an outline detection device 200 configured to detect the outline of the object M based on image data imaged by the imaging device 140.

Description

本発明は、外形検出システムに関する。特に、本発明は、搬送装置によって所定方向へ搬送される対象物の外形を検出する外形検出システムに関する。   The present invention relates to an outer shape detection system. In particular, the present invention relates to an outer shape detection system that detects the outer shape of an object conveyed in a predetermined direction by a conveying device.

物体の外形を検出する一般的な方法においては、対象物を撮像したグレースケール画像に対してソーベルフィルタ等の濃度差を利用したエッジ強調を行った後に、2値化等の画像処理によって対象物のエッジを検出する。しかしながら、このような方法は、対象物と背景の色の濃淡差がない場合、モノクロ2値画像において、対象物と背景との境界を識別することができないため有効ではない。   In a general method for detecting the outer shape of an object, after performing edge enhancement using a density difference such as a Sobel filter on a grayscale image obtained by imaging the object, the object is subjected to image processing such as binarization. Detect object edges. However, such a method is not effective when there is no difference in color between the object and the background, because the boundary between the object and the background cannot be identified in a monochrome binary image.

図8は、既知の技術によって撮像されたモノクロ2値画像の一例を示す。図8(a)に示す例の場合には、対象物と背景の色の濃淡差が大きいため、対象物と背景との境界を、画像処理によって容易に検出することができる。これに対し、図8(b)、(c)に示す例の場合には、対象物と背景の色の濃淡差が小さいため、対象物と背景との境界を、画像処理によって検出することが難しい。   FIG. 8 shows an example of a monochrome binary image captured by a known technique. In the case of the example shown in FIG. 8A, the difference between the color of the object and the background is large, and therefore the boundary between the object and the background can be easily detected by image processing. On the other hand, in the example shown in FIGS. 8B and 8C, the difference between the color of the object and the background is small, so that the boundary between the object and the background can be detected by image processing. difficult.

このような問題を解決する方法としては、対象物の下方から光を照射することによって、対象物と背景の濃度差を作り出して対象物のエッジ検出を行う手法がある。この手法は対象物の濃度に左右されないという特徴を持つが、背後からの照明等、光学系装置を設置する必要があり、既存の装置に適用するにはそのような変更が困難な場合が多く、新規に開発する装置に適用する場合であってもコストの増加を招いていた。   As a method for solving such a problem, there is a method of detecting the edge of the object by creating a density difference between the object and the background by irradiating light from below the object. Although this method has the feature that it is not affected by the concentration of the object, it is necessary to install an optical system device such as illumination from the back, and such changes are often difficult to apply to existing devices. Even when applied to a newly developed device, the cost has been increased.

また、物体の存否、位置、形状を光学的に検知する方法としては、物体の背景に反射率の相違する部分からなる縞状パターンを位置せしめ、光スポットを縞と交叉する方向に走査し、その反射光のレベル変化に基づき物体の存否、位置、形状を交互的に検知する技術が知られている(例えば、特許文献1参照。)。   In addition, as a method of optically detecting the presence / absence, position, and shape of an object, a striped pattern consisting of portions having different reflectances is positioned on the background of the object, and a light spot is scanned in a direction intersecting with the stripe, A technique for alternately detecting the presence / absence, position, and shape of an object based on the level change of the reflected light is known (for example, see Patent Document 1).

特開昭61−272680号公報JP-A-61-272680

特許文献1に記載の技術によっては、皿の如き背景部材を背にした物体に光スポットを投射して走査するので、反射光レベルの変化が規則的であるか否かでその存否を検知できる。   According to the technique described in Patent Document 1, since a light spot is projected and scanned on an object with a background member such as a dish on the back, the presence or absence of the reflected light level can be detected based on whether the change in the reflected light level is regular or not. .

しかしながら、特許文献1に記載の技術においては、皿をコンベア上に載置してこれを縞に平行な方向へ移動させるものとすると、その移動方向に副走査が行われることになることから、コンベアによる対象物の移動速度を下げなければ、対象物の外形を精度良く検出することはできない。したがって、特許文献1に記載の技術においては、対象物の外形を精度良く検出しようとすると、対象物の搬送効率が悪くなってしまう。   However, in the technique described in Patent Document 1, if the plate is placed on a conveyor and moved in a direction parallel to the stripes, sub-scanning is performed in the moving direction. The outline of the object cannot be accurately detected unless the moving speed of the object by the conveyor is reduced. Therefore, in the technique described in Patent Literature 1, if the outer shape of the object is detected with high accuracy, the conveyance efficiency of the object is deteriorated.

上記課題を解決するために、本発明の第1の形態によると、搬送装置によって所定方向へ搬送される対象物の外形を検出する外形検出システムであって、対象物を所定方向へ搬送する第1搬送装置と、第1搬送装置の設置位置よりも所定方向へ間隔を置いて配置されて、第1搬送装置によって搬送されてきた対象物が受け渡されて所定方向へ搬送する第2搬送装置と、第1搬送装置と第2搬送装置との間において、第1搬送装置及び第2搬送装置の各搬送面よりも低い位置に配置されて、所定方向と直交する方向に並ぶ縞模様が上面に設けられた板体と、板体の上方において、第1搬送装置及び第2搬送装置の各搬送面よりも高い位置に配置されて、所定方向と直交する方向に延びる撮像領域を撮像する撮像装置と、撮像装置が撮像した画像データに基づいて、対象物の外形を検出する外形検出装置とを備える。   In order to solve the above-described problem, according to a first aspect of the present invention, there is provided an outer shape detection system for detecting an outer shape of an object conveyed in a predetermined direction by a conveying device, wherein the object is conveyed in a predetermined direction. 1st conveying apparatus and the 2nd conveying apparatus which is arrange | positioned at intervals in the predetermined direction rather than the installation position of the 1st conveying apparatus, and the target object conveyed by the 1st conveying apparatus is delivered and conveyed in a predetermined direction And between the first transport device and the second transport device, a striped pattern arranged at a position lower than the transport surfaces of the first transport device and the second transport device and arranged in a direction orthogonal to a predetermined direction is an upper surface. And an image pickup region that is disposed at a position higher than the transfer surfaces of the first transfer device and the second transfer device and extends in a direction orthogonal to a predetermined direction above the plate body. Device and images captured by the imaging device Based on over data, and a contour detecting unit that detects a contour of the object.

なおまた、上記のように発明の概要は、本発明の必要な特徴の全てを列挙したものではなく、これらの特徴群のサブコンビネーションもまた、発明となり得る。   In addition, as described above, the summary of the invention does not enumerate all necessary features of the present invention, and sub-combinations of these feature groups can also be the invention.

以上の説明から明らかなように、この発明においては、対象物の搬送過程において、縞模様が上面に設けられた板体を対象物の下方に設置して、その上方から対象物の搬送方向と直交する撮像領域を撮像するという安価な手法を採用したことによって、撮像装置によって撮像した対象物の外形を、対象物の色の濃淡に拘らず検出することができる。   As is clear from the above description, in the present invention, in the process of transporting the object, a plate body having a striped pattern provided on the upper surface is installed below the object, and the transport direction of the object from above is set. By adopting an inexpensive method of imaging an orthogonal imaging region, the outer shape of the object imaged by the imaging device can be detected regardless of the color density of the object.

一実施形態に係る外形検出システム100の利用環境の一例を示す図である。It is a figure which shows an example of the utilization environment of the external shape detection system 100 which concerns on one Embodiment. 外形検出装置200のブロック構成の一例を示す図である。It is a figure which shows an example of the block configuration of the external shape detection apparatus. 画像生成部210が生成するモノクロ2値画像の一例を示す図である。It is a figure which shows an example of the monochrome binary image which the image generation part 210 produces | generates. 外形検出装置200の動作フローの一例を示す図である。It is a figure which shows an example of the operation | movement flow of the external shape detection apparatus. 外形検出装置200の動作フローの一例を示す図である。It is a figure which shows an example of the operation | movement flow of the external shape detection apparatus. 外形検出装置200の動作フローの一例を示す図である。It is a figure which shows an example of the operation | movement flow of the external shape detection apparatus. 外形検出装置200の動作フローの一例を示す図である。It is a figure which shows an example of the operation | movement flow of the external shape detection apparatus. 既知の技術によって撮像されたモノクロ2値画像の一例を示す図である。It is a figure which shows an example of the monochrome binary image imaged with the known technique.

以下、発明の実施の形態を通じて本発明を説明するが、以下の実施形態は、特許請求の範囲にかかる発明を限定するものではなく、また、実施形態の中で説明されている特徴の組み合わせの全てが発明の解決手段に必須であるとは限らない。   Hereinafter, the present invention will be described through embodiments of the invention. However, the following embodiments do not limit the invention according to the scope of claims, and are combinations of features described in the embodiments. Not all are essential to the solution of the invention.

図1は、一実施形態に係る外形検出システム100の利用環境の一例を示す。外形検出システム100は、ベルトコンベアによって所定方向Dへ搬送される郵便物Mの外形を検出する。なお、ベルトコンベアは、この発明における「搬送装置」の一例であってよい。また、郵便物Mは、この発明における「対象物」の一例であってよい。   FIG. 1 shows an example of a usage environment of an outline detection system 100 according to an embodiment. The outer shape detection system 100 detects the outer shape of the postal matter M conveyed in the predetermined direction D by the belt conveyor. The belt conveyor may be an example of the “conveying device” in the present invention. The mail M may be an example of the “object” in the present invention.

外形検出システム100は、ベルトコンベア110、ベルトコンベア120、板体130、ライン撮像装置140、及び外形検出装置200を備える。そして、ライン撮像装置140と外形検出装置200とは、電気的に接続されている。なお、ベルトコンベア110は、この発明における「第1搬送装置」の一例であってよい。また、ベルトコンベア120は、この発明における「第2搬送装置」の一例であってよい。また、ライン撮像装置140は、この発明における「撮像装置」の一例であってよい。   The contour detection system 100 includes a belt conveyor 110, a belt conveyor 120, a plate body 130, a line imaging device 140, and a contour detection device 200. The line imaging device 140 and the outer shape detection device 200 are electrically connected. The belt conveyor 110 may be an example of the “first transport device” in the present invention. The belt conveyor 120 may be an example of the “second transport device” in the present invention. The line imaging device 140 may be an example of the “imaging device” in the present invention.

ベルトコンベア110は、郵便物Mを所定方向Dへ搬送する。具体的には、ベルトコンベア110は、輪状にした幅広のベルト111をローラ112によって回転させて、ベルト111の上に郵便物Mを載せて移動させる。   The belt conveyor 110 conveys the postal matter M in the predetermined direction D. Specifically, the belt conveyor 110 rotates a wide belt 111 in a ring shape by a roller 112 and moves the mail M on the belt 111.

ベルトコンベア120は、ベルトコンベア110よりも所定方向Dへ間隔を置いて配置される。そして、ベルトコンベア120は、ベルトコンベア110によって搬送されてきた郵便物Mが受け渡されて所定方向Dへ搬送する。具体的には、ベルトコンベア120は、輪状にした幅広のベルト121をローラ122によって回転させて、ベルト121の上に郵便物Mを載せて移動させる。   The belt conveyor 120 is arranged at a distance from the belt conveyor 110 in the predetermined direction D. The belt conveyor 120 receives the postal matter M conveyed by the belt conveyor 110 and conveys it in the predetermined direction D. Specifically, the belt conveyor 120 rotates the wide belt 121 in the form of a ring by a roller 122 so that the postal matter M is placed on the belt 121 and moved.

板体130は、ベルトコンベア110とベルトコンベア120との間において、ベルトコンベア110及びベルトコンベア120の各搬送面よりも低い位置に配置される。そして、板体130の上面には、所定方向Dと直交する方向に並ぶ縞模様が設けられている。   The plate body 130 is disposed between the belt conveyor 110 and the belt conveyor 120 at a position lower than the conveyor surfaces of the belt conveyor 110 and the belt conveyor 120. A striped pattern arranged in a direction orthogonal to the predetermined direction D is provided on the upper surface of the plate body 130.

ライン撮像装置140は、板体130の上方において、ベルトコンベア110及びベルトコンベア120の各搬送面よりも高い位置に配置される。そして、ライン撮像装置140は、所定方向Dと直交する方向に延びる撮像領域を撮像する。   The line imaging device 140 is disposed above the plate body 130 at a position higher than the conveyor surfaces of the belt conveyor 110 and the belt conveyor 120. Then, the line imaging device 140 captures an imaging region extending in a direction orthogonal to the predetermined direction D.

外形検出装置200は、ライン撮像装置140が撮像した画像データに基づいて、郵便物Mの外形を検出する。   The contour detection device 200 detects the contour of the postal matter M based on the image data captured by the line imaging device 140.

図2は、外形検出装置200のブロック構成の一例を示す。外形検出装置200は、画像生成部210、及び外形検出部220を有する。以下に、各構成要素の機能及び動作を説明する。   FIG. 2 shows an example of a block configuration of the outer shape detection apparatus 200. The outer shape detection apparatus 200 includes an image generation unit 210 and an outer shape detection unit 220. The function and operation of each component will be described below.

画像生成部210は、ライン撮像装置140が撮像した画像データを合成してモノクロ2値画像を生成する。具体的には、画像生成部210は、画像データの入力をライン撮像装置140から連続して受け付けると、その各画像データを合成してモノクロ2値画像を生成する。そして、画像生成部210は、生成したモノクロ2値画像データを外形検出部220へ送る。   The image generation unit 210 combines the image data captured by the line imaging device 140 to generate a monochrome binary image. Specifically, when the image generation unit 210 continuously receives input of image data from the line imaging device 140, the image generation unit 210 combines the image data and generates a monochrome binary image. Then, the image generation unit 210 sends the generated monochrome binary image data to the outer shape detection unit 220.

外形検出部220は、画像生成部210が生成したモノクロ2値画像内の郵便物Mの外形を検出する。具体的には、外形検出部220は、モノクロ2値画像データを画像生成部210から受け取ると、そのモノクロ2値画像内の郵便物Mの外形を検出する。そして、外形検出部220は、検出した郵便物Mの外形を示す情報を出力する。   The outer shape detection unit 220 detects the outer shape of the postal matter M in the monochrome binary image generated by the image generation unit 210. Specifically, when receiving the monochrome binary image data from the image generation unit 210, the outer shape detection unit 220 detects the outer shape of the postal matter M in the monochrome binary image. Then, the outer shape detection unit 220 outputs information indicating the outer shape of the detected postal matter M.

画像生成部210は、広域画像生成部211、及び2値化処理部212を有する。以下に、各構成要素の機能及び動作を説明する。   The image generation unit 210 includes a wide area image generation unit 211 and a binarization processing unit 212. The function and operation of each component will be described below.

広域画像生成部211は、ライン撮像装置140が撮像した画像データを合成して、その各画像データの撮像領域よりも広い撮像領域の画像を生成する。具体的には、広域画像生成部211は、画像データの入力をライン撮像装置140から連続して受け付けると、その各画像データを合成して、その各画像データの撮像領域よりも広い撮像領域の画像を生成する。そして、広域画像生成部211は、生成した画像データを2値化処理部212へ送る。   The wide area image generation unit 211 synthesizes the image data captured by the line imaging device 140, and generates an image of an imaging area wider than the imaging area of each image data. Specifically, when the wide-area image generation unit 211 continuously receives input of image data from the line imaging device 140, the wide-area image generation unit 211 synthesizes the respective image data, and captures an image capturing area wider than the image capturing area of the image data. Generate an image. Then, the wide area image generation unit 211 sends the generated image data to the binarization processing unit 212.

2値化処理部212は、広域画像生成部211が生成した画像を2値化する。具体的には、2値化処理部212は、画像データを広域画像生成部211から受け取ると、その画像を2値化する。そして、2値化処理部212は、2値化したモノクロ2値画像データを外形検出部220へ送る。   The binarization processing unit 212 binarizes the image generated by the wide area image generation unit 211. Specifically, when the binarization processing unit 212 receives image data from the wide area image generation unit 211, the binarization processing unit 212 binarizes the image. Then, the binarization processing unit 212 sends the binarized monochrome binary image data to the outer shape detection unit 220.

外形検出部220は、左端エッジ検出部221、右端エッジ検出部222、上端エッジ検出部223、下端エッジ検出部224、傾き角度検出部225、及び外形寸法検出部226を有する。以下に、各構成要素の機能及び動作を説明する。   The outer shape detection unit 220 includes a left end edge detection unit 221, a right end edge detection unit 222, an upper end edge detection unit 223, a lower end edge detection unit 224, an inclination angle detection unit 225, and an outer dimension detection unit 226. The function and operation of each component will be described below.

左端エッジ検出部221は、画像生成部210が生成したモノクロ2値画像内の郵便物Mの左端エッジを検出する。具体的には、左端エッジ検出部221は、モノクロ2値画像データを画像生成部210から受け取ると、そのモノクロ2値画像内の郵便物Mの左端エッジを検出する。例えば、左端エッジ検出部221は、モノクロ2値画像の左端から右方向へ縞模様を走査することによって、画像内の郵便物Mの左端エッジを検出する。そして、左端エッジ検出部221は、検出した郵便物Mの左端エッジを示すデータを外形寸法算出部226へ送る。   The left end edge detection unit 221 detects the left end edge of the postal matter M in the monochrome binary image generated by the image generation unit 210. Specifically, when receiving the monochrome binary image data from the image generation unit 210, the left edge detection unit 221 detects the left edge of the postal matter M in the monochrome binary image. For example, the left edge detection unit 221 detects the left edge of the postal matter M in the image by scanning a stripe pattern in the right direction from the left edge of the monochrome binary image. Then, the left end edge detection unit 221 sends data indicating the detected left end edge of the postal matter M to the external dimension calculation unit 226.

右端エッジ検出部222は、画像生成部210が生成したモノクロ2値画像内の郵便物Mの右端エッジを検出する。具体的には、右端エッジ検出部222は、モノクロ2値画像データを画像生成部210から受け取ると、そのモノクロ2値画像内の郵便物Mの右端エッジを検出する。例えば、右端エッジ検出部221は、モノクロ2値画像の右端から左方向へ縞模様を走査することによって、画像内の郵便物Mの右端エッジを検出する。そして、右端エッジ検出部221は、検出した郵便物Mの右端エッジを示すデータを外形寸法算出部226へ送る。   The right end edge detection unit 222 detects the right end edge of the postal matter M in the monochrome binary image generated by the image generation unit 210. Specifically, when the right edge detection unit 222 receives monochrome binary image data from the image generation unit 210, the right edge detection unit 222 detects the right edge of the postal matter M in the monochrome binary image. For example, the right edge detection unit 221 detects the right edge of the postal matter M in the image by scanning a striped pattern from the right edge of the monochrome binary image to the left. Then, the right end edge detection unit 221 sends data indicating the detected right end edge of the postal matter M to the external dimension calculation unit 226.

上端エッジ検出部223は、画像生成部210が生成したモノクロ2値画像内の郵便物Mの上端エッジを検出する。具体的には、上端エッジ検出部223は、モノクロ2値画像データを画像生成部210から受け取ると、そのモノクロ2値画像内の郵便物Mの上端エッジを検出する。例えば、上端エッジ検出部223は、モノクロ2値画像の上端から下方向へ縞模様を走査することによって、画像内の郵便物Mの上端エッジを検出する。そして、上端エッジ検出部223は、検出した郵便物Mの上端エッジを示すデータを外形寸法算出部226へ送る。   The upper edge detection unit 223 detects the upper edge of the postal matter M in the monochrome binary image generated by the image generation unit 210. Specifically, upon receiving monochrome binary image data from the image generation unit 210, the upper edge detection unit 223 detects the upper edge of the postal matter M in the monochrome binary image. For example, the upper edge detection unit 223 detects the upper edge of the postal matter M in the image by scanning a stripe pattern downward from the upper edge of the monochrome binary image. Then, the upper edge detection unit 223 sends data indicating the detected upper edge of the mail M to the outer dimension calculation unit 226.

下端エッジ検出部224は、画像生成部210が生成したモノクロ2値画像内の郵便物Mの下端エッジを検出する。具体的には、下端エッジ検出部224は、モノクロ2値画像データを画像生成部210から受け取ると、そのモノクロ2値画像内の郵便物Mの下端エッジを検出する。例えば、下端エッジ検出部224は、モノクロ2値画像の下端から上方向へ縞模様を走査することによって、画像内の郵便物Mの下端エッジを検出する。そして、下端エッジ検出部224は、検出した郵便物Mの下端エッジを示すデータを外形寸法算出部226へ送る。   The lower edge detection unit 224 detects the lower edge of the postal matter M in the monochrome binary image generated by the image generation unit 210. Specifically, when receiving the monochrome binary image data from the image generation unit 210, the lower edge detecting unit 224 detects the lower edge of the postal matter M in the monochrome binary image. For example, the lower edge detection unit 224 detects the lower edge of the postal matter M in the image by scanning a stripe pattern upward from the lower edge of the monochrome binary image. Then, the lower edge detection unit 224 sends data indicating the lower edge of the detected postal matter M to the outer dimension calculation unit 226.

傾き角度検出部225は、画像生成部210が生成したモノクロ2値画像内の郵便物Mの傾き角度を検出する。具体的には、傾き角度検出部225は、モノクロ2値画像データを画像生成部210から受け取ると、そのモノクロ2値画像内の郵便物Mの傾き角度を検出する。そして、傾き角度検出部225は、検出した郵便物Mの傾き角度を示すデータを外形寸法算出部226へ送る。   The inclination angle detection unit 225 detects the inclination angle of the postal matter M in the monochrome binary image generated by the image generation unit 210. Specifically, when receiving the monochrome binary image data from the image generation unit 210, the inclination angle detection unit 225 detects the inclination angle of the postal matter M in the monochrome binary image. Then, the tilt angle detection unit 225 sends data indicating the detected tilt angle of the postal matter M to the outer dimension calculation unit 226.

外形寸法算出部226は、左端エッジ検出部221が検出した郵便物Mの左端エッジの位置と、右端エッジ検出部222が検出した郵便物Mの右端エッジの位置と、上端エッジ検出部223が検出した郵便物Mの上端エッジの位置と、下端エッジ検出部224が検出した郵便物Mの下端エッジの位置とに基づいて、郵便物Mの外形の寸法を算出する。具体的には、外形寸法算出部226は、左端エッジのを示すデータを左端エッジ検出部221から受け取り、右端エッジを示すデータを右端エッジ検出部222から受け取り、上端エッジを示すデータを上端エッジ検出部223から受け取り、下端エッジを示すデータを下端エッジ検出部224から受け取ると、これらデータによって示される左端エッジ、右端エッジ、上端エッジ、及び下端エッジの各位置に基づいて、郵便物Mの外形を算出する。そして、外形寸法算出部226は、算出した郵便物Mの外形を示すデータを出力する。   The outer dimension calculation unit 226 detects the position of the left end edge of the postal matter M detected by the left end edge detection unit 221, the position of the right end edge of the postal matter M detected by the right end edge detection unit 222, and the upper end edge detection unit 223 detects it. Based on the position of the upper end edge of the postal matter M and the position of the lower end edge of the postal matter M detected by the lower end edge detecting unit 224, the dimensions of the outer shape of the postal matter M are calculated. Specifically, the outer dimension calculation unit 226 receives data indicating the left edge from the left edge detection unit 221, receives data indicating the right edge from the right edge detection unit 222, and detects data indicating the upper edge as upper edge. When the data indicating the lower edge is received from the lower edge detection unit 224, the outer shape of the postal matter M is determined based on the positions of the left edge, right edge, upper edge, and lower edge indicated by the data. calculate. Then, the outer dimension calculation unit 226 outputs data indicating the calculated outer shape of the postal matter M.

また、外形寸法算出部226は、傾き角度検出部225が検出した郵便物Mの傾き角度に更に基づいて、郵便物Mの外形の寸法を算出する。具体的には、外形寸法算出部226は、郵便物Mの傾き角度を示すデータを傾き角度検出部225から受け取ると、その郵便物Mの傾き角度に更に基づいて、郵便物Mの外形の寸法を算出する。   Further, the outer dimension calculation unit 226 calculates the outer dimension of the postal matter M based further on the tilt angle of the postal matter M detected by the tilt angle detection unit 225. Specifically, when the outer dimension calculation unit 226 receives data indicating the tilt angle of the postal matter M from the tilt angle detection unit 225, the outer dimension of the postal matter M is further based on the tilt angle of the postal matter M. Is calculated.

図3は、画像生成部210が生成するモノクロ2値画像の一例を示す。図3(a)は、郵便物Mの濃淡がベルト111、121の濃淡と異なる場合を示す。図3(b)は、郵便物Mの濃淡がベルト111、121の濃淡と同じ場合を示す。図3(c)は、郵便物Mの一部の濃淡がベルト111、121の濃淡と同じ場合を示す。   FIG. 3 shows an example of a monochrome binary image generated by the image generation unit 210. FIG. 3A shows a case where the density of the postal matter M is different from the density of the belts 111 and 121. FIG. 3B shows a case where the density of the postal matter M is the same as the density of the belts 111 and 121. FIG. 3C shows a case where the shade of part of the postal matter M is the same as that of the belts 111 and 121.

図4から図7は、外形検出装置200の動作フローの一例を示す。まず、外形検出装置200の広域画像生成部211は、ライン撮像装置140が撮像した画像データを合成して、その各画像データの撮像領域よりも広い撮像領域の画像を生成する(S101)。そして、外形検出装置200の2値化処理部212は、広域画像生成部211が生成した画像を2値化して、モノクロ2値画像を生成する(S102)。   4 to 7 show an example of an operation flow of the outer shape detection apparatus 200. FIG. First, the wide area image generation unit 211 of the outer shape detection apparatus 200 synthesizes the image data captured by the line imaging apparatus 140 and generates an image of an imaging area wider than the imaging area of each image data (S101). Then, the binarization processing unit 212 of the outer shape detection apparatus 200 binarizes the image generated by the wide area image generation unit 211 to generate a monochrome binary image (S102).

そして、外形検出装置200の左端エッジ検出部221は、2値化処理部212が生成したモノクロ2値画像の左端から白ストライプを右方向に走査する(S103)。白ストライプの追跡方式は、たとえば境界線追従等の一般的な画像処理手法を用いて行う。追跡の結果、画像中央にいたるまでにストライプの終端点が見つかったなら(S104:Yes)、左端エッジ検出部221は、見つかった終端点の座標を郵便物Mの左端座標として外形寸法算出部226へ送る(S107)。画像中央にいたるまでに白ストライプの終端点が見つからなかったら(S104:No)、左端エッジ検出部221は、黒ストライプで同様に終端点を探す(S105)。見つかったら(S106:Yes)、左端エッジ検出部221は、見つかった終端点の座標を郵便物Mの左端座標として外形寸法算出部226へ送る(S107)。見つからなかったら(S106:No)、左端エッジ検出部221は、郵便物Mはないと判断し(S108)、処理を終了する。   Then, the left edge detection unit 221 of the outer shape detection apparatus 200 scans the white stripe in the right direction from the left edge of the monochrome binary image generated by the binarization processing unit 212 (S103). The white stripe tracking method is performed using a general image processing method such as boundary line tracking. As a result of the tracking, if the end point of the stripe is found before reaching the center of the image (S104: Yes), the left end edge detecting unit 221 uses the coordinates of the found end point as the left end coordinates of the postal matter M, and the outer dimension calculating unit 226. (S107). If the end point of the white stripe is not found before reaching the center of the image (S104: No), the left edge detection unit 221 similarly searches for the end point in the black stripe (S105). If found (S106: Yes), the left end edge detection unit 221 sends the coordinates of the found end point as the left end coordinates of the postal matter M to the external dimension calculation unit 226 (S107). If not found (S106: No), the left edge detection unit 221 determines that there is no mail M (S108) and ends the process.

図5に示す処理は、図4に示すS103からS108の処理を画像の右端に対して適用したフロー図であり、図4に示すS103からS108の処理と同様の処理であるため、説明を省略する。   The processing shown in FIG. 5 is a flowchart in which the processing from S103 to S108 shown in FIG. 4 is applied to the right end of the image, and is the same processing as the processing from S103 to S108 shown in FIG. To do.

次に上端のエッジを求めるプロセスを図6のフロー図で説明する。郵便物Mは画像背景であるストライプ模様より小さいため、画像上端にも背景としてストライプが存在する。上端エッジ検出部223は、画像上端から白・黒ストライプを検出しカウントする(S115)。ストライプ幅は既知かつ画像全体に対して水平平行線であるので、この特徴を利用してストライプを検出することは画像処理上容易である。上端から下方に向かってストライプの検出を行って、ストライプとはみなされない物体が検出された場合(S116:Yes)、上端エッジ検出部223は、上端エッジが検出されたと判断する(S117)。もし画像中方に達するまでにストライプのみが検出され続けたら(S116:No)、上端エッジ検出部223は、郵便物Mはないと判断する(S118)。上端エッジ検出と判断されたら(S116:Yes)、上端エッジ検出部223は、上端エッジ座標を“検出ストライプ数×ストライプ幅“の計算で求めて(S119)、外形寸法算出部226へ送る(S120)。画像の下端からも同様の処理を行って郵便物Mの下端座標を求めるが、図6と同様な処理の繰り返しであるので省略する。   Next, the process for obtaining the upper edge will be described with reference to the flowchart of FIG. Since the postal matter M is smaller than the stripe pattern as the image background, a stripe also exists as a background at the upper end of the image. The upper edge detection unit 223 detects and counts white and black stripes from the upper edge of the image (S115). Since the stripe width is known and is a horizontal parallel line with respect to the entire image, it is easy in image processing to detect the stripe using this feature. When the stripe is detected downward from the upper end and an object that is not regarded as a stripe is detected (S116: Yes), the upper edge detection unit 223 determines that the upper edge has been detected (S117). If only the stripe continues to be detected before reaching the middle of the image (S116: No), the upper edge detection unit 223 determines that there is no mail M (S118). If it is determined that the upper edge is detected (S116: Yes), the upper edge detection unit 223 obtains the upper edge coordinate by calculating “the number of detected stripes × the stripe width” (S119) and sends it to the outer dimension calculation unit 226 (S120). ). The same processing is performed from the lower end of the image to obtain the lower end coordinates of the postal matter M, but the processing is the same as in FIG.

以上の処理により郵便物Mの外形の上下左右端点が測定できる。なお、郵便物Mに傾きがあった場合は、前述のプロセスに対して、複数のストライプの終端点を検出する処理を加え、傾き角度検出部225が終端点の並びから郵便物Mの角度を検出することができる(S127)。そして、外形寸法算出部226は、左端エッジ検出部221が検出した郵便物Mの左端エッジの位置と、右端エッジ検出部222が検出した郵便物Mの右端エッジの位置と、上端エッジ検出部223が検出した郵便物Mの上端エッジの位置と、下端エッジ検出部224が検出した郵便物Mの下端エッジの位置とに基づいて、郵便物Mの外形の寸法を算出する(S128)。また、傾き角度検出部225が郵便物Mの傾き角度を検出した場合、外形寸法算出部226は、傾き角度検出部225が検出した郵便物Mの傾き角度に更に基づいて、郵便物Mの外形の寸法を算出する。   Through the above processing, the top, bottom, left and right end points of the outer shape of the mail piece M can be measured. If the postal matter M is tilted, processing for detecting the end points of a plurality of stripes is added to the above-described process, and the tilt angle detecting unit 225 determines the angle of the postal matter M from the end point sequence. It can be detected (S127). The outer dimension calculation unit 226 then detects the position of the left end edge of the postal matter M detected by the left end edge detection unit 221, the position of the right end edge of the postal matter M detected by the right end edge detection unit 222, and the upper end edge detection unit 223. Based on the position of the upper edge of the postal matter M detected by S. and the position of the lower end edge of the postal matter M detected by the lower end edge detecting unit 224, the dimensions of the outer shape of the postal matter M are calculated (S128). In addition, when the inclination angle detection unit 225 detects the inclination angle of the postal matter M, the external dimension calculation unit 226 further determines the external shape of the postal matter M based on the inclination angle of the postal matter M detected by the inclination angle detection unit 225. Calculate the dimensions.

以上、本発明を実施の形態を用いて説明したが、本発明の技術的範囲は、上記実施の形態に記載の範囲には限定されない。上記実施の形態に、多様な変更又は改良を加えることが可能であることが当業者に明らかである。そのような変更又は改良を加えた形態も本発明の技術的範囲に含まれ得ることが、特許請求の範囲の記載から明らかである。   As mentioned above, although this invention was demonstrated using embodiment, the technical scope of this invention is not limited to the range as described in the said embodiment. It will be apparent to those skilled in the art that various modifications or improvements can be added to the above embodiment. It is apparent from the scope of the claims that the embodiments added with such changes or improvements can be included in the technical scope of the present invention.

100 外形検出システム
110 ベルトコンベア
111 ベルト
112 ローラ
120 ベルトコンベア
121 ベルト
122 ローラ
130 板体
140 ライン撮像装置
200 外形検出装置
210 画像生成部
211 広域画像生成部
212 2値化処理部
220 外形検出部
221 左端エッジ検出部
222 右端エッジ検出部
223 上端エッジ検出部
224 下端エッジ検出部
225 傾き角度検出部
226 外形寸法算出部
D 搬送方向
M 郵便物
100 Outline Detection System 110 Belt Conveyor 111 Belt 112 Roller 120 Belt Conveyor 121 Belt 122 Roller 130 Plate 140 Line Imaging Device 200 Outline Detection Device 210 Image Generation Unit 211 Wide Area Image Generation Unit 212 Binarization Processing Unit 220 Outline Detection Unit 221 Left End Edge detection unit 222 Right end edge detection unit 223 Upper end edge detection unit 224 Lower end edge detection unit 225 Inclination angle detection unit 226 External dimension calculation unit D Conveying direction M Mail

Claims (10)

搬送装置によって所定方向へ搬送される対象物の外形を検出する外形検出システムであって、
前記対象物を所定方向へ搬送する第1搬送装置と、
前記第1搬送装置の設置位置よりも前記所定方向へ間隔を置いて配置されて、前記第1搬送装置によって搬送されてきた前記対象物が受け渡されて前記所定方向へ搬送する第2搬送装置と、
前記第1搬送装置と前記第2搬送装置との間において、前記第1搬送装置及び前記第2搬送装置の各搬送面よりも低い位置に配置されて、前記所定方向と直交する方向に並ぶ縞模様が上面に設けられた板体と、
前記板体の上方において、前記第1搬送装置及び前記第2搬送装置の各搬送面よりも高い位置に配置されて、前記所定方向と直交する方向に延びる撮像領域を撮像する撮像装置と、
前記撮像装置が撮像した画像データに基づいて、前記対象物の外形を検出する外形検出装置と
を備える外形検出システム。
An outer shape detection system for detecting an outer shape of an object conveyed in a predetermined direction by a conveying device,
A first transport device for transporting the object in a predetermined direction;
A second transport device that is arranged at an interval in the predetermined direction from the installation position of the first transport device, and that delivers the object transported by the first transport device and transports it in the predetermined direction. When,
Stripes arranged between the first transfer device and the second transfer device at positions lower than the transfer surfaces of the first transfer device and the second transfer device and arranged in a direction orthogonal to the predetermined direction. A plate body provided with a pattern on the upper surface;
An imaging device that images an imaging region that is arranged at a position higher than the respective conveyance surfaces of the first conveyance device and the second conveyance device and extends in a direction orthogonal to the predetermined direction above the plate body;
An outer shape detection system comprising: an outer shape detection device that detects an outer shape of the object based on image data captured by the imaging device.
前記外形検知装置は、
前記撮像装置が撮像した画像データを合成してモノクロ2値画像を生成する画像生成部と、
前記画像生成部が生成したモノクロ2値画像内の前記対象物の外形を検出する外形検出部と
を有する請求項1に記載の外形検出システム。
The outer shape detection device
An image generation unit that combines the image data captured by the imaging device to generate a monochrome binary image;
The external shape detection system according to claim 1, further comprising: an external shape detection unit that detects an external shape of the object in the monochrome binary image generated by the image generation unit.
前記画像生成部は、
前記撮像装置が撮像した画像データを合成して、当該各画像データの撮像領域よりも広い撮像領域の画像を生成する広域画像生成部と、
前記広域画像生成部が生成した画像を2値化する2値化処理部と
を有する請求項2に記載の外形検出システム。
The image generation unit
A wide-area image generation unit that synthesizes image data captured by the imaging device and generates an image of an imaging area wider than the imaging area of each image data;
The outer shape detection system according to claim 2, further comprising: a binarization processing unit that binarizes the image generated by the wide area image generation unit.
前記外形検出部は、
前記画像生成部が生成したモノクロ2値画像内の前記対象物の左端エッジを検出する左端エッジ検出部と、
前記画像生成部が生成したモノクロ2値画像内の前記対象物の右端エッジを検出する右端エッジ検出部と、
前記画像生成部が生成したモノクロ2値画像内の前記対象物の上端エッジを検出する上端エッジ検出部と、
前記画像生成部が生成したモノクロ2値画像内の前記対象物の下端エッジを検出する下端エッジ検出部と
を有する請求項2又は3に記載の外形検出システム。
The outer shape detector
A left end edge detection unit for detecting a left end edge of the object in the monochrome binary image generated by the image generation unit;
A right edge detection unit that detects a right edge of the object in the monochrome binary image generated by the image generation unit;
An upper edge detecting unit for detecting an upper edge of the object in the monochrome binary image generated by the image generating unit;
The external shape detection system according to claim 2, further comprising: a lower end edge detection unit that detects a lower end edge of the object in the monochrome binary image generated by the image generation unit.
前記外形検出部は、
前記左端エッジ検出部が検出した前記対象物の左端エッジの位置と、前記右端エッジ検出部が検出した前記対象物の右端エッジの位置と、前記上端エッジ検出部が検出した前記対象物の上端エッジの位置と、前記下端エッジ検出部が検出した前記対象物の下端エッジの位置とに基づいて、前記対象物の外形の寸法を算出する外形寸法算出部
を更に有する請求項4に記載の外形検出システム。
The outer shape detector
The position of the left edge of the object detected by the left edge detection unit, the position of the right edge of the object detected by the right edge detection unit, and the upper edge of the object detected by the upper edge detection unit The external shape detection unit according to claim 4, further comprising: an external dimension calculation unit that calculates an external dimension of the object based on the position of the object and a position of a lower edge of the object detected by the lower edge detection unit. system.
前記外形検出部は、
前記画像生成部が生成したモノクロ2値画像内の前記対象物の傾き角度を検出する傾き角度検出部
を更に有する請求項4又は5に記載の外形検出システム。
The outer shape detector
The outer shape detection system according to claim 4, further comprising an inclination angle detection unit that detects an inclination angle of the object in the monochrome binary image generated by the image generation unit.
前記外形寸法算出部は、前記傾き角度検出部が検出した前記対象物の傾き角度に更に基づいて、前記対象物の外形の寸法を算出する
請求項6に記載の外形検出システム。
The outer shape detection system according to claim 6, wherein the outer dimension calculation unit calculates the outer dimension of the object based further on the tilt angle of the object detected by the tilt angle detection unit.
前記左端エッジ検出部は、前記画像生成部が生成したモノクロ2値画像の左端から右方向へ前記縞模様を走査することによって、当該画像内の前記対象物の左端エッジを検出する
請求項4から7のいずれか一項に記載の外形検出システム。
The left end edge detection unit detects the left end edge of the object in the image by scanning the striped pattern in the right direction from the left end of the monochrome binary image generated by the image generation unit. The outer shape detection system according to any one of claims 7 to 9.
前記右端エッジ検出部は、前記画像生成部が生成したモノクロ2値画像の右端から左方向へ前記縞模様を走査することによって、当該画像内の前記対象物の右端エッジを検出する
請求項4から8のいずれか一項に記載の外形検出システム。
The right edge detection unit detects the right edge of the object in the image by scanning the striped pattern from the right edge of the monochrome binary image generated by the image generator to the left. The outer shape detection system according to claim 8.
前記上端エッジ検出部は、前記画像生成部が生成したモノクロ2値画像の上端から下方向へ前記縞模様を走査することによって、当該画像内の前記対象物の上端エッジを検出する
請求項4から9のいずれか一項に記載の外形検出システム。
The upper edge detection unit detects the upper edge of the object in the image by scanning the striped pattern downward from the upper end of the monochrome binary image generated by the image generation unit. The external shape detection system according to any one of 9.
JP2010250599A 2010-11-09 2010-11-09 Outline detection system Active JP5703696B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010250599A JP5703696B2 (en) 2010-11-09 2010-11-09 Outline detection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010250599A JP5703696B2 (en) 2010-11-09 2010-11-09 Outline detection system

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2015036570A Division JP6156411B2 (en) 2015-02-26 2015-02-26 Outline detection system

Publications (2)

Publication Number Publication Date
JP2012101874A true JP2012101874A (en) 2012-05-31
JP5703696B2 JP5703696B2 (en) 2015-04-22

Family

ID=46392783

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010250599A Active JP5703696B2 (en) 2010-11-09 2010-11-09 Outline detection system

Country Status (1)

Country Link
JP (1) JP5703696B2 (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51139347A (en) * 1975-05-27 1976-12-01 Fuji Electric Co Ltd Device of discriminating objects
JPS61272680A (en) * 1985-05-28 1986-12-02 Tsubakimoto Chain Co Method and device for detecting body
JPH06336328A (en) * 1993-04-02 1994-12-06 Bridgestone Corp Conveyer device and its conveyed object detector
JPH07229852A (en) * 1994-02-18 1995-08-29 Matsushita Electric Works Ltd Inspection apparatus for appearance of sheet material having transparent characteristic
JPH08247954A (en) * 1995-03-15 1996-09-27 Asahi Glass Co Ltd Measuring method of optical distortion
JPH09264721A (en) * 1996-03-28 1997-10-07 Sunx Ltd Image processing device and method for determining measuring region
JPH11153411A (en) * 1997-09-17 1999-06-08 Toshiba Corp Level difference detector, and processing device using it
JP2005207750A (en) * 2004-01-20 2005-08-04 Shinko Denshi Kk Article dimension measuring instrument
JP2010217126A (en) * 2009-03-19 2010-09-30 Teraoka Seiko Co Ltd Dimension measuring apparatus

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51139347A (en) * 1975-05-27 1976-12-01 Fuji Electric Co Ltd Device of discriminating objects
JPS61272680A (en) * 1985-05-28 1986-12-02 Tsubakimoto Chain Co Method and device for detecting body
JPH06336328A (en) * 1993-04-02 1994-12-06 Bridgestone Corp Conveyer device and its conveyed object detector
JPH07229852A (en) * 1994-02-18 1995-08-29 Matsushita Electric Works Ltd Inspection apparatus for appearance of sheet material having transparent characteristic
JPH08247954A (en) * 1995-03-15 1996-09-27 Asahi Glass Co Ltd Measuring method of optical distortion
JPH09264721A (en) * 1996-03-28 1997-10-07 Sunx Ltd Image processing device and method for determining measuring region
JPH11153411A (en) * 1997-09-17 1999-06-08 Toshiba Corp Level difference detector, and processing device using it
JP2005207750A (en) * 2004-01-20 2005-08-04 Shinko Denshi Kk Article dimension measuring instrument
JP2010217126A (en) * 2009-03-19 2010-09-30 Teraoka Seiko Co Ltd Dimension measuring apparatus

Also Published As

Publication number Publication date
JP5703696B2 (en) 2015-04-22

Similar Documents

Publication Publication Date Title
EP1738136B1 (en) Measuring apparatus and method in a distribution system
JP5347418B2 (en) Surface defect inspection system, method and program
JP5194529B2 (en) Surface defect inspection system, method and program
JP5418378B2 (en) Surface defect inspection apparatus, surface defect inspection method, and program
US10365086B2 (en) Method and scanner for touch free determination of a position and 3-dimensional shape of products on a running surface
JP2013140050A (en) Defect inspection device and defect inspection method
JP2005214734A (en) Device for inspecting paper wrinkle, and control device
JP6156411B2 (en) Outline detection system
JP5703696B2 (en) Outline detection system
US11925182B2 (en) Detecting surface characteristics of food objects
JP7266300B2 (en) Object detection system and program for object detection system
JP2015200604A (en) Defect detection method and defect detection apparatus
JP4927427B2 (en) Outline defect detection method and program
JP5477119B2 (en) Print medium movement amount detection apparatus and error information generation method
JP2009229110A (en) Image input method and image input device
JP2021197715A (en) Media transfer device, control method, and control program
US9554094B1 (en) System and method for determining a displaced substrate with a vision system
JP6046485B2 (en) Inspection apparatus and inspection method
JP2002340525A (en) Method for measuring width of steel panel
JP2012083211A (en) Surface state inspection device, surface state inspection method and program
JP2011201690A (en) Device for detecting moving amount of printing medium
JP2006189294A (en) Inspection method and device of irregular defect
JP3728941B2 (en) Optical sensor
JP2006023130A (en) End face position detector for semifinished product of steel
JP2018146454A (en) Inspection device and inspection program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20131008

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141028

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141030

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150105

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150127

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150209

R150 Certificate of patent or registration of utility model

Ref document number: 5703696

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150