JPH11194013A - Measuring device for fruits and vegetables - Google Patents

Measuring device for fruits and vegetables

Info

Publication number
JPH11194013A
JPH11194013A JP11198A JP11198A JPH11194013A JP H11194013 A JPH11194013 A JP H11194013A JP 11198 A JP11198 A JP 11198A JP 11198 A JP11198 A JP 11198A JP H11194013 A JPH11194013 A JP H11194013A
Authority
JP
Japan
Prior art keywords
measured
image
cucumber
thickness
information
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
JP11198A
Other languages
Japanese (ja)
Inventor
Kenichi Iwami
憲一 石見
Yoshiyuki Katayama
良行 片山
Kazuyuki Okada
和之 岡田
Masahiro Kiyokawa
昌宏 清川
Atsushi Kitamachi
篤志 北町
Waichiro Tsujita
和一郎 辻田
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.)
Kubota Corp
Original Assignee
Kubota 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 Kubota Corp filed Critical Kubota Corp
Priority to JP11198A priority Critical patent/JPH11194013A/en
Publication of JPH11194013A publication Critical patent/JPH11194013A/en
Pending legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Sorting Of Articles (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a measuring device for fruits and vegetables for appropriately measuring the extreme thickness and thinness of long fruits and vegetables. SOLUTION: A measuring device is provided with a CCD camera 42 for outputting image pick-up information for measurement by picking up the image of a long object to be measured. The device is configured to evaluate an object to be measured by performing the image processing of image pick-up information from the CCD camera 42 and is configured to measure the length and thickness of the object to be measured based on the image pick-up information of the object to be measured by the CCD camera 42 and at the same time judges whether the object to be measured is extremely thick or thin based on the criteria that are preset according to the relationship of the length and thickness.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、長尺状の被計測物
を撮像して計測用の撮像情報を出力する撮像手段と、そ
の撮像手段の撮像情報を画像処理して前記被計測物を評
価する画像処理手段とが備えられた果菜類の計測装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image pickup means for picking up an image of a long object to be measured and outputting image pickup information for measurement, and processing the image pickup information of the image pickup means to image the object to be measured. The present invention relates to a fruit and vegetable measuring device provided with an image processing means for evaluating.

【0002】[0002]

【従来の技術】上記果菜類の計測装置において、従来で
は、特開昭58‐214381号公報に示されるよう
に、被計測物の太さを複数箇所にて計測して、その太さ
の計測結果に基づいて、その中の最小値と最大値とを予
め設定された判別基準と比較することによって、最小値
と最大値のいずれかが極大(極太)や極小(極細)に該
当するか否かを判別するようにしたものがあった。つま
り、従来では、太さの計測情報のみに基づいて被計測物
が極太や極細であるか否かを判別するようになってい
た。
2. Description of the Related Art Conventionally, in a fruit and vegetable measuring apparatus, as described in Japanese Patent Application Laid-Open No. 58-214381, the thickness of an object to be measured is measured at a plurality of locations, and the thickness is measured. Based on the result, the minimum value and the maximum value are compared with a predetermined criterion to determine whether any of the minimum value and the maximum value corresponds to the maximum (thick) or the minimum (thin). There was a thing which was made to judge. That is, in the related art, it is determined whether or not the object to be measured is extra-thick or extra-fine based on only the thickness measurement information.

【0003】[0003]

【発明が解決しようとする課題】被計測物としての長尺
状の果菜類は、一般的に季節や生産地域の違い等によ
り、外形寸法(太さや長さ等)には個体差(バラツキ)
が存在するが、上記従来構成のように、太さの情報のみ
に基づいて、極太や極細を判断するようにすると、極太
(極細)と判別された場合であっても、外観上、極太
(極細)であるとは言えないような場合がある。つま
り、極太や極細であるか否かは外観上の相対的な判断に
よる必要があるからである。
[0007] Long fruit vegetables as objects to be measured generally have individual differences (variations) in outer dimensions (thickness, length, etc.) due to differences in seasons, production areas, and the like.
However, as in the above-described conventional configuration, when the extra-thickness or extra-fineness is determined based on only the thickness information, even if it is determined to be extra-thick (extra-fine), the appearance is extremely extra-thick ( (Fine). In other words, it is necessary to determine whether the sheet is extremely thick or very thin based on a relative judgment in appearance.

【0004】本発明はかかる点に着目してなされたもの
であり、その目的は、長尺状の果菜類の極太や極細の判
別を適正に行うことが可能となる果菜類の計測装置を提
供する点にある。
The present invention has been made in view of such a point, and an object of the present invention is to provide an apparatus for measuring fruit and vegetables which can appropriately determine whether a long fruit or vegetable is extremely thick or fine. Is to do.

【0005】[0005]

【課題を解決するための手段】請求項1に記載の特徴構
成によれば、長尺状の被計測物を撮像して計測用の撮像
情報を出力する撮像手段と、その撮像手段の撮像情報を
画像処理して前記被計測物を評価する画像処理手段とが
備えられたものにおいて、前記画像処理手段は、前記撮
像手段による被計測物の撮像情報に基づいて、前記被計
測物の長さと太さとを計測するとともに、その長さと太
さとの関係に対応させて予め設定された判別基準に基づ
いて、被計測物が極太又は極細であるか否かを判別する
ように構成されている。
According to the first aspect of the present invention, there is provided an image pickup means for picking up an image of a long object to be measured and outputting image pickup information for measurement, and image pickup information of the image pickup means. Image processing means for evaluating the object to be measured by performing image processing on the object, based on imaging information of the object to be measured by the imaging means, the length of the object to be measured In addition to measuring the thickness, it is configured to determine whether the object to be measured is extra-thick or extra-fine based on a discrimination criterion set in advance corresponding to the relationship between the length and the thickness.

【0006】従って、被計測物の太さの情報だけでな
く、被計測物の長さと太さとの関係に対応させて予め設
定された判別基準に基づいて、被計測物が極太又は極細
であるか否かを判別するので、例えば、被計測物の長さ
が短い場合と長い場合とでは、極太や極細であると判断
するための太さの基準値が互いに異なるものにすること
で、外観上の相対的な判断に対応するように極太や極細
の判別を行うことができるものとなる。このようにし
て、被計測物の長さと太さとの関係に基づいて、長尺状
の果菜類の極太や極細の判別を極力適正に行うことが可
能となる果菜類の計測装置を提供できるに至った。
Therefore, based on not only the information on the thickness of the object to be measured but also the discrimination criterion set in advance corresponding to the relationship between the length and the thickness of the object to be measured, the object to be measured is very thick or very thin. For example, when the length of the object to be measured is short and long, the reference value of the thickness for judging that the object is extra-thick or extra-fine is different from each other, so that It is possible to determine the extraordinarily thick or extra fine so as to correspond to the above relative judgment. In this way, it is possible to provide a fruit and vegetable measuring device which can determine the thickness and the fineness of a long fruit and vegetable based on the relationship between the length and the thickness of the object to be measured as appropriately as possible. Reached.

【0007】請求項2に記載の特徴構成によれば、請求
項1において、前記画像処理手段は、前記撮像情報に基
づいて、前記被計測物の長手方向に沿う基準線を求め、
被計測物の画像の外周部における前記基準線に沿う方向
での最も離間する2点間の距離を被計測物の長さとして
求めるように構成され、且つ、前記撮像情報に基づい
て、前記被計測物の画像に対して、被計測物の前記基準
線に沿う複数箇所にて被計測物の幅を求め、これら複数
の幅の平均値を前記被計測物の太さとして求めるように
構成されている。
According to a second aspect of the present invention, in the first aspect, the image processing means obtains a reference line along a longitudinal direction of the measured object based on the imaging information.
The distance between the two most distant points in the direction along the reference line in the outer peripheral portion of the image of the object to be measured is determined as the length of the object to be measured, and based on the imaging information, With respect to the image of the measured object, the width of the measured object is determined at a plurality of locations along the reference line of the measured object, and an average value of the plurality of widths is determined as the thickness of the measured object. ing.

【0008】つまり、画像処理に基づいて、先ず、被計
測物の長手方向に沿う基準線を求めておいて、その基準
線の方向に沿う被計測物の画像の外周部における最大距
離を被計測物の長さとして求め、且つ、前記基準線に沿
う複数箇所にて求めた複数の幅の平均値を被計測物の太
さとして求めるのである。
That is, first, based on the image processing, a reference line along the longitudinal direction of the object to be measured is determined, and the maximum distance at the outer peripheral portion of the image of the object to be measured along the direction of the reference line is measured. An average value of a plurality of widths obtained at a plurality of locations along the reference line is obtained as a thickness of the measured object.

【0009】従って、長尺状の果菜類の画像に対して、
その長手方向の基準となる線を適正に定めておき、その
基準に基づいて長さを精度よく計測するとともに、複数
箇所の平均値により太さを求めるので局部的な凹凸によ
り誤差を極力少なくした状態で精度よく太さを求めるこ
とができ、しかも、その長さと太さとの関係に対応させ
て極太や極細を判別するので、長尺状の果菜類の極太や
極細の判別をより適正に行うことが可能となる。
[0009] Therefore, for the image of long fruit vegetables,
The reference line in the longitudinal direction is properly determined, the length is accurately measured based on the reference, and the thickness is obtained from the average value of a plurality of locations, so that the error is reduced as much as possible by local unevenness. Thickness can be obtained with high accuracy in the state, and furthermore, it is possible to judge the extra-thickness and extra-fineness in correspondence with the relationship between the length and the thickness, so that the extra-thickness and extra-fineness of long fruit and vegetables are more appropriately determined. It becomes possible.

【0010】[0010]

【発明の実施の形態】以下、本発明に係る果菜類の計測
装置について、被計測物の一例として胡瓜の選別装置に
適用した場合について説明する。図1に胡瓜の選別装置
を示している。この胡瓜の選別装置は、その長手方向が
同方向に整列する状態で多数の胡瓜Kが積み込まれてい
るコンテナ1から、供給手段としての供給装置2によ
り、胡瓜Kを1個づつ取出して搬送コンベアとしてのベ
ルトコンベア3の搬送上手側に位置する被供給箇所に供
給するように構成され、胡瓜Kがベルトコンベア3の搬
送路上の所定の撮像箇所に位置しているときその胡瓜K
を上方側から撮像してその撮像情報に基づいて胡瓜Kの
長さや曲がり等を計測して、その結果から胡瓜Kの等級
及び階級等を求める為の計測部4が設けられている。そ
して、この撮像箇所よりも搬送方向下手側の取り出し箇
所から、胡瓜Kを1個づつ取り出して、計測部4での評
価結果に基づいて、複数の収納部としての収納箱5に予
め設定された仕分け用基準情報に基づいて仕分けて積み
込む搬出手段としての搬出装置6が設けられている。
又、前記供給装置2、搬出装置6及びベルトコンベア3
の動作を制御する制御手段としての制御装置7が備えら
れている。
BEST MODE FOR CARRYING OUT THE INVENTION The fruit and vegetable measuring apparatus according to the present invention will be described below in the case where it is applied to a cucumber sorting apparatus as an example of an object to be measured. FIG. 1 shows a cucumber sorting apparatus. This cucumber sorting apparatus takes out cucumber K one by one from a container 1 in which a large number of cucumbers K are loaded in a state where the longitudinal directions thereof are aligned in the same direction, and feeds the cucumber K one by one to a conveyor conveyor. When the cucumber K is located at a predetermined imaging location on the conveying path of the belt conveyor 3, the cucumber K is supplied to a supply location located on the upstream side of the belt conveyor 3.
A measuring unit 4 is provided for measuring the length, bending and the like of the cucumber K based on the imaging information of the cucumber K from above, and obtaining the grade and class of the cucumber K from the result. Then, cucumbers K are taken out one by one from a take-out location on the lower side in the transport direction from the imaging location, and based on the evaluation results of the measuring unit 4, the cucumbers K are set in the storage boxes 5 as a plurality of storage units in advance. An unloading device 6 is provided as unloading means for sorting and loading based on the sorting reference information.
Further, the supply device 2, the unloading device 6, and the belt conveyor 3
Is provided with a control device 7 as control means for controlling the operation of.

【0011】前記供給装置2は、図2に示すように、昇
降操作自在並びに水平方向に往復移動自在に設けられた
吸着ノズル8によって、1個づつ胡瓜Kを吸着保持して
コンテナ1から取り出してベルトコンベア3上に移載す
るように構成されている。つまり、機枠9に対してベル
トコンベア3の搬送方向の直交する水平方向(コンベア
横幅方向)に沿って往復移動自在に支持される状態で支
持機構10が備えられ、この支持機構10に吸着ノズル
8が昇降自在に支持されている。
As shown in FIG. 2, the supply device 2 sucks and holds the cucumbers K one by one and removes them from the container 1 by means of suction nozzles 8 provided so as to be able to move up and down and reciprocate in the horizontal direction. It is configured to be transferred onto the belt conveyor 3. That is, the support mechanism 10 is provided so as to be reciprocally movable with respect to the machine frame 9 in a horizontal direction (conveyor horizontal width direction) orthogonal to the conveying direction of the belt conveyor 3. 8 is supported so as to be able to move up and down.

【0012】詳述すると、前記支持機構10は、図5に
示すように、横方向に延びるパイプフレーム11と、パ
イプフレーム11に連設されて下方側に延びる矩形枠部
12と、パイプフレーム11の上方側に位置して後述す
る電動モータ等を覆うカバー体13等を備えて構成さ
れ、前記パイプフレーム11の両端側に付設された複数
のガイドローラ14が、機枠9に沿って設けられた左右
両側の固定レール15,15に対してスライド自在に係
合案内される構成となっており、支持機構10全体が水
平方向にスライド移動可能に設けられている。又、矩形
枠部12の内部に、胡瓜Kを吸着して取り出すための1
個の吸着ノズル8が下端部に設けられた支持筒16が昇
降自在に設けられている。
More specifically, as shown in FIG. 5, the support mechanism 10 includes a pipe frame 11 extending in the lateral direction, a rectangular frame portion 12 connected to the pipe frame 11 and extending downward, and a pipe frame 11. A plurality of guide rollers 14 attached to both ends of the pipe frame 11 are provided along the machine frame 9. It is configured to be slidably engaged with and fixed to the left and right fixed rails 15, 15, and the entire support mechanism 10 is provided slidably in the horizontal direction. In addition, one for sucking and taking out cucumber K into the rectangular frame portion 12.
A support cylinder 16 provided with a plurality of suction nozzles 8 at the lower end is provided so as to be able to move up and down.

【0013】支持機構10は、固定レール15,15に
沿って回動自在に巻回される状態で機枠9に支持された
ゴムベルト17に連結されて、機枠9の一端側に設けら
れた第1電動モータM1によりゴムベルト17を正逆回
動駆動させることで水平方向に往復移動操作されるよう
になっている。又、前記矩形枠部12の内部には、上下
方向に沿って回動自在に巻回されたゴムベルト18が支
持筒16に連結される状態で設けられて、カバー体13
の内部に設けられた第2電動モータM2によりゴムベル
ト18を正逆回動駆動させることで支持筒16、つま
り、吸着ノズル8が上下方向に昇降操作されるように構
成されている。この支持筒16の内部には図示しないエ
アーコンプレッサにより吸着ノズル8から吸引作動する
ためのエアー吸引通路19が形成されている。前記矩形
枠部12の横外側には、コンテナ1内に積載されている
複数の胡瓜Kのうち取り出し対象となるものを検出する
ためのレーザ式距離センサ20が設けられている。
The support mechanism 10 is connected to a rubber belt 17 supported by the machine frame 9 while being rotatably wound along the fixed rails 15, 15, and is provided at one end of the machine frame 9. The rubber belt 17 is driven to rotate forward and backward by the first electric motor M1 so as to be reciprocated in the horizontal direction. A rubber belt 18 rotatably wound in the up-down direction is provided inside the rectangular frame portion 12 so as to be connected to the support cylinder 16.
The support cylinder 16, that is, the suction nozzle 8 is moved up and down by driving the rubber belt 18 to rotate forward and backward by a second electric motor M <b> 2 provided in the inside. An air suction passage 19 for performing a suction operation from the suction nozzle 8 by an air compressor (not shown) is formed inside the support cylinder 16. A laser type distance sensor 20 for detecting a target to be taken out of the plurality of cucumbers K loaded in the container 1 is provided on the lateral outer side of the rectangular frame portion 12.

【0014】尚、収穫された後、色ムラやすり傷等の外
観不良については作業者により人為的に選別を行い、外
観不良品は区別して例えば別の収納具等に収納するよう
にして、前記コンテナ1には、外観不良の無い良品の胡
瓜Kが長手方向を揃えて整列した状態で積み込み収納さ
れるようになっている。又、コンテナ1は、積載された
胡瓜Kの長手方向がベルトコンベア3の搬送方向と同じ
になるように載置されるようになっている。
[0014] After the harvesting, the appearance defect such as uneven color or scratches is artificially selected by an operator, and the defective appearance product is distinguished and stored in another storage device, for example. In the container 1, non-defective cucumber K having no defective appearance is loaded and stored in a state where the cucumber K is aligned in the longitudinal direction. Further, the container 1 is placed so that the longitudinal direction of the loaded cucumbers K is the same as the transport direction of the belt conveyor 3.

【0015】図3、図4に示すように、前記搬出装置6
は、前記供給装置2と同様な支持機構21が設けられ、
胡瓜Kを吸着して取り出すための1個の吸着ノズル22
が昇降自在、並びに、水平方向に移動自在に設けられる
構成となっているが、この搬出装置6では、吸着ノズル
22を支持する支持機構21が、コンベア搬送方向と同
一方向及びそれに直交する方向(コンベア横幅方向)の
夫々に移動操作自在に構成され、且つ、吸着ノズル22
を支持する支持筒23が上下軸芯周りで回動操作可能に
設けられている。この支持筒23の内部には供給装置2
におけるものと同様に図示しないエアーコンプレッサに
より吸着ノズル22から吸引作動するためのエアー吸引
通路24が形成されている。つまり、図6に示すよう
に、支持機構21は、横方向に延びるパイプフレーム2
5と、パイプフレーム25に連設されて下方側に延びる
矩形枠部26と、パイプフレーム25の上方側に位置し
て後述する電動モータ等を覆うカバー体27等を備え、
前記パイプフレーム25の両端側に付設された複数のガ
イドローラ28が、支持レール部分29に沿って設けら
れた左右両側の固定レール30,30に対してスライド
自在に係合案内される構成となっており、支持機構21
全体が支持レール部分29に沿って水平方向にスライド
移動可能に設けられている。そして、前記支持レール部
分29が、機枠31に対して、コンベア横幅方向に沿っ
て往復移動自在に支持され、支持レール部分29の長手
方向に沿って回動自在に巻回されたゴムベルト32が支
持機構21に連結され、第3電動モータM3によりゴム
ベルト32を正逆駆動させることで、支持機構21がコ
ンベア搬送方向に沿って往復移動操作されるように構成
され、又、図1に示すように、機枠31に沿って回動自
在に巻回されたゴムベルト33が支持レール部分29に
連結され、第4電動モータM4によりゴムベルト33を
正逆駆動させることで、支持レール部分29がコンベア
横幅方向に沿って往復移動操作されるように構成されて
いる。又、支持筒23は、供給装置2の場合と同様に、
上下方向に沿って回動自在に巻回されたゴムベルト34
が連結されて、第5電動モータM5によりゴムベルト3
4を正逆回動駆動させることで上下方向に昇降操作され
る構成となっている。
As shown in FIG. 3 and FIG.
Is provided with a support mechanism 21 similar to the supply device 2,
One suction nozzle 22 for sucking and taking out cucumber K
Is configured to be movable up and down and movable in the horizontal direction. However, in the unloading device 6, the support mechanism 21 supporting the suction nozzles 22 is in the same direction as the conveyor conveyance direction and in a direction perpendicular to the conveyor conveyance direction ( (In the width direction of the conveyor).
Is provided so as to be rotatable around the vertical axis. The supply device 2 is provided inside the support cylinder 23.
An air suction passage 24 for suction operation from the suction nozzle 22 by an air compressor (not shown) is formed in the same manner as in the above. That is, as shown in FIG. 6, the support mechanism 21
5, a rectangular frame portion 26 connected to the pipe frame 25 and extending downward, a cover body 27 which is located above the pipe frame 25 and covers an electric motor and the like described later, and the like.
A plurality of guide rollers 28 attached to both ends of the pipe frame 25 are slidably engaged with fixed rails 30 on both left and right sides provided along a support rail portion 29. Support mechanism 21
The whole is slidably provided in the horizontal direction along the support rail portion 29. The support rail portion 29 is supported by the machine frame 31 so as to be reciprocally movable along the width direction of the conveyor, and a rubber belt 32 is rotatably wound along the longitudinal direction of the support rail portion 29. The support mechanism 21 is connected to the support mechanism 21, and the rubber belt 32 is driven forward and reverse by the third electric motor M3, so that the support mechanism 21 is configured to be reciprocated along the conveyor conveyance direction, as shown in FIG. A rubber belt 33, which is rotatably wound along the machine frame 31, is connected to the support rail portion 29, and the rubber belt 33 is driven forward and reverse by the fourth electric motor M4, so that the support rail portion 29 is conveyed horizontally. It is configured to be operated to reciprocate along the direction. Further, the support cylinder 23 is provided in the same manner as in the case of the supply device 2,
Rubber belt 34 that is rotatably wound along the vertical direction
And the rubber belt 3 is driven by the fifth electric motor M5.
4 is driven up and down in the up and down direction by rotating the head forward and backward.

【0016】そして、この搬出装置6では、前記支持筒
23はどのような昇降位置にあっても第6電動モータM
6の駆動によりその上下軸芯X1周りで回動操作自在に
設けられ、胡瓜Kを吸着した状態で回動姿勢を修正する
ことができるように構成されている。つまり、矩形枠部
26の内部に支持筒23と平行な状態で断面六角形状の
駆動軸35が第6電動モータM6により駆動操作可能な
状態で上下方向ほぼ全域にわたるように配設され、この
駆動軸35に対して一体回転自在並びに上下方向に摺動
自在に駆動ギア36が外嵌され、支持筒23に設けられ
た従動ギア37とこの駆動ギア36とが噛み合う状態で
支持筒23と一体的に昇降操作されるように設けられ、
昇降操作にかかわらず支持筒23を回動操作できるよう
に構成されている。
In the carrying-out device 6, the support cylinder 23 is placed in the sixth electric motor M
6 is provided so as to be rotatable around the vertical axis X1 by the drive of 6, so that the rotation posture can be corrected while the cucumber K is being sucked. That is, a drive shaft 35 having a hexagonal cross section is disposed inside the rectangular frame portion 26 in a state parallel to the support cylinder 23 so as to be able to be driven and operated by the sixth electric motor M6 so as to cover almost the entire vertical direction. A drive gear 36 is externally fitted so as to be rotatable integrally with the shaft 35 and slidable in the vertical direction, and is integrally formed with the support cylinder 23 in a state where the driven gear 37 provided on the support cylinder 23 meshes with the drive gear 36. It is provided so that it can be moved up and down,
The support cylinder 23 is configured to be rotatable regardless of the elevating operation.

【0017】前記ベルトコンベア3は、図3に示すよう
に、第7電動モータM7により回動駆動される構成とな
っており、後述するように搬送作動と停止とを間欠的に
繰り返すように制御される構成となっている。
As shown in FIG. 3, the belt conveyor 3 is driven to rotate by a seventh electric motor M7, and is controlled so as to intermittently repeat a transfer operation and a stop operation as described later. It is configured to be.

【0018】上述したような各電動モータM1〜M7
は、夫々パルスモータにて構成され、図8に示すよう
に、制御手段としての制御装置7にて動作状態が制御さ
れるようになっている。制御装置7はマイクロコンピュ
ータを備えて構成され、記憶手段(ROM)に記憶され
ている制御プログラムにより予め設定された制御手順に
従って各電動モータの作動を制御するように構成されて
いる。
Each of the electric motors M1 to M7 as described above
Are constituted by pulse motors, respectively, and as shown in FIG. 8, the operation state is controlled by a control device 7 as control means. The control device 7 includes a microcomputer, and is configured to control the operation of each electric motor according to a control procedure preset by a control program stored in a storage means (ROM).

【0019】図5に示すように、前記複数の収納箱5は
ベルトコンベアの横幅方向の両側に振り分け配置され、
収納箱5の胡瓜受面が水平姿勢に設定されている。尚、
収納箱5を載置する載置台38の下方側には、ベルトコ
ンベア3と収納箱5との間に形成された通過孔39aか
らシュート39bを介して落下供給される胡瓜Kを収納
する複数の回収部40が設けられている。
As shown in FIG. 5, the plurality of storage boxes 5 are distributed and arranged on both sides of the belt conveyor in the width direction.
The cucumber receiving surface of the storage box 5 is set in a horizontal posture. still,
A plurality of cucumbers K for storing cucumber K, which is supplied through a chute 39b from a passage hole 39a formed between the belt conveyor 3 and the storage box 5, is provided below the mounting table 38 on which the storage box 5 is mounted. A collection unit 40 is provided.

【0020】前記計測部4は、図7に示すように、撮影
用の遮蔽空間を形成する箱状の遮光カバー41が設けら
れ、この遮光カバー41の天井面に撮像箇所に位置する
胡瓜K(被計測物)を撮影する撮像手段としてのCCD
カメラ42が位置固定状態で設置されている。尚、遮光
カバー41における胡瓜Kの通過を許容する開口部分に
は、外部光が遮蔽空間に入らないように遮光するととも
に、胡瓜Kの通過を許容するように適宜間隔おきに切れ
目が入ったゴム垂れ43が設けられている。
As shown in FIG. 7, the measuring section 4 is provided with a box-shaped light-shielding cover 41 forming a shielding space for photographing, and the cucumber K ( CCD as an imaging means for photographing an object to be measured
The camera 42 is installed in a fixed position. The opening in the light-shielding cover 41 that allows the passage of the cucumber K is shielded so that external light does not enter the shielded space, and is cut at appropriate intervals so as to allow the cucumber K to pass through. A droop 43 is provided.

【0021】前記CCDカメラ42は、二次元方向に分
解能を有する結像部としてのCCD撮像素子(電荷結合
素子)42aと、このCCD撮像素子42aの前面に位
置して胡瓜Kに対する撮像範囲をCCD撮像素子42a
の受光面積よりも広くさせる状態で胡瓜Kの画像をCC
D撮像素子42a上に結像させる光学部としてのレンズ
機構42bとを備えて構成され、このCCDカメラ42
は、設定周期毎に撮像箇所の撮像情報を順次出力するよ
うに構成され、撮像情報を明るさ(輝度)の情報、所謂
モノクロ画像情報として出力するように構成されてい
る。尚、遮光カバー41内には、被写体である胡瓜Kに
対する照射量をほぼ全表面で均一にさせるべく上方側か
ら照射する光源(白熱灯)44が設けられるとともに、
ベルトコンベア3の幅方向両側部には胡瓜Kの横方向か
らも照射できるように反射鏡45が設けられている。C
CD撮像素子42aは、縦横の二次元方向に256×2
56画素の分解能を有するものが利用され、撮像対象と
なる領域は1辺約30cmの正方形の領域となってい
る。
The CCD camera 42 includes a CCD image pickup device (charge-coupled device) 42a as an image forming unit having a two-dimensional resolution, and a CCD image pickup area located in front of the CCD image pickup device 42a for picking up cucumber K. Image sensor 42a
The image of cucumber K in a state where it is wider than the light receiving area of
And a lens mechanism 42b as an optical unit for forming an image on the D image pickup device 42a.
Is configured to sequentially output the imaging information of the imaging location in each set cycle, and is configured to output the imaging information as brightness (luminance) information, so-called monochrome image information. In addition, a light source (incandescent lamp) 44 for irradiating from above is provided in the light-shielding cover 41 so as to make the amount of irradiation of the cucumber K, which is the subject, uniform over substantially the entire surface.
Reflecting mirrors 45 are provided on both sides in the width direction of the belt conveyor 3 so as to irradiate the cucumber K from the lateral direction. C
The CD image pickup device 42a has a size of 256 × 2
A device having a resolution of 56 pixels is used, and the region to be imaged is a square region with a side of about 30 cm.

【0022】又、前記CCDカメラ42により出力され
る撮像情報を画像処理して、胡瓜Kを評価する画像処理
手段100が備えられている。この画像処理手段100
は、胡瓜Kの評価処理として、具体的には、胡瓜Kの長
さ、曲がり、太さ等を計測して、その計測結果と、予め
設定記憶されている仕分け用基準情報とに基づいて、胡
瓜Kの仕分け用の階級・等級を判別するように構成され
ている。
Further, an image processing means 100 is provided which performs image processing on the image pickup information output by the CCD camera 42 to evaluate the cucumber K. This image processing means 100
Specifically, as the evaluation processing of the cucumber K, specifically, the length, bending, thickness, etc. of the cucumber K are measured, and based on the measurement result and the sorting reference information set and stored in advance, It is configured to determine the class / grade for sorting the cucumbers K.

【0023】図8に示すように、前記画像処理手段10
0は、CCDカメラ42から出力されるアナログ画像情
報をデジタル情報に変換するアナログ/デジタル変換処
理を実行すると同時に、胡瓜Kの画像とそれ以外の領域
とを区別するように二値化処理する二値化処理手段とし
てのA/D変換器46、このA/D変換器46の出力デ
ータを順次記憶する記憶手段としての画像メモリ47
と、この画像メモリ47に記憶されるデータに基づいて
胡瓜Kの仕分け用の階級・等級を判別するデータ処理手
段としてのデータ処理部48とを備えて構成されてい
る。前記A/D変換器46は、CCDカメラ42から出
力される情報をリアルタイムで二値化情報に変換して処
理するので高速で処理されることになる。又、前記デー
タ処理部48はマイクロコンピュータにて構成され、画
像メモリ47に記憶されている画像データを設定時間
(1/30秒)毎に読み込み、記憶手段(ROM)に設
定記憶されている制御プログラムにより、後述するよう
な処理手順にて画像処理を実行するように構成されてい
る。尚、前記ベルトコンベア3における搬送用載置面は
胡瓜Kに対比して明るさが異なる(低くなる)ように黒
色に着色され且つ光の反射率が小さくなるように構成さ
れ、CCDカメラ42により得られる撮像画像において
胡瓜Kの領域はそれ以外の領域(背景、つまり、コンベ
ア載置面)よりも確実に明るい画像になるように構成さ
れている。このようにして胡瓜Kの画像を極力正確に抽
出することができるようになっている。
As shown in FIG. 8, the image processing means 10
Numeral 0 denotes an analog / digital conversion process for converting analog image information output from the CCD camera 42 into digital information, and at the same time, a binarization process for distinguishing the image of the cucumber K from other areas. A / D converter 46 as value processing means, image memory 47 as storage means for sequentially storing output data of A / D converter 46
And a data processing section 48 as data processing means for determining the class / grade for sorting the cucumbers K based on the data stored in the image memory 47. The A / D converter 46 converts information output from the CCD camera 42 into binary information in real time and processes it, so that the processing is performed at high speed. The data processing section 48 is constituted by a microcomputer, reads the image data stored in the image memory 47 every set time (1/30 second), and sets and stores the control data stored in the storage means (ROM). The program is configured to execute image processing according to a processing procedure described later. The transfer mounting surface of the belt conveyor 3 is colored black so as to have a different brightness (lower) than that of the cucumber K, and is configured to have a low light reflectance. In the obtained captured image, the area of the cucumber K is configured to be surely a brighter image than the other area (the background, that is, the conveyor mounting surface). Thus, the image of the cucumber K can be extracted as accurately as possible.

【0024】次に、前記画像処理手段100における胡
瓜に対する評価処理の処理手順について図10に示す制
御フローチャートに基づいて説明する。先ず、画像メモ
リから画像の取り込み、その画像を上記したようなA/
D変換器46を利用してリアルタイム処理で二値化処理
する(ステップ1)。つまり、設定閾値以上の輝度の領
域を「1」とし、それ以外の領域を「0」として二値化
する。次に、画像の領域の輪郭を探索するとともに、微
小領域を取り除くノイズ除去処理を行う(ステップ
3)。詳述すると、画像データの左上から横方向に向か
って順次走査していきデータ「1」の画素を探す。デー
タ「1」の画素が見つかると、画像データの走査を中断
して、その点を起点として、データ「1」の画像の輪郭
点を探索するとともに、輪郭点の周囲長さも同時に測定
していく。そして、周囲長が予め設定した値以下であれ
ばノイズ成分として無視し、設定値以上のときは胡瓜の
画像領域とするのである。
Next, the processing procedure of the evaluation processing on the cucumber in the image processing means 100 will be described based on the control flowchart shown in FIG. First, an image is fetched from the image memory, and the image is stored in the A /
Binarization processing is performed by real-time processing using the D converter 46 (step 1). That is, binarization is performed by setting an area having a luminance equal to or higher than the set threshold to “1” and setting the other area to “0”. Next, while searching for the contour of the image area, a noise removal process for removing a minute area is performed (step 3). More specifically, the image data is sequentially scanned in the horizontal direction from the upper left to search for a pixel of data “1”. When the pixel of the data "1" is found, the scanning of the image data is interrupted, and from that point, the contour point of the image of the data "1" is searched, and the peripheral length of the contour point is simultaneously measured. . If the perimeter is less than a preset value, it is ignored as a noise component, and if it is more than the set value, the image area is a cucumber image area.

【0025】このようにして得られた画像領域の輪郭4
9の情報を用いて、モーメント特徴量(重心位置、主
軸)を算出する(ステップ4)。詳述すると、下記〔数
1〕で定義される原点回りのモーメントM0,0
1,0 ,M0,1 を求める。
The outline 4 of the image area thus obtained
Using the information of No. 9, a moment feature value (center of gravity position, main axis) is calculated (step 4). More specifically, the moment M 0,0 , around the origin defined by the following [Equation 1]
M 1,0 and M 0,1 are obtained.

【0026】[0026]

【数1】 (Equation 1)

【0027】ここで、f(x,y)は二値画像上の座標
(x,y)における画素の値である。そして、胡瓜の画
像の重心位置(x0 ,y0 )は下記〔数2〕より求めら
れる。
Here, f (x, y) is a pixel value at coordinates (x, y) on the binary image. Then, the center of gravity position (x 0 , y 0 ) of the image of the cucumber is obtained from the following [Equation 2].

【0028】[0028]

【数2】x0 =M1,0 /M0,0 、y0 =M0,1 /M0,0 X 0 = M 1,0 / M 0,0 , y 0 = M 0,1 / M 0,0

【0029】次に、胡瓜の画像上の重心位置回りの二次
モーメントM1,1 ,M2,0 ,M0,2を下記〔数3〕より
求め、〔数4〕に基づいて、胡瓜の画像が伸びている方
向(主軸方向)とx軸とのなす角度θを求めて、x軸と
のなす角度θで且つ重心位置Gを通る線50が基準線と
しての主軸になる。尚、この主軸は画像中のx軸と平行
(θ=0°)になる場合もある。
Next, secondary moments M 1,1 , M 2,0 , and M 0,2 around the position of the center of gravity on the image of the cucumber are obtained from the following [ Equation 3], and based on [Equation 4], the cucumber is obtained. An angle θ between the direction in which the image is extended (principal axis direction) and the x-axis is determined, and a line 50 passing through the center of gravity G at an angle θ with the x-axis becomes a principal axis as a reference line. Note that the main axis may be parallel to the x-axis in the image (θ = 0 °).

【0030】[0030]

【数3】 (Equation 3)

【0031】[0031]

【数4】θ=1/2・tan-1{2M1,1 /(M2,0
0,2 )}
[Equation 4] θ = 1/2 · tan −1 {2M 1,1 / (M 2,0
M 0,2 )}

【0032】次に、前記輪郭49に基づいて胡瓜の長さ
Lを計測する(ステップ5)。つまり、図12に示すよ
うに、前記輪郭49上の各点列を前記主軸50上に対し
てそれと直交する方向に投影して、各投影点のうち最も
距離が大きくなる2点間の距離を胡瓜の長さLとする。
Next, the length L of the cucumber is measured based on the outline 49 (step 5). That is, as shown in FIG. 12, each point sequence on the contour 49 is projected on the main axis 50 in a direction orthogonal to the main axis 50, and the distance between the two points where the distance is the largest among the projected points is determined. Let the length of the cucumbers be L.

【0033】前記輪郭49に基づいて胡瓜の曲がりを計
測する(ステップ6)。詳述すると、図12に示すよう
に、前記長さ測定の対象となる輪郭49上の各点P1,
P2の夫々から順に、長さ方向中央側に向けて設定範囲
まで、輪郭49と主軸50との距離(主軸と直交する方
向の距離)を求めて、そのうち最も大きいものに対応す
る輪郭49上の基準点P3,P4を求める。次に各基準
点を結ぶ直線51と、各基準点P3,P4間にある輪郭
データとの距離を順次求めて、その2点間の最大距離を
胡瓜の曲がりQとする。
The bending of the cucumber is measured based on the contour 49 (step 6). More specifically, as shown in FIG. 12, each point P1,
The distance (the distance in the direction perpendicular to the main axis) between the outline 49 and the main axis 50 is determined in order from each of the P2 to the set range toward the center in the length direction, and the distance on the outline 49 corresponding to the largest one is obtained. The reference points P3 and P4 are obtained. Next, the distance between the straight line 51 connecting each reference point and the contour data between each of the reference points P3 and P4 is sequentially determined, and the maximum distance between the two points is defined as the cucumber curve Q.

【0034】搬出装置6における吸着ノズル22による
吸着(保持)用の適正位置Hiを求める(ステップ
7)。つまり、重心位置Gを通り且つ主軸50に垂直な
直線が輪郭49点と交わる2点を求め、それらの2点間
の中心位置を適正位置Hiとするのである。
An appropriate position Hi for suction (holding) by the suction nozzle 22 in the unloading device 6 is determined (step 7). That is, two points where a straight line passing through the center of gravity position G and perpendicular to the main axis 50 intersects the 49 contours are obtained, and the center position between these two points is determined as the proper position Hi.

【0035】輪郭49に基づいて胡瓜の太さFを計測す
る(ステップ8)。詳述すると、図13に示すように、
胡瓜の長さ方向(前記主軸に沿う方向)に沿って長さを
N等分(例えば12等分)するように輪郭49上の幅方
向の一側部分に沿って各点a 1,2 …an を規定する。
尚、胡瓜の長手方向最端箇所は「へた」等が存在するの
で両端側の設定小範囲部分は画像を除去するようにして
いる。そして、各点に対して幅方向に対向する輪郭49
上での各点b1,2 …bn に対してそれの長手方向の設
定範囲にわたる輪郭49までの複数の箇所で距離を求
め、その最小値をその箇所における計測値とする。その
ような計測を上記各点で行い、それらの複数の計測値の
平均値を胡瓜の太さFとする。
The thickness F of the cucumber is measured based on the outline 49.
(Step 8). More specifically, as shown in FIG.
Along the length direction of the cucumbers (the direction along the main axis)
Width on the contour 49 so that it is equally divided into N (for example, 12 equally)
Each point a along one side of 1,aTwo... anIs specified.
In addition, the end of the cucumber in the longitudinal direction has "heap" etc.
The image is removed from the small area set at both ends.
I have. Then, the outline 49 opposing each point in the width direction.
Each point b above1,bTwo... bnTo its longitudinal setting
Find distances at multiple points up to contour 49 over a fixed range
Therefore, the minimum value is used as the measurement value at that location. That
Such a measurement is performed at each of the above points, and the
The average value is defined as the thickness F of the cucumbers.

【0036】前記太さ計測の為に胡瓜の長さをN等分し
た複数の領域のうち、最も長手方向両端側に位置する最
端領域53R,53Lと、それよりも中央側に隣接して
位置する設定領域54R,54Lと、長手方向中間に位
置する中間領域55との夫々について、画像内部の画素
数を計数することで、各領域の面積を求める(ステップ
9)。
Of the plurality of regions obtained by dividing the length of the cucumbers into N for the thickness measurement, the end regions 53R and 53L located at both ends in the longitudinal direction are located adjacent to the center. For each of the set setting areas 54R and 54L and the intermediate area 55 positioned in the middle in the longitudinal direction, the area of each area is determined by counting the number of pixels in the image (step 9).

【0037】次に、図14に示すように、その長辺方向
が前記主軸50に平行でかつ胡瓜の画像に外接する長方
形データ56を求めるとともに、長方形データ56の長
辺と輪郭49との離間距離を設定間隔毎に求めて輪郭デ
ータを作成する(ステップ10)。この輪郭データは搬
出作動の際に利用される。
Next, as shown in FIG. 14, rectangular data 56 whose long side direction is parallel to the main axis 50 and circumscribes the image of the cucumber is obtained, and the distance between the long side of the rectangular data 56 and the contour 49 is determined. The contour data is created by determining the distance at each set interval (step 10). This contour data is used at the time of carrying out operation.

【0038】最後に、前記各計測情報に基づいて当該胡
瓜の等階級を判定する(ステップ11)。この等階級判
定処理について、図18に基づいて、詳述する。つま
り、基本的には長さLの計測値と、予め設定されている
階級基準情報(例えば、SS,S,M,L,LL等の複
数の階級)とに基づいて、当該胡瓜の長さがどの階級に
対応するかを判定する(ステップ101)とともに、曲
がりQの計測値と予め設定されている等級基準情報(例
えば、A,B,C等の複数の等級)とに基づいて、当該
胡瓜の曲がりがどの等級に対応するかを判定する(ステ
ップ102)。そして、階級と等級との組み合わせによ
り等階級ランク(例えば、AM,ALL,BS等)が判
定される(ステップ103)。
Finally, the class of the cucumber is determined based on the measurement information (step 11). This class determination process will be described in detail with reference to FIG. That is, basically, based on the measured value of the length L and the preset class reference information (for example, a plurality of classes such as SS, S, M, L, and LL), the length of the cucumbers is determined. Is determined (step 101), and based on the measured value of the bending Q and predetermined grade reference information (for example, a plurality of grades such as A, B, and C). It is determined which grade the bend of the cucumber corresponds to (step 102). Then, the rank of the class (for example, AM, ALL, BS, etc.) is determined based on the combination of the class and the class (step 103).

【0039】次に、胡瓜の長さLと太さFとの比率を求
めて、その比率と予め設定された設定比率との比較に基
づいて、胡瓜が極太であるか又は極細であるかを判定す
る(ステップ104,105)。具体的に説明すると、
例えば図19に示すように、前記複数の階級毎に、互い
に異なる極細判定値と極太判定値とが夫々予め設定され
ており、計測された太さが対応する階級における極細判
定値以下であれば極細であると判別し、極太判定値以上
であれば極太であると判別することになる。そして、極
太であると判別されると前記長さLに基づいて判定され
た前記階級を1ランク上のものに変更する(ステップ1
06)。又、極細であると判別されると前記長さLに基
づいて判定された前記階級を1ランク下のものに変更す
る(ステップ107)。
Next, a ratio between the length L and the thickness F of the cucumbers is determined, and based on a comparison between the ratio and a preset ratio, it is determined whether the cucumbers are thick or fine. A determination is made (steps 104 and 105). Specifically,
For example, as shown in FIG. 19, for each of the plurality of classes, a mutually different extra fine judgment value and extra large judgment value are set in advance, and if the measured thickness is equal to or less than the extra fine judgment value in the corresponding class. It is determined that the image is extremely thin, and if it is equal to or greater than the extremely thick determination value, it is determined that the image is extremely thick. Then, when it is determined that the class is extremely thick, the class determined based on the length L is changed to one rank higher (step 1).
06). If it is determined that the class is extremely fine, the class determined based on the length L is changed to one rank lower (step 107).

【0040】又、前記ステップ9にて測定された面積情
報に基づいて、尻太や尻細であるか否か、及び、中央部
のくびれ状態であるか否かを判定する(ステップ10
8)。つまり、図13に示すように、最端領域53R
(53L)とそれに隣接する設定領域54R(54L)
との面積比較、つまり、53Rの面積と54Rの面積と
の比率、及び、53Lの面積と54Lの面積との比率が
尻太用判定値より大きいか、あるいは、尻細用判定値よ
り小さいかにより、尻太や尻細であるか否かを判別する
とともに、中間領域55と前記設定領域54R(54
L)との面積比較により、くびれ状態であるか否かを判
定する。このような尻太や尻細、あるいは、くびれが判
定されると、予め設定されている基準値に基づいてラン
クを変更したり、等級格外品と判別する等の処理を行う
(ステップ109)。そして、上述したような各計測項
目に基づいて、最終的に、その胡瓜Kが各収納箱5毎に
予め設定されている等階級ランクのいずれのものに該当
するかを決定することになる(ステップ110)。
Further, based on the area information measured in the step 9, it is determined whether or not the butt or the butt is narrow and whether or not the central part is constricted (step 10).
8). That is, as shown in FIG.
(53L) and a setting area 54R (54L) adjacent thereto
, That is, whether the ratio of the area of 53R to the area of 54R, and the ratio of the area of 53L to the area of 54L is larger than the judgment value for thick tail or smaller than the judgment value for thin tail. Is used to determine whether or not it is thick or thin, and the intermediate area 55 and the setting area 54R (54
L) to determine whether or not a constricted state. When such a thick or narrow or narrow neck is determined, processing such as changing the rank based on a preset reference value or determining that the product is out of grade is performed (step 109). Then, based on the measurement items as described above, it is finally determined which of the equal ranks set in advance for the cucumber K for each storage box 5 ( Step 110).

【0041】次に、前記制御装置7の制御動作につい
て、図11に示す制御フローチャートに基づいて説明す
る。運転が開始されると、供給装置2による初回の供給
作動を実行する(ステップ21)。つまり、供給装置2
の支持機構10を吸着ノズル8が上昇している状態で、
コンテナ1の全範囲にわたり水平方向に往復移動させな
がら距離センサ20にて胡瓜Kの上部面までの距離を計
測して、コンテナ1の全幅を5つのゾーンに区分けして
おき、各ゾーン毎にその中での最も高い位置(前記距離
が最少の位置)にある胡瓜Kの位置を検出する。そし
て、各ゾーンの最高位置にうち最も高い位置にあるゾー
ンの胡瓜を吸着してベルトコンベア3上の被供給位置に
載置供給する。尚、次回からの供給作動では、その時点
で胡瓜が最も高い位置にあるゾーンから胡瓜Kを取り出
すことになる。5つの全てのゾーンについて取り出しが
終了すると、再度、距離センサ20を移動させて高さ検
出を行い、同様な順序で、胡瓜を順次取り出していくこ
とになる。
Next, the control operation of the control device 7 will be described with reference to a control flowchart shown in FIG. When the operation is started, the first supply operation by the supply device 2 is executed (step 21). That is, the supply device 2
With the suction nozzle 8 raised,
The distance sensor 20 measures the distance to the upper surface of the cucumber K while reciprocating horizontally in the entire range of the container 1 and divides the entire width of the container 1 into five zones. The position of the cucumber K at the highest position (the position where the distance is the minimum) is detected. Then, the cucumber in the highest zone among the highest positions in each zone is sucked and placed and supplied to the supply position on the belt conveyor 3. In the supply operation from the next time, the cucumber K is taken out from the zone where the cucumber is at the highest position at that time. When the extraction is completed for all five zones, the distance sensor 20 is moved again to detect the height, and the cucumbers are sequentially extracted in the same order.

【0042】次に、ベルトコンベア3の搬送を開始し、
画像処理手段100における画像情報に基づいて、胡瓜
Kの搬送方向下手側端部がCCDカメラ42の撮像エリ
ア内の搬送方向上手側の所定域Uに至ったことが判別さ
れると、その時点から設定距離だけ搬送させた後、ベル
トコンベア3の搬送を停止させる(ステップ22〜2
5)。前記設定距離としては、胡瓜Kの長さとして予想
される最大値に近い値(例えば、約25cm程度)に設
定している(図15参照)。
Next, conveyance of the belt conveyor 3 is started,
Based on the image information in the image processing means 100, when it is determined that the lower end of the cucumber K in the transport direction has reached the predetermined area U on the upper side in the transport direction in the imaging area of the CCD camera 42, from that point in time After the conveyance by the set distance, the conveyance of the belt conveyor 3 is stopped (steps 22 to 2).
5). The set distance is set to a value close to the maximum value expected as the length of the cucumber K (for example, about 25 cm) (see FIG. 15).

【0043】ベルトコンベア3の搬送が停止している状
態で、CCDカメラ42により撮影された胡瓜Kの画像
に基づいて、画像処理手段100による胡瓜Kの評価処
理が実行されると同時に、この搬送停止状態において、
供給装置2による胡瓜Kの供給作動及び搬出装置6によ
る仕分け搬出作動の夫々を実行する(ステップ26,2
7,28)。そして、供給作動及び搬出作動が終了する
と、ベルトコンベア3による搬送を再開してステップ2
3に戻り、コンテナ1内の胡瓜Kの全てについて処理が
終了するまで、上記したような評価処理を繰り返すこと
になる(ステップ29,30,31)。
In a state where the conveyance of the belt conveyor 3 is stopped, the evaluation processing of the cucumber K by the image processing means 100 is executed based on the image of the cucumber K taken by the CCD camera 42, and at the same time, this conveyance is performed. In the stopped state,
The supply operation of the cucumber K by the supply device 2 and the sorting and unloading operation by the unloading device 6 are executed (steps 26 and 2).
7, 28). When the supply operation and the unloading operation are completed, the conveyance by the belt conveyor 3 is restarted, and
3, the above-described evaluation processing is repeated until the processing is completed for all the cucumbers K in the container 1 (steps 29, 30, 31).

【0044】前記搬出作動について説明する。尚、制御
開始時(電源投入時)には、吸着ノズル22は予め設定
された原点(基準位置)に位置するようになっている
(図9参照)。この原点は、平面視においてベルトコン
ベア3の搬送停止状態で搬出対象である胡瓜Kが存在し
ていると予想される位置であって、図3に示すように、
被供給位置とCCDカメラ42による撮像位置との距離
αの2倍の距離に相当する位置に設定されている。図1
7に示すように、搬出作動においては、画像処理手段1
00にて判別された胡瓜Kの吸着用適正位置Hiの情報
と、ベルトコンベア3による搬送距離の情報とから、吸
着位置(保持位置)Hpを平面視での座標データとして
判別する(ステップ40)。尚、ベルトコンベア3の搬
送距離は第7電動モータM7(パルスモータ)に対して
印加されたパルスのカウント値より判断できる。又、画
像処理手段100による評価結果により仕分けすべき収
納箱5を判断し、この収納箱5に対する搬入目標位置を
判別する(ステップ41)。詳述すると、図16に示す
ように、当該収納箱5に対して胡瓜が既に搬入されて、
前回の搬入位置が記憶されていれば、その前回搬入位置
における胡瓜Kの長方形データ56と今回の搬入対象で
ある胡瓜の長方形データ56とが近接して並ぶ位置を仮
位置(目標基準位置)として初期設定しておいて(図1
6(イ)参照)、画像処理手段100にて求められてい
る輪郭データにより、胡瓜同士の隙間が小さくなるよう
に搬入目標位置を求める。即ち、図16(ロ)に示すよ
うに、前回の胡瓜の輪郭49と今回の胡瓜の輪郭49と
の間の隙間(複数箇所での輪郭49と長方形との離間距
離)の和の最小値に相当する分だけ、言い換えると、各
胡瓜が接触する程度に近づくように、前記仮位置から傾
斜下方側に位置をずらして搬入目標位置を求めるのであ
る。尚、前回の搬入位置が記憶されていなければ、収納
箱の一端側の内縁に近づくように搬入目標位置を設定す
る。
The unloading operation will be described. At the start of control (when power is turned on), the suction nozzle 22 is located at a preset origin (reference position) (see FIG. 9). This origin is a position where the cucumber K to be carried out is expected to be present when the conveyance of the belt conveyor 3 is stopped in a plan view, and as shown in FIG.
The position is set to a position corresponding to twice the distance α between the supply position and the imaging position by the CCD camera 42. FIG.
As shown in FIG. 7, in the unloading operation, the image processing means 1
The suction position (holding position) Hp is determined as coordinate data in plan view from the information on the appropriate position Hi for suction of the cucumber K determined in 00 and the information on the transport distance by the belt conveyor 3 (step 40). . In addition, the conveyance distance of the belt conveyor 3 can be determined from the count value of the pulse applied to the seventh electric motor M7 (pulse motor). The storage box 5 to be sorted is determined based on the evaluation result by the image processing means 100, and the target carry-in position for the storage box 5 is determined (step 41). More specifically, as shown in FIG. 16, cucumbers have already been carried into the storage box 5,
If the previous carry-in position is stored, a position where the rectangular data 56 of the cucumber K at the previous carry-in position and the rectangular data 56 of the cucumber to be carried in this time are closely arranged as a temporary position (target reference position). Initial settings (Fig. 1
6 (a)), the target carry-in position is determined based on the contour data determined by the image processing means 100 such that the gap between the cucumbers is reduced. That is, as shown in FIG. 16B, the minimum value of the sum of the gaps between the previous contour 49 of the cucumbers and the contour 49 of the present cucumbers (the distance between the contour 49 and the rectangle at a plurality of locations) is calculated. In other words, the carry-in target position is obtained by shifting the position from the tentative position to the lower side of the inclination so that each cucumber comes close to the extent of contact with each other. If the previous carry-in position is not stored, the carry-in target position is set so as to approach the inner edge at one end of the storage box.

【0045】吸着ノズル22を吸着位置に移動させて、
吸着ノズル22を胡瓜Kの存在箇所まで下降させてエア
ー吸引して吸着作動を実行する(ステップ42)。エア
ー吸引通路内の圧力が負圧になったことが負圧センサに
て確認されるか否かにより吸着が成功したか否かを判別
し、吸着に成功すれば胡瓜Kを吸着したまま少し上昇さ
せて、収納用の適正姿勢、つまり、前回搬入位置におけ
る胡瓜Kの長方形データと今回の搬入対象である胡瓜K
の長方形データとが近接して並ぶ状態となり、且つ、胡
瓜Kが曲がっているときは両端側が傾斜下方側に位置す
る姿勢、になるように支持筒23の回転操作により胡瓜
Kの回転位相を修正する(ステップ43,44,4
5)。つまり、そして、前記搬入目標位置に向けて胡瓜
Kを吸着したまま搬送して収納箱5内に搬入する(ステ
ップ46)。搬入作動が終了すると、その収納箱5に対
する搬入位置を記憶して、吸着ノズル22を原点の位置
まで戻しておく(ステップ47,48)。尚、胡瓜Kが
1つの収納箱5の一端側から他端側近くまで積み込まれ
ると、吸着ノズル12の下降量を設定量だけ短縮させ
て、前記先行して積み込まれた下段列の胡瓜Kの上に順
次積込むことになる。前記ステップ43にて、設定回数
(3回程度)実行しても吸着作動が適正に行われなかっ
た場合には、搬出作動を終了して、後続の胡瓜Kに対し
て備えるようになっている(ステップ49,50)。
By moving the suction nozzle 22 to the suction position,
The suction nozzle 22 is lowered to the location where the cucumber K is present, and the suction operation is performed by sucking air (step 42). It is determined whether or not suction has succeeded by checking if the pressure in the air suction passage has become negative by a negative pressure sensor. If suction is successful, the cucumber K slightly rises while sucking Then, the proper posture for storage, that is, the rectangular data of the cucumber K at the previous loading position and the cucumber K to be loaded this time
When the cucumber K is bent, the rotation phase of the cucumber K is corrected by the rotation operation of the support tube 23 so that when the cucumber K is bent, the posture is such that both ends are located on the lower side. (Steps 43, 44, 4
5). In other words, the cucumber K is conveyed to the target carry-in position while being sucked, and is carried into the storage box 5 (step 46). When the loading operation is completed, the loading position with respect to the storage box 5 is stored, and the suction nozzle 22 is returned to the origin position (steps 47 and 48). When the cucumber K is loaded from one end side to the other end side of one storage box 5, the descending amount of the suction nozzle 12 is reduced by a set amount, and the cucumber K in the lower row of the previously loaded lower row is reduced. It will be loaded sequentially on top. In step 43, if the suction operation has not been properly performed even after the set number of times (about three times), the unloading operation is terminated to prepare for the subsequent cucumbers K. (Steps 49 and 50).

【0046】又、搬出装置6による吸着作動が適正に行
えなかった胡瓜K、あるいは、各収納箱5毎に設定され
たランク以外の胡瓜K等は、ベルトコンベア3の搬送方
向下手側に配置された回収部57にて回収されて、手作
業にて処理されることになる。
The cucumber K whose suction operation by the unloading device 6 could not be performed properly, or the cucumber K or the like other than the rank set for each storage box 5 is disposed on the lower side in the transport direction of the belt conveyor 3. It is collected by the collection unit 57 and is processed manually.

【0047】〔別実施形態〕 (1)上記実施形態では、極細判定値や極太判定値を1
つの階級毎に夫々1個づつ設定して、階級を1ランク上
や1ランク下のものに変更する場合を例示したが、この
ような構成に代えて、上記判定値を多段階に複数個設定
して、階級を複数段上下させるように変更させる構成と
してもよい。
[Another Embodiment] (1) In the above embodiment, the extra fine judgment value or the extra thick judgment value is set to 1
The case where one class is set for each class and the class is changed to one rank higher or one rank lower is exemplified. Instead of such a configuration, a plurality of the determination values are set in multiple stages. Then, a configuration may be adopted in which the class is changed so as to be moved up and down a plurality of levels.

【0048】(2)上記実施形態では、胡瓜の長手方向
に沿う基準線として、モーメント演算により前記主軸5
0を求めるようにしたが、これに代えて、胡瓜の画像の
長手方向に沿って輪郭の中点列を求めて、その中点列の
近似直線を求めて、この近似直線を基準線として用いて
もよい。
(2) In the above embodiment, the main shaft 5 is calculated by a moment as a reference line along the longitudinal direction of the cucumbers.
However, instead of this, the midpoint sequence of the outline is obtained along the longitudinal direction of the image of the cucumber, an approximate straight line of the midpoint sequence is obtained, and this approximate straight line is used as a reference line. You may.

【0049】(3)上記実施形態にて開示した胡瓜の太
さ計測手法に代えて、次のようにして太さを計測しても
よい。つまり、胡瓜の画像の輪郭を抽出して、長手方向
に沿って輪郭の中点列を順次求めておいて、長手方向に
沿う複数箇所において、その中点列と直交する方向での
輪郭の幅を求め、それら複数の幅の平均値を胡瓜の太さ
として求めるようにしてもよい。
(3) Instead of the cucumber thickness measuring method disclosed in the above embodiment, the thickness may be measured as follows. In other words, the outline of the image of the cucumber is extracted, and the midpoint sequence of the outline is sequentially obtained along the longitudinal direction, and the width of the outline in a direction orthogonal to the midpoint sequence at a plurality of locations along the longitudinal direction. May be obtained, and the average value of the plurality of widths may be obtained as the thickness of the cucumbers.

【0050】(4)上記実施形態では、撮像手段として
二次元方向に分解能を有するCCDカメラ42を用いた
が、一次元方向にのみ分解能を有するCCDラインセン
サをコンベア幅方向に沿って配置して、その出力を逐次
読み取ることで被計測物の画像情報を得るようにしても
よい。又、CCDカメラ42に代えて、MOS型撮像素
子やその他の撮像装置を用いてもよい。
(4) In the above embodiment, the CCD camera 42 having the resolution in the two-dimensional direction is used as the imaging means. However, a CCD line sensor having the resolution only in the one-dimensional direction is arranged along the conveyor width direction. The image information of the object to be measured may be obtained by sequentially reading the output. Further, instead of the CCD camera 42, a MOS type imaging device or other imaging device may be used.

【0051】(5)上記実施形態では、被計測物として
胡瓜Kの場合を例示したが、胡瓜Kに限らず茄子やその
他の長尺状の果菜類にも適用できる。
(5) In the above embodiment, the case where the measurement object is Cucumber K is illustrated, but the present invention is not limited to Cucumber K and can be applied to eggplants and other long fruits and vegetables.

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

【図1】胡瓜の選別装置の全体斜視図FIG. 1 is an overall perspective view of a cucumber sorting device.

【図2】胡瓜の選別装置の正面図FIG. 2 is a front view of a cucumber sorting device.

【図3】胡瓜の選別装置の側面図FIG. 3 is a side view of a cucumber sorting device.

【図4】搬出装置の正面図FIG. 4 is a front view of the unloading device.

【図5】供給装置の断面図FIG. 5 is a sectional view of a supply device.

【図6】搬出装置の断面図FIG. 6 is a sectional view of an unloading device.

【図7】計測部の断面図FIG. 7 is a sectional view of a measuring unit.

【図8】制御ブロック図FIG. 8 is a control block diagram.

【図9】搬出装置の平面図FIG. 9 is a plan view of an unloading device.

【図10】評価処理の制御フローチャートFIG. 10 is a control flowchart of an evaluation process.

【図11】制御動作のフローチャートFIG. 11 is a flowchart of a control operation.

【図12】評価処理の作用説明図FIG. 12 is an explanatory diagram of an operation of an evaluation process.

【図13】評価処理の作用説明図FIG. 13 is an explanatory diagram of the operation of the evaluation processing.

【図14】評価処理の作用説明図FIG. 14 is an explanatory diagram of the operation of the evaluation processing.

【図15】撮像箇所での動作状態を示す平面図FIG. 15 is a plan view showing an operation state at an imaging location.

【図16】搬入目標位置を求める動作説明図FIG. 16 is an explanatory diagram of an operation for obtaining a carry-in target position.

【図17】搬出作動の制御フローチャートFIG. 17 is a control flowchart of an unloading operation.

【図18】等階級判別処理の制御フローチャートFIG. 18 is a control flowchart of equal class determination processing.

【図19】極太判定値と極細判別値を示す図FIG. 19 is a diagram showing a very thick determination value and a very fine determination value.

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

42 撮像手段 100 画像処理手段 42 imaging means 100 image processing means

───────────────────────────────────────────────────── フロントページの続き (72)発明者 清川 昌宏 大阪府堺市石津北町64番地 株式会社クボ タ堺製造所内 (72)発明者 北町 篤志 大阪府堺市石津北町64番地 株式会社クボ タ堺製造所内 (72)発明者 辻田 和一郎 大阪府堺市石津北町64番地 株式会社クボ タ堺製造所内 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Masahiro Kiyokawa 64 Ishizukitamachi, Sakai City, Osaka Prefecture Inside the Kubota Sakai Plant (72) Inventor Atsushi Kitamachi 64 Ishizukitamachi, Sakai City, Osaka Prefecture Kubota Sakai Manufacturing Co., Ltd. In-house (72) Inventor Kazuichiro Tsujita 64 Ishizukita-cho, Sakai-shi, Osaka Inside Kubota Sakai Plant

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 長尺状の被計測物を撮像して計測用の撮
像情報を出力する撮像手段と、その撮像手段の撮像情報
を画像処理して前記被計測物を評価する画像処理手段と
が備えられた果菜類の計測装置であって、 前記画像処理手段は、 前記撮像手段による被計測物の撮像情報に基づいて、前
記被計測物の長さと太さとを計測するとともに、その長
さと太さとの関係に対応させて予め設定された判別基準
に基づいて、被計測物が極太又は極細であるか否かを判
別するように構成されている果菜類の計測装置。
1. An image pickup means for picking up an image of a long object to be measured and outputting image pickup information for measurement, and an image processing means for image-processing the image pickup information of the image pickup means to evaluate the object to be measured. Is a fruit and vegetable measuring device, wherein the image processing means, based on the imaging information of the measurement object by the imaging means, while measuring the length and thickness of the measurement object, the length and An apparatus for measuring fruits and vegetables configured to determine whether an object to be measured is extraordinarily thick or extraordinarily based on a discrimination criterion set in advance in association with the thickness.
【請求項2】 前記画像処理手段は、 前記撮像情報に基づいて、前記被計測物の長手方向に沿
う基準線を求め、被計測物の画像の外周部における前記
基準線に沿う方向での最も離間する2点間の距離を被計
測物の長さとして求めるように構成され、 且つ、前記撮像情報に基づいて、前記被計測物の画像に
対して、被計測物の前記基準線に沿う複数箇所にて被計
測物の幅を求め、これら複数の幅の平均値を前記被計測
物の太さとして求めるように構成されている請求項1記
載の果菜類の計測装置。
2. The image processing means obtains a reference line along a longitudinal direction of the object to be measured based on the imaging information, and determines a reference line in a direction along the reference line in an outer peripheral portion of an image of the object to be measured. It is configured to determine the distance between two separated points as the length of the object to be measured, and, based on the imaging information, a plurality of images along the reference line of the object to be measured with respect to the image of the object to be measured. 2. The fruit and vegetable measuring device according to claim 1, wherein the width of the object to be measured is obtained at a location, and an average value of the plurality of widths is obtained as the thickness of the object to be measured.
JP11198A 1998-01-05 1998-01-05 Measuring device for fruits and vegetables Pending JPH11194013A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11198A JPH11194013A (en) 1998-01-05 1998-01-05 Measuring device for fruits and vegetables

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11198A JPH11194013A (en) 1998-01-05 1998-01-05 Measuring device for fruits and vegetables

Publications (1)

Publication Number Publication Date
JPH11194013A true JPH11194013A (en) 1999-07-21

Family

ID=11464967

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11198A Pending JPH11194013A (en) 1998-01-05 1998-01-05 Measuring device for fruits and vegetables

Country Status (1)

Country Link
JP (1) JPH11194013A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110579174A (en) * 2019-10-24 2019-12-17 南京农业大学 Pear stem length measuring method based on machine vision

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110579174A (en) * 2019-10-24 2019-12-17 南京农业大学 Pear stem length measuring method based on machine vision

Similar Documents

Publication Publication Date Title
CN106670127B (en) Full-automatic visual inspection system of screen defect
CN106153633B (en) Visual inspection device and visual inspection method thereof
EP2923217B1 (en) Calibration of a dynamic digital imaging system for detecting defects in production stream
JP5833413B2 (en) Container inspection equipment
JPH11198076A (en) Holding position distinguishing device and sorter
JP3400359B2 (en) Agricultural product inspection equipment
JP4381764B2 (en) IMAGING DEVICE AND OBJECT MOVING DEVICE EQUIPPED WITH THE DEVICE
JP4479073B2 (en) Surface defect inspection equipment
JP2016161381A (en) Sorting device
JPH06103170B2 (en) Appearance inspection method and device
JPH11194021A (en) Measuring device for fruits and vegetables
JPH11194013A (en) Measuring device for fruits and vegetables
CN111687061A (en) Automatic detection equipment for lens imaging sensor
JPH11271025A (en) Measuring apparatus of fruit and vegetable
JPH11271024A (en) Measuring apparatus of fruit and vegetable
JPH11194012A (en) Measuring device for fruits and vegetables
JPH11194014A (en) Measuring device for fruits and vegetables
JPH11194020A (en) Measuring device for fruits and vegetables
JPH11194017A (en) Measuring device of fruits and vegetables
JPH09318547A (en) Appearance inspection method and apparatus for farm product
JPH11171106A (en) Fruit and vegetables loader
JPH11173815A (en) Measurement apparatus for fruits and vegetables
JPH10137696A (en) Separation method and its device
KR20210132756A (en) Apparatus for inspecting curved surface
CN115532620B (en) Pulp molding product quality inspection device and method