JPH04307357A - Apparatus for detecting bruise of fruit and vegetable - Google Patents
Apparatus for detecting bruise of fruit and vegetableInfo
- Publication number
- JPH04307357A JPH04307357A JP9814991A JP9814991A JPH04307357A JP H04307357 A JPH04307357 A JP H04307357A JP 9814991 A JP9814991 A JP 9814991A JP 9814991 A JP9814991 A JP 9814991A JP H04307357 A JPH04307357 A JP H04307357A
- Authority
- JP
- Japan
- Prior art keywords
- image
- fruit
- vegetable
- vegetables
- fruits
- 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
Links
- 235000012055 fruits and vegetables Nutrition 0.000 title claims description 41
- 208000034656 Contusions Diseases 0.000 title abstract 5
- 208000034526 bruise Diseases 0.000 title abstract 5
- 235000013399 edible fruits Nutrition 0.000 claims abstract description 18
- 235000013311 vegetables Nutrition 0.000 claims abstract description 18
- 238000003384 imaging method Methods 0.000 claims description 7
- 238000001514 detection method Methods 0.000 claims description 5
- 239000000284 extract Substances 0.000 claims description 2
- 230000002093 peripheral effect Effects 0.000 abstract description 4
- 238000011156 evaluation Methods 0.000 abstract description 2
- 241001164374 Calyx Species 0.000 abstract 3
- 241001672694 Citrus reticulata Species 0.000 description 3
- 241000723267 Diospyros Species 0.000 description 3
- 235000011511 Diospyros Nutrition 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000000034 method Methods 0.000 description 3
- 241000227653 Lycopersicon Species 0.000 description 2
- 235000007688 Lycopersicon esculentum Nutrition 0.000 description 2
- 244000061458 Solanum melongena Species 0.000 description 2
- 235000002597 Solanum melongena Nutrition 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005286 illumination Methods 0.000 description 1
Landscapes
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
- Image Processing (AREA)
- Closed-Circuit Television Systems (AREA)
Abstract
Description
【0001】0001
【産業上の利用分野】本発明は、柿、蜜柑、トマト、ナ
スのようにへたの付いた青果物の傷を検出する青果物の
傷検出装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a fruit and vegetable flaw detection apparatus for detecting flaws in fruits and vegetables with stems, such as persimmons, mandarin oranges, tomatoes, and eggplants.
【0002】0002
【従来の技術】従来、この種の傷の検出方法としては、
搬送装置で搬送されてくる青果物をカラーセンサで撮影
し、この画像から傷の面積の総和を求め、その総和から
へたに相当する面積を一律に減算し、その減算した結果
を青果物の傷の総面積とするものが知られている。[Prior Art] Conventionally, methods for detecting this type of flaw include:
The fruits and vegetables being conveyed by the conveyance device are photographed using a color sensor, the total area of scratches is calculated from this image, the area corresponding to the dead body is uniformly subtracted from the total sum, and the result of the subtraction is calculated as the area of scratches on the fruits and vegetables. The total area is known.
【0003】0003
【発明が解決しようとする課題】ところで、搬送装置で
搬送される青果物は、へたが上向きまたは下向きの状態
で搬送され、その搬送状態はまちまちである。そのため
、へたが上向きで搬送される青果物の場合には、上述の
ように検出した傷の総面積は正確である。By the way, fruits and vegetables transported by a transport device are transported with their stems facing upward or downward, and the state of the transport varies. Therefore, in the case of fruits and vegetables that are transported with their stems facing upward, the total area of scratches detected as described above is accurate.
【0004】しかし、へたが下向きで搬送される青果物
の場合には検出した傷の総面積は不正確のみならず、傷
の面積の総和がへたに相当する面積以下のときには、傷
の総面積を検出できないという不都合があり、その解決
が望まれていた。However, in the case of fruits and vegetables that are transported with the stem facing downward, the total area of the detected scratches is not only inaccurate, but also when the total area of the scratches is less than the area corresponding to the stem, the total area of the scratches is not accurate. There is a disadvantage that the area cannot be detected, and a solution to this problem has been desired.
【0005】そこで、本発明は、これらの点に鑑み、青
果物の画像から傷の評価に不確定な要素を除去し、青果
物の搬送姿勢にかかわらず、確実に傷と判定できるもの
だけを評価することを目的とする。[0005] In view of these points, the present invention removes uncertain elements in the evaluation of flaws from images of fruits and vegetables, and evaluates only those that can be reliably determined to be flaws, regardless of the conveyance posture of the fruit or vegetables. The purpose is to
【0006】[0006]
【課題を解決するための手段】かかる目的を達成するた
めに本発明は、以下のように構成した。すなわち、本発
明は、搬送装置で搬送されてくるへた付きの青果物に向
けて光を照射する光源と、前記青果物をカラーで撮影す
る撮像手段と、当該撮像手段で撮影した青果物の画像か
らへたに相当する部分を除いて残余の部分を抽出する抽
出手段と、その抽出した画像から青果物の傷を検出する
傷検出手段と、を備えてなる。[Means for Solving the Problems] In order to achieve the above object, the present invention is constructed as follows. That is, the present invention provides a light source that irradiates light toward fruits and vegetables with stems that are conveyed by a conveyance device, an imaging device that photographs the fruits and vegetables in color, and an image capturing device that captures images of fruits and vegetables photographed by the imaging device. The image forming apparatus includes an extracting means for extracting the remaining part by excluding the corresponding part, and a flaw detection means for detecting flaws in fruits and vegetables from the extracted image.
【0007】[0007]
【作用】撮像手段は、搬送装置で搬送されてくるへた付
きの青果物を撮影する。抽出手段は、その撮影した青果
物の画像からへたに相当する部分を除いて残余の部分を
抽出する。傷検出手段は、その抽出された画像から青果
物の傷を検出する。このように、抽出手段で抽出された
青果物の画像は、へたに相当する部分、換言すれば傷の
判定に不確定な要素が除去されたものである。従って、
本発明では、青果物の搬送姿勢にかかわらず、確実に傷
と判定できるものだけを評価できる上に、へたが下向き
で搬送される場合には、従来のように傷の総面積を求め
られないという不都合を解消できる。[Operation] The imaging means photographs fruits and vegetables with stems being conveyed by the conveying device. The extracting means removes a portion corresponding to the stem from the image of the photographed fruit or vegetable and extracts the remaining portion. The flaw detection means detects flaws in fruits and vegetables from the extracted image. In this way, the fruit or vegetable image extracted by the extracting means is obtained by removing the portion corresponding to the stem, in other words, the element that is uncertain in determining the damage. Therefore,
With the present invention, it is possible to evaluate only those that can be reliably determined to be scratches, regardless of the conveyance posture of fruits and vegetables, and when the fruits and vegetables are conveyed with the stems facing downward, it is not possible to calculate the total area of scratches as in the conventional method. This inconvenience can be resolved.
【0008】[0008]
【実施例】以下、図面を参照して本発明の実施例につい
て説明する。Embodiments Hereinafter, embodiments of the present invention will be described with reference to the drawings.
【0009】図1において、1は青果物2を紙面の後方
から前方に向けて搬送する搬送装置である。この搬送装
置1で搬送する青果物2は、柿、蜜柑、トマト、ナスな
どのへた付きのものである。また搬送装置1の左右には
、搬送中の青果物2を左右方向から照射する一対の光源
3,3を配置する。光源3,3で照射する青果物2を撮
影する撮像手段としてCCDカメラのようなカラーカメ
ラ4を、搬送装置1の真上に設置する。In FIG. 1, reference numeral 1 denotes a conveyance device for conveying fruits and vegetables 2 from the back of the paper toward the front. The fruits and vegetables 2 conveyed by this conveying device 1 are fruits and vegetables with stems, such as persimmons, mandarin oranges, tomatoes, and eggplants. Further, a pair of light sources 3, 3 are arranged on the left and right sides of the conveyance device 1, which illuminate the fruits and vegetables 2 being conveyed from the left and right directions. A color camera 4 such as a CCD camera is installed right above the conveying device 1 as an imaging means for photographing fruits and vegetables 2 illuminated by light sources 3, 3.
【0010】カラ−カメラ4は、A/D変換回路5を介
して画像処理用コンピュータ6の入力側に接続する。画
像処理用コンピュータ6は、カラーカメラ4が撮影した
青果物2の画像を後述のように処理する。画像処理用コ
ンピュータ6の出力側には、表示装置やプリンタなどか
らなる画像出力装置7を接続する。The color camera 4 is connected to the input side of an image processing computer 6 via an A/D conversion circuit 5. The image processing computer 6 processes the images of fruits and vegetables 2 taken by the color camera 4 as described below. An image output device 7 consisting of a display device, a printer, etc. is connected to the output side of the image processing computer 6.
【0011】次に、このように構成する実施例の画像処
理例について、図2のフローチャートを参照して説明す
る。Next, an example of image processing in the embodiment configured as described above will be explained with reference to the flowchart shown in FIG.
【0012】いま、搬送装置1によりへたを有する青果
物2が搬送されてくると、青果物2はカラーカメラ4で
撮影され、カラーカメラ4からはR、G、B信号が出力
される。このR、G、B信号は、A/D変換回路5でA
/D変換されたのち、画像処理用コンピュータ6に入力
される(S1)。画像処理用コンピュータ6では、例え
ばそのR、G、B信号に基づいて所定の演算により画像
の彩度を計算し(S2)、その求めた彩度の分布をメモ
リに記憶すると、図3で示すようにメモリ上に彩度の高
低による画像が得られる。その後、その画像から目的物
である青果物を抽出する(S3)。Now, when fruits and vegetables 2 with stems are conveyed by the conveying device 1, the fruits and vegetables 2 are photographed by a color camera 4, and R, G, and B signals are outputted from the color camera 4. These R, G, and B signals are converted into A/D converter circuit 5.
/D conversion and then input to the image processing computer 6 (S1). The image processing computer 6 calculates the saturation of the image by a predetermined calculation based on the R, G, and B signals (S2), and stores the calculated saturation distribution in the memory, as shown in FIG. Images with high and low saturation are obtained in memory. Thereafter, the target fruit or vegetable is extracted from the image (S3).
【0013】次に、その抽出された青果物の画像から、
へたに相当する部分を除去する(S4)。青果物が柿や
蜜柑などのようにへたが中央にあるものでは、その画像
から青果物の中心を求め、その求めた中心から一定距離
を半径とする円を中央部Aとし、この中央部Aをへたに
相当する部分として除去する(図4参照)。引き続き、
画像周囲のぼけや照明むらなどによる誤検出を防止する
ために、青果物の画像の周辺部を除去する(S5)。こ
れは、青果物の画像の輪郭から一定の距離を画像の周辺
部Bとし、これを除去する(図4参照)。Next, from the extracted fruits and vegetables images,
The portion corresponding to the stem is removed (S4). If the fruit or vegetable has a flattened center such as persimmons or mandarin oranges, find the center of the fruit or vegetable from the image, define a circle whose radius is a certain distance from the found center as the center part A, and define this center part A. Remove the part corresponding to the stem (see Figure 4). continuation,
In order to prevent false detection due to blurring or uneven illumination around the image, the periphery of the fruit or vegetable image is removed (S5). In this process, a certain distance from the outline of the fruit or vegetable image is defined as the peripheral part B of the image, and this is removed (see FIG. 4).
【0014】このようにして抽出された青果物の画像は
、傷の判定が確実な部分のみ抽出されたものになり、傷
の判定に不確定な要素であるへたに相当する部分、およ
び画像の周辺部はいずれも除去された状態となる。そこ
で次に、その抽出された青果物の画像について、その各
点の彩度を所定の基準値と比較し、その基準値よりも低
い点を傷として判定する。そして、このように判定され
た傷の総和を求める(S6)。[0014] In the fruit and vegetable images extracted in this way, only the parts for which damage determination is certain are extracted, and the parts corresponding to the stems, which are uncertain elements for damage determination, and the parts of the image are extracted. All peripheral parts are in a state where they have been removed. Next, the saturation of each point of the extracted fruit or vegetable image is compared with a predetermined reference value, and points lower than the reference value are determined to be flaws. Then, the total sum of the scratches determined in this way is determined (S6).
【0015】以上のように本発明実施例では、青果物の
画像中からへたに相当する部分、および画像の周辺部を
除去するようにしたので、傷の判定に不確定な要素が除
去される。従って、青果物の搬送姿勢にかかわらず、確
実に傷と判定できるものだけを評価できる上に、へたが
下向きで搬送される場合であっても、従来のように傷の
総面積を求められないという不都合を解消できる。[0015] As described above, in the embodiment of the present invention, the part corresponding to the rotten part and the peripheral part of the image are removed from the image of fruits and vegetables, so that uncertain elements in the determination of flaws are removed. . Therefore, regardless of the transportation posture of fruits and vegetables, only those that can be reliably determined to be scratches can be evaluated, and even if the fruits and vegetables are transported with the stems facing downward, it is not possible to calculate the total area of scratches as in the past. This inconvenience can be resolved.
【0016】[0016]
【発明の効果】以上のように本発明では、撮像手段で撮
影した青果物の画像からへたに相当する部分を除いて残
余の部分を抽出し、その抽出された画像から青果物の傷
を検出するようにした。従って、本発明では、青果物の
画像中から傷の判定に不確定な要素が除去されるので、
青果物の搬送姿勢にかかわらず、確実に傷と判定できる
ものだけを評価できる上に、へたが下向きで搬送される
場合には、従来のように傷の総面積を求められないとい
う不都合を解消できる。[Effects of the Invention] As described above, in the present invention, the remaining portion is extracted from an image of fruits and vegetables photographed by an imaging means, excluding the portion corresponding to the stem, and scratches on the fruits and vegetables are detected from the extracted image. I did it like that. Therefore, in the present invention, since elements that are uncertain in determining flaws are removed from images of fruits and vegetables,
Regardless of the transportation posture of fruits and vegetables, it is possible to evaluate only those that can be reliably determined to be scratches, and it also eliminates the inconvenience of not being able to calculate the total area of scratches when the fruits and vegetables are transported with the stems facing downward. can.
【図1】本発明実施例の全体構成を示す図である。FIG. 1 is a diagram showing the overall configuration of an embodiment of the present invention.
【図2】本発明実施例の画像処理例を示すフローチャー
トである。FIG. 2 is a flowchart showing an example of image processing according to an embodiment of the present invention.
【図3】画像メモリの格納例を示す図である。FIG. 3 is a diagram showing an example of storage in an image memory.
【図4】青果物の画像からへたに相当する部分などを除
去するための説明図である。FIG. 4 is an explanatory diagram for removing parts corresponding to stems from images of fruits and vegetables.
1 搬送装置 2 青果物 3 光源 4 カラーカメラ 6 画像処理用コンピュータ 7 画像出力装置 1 Conveyance device 2 Fruits and vegetables 3 Light source 4 Color camera 6 Image processing computer 7 Image output device
Claims (1)
物に向けて光を照射する光源と、前記青果物をカラーで
撮影する撮像手段と、当該撮像手段で撮影した青果物の
画像からへたに相当する部分を除いて残余の部分を抽出
する抽出手段と、その抽出した画像から青果物の傷を検
出する傷検出手段と、を備えてなる青果物の傷検出装置
。1. A light source that irradiates light toward fruits and vegetables with a stem that are conveyed by a conveying device, an imaging device that photographs the fruits and vegetables in color, and a device that extracts an image of the fruits and vegetables taken by the imaging device. A flaw detection device for fruits and vegetables, comprising: an extractor for extracting a remaining portion by excluding a portion corresponding to the image; and a flaw detecting means for detecting flaws in the fruit or vegetables from the extracted image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3098149A JP3055205B2 (en) | 1991-04-03 | 1991-04-03 | Fruit and Vegetable Scratch Detection Device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3098149A JP3055205B2 (en) | 1991-04-03 | 1991-04-03 | Fruit and Vegetable Scratch Detection Device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH04307357A true JPH04307357A (en) | 1992-10-29 |
JP3055205B2 JP3055205B2 (en) | 2000-06-26 |
Family
ID=14212126
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3098149A Expired - Fee Related JP3055205B2 (en) | 1991-04-03 | 1991-04-03 | Fruit and Vegetable Scratch Detection Device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3055205B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009294144A (en) * | 2008-06-06 | 2009-12-17 | Yanmar Co Ltd | Vegetables and fruits quality determination apparatus |
US10379035B2 (en) | 2016-03-28 | 2019-08-13 | Panasonic Intellectual Property Management Co., Ltd. | Appearance inspection apparatus and appearance inspection method |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100534642C (en) * | 2007-09-24 | 2009-09-02 | 浙江大学 | Fruit classifying method according to surface color |
-
1991
- 1991-04-03 JP JP3098149A patent/JP3055205B2/en not_active Expired - Fee Related
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009294144A (en) * | 2008-06-06 | 2009-12-17 | Yanmar Co Ltd | Vegetables and fruits quality determination apparatus |
US10379035B2 (en) | 2016-03-28 | 2019-08-13 | Panasonic Intellectual Property Management Co., Ltd. | Appearance inspection apparatus and appearance inspection method |
Also Published As
Publication number | Publication date |
---|---|
JP3055205B2 (en) | 2000-06-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019151394A1 (en) | Food inspection assistance system, food inspection assistance device, and computer program | |
JPH04307357A (en) | Apparatus for detecting bruise of fruit and vegetable | |
JPH07282219A (en) | Tablet inspection device equipped with image recognition means and tablet inspecting method | |
JPH09318547A (en) | Appearance inspection method and apparatus for farm product | |
JP4318292B2 (en) | Agricultural products visual inspection equipment | |
JP3311880B2 (en) | Automatic detection device for fruits and vegetables injury | |
JPH10300689A (en) | Method and device for detecting foreign object in container | |
JPH0560537A (en) | Through-hole inspection device | |
JP2000266514A (en) | Method and device for inspecting metallic sheet | |
JPH03226658A (en) | Method for detecting flaw of vegetables and fruits | |
JP2000084494A (en) | Farm product inspecting apparatus | |
JP2001116534A (en) | Circularity deciding method, circularity arithmetic unit, and recording medium | |
JP4656399B2 (en) | Agricultural products visual inspection equipment | |
JP3175347B2 (en) | Inspection method for foreign substances in sheet products | |
JP3841882B2 (en) | Appearance inspection method and appearance inspection apparatus | |
JPH0682390A (en) | Method and apparatus for inspecting surface defect | |
US20210100256A1 (en) | Foreign Material Inspection System | |
JP7157322B2 (en) | Article inspection device and article inspection method | |
JPH02254572A (en) | Picture processor | |
JPH1172445A (en) | Recognition apparatus for linear body | |
JP2000249527A (en) | Surface defect detector and its detection method | |
JP2949736B2 (en) | Fruit detection method | |
JP2022155743A (en) | Appearance inspection device for citrus fruits and computer program for appearance inspection of citrus fruits | |
JPH054075A (en) | Sorting device for cucumber | |
JPH0552763A (en) | Inspecting apparatus of appearance of semiconductor device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20000314 |
|
LAPS | Cancellation because of no payment of annual fees |