JP3097153B2 - Grade testing equipment for fruits and vegetables - Google Patents

Grade testing equipment for fruits and vegetables

Info

Publication number
JP3097153B2
JP3097153B2 JP03075989A JP7598991A JP3097153B2 JP 3097153 B2 JP3097153 B2 JP 3097153B2 JP 03075989 A JP03075989 A JP 03075989A JP 7598991 A JP7598991 A JP 7598991A JP 3097153 B2 JP3097153 B2 JP 3097153B2
Authority
JP
Japan
Prior art keywords
color
fruits
vegetables
color data
gravity
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.)
Expired - Fee Related
Application number
JP03075989A
Other languages
Japanese (ja)
Other versions
JPH04260179A (en
Inventor
治光 十亀
寿夫 岡村
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.)
Iseki and Co Ltd
Original Assignee
Iseki and 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 Iseki and Co Ltd filed Critical Iseki and Co Ltd
Priority to JP03075989A priority Critical patent/JP3097153B2/en
Publication of JPH04260179A publication Critical patent/JPH04260179A/en
Application granted granted Critical
Publication of JP3097153B2 publication Critical patent/JP3097153B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Image Processing (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、メロンやすいかなどの
ように表面に縞がある青果物の等級検定、さらにはロー
スの肉の部分と脂の部分というように性質の異なる両者
の検定などに広く適用可能な青果物等の検定装置に関す
る。
BACKGROUND OF THE INVENTION The present invention is applicable to a grade test for fruits and vegetables having stripes on the surface, such as whether the melon is easy to be used, and a test for both different properties such as meat and fat of loin. The present invention relates to a widely applicable testing device for fruits and vegetables.

【0002】[0002]

【従来の技術】従来、例えば縞のあるメロンの等級検定
は、人間が目視により行っていた。
2. Description of the Related Art Hitherto, for example, the evaluation of the grade of a striped melon has been carried out visually by a human.

【0003】[0003]

【発明が解決しようとする課題】しかし、従来の目視に
よる等級検定では、作業能率が悪い上に、ばらつきがあ
って信頼性が低いという欠点があった。
However, the conventional visual rating test has the drawbacks that the work efficiency is poor, and that the dispersion is low and the reliability is low.

【0004】そこで、本発明は、青果物の等級検定の作
業能率の向上、その信頼性の向上、およびその自動化を
図ることを目的とする。
[0004] Therefore, an object of the present invention is to improve the work efficiency of the grading test for fruits and vegetables, improve the reliability thereof, and automate the same.

【0005】[0005]

【課題を解決するための手段】かかる目的を達成するた
めに請求項1の発明は、青果物等被対象物をカラーで撮
影する撮像手段と、その撮影したカラー画像から当該被
対象物の表面部および縞部の色データをそれぞれ求める
色データ算出手段と、その求めた表面部の色データ群及
び縞部の色データ群からそれぞれの色座標上における代
表値を求め、該代表値による相互の色のバランスから、
あらかじめ設定した値に基づいて被対象物の等級を評価
する等級検定手段と、を備えてなるものである。また、
請求項2の発明は、青果物等をカラーで撮影する撮像手
段と、その撮影したカラー画像から青果物等の表面部お
よび縞部の色データをそれぞれ求める色データ算出手段
と、その求めた表面部の色データ群の色座標における重
心、およびその求めた縞部の色データ群の色座標におけ
る重心をそれぞれ求める重心算出手段と、その求めた両
重心を結ぶ線分の傾きを算出する傾き算出手段と、その
求めた傾きに基づいて青果物等の等級を検定する等級検
定手段と、を備えてなるものである。
In order to achieve the above object, according to the present invention, there is provided an image pickup means for photographing an object such as fruits and vegetables in color, and a surface portion of the object from the photographed color image. Color data calculating means for determining the color data of the stripe portion and the color data group of the surface portion and the color data group of the stripe portion. From the balance of
And a grade test means for evaluating the grade of the object based on a preset value. Also,
The invention according to claim 2 is an imaging means for photographing fruits and vegetables in color, a color data calculating means for respectively obtaining color data of a surface portion and a stripe portion of the fruits and vegetables from the photographed color image, and A center of gravity in color coordinates of the color data group, and a center of gravity calculating means for respectively obtaining the center of gravity in the color coordinates of the color data group of the obtained stripe portion, and a slope calculating means for calculating the slope of a line connecting the obtained both centers of gravity. And a grade test means for testing the grade of fruits and vegetables based on the obtained inclination.

【0006】[0006]

【作用】このように構成する請求項1の発明では、色デ
ータ算出手段は、撮像手段が撮影したカラー画像から被
対象物の表面部および縞部の色データをそれぞれ求め
る。等級検定手段は、被対象物の表面部および縞部のそ
れぞれの色データ群から色座標上における代表値をそれ
ぞれ求め、代表値による相互の色のバランスから、あら
かじめ設定した値に基づいて被対象物の等級を評価す
る。請求項2の発明では、色データ算出手段は、撮像手
段が撮影したカラー画像から青果物等の表面部および縞
部の色データをそれぞれ求める。重心算出手段は、その
求めた表面部の色データ群の色座標における重心、およ
びその求めた縞部の色データ群の色座標における重心を
それぞれ求める。この求めた各重心は、表面部と縞部と
における色情報をそれぞれ代表するといえる。等級検定
手段は、傾き算出手段の求めた両重心を結ぶ線分の傾き
に基づいて青果物等の等級を検定する。この線分の傾き
は青果物等の等級に応じて異なり、その等級を正確に反
映するといえる。
According to the first aspect of the present invention, the color data calculation means obtains color data of the surface portion and the stripe portion of the object from the color image taken by the imaging means. The grading test means obtains a representative value on the color coordinate from each color data group of the surface part and the stripe part of the object, and obtains the object based on a preset value from the mutual color balance based on the representative value. Assess the grade of an object. According to the second aspect of the invention, the color data calculation means obtains color data of the surface portion and the stripe portion of the fruits and vegetables from the color image taken by the imaging means. The center-of-gravity calculating means calculates the center of gravity in the color coordinates of the color data group of the obtained surface portion and the center of gravity in the color coordinates of the color data group of the obtained stripe portion. Each of the obtained centroids can be said to represent color information in the surface portion and the stripe portion, respectively. The grade tester tests the grade of a fruit or vegetable based on the slope of the line connecting the centers of gravity obtained by the slope calculator. The slope of this line segment varies depending on the grade of the fruits and vegetables, and can be said to accurately reflect that grade.

【0007】従って、本発明では、メロンのように縞の
ある青果物の等級検定の作業能率の向上、その信頼性の
向上、およびその自動化が実現できる。
Therefore, according to the present invention, it is possible to improve the work efficiency, the reliability, and the automation of the grade test for fruits and vegetables having stripes such as melon.

【0008】[0008]

【実施例】以下、図面を参照して本発明の実施例につい
て説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0009】図1において、1は青果物2の左右の上方
に配置し、その青果物2を照射する光源である。青果物
2の上方には、青果物2をカラー撮影する撮像手段とし
てカラーテレビカメラやCCDカメラなどのカラーカメ
ラ3を配置する。
In FIG. 1, reference numeral 1 denotes a light source arranged above and below the fruits and vegetables 2 to irradiate the fruits and vegetables 2. Above the fruits and vegetables 2, a color camera 3 such as a color television camera or a CCD camera is arranged as an image pickup means for taking a color image of the fruits and vegetables 2.

【0010】カラーカメラ3は、画像処理用コンピュー
タ4の入力側に接続する。画像処理用コンピュータ4
は、後述のようにカラーカメラ3が撮像した青果物2の
画像を処理する。画像処理用コンピュータ4の出力側に
は、表示装置やプリンタなどからなる画像出力装置5を
接続する。
The color camera 3 is connected to an input side of an image processing computer 4. Image processing computer 4
Processes an image of the fruits and vegetables 2 captured by the color camera 3 as described later. An output side of the image processing computer 4 is connected to an image output device 5 such as a display device or a printer.

【0011】次に、このよう構成する実施例の画像処理
例について、図2のフローチャートを参照して説明す
る。
Next, an example of image processing of the embodiment configured as described above will be described with reference to the flowchart of FIG.

【0012】まず、カラーカメラ3で撮影した縞のある
メロンなどの青果物2のカラー画像を入力する(ステッ
プS1)。そして、その撮影したカラー画像において、
図3に示すように青果物2の所定部分Zまたは全体か
ら、縞部および表面部の色測定をそれぞれ行う(ステッ
プS2、S3)。いま、カラー画像の色を、たとえばL
*a*b*表色系により分類して表わす場合には、カラ
ー画像の縞部および表面部の色データはL*、a*、b
*としてそれぞれ算出する。
First, a color image of a fruit or vegetable 2 such as a melon with stripes photographed by the color camera 3 is input (step S1). And in the captured color image,
As shown in FIG. 3, color measurement of the stripe portion and the surface portion is performed from the predetermined portion Z or the whole of the fruit and vegetable 2 (steps S2 and S3). Now, the color of the color image is, for example, L
When the data is classified and represented by the * a * b * color system, the color data of the stripe portion and the surface portion of the color image are L *, a *, b
Calculated as * respectively.

【0013】次に、このように測定した縞部と表面部と
の複数の色データを、たとえばL*−a*座標系、a*
−b*座標系、L*−b*座標系に表示し、表面部の色
データ群の重心、および縞部の色データ群の重心の各位
置をそれぞれ求める(ステップS4)。いま、縞部およ
び表面部の複数の算出色データをL*−b*座標系に表
示した例を、図4および図5にそれぞれ示す。図中のA
は縞部の色データ群の重心を示し、図中のBは表面部の
色データ群の重心を示す。なお、図4および図5はマス
クメロンの場合であり、図4はその等級が「並」の場
合、図5はその等級が「特」の場合である。
Next, a plurality of color data of the striped portion and the surface portion measured in this manner are converted into, for example, an L * -a * coordinate system, a *
The positions are displayed on the -b * coordinate system and the L * -b * coordinate system, and the respective positions of the center of gravity of the color data group of the surface portion and the center of gravity of the color data group of the stripe portion are obtained (step S4). Now, examples in which a plurality of calculated color data of the stripe portion and the surface portion are displayed on the L * -b * coordinate system are shown in FIGS. 4 and 5, respectively. A in the figure
Indicates the center of gravity of the color data group of the stripe portion, and B in the figure indicates the center of gravity of the color data group of the surface portion. 4 and 5 show the case of the mask melon, FIG. 4 shows the case where the grade is “medium”, and FIG. 5 shows the case where the grade is “special”.

【0014】引き続き、上述のように求めた両重心から
それらを結ぶ線分の傾きを算出し(ステップS5)、そ
の求めた傾きをあらかじめ定めてある基準値と比較し、
青果物の等級を判定する(ステップS6)。上述の両重
心を結ぶ線分の傾きは、縞のあるメロンの場合には例え
ば図4および図5で示すように等級に応じて異なり、等
級を正確に反映するといえるので、ばらつきのない等級
判定が可能となる。
Subsequently, the gradient of the line connecting them is calculated from both the centers of gravity obtained as described above (step S5), and the obtained gradient is compared with a predetermined reference value.
The grade of the fruits and vegetables is determined (step S6). The inclination of the line connecting the two centers of gravity differs depending on the grade in the case of a striped melon, for example, as shown in FIGS. 4 and 5, and can be said to accurately reflect the grade. Becomes possible.

【0015】なお、以上の実施例ではメロンの場合につ
いて説明したが、本発明はこれに限らずたとえばロース
の肉の部分と脂の部分というように性質の異なる両者の
関係を検定する場合など、広く適用できること勿論であ
る。
In the above embodiment, the case of melon was described. However, the present invention is not limited to this case. For example, the case of testing the relationship between meat and fat having different properties such as fat and fat can be used. Of course, it can be widely applied.

【0016】次に、図1で示した装置を利用してメロン
の縞と表面の判別を行う画像処理例について説明する。
Next, an example of image processing for discriminating a melon stripe from the surface using the apparatus shown in FIG. 1 will be described.

【0017】この場合には、まずカラーカメラ3で撮影
した縞のあるメロンのカラー画像を入力する。次に、こ
の入力したRGB画像からメロンの赤道部のライン上に
おける縞と表面の部分をそれぞれ人間が選定し、RGB
画像の濃度値R、G、Bを用いてメロンの縞と表面とを
判別する判別式を、たとえば次の(1)式のように求め
る。
In this case, first, a color image of a striped melon taken by the color camera 3 is input. Next, from the input RGB image, a human selects stripes and a surface portion on the equatorial line of the melon, respectively.
A discriminant for discriminating between melon stripes and the surface using the image density values R, G, and B is obtained, for example, as in the following equation (1).

【0018】 F=−20、3893+0、5568R −0、2002G−0、2598B (1) 次に、この判別式を用いて、上述の入力カラー画像のメ
ロンの赤道部上における各画素の縞と表面との判別を行
う。これにより、メロンの縞の均一性の評価が可能とな
る。
F = −20, 3893 + 0, 5568R−0, 2002G−0, 2598B (1) Next, using this discriminant, the stripes and the surface of each pixel on the equator of the melon of the input color image described above. Is determined. This makes it possible to evaluate the uniformity of the melon stripes.

【0019】[0019]

【発明の効果】以上説明したように、本発明では、撮像
手段で撮影したカラー画像から青果物等の表面部および
縞部の色データをそれぞれ求め、その求めた表面部の色
データ群及び縞部の色データ群からそれぞれの色座標上
における代表値を求め、該代表値による相互の色のバラ
ンスから、あらかじめ設定した値に基づいて被対象物の
等級を評価する。あるいは、撮像手段で撮影したカラー
画像から青果物等の表面部および縞部の色データをそれ
ぞれ求め、その求めた表面部の色データ群の色座標にお
ける重心、およびその求めた縞部の各色データ群の色座
標における重心をそれぞれ求め、その求めた両重心を結
ぶ線分の傾きを求めてその結果に基づいて青果物の等級
を検定する。従って、本発明では、特にメロンのように
縞のある青果物等の等級検定において、その作業能率の
向上、その信頼性の向上、およびその自動化が実現でき
る。
As described above, according to the present invention, the color data of the surface portion and the stripe portion of fruits and vegetables are obtained from the color image taken by the imaging means, and the color data group and the stripe portion of the obtained surface portion are obtained. , A representative value on each color coordinate is obtained from the color data group, and the class of the object is evaluated based on a preset value from the mutual color balance based on the representative value. Alternatively, the color data of the surface portion and the stripe portion of fruits and vegetables are obtained from the color image taken by the imaging means, the center of gravity of the obtained color data group of the surface portion in the color coordinates, and the obtained color data group of the stripe portion. , The center of gravity of each color coordinate is determined, the slope of a line connecting the determined centers of gravity is determined, and the grade of the fruit or vegetable is tested based on the result. Therefore, in the present invention, especially in the grade test of fruits and vegetables having stripes such as melon, the improvement of the work efficiency, the improvement of the reliability thereof, and the automation thereof can be realized.

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

【図1】本発明実施例の全体構成を示す図である。FIG. 1 is a diagram showing an overall configuration of an embodiment of the present invention.

【図2】本発明実施例の画像処理例を示すフローチャー
トである。
FIG. 2 is a flowchart illustrating an example of image processing according to an embodiment of the present invention.

【図3】カラー画像の所定部分の色測定を説明する図で
ある。
FIG. 3 is a diagram illustrating color measurement of a predetermined portion of a color image.

【図4】マスクメロンにおける縞部および表面部の複数
の色データをL*−b*座標系に表示した一例を示し、
その等級が「並」の場合である。
FIG. 4 shows an example in which a plurality of color data of a stripe portion and a surface portion of a mask melon are displayed in an L * -b * coordinate system;
This is the case when the grade is “medium”.

【図5】マスクメロンにおける縞部および表面部の複数
の色データをL*−b*座標系に表示した一例を示し、
その等級が「特」の場合である。
FIG. 5 shows an example of displaying a plurality of color data of a stripe portion and a surface portion in a mask melon in an L * -b * coordinate system;
This is the case when the grade is “special”.

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

1 光源 2 青果物 3 カラーカメラ 4 画像処理用コンピュータ 5 画像出力装置 Reference Signs List 1 light source 2 fruits and vegetables 3 color camera 4 image processing computer 5 image output device

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06T 1/00 G01N 21/85 G01N 21/88 - 21/958 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G06T 1/00 G01N 21/85 G01N 21/88-21/958

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 青果物等被対象物をカラーで撮影する撮
像手段と、 その撮影したカラー画像から当該被対象物の表面部およ
び縞部の色データをそれぞれ求める色データ算出手段
と、 その求めた表面部の色データ群及び縞部の色データ群か
らそれぞれの色座標上における代表値を求め、該代表値
による相互の色のバランスから、あらかじめ設定した値
に基づいて被対象物の等級を評価する等級検定手段と、 を備えてなる青果物等の等級検定装置。
An imaging means for photographing an object such as fruits and vegetables in color, a color data calculating means for respectively obtaining color data of a surface portion and a stripe portion of the object from the photographed color image, A representative value on each color coordinate is obtained from the color data group of the surface part and the color data group of the stripe part, and the class of the object is evaluated based on a preset value from the mutual color balance based on the representative value. And a grade testing device for fruits and vegetables, comprising:
【請求項2】 青果物等をカラーで撮影する撮像手段
と、 その撮影したカラー画像から青果物等の表面部および縞
部の色データをそれぞれ求める色データ算出手段と、 その求めた表面部の色データ群の色座標における重心、
およびその求めた縞部の色データ群の色座標における重
心をそれぞれ求める重心算出手段と、 その求めた両重心を結ぶ線分の傾きを算出する傾き算出
手段と、 その求めた傾きに基づいて青果物等の等級を検定する等
級検定手段と、 を備えてなる青果物等の等級検定装置。
2. An imaging means for photographing fruits and vegetables in color, a color data calculating means for respectively obtaining color data of a surface part and a stripe part of fruits and vegetables from the photographed color image, and a color data of the surface part thus found. Centroid in the color coordinates of the group,
And a center of gravity calculating means for calculating the center of gravity of the color data group of the obtained stripe data in color coordinates, a slope calculating means for calculating a slope of a line connecting the obtained centers of gravity, and a fruit or vegetable based on the obtained slope And a grade testing means for testing the grades of fruits and vegetables.
JP03075989A 1991-02-14 1991-02-14 Grade testing equipment for fruits and vegetables Expired - Fee Related JP3097153B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03075989A JP3097153B2 (en) 1991-02-14 1991-02-14 Grade testing equipment for fruits and vegetables

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03075989A JP3097153B2 (en) 1991-02-14 1991-02-14 Grade testing equipment for fruits and vegetables

Publications (2)

Publication Number Publication Date
JPH04260179A JPH04260179A (en) 1992-09-16
JP3097153B2 true JP3097153B2 (en) 2000-10-10

Family

ID=13592192

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03075989A Expired - Fee Related JP3097153B2 (en) 1991-02-14 1991-02-14 Grade testing equipment for fruits and vegetables

Country Status (1)

Country Link
JP (1) JP3097153B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3344766B2 (en) * 1993-05-10 2002-11-18 東芝アイティー・ソリューション株式会社 Image processing apparatus and beef carcass grading system using this apparatus
JP3362450B2 (en) * 1993-05-13 2003-01-07 井関農機株式会社 Eating time estimation device for melon
CN106525852A (en) * 2016-10-28 2017-03-22 深圳前海弘稼科技有限公司 A fruit growth period detecting method and device

Also Published As

Publication number Publication date
JPH04260179A (en) 1992-09-16

Similar Documents

Publication Publication Date Title
KR100731358B1 (en) Method and system for measuring the video quality
JP4160258B2 (en) A new perceptual threshold determination for gradient-based local contour detection
CN106596073A (en) Method and system for detecting image quality of optical system, and testing target plate
JP3581149B2 (en) Method and apparatus for identifying an object using a regular sequence of boundary pixel parameters
US20050219362A1 (en) Quality analysis in imaging
US4646252A (en) Color film inspection method
US7386167B2 (en) Segmentation technique of an image
KR920003658B1 (en) Picture quality testing method and apparatus for color cathode-ray tube
JPS59163548A (en) Automatic analyzing method of electron-ray diffraction figure
JP3097153B2 (en) Grade testing equipment for fruits and vegetables
JP3972647B2 (en) Diagnostic imaging apparatus, diagnostic imaging system, and diagnostic imaging method
CN113256607B (en) Defect detection method and device
JP4104481B2 (en) Full color video peak signal to noise ratio measurement method
JPH0285741A (en) Method for inspecting solid-state image pickup element
Coquin et al. Dissimilarity measures in color spaces
JP2528929B2 (en) Automatic white uniformity evaluation method for color cathode ray tubes
JPH04296977A (en) Vegetable/fruit coloring inspector
JP3504040B2 (en) Color unevenness identification method for color display and automatic identification device by the method
JPH04147002A (en) Inspecting apparatus of surface of fruit and vegetable
JPH09161066A (en) Image processor
JP2886251B2 (en) Product inspection equipment
JPH06233013A (en) Evaluating method for picture quality
KR20030008300A (en) Method to Measure a Brightness of an Display Device
TWI629969B (en) Eye detection system and method
JPH04152252A (en) Surface state inspection 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: 20000711

LAPS Cancellation because of no payment of annual fees