JPH09318547A - Appearance inspection method and apparatus for farm product - Google Patents

Appearance inspection method and apparatus for farm product

Info

Publication number
JPH09318547A
JPH09318547A JP13889196A JP13889196A JPH09318547A JP H09318547 A JPH09318547 A JP H09318547A JP 13889196 A JP13889196 A JP 13889196A JP 13889196 A JP13889196 A JP 13889196A JP H09318547 A JPH09318547 A JP H09318547A
Authority
JP
Japan
Prior art keywords
image information
infrared light
light image
pixel
agricultural product
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
JP13889196A
Other languages
Japanese (ja)
Other versions
JP3614980B2 (en
Inventor
Motofumi Suzuki
基文 鈴木
Seiji Nakamura
誠司 仲村
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.)
Maki Manufacturing Co Ltd
Original Assignee
Maki Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Maki Manufacturing Co Ltd filed Critical Maki Manufacturing Co Ltd
Priority to JP13889196A priority Critical patent/JP3614980B2/en
Publication of JPH09318547A publication Critical patent/JPH09318547A/en
Application granted granted Critical
Publication of JP3614980B2 publication Critical patent/JP3614980B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To enable accurately drawing of the external contour of a farm product and detecting of light information for obtaining information on color and damage in the contour by photographing the farm product on a carrying conveyor by near infrared rays(NIR) to compare NIR image information of pixels of an NIR image with a predetermined threshold. SOLUTION: Image information in wavelength ranges of NIR, R (red light) and G (green light) per pixel of an image taken by a photodetecting means 5 containing a camera is inputted into a camera measurement controller 6. The controller 6 binary codes a signal of NIR image information by a contour pixel extraction processing part and compares image information of each pixel detected as NIR image information with a specified threshold stored to extract the area of the pixel indicating a value higher than the threshold. The extracted NIR binary image undergoes a computation to extract the image information of the pixel within the contour of the farm product for use in the judgment of color and damage in the image signals NIR, R and G, thus accomplishing a judging processing for the judgment of color, detection of obstacles and the like.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、リンゴ、柿、梨、
トマト、ナス、胡瓜、ミカン等の農産物を選別して包装
し出荷する選果場等で用いられる農産物の外観検査方法
及び装置に関するものである。
TECHNICAL FIELD The present invention relates to apples, persimmons, pears,
The present invention relates to a method and an apparatus for inspecting the appearance of agricultural products used in a sorting field for sorting, packaging, and shipping agricultural products such as tomatoes, eggplants, cucumbers, and mandarins.

【0002】[0002]

【従来技術】選果場等での農産物の選別は、大別して、
大きさ,面積などの階級要素を基準とする方式と、色,
傷等の等級要素を基準とする方式とのいずれか一方ある
いは双方を用いて行われており、このうちの前者の階級
要素に基づく判定についてはこれに用いる要素(例えば
大きさ,重量)が比較的に機械手段で検出し易いために
古くから普及し、また近時の農産物を傷めない非接触方
式でもこの要素を検出する光学的方法,装置は比較的装
置化,自動化が簡単であるため実際の自動化装置も数多
く提案され実用に供されている。
2. Description of the Related Art The selection of agricultural products in a sorting field is roughly classified into
A method based on class factors such as size and area, color,
Either or both of the method based on grade factors such as scratches are used, and in the judgment based on the class factor of the former, the factors (eg size, weight) used for this are compared. Since it is easy to detect by mechanical means, it has been popular since ancient times, and the optical method and device for detecting this element even in the non-contact method that does not damage recent agricultural products is relatively easy to implement and automate. Many automated devices have been proposed and put to practical use.

【0003】しかし後者の色や傷等の等級要素について
の等級判定については、自動化装置が提案され一部実用
に供されているものの未だ解決すべき課題があるのが実
状である。
However, in the latter case of the grade determination for grade factors such as color and scratches, there is still a problem to be solved although an automatic device has been proposed and partly put to practical use.

【0004】このような等級判定のための色情報等の要
素を検出する従来提案の装置として知られるものには、
例えば搬送コンベアなどの上を搬送される農産物のカラ
ー画像をCCDカメラ等を用いて撮像して、赤(R),
緑(G),青(B)の三元色の色情報を検出する方式の
もの(特公昭61−7360号公報、特公昭61−11
679号公報、特公平1−33225号公報、特開平4
−147042号公報、特開平4−238252号公報
等)や、同様の手法で農産物表面の「傷」を検出する方
式のものが知られている(特開平4−307357号公
報等)。
Known as a conventionally proposed apparatus for detecting an element such as color information for grade determination is as follows.
For example, by using a CCD camera or the like to capture a color image of an agricultural product that is transported on a transport conveyor, red (R),
A method of detecting color information of green (G) and blue (B) ternary colors (Japanese Patent Publication No. 61-7360 and Japanese Patent Publication No. 61-11).
No. 679, Japanese Patent Publication No. 1-33225, and Japanese Patent Laid-Open No. Hei 4
No. 147042, Japanese Unexamined Patent Publication No. 4-238252, etc.) and a method of detecting a “scratch” on the surface of an agricultural product by a similar method (Japanese Unexamined Patent Publication No. 4-307357).

【0005】これらの方式では、搬送農産物との明度差
がつき易いように搬送コンベア等であるバケット,受皿
(いわゆるフリートレイ),小幅スラットコンベア等を
黒色として、農産物に関する色情報等を適切に検出でき
るようにした構成が一般に採用される。
In these methods, the bucket, which is a conveyer, the saucer (so-called free tray), the narrow slat conveyer, etc., are made black so that the brightness difference from the conveyed produce is easily detected, and the color information about the produce is properly detected. A configuration that allows for this is generally adopted.

【0006】しかし、農産物は色が千差万別であり、反
射明度の低い農産物(例えば黒紫色「ナス」、濃紫色
「スターキング」、濃緑色「青切ミカン」等が代表的)
を等級判定する場合には、前記のように黒色系の色をも
つ搬送手段で農産物を搬送しながら色情報を検出しても
両者の境界がはっきりしないために農産物の輪郭を正確
に捕らえることができない場合が多く、判定精度が低く
なるという問題があった。例えば、CCDカメラ等を用
いて撮像した農産物の画像をa行b列の画素信号にして
色や傷を判定するためのデータ信号とするものがある
が、黒色系の農産物や泥埃が付着した馬鈴薯などの農産
物ではその輪郭がはっきりせず、その結果として、本来
農産物とは関係のないコンベア部分の反射光を農産物の
一部分として取り込んでしまい判定精度の信頼性を低下
させることがあった。
[0006] However, agricultural products come in a wide variety of colors and have low reflected lightness (typical examples are black purple "eggplant", dark purple "starking", dark green "blue cut oranges").
When determining the grade, it is possible to accurately capture the outline of the agricultural product because the boundary between the two is not clear even if the color information is detected while the agricultural product is being transported by the transportation means having a black color as described above. In many cases, the problem is that the accuracy of determination is low. For example, there is one in which an image of an agricultural product captured by using a CCD camera or the like is used as a pixel signal in row a and column b as a data signal for determining a color or a scratch, but a blackish agricultural product or dust is attached. The outlines of agricultural products such as potatoes were not clear, and as a result, the reflected light of the conveyor portion, which was originally unrelated to the agricultural products, was captured as a part of the agricultural products, and the reliability of the determination accuracy was sometimes lowered.

【0007】これに対処するためには、例えばコンベア
等を測定対象物と反対色の背景色にして抽出する方法も
あるが、コンベアが泥埃等の汚れなどによって短時間の
うちに画像抽出性能が劣化するという問題があるし、ま
た対象農産物毎にコンベアを交換しなければならないと
すれば装置の汎用性を低下させるためにコスト的に不利
という問題を招く他、選果現場においての装置部品の交
換には相当知識をもった技術者の存在が必要となるた
め、選果場が多数散在している現実面への対応が極めて
困難という問題がある。
In order to deal with this, for example, there is a method of extracting a conveyor or the like with a background color opposite to that of the object to be measured, but the conveyor has image extraction performance in a short time due to dirt or the like. Is deteriorated, and if the conveyor must be replaced for each target agricultural product, the versatility of the device will be reduced, leading to a cost disadvantage, and the device parts at the sorting site. There is a problem that it is extremely difficult to deal with the actual situation in which a large number of sorting fields are scattered, because an engineer with considerable knowledge is required for the exchange of.

【0008】ところで、等級判定要素である農産物表面
の色等の解析法としては、上述の撮像により検出した反
射光をいくつかの波長域に分けて取り出してR,G,B
で分析する方法や、彩度,色相,明度を分析する方法が
知られている他、特公平3−21235号公報のよう
に、緑色光(G)や赤色光(R)が色の変化に敏感であ
るのに比べて赤外光(IR)は色の変化に鈍感であると
いう性質の違いを利用してIR/R,IR/Gを演算し
た結果から色を判定する方法が知られている。なお赤外
光は農産物に対しては反射率が高いが黒色系樹脂のコン
ベア等に対しての反射率は低いことも知られている。
By the way, as a method of analyzing the color of the surface of an agricultural product, which is a grade judgment element, the reflected light detected by the above-mentioned imaging is divided into several wavelength ranges and extracted as R, G, B.
In addition to the known method for analyzing saturation, hue, and lightness, green light (G) and red light (R) cause a change in color as in Japanese Patent Publication No. 3-21235. Infrared light (IR) is less sensitive to color changes than it is sensitive, so there is a known method to judge the color from the result of calculating IR / R and IR / G by utilizing the difference in the characteristics. There is. It is also known that infrared light has a high reflectance for agricultural products but a low reflectance for black resin conveyors and the like.

【0009】[0009]

【発明が解決しようとする課題】本発明者は、以上のよ
うな従来技術の下で鋭意研究を進めて本発明をなすに至
ったものである。
The present inventor has accomplished the present invention by earnestly conducting research under the above-mentioned conventional techniques.

【0010】すなわち、上述した従来の色,傷等の農産
物を選別するための等級判定においては、一般に、コン
ピュータによって色,傷を演算解析するには農産物から
の色に敏感な可視光領域の反射光を計測する必要がある
ため、CCDカメラ等の撮像手段により農産物からの可
視光領域の反射光を受光し、この光情報に基づいて農産
物の色等の等級要素を判定しているが、一部の農産物
(例えば黒色系農産物)においてはこの可視光の色情報
では農産物の境界がはっきりせず、農産物の外形輪郭近
傍の色情報が、コンベアに由来するものか農産物の色や
傷を示すのか明らかでないことになって、農産物の外形
輪郭線近傍を含めて色や傷を正確に判定できないという
問題を招く。
That is, in the above-mentioned conventional grade determination for selecting agricultural products such as colors and scratches, generally, in order to calculate and analyze the colors and scratches by a computer, the reflection of visible light region sensitive to the colors from the agricultural products is generally performed. Since it is necessary to measure the light, the reflected light in the visible light region from the agricultural product is received by an imaging means such as a CCD camera, and the grade factor such as the color of the agricultural product is determined based on this light information. In some agricultural products (for example, black-based agricultural products), the visible light color information does not clearly show the boundaries of the agricultural products, and whether the color information near the outline of the agricultural products indicates whether it is derived from the conveyor or the color and scratches of the agricultural products. It is not clear, which causes a problem that colors and scratches cannot be accurately determined including the vicinity of the outline of agricultural products.

【0011】そこで本発明は、農産物の外形輪郭を正確
に切り出すことができ、かつ輪郭近傍の農産物の色,傷
を正確に検出することができて、高い精度で等級判定が
可能な方法及び装置を提供することを目的としてなされ
たものである。
Therefore, the present invention is a method and apparatus capable of accurately cutting out the outer contour of an agricultural product, accurately detecting the color and scratch of the agricultural product in the vicinity of the contour, and enabling highly accurate grade determination. It is made for the purpose of providing.

【0012】また本発明の別の目的は、農産物の外形輪
郭の正確な切り出しと、輪郭内の色,傷の情報の検出の
ための光情報を簡易な装置で検出できる方法及び装置を
提供するところにある。
Another object of the present invention is to provide a method and a device capable of accurately cutting out the outer contour of an agricultural product and detecting optical information for detecting color and scratch information in the contour with a simple device. Where it is.

【0013】[0013]

【課題を解決するための手段】前記目的を達成する本発
明の特徴は前記特許請求の範囲の各請求項に記載した通
りにある。
The features of the present invention for achieving the above object are as set forth in the claims of the appended claims.

【0014】本願の請求項1の農産物の外観検査方法の
発明は、搬送手段上の農産物を近赤外光で撮像してa行
b列の画素からなる近赤外光画像を得て、これら各画素
の近赤外光画像情報を予め定めた閾値と比較することで
該農産物の輪郭内領域の画素を抽出すると共に、搬送手
段上の農産物を可視光で撮像して得た可視光画像の前記
農産物輪郭内の各画素の可視光画像情報により農産物の
色及び/又は傷を判定することを特徴とする。
In the invention of the appearance inspection method for agricultural products according to claim 1 of the present application, the agricultural products on the conveying means are imaged with near-infrared light to obtain a near-infrared light image consisting of pixels in row a and column b. The near-infrared light image information of each pixel is compared with a predetermined threshold value to extract the pixels in the contour area of the agricultural product, and the visible light image obtained by imaging the agricultural product on the conveying means with visible light. It is characterized in that the color and / or the scratch of the agricultural product is determined based on the visible light image information of each pixel in the agricultural product outline.

【0015】本発明の対象となる農産物としては、色,
傷の測定により等級判定が行われる果実,そ菜類などを
特に制限されることなく挙げることができる。
The agricultural products to which the present invention is applied include colors,
The fruits, vegetables and the like whose grade is determined by measuring the scratches can be mentioned without particular limitation.

【0016】本発明において農産物を撮像する近赤外光
は、色の変化に鈍感でありかつ農産物に対しては反射率
が高くコンベア等の搬送手段を構成する樹脂材料に対し
ては反射率の低い性質を有する波長域の光、一般的には
波長750nm〜900nmの光が好ましく用いられる
が、前記性質を満足するものであれば限定されるもので
はない。また可視光には、農産物の色,傷を検出、判定
するのに適した波長の光が用いられる。
In the present invention, near-infrared light for imaging agricultural products is insensitive to color changes and has a high reflectance for agricultural products and a high reflectance for resin materials that constitute a conveying means such as a conveyor. Light having a low property in a wavelength range, generally light having a wavelength of 750 nm to 900 nm is preferably used, but the light is not limited as long as the property is satisfied. Further, as the visible light, light having a wavelength suitable for detecting and determining the color and scratch of the agricultural product is used.

【0017】上記発明によれば、近赤外光で受光検出さ
れた各画素の近赤外光画像情報は、色の変化に鈍感でか
つ農産物に対しては反射率が高くコンベア等に対しては
反射率が低い性質であるため、農産物からの反射光より
は十分に低くかつコンベア等からの反射光よりは十分に
高い値に予め設定した所定の閾値と、各画素の近赤外光
画像情報を比較することで、各画素毎にこれが農産物の
輪郭の内外のいずれに位置するかを明瞭に区別できる。
すなわちこれにより、農産物の輪郭内領域に存在する画
素(群)を正確に抽出する(輪郭を正確に切り出す)こ
とができる。
According to the above-mentioned invention, the near-infrared light image information of each pixel received and detected by the near-infrared light is insensitive to the change in color and has a high reflectance for agricultural products and for a conveyor or the like. Has a low reflectance, a predetermined threshold value that is sufficiently lower than the reflected light from the agricultural products and sufficiently higher than the reflected light from the conveyor, and the near-infrared light image of each pixel. By comparing the information, it is possible to clearly distinguish whether each pixel is located inside or outside the outline of the agricultural product.
That is, by this, it is possible to accurately extract the pixels (group) existing in the area within the outline of the agricultural product (extract the outline accurately).

【0018】そして、このようにして正確に切り出し
(抽出)た輪郭内領域の画素(群)のみについて(つま
り抽出されなかった輪郭外側の画素は除外して)、色に
敏感な可視光で受光検出した可視光画像の情報を用い
て、色あるいは傷のいずれかあるいは双方を判定するの
で、高い精度の等級判定が可能とできる。なお色,傷の
判定に用いる要素や演算の方法は、従来の方法を用いて
行うことができる。
Then, only the pixels (groups) in the contour area that are accurately cut out (extracted) in this way (that is, the pixels outside the contour that have not been extracted are excluded) are received with color-sensitive visible light. Since information on the detected visible light image is used to determine either or both of color and scratch, it is possible to perform highly accurate grade determination. The elements and the calculation method used for determining the color and the scratch can be performed by using a conventional method.

【0019】このように色の変化には鈍感であるが農産
物と他の物の種類の違いには敏感な画像情報が得られる
近赤外光を用いて農産物の輪郭を切り出し、色の変化に
敏感な画像情報が得られる可視光の前記輪郭内画素
(群)の情報で色,傷を判定するので、正確で効率のよ
い判定が可能となる。
As described above, the contour of the agricultural product is cut out by using the near-infrared light, which is insensitive to the change of the color, but obtains the image information which is sensitive to the difference between the type of the agricultural product and the other object, and the change of the color is detected. Since the color and the flaw are determined based on the information of the pixel (group) in the contour of visible light that can obtain sensitive image information, accurate and efficient determination can be performed.

【0020】本願の請求項2の発明は、前記の農産物の
色及び/又は傷を判定するための可視光情報が、少なく
とも赤色光(R),緑色光(G)の波長域の光情報を含
み、必要に応じて青色光(B)の波長域の光情報を含む
ことを特徴とする。
In the invention of claim 2 of the present application, the visible light information for judging the color and / or the scratch of the agricultural product is at least light information in the wavelength range of red light (R) and green light (G). It is characterized in that it includes, and if necessary, optical information in the wavelength range of the blue light (B).

【0021】本願の請求項3の発明は、前記した請求項
1の発明と同じく近赤外光画像情報を予め定めた閾値と
比較して抽出した農産物輪郭内領域内の画素について、
搬送手段上の農産物を可視光で撮像して得た可視光画像
の前記農産物輪郭内の各画素の可視光画像情報と、前記
農産物輪郭内の各画素の近赤外光画像情報とにより、農
産物の色及び傷、又は傷を判定することを特徴とする。
The invention according to claim 3 of the present application is the same as the invention according to claim 1 described above, in which the pixels in the area inside the outline of the agricultural product extracted by comparing the near-infrared light image information with a predetermined threshold value,
The visible light image information of each pixel in the agricultural product contour of the visible light image obtained by imaging the agricultural product on the transport means with visible light, and the near infrared light image information of each pixel in the agricultural product contour, the agricultural product It is characterized by determining the color and scratches of, or scratches.

【0022】この発明によれば、請求項1の発明に加え
て近赤外光画像情報を農産物の傷検出に利用するので、
傷の検出をより高精度に行うことができる。この場合、
近赤外光画像情報と可視光画像情報とによる傷の検出
は、両者で検出した傷とみなされる画素の論理和で農産
物の傷を判定することもできるし、前記画素の論理積で
農産物の傷を判定することもできる。この後者の論理積
を用いる方法は、泥の付着など本当の傷でないものを傷
と判定してしまう不具合を避けるのに好ましく採用する
ことができるが、具体的に近赤外光と可視光の双方の画
素情報を傷検出に利用する方式は、種々の農産物の特質
等に応じて実際の傷と認識されるものとの関係を経験
的,実験的に確認して設計すればよい。
According to this invention, in addition to the invention of claim 1, the near-infrared light image information is used for detecting scratches on agricultural products.
It is possible to detect scratches with higher accuracy. in this case,
Scratch detection by near-infrared light image information and visible light image information, it is also possible to determine the scratch of the agricultural product by the logical sum of the pixels that are regarded as scratches detected by both, and the logical product of the pixels It is also possible to judge the scratch. The latter method using the logical product can be preferably adopted to avoid the problem that non-true scratches such as mud adhesion are judged to be scratches. The method of using both pixel information for scratch detection may be designed by empirically and experimentally confirming the relationship with what is recognized as an actual scratch according to the characteristics of various agricultural products.

【0023】本願の請求項4の発明は、近赤外光による
農産物の撮像と可視光による農産物の撮像とを、単一の
撮像手段により同時に行うことを特徴とする。
The invention of claim 4 of the present application is characterized in that imaging of agricultural products by near infrared light and imaging of agricultural products by visible light are performed simultaneously by a single imaging means.

【0024】この発明によれば、外観検査を迅速に行え
ると共に、近赤外光で撮像した画像と、可視光で撮像し
た画像を一致させる操作が不要であるため、農産物の輪
郭内の色,傷を判定するための可視光画像情報を農産物
の輪郭内の画素に基づくことを正確に確保できる。
According to the present invention, the appearance inspection can be performed quickly, and the operation of matching the image captured by the near infrared light with the image captured by the visible light is unnecessary. It is possible to accurately ensure that the visible light image information for determining the scratch is based on the pixels within the outline of the produce.

【0025】本願の請求項5の発明は、搬送手段上の農
産物を近赤外光で撮像してa行b列の画素の近赤外光画
像を得て、これら各画素の近赤外光画像情報を予め定め
た閾値と比較することで該農産物の輪郭内領域の画素を
抽出すると共に、この抽出した農産物輪郭内の各画素の
近赤外光画像情報により農産物の傷を検出することを特
徴とする。
According to the invention of claim 5 of the present application, the agricultural products on the conveying means are imaged with near-infrared light to obtain a near-infrared light image of the pixels in row a and column b. By comparing the image information with a predetermined threshold value to extract the pixels in the area within the outline of the agricultural product, it is possible to detect the scratch of the agricultural product by the near-infrared light image information of each pixel within the extracted agricultural product outline. Characterize.

【0026】この発明によれば、色の判定が不要である
農産物については、近赤外光画像情報のみに基づいて正
確に切り出した輪郭内の画素の抽出と、該輪郭内の各画
素の近赤外光画像情報に基づいて高精度に判定すること
ができる。
According to the present invention, for agricultural products for which color determination is not necessary, extraction of pixels in the contour accurately cut out based on only the near-infrared light image information and proximity of each pixel in the contour. It is possible to make a highly accurate determination based on the infrared light image information.

【0027】本願の請求項6の農産物の外観検査装置の
発明は、農産物を搬送する搬送手段と、搬送される農産
物に近赤外光領域及び可視光を含む照明光を照射する光
源と、前記光源で照明した農産物を撮像した画像のa行
b列の各画素毎に近赤外光画像情報及び可視光画像情報
を抽出する受光手段と、前記各画素の近赤外光画像情報
を予め定めた閾値と比較することで農産物の輪郭内領域
の画素を抽出する輪郭内画素抽出手段と、この輪郭内画
素抽出手段で抽出した各画素の可視光画像情報を抽出す
る可視光画像情報抽出手段と、該可視光画像情報抽出手
段で抽出した可視光画像情報により農産物の色及び/又
は傷を判定する判定手段とを備えたことを特徴とする。
According to a sixth aspect of the present invention, there is provided an apparatus for inspecting an appearance of agricultural products, which comprises a conveying means for conveying the agricultural products, a light source for irradiating the conveyed agricultural products with illumination light including a near infrared light region and visible light, and Light receiving means for extracting near-infrared light image information and visible light image information for each pixel in row a, column b of an image of an agricultural product illuminated by a light source, and near-infrared light image information for each pixel are determined in advance. An in-contour pixel extracting means for extracting pixels in an in-contour region of the agricultural product by comparing with the threshold value, and a visible light image information extracting means for extracting visible light image information of each pixel extracted by the in-contour pixel extracting means; And a determining unit that determines the color and / or the scratch of the agricultural product based on the visible light image information extracted by the visible light image information extracting unit.

【0028】前記搬送手段は、ベルトコンベア、コロコ
ンベア、バケットコンベア、ベルトコンベア等の上を拘
束されずに搬送される受皿(いわゆるフリートレイ)、
小幅スラットを搬送方向に多数整列させたいわゆるスラ
ットコンベア等を挙げることができる。
The conveying means is a tray (so-called free tray) which is conveyed on the belt conveyor, roller conveyor, bucket conveyor, belt conveyor, etc. without being constrained,
Examples include so-called slat conveyors in which a large number of narrow slats are aligned in the transport direction.

【0029】農産物を照明する光源は、近赤外光を発す
る光源と可視光を発する光源を用いることができるが、
発光波長域が限定されない例えばハロゲンランプ等を用
いて受光光学系に近赤外光領域、可視光を通すバンドパ
スフィルターを用いることもできる。
As a light source for illuminating agricultural products, a light source for emitting near infrared light and a light source for emitting visible light can be used.
It is also possible to use a band-pass filter for transmitting a near-infrared light region and visible light in the light receiving optical system by using, for example, a halogen lamp whose emission wavelength region is not limited.

【0030】撮像手段はCCDカメラ、ビデオカメラ等
を用いることができ、この撮像手段により撮像される農
産物と及び輪郭外近傍の範囲の画像情報は、a行b列の
マトリックス状に区画された画素の情報の集合であり、
このa行b列のマトリックスの大きさは受光光学系の解
像度や農産物の大きさにより設計的に決められる。また
各画素の大きさは小さい方が農産物の実際の外形輪郭に
合致した画素の切出しができるために好ましいが、その
反面、画素数が多くなって画像処理に時間がかかること
になるため、設備コスト、処理速度、等級判定精度等の
要求に応じて設計的に決められるものが用いられる。
A CCD camera, a video camera or the like can be used as the image pickup means, and the image information of the agricultural products picked up by this image pickup means and the image information in the area outside the contour are divided into pixels in a matrix of a rows and b columns. Is a collection of information of
The size of the matrix of row a and column b is determined by design depending on the resolution of the light receiving optical system and the size of the agricultural product. In addition, it is preferable that the size of each pixel is smaller because it can cut out pixels that match the actual outline of the agricultural product, but on the other hand, the number of pixels increases and it takes time for image processing. What is designed by design according to requirements such as cost, processing speed, and grade determination accuracy is used.

【0031】近赤外光画像情報及び可視光画像情報を抽
出する受光手段は、農産物からの反射光を集光するレン
ズ系、及びこのレンズ系からの光像が投影されるCCD
等の撮像素子とを備えたCCDカメラ、ビデオカメラ等
の撮像手段と、この撮像手段により得られた撮像情報を
コンピュータを利用して画像処理する画像処理手段から
構成することができる。このためには、前記光源とも関
係するが様々にその構成を設計することができ、例え
ば、赤外線画像情報を得るための近赤外光を発する光源
とこれを受光する撮像手段、及び可視光画像情報を得る
ための可視光を発する光源とこれを受光する撮像手段
を、それぞれ別々に設けることもできるし、発光波長域
が限定されない共通の光源を用いながら近赤外光画像情
報と可視光画像情報を別々の撮像手段で受光して得るこ
ともできるし、該共通の光源を用いると共に分光手段
(必要に応じて所定のバンドパスフィルタ)を用いるこ
とで、近赤外光画像情報と可視光画像情報を共通のレン
ズ系を通して得るようにすることもできる。
The light receiving means for extracting the near-infrared light image information and the visible light image information is a lens system that collects the reflected light from the agricultural product, and a CCD on which an optical image from this lens system is projected.
It can be constituted by an image pickup means such as a CCD camera or a video camera provided with an image pickup element such as the above, and an image processing means for image-processing the image pickup information obtained by the image pickup means by using a computer. For this purpose, the structure can be designed in various ways although it is related to the light source, for example, a light source that emits near-infrared light for obtaining infrared image information, an imaging unit that receives the light source, and a visible light image. It is possible to separately provide a light source that emits visible light for obtaining information and an image pickup unit that receives the light, and use a common light source whose emission wavelength range is not limited, and the near infrared light image information and the visible light image. Information can be obtained by receiving light by separate image pickup means, or near infrared light image information and visible light can be obtained by using the common light source and the spectroscopic means (a predetermined bandpass filter if necessary). Image information can also be obtained through a common lens system.

【0032】前記輪郭内画素抽出手段は、農産物を撮像
して得た近赤外光画像のa行b列のマトリックス状に区
画された各画素毎の画像情報を予めメモリ等に設定した
閾値と比較するための手段であり、一般的にはコンピュ
ータを利用して構成されかつその比較のための閾値は実
験的、経験的に決めることができる。
The in-contour pixel extracting means sets image information for each pixel divided into a matrix of a rows and b columns of a near infrared light image obtained by picking up an image of a farm product with a threshold value set in advance in a memory or the like. It is a means for comparison and is generally constructed by using a computer, and the threshold value for the comparison can be experimentally and empirically determined.

【0033】この発明によれば、近赤外光画像情報によ
り農産物の外形輪郭内の画素を正確に切り出し、切り出
した画素の可視光画像情報により農産物の色,傷を高精
度に検出する装置を提供できる。
According to the present invention, there is provided a device for accurately cutting out pixels in the outer contour of a farm product based on near-infrared light image information, and detecting the color and scratches of the farm product with high accuracy based on the visible light image information of the cut out pixels. Can be provided.

【0034】本願の請求項7の発明は、農産物を搬送す
る搬送手段と、搬送される農産物に近赤外光領域及び可
視光を含む照明光を照射する光源と、前記光源で照明し
た農産物を撮像した画像のa行b列の各画素毎に近赤外
光画像情報及び可視光画像情報を抽出する受光手段と、
前記各画素の近赤外光画像情報を予め定めた閾値と比較
して農産物の輪郭内領域の画素を抽出する輪郭内画素抽
出手段と、この輪郭内画素抽出手段で抽出した各画素の
可視光画像情報を抽出する可視光画像情報抽出手段と、
該可視光画像情報抽出手段で抽出した可視光画像情報に
より農産物の傷を判定する第1の傷判定手段と、輪郭内
画素抽出手段で抽出した各画素の近赤外光画像情報を抽
出する近赤外光信号抽出手段と、該近赤外光信号抽出手
段で抽出した近赤外光画像情報により農産物の傷を判定
する第2の傷判定手段とを備え、前記第1及び第2の傷
判定手段の結果を総合して農産物の傷判定を行うことを
特徴とする。
According to a seventh aspect of the present invention, there is provided a conveying means for conveying an agricultural product, a light source for irradiating the conveyed agricultural product with illumination light including a near infrared light region and visible light, and an agricultural product illuminated by the light source. Light receiving means for extracting near-infrared light image information and visible light image information for each pixel in row a, column b of the captured image;
Near-infrared light image information of each pixel is compared with a predetermined threshold value to extract a pixel in the contour area of the agricultural product, and a visible light of each pixel extracted by the contour pixel extraction means. Visible light image information extraction means for extracting image information,
A first scratch judging means for judging a scratch on an agricultural product based on the visible light image information extracted by the visible light image information extracting means, and a near infrared light image information for each pixel extracted by the in-contour pixel extracting means. An infrared light signal extracting means and a second scratch judging means for judging a scratch on an agricultural product based on the near infrared light image information extracted by the near infrared light signal extracting means are provided, and the first and second scratches are provided. A feature of the present invention is that the damage of the agricultural product is judged by integrating the results of the judgment means.

【0035】この発明によれば、農産物の傷を近赤外光
画像情報と可視画像情報のいずれかあるいは双方を利用
してより高精度に検出する装置を提供できる。
According to the present invention, it is possible to provide a device for detecting a scratch on an agricultural product with higher accuracy by using either or both of near infrared light image information and visible image information.

【0036】本願の請求項8の発明は、農産物を搬送す
る搬送手段と、搬送される農産物に近赤外光領域及び可
視光を含む照明光を照射する光源と、前記光源で照明し
た農産物を撮像した画像のa行b列の各画素毎に近赤外
光画像情報及び可視光画像情報を抽出する受光手段と、
前記各画素の近赤外光画像情報を予め定めた閾値と比較
して農産物の輪郭内領域の画素を抽出する輪郭内画素抽
出手段と、この輪郭内画素抽出手段で抽出した各画素の
可視光画像情報を抽出する可視光画像情報抽出手段と、
該可視光画像情報抽出手段で抽出した可視光画像情報に
より農産物の色及び又は傷を判定する第1の判定手段
と、前記輪郭内画素抽出手段で抽出した各画素の近赤外
光画像情報を抽出する近赤外光信号抽出手段と、該近赤
外光信号抽出手段で抽出した近赤外光画像情報により農
産物の傷を判定する第2の判定手段とを備えたことを特
徴とする。
The invention according to claim 8 of the present application provides a transporting means for transporting agricultural products, a light source for irradiating the transported agricultural products with illumination light including a near infrared light region and visible light, and the agricultural products illuminated by the light source. Light receiving means for extracting near-infrared light image information and visible light image information for each pixel in row a, column b of the captured image;
Near-infrared light image information of each pixel is compared with a predetermined threshold value to extract a pixel in the contour area of the agricultural product, and a visible light of each pixel extracted by the contour pixel extraction means. Visible light image information extraction means for extracting image information,
The first determination means for determining the color and / or the scratch of the agricultural product based on the visible light image information extracted by the visible light image information extraction means, and the near infrared light image information of each pixel extracted by the in-contour pixel extraction means It is characterized by comprising near-infrared light signal extracting means for extracting and second judging means for judging a scratch on the agricultural product based on the near-infrared light image information extracted by the near-infrared light signal extracting means.

【0037】この発明によれば、農産物の色の検出と、
近赤外光画像情報と可視画像情報のいずれかあるいは双
方を利用した傷の検出を高精度に行う装置を提供でき
る。
According to the present invention, the detection of the color of agricultural products,
It is possible to provide an apparatus for highly accurately detecting a flaw using either or both of near-infrared light image information and visible image information.

【0038】本願の請求項9の発明は、農産物を搬送す
る搬送手段と、搬送される農産物に近赤外光を含む照明
光を照射する光源と、前記光源で照明した農産物を撮像
した画像のa行b列の各画素毎に近赤外光画像情報を抽
出する受光手段と、前記各画素の近赤外光画像情報を予
め定めた閾値と比較することで農産物の輪郭内領域の画
素を抽出する輪郭内画素抽出手段と、この輪郭内画素抽
出手段で抽出した各画素の近赤外光画像情報を抽出する
近赤外光信号抽出手段と、該近赤外光信号抽出手段で抽
出した近赤外光画像情報により農産物の傷を判定する判
定手段とを備えたことを特徴とする。
[0038] The invention of claim 9 of the present application is directed to a transport means for transporting agricultural products, a light source for irradiating the transported agricultural products with illumination light including near-infrared light, and an image of an image of the agricultural products illuminated by the light source. By comparing the near-infrared light image information of each pixel of each pixel in row a and column b with the near-infrared light image information of each pixel with a predetermined threshold value, the pixels in the area within the contour of the agricultural product are detected. In-contour pixel extracting means for extracting, near-infrared light signal extracting means for extracting near-infrared light image information of each pixel extracted by this in-contour pixel extracting means, and for extracting by the near-infrared light signal extracting means It is characterized by comprising a determining means for determining a scratch of the agricultural product based on the near-infrared light image information.

【0039】この発明によれば、近赤外光画像情報のみ
を用いて農産物の外形輪郭の正確な切り出しと傷の高精
度な検出を行う装置を提供できる。
According to the present invention, it is possible to provide a device for accurately cutting out the outer contours of agricultural products and detecting scratches with high accuracy by using only near-infrared light image information.

【0040】本願の請求項10の発明は、上述した各請
求項の装置において、近赤外光画像と可視光画像を、一
つの撮像手段で同時に受光・撮像することを特徴とす
る。
The invention according to claim 10 of the present application is characterized in that, in the apparatus according to each of the above-mentioned claims, the near-infrared light image and the visible light image are simultaneously received and imaged by one imaging means.

【0041】この発明によれば、近赤外光による農産物
の外形輪郭を切り出すための近赤外光による撮像画像
と、色,傷を検出するための可視光による撮像画像を別
々のカメラ(等の撮像手段)で行う装置に比べ、両者画
像の画角を一致させる各カメラ等の位置合わせが不要で
あり、色,傷の高い検出精度を確保できる点で優れてい
る。またこの発明によれば、近赤外光及び可視光を一つ
の撮像手段で同時に撮像するので、農産物が搬送コンベ
ア等の搬送手段の上で動くことがあっても、近赤外光画
像情報と可視光画像情報の画像のずれを全く考慮する必
要がなく高精度に色,傷を検出できる。
According to the present invention, the imaged image by the near infrared light for cutting out the outer contour of the agricultural product by the near infrared light and the imaged image by the visible light for detecting the color and the scratch are separated by the different cameras (etc. Compared to a device that uses the image pickup means (1), it is superior in that it is not necessary to align the cameras and the like that match the angle of view of both images, and high detection accuracy of colors and scratches can be secured. Further, according to the present invention, since the near-infrared light and the visible light are simultaneously imaged by one imaging means, even if the agricultural product may move on the transportation means such as the transportation conveyor, the near-infrared light image information and It is possible to detect colors and scratches with high accuracy without having to consider the image shift of visible light image information at all.

【0042】[0042]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

実施形態1 図1は本例の農産物の外観検査装置が適用される果実
(農産物)の等級選別を行うための装置を適用した選果
設備の構成概略を示したものであり、この図において1
はリンゴであり、無端回動する搬送コンベア2により隙
間なく連行されるフリートレー(容器)3の上に一つづ
つ載せられて搬送される。
Embodiment 1 FIG. 1 shows a schematic configuration of a fruit selection equipment to which a device for selecting grades of fruits (agricultural products) to which the appearance inspection device for agricultural products of this example is applied is shown.
Are apples, which are carried one by one on free trays (containers) 3 which are carried by the conveyor 2 which rotates endlessly without any gap.

【0043】4は色,傷検出のための撮像ステージ近傍
に配置されたハロゲンランプ等の光源ランプであり、近
赤外光の波長域及び可視光の波長域を含む光で農産物1
を照明する。
Reference numeral 4 denotes a light source lamp such as a halogen lamp arranged near the image pickup stage for detecting colors and scratches, which is light including the wavelength range of near infrared light and the visible light range.
Illuminate.

【0044】5はCCDを受光素子としたカメラ(撮像
手段)を含む受光手段であり、このカメラを含む受光手
段の詳細は図2に示される。すなわち、本例のこの図2
に示した受光手段5は、前記により照明された農産物1
からの反射光を、レンズ51から、分光器52を通して
近赤外光(「NEAR INFRARED RAYS」:以下「NIR」と
略記する),赤色光(以下「R」と略記する),緑色光
(以下「G」と略記する)に分光したた後、各投影像を
夫々NIR用CCD531、R用CCD532、G用C
CD533の上に投影する。そして各CCDに投影・撮
像された画像は、増幅回路541,542,543、次
いでA/D変換回路551,552,553を介して、
NIRデジタル出力、Rデジタル出力、Gデジタル出力
として出力される。なお、NIR,R,Gの各波長域の
分光を取出すために、本例では分光器52の内部にそれ
ぞれに対応した所定波長域の光だけを透過させるバンド
パスフィルター(図示せず)を備えている。また受光手
段5の各CCD531,CCD532,CCD533は
それぞれ同一の画素数を有するように設けられていると
共に、駆動信号入力を受けた駆動回路56により前記し
た各増幅回路及びA/D変換回路を同期駆動させるよう
に設けられ、これにより、各CCDで撮像された画像の
a行b列のマトリックスの各対応するアドレスの画素が
一致する関係となるように制御される。
Reference numeral 5 denotes a light receiving means including a camera (imaging means) having a CCD as a light receiving element, and details of the light receiving means including this camera are shown in FIG. That is, this FIG.
The light receiving means 5 shown in FIG.
The reflected light from the lens 51 passes through the spectroscope 52 to near infrared light (“NEAR INFRARED RAYS”: hereinafter abbreviated as “NIR”), red light (hereinafter abbreviated as “R”), green light (hereinafter (Hereinafter abbreviated as "G"), each projected image is divided into NIR CCD 531, R CCD 532, and G C.
Project onto CD533. The image projected and picked up by each CCD is passed through the amplification circuits 541, 542, 543, and then the A / D conversion circuits 551, 552, 553,
It is output as NIR digital output, R digital output, and G digital output. In order to extract the spectrum of each wavelength range of NIR, R, G, in this example, a bandpass filter (not shown) is provided inside the spectroscope 52 for transmitting only the light of the corresponding predetermined wavelength range. ing. Further, the CCDs 531, CCDs 532, and CCDs 533 of the light receiving means 5 are provided so as to have the same number of pixels, and the above-mentioned amplifier circuits and A / D conversion circuits are synchronized by the drive circuit 56 that receives the drive signal input. It is provided so as to be driven, whereby the pixels at the corresponding addresses of the matrix of row a and column b of the image picked up by each CCD are controlled so as to have a matching relationship.

【0045】このようにして、カメラを含む受光手段5
で撮像された画像の画素毎のNIR,R,Gの各波長域
の画像情報は、コンピュータからなるカメラ計測制御装
置6に入力される。
In this way, the light receiving means 5 including the camera
The image information of the NIR, R, and G wavelength regions for each pixel of the image captured in (1) is input to the camera measurement control device 6 including a computer.

【0046】そしてこのカメラ計測制御装置6におい
て、後述する入力信号に基づいた所定の演算処理によ
り、本例の処理対象農産物であるリンゴの色,傷につい
ての等級を判定し、その判定結果を農産物の仕分け信号
として出力する。なお通常は、階級要素を測定してこれ
に基づく階級判定を行って階級・等級による仕分け判別
を行うが、本例では階級についての説明は省略する。
Then, in the camera measurement control device 6, the grade of the color and scratch of the apple which is the processing target agricultural product of this example is judged by a predetermined arithmetic processing based on the input signal described later, and the judgment result is the agricultural product. It is output as a sorting signal of. Normally, the class element is measured, and the class determination based on the class element is performed to perform the classification determination based on the class / class, but the description of the class is omitted in this example.

【0047】71 ,72 ,・・・・7i は前記カメラ計
測制御装置6から出力される仕分け信号を受ける仕分け
選別装置のソレノイドであり、等級1〜等級iまでの等
級区分に農産物を仕分け選別するように所定の位置に設
置され、該当する等級区分の農産物が載ったフリートレ
ー3がその仕分け位置にきたときに、図示しない箱詰用
の分岐排出コンベアにそのフリートレー3を排出するよ
うに動作する。
[0047] 7 1, 7 2, ···· 7 i is the solenoid of the sorting sorting device which receives a sorting signal output from the camera measurement control unit 6, the agricultural products to grading to Grade 1 Grade i When the free tray 3 installed at a predetermined position for sorting and sorting and the agricultural products of the corresponding grade classification come to the sorting position, the free tray 3 is discharged to a boxing branch discharge conveyor (not shown). Works like.

【0048】8は、前記搬送コンベア2の搬送に同期し
た信号を発生する同期信号発生装置であり、これにより
発生されたコンベア搬送同期信号は前記カメラ計測制御
装置6に入力され、受光手段5から入力される農産物の
撮像情報により等級判定された所定の農産物1の仕分け
位置を前記仕分け選別装置71 ,72 ,・・・・7i
出力するように利用される。
Reference numeral 8 is a synchronization signal generator for generating a signal in synchronization with the conveyance of the conveyer 2. The conveyer conveyer synchronization signal generated by this is inputted to the camera measurement controller 6 and is received from the light receiving means 5. It is used to output the sorting position of a predetermined agricultural product 1 whose grade is determined by the input imaging information of the agricultural product to the sorting and sorting devices 7 1 , 7 2 , ... 7 i .

【0049】前記カメラ計測制御装置6は図3のブロッ
ク図で示した画像処理/制御回路として構成されてい
る。すなわち上記図2の受光手段5で取出されたNI
R,R,Gの各画像情報の信号及び同期信号(これらを
総称して「カメラ信号」という)は、図3に示したビデ
オ入力I/F601に入力され、各画像情報信号NI
R,R,Gはフレームメモリ602にそれぞれの信号の
画像情報として記憶される。またこのフレームメモリ6
02で記憶された各画像情報はイメージバス603から
一つはビデオD/A604を介して図示しないビデオモ
ニタにビデオモニタ信号として出力され、またイメージ
バス603からイメージプロセッサ605に送られる。
606は前処理用のLUTルックアープテーブルメモリ
であり、取り出された各画像の強調やノイズの除去等の
前処理を加えたのち、この画像をメモりに記憶する。ま
た607はプレーンメモリであり、イメージプロセッサ
605で処理して得られた各画素の色情報等を一時記憶
するバッファーとして機能する。以上のイメージプロセ
ッサ605、LUTメモリ606、プレーンメモリ60
7の信号に基づいて、CPUバス608を介し、処理装
置(CPU)609は画像処理を行う。また、I/O6
10を介して仕分け選別信号を前記仕分け選別装置7
1 ,72 ,・・・・7i のソレノイドに出力するように
なっている。なお611はROM、612はRAMの各
メモリである。
The camera measurement control device 6 is configured as the image processing / control circuit shown in the block diagram of FIG. That is, the NI extracted by the light receiving means 5 in FIG.
Signals of R, R, and G image information and synchronization signals (these are collectively referred to as "camera signals") are input to the video input I / F 601 shown in FIG.
R, R, and G are stored in the frame memory 602 as image information of each signal. In addition, this frame memory 6
Each image information stored in 02 is output as a video monitor signal from the image bus 603 to the video monitor (not shown) via the video D / A 604, and is also sent from the image bus 603 to the image processor 605.
Reference numeral 606 denotes a LUT look-up table memory for pre-processing, which performs pre-processing such as enhancement of each extracted image and removal of noise, and then stores this image in a memory. A plane memory 607 functions as a buffer for temporarily storing color information of each pixel obtained by processing by the image processor 605. Image processor 605, LUT memory 606, plane memory 60 described above
Based on the signal of No. 7, the processing unit (CPU) 609 performs image processing via the CPU bus 608. Also, I / O6
A sorting and sorting signal is sent via 10 to the sorting and sorting device 7
It outputs to the solenoids of 1 , 7 2 , ..., 7 i . 611 is a ROM and 612 is a RAM.

【0050】処理装置609で行われる画像処理は、図
4により説明される。すなわち、本例ではNIR画像情
報(各画素が様々な値をもつ多値画像情報)の信号を輪
郭内画素抽出処理部でまず二値化処理する。この二値化
処理はROM611(又はRAM612)に記憶されて
いる所定の閾値と、NIR画像情報として検出された各
画素の画像情報とを比較し、このNIRがコンベア等の
樹脂材料に比べて農産物に対し高い反射率を示すという
性質を利用して、閾値よりも高い値を示した画素の領域
を農産物の輪郭内として抽出するものであり、抽出され
た画素群はその連結領域順に番号が付けられる(ラベリ
ング処理)。この後、各ラベル画像についてそのラベル
画像が検査対象物であるか否かの判定が加えられたの
ち、検査対象物の画像のみを抽出する。
The image processing performed by the processing device 609 will be described with reference to FIG. That is, in this example, the signal of NIR image information (multivalued image information in which each pixel has various values) is first binarized by the in-contour pixel extraction processing unit. This binarization process compares a predetermined threshold value stored in the ROM 611 (or the RAM 612) with the image information of each pixel detected as NIR image information, and this NIR is higher than that of a resin material such as a conveyor. By using the property of exhibiting a high reflectance with respect to, the region of pixels that show a value higher than the threshold value is extracted as the outline of the agricultural product, and the extracted pixel groups are numbered in the order of their connected regions. (Labeling process). After that, for each label image, after it is determined whether or not the label image is the inspection object, only the image of the inspection object is extracted.

【0051】上記の輪郭内画素抽出処理部により得られ
たNIRの二値画像は、本例では階級要素の形状処理部
に送られ、大きさ等の階級要素を計測する処理が行われ
る。また、前記NIR二値画像は、各画像情報信号NI
R,R,Gのうちで色,傷の判定に用いる農産物輪郭内
の画素の画像情報を抽出するために検出領域特定処理部
で画素間AND演算が行われ、それぞれNIR検出領
域,R検出領域,G検出領域の画素の画像情報のみが抽
出される。これらの抽出された各波長域の画素の画像
は、画素毎に値が検出値に依存した多値画像である。
The NIR binary image obtained by the in-contour pixel extraction processing section is sent to the class element shape processing section in this example, and is processed to measure class elements such as size. In addition, the NIR binary image includes each image information signal NI.
An AND operation between pixels is performed in the detection area specifying processing unit in order to extract the image information of the pixel in the agricultural product contour used for judging the color and the scratch among R, R, and G, and the NIR detection area and the R detection area, respectively. , Image information of pixels in the G detection area is extracted. The image of the extracted pixels in each wavelength range is a multivalued image in which the value of each pixel depends on the detection value.

【0052】そして、これらの検出領域が特定されたN
IR,R,Gの各波長域の画像情報のうちの所定の画像
情報を色判定処理部あるいは傷害検出処理部に出力し
て、これに基づき色判定(着色度,色の均一性など)、
傷害検出(最大面積,傷害面積など)を行う。なお色判
定処理部,傷害検出処理部で行う処理法としては、従来
知られている方法を用いることができ、例えば傷害検出
処理では微分処理法や、既知の傷害色値と比較する色差
処理法などを挙げることができる。
Then, N in which these detection areas are specified
Predetermined image information of the image information of each wavelength range of IR, R, G is output to the color determination processing unit or the injury detection processing unit, and based on this, color determination (coloring degree, color uniformity, etc.),
Performs injury detection (maximum area, injury area, etc.). As a processing method performed in the color determination processing unit and the damage detection processing unit, a conventionally known method can be used. For example, in the damage detection processing, a differential processing method or a color difference processing method for comparing with a known damage color value. And so on.

【0053】なお、図4ではNIR,R,Gの各波長域
の画像情報をすべて色判定処理部及び傷害検出処理部に
入力するように図示しているが、これは信号授受の系路
を示しているものであって、すべての信号を常に利用す
ることを意味するものではない。また装置に応じて必要
のない信号授受の系路は省略することができるが、これ
らは実際には図3で説明したコンピュータ技術を用いて
行われる処理の内容をモジュル化して示したものであっ
て、このような各処理部をハード的に有する必要はな
い。
In FIG. 4, all the image information in the NIR, R, and G wavelength regions are input to the color determination processing section and the injury detection processing section, but this is a signal transmission / reception system. It is shown and does not mean that all signals are always available. Although unnecessary signal transmission / reception paths can be omitted depending on the device, these are actually modularized contents of the processing performed using the computer technology described in FIG. Therefore, it is not necessary to have each of these processing units in terms of hardware.

【0054】図5は、以上の農産物の外観検査装置を用
いて行う検査操作を、上記請求項1,2,4,6,10
に対応する例として説明するためのフローチャートを示
したものであり、まずステップ101において、近赤外
光画像(NIR 750〜900nm)と可視光画像
(R,G)を撮像する。この場合の撮像は、本例におい
ては近赤外光と可視光を一つのカメラ(撮像手段)で同
時に行う。
FIG. 5 shows the inspection operation performed by using the above-described agricultural product appearance inspection apparatus according to the above claims 1, 2, 4, 6, and 10.
The flowchart for explaining as an example corresponding to is shown. First, in step 101, a near infrared light image (NIR 750 to 900 nm) and a visible light image (R, G) are captured. In this case, in this case, the near infrared light and the visible light are simultaneously captured by one camera (imaging unit) in this example.

【0055】次にステップ102においては、近赤外光
画像に基づき、農産物の輪郭切り出しのために予め定め
た閾値と各画素の近赤外光画像情報を比較することによ
り二値化して、輪郭内領域の画素を抽出する。次いでス
テップ103において、前記抽出した輪郭内領域の画素
と可視光画像の画素間AND演算を行って輪郭内領域の
可視光画像情報を特定する。
Next, in step 102, based on the near-infrared light image, the threshold value predetermined for cutting out the contour of the agricultural product is compared with the near-infrared light image information of each pixel to be binarized, and the contour is contoured. Pixels in the inner area are extracted. Next, in step 103, the AND operation between the extracted pixels in the contour area and the visible light image is performed to specify the visible light image information of the contour area.

【0056】ステップ104においては、上記ステップ
103で特定された輪郭内領域の可視光画像情報に基づ
いて、輪郭内領域の色(したがって農産物の色)を演算
算出する。例えば従来既知の色計算式に従って色ヒスト
グラムを作成し、色の均一性、画像中心の色を検出す
る。
In step 104, the color of the in-contour region (hence the color of the agricultural product) is calculated and calculated based on the visible light image information of the in-contour region specified in step 103. For example, a color histogram is created according to a conventionally known color calculation formula, and the color uniformity and the color at the center of the image are detected.

【0057】最後にステップ105において、検出した
色を評価判定し該当する農産物の色に関する等級評価を
行って、処理を終了する。以上の処理を、搬送コンベア
2で搬送される農産物(リンゴ)について順次繰り返し
行う。
Finally, in step 105, the detected color is evaluated and judged, the grade of the color of the corresponding agricultural product is evaluated, and the process is terminated. The above processing is sequentially repeated for the agricultural products (apples) transported by the transport conveyor 2.

【0058】実施形態2 図6は、農産物の外観検査装置を用いて行う検査操作を
請求項5,9に対応する例として説明するためのフロー
チャートを示したものである。
Embodiment 2 FIG. 6 shows a flow chart for explaining an inspection operation performed by using an appearance inspection apparatus for agricultural products as an example corresponding to claims 5 and 9.

【0059】本例においては、ステップ201において
近赤外光画像(NIR 750〜900nm)を撮像す
る。ステップ202においては、近赤外光画像に基づ
き、農産物の輪郭切り出しのために予め定めた閾値と各
画素の近赤外光画像情報を比較することにより二値化し
て、輪郭内領域の画素を抽出する。
In this example, in step 201, a near infrared light image (NIR 750 to 900 nm) is picked up. In step 202, based on the near-infrared light image, binarization is performed by comparing a predetermined threshold value for cropping the outline of the agricultural product with the near-infrared light image information of each pixel, and the pixels in the in-contour region are extracted. Extract.

【0060】次いでステップ203において、前記抽出
した輪郭内領域の画素と近赤外光画像の画素間AND演
算を行って輪郭内領域の近赤外光画像情報を特定する。
Next, in step 203, the near-infrared light image information of the in-contour region is specified by performing an AND operation between the extracted pixels in the in-contour region and the near-infrared light image.

【0061】ステップ204においては、上記ステップ
203で特定された輪郭内領域の近赤外光画像情報に基
づいて、例えば公知の二値化法により二値化を行って傷
画像を作成する。
In step 204, based on the near-infrared light image information of the contour area specified in step 203, binarization is performed by, for example, a known binarization method to create a scratch image.

【0062】最後にステップ205で、検出した傷を評
価判定し該当する農産物の傷に関する等級評価を行っ
て、処理を終了する。以上の処理を、搬送コンベア2で
搬送される農産物(リンゴ)について順次繰り返し行
う。
Finally, in step 205, the detected scratch is evaluated and judged, and the grade of the scratch of the corresponding agricultural product is evaluated, and the process is terminated. The above processing is sequentially repeated for the agricultural products (apples) transported by the transport conveyor 2.

【0063】実施形態3 図7は、農産物の外観検査装置を用いて行う検査操作
を、上記請求項3,8に対応する例として説明するため
のフローチャートを示したものであり、まずステップ3
01において近赤外光画像(NIR 750〜900n
m)と可視光画像(R,G)を撮像する。この場合の撮
像は、本例においては近赤外光と可視光を一つのカメラ
(撮像手段)で同時に行う。
Embodiment 3 FIG. 7 shows a flow chart for explaining an inspection operation performed by using an appearance inspection apparatus for agricultural products as an example corresponding to the above claims 3 and 8. First, step 3
01 near infrared light image (NIR 750-900n
m) and a visible light image (R, G). In this case, in this case, the near infrared light and the visible light are simultaneously captured by one camera (imaging unit) in this example.

【0064】次にステップ302においては、近赤外光
画像に基づき、農産物の輪郭切り出しのために予め定め
た閾値と各画素の近赤外光画像情報を比較することによ
り二値化して、輪郭内領域の画素を抽出する。
Next, in step 302, based on the near-infrared light image, the threshold value predetermined for cutting out the outline of the agricultural product is compared with the near-infrared light image information of each pixel to be binarized to obtain the outline. Pixels in the inner area are extracted.

【0065】次いでステップ303において、前記抽出
した輪郭内領域の画素と、近赤外光画像及び可視光画像
の画素間AND演算をそれぞれ行って輪郭内領域の近赤
外光画像及び可視光画像情報を特定する。
Next, in step 303, AND operation is performed between the extracted pixels in the contour area and the near-infrared light image and the visible light image to perform near-infrared image information and visible light image information in the contour area. Specify.

【0066】ステップ304においては、上記ステップ
303で特定された輪郭内領域の近赤外光画像情報に基
づいて、例えば公知の二値化法により二値化を行って傷
画像を作成し、傷害特定,傷面積算出を行う。
In step 304, based on the near-infrared light image information of the in-contour region identified in step 303, binarization is performed by, for example, a well-known binarization method to create a scratch image, and an injury is generated. Specify and calculate the scratch area.

【0067】ステップ305においては、上記ステップ
303で特定された輪郭内領域の可視光画像情報に基づ
いて、輪郭内領域の色(したがって農産物の色)を演算
算出する。例えば従来既知の色計算式に従って色ヒスト
グラムを作成し、色の均一性、画像中心の色を検出す
る。
In step 305, the color of the in-contour region (hence the color of the agricultural product) is calculated and calculated based on the visible light image information of the in-contour region specified in step 303. For example, a color histogram is created according to a conventionally known color calculation formula, and the color uniformity and the color at the center of the image are detected.

【0068】ステップ306においては、上記検出した
傷を評価判定し該当する農産物の傷に関する等級評価を
行う。
In step 306, the above-mentioned detected scratches are evaluated and judged, and the grade of the scratches of the corresponding agricultural product is evaluated.

【0069】ステップ307においては、上記検出した
色を評価判定し該当する農産物の色に関する等級評価を
行って、処理を終了する。以上の処理を、搬送コンベア
2で搬送される農産物(リンゴ)について順次繰り返し
行う。
In step 307, the detected color is evaluated and judged, and the grade of the color of the corresponding agricultural product is evaluated, and the process is terminated. The above processing is sequentially repeated for the agricultural products (apples) transported by the transport conveyor 2.

【0070】実施形態4 図8は、農産物の外観検査装置を用いて行う検査操作
を、上記請求項7に対応する例として説明するためのフ
ローチャートを示したものであり、まずステップ401
において近赤外光画像(NIR 750〜900nm)
と可視光画像(R,G)を撮像する。この場合の撮像
は、本例においては近赤外光と可視光を一つのカメラ
(撮像手段)で同時に行う。
Embodiment 4 FIG. 8 shows a flow chart for explaining an inspection operation performed by using an appearance inspection apparatus for agricultural products as an example corresponding to claim 7 above. First, step 401.
Near-infrared light image (NIR 750-900nm)
And a visible light image (R, G) is captured. In this case, in this case, the near infrared light and the visible light are simultaneously captured by one camera (imaging unit) in this example.

【0071】次にステップ402においては、近赤外光
画像に基づき、農産物の輪郭切り出しのために予め定め
た閾値と各画素の近赤外光画像情報を比較することによ
り二値化して、輪郭内領域の画素を抽出する。
Next, at step 402, based on the near-infrared light image, the threshold value predetermined for cutting out the contour of the agricultural product is compared with the near-infrared light image information of each pixel to be binarized to obtain the contour. Pixels in the inner area are extracted.

【0072】次いでステップ403においては、前記抽
出した輪郭内領域の画素と、近赤外光画像及び可視光画
像の画素間AND演算をそれぞれ行って輪郭内領域の近
赤外光画像及び可視光画像情報を特定する。
Next, in step 403, the AND pixels between the extracted pixels in the contour area and the near-infrared light image and the visible light image are respectively subjected to AND operation to obtain the near-infrared light image and the visible light image in the contour area. Identify the information.

【0073】ステップ404においては、上記ステップ
403で特定された輪郭内領域の近赤外光画像情報に基
づいて、例えば公知の二値化法により二値化を行って傷
画像(A)を作成する。
In step 404, the flaw image (A) is created by binarizing the near-infrared light image information of the contour area specified in step 403 by, for example, a known binarization method. To do.

【0074】ステップ405においては、上記ステップ
403で特定された輪郭内領域の可視光画像情報に基づ
いて、例えば公知の微分法、色差法により輪郭内領域の
傷画像(B)を作成する。
In step 405, a flaw image (B) in the contour area is created based on the visible light image information of the contour area specified in step 403, for example, by a known differentiation method or color difference method.

【0075】ステップ406においては、上記検出した
傷画像(A),(B)に基づいて傷を総合評価判定し該
当する農産物の傷に関する等級評価を行って、処理を終
了する。以上の処理を、搬送コンベア2で搬送される農
産物(リンゴ)について順次繰り返し行う。
In step 406, based on the detected scratch images (A) and (B), the scratches are comprehensively evaluated and the grade of the scratch of the corresponding agricultural product is evaluated, and the process is terminated. The above processing is sequentially repeated for the agricultural products (apples) transported by the transport conveyor 2.

【0076】実施形態5 図9は、農産物の外観検査装置を用いて行う検査操作
を、上記請求項3,8に対応する例として説明するため
のフローチャートを示したものであり、まずステップ5
01において近赤外光画像(NIR 750〜900n
m)と可視光画像(R,G)を撮像する。この場合の撮
像は、本例においては近赤外光と可視光を一つのカメラ
(撮像手段)で同時に行う。
Embodiment 5 FIG. 9 shows a flow chart for explaining an inspection operation performed by using an appearance inspection apparatus for agricultural products as an example corresponding to the above claims 3 and 8. First, step 5 is shown.
01 near infrared light image (NIR 750-900n
m) and a visible light image (R, G). In this case, in this case, the near infrared light and the visible light are simultaneously captured by one camera (imaging unit) in this example.

【0077】次にステップ502においては、近赤外光
画像に基づき、農産物の輪郭切り出しのために予め定め
た閾値と各画素の近赤外光画像情報を比較することによ
り二値化して、輪郭内領域の画素を抽出する。
Next, in step 502, based on the near-infrared light image, the threshold value predetermined for cutting out the contour of the agricultural product is compared with the near-infrared light image information of each pixel to be binarized to obtain the contour. Pixels in the inner area are extracted.

【0078】次いでステップ503においては、前記抽
出した輪郭内領域の画素と、近赤外光画像及び可視光画
像の画素間AND演算をそれぞれ行って輪郭内領域の近
赤外光画像及び可視光画像情報を特定する。
Then, in step 503, AND operation between the extracted pixels in the contour area and the near-infrared light image and the visible-light image is performed respectively to perform the near-infrared light image and the visible-light image in the contour area. Identify the information.

【0079】ステップ504においては、上記ステップ
503で特定された輪郭内領域の近赤外光画像情報に基
づいて、例えば公知の二値化法により二値化を行って傷
画像(A)を作成し、傷害特定,傷面積算出を行う。
In step 504, a flaw image (A) is created by performing binarization by a known binarization method, for example, based on the near-infrared light image information of the contour area specified in step 503. Then, the injury is identified and the wound area is calculated.

【0080】ステップ505においては、上記ステップ
503で特定された輪郭内領域の可視光画像情報に基づ
いて、例えば公知の微分法、色差法により輪郭内領域の
傷画像(B)を作成する。
In step 505, a flaw image (B) in the contour area is created based on the visible light image information of the contour area specified in step 503, for example, by a known differentiation method or color difference method.

【0081】ステップ506においては、上記ステップ
503で特定された輪郭内領域の可視光画像情報に基づ
いて、輪郭内領域の色(したがって農産物の色)を演算
算出する。例えば従来既知の色計算式に従って色ヒスト
グラムを作成し、色の均一性、画像中心の色を検出す
る。
In step 506, the color of the in-contour region (hence the color of the agricultural product) is calculated and calculated based on the visible light image information of the in-contour region specified in step 503. For example, a color histogram is created according to a conventionally known color calculation formula, and the color uniformity and the color at the center of the image are detected.

【0082】ステップ507で、上記検出した傷画像
(A),(B)に基づいて傷を総合評価判定し該当する
農産物の傷に関する等級評価を行って、処理を終了す
る。以上の処理を、搬送コンベア2で搬送される農産物
(リンゴ)について順次繰り返し行う。
At step 507, the comprehensive evaluation of the scratches is made based on the detected scratch images (A) and (B), the grade of the scratch of the corresponding agricultural product is evaluated, and the process is terminated. The above processing is sequentially repeated for the agricultural products (apples) transported by the transport conveyor 2.

【0083】ステップ508で、上記検出した色を評価
判定し該当する農産物の色に関する等級評価を行って、
処理を終了する。以上の処理を、搬送コンベア2で搬送
される農産物(リンゴ)について順次繰り返し行う。
In step 508, the detected color is evaluated and judged, and the grade of the color of the corresponding agricultural product is evaluated.
The process ends. The above processing is sequentially repeated for the agricultural products (apples) transported by the transport conveyor 2.

【0084】[0084]

【発明の効果】本願の請求項1の発明によれば、近赤外
光で撮像した画像を利用して農産物の外形輪郭を正確に
切り出すことができると共に、可視光で撮像した画像
(必要に応じて近赤外光画像)を利用して農産物輪郭内
の色,傷を正確に検出することができて、高い精度で等
級判定ができ、しかもこの農産物外形輪郭の正確な切り
出しと、輪郭内の色,傷の情報の検出のための光情報を
簡易な装置で検出できるという効果が奏され、また更に
以下の効果が奏される。
According to the invention of claim 1 of the present application, it is possible to accurately cut out the outer contour of an agricultural product by using an image picked up by near infrared light, and at the same time an image picked up by visible light (necessarily Depending on the near infrared light image), it is possible to accurately detect the color and scratches in the outline of the produce, and to judge the grade with high accuracy. The effect that the optical information for detecting the color and scratch information can be detected with a simple device, and further the following effects can be obtained.

【0085】請求項3の発明によれば、請求項1の発明
に加えて近赤外光画像情報を農産物の傷検出に利用する
ので、傷の検出をより高精度に行うことができる。また
傷の検出を、近赤外光画像情報と可視光画像情報で検出
した傷とみなされる画素の論理和で農産物の傷を判定す
ることもできるし、前記画素の論理積で農産物の傷を判
定することもでき、後者の論理積を用いる場合は泥の付
着など本当の傷でないものを傷と判定してしまう不具合
を避けることもできる。
According to the invention of claim 3, in addition to the invention of claim 1, the near-infrared light image information is used for detecting scratches on agricultural products, so that scratches can be detected with higher accuracy. In addition, it is also possible to detect a scratch by determining the scratch of the agricultural product by the logical sum of the pixels considered to be the scratch detected by the near infrared image information and the visible light image information, and the scratch of the agricultural product by the logical product of the pixels. It is also possible to make a judgment, and when the latter logical product is used, it is possible to avoid the problem of judging that something that is not a true scratch, such as mud adhesion, is a scratch.

【0086】近赤外光と可視光による撮像を単一の撮像
手段により同時に行う請求項4の発明によれば、外観検
査を迅速に行えると共に、近赤外光で撮像した画像と、
可視光で撮像した画像を一致させる操作が不要で、農産
物の輪郭内の色,傷の判定をより正確に得ることができ
る。
According to the invention of claim 4, wherein the image pickup by the near-infrared light and the visible light is simultaneously performed by a single image pickup means, the appearance inspection can be carried out quickly, and the image picked up by the near-infrared light,
It is not necessary to match the images picked up with visible light, and it is possible to more accurately determine the color and scratches in the contour of the agricultural product.

【0087】請求項5の発明によれば、色の判定が不要
である農産物について近赤外光画像情報のみに基づいて
正確に切り出した輪郭内の画素の近赤外光画像情報に基
づいて傷を高精度に判定することができる。
According to the fifth aspect of the present invention, regarding the agricultural products for which color determination is unnecessary, the scratches are generated based on the near-infrared light image information of the pixels in the contour that are accurately cut out based on only the near-infrared light image information. Can be determined with high accuracy.

【0088】請求項6の農産物の外観検査装置の発明に
よれば、近赤外光画像情報による農産物の外形輪郭の正
確な切り出しと、切り出した輪郭内の画素の可視光画像
情報を利用した農産物の色,傷の検出を高精度に行え
る。
According to the invention of the appearance inspection apparatus for agricultural products according to claim 6, an accurate contour cutting of the contour of the agricultural product based on the near-infrared light image information and the agricultural product utilizing the visible light image information of the pixels in the cut-out contour. Highly accurate detection of color and scratches.

【0089】請求項7の発明によれば、農産物の傷を近
赤外光画像情報と可視画像情報のいずれかあるいは双方
を利用してより高精度に検出する装置を提供できる。
According to the invention of claim 7, it is possible to provide an apparatus for detecting a scratch of an agricultural product with higher accuracy by using either or both of near-infrared light image information and visible image information.

【0090】請求項8の発明によれば、農産物の色の検
出と、近赤外光画像情報と可視画像情報のいずれかある
いは双方を利用した傷の検出を高精度に行う装置を提供
できる。
According to the eighth aspect of the present invention, it is possible to provide an apparatus for highly accurately detecting the color of an agricultural product and the flaw detection using either or both of the near infrared light image information and the visible image information.

【0091】請求項9の発明によれば、近赤外光画像情
報のみを用いて農産物の外形輪郭の正確な切り出しと傷
の高精度な検出を行う装置を提供できる。
According to the ninth aspect of the present invention, it is possible to provide an apparatus for accurately cutting out the outer contour of an agricultural product and detecting a scratch with high accuracy by using only near infrared light image information.

【0092】請求項10の発明によれば、近赤外光によ
る農産物の外形輪郭を切り出すための近赤外光による撮
像画像と、色,傷を検出するための可視光による撮像画
像を別々のカメラ(等の撮像手段)で行う装置に比べ、
両者画像の画角を一致させる各カメラ等の位置合わせを
不要とでき、しかも色,傷の高い検出精度を確保できる
優れた効果が奏される。また、近赤外光及び可視光を一
つの撮像手段で同時に撮像するので、農産物が搬送コン
ベア等の搬送手段の上で動くことがあっても近赤外光画
像情報と可視光画像情報の画像のずれを全く考慮する必
要がなく、高精度に色,傷を検出できるという効果が奏
される。
According to the tenth aspect of the invention, the imaged image by the near infrared light for cutting out the outer contour of the agricultural product by the near infrared light and the imaged image by the visible light for detecting the color and the scratch are separated. Compared to a device that uses a camera (such as image capturing means),
It is possible to eliminate the need for alignment of the cameras and the like for matching the angle of view of both images, and moreover, an excellent effect of ensuring high detection accuracy of colors and scratches can be obtained. Further, since the near-infrared light and the visible light are simultaneously imaged by one imaging means, even if the produce moves on the transportation means such as the transportation conveyor, the image of the near-infrared light image information and the visible light image information is displayed. It is possible to detect colors and scratches with high accuracy without having to consider the deviation of the color at all.

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

【図1】本発明を適用する選果設備の構成概要一例を示
した図。
FIG. 1 is a diagram showing an example of a schematic configuration of a fruit selection facility to which the present invention is applied.

【図2】本発明に用いられる受光手段の一部をなす撮像
手段の構成を示した図。
FIG. 2 is a diagram showing a configuration of an image pickup unit which is a part of a light receiving unit used in the present invention.

【図3】本発明のカメラ計測制御装置の構成概要一例を
ブロック図で示した図。
FIG. 3 is a block diagram showing an example of a schematic configuration of a camera measurement control device of the present invention.

【図4】本発明の農産物の外観検査方法の処理内容の一
例をモジュル化して示した図。
FIG. 4 is a diagram showing an example of the processing contents of the method for inspecting the appearance of agricultural products according to the present invention in a modular form.

【図5】農産物の外観検査装置を用いて行う検査操作の
実施形態1を説明するフローチャート図。
FIG. 5 is a flowchart for explaining the first embodiment of the inspection operation performed using the agricultural product visual inspection apparatus.

【図6】農産物の外観検査装置を用いて行う検査操作の
実施形態2を説明するフローチャート図。
FIG. 6 is a flowchart illustrating a second embodiment of the inspection operation performed by using the agricultural product appearance inspection device.

【図7】農産物の外観検査装置を用いて行う検査操作の
実施形態3を説明するフローチャート図。
FIG. 7 is a flowchart illustrating a third embodiment of the inspection operation performed using the agricultural product appearance inspection device.

【図8】農産物の外観検査装置を用いて行う検査操作の
実施形態4を説明するフローチャート図。
FIG. 8 is a flowchart illustrating a fourth embodiment of an inspection operation performed by using the agricultural product appearance inspection device.

【図9】農産物の外観検査装置を用いて行う検査操作の
実施形態5を説明するフローチャート図。
FIG. 9 is a flowchart illustrating a fifth embodiment of the inspection operation performed using the agricultural product appearance inspection device.

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

1・・・リンゴ(農産物) 2・・・搬送コンベア 3・・・フリートレー(容器) 4・・・光源ランプ 5・・・受光手段 51・・・レンズ 52・・・分光器 531・・・NIR用CCD 532・・・R用CCD 533・・・G用CCD 541・・・増幅回路 542・・・増幅回路 543・・・増幅回路 551・・・A/D変換回路 552・・・A/D変換回路 553・・・A/D変換回路 56・・・駆動回路 6・・・カメラ計測制御装置 601・・・ビデオI/F 602・・・フレームメモリ 603・・・イメージバス 604・・・ビデオD/A 605・・・イメージプロセッサ 606・・・LUTメモリ 607・・・プレーンメモリ 608・・・CPUバス 609・・・処理装置 610・・・I/O 611・・・ROM 612・・・RAM 71 〜7i ・・・仕分け選別装置(のソレノイド) 8・・・同期信号発生装置1 ... Apple (agricultural product) 2 ... Conveyor 3 ... Free tray (container) 4 ... Light source lamp 5 ... Light receiving means 51 ... Lens 52 ... Spectrometer 531 ... CCD for NIR 532 ... CCD for R 533 ... CCD for G 541 ... Amplification circuit 542 ... Amplification circuit 543 ... Amplification circuit 551 ... A / D conversion circuit 552 ... A / D conversion circuit 553 ... A / D conversion circuit 56 ... Driving circuit 6 ... Camera measurement control device 601 ... Video I / F 602 ... Frame memory 603 ... Image bus 604 ... Video D / A 605 ... Image processor 606 ... LUT memory 607 ... Plane memory 608 ... CPU bus 609 ... Processing device 610 ... I / O 611 ... ROM 12 ··· RAM 7 1 ~7 i ··· sorting sorting device (solenoid) 8 ... synchronous signal generator

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 搬送手段上の農産物を近赤外光で撮像し
てa行b列の画素からなる近赤外光画像を得て、これら
各画素の近赤外光画像情報を予め定めた閾値と比較する
ことで該農産物の輪郭内領域の画素を抽出すると共に、
搬送手段上の農産物を可視光で撮像して得た可視光画像
の前記農産物輪郭内の各画素の可視光画像情報により農
産物の色及び/又は傷を判定することを特徴とする農産
物の外観検査方法。
1. A near-infrared light image consisting of pixels in row a and column b is obtained by imaging the agricultural products on the conveying means with near-infrared light, and the near-infrared light image information of each of these pixels is predetermined. While extracting the pixels in the outline region of the agricultural product by comparing with the threshold value,
Appearance inspection of the agricultural product, characterized in that the color and / or the scratch of the agricultural product is determined based on the visible light image information of each pixel in the agricultural product outline of the visible light image obtained by imaging the agricultural product on the conveying means with visible light. Method.
【請求項2】 請求項1において、農産物の色及び/又
は傷を判定するための可視光情報は、少なくとも赤色光
(R),緑色光(G)の波長域の光情報を含み、必要に
応じて青色光(B)の波長域の光情報を含むことを特徴
とする農産物の外観検査方法。
2. The visible light information for determining the color and / or scratch of an agricultural product according to claim 1, includes at least light information in the wavelength range of red light (R) and green light (G), and Accordingly, a method for inspecting the appearance of agricultural products, characterized by including light information in the wavelength range of blue light (B).
【請求項3】 搬送手段上の農産物を近赤外光で撮像し
てa行b列の画素からなる近赤外光画像を得て、これら
各画素の近赤外光画像情報を予め定めた閾値と比較する
ことで該農産物の輪郭内領域の画素を抽出すると共に、
搬送手段上の農産物を可視光で撮像して得た可視光画像
の前記農産物輪郭内の各画素の可視光画像情報と、前記
農産物輪郭内の各画素の近赤外光画像情報とにより、農
産物の色及び傷、又は傷を判定することを特徴とする農
産物の外観検査方法。
3. A near-infrared light image consisting of pixels in row a and column b is obtained by imaging the agricultural products on the conveying means with near-infrared light, and the near-infrared light image information of each of these pixels is predetermined. While extracting the pixels in the outline region of the agricultural product by comparing with the threshold value,
The visible light image information of each pixel in the agricultural product contour of the visible light image obtained by imaging the agricultural product on the transport means with visible light, and the near infrared light image information of each pixel in the agricultural product contour, the agricultural product A method for inspecting the appearance of agricultural products, which comprises determining the color and scratches of the, or scratches.
【請求項4】 請求項1ないし3のいずれか一項におい
て、近赤外光による農産物の撮像と可視光による農産物
の撮像とを、単一の撮像手段により同時に行うことを特
徴とする農産物の外観検査方法。
4. The agricultural product according to claim 1, wherein the imaging of the agricultural product with near infrared light and the imaging of the agricultural product with visible light are performed simultaneously by a single imaging means. Appearance inspection method.
【請求項5】 搬送手段上の農産物を近赤外光で撮像し
てa行b列の画素からなる近赤外光画像を得て、これら
各画素の近赤外光画像情報を予め定めた閾値と比較する
ことで該農産物の輪郭内領域の画素を抽出すると共に、
この抽出した農産物輪郭内の各画素の近赤外光画像情報
により農産物の傷を検出することを特徴とする農産物の
外観検査方法。
5. A near-infrared light image consisting of pixels in row a and column b is obtained by imaging the agricultural products on the conveying means with near-infrared light, and the near-infrared light image information of each of these pixels is predetermined. While extracting the pixels in the outline region of the agricultural product by comparing with the threshold value,
A method for inspecting the appearance of a farm product, comprising detecting a scratch on the farm product based on the near-infrared light image information of each pixel within the extracted contour of the farm product.
【請求項6】 農産物を搬送する搬送手段と、搬送され
る農産物に近赤外光領域及び可視光を含む照明光を照射
する光源と、前記光源で照明した農産物を撮像した画像
のa行b列の各画素毎に近赤外光画像情報及び可視光画
像情報を抽出する受光手段と、前記各画素の近赤外光画
像情報を予め定めた閾値と比較して農産物の輪郭内領域
の画素を抽出する輪郭内画素抽出手段と、この輪郭内画
素抽出手段で抽出した各画素の可視光画像情報を抽出す
る可視光画像情報抽出手段と、該可視光画像情報抽出手
段で抽出した可視光画像情報により農産物の色及び/又
は傷を判定する判定手段とを備えたことを特徴とする農
産物の外観検査装置。
6. A conveyance means for conveying agricultural products, a light source for irradiating the conveyed agricultural products with illumination light including a near-infrared light region and visible light, and a row b of an image of the agricultural products illuminated by the light source. Light-receiving means for extracting near-infrared light image information and visible-light image information for each pixel in a row, and comparing the near-infrared light image information for each pixel with a predetermined threshold value, and pixels in the area within the contour of the agricultural product And a visible light image information extracting means for extracting visible light image information of each pixel extracted by the in-contour pixel extracting means, and a visible light image extracted by the visible light image information extracting means. An appearance inspection device for agricultural products, comprising: a determining unit that determines color and / or scratches of agricultural products based on information.
【請求項7】 農産物を搬送する搬送手段と、搬送され
る農産物に近赤外光領域及び可視光を含む照明光を照射
する光源と、前記光源で照明した農産物を撮像した画像
のa行b列の各画素毎に近赤外光画像情報及び可視光画
像情報を抽出する受光手段と、前記各画素の近赤外光画
像情報を予め定めた閾値と比較して農産物の輪郭内領域
の画素を抽出する輪郭内画素抽出手段と、この輪郭内画
素抽出手段で抽出した各画素の可視光画像情報を抽出す
る可視光画像情報抽出手段と、該可視光画像情報抽出手
段で抽出した可視光画像情報により農産物の傷を判定す
る第1の傷判定手段と、輪郭内画素抽出手段で抽出した
各画素の近赤外光画像情報を抽出する近赤外光信号抽出
手段と、該近赤外光信号抽出手段で抽出した近赤外光画
像情報により農産物の傷を判定する第2の傷判定手段と
を備え、前記第1及び第2の傷判定手段の結果を総合し
て農産物の傷判定を行うことを特徴とする農産物の外観
検査装置。
7. A transporting means for transporting agricultural products, a light source for irradiating the transported agricultural products with illumination light including a near-infrared light region and visible light, and a row b of an image of the agricultural products illuminated by the light source. Light-receiving means for extracting near-infrared light image information and visible-light image information for each pixel in a row, and comparing the near-infrared light image information for each pixel with a predetermined threshold value, and pixels in the area within the contour of the agricultural product And a visible light image information extracting means for extracting visible light image information of each pixel extracted by the in-contour pixel extracting means, and a visible light image extracted by the visible light image information extracting means. First scratch judging means for judging a scratch of an agricultural product based on information, near infrared light signal extracting means for extracting near infrared light image information of each pixel extracted by the in-contour pixel extracting means, and the near infrared light Agricultural products based on near-infrared light image information extracted by signal extraction means The second aspect of the present invention is a visual inspection apparatus for agricultural products, comprising: a second scratch determining means for determining the damage of the agricultural product, wherein the results of the first and second scratch determining means are combined to determine the damage of the agricultural product.
【請求項8】 農産物を搬送する搬送手段と、搬送され
る農産物に近赤外光領域及び可視光を含む照明光を照射
する光源と、前記光源で照明した農産物を撮像した画像
のa行b列の各画素毎に近赤外光画像情報及び可視光画
像情報を抽出する受光手段と、前記各画素の近赤外光画
像情報を予め定めた閾値と比較して農産物の輪郭内領域
の画素を抽出する輪郭内画素抽出手段と、この輪郭内画
素抽出手段で抽出した各画素の可視光画像情報を抽出す
る可視光画像情報抽出手段と、該可視光画像情報抽出手
段で抽出した可視光画像情報により農産物の色及び又は
傷を判定する第1の判定手段と、前記輪郭内画素抽出手
段で抽出した各画素の近赤外光画像情報を抽出する近赤
外光信号抽出手段と、該近赤外光信号抽出手段で抽出し
た近赤外光画像情報により農産物の傷を判定する第2の
判定手段とを備えたことを特徴とする農産物の外観検査
装置。
8. A conveyance means for conveying agricultural products, a light source for irradiating the conveyed agricultural products with illumination light including a near-infrared light region and visible light, and a row b of an image obtained by imaging the agricultural products illuminated by the light source. Light-receiving means for extracting near-infrared light image information and visible-light image information for each pixel in a row, and comparing the near-infrared light image information for each pixel with a predetermined threshold value, and pixels in the area within the contour of the agricultural product And a visible light image information extracting means for extracting visible light image information of each pixel extracted by the in-contour pixel extracting means, and a visible light image extracted by the visible light image information extracting means. First determining means for determining the color and / or scratch of the agricultural product based on the information; near-infrared light signal extracting means for extracting near-infrared light image information of each pixel extracted by the in-contour pixel extracting means; Near-infrared light image information extracted by infrared light signal extraction means The second aspect of the present invention is a visual inspection device for agricultural products, comprising:
【請求項9】 農産物を搬送する搬送手段と、搬送され
る農産物に近赤外光を含む照明光を照射する光源と、前
記光源で照明した農産物を撮像した画像のa行b列の各
画素毎に近赤外光画像情報を抽出する受光手段と、前記
各画素の近赤外光画像情報を予め定めた閾値と比較する
ことで農産物の輪郭内領域の画素を抽出する輪郭内画素
抽出手段と、この輪郭内画素抽出手段で抽出した各画素
の近赤外光画像情報を抽出する近赤外光信号抽出手段
と、該近赤外光信号抽出手段で抽出した近赤外光画像情
報により農産物の傷を判定する判定手段とを備えたこと
を特徴とする農産物の外観検査装置。
9. A transporting means for transporting agricultural products, a light source for irradiating the transported agricultural products with illumination light including near-infrared light, and each pixel in row a, column b of an image of the agricultural product illuminated by the light source. Light receiving means for extracting near-infrared light image information for each, and in-contour pixel extracting means for extracting pixels in the in-contour region of the agricultural product by comparing the near-infrared light image information of each pixel with a predetermined threshold value And a near-infrared light signal extracting means for extracting near-infrared light image information of each pixel extracted by the in-contour pixel extracting means, and near-infrared light image information extracted by the near-infrared light signal extracting means An appearance inspection apparatus for agricultural products, comprising: a determination unit for determining a scratch on an agricultural product.
【請求項10】 請求項6ないし8のいずれか一項にお
いて、受光手段は、近赤外光領域及び可視光を同時に受
光する単一の撮像手段を有することを特徴とする農産物
の外観検査装置。
10. The appearance inspection apparatus for agricultural products according to claim 6, wherein the light receiving unit has a single image pickup unit that simultaneously receives a near infrared light region and visible light. .
JP13889196A 1996-05-31 1996-05-31 Agricultural product appearance inspection method and apparatus Expired - Lifetime JP3614980B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13889196A JP3614980B2 (en) 1996-05-31 1996-05-31 Agricultural product appearance inspection method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13889196A JP3614980B2 (en) 1996-05-31 1996-05-31 Agricultural product appearance inspection method and apparatus

Publications (2)

Publication Number Publication Date
JPH09318547A true JPH09318547A (en) 1997-12-12
JP3614980B2 JP3614980B2 (en) 2005-01-26

Family

ID=15232543

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13889196A Expired - Lifetime JP3614980B2 (en) 1996-05-31 1996-05-31 Agricultural product appearance inspection method and apparatus

Country Status (1)

Country Link
JP (1) JP3614980B2 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006003134A (en) * 2004-06-16 2006-01-05 Maki Mfg Co Ltd Visual inspection system of agricultural products
JP2010054342A (en) * 2008-08-28 2010-03-11 National Agriculture & Food Research Organization Method and apparatus for measuring quality of strawberry
US8026956B2 (en) 2007-12-07 2011-09-27 Seiko Epson Corporation Image sensor, image taking apparatus, and state inspection system
JP2012063353A (en) * 2010-08-18 2012-03-29 Mie Univ Hue image pickup and analysis system
JP5103736B2 (en) * 2003-10-17 2012-12-19 アステラス製薬株式会社 Heterogeneous product detection device using a planar spectrometer
JP2016033694A (en) * 2014-07-30 2016-03-10 東芝テック株式会社 Object recognition apparatus and object recognition program
JPWO2017168469A1 (en) * 2016-03-28 2019-03-22 パナソニックIpマネジメント株式会社 Appearance inspection device and appearance inspection method
CN110118735A (en) * 2018-02-06 2019-08-13 中国农业机械化科学研究院 A kind of high light spectrum image-forming detection method and device detecting bergamot pear male and female
CN111024710A (en) * 2019-12-17 2020-04-17 江苏恒宝智能系统技术有限公司 Crop abnormity detection system and method
CN112756268A (en) * 2021-01-27 2021-05-07 延边金刚山食品股份有限公司 Peppery cabbage raw and other materials autofilter device

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5103736B2 (en) * 2003-10-17 2012-12-19 アステラス製薬株式会社 Heterogeneous product detection device using a planar spectrometer
JP2006003134A (en) * 2004-06-16 2006-01-05 Maki Mfg Co Ltd Visual inspection system of agricultural products
US8026956B2 (en) 2007-12-07 2011-09-27 Seiko Epson Corporation Image sensor, image taking apparatus, and state inspection system
JP2010054342A (en) * 2008-08-28 2010-03-11 National Agriculture & Food Research Organization Method and apparatus for measuring quality of strawberry
JP2012063353A (en) * 2010-08-18 2012-03-29 Mie Univ Hue image pickup and analysis system
JP2016033694A (en) * 2014-07-30 2016-03-10 東芝テック株式会社 Object recognition apparatus and object recognition program
JPWO2017168469A1 (en) * 2016-03-28 2019-03-22 パナソニックIpマネジメント株式会社 Appearance inspection device and appearance inspection method
CN110118735A (en) * 2018-02-06 2019-08-13 中国农业机械化科学研究院 A kind of high light spectrum image-forming detection method and device detecting bergamot pear male and female
CN110118735B (en) * 2018-02-06 2020-08-25 中国农业机械化科学研究院 Hyperspectral imaging detection method and device for detecting male and female bergamot pears
CN111024710A (en) * 2019-12-17 2020-04-17 江苏恒宝智能系统技术有限公司 Crop abnormity detection system and method
CN112756268A (en) * 2021-01-27 2021-05-07 延边金刚山食品股份有限公司 Peppery cabbage raw and other materials autofilter device

Also Published As

Publication number Publication date
JP3614980B2 (en) 2005-01-26

Similar Documents

Publication Publication Date Title
Blasco et al. Machine vision system for automatic quality grading of fruit
US5339963A (en) Method and apparatus for sorting objects by color
US20060244959A1 (en) Inspecting apparatus and method for foreign matter
JP6590907B2 (en) Fruit sorting system, fruit sorting device, and fruit sorting method
US5106195A (en) Product discrimination system and method therefor
Sarkar Machine vision for quality control in the food industry
JPH0321235B2 (en)
CN110146516B (en) Fruit grading device based on orthogonal binocular machine vision
JPS5973087A (en) Method and device for treating fruit and similar good
JPS5973089A (en) Electronic flaw scanner
JP3614980B2 (en) Agricultural product appearance inspection method and apparatus
US11745224B2 (en) Method and apparatus for sorting
JP5455409B2 (en) Foreign matter sorting method and foreign matter sorting equipment
Aleixos et al. Assessment of citrus fruit quality using a real-time machine vision system
US5018864A (en) Product discrimination system and method therefor
JP4318292B2 (en) Agricultural products visual inspection equipment
JPH11230960A (en) Automatic judgment apparatus for freshness of egg
JP3311880B2 (en) Automatic detection device for fruits and vegetables injury
JP2642107B2 (en) Automatic grading method and device for fruits and vegetables
JP4656399B2 (en) Agricultural products visual inspection equipment
JP3962525B2 (en) Image generation device and sorting classification determination device used for sorting agricultural products
JP2000084494A (en) Farm product inspecting apparatus
JPH04364449A (en) Fruit defect detecting apparatus
US20210100256A1 (en) Foreign Material Inspection System
Jiang et al. Design of an Online Quality Inspection and Sorting System for Fresh Button Mushrooms (Agaricus bisporus) Using Machine Vision.

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040616

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040706

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040902

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: 20041012

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20041028

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071112

Year of fee payment: 3

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081112

Year of fee payment: 4

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081112

Year of fee payment: 4

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081112

Year of fee payment: 4

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081112

Year of fee payment: 4

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091112

Year of fee payment: 5

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101112

Year of fee payment: 6

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111112

Year of fee payment: 7

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111112

Year of fee payment: 7

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121112

Year of fee payment: 8

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131112

Year of fee payment: 9

EXPY Cancellation because of completion of term