JPH11173996A - Nondesturctive detecting method for abnormal egg - Google Patents

Nondesturctive detecting method for abnormal egg

Info

Publication number
JPH11173996A
JPH11173996A JP35407497A JP35407497A JPH11173996A JP H11173996 A JPH11173996 A JP H11173996A JP 35407497 A JP35407497 A JP 35407497A JP 35407497 A JP35407497 A JP 35407497A JP H11173996 A JPH11173996 A JP H11173996A
Authority
JP
Japan
Prior art keywords
egg
blood
image
eggs
color
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
JP35407497A
Other languages
Japanese (ja)
Other versions
JP3212936B2 (en
Inventor
Kazuhiro Nakano
和弘 中野
Kenichi Takizawa
憲一 滝澤
Jun Mizutani
純 水谷
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.)
Mayekawa Manufacturing Co
Original Assignee
Mayekawa Manufacturing Co
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 Mayekawa Manufacturing Co filed Critical Mayekawa Manufacturing Co
Priority to JP35407497A priority Critical patent/JP3212936B2/en
Publication of JPH11173996A publication Critical patent/JPH11173996A/en
Application granted granted Critical
Publication of JP3212936B2 publication Critical patent/JP3212936B2/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)
  • Investigating Or Analysing Materials By Optical Means (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an egg inspection method in which an abnormal part such as a bloody egg or the like detected inside an egg with shell is judged in a short time, nondestructively and precisely. SOLUTION: An egg 3 is placed between a light source 2 and a color CCD camera 1. An obtained transmission image is decomposed into color components (R, G, B) of every pixel by using a video signal and an A/D conversion. Chromaticity coordinates (r, g, b) are found on the basis of the color components. The contour of only an eggshell image is extracted on the basis of the original transmission image which contains a background color and the eggshell image. In addition, an image noise by which a normal part is discriminated errneously as a bloody egg part is a bloody egg or not is discriminated by using the chromaticity coordinates. In addition, the size of the part of the bloody egg is estimated.

Description

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

【0001】[0001]

【発明の属する分野】本発明は、殻付鶏卵内に発現する
血卵等の異常部分を短時間に非破壊でかつ正確に判定す
るための検卵方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an egg inspection method for non-destructively and accurately judging abnormal portions such as blood eggs which appear in shelled chicken eggs in a short time.

【0002】[0002]

【従来の技術】従来の検卵装置としては、割卵して取り
出された鶏卵中身の不良液卵を検出する装置(例えば、
特願平6−43238)や鶏卵外表面におけるひび割れ
検査装置(例えば、特願平7−220327)などがあ
る。殻付鶏卵の内部に混入する血液等の異物を割卵しな
いで非破壊的に検出する方法については、専門の検卵員
が鶏卵の透過光を用いて、経験と勘により選別するのが
定法である。
2. Description of the Related Art As a conventional egg inspection apparatus, an apparatus for detecting a defective liquid egg contained in a chicken egg taken out of a broken egg (for example,
Japanese Patent Application No. 6-43238) and a crack inspection device on the outer surface of a chicken egg (for example, Japanese Patent Application No. 7-220327). It is a common practice for non-destructive detection of foreign substances such as blood contaminating shell eggs without breaking the eggs, based on experience and intuition, using a transmitted light from the eggs. It is.

【0003】[0003]

【発明が解決しようとする課題】殻付鶏卵の流通上の絶
対条件として、血卵や肉塊卵、破損卵等の異常卵のない
品質保証卵であることが要求されている。しかし、前述
の如く殻付鶏卵を非破壊的に検出する方法・技術および
装置はいまだ実用化されておらず、この検卵工程は専ら
人手に頼っていた。
As an absolute condition for the distribution of eggs with shells, it is required that the eggs be quality assured eggs free from abnormal eggs such as blood eggs, meat chunk eggs and broken eggs. However, as described above, a method, a technique, and an apparatus for non-destructively detecting a chicken egg with a shell have not yet been put to practical use, and this egg-checking process has relied exclusively on humans.

【0004】一般に集卵場における検卵工程では、卵を
回転・移動させるコンベアの下方に蛍光灯が設置してあ
り、検卵作業者はまぶしい光の中に現れる卵の透過像を
直視しながら、経験と勘により異常卵を検出している。
この検卵作業は、異常卵を流通させることは許されない
という命題のもとに、肉体的にも、精神的にも非常に緊
張した状態で行なわざるを得ないという経常的問題が指
摘されていた。
[0004] Generally, in an egg inspection process in an egg collecting place, a fluorescent lamp is installed below a conveyor for rotating and moving the eggs, and an egg inspection operator looks directly at the transmitted image of the eggs appearing in the dazzling light. Abnormal eggs are detected by experience and intuition.
Under the proposition that this egg inspection work is not allowed to distribute abnormal eggs, it has been pointed out that ordinary problems have to be carried out in a very nervous state physically and mentally. Was.

【0005】さらに、このように過酷な作業条件下で
は、出荷時刻を気にするあまり、検卵作業者の異常卵検
出基準にばらつきが生じ、結果的に消費者等から「異常
卵が混入していた」というクレームを受けるという問題
がしばしば発生していた。
[0005] Further, under such severe operating conditions, too much attention is paid to the shipping time, so that the detection standard of abnormal eggs of an egg inspector varies, and as a result, consumers and the like may find that abnormal eggs are mixed. Problem was frequently encountered.

【0006】また、消費者からのクレームを恐れて、
「異常卵かどうか疑わしき時は、流通させず」というの
が集卵場の常識となっている。この場合、実際の中身が
正常であるにもかかわらず、出荷されない卵が現に多く
存在するわけであり、経済的にも食糧資源的にも大きな
損失であると指摘されていた。
[0006] Fear of consumer complaints,
It is common knowledge of egg collection sites that "if you suspect an abnormal egg, do not distribute it." In this case, despite the fact that the contents are normal, there are actually many eggs that are not shipped, and it has been pointed out that this is a great loss economically and in terms of food resources.

【0007】一方、消費者側では、近年の食材の衛生・
安全志向から、異物混入を嫌う傾向が強くなってきてい
る。特に生食する機会の多い鶏卵については、粟粒程度
の小さい血液状部分を見つけた場合でも、たとえその血
液状部分が衛生的・品質的には何ら問題ないとしても、
苦情を持ち込むケースがしばしば見られた。
On the other hand, on the consumer side, the sanitation
From a safety perspective, there is an increasing tendency to hate foreign matter contamination. Especially for chicken eggs that are often eaten raw, even if you find a bloody part as small as millet, even if the bloody part does not pose any problems in hygiene and quality,
Complaints were frequently introduced.

【0008】本発明は、この様な問題点に鑑みてなされ
たものであり、その目的とするところは、検卵員の経験
と勘に頼らず、殻付鶏卵の中身を画像処理により非破壊
的かつ短時間的に測定し、その結果、内部に血液状の異
物が混入している異常鶏卵を検出する方法を提供するこ
とにある。
[0008] The present invention has been made in view of such problems, and its purpose is to non-destructively deconstruct the contents of a shelled egg by image processing without relying on the experience and intuition of an egg inspector. It is an object of the present invention to provide a method for detecting abnormal chicken eggs in which the measurement is carried out in a short time and as a result, as a result, blood-like foreign substances are mixed therein.

【0009】[0009]

【課題を解決するための手段】前記目的を達成するため
に、本発明は、鶏卵に透過光を照射して得られる透過画
像について、カラーCCDカメラとビデオ信号処理およ
びA/D変換装置を介して色成分に変換し、その色成分
から求められる色度座標を所定値と比較する色度比較を
行い、血卵であるか否かを判別することを特徴とする異
常鶏卵の非破壊検出方法出ある。
In order to achieve the above object, the present invention provides a transmission image obtained by irradiating a transmission light to a chicken egg through a color CCD camera, a video signal processing and an A / D converter. A non-destructive detection method for abnormal chicken eggs, comprising performing a chromaticity comparison by comparing the chromaticity coordinates obtained from the color components with a predetermined value and determining whether or not the egg is a blood egg. There is.

【0010】本発明は、カラーCCDカメラとビデオ信
号処理およびA/D変換装置を介して色成分に変換し、
その色成分から求められる色度座標を所定値と比較する
色度比較を行い値卵を判別しているので、画像処理技術
を応用することにより、血卵等の異常鶏卵を非破壊的、
短時間的に検出することができるので、高度に熟練した
専門の検卵員の代わりに容易に正確に血卵を選別するこ
とが出来る。
According to the present invention, color components are converted into color components via a color CCD camera, video signal processing and an A / D converter.
The color egg is determined by comparing the chromaticity coordinates obtained from the color component with a predetermined value, and the value egg is discriminated.By applying image processing technology, abnormal egg such as blood egg is non-destructively.
Since the detection can be performed in a short time, blood eggs can be easily and accurately selected in place of a highly skilled specialized egg inspector.

【0011】また、請求項2に記載するように、背景色
と卵殻画像を含んだ原画像から卵殻画像のみを輪郭抽出
するように構成することも本発明の有効な手段である。
卵殻画像のみを画像処理することで、余分なノイズを排
除してより正確に、異常鶏卵の検出を行うことができ
る。
Further, as an effective means of the present invention, a configuration in which only the eggshell image is extracted from the original image including the background color and the eggshell image as described in claim 2 is also an effective means.
By performing image processing only on the eggshell image, it is possible to more accurately detect abnormal chicken eggs by eliminating extra noise.

【0012】また、請求項3に記載するように、異常鶏
卵の非破壊検出の時に、前記色度比較された血卵を構成
する血卵画素を所定値と比較する画素比較を行い、正常
部分を血卵部分として誤判別させる画像ノイズを回避す
るように構成することも本発明の有効な手段である。
According to a third aspect of the present invention, when non-destructive detection of an abnormal chicken egg is performed, a pixel comparison is performed by comparing a blood egg pixel constituting the blood egg whose chromaticity has been compared with a predetermined value, and a normal portion is detected. It is also an effective means of the present invention to configure so as to avoid image noise that causes erroneous determination as a blood egg portion.

【0013】異常卵を販売ルートに乗せないために、前
記色度比較時おけるしきい値は余裕をもって大きく設定
しなければならないが、そのために、前記色度比較され
た血卵のなかには正常な卵が存在することもある。しか
し、血卵画素を所定値と比較する画素比較を行い再度選
別することにより、正常部分を血卵部分として誤判別さ
せる画像ノイズを回避することができる。
[0013] In order to prevent abnormal eggs from being placed on the sales route, the threshold value at the time of the chromaticity comparison must be set with a sufficient margin. May be present. However, by performing pixel comparison in which the blood egg pixel is compared with a predetermined value and selecting again, it is possible to avoid image noise in which a normal part is erroneously determined as a blood egg part.

【0014】尚、本発明は、主に鶏卵の背後に透過光用
の光源、鶏卵の前面に透過像を撮影するカラーCCDカ
メラ、その透過像を1画素ずつ分解する画像処理ボード
またはR−G−B信号のA/D変換装置、血卵判定のた
めの演算装置またはコンピュータなどから構成されるの
がよい。
The present invention mainly relates to a light source for transmitted light behind the eggs, a color CCD camera for photographing a transmitted image on the front of the eggs, an image processing board or RG for decomposing the transmitted image one pixel at a time. It is preferable to include an A / D converter for the -B signal, an arithmetic unit for determining a blood egg, or a computer.

【0015】[0015]

【発明の実施の形態】以下、図面を参照して本発明の好
適な実施形態を例示的に詳しく説明する。但しこの実施
形態に記載されている構成部品の寸法、材質、形状、そ
の相対的配置等は特に特定的な記載がないかぎりは、こ
の発明の範囲をそれに限定する趣旨ではなく、単なる説
明例にすぎない。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will now be described in detail with reference to the drawings. However, the dimensions, materials, shapes, relative arrangements, and the like of the components described in this embodiment are not intended to limit the scope of the present invention unless otherwise specified, and are merely illustrative examples. Only.

【0016】図1に示すように、カラーCCDカメラ1
と光源2の間に鶏卵3を水平横長に置き、透過光を用い
て卵の透過画像を作成する。さらに、その透過画像はビ
デオ信号処理およびA/D変換回路を備えた画像処理ボ
ード4により各画素の色成分(R,G,B)に分解され
て、コンピュータ5に取り込まれる。また鶏卵から見て
光源側には光源照射用の小孔6を備えた遮光板7を設置
し、CCDカメラ側には背後光源から照明が卵外表面に
漏洩するのを防止する黒色支持台8を設置する。なお、
CCDカメラ1のレンズの前に偏光フィルタ9を設置す
る。
As shown in FIG. 1, a color CCD camera 1
The egg 3 is placed horizontally and horizontally between the light source 2 and the light source 2, and a transmitted image of the egg is created using the transmitted light. Further, the transmitted image is separated into color components (R, G, B) of each pixel by an image processing board 4 having a video signal processing and A / D conversion circuit, and is taken into a computer 5. A light-shielding plate 7 having a small hole 6 for illuminating the light source is provided on the light source side when viewed from the egg, and a black support 8 for preventing the illumination from leaking from the rear light source to the outer surface of the egg is provided on the CCD camera side. Is installed. In addition,
A polarizing filter 9 is provided in front of the lens of the CCD camera 1.

【0017】尚、この際、卵を設置する位置は、水平横
長でなくてもよく、どの方向でも良い。また、図1のよ
うに水平方向からの画像撮影でなくてもよく、垂直方向
あるいは、斜め方向からでも良い。また、透過光用の光
源はその種類を問わず、例えば蛍光灯でもレーザースポ
ット光その他でもよい。
At this time, the position where the eggs are placed may not be horizontal and horizontal, but may be in any direction. Further, the image need not be photographed in the horizontal direction as shown in FIG. 1, but may be photographed in the vertical direction or the oblique direction. The light source for the transmitted light may be any type, such as a fluorescent lamp, a laser spot light, or the like.

【0018】透過画像デ−タは、画像処理ボード4によ
り1画面当たり横768×縦484画素、1画素当たり
R、G、Bを各256階調に分解したデジタル画像情報
となる。このときの画像をモニターテレビに表示するこ
とにより、背後光源からの照明が卵の外表面に漏洩して
いないことを確認しながら測定を進めることができる
が、実際の現場では必ずともモニターテレビの設置を必
要としない。
The transmitted image data is digital image information obtained by decomposing R, G, B per pixel into 256 gradations for each screen by 768 × 480 pixels per screen by the image processing board 4. By displaying the image at this time on the monitor TV, it is possible to proceed with the measurement while confirming that the illumination from the back light source has not leaked to the outer surface of the egg. No installation required.

【0019】画像処理によって血卵と正常卵を判別する
ためには、なんらかのしきい値を決定して、それと比較
する必要がある。「血卵」には、血液用物質が卵白全体
に広がった卵(いわゆる血玉)と、血液状の塊が混入し
た卵(血斑)に大別され、それぞれの特徴として、前者
は透過光で得られる卵の画像全体が正常卵の場合より赤
く映り、後者は血斑の位置により赤く映る場合と影のよ
うに黒く映る場合とがある。したがって後者の場合、血
卵部である可能性の高い画像領域を精度よく抽出するこ
とが重要である。
In order to distinguish a blood egg from a normal egg by image processing, it is necessary to determine a certain threshold value and compare it with the threshold value. "Blood eggs" are roughly divided into eggs in which substances for blood spread throughout the egg white (so-called blood cells) and eggs mixed with bloody clots (blood spots). The whole image of the egg obtained in step (1) appears redder than that of a normal egg, and the latter image may appear red or black depending on the location of blood spots. Therefore, in the latter case, it is important to accurately extract an image region that is likely to be a blood egg portion.

【0020】画像処理によって血卵と正常卵を判別する
ためには、血卵の部分と正常卵の部分の特徴を抽出し、
しきい値を決定する必要がある。収集された画像データ
から「血卵」の部分を抽出するために、透過画像データ
の色成分(R,G,B)または色度座標(r,g,b)
を用いて、しきい値による画像抽出法を検討する。
In order to distinguish between a blood egg and a normal egg by image processing, the features of the blood egg part and the normal egg part are extracted,
You need to determine the threshold. In order to extract the “blood egg” portion from the collected image data, the color components (R, G, B) or the chromaticity coordinates (r, g, b) of the transmission image data
We consider an image extraction method based on a threshold using.

【0021】いま、0≦R≦255階調,0≦G≦25
5階調,0≦B≦255階調として、得られた1画素ご
との色成分(R,G,B)を用いて、下記の演算式によ
り各色度r、g、bを算出する。 r=R/(R+G+B) (1) g=G/(R+G+B) (2) b=B/(R+G+B) (3)
Now, 0 ≦ R ≦ 255 gradation, 0 ≦ G ≦ 25
Assuming that 5 gradations and 0 ≦ B ≦ 255 gradations, each chromaticity r, g, b is calculated by the following arithmetic expression using the obtained color components (R, G, B) for each pixel. r = R / (R + G + B) (1) g = G / (R + G + B) (2) b = B / (R + G + B) (3)

【0022】本実施形態では、背景色と卵殻画像を含ん
だ原画像から卵殻画像のみを抽出する方法として原画像
データの色成分Rを用い、多くの予備実験結果から経験
的にR>80をしきい値として、卵殻画像を輪郭抽出す
ることができた。
In this embodiment, the color component R of the original image data is used as a method for extracting only the eggshell image from the original image including the background color and the eggshell image, and R> 80 is empirically obtained from many preliminary experiments. As a threshold, the contour of the eggshell image could be extracted.

【0023】次に、上記の方法で抽出された卵殻画像か
ら、血卵部分を抽出するためのしきい値を設定する方法
を説明する。当日産卵した白色新鮮卵を用いて各卵の各
色成分を求めた。また卵のサイズは、LL、L、Mの3
種類を混合して用い、実験終了後、全鶏卵を割卵し、血
卵または正常卵であることを確認した。
Next, a method for setting a threshold for extracting a blood egg portion from the eggshell image extracted by the above method will be described. Each color component of each egg was determined using fresh white eggs laid on the day. Egg size is 3 of LL, L and M
After the experiment was completed, all the eggs were broken and all eggs were confirmed to be blood eggs or normal eggs.

【0024】図3(a)は上記実験により得たデータか
ら各色成分の相互関係を示す図であり、正常卵を○、血
卵を+で表している。左側は色成分Gを縦軸にRを横軸
にとり、これらの色成分がとる階調をプロットした図で
あり、右側は色成分Bを縦軸にGを横軸にとり、これら
の色成分がとる階調をプロットした図である。また、図
3(b)は、各色成分から算出した色座標の相互関係を
示す図であり、左側は色度gを縦軸にrを横軸にとり、
これらの色度がとる値をプロットした図であり、右側は
色度Bを縦軸にGを横軸にとり、これらの色度がとる値
をプロットした図である。
FIG. 3A is a diagram showing the interrelationship of each color component from the data obtained in the above experiment, in which a normal egg is represented by ○ and a blood egg is represented by +. The left side is a diagram in which the color component G is set on the vertical axis and R is set on the horizontal axis, and the gradations of these color components are plotted. The right side is set with the color component B on the vertical axis and G is set on the horizontal axis. It is the figure which plotted the gradation to take. FIG. 3B is a diagram showing the mutual relationship between the color coordinates calculated from the respective color components. On the left side, chromaticity g is plotted on the vertical axis and r is plotted on the horizontal axis.
It is a diagram in which the values of these chromaticities are plotted, and the right side is a diagram in which chromaticity B is plotted on the vertical axis and G is plotted on the horizontal axis, and the values of these chromaticities are plotted.

【0025】図3(a)では血卵と正常卵が混在してい
る部分があることから、色成分(R,G,B)を用いた
場合では、血卵を判別することは困難であることがわか
る。一方、図3(b)の色度座標(r,g,b)を用い
た場合では、血卵と正常卵を区別できることがわかる。
図3(b)の場合、色度rおよびbでは血卵と正常卵を
選別することは困難であるが、g=0.3付近で血卵と
正常卵を明確に区別できることから、色度gにしきい値
を設定することで、血卵を検出することが可能であるこ
とがわかる。
In FIG. 3 (a), since there are portions where blood eggs and normal eggs are mixed, it is difficult to distinguish blood eggs when using the color components (R, G, B). You can see that. On the other hand, when the chromaticity coordinates (r, g, b) of FIG. 3B are used, it can be seen that blood eggs and normal eggs can be distinguished.
In the case of FIG. 3 (b), it is difficult to select a blood egg from a normal egg with the chromaticity r and b. It can be seen that setting a threshold value to g makes it possible to detect a blood egg.

【0026】そこでさらに正確なしきい値を決定するた
め、色度座標g=0.27〜0.32の間で0.005
刻みにしきい値を設定し、そのときの判別率の結果から
最適なしきい値を求めることにした。図4に各しきい値
での判別率の変化を示す。図4(a)、(b)から、し
きい値が小さいとき血卵の判別率は低いが正常卵の判別
率は高くなり、逆にしきい値が大きいとき血卵の判別率
は高いが正常卵の判別率が低くなることがわかる。よっ
て、これらの結果を統合し、血卵と正常卵を合計した総
合判別率(図4(c))を用い、さらに現場では血卵判
別率を95%以上は確保したいとしていることから、色
度座標g=0.29を最適なしきい値と設定した。
Therefore, in order to determine a more accurate threshold value, the chromaticity coordinates g = 0.27 to 0.32 and 0.005
A threshold is set at intervals, and an optimum threshold is determined from the result of the discrimination rate at that time. FIG. 4 shows a change in the discrimination rate at each threshold value. 4 (a) and 4 (b), when the threshold value is small, the discrimination rate of blood eggs is low but the discrimination rate of normal eggs is high. Conversely, when the threshold value is large, the discrimination rate of blood eggs is high but normal. It can be seen that the discrimination rate of eggs is low. Therefore, by integrating these results and using the total discrimination rate (FIG. 4 (c)) obtained by summing the blood egg and the normal egg, further, it is desired to secure a blood egg discrimination rate of 95% or more in the field. The degree coordinate g = 0.29 was set as the optimal threshold.

【0027】ところが、画像データ収集時のノイズ等に
より、正常卵の画像の中にもg≦0.29となる部分が
発生し、「血卵部分である」と誤判別される場合があ
る。本実施の形態では、その誤判別を以下の方法により
回避できた。
However, a part where g ≦ 0.29 occurs in the image of a normal egg due to noise or the like at the time of image data collection, and may be erroneously determined as “blood egg part”. In the present embodiment, the erroneous determination can be avoided by the following method.

【0028】本実施の形態における卵殻全体の透過像の
総画素数は、20,000〜30,000画素であっ
た。また血卵部分の総画素数は、1,000〜25,0
00画素の範囲であることがわかった。これに対して、
前述のノイズにより誤判別される場合の総画素数は、正
常卵では卵殻全体でも500画素未満であることが、多
くの測定からわかった。
The total number of pixels of the transmission image of the whole eggshell in this embodiment was 20,000 to 30,000 pixels. The total number of pixels of the blood egg portion is 1,000 to 25.0.
It was found that the range was 00 pixels. On the contrary,
Many measurements have shown that the total number of pixels in the case of misjudgment due to the above-mentioned noise is less than 500 pixels in the whole eggshell of a normal egg.

【0029】そこで、透過画像中の個々の画素について
g≦0.29、すなわち「血卵部分である」と判定され
る場合の「血卵画素」の総画素数γをカウントし、γ≧
500の時の鶏卵を「血卵」とし、γ<500の時には
「正常卵である」と判定することにした。
Then, g ≦ 0.29 for each pixel in the transmission image, that is, the total number γ of “blood egg pixels” when it is determined to be “blood egg portion” is counted, and γ ≧ 0.29
The egg at the time of 500 was determined to be “blood egg”, and when γ <500, it was determined to be “normal egg”.

【0030】図2は、本実施の形態における血卵判定の
フローチャートの一例である。同図において、鶏卵の透
過画像をビデオ信号入力し(10)、それをA/D変換
して(11)、色成分(R,G,B)を求め(12)た
後、前述の式(1)、(2)、及び(3)を用いて色度
座標(r,g,b)を計算する(13)。そして背景色
と卵殻画像を含んだ原画像から卵殻画像のみを抽出(1
4)した後、血卵部分判定用のしきい値gを用いて各画
素ごとに血卵部分か否かを判定する(15)。そして、
g≦0.29の画素が血卵部分であると判定され、その
画素の合計値(16)が計数され、全卵の全域が終了
(17)し、血卵画素γがγ≧500の時の鶏卵を「血
卵」とし、γ<500の時には「正常卵である」と判定
し(18)、血卵か(19)、正常卵か(20)をコン
ピュータ5の表示部に表示する。
FIG. 2 is an example of a flowchart of the blood egg determination in the present embodiment. In the figure, a transmission image of a hen's egg is input as a video signal (10), A / D-converted (11), and a color component (R, G, B) is obtained (12). The chromaticity coordinates (r, g, b) are calculated using (1), (2), and (3) (13). Then, only the eggshell image is extracted from the original image containing the background color and the eggshell image (1
4) After that, it is determined whether or not each pixel is a blood egg portion using the threshold value g for determining a blood egg portion (15). And
When the pixel of g ≦ 0.29 is determined to be a blood egg portion, the total value (16) of the pixel is counted, and the whole area of all eggs is terminated (17), and when the blood egg pixel γ is γ ≧ 500. Is determined to be a “normal egg” when γ <500 (18), and whether it is a blood egg (19) or a normal egg (20) is displayed on the display unit of the computer 5.

【0031】[0031]

【実施例】そこで、前述のしきい値g=0.29を用い
て血卵判別実験を行ったところ、表1に示すように、実
際の血卵を「血卵である」と正しく判別できたのは41
6個中401個であり、判別率は96.4%であった。
また、実際の正常卵を「正常卵である」と正しく判別で
きたのは466個中431個であり、判別率は92.5
%であった。結果的に、両者を合計した総合判別率は9
4.3%であった。
Then, when a blood egg discrimination experiment was performed using the above-described threshold value g = 0.29, as shown in Table 1, an actual blood egg could be correctly discriminated as "blood egg". Only 41
The number was 401 out of the 6 pieces, and the discrimination rate was 96.4%.
In addition, 431 out of 466 eggs were able to correctly determine an actual normal egg as “normal egg”, and the discrimination rate was 92.5%.
%Met. As a result, the total discrimination rate of the two is 9
4.3%.

【0032】[0032]

【表1】 [Table 1]

【0033】本実施の形態の血卵判別能力を評価するた
め、集卵場の熟練検卵員の手作業による判別結果と比較
した。その結果を表2に示す。これは、表1の実験に供
する前に熟練検卵員が予め従来の透過光方式で判別した
結果である。熟練検卵員の血卵判別率は98.8%、正
常卵判別率は91.9%、総合判別率は95.0%と本
実施の形態とほぼ同じであった。
In order to evaluate the blood egg discriminating ability of the present embodiment, a comparison was made with the discrimination result of a skilled egg inspector at the egg collecting place by manual operation. Table 2 shows the results. This is the result of a skilled egg inspector preliminarily discriminating by the conventional transmitted light method before the experiment in Table 1. The skilled egg inspector had a blood egg discrimination rate of 98.8%, a normal egg discrimination rate of 91.9%, and an overall discrimination rate of 95.0%, which were almost the same as those in the present embodiment.

【0034】[0034]

【表2】 [Table 2]

【0035】さらに、しきい値をg=0.29に固定
し、期日別に異なる卵を用いて血卵判別実験を行った結
果、全体を通してほぼ95%以上の高い判別率が維持で
きた。
Further, a blood egg discrimination experiment was carried out using different eggs for different dates with the threshold value fixed at g = 0.29. As a result, a high discrimination rate of approximately 95% or more was maintained throughout.

【0036】以上、本実施の形態の血卵判別能力は十分
に再現性があり、実用に供し得ることがわかった。
As described above, it has been found that the blood egg discriminating ability of the present embodiment is sufficiently reproducible and can be put to practical use.

【0037】また、図1の実施例で構成される光源、C
CDカメラ、画像処理ボード等の特性により、血卵判別
のしきい値が変動する可能性があるので、最適な血卵判
別率が得られるように、予備実験によりしきい値のチュ
ーニングを行っておくことが望ましい。
The light source C shown in FIG.
The threshold of blood egg discrimination may fluctuate depending on the characteristics of the CD camera, the image processing board, and the like. Therefore, the threshold is tuned by a preliminary experiment to obtain an optimum blood egg discrimination rate. It is desirable to keep.

【0038】[0038]

【発明の効果】以上詳述したように、請求項1記載の発
明は、カラーCCDカメラとビデオ信号処理およびA/
D変換装置を介して色成分に変換し、その色成分から求
められる色度座標を所定値と比較する色度比較を行い血
卵を判別しているので、画像処理技術を応用することに
より、血卵等の異常鶏卵を非破壊的、短時間的に検出す
ることができるので、高度に熟練した専門の検卵員の代
わりに容易に正確に血卵を選別することが出来る。
As described in detail above, the first aspect of the present invention provides a color CCD camera, video signal processing and A /
By converting to a color component via a D conversion device and performing chromaticity comparison by comparing the chromaticity coordinates obtained from the color component with a predetermined value to determine a blood egg, by applying image processing technology, Since abnormal chicken eggs such as blood eggs can be detected nondestructively and in a short time, blood eggs can be easily and accurately selected in place of highly skilled and specialized egg inspectors.

【0039】また、請求項2に記載するように、背景色
と卵殻画像を含んだ原画像から卵殻画像のみを輪郭抽出
するように構成しているので、卵殻画像のみを画像処理
することで、余分なノイズを排除してより正確に、異常
鶏卵の検出を行うことができる。
Further, as described in claim 2, since only the eggshell image is contour-extracted from the original image including the background color and the eggshell image, image processing is performed only on the eggshell image. Abnormal chicken eggs can be detected more accurately by eliminating extra noise.

【0040】また、請求項3に記載するように、異常鶏
卵の非破壊検出の時に、前記色度比較された血卵を構成
する血卵画素を所定値と比較する画素比較を行うように
構成しているので、血卵画素を所定値と比較する画素比
較を行い再度選別することにより、正常部分を血卵部分
として誤判別させる画像ノイズを回避することができ
る。
According to a third aspect of the present invention, when non-destructive detection of an abnormal chicken egg, a pixel comparison for comparing a blood egg pixel constituting the blood egg whose chromaticity has been compared with a predetermined value is performed. Therefore, by performing pixel comparison in which the blood egg pixel is compared with a predetermined value and selecting again, it is possible to avoid image noise in which a normal part is erroneously determined as a blood egg part.

【0041】よって、本発明は、主として画像処理によ
る検卵システムであるので、従来のような過酷な検卵作
業から、人間を解放することができる。また、集卵場に
おいてのみならず、外食、総菜、菓子等の鶏卵加工業者
およびその他の大量消費者における検卵システムとして
も容易に援用できる。
Therefore, since the present invention is an egg inspection system mainly based on image processing, humans can be released from the harsh egg inspection work as in the past. In addition, the present invention can be easily used as an egg inspection system not only in an egg collection place but also in a chicken egg processor for eating out foods, delicatessen, confectionery and the like and other mass consumers.

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

【図1】本発明の実施の形態に係る異常鶏卵の非破壊検
出装置の構成図である。
FIG. 1 is a configuration diagram of a nondestructive detection apparatus for abnormal chicken eggs according to an embodiment of the present invention.

【図2】血卵判定のためのフローチャート図である。FIG. 2 is a flowchart for determining a blood egg.

【図3】卵殻画像の色彩情報の相互関係を表した図であ
る。
FIG. 3 is a diagram showing a mutual relationship between color information of an eggshell image.

【図4】色度座標gをしきい値とした時の判別率の変動
を表したグラフ図である。
FIG. 4 is a graph showing a change in a discrimination rate when a chromaticity coordinate g is set as a threshold value.

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

1 カラーCCDカメラ 2 光源 3 鶏卵 4 画像処理ボード 5 コンピュータ 6 小孔 7 遮光板 8 黒色支持台 9 偏光フィルタ DESCRIPTION OF SYMBOLS 1 Color CCD camera 2 Light source 3 Egg 4 Image processing board 5 Computer 6 Small hole 7 Shield plate 8 Black support stand 9 Polarization filter

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 鶏卵に透過光を照射して得られる透過画
像について、カラーCCDカメラとビデオ信号処理およ
びA/D変換装置を介して色成分に変換し、その色成分
から求められる色度座標を所定値と比較する色度比較を
行い、血卵であるか否かを判別することを特徴とする異
常鶏卵の非破壊検出方法。
1. A transmission image obtained by irradiating a transmission light onto a chicken egg is converted into a color component through a color CCD camera, video signal processing and an A / D converter, and chromaticity coordinates obtained from the color component are converted. A non-destructive detection method for abnormal chicken eggs, which comprises performing chromaticity comparison of comparing the blood with a predetermined value to determine whether or not the eggs are blood eggs.
【請求項2】 背景色と卵殻画像を含んだ原画像から卵
殻画像のみを輪郭抽出することを特徴とする請求項1記
載の異常鶏卵の非破壊検出方法。
2. The non-destructive detection method of an abnormal chicken egg according to claim 1, wherein only the eggshell image is contour-extracted from the original image including the background color and the eggshell image.
【請求項3】 異常鶏卵の非破壊検出の時に、前記色度
比較された血卵を構成する血卵画素を所定値と比較する
画素比較を行い、正常部分を血卵部分として誤判別させ
る画像ノイズを回避することを特徴とする請求項1記載
の異常鶏卵の非破壊検出方法。
3. An image in which, at the time of non-destructive detection of an abnormal chicken egg, a pixel comparison is performed in which a blood pixel constituting the blood egg whose chromaticity is compared is compared with a predetermined value, and a normal part is erroneously determined as a blood egg part. 2. The method for non-destructively detecting abnormal chicken eggs according to claim 1, wherein noise is avoided.
JP35407497A 1997-12-09 1997-12-09 Non-destructive detection method of abnormal chicken eggs Expired - Fee Related JP3212936B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35407497A JP3212936B2 (en) 1997-12-09 1997-12-09 Non-destructive detection method of abnormal chicken eggs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35407497A JP3212936B2 (en) 1997-12-09 1997-12-09 Non-destructive detection method of abnormal chicken eggs

Publications (2)

Publication Number Publication Date
JPH11173996A true JPH11173996A (en) 1999-07-02
JP3212936B2 JP3212936B2 (en) 2001-09-25

Family

ID=18435121

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35407497A Expired - Fee Related JP3212936B2 (en) 1997-12-09 1997-12-09 Non-destructive detection method of abnormal chicken eggs

Country Status (1)

Country Link
JP (1) JP3212936B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003065961A (en) * 2001-08-29 2003-03-05 Mayekawa Mfg Co Ltd Nondestructive egg inspection apparatus
JP2004101204A (en) * 2002-09-04 2004-04-02 Shikoku Instrumentation Co Ltd Method and apparatus for inspecting fertilized egg
JP2010008159A (en) * 2008-06-25 2010-01-14 Panasonic Electric Works Co Ltd Visual inspection processing method
US8330809B2 (en) 2008-02-04 2012-12-11 Fps Food Processing Systems, B.V. Vision system with software control for detecting dirt and other imperfections on egg surfaces
CN107064150A (en) * 2017-05-27 2017-08-18 华中农业大学 A kind of brown shell infertile egg and fertile egg identification device and discrimination method based on machine vision technique
CN114898148A (en) * 2022-05-10 2022-08-12 中国农业大学 Egg contamination detection method and system based on deep learning

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003065961A (en) * 2001-08-29 2003-03-05 Mayekawa Mfg Co Ltd Nondestructive egg inspection apparatus
JP2004101204A (en) * 2002-09-04 2004-04-02 Shikoku Instrumentation Co Ltd Method and apparatus for inspecting fertilized egg
US8330809B2 (en) 2008-02-04 2012-12-11 Fps Food Processing Systems, B.V. Vision system with software control for detecting dirt and other imperfections on egg surfaces
JP2010008159A (en) * 2008-06-25 2010-01-14 Panasonic Electric Works Co Ltd Visual inspection processing method
CN107064150A (en) * 2017-05-27 2017-08-18 华中农业大学 A kind of brown shell infertile egg and fertile egg identification device and discrimination method based on machine vision technique
CN114898148A (en) * 2022-05-10 2022-08-12 中国农业大学 Egg contamination detection method and system based on deep learning
CN114898148B (en) * 2022-05-10 2024-04-26 中国农业大学 Egg offset detection method and system based on deep learning

Also Published As

Publication number Publication date
JP3212936B2 (en) 2001-09-25

Similar Documents

Publication Publication Date Title
JP5760310B2 (en) Printed matter inspection apparatus, printed matter inspection method, program, and storage medium
EP0585759B1 (en) Process for detecting and mapping dirt on the surface of a photographic element
US7462827B2 (en) Non-destructive inspection method and apparatus therefor
US6950545B1 (en) Nondestructive inspection method and apparatus
JP6754155B1 (en) Teacher data generator, inspection device and computer program
JP4590553B2 (en) Nondestructive judgment method for ginger damaged grains
JP3333472B2 (en) Non-destructive detection method and device of blood egg in brown chicken egg
JP3212936B2 (en) Non-destructive detection method of abnormal chicken eggs
US11227249B2 (en) Method of providing feedback data indicating quality of food processing performed by an operator
JPH0135295B2 (en)
JP3047168B2 (en) Inspection method of chicken eggs
JP2003216928A (en) Normal/defective confection deciding system
JPH04238592A (en) Automatic bundled bar steel tally device
US5487112A (en) Method and apparatus for time-resolved measurements of lymphocyte function and aggregate structure using computer-automated microscopy
JP2003014580A (en) Inspection device and inspection method
JPH0682390A (en) Method and apparatus for inspecting surface defect
JP3175347B2 (en) Inspection method for foreign substances in sheet products
JPH08145848A (en) Apparatus for inspection of defect of liquid crystal panel
JPH09314071A (en) Visual inspection supporting system
JP2000163582A (en) Method and device for inspecting defect on metallic sample surface
JP7300155B2 (en) Teaching device in solid preparation appearance inspection, and teaching method in solid preparation appearance inspection
JP4264287B2 (en) Defect density inspection apparatus and defect density inspection program
WO2023176707A1 (en) Inspection device for blood product, inspection method, and program
WO2022214660A1 (en) System and method for determining surface cleaning in a food manufacturing facility
JP2000088765A (en) Inspection apparatus for flaw on plane

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Year of fee payment: 7

Free format text: PAYMENT UNTIL: 20080719

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

Free format text: PAYMENT UNTIL: 20080719

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090719

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees