JP3047168B2 - Inspection method of chicken eggs - Google Patents

Inspection method of chicken eggs

Info

Publication number
JP3047168B2
JP3047168B2 JP9255883A JP25588397A JP3047168B2 JP 3047168 B2 JP3047168 B2 JP 3047168B2 JP 9255883 A JP9255883 A JP 9255883A JP 25588397 A JP25588397 A JP 25588397A JP 3047168 B2 JP3047168 B2 JP 3047168B2
Authority
JP
Japan
Prior art keywords
light
egg
eggs
blood
processing
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
JP9255883A
Other languages
Japanese (ja)
Other versions
JPH1156159A (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.)
Hokkaido Prefecture
Original Assignee
Hokkaido Prefecture
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 Hokkaido Prefecture filed Critical Hokkaido Prefecture
Priority to JP9255883A priority Critical patent/JP3047168B2/en
Publication of JPH1156159A publication Critical patent/JPH1156159A/en
Application granted granted Critical
Publication of JP3047168B2 publication Critical patent/JP3047168B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、鶏卵の検査工程で使
用するための、殻の表面に光を集光して内部に透過した
光が散乱し、再び外部に透過した透過光の映像を撮像し
た画像を処理することで不良品検出を行うことを特徴と
する鶏卵検査方法および検査装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image of a transmitted light which is condensed on the surface of a shell and scattered inside, and is transmitted again to the outside for use in an egg egg inspection process. The present invention relates to a method and an apparatus for inspecting a chicken egg, wherein defective products are detected by processing a captured image.

【0002】[0002]

【従来の技術】近年、鶏卵の製品中に血卵や破卵などの
不良品混入に対するクレームが厳しくなっている。この
ため、不良品の排除のために厳重な検査が行われてい
る。その検査方法としては、鶏卵に光を照射すると血卵
は正常卵より全体的に赤色がかったり、赤色がかった塊
が見え、破卵は破れた部分が明るく見えることを利用し
て、簡易的に外乱光を遮蔽した場所において、移送装置
下部方向から蛍光灯などにより照明を行い、上面から人
間が見て判断を行うものであり、正常卵と不良との差が
明確ではなく、また、定量的な基準がないため、人間の
高度な識別能力に頼っており、自動化に用いることは困
難である。
2. Description of the Related Art In recent years, complaints against defective products such as blood eggs and broken eggs in chicken egg products have become severe. For this reason, strict inspections are performed to eliminate defective products. As an inspection method, when hen eggs are irradiated with light, blood eggs are generally redder or have a reddish mass than normal eggs, and egg breaks are simple, taking advantage of the fact that the broken part looks brighter. In a place where disturbance light is shielded, lighting is performed by fluorescent light or the like from the lower part of the transfer device, and humans make judgments by looking from the top, and the difference between normal eggs and defects is not clear, and quantitative Due to lack of standards, it relies on humans' high discrimination ability and is difficult to use for automation.

【0003】[0003]

【発明が解決しようとする課題】鶏卵に単純に光を投光
した場合では、内部で散乱した透過光よりも光の回り込
みなどによる殻の表面の反射光による影響を強く受ける
ため、正常卵(良品)と不良卵との光スペクトルの特定
波長領域の強度差および破れに対する濃淡差が明確でな
く、識別できない。従って、これらの問題を解決できる
鶏卵の検査方法や鶏卵の検査装置の提供が望まれる。
When light is simply projected onto a chicken egg, the reflected light on the shell surface due to the wraparound of the light is more strongly affected than the transmitted light scattered inside. The intensity difference in the specific wavelength region of the light spectrum between the nondefective egg and the defective egg and the difference in shading with respect to breakage are not clear and cannot be identified. Therefore, it is desired to provide a chicken egg inspection method and a chicken egg inspection device capable of solving these problems.

【0004】[0004]

【課題を解決するための手段】そこで、この出願の第一
発明によれば、鶏卵の血卵検査方法および検査装置であ
って、本投光手段は、照明を投光するにあたってファイ
バー照明装置などにより鶏卵の殻の表面へ焦点を充てる
ように集光することにより、殻の表面による光の回り込
みを防ぎ、内部で散乱した透過光のみを観察することに
より内部の血卵状態が明確になることを特徴とする。こ
こで、第二図(a)に本投光手段による正常卵に対する
透過光の光スペクトルおよび第二図(b)に血卵に対す
る透過光の光スペクトルを示す。第二図(a)と(b)
を比較すると約550nm〜約650nmの波長領域で
明らかな差が確認でき、この特定波長領域の光強度の差
を撮像手段により捉えた画像を計測処理および数値化す
ることで定量化でき、血卵判定が可能となる。
Therefore, according to the first invention of this application, there is provided a method and an apparatus for testing a blood egg of a hen egg, wherein the light projecting means is used for emitting a light, such as a fiber lighting apparatus. By focusing the light so that it focuses on the surface of the egg shell, the light is prevented from wrapping around the shell surface, and the inside blood egg state becomes clear by observing only the transmitted light scattered inside. It is characterized by. Here, FIG. 2 (a) shows the light spectrum of the transmitted light with respect to the normal egg by the light emitting means, and FIG. 2 (b) shows the light spectrum of the transmitted light with respect to the blood egg. Fig. 2 (a) and (b)
Can be clearly confirmed in the wavelength region of about 550 nm to about 650 nm, and the difference in light intensity in this specific wavelength region can be quantified by measuring and digitizing an image captured by the imaging means, Judgment becomes possible.

【0005】また、この出願の第二発明によれば、鶏卵
の殻の破れの検査方法および検査装置であって、前記投
光手段により投光してテレビカメラにより撮影した結果
の一例を第三図に示すように、殻の破れの箇所の濃淡に
よるパターンが明確に識別できるようになり、殻の破れ
による表面のテクスチャーの相違やその連結成分、分
布、面積の計数などの処理を行うことで破卵判定が可能
になる。また、本発明による鶏卵検査装置では、投光手
段および撮像手段が鶏卵に対して非接触であるため自動
化ラインへの組み込みが容易である。以上が本発明の特
徴である。
Further, according to the second invention of this application, there is provided a method and an apparatus for inspecting a broken egg shell, wherein an example of a result obtained by projecting light by the light projecting means and photographing by a television camera is described as a third example. As shown in the figure, it becomes possible to clearly identify the pattern due to the shade of the broken shell, and by performing processing such as the difference of the texture of the surface due to the broken shell and the connected components, distribution, area count, etc. Egg breaking judgment becomes possible. Further, in the egg inspection apparatus according to the present invention, since the light emitting means and the imaging means are not in contact with the eggs, it can be easily incorporated into an automated line. The above is the feature of the present invention.

【0006】本発明である特許請求の範囲による鶏卵検
査を説明する。外乱光がない環境内において、鶏卵表面
の光の回り込みがないように殻表面に集光するように投
光する投光手段とそれによる内部での散乱による透過光
を受けて血卵および破卵による不良品を判定するための
撮像手段と処理手段および判定結果出力手段から構成さ
れており、血卵検査では、透過光の波長領域の強度を計
測するための投光手段または撮像手段のどちらか一方ま
たは両方に約550nm〜約650nmの光を透過する
光学フィルターを挿入しているか処理手段に上述の波長
領域の強度差を計測できる能力を備えている。ただし、
550nm以下の波長の光スペクトル強度は鶏卵の状態
にあまり依存しないことから、外乱光が少なく遮光条件
が良好であれば下限値は約550nm以下なら適値とで
きる。破卵検査では、撮像手段により濃淡情報が得ら
れ、殻の破れによる濃淡値の相違による明度の高い部分
のパターンや連結成分の面積、分布などを計測できる能
力を備えている。
[0006] A chicken egg test according to the present invention will be described. In an environment where there is no disturbance light, a light emitting means that emits light so as to converge it on the shell surface so that light on the egg surface does not wrap around, and blood eggs and egg breaks by receiving transmitted light due to scattering inside the shell It comprises an imaging unit for determining a defective product by the processing unit and a determination result output unit. In the blood egg test, either the light emitting unit or the imaging unit for measuring the intensity of the wavelength region of the transmitted light. An optical filter that transmits light of about 550 nm to about 650 nm is inserted in one or both, or the processing means has the ability to measure the intensity difference in the above-mentioned wavelength region. However,
Since the light spectrum intensity at a wavelength of 550 nm or less does not depend much on the state of the egg, the lower limit can be set to an appropriate value if the disturbance light is small and the light shielding conditions are good, if the lower limit is about 550 nm or less. In the egg breaking test, the imaging means obtains density information, and has the ability to measure a pattern of a high brightness portion due to a difference in gray value due to a broken shell, an area and a distribution of connected components, and the like.

【0007】[0007]

【作用】この出願の発明によれば、鶏卵の不良品判定を
行う場合に明確な判定基準値が設定でき、作業者毎の主
観的な基準によるあいまいな判定を排除できる。このこ
とにより製品の品質管理が行える。
According to the invention of the present application, a clear judgment reference value can be set when a defective egg is judged, and an ambiguous judgment based on a subjective standard for each worker can be eliminated. This enables quality control of the product.

【0008】[0008]

【実施例】以下、図面を参照してこの出願の鶏卵の検査
方法および検査装置の実施例について併せて説明する。
しかしながら、説明に用いる各図はこれらの発明が理解
できる程度に概略的に示してあるにすぎない。また、各
図において同様な構成成分については同一の番号を付し
て示し、その重複する説明を省略することもある。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a perspective view of a chicken egg inspection method according to an embodiment of the present invention;
However, the drawings used in the description are only schematically shown to the extent that these inventions can be understood. Also, in each of the drawings, the same components are denoted by the same reference numerals, and duplicate description thereof may be omitted.

【0009】図1は、本発明に係る鶏卵検査装置10の
構成を示した図である。この実施例の鶏卵検査装置10
は、投光手段12、撮像手段14、処理手段16とを具
えており、処理手段の一部である情報処理手段において
血卵と破卵検査手段を有する。このとき、血卵と破卵検
査装置を別々に備えても、一部を共用して構成しても構
わない。
FIG. 1 is a diagram showing the configuration of a chicken egg inspection apparatus 10 according to the present invention. Egg inspection apparatus 10 of this embodiment
Has light emitting means 12, imaging means 14, and processing means 16, and has a blood egg and egg breaking test means in an information processing means which is a part of the processing means. At this time, the blood egg and the egg breaking test apparatus may be separately provided, or a part thereof may be shared.

【0010】ここで、投光手段12は、例えば光源とし
て全波長領域を有するハロゲン電球を用い、光ファイバ
ー等により対象物の鶏卵20の表面に焦点が合うように
照射する投光装置等の公知の投光手段で構成できる。
Here, the light projecting means 12 is a known light projecting device such as a light projecting device which uses a halogen bulb having a full wavelength range as a light source and irradiates the surface of the chicken egg 20 as an object with an optical fiber or the like so as to be focused. It can be composed of light emitting means.

【0011】また、撮像手段14は血卵検査だけを考慮
した場合は、投光手段により投光された波長領域から血
卵と正常卵との受光強度の差異が明確な領域約550n
m〜約650nmの範囲を選択的に取り込めればよいた
め、前記投光手段のように全波長領域の光を照射した場
合は、例えば、簡単のためグリーン透過光フィルタなど
を介して撮像することにより、単純なテレビカメラなど
で構成できる。この実施例では、カラーテレビカメラか
らの信号をRGB信号に分離してそのG画面を用いるこ
とができる画像入力装置により構成する。もちろん、他
の波長用の透過光フィルタなどを用いて構成しても構わ
ない。また、撮像手段を破卵検査に限定すれば、例えば
テレビカメラ、ビデオカメラなどからの映像の濃淡分布
を多値情報として取り込むことができる公知の画像入力
手段で構成できる。この実施例では、血卵検査用受光手
段と兼用とすることからカラーテレビカメラとして、取
り込んだときの濃淡分布を示す情報が、256階調の多
値情報で得られる。
When only the blood egg test is taken into consideration, the imaging means 14 has an area of about 550 n in which the difference in the received light intensity between the blood egg and the normal egg is clear from the wavelength area emitted by the light emitting means.
Since it is sufficient to selectively capture the range of m to about 650 nm, when light in the entire wavelength range is irradiated as in the light projecting means, for example, for simplicity, an image is taken through a green transmission light filter or the like. Thereby, it can be constituted by a simple television camera or the like. In this embodiment, an image input device is provided which can separate a signal from a color television camera into RGB signals and use the G screen. Of course, it may be configured using a transmission light filter for another wavelength. Further, if the imaging means is limited to an egg breaking test, it can be constituted by a known image input means capable of taking in, as multi-valued information, a grayscale distribution of an image from a television camera, a video camera, or the like. In this embodiment, since it is also used as the light receiving unit for blood egg test, as a color television camera, information indicating the grayscale distribution when it is captured can be obtained as multi-level information of 256 gradations.

【0012】また、処理手段16は、この発明に係わる
情報処理手段であり、撮像手段からの入力情報の獲得手
段、判定結果出力情報の出力手段それぞれを構成するも
のであり、これらの手段を実現するためのプログラムを
内蔵した任意好適なものとしてある。例えば、撮像手段
をテレビカメラで構成した場合、テレビカメラの映像を
取り込むための画像入力手段を有し、情報処理手段を実
現するためのプログラムを内蔵したコンピュータにより
構成できる。なお、このコンピュータの一部で構成され
る情報処理手段とは、血卵検査と破卵検査では異なり、
血卵検査では、入力装置を実施例のとおり、カラーテレ
ビカメラとした場合、G画面の鶏卵部分の全部または一
部を抽出し、その濃淡情報を適切な閾値で二値化処理を
し、その頻度分布などを用いて判断する。このとき、二
値化処理の前処理として、濃度階調変換処理による画像
改善を行うことで環境状態の変化に強い処理が可能であ
る。また、破卵検査は、テレビカメラからの濃淡情報を
適切な二値化処理またはエッジ抽出処理などを行うこと
で明度の高い破れ箇所の分布状態を調べ、また、画素の
連結状態を求め、その塊の数、大きさを求め、それらの
情報から判断基準に基づき総合的に判断する。情報処理
手段における閾値や判断基準とするための画素数などの
判断条件の設定は、撮像条件や鶏卵の種類などにより変
わるため、明確にすることはできない。このため、予め
複数種類の条件設定などを組入れて選択することや作業
現場で試験を行い設定を入力するなどの方法により設定
を行う。
The processing means 16 is an information processing means according to the present invention, and constitutes means for acquiring input information from the imaging means and means for outputting judgment result output information, respectively, and realizes these means. Any suitable program incorporating a program for performing For example, when the imaging unit is configured by a television camera, it can be configured by a computer that has an image input unit for capturing an image of the television camera and has a program for realizing the information processing unit. The information processing means that is part of this computer differs from the blood egg test and the egg breaking test.
In the blood egg test, when the input device is a color television camera as in the embodiment, all or a part of the egg portion of the G screen is extracted, and the grayscale information is binarized with an appropriate threshold value. The judgment is made using a frequency distribution or the like. At this time, by performing image improvement by density gradation conversion processing as pre-processing of the binarization processing, processing that is resistant to changes in environmental conditions can be performed. In addition, the egg breaking inspection examines the distribution state of high-brightness broken spots by performing appropriate binarization processing or edge extraction processing on the grayscale information from the TV camera, and also obtains the pixel connection state, The number and size of chunks are determined, and a comprehensive judgment is made based on the information based on the criteria. The setting of the judgment conditions such as the threshold value and the number of pixels to be used as the judgment criterion in the information processing means cannot be clarified because it changes depending on the imaging conditions, the type of eggs, and the like. For this reason, the setting is performed by a method of selecting and incorporating a plurality of types of condition settings in advance, or performing a test at a work site and inputting the settings.

【0013】判定結果出力手段18は、不良品の選別機
械への信号を出力するための手段であり、選別機械に合
わせて構成する必要があるが、実施例では、血卵・破卵
の2個の接点出力により良・不良を接点の入り・切りて
表す構成とした。
The judgment result output means 18 is a means for outputting a signal to a sorting machine for defective products, and needs to be configured in accordance with the sorting machine. A good / bad condition is represented by turning on / off the contacts by the output of individual contacts.

【0014】次に、検査手順について説明する。この説
明をこれまで参照した図1に加え、図4〜図7をも参照
して行う。ここで、図4は、血卵検査方法の実施例にお
ける処理手順を示す流れ図、図5は破卵検査方法の実施
例における処理手順の流れ図である。
Next, the inspection procedure will be described. This description will be made with reference to FIGS. 4 to 7 in addition to FIG. 1 referred to above. Here, FIG. 4 is a flowchart showing a processing procedure in the embodiment of the blood egg testing method, and FIG. 5 is a flowchart of a processing procedure in the embodiment of the egg breaking test method.

【0015】先に、血卵検査方法の実施例における処理
手順について説明する。鶏卵を撮像手段14により、カ
ラー画像のG画面をコンピュータ16に取り込む(図4
のステップS1)。この画像は、0〜255の値の濃度
情報を有するので、濃度値の出現頻度を示すヒストグラ
ムを計算すると図6に示す様なグラフが得られる。図6
の(A)は正常卵、図6の(B)は血卵のヒストグラム
である。装置によって、十分な濃度差が得られる場合
は、このまま、2値化処理を行っても構わないが、濃度
差が充分得られない場合は、濃度階調変換処理(図4の
ステップS2)を行い、画像を改善することにより、次
の2値化処理の閾値を固定化しても安定に検出を行うこ
とが可能になる。実施例では、濃度値5〜63の範囲を
0〜255の範囲に線形変換を行った。ここで用いた値
は、鶏卵の種類や照明装置、カメラレンズの絞りなどの
状態で変わる。濃度階調変換処理により得られたヒスト
グラムを図6に示す。図6の(C)は正常卵、図6の
(D)は血卵画像に対するヒストグラムである。ヒスト
グラムを比較すると図6の(C)では、濃度値約70以
上に鶏卵領域部分に対する画素の濃度が出現するが、図
6の(D)では、濃度値約60以上の濃度値を有する画
素がない。このヒストグラムの濃度値70以上にある画
素数を計数しても構わないが、実施例では2値化処理
(図4のステップS3)を行う。閾値70の固定閾値で
処理を行うと、正常卵は鶏卵領域の画素が抽出される
が、血卵では画素が抽出されない。鶏卵の種類や血卵の
程度で抽出される画素数に相違が出現するため、画素数
を計数して(図4のステップS4)、基準の画素数以下
を血卵と判定できる(図4のステップS5)。この値
は、画像の総画素数や鶏卵の種類、照明装置、カメラな
どの撮像環境に依存するため、実験などにより決定でき
る。
First, the processing procedure in the embodiment of the blood egg test method will be described. The hen egg is captured by the imaging means 14 into the computer 16 on the G screen of the color image (FIG. 4).
Step S1). Since this image has density information of values 0 to 255, a histogram as shown in FIG. 6 is obtained by calculating a histogram indicating the appearance frequency of the density values. FIG.
6A is a histogram of a normal egg, and FIG. 6B is a histogram of a blood egg. If a sufficient density difference can be obtained by the apparatus, the binarization processing may be performed as it is, but if the density difference cannot be sufficiently obtained, the density gradation conversion processing (step S2 in FIG. 4) is performed. By improving the image and improving the image, stable detection can be performed even when the threshold value of the next binarization process is fixed. In the example, linear conversion was performed from the range of density values 5 to 63 to the range of 0 to 255. The value used here changes depending on the type of the egg, the lighting device, the aperture of the camera lens, and the like. FIG. 6 shows a histogram obtained by the density gradation conversion process. FIG. 6C is a histogram for a normal egg, and FIG. 6D is a histogram for a blood egg image. When the histograms are compared, in FIG. 6 (C), the pixel density with respect to the egg region appears at a density value of about 70 or more, but in FIG. 6 (D), the pixel having a density value of about 60 or more has a density value. Absent. Although the number of pixels having a density value of 70 or more in this histogram may be counted, the binarization process (step S3 in FIG. 4) is performed in the embodiment. When processing is performed with the fixed threshold value of the threshold value 70, pixels in the chicken egg region are extracted from normal eggs, but pixels are not extracted from blood eggs. Since a difference appears in the number of pixels to be extracted depending on the type of chicken egg and the degree of blood egg, the number of pixels is counted (step S4 in FIG. 4), and the number of pixels equal to or less than the reference number of pixels can be determined as blood egg (FIG. 4). Step S5). This value depends on the total number of pixels of the image, the type of chicken eggs, the lighting device, the imaging environment such as the camera, and can be determined by experiments or the like.

【0016】次に、破卵検査方法の実施例について説明
する。鶏卵を受光手段14により取り込み、濃淡情報を
得る。本実施例では、血卵検査に続いて処理を行うこと
として、血卵検査のときに取り込んだR、G、B画面か
ら、簡易的な明度値として(R+G+B)/3を濃淡情
報として用いた(図5のステップS6)が輝度が充分得
られていればG画面など特定の1画面をそのまま用いる
ことも可能である。濃度差が十分に得られない場合に
は、画像改善のために濃度階調変換処理を行い(図5の
ステップS7)、このままでは、濃度値が離散化するた
め、平滑化処理(図5のステップS8)を施す。次に、
破れを検出するために、実施例では、エッジ検出処理
(図5のステップS9)により破れの抽出を行ったが、
2値化処理やテクスチャー解析などによる濃度差を抽出
する処理により検出を行っても良い。
Next, an embodiment of the egg breaking inspection method will be described. The egg is taken in by the light receiving means 14 to obtain light and shade information. In the present embodiment, processing is performed after the blood egg test, and (R + G + B) / 3 is used as lightness information as a simple lightness value from the R, G, and B screens captured during the blood egg test. If a sufficient luminance is obtained in (Step S6 in FIG. 5), a specific one screen such as the G screen can be used as it is. If a sufficient density difference cannot be obtained, a density gradation conversion process is performed to improve the image (step S7 in FIG. 5). Step S8) is performed. next,
In the embodiment, in order to detect the break, the break is extracted by the edge detection process (step S9 in FIG. 5).
Detection may be performed by a process of extracting a density difference by binarization processing, texture analysis, or the like.

【0017】エッジ検出結果を2値化処理して破れ抽出
を行うが、エッジ検出結果が2値化処理をするのに充分
な値が得られない場合には、明瞭化のために濃度階調変
換を行った後、2値化処理を行うことで破れ抽出精度が
向上する。実施例では濃度値0〜63を0〜255の範
囲へ濃度階調変換(図5のステップS10)を行い、閾
値32で2値化処理(図5のステップS11)を行っ
た。さらに、連結成分の補修のために膨張処理および縮
退処理を行い(図5のステップS12)、雑音除去処理
を希望する場合には、孤立点除去などの処理を行う(図
5のステップS13)。
The edge detection result is binarized to extract a break. If the edge detection result does not have a value sufficient to perform the binarization process, if the edge detection result cannot be obtained, the density gradation is used for clarity. By performing the binarization processing after the conversion, the accuracy of the tear extraction is improved. In the embodiment, density gradation conversion is performed from the density values 0 to 63 to the range of 0 to 255 (step S10 in FIG. 5), and binarization processing is performed with the threshold value 32 (step S11 in FIG. 5). Further, expansion processing and reduction processing are performed for repairing the connected component (step S12 in FIG. 5), and if noise removal processing is desired, processing such as isolated point removal is performed (step S13 in FIG. 5).

【0018】次に、エッジ検出処理では、鶏卵の輪郭も
抽出されるので、輪郭線の除去処理を行う(図5のステ
ップS14)。例えば、鶏卵を背景と分離するような閾
値で2値化処理を行った画像をエッジ処理における輪郭
線出現画素相当分の複数回、縮退処理を行った画像を準
備しておく。このとき、鶏卵領域部分の濃度値を255
として、この画像とエッジ処理を行った画像の論理積を
計算することで、輪郭を除去したエッジ抽出画像を得る
ことができる。鶏卵と背景の分離は、鶏卵の大きさがあ
る程度想定できることから、p−タイル法による2値化
処理が有効である。本実施例では、縮退回数として雑音
成分も考慮して5回行った。もちろん、輪郭線除去処理
はこの例に限られない。ここまでの処理結果の一例を図
7に示す。
Next, in the edge detection processing, since the contour of the egg is also extracted, the contour is removed (step S14 in FIG. 5). For example, an image is prepared in which an image that has been subjected to the binarization processing with a threshold value that separates the chicken egg from the background has been subjected to the degeneration processing a plurality of times corresponding to the contour appearance pixels in the edge processing. At this time, the concentration value of the egg region was set to 255.
By calculating the logical product of this image and the image subjected to the edge processing, an edge-extracted image from which the contour has been removed can be obtained. Binary processing by the p-tile method is effective for separating the egg from the background because the size of the egg can be assumed to some extent. In this embodiment, the number of times of degeneration is five times in consideration of the noise component. Of course, the contour line removal processing is not limited to this example. FIG. 7 shows an example of the processing results so far.

【0019】得られたエッジ抽出画像をラベリング処理
を行い(図5のステップS15)、連結成分毎にラベル
付けを行う。このとき、一定面積(画素数)以下のラベ
ルは除去する(図5のステップS16)。この結果、残
ったラベルの総数や各ラベル毎の画素数を計数して、例
えば、大きな面積を有するラベルが一つでもあれば不
良、ある程度以上の面積を有するラベルがいくつ以上あ
れば不良などの条件を設定して、良・不良判定を行うこ
とができる(図5のステップS17)。この判定基準
は、計測環境などで異なるため、現場などでの実験によ
り決定する。最後に、判定結果を出力手段に出力する。
本実施例では、血卵検査を行った後で、破卵検査を行っ
ているが、これらの順序の変更や2台のコンピュータな
どにより並列に検査処理を行うなど、処理方法の手順を
限定するものではない。
A labeling process is performed on the obtained edge extracted image (step S15 in FIG. 5), and labeling is performed for each connected component. At this time, labels having a certain area (the number of pixels) or less are removed (step S16 in FIG. 5). As a result, the total number of remaining labels and the number of pixels for each label are counted, and, for example, if at least one label having a large area is defective, if there are at least several labels having a certain area or more, it is determined to be defective. By setting conditions, good / bad judgment can be made (step S17 in FIG. 5). Since this criterion differs depending on the measurement environment and the like, it is determined by an experiment at a site or the like. Finally, the determination result is output to the output means.
In this embodiment, after the blood egg test is performed, the egg breaking test is performed. However, the procedure of the processing method is limited, such as changing the order of these tests or performing the test processing in parallel using two computers or the like. Not something.

【0020】[0020]

【発明の効果】上述した説明から明らかなように、本発
明は、従来人間が行っていた鶏卵の検査工程の自動化を
可能にすると共に、製品の定量的な管理を可能とし、製
品品質の安定化の維持に著しく貢献する。
As is apparent from the above description, the present invention enables the automation of the egg egg inspection process conventionally performed by humans, enables quantitative management of products, and stabilizes product quality. Significantly contribute to the maintenance of

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

【図1】 第一発明および第二発明の実施例の説明図で
ある。
FIG. 1 is an explanatory diagram of an embodiment of the first invention and the second invention.

【図2】 血卵と正常卵の光スペクトルの一例を示す図
である。
FIG. 2 is a diagram showing an example of optical spectra of a blood egg and a normal egg.

【図3】 本投光手段により投光したときの破卵の一例
を示す図である。
FIG. 3 is a diagram showing an example of egg breaking when light is emitted by the present light emitting means.

【図4】 実施例の血卵検査方法の手順を示す流れ図で
ある。
FIG. 4 is a flowchart showing a procedure of a blood egg test method according to the embodiment.

【図5】 実施例の破卵検査方法の手順を示す流れ図で
ある。
FIG. 5 is a flowchart illustrating a procedure of an egg breaking inspection method according to the embodiment.

【図6】 正常卵と血卵のヒストグラムを示した図であ
る。
FIG. 6 is a diagram showing histograms of normal eggs and blood eggs.

【図7】 破卵検査により割れのエッジ部分が抽出され
た様子を示した図である。
FIG. 7 is a diagram showing a state where an edge portion of a crack is extracted by an egg breaking inspection.

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

10:実施例の鶏卵検査装置 12:投光手段 14:受光手段 16:処理手段 18:判定結果出力手段 20:対象となる鶏卵 10: Egg inspection apparatus of the embodiment 12: Light emitting means 14: Light receiving means 16: Processing means 18: Judgment result output means 20: Target egg

───────────────────────────────────────────────────── フロントページの続き (72)発明者 長尾 信一 北海道札幌市北区北19条西11丁目1番地 北海道立工業試験場内 (72)発明者 大村 功 北海道札幌市北区北19条西11丁目1番地 北海道立工業試験場内 (72)発明者 浜田 輝男 北海道札幌市豊平区真栄4条3丁目14番 17号 北海スターチック株式会社内 (72)発明者 村上 由彦 北海道札幌市厚別区下野幌テクノパーク 1丁目2番15号 株式会社エルムデータ 内 審査官 長井 啓子 (58)調査した分野(Int.Cl.7,DB名) A01K 43/00 G01N 21/27 G01N 21/84 G01N 33/08 G06T 1/00 JICSTファイル(JOIS)──────────────────────────────────────────────────の Continued on the front page (72) Shinichi Nagao, Inventor Shinichi Nagano, 1-11, Kita 19-Jo Nishi, Kita-ku, Sapporo, Hokkaido (72) Inventor Isao Omura 11 Kita 19-Jo Nishi, Kita-ku, Sapporo, Hokkaido 1-chome, Hokkaido Industrial Testing Center (72) Inventor Teruo Hamada 4-14-17 Mae, Joyo-ku, Toyohira-ku, Sapporo, Hokkaido In-Hokkaido Static Co., Ltd. No. 2-15 Elm Data Co., Ltd. Examiner Keiko Nagai (58) Field surveyed (Int. Cl. 7 , DB name) A01K 43/00 G01N 21/27 G01N 21/84 G01N 33/08 G06T 1/00 JICST File (JOIS)

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】鶏卵の不良品の検査を行うにあたり、外乱
光を遮蔽した環境内において、光を鶏卵の表面に集光す
るように投光する投光手段を用いて、殼の表面による光
の回折を防ぎ、内部で散乱した透過光を撮像して得られ
る画像について、血卵と正常卵との差異が明確な光スペ
クトル領域である約550nm〜約650nmの範囲の
波長領域の光を透過する光学フィルタを、投光側または
撮像側のどちらか一方、あるいは両方に具えた装置によ
り撮像し、差異を数値化するための計測処理を施すこと
により、内部に血、血塊、肉片の混入した血卵を検出す
ることを特徴とする鶏卵の検査方法。
(1) Disturbance in inspecting defective eggs.
Focus light on the egg surface in a light-shielded environment
The light from the surface of the shell using the light emitting means
Is obtained by imaging transmitted light scattered inside.
Optical spectroscopy that clearly shows the difference between blood and normal eggs
In the range of about 550 nm to about 650 nm,
An optical filter that transmits light in the wavelength range
Depending on the device provided on one or both of the imaging side
And perform measurement processing to quantify the difference
Detects blood, blood clots, and blood eggs mixed with meat fragments
A method for inspecting chicken eggs, characterized in that:
【請求項2】鶏卵の不良品の検査を行うにあたり、外乱
光を遮蔽した環境内において、光を鶏卵の表面に集光す
るように投光する投光手段を用いて撮像した鶏卵の透過
画像について、明るさを表す濃淡画像情報などを基に、
殻の破れにより生じる明るい箇所を抽出して、その形状
パターンの連結成分の面積、分布状態などを計測して殼
の破れた破卵を検出することを特徴とする鶏卵の検査方
法。
2. In the inspection of defective eggs, there is a disturbance.
Focus light on the egg surface in a light-shielded environment
Transmission of Eggs Imaged by Light Emitting Means
For images, based on grayscale image information indicating brightness, etc.
Extract bright spots caused by shell tearing
Measure the area and distribution state of connected components of the pattern and shell
Method of inspecting chicken eggs characterized by detecting broken egg breaking
Law.
JP9255883A 1997-08-15 1997-08-15 Inspection method of chicken eggs Expired - Fee Related JP3047168B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9255883A JP3047168B2 (en) 1997-08-15 1997-08-15 Inspection method of chicken eggs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9255883A JP3047168B2 (en) 1997-08-15 1997-08-15 Inspection method of chicken eggs

Publications (2)

Publication Number Publication Date
JPH1156159A JPH1156159A (en) 1999-03-02
JP3047168B2 true JP3047168B2 (en) 2000-05-29

Family

ID=17284898

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9255883A Expired - Fee Related JP3047168B2 (en) 1997-08-15 1997-08-15 Inspection method of chicken eggs

Country Status (1)

Country Link
JP (1) JP3047168B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6637599B1 (en) 1999-04-23 2003-10-28 Kabushiki Kaisha Naberu Device for monitoring the normal operation of an apparatus for detecting a physical characteristic of chicken eggs
JP2002310940A (en) * 2001-04-19 2002-10-23 Shibuya Kogyo Co Ltd Product inspection method
JP2003065961A (en) * 2001-08-29 2003-03-05 Mayekawa Mfg Co Ltd Nondestructive egg inspection apparatus
JP5090719B2 (en) * 2006-12-04 2012-12-05 株式会社ヤマモト Chick sex determination device and chick sex determination program
WO2021144825A1 (en) * 2020-01-16 2021-07-22 Eppos S.R.L. Apparatus for detecting optical properties of an object

Also Published As

Publication number Publication date
JPH1156159A (en) 1999-03-02

Similar Documents

Publication Publication Date Title
US6396949B1 (en) Machine vision methods for image segmentation using multiple images
JP4590553B2 (en) Nondestructive judgment method for ginger damaged grains
JP2007078540A (en) Visual inspection method and visual inspection device
WO2011086634A1 (en) Liquid crystal panel inspection method and device
KR20140091916A (en) Inspection Method For Display Panel
JP2001184510A (en) Defect detecting method
JPH09210785A (en) Method for detecting defective part of wood
JPH07218451A (en) Device for optically inspecting steel plate for surface flaw
JP3047168B2 (en) Inspection method of chicken eggs
JP4184511B2 (en) Method and apparatus for defect inspection of metal sample surface
JP3333568B2 (en) Surface defect inspection equipment
JP2001021332A (en) Surface inspecting device and its method
JP4580122B2 (en) Detecting foreign matter in liquid
JP4216485B2 (en) Pattern inspection method and apparatus
KR101993654B1 (en) Inspecting apparatus mura of display panel and method thereof
JP6623545B2 (en) Inspection system, inspection method, program, and storage medium
JP2003014580A (en) Inspection device and inspection method
JPH09312317A (en) Flip chip junction inspection method and device
JPH0711414B2 (en) Glass bottle uneven thickness inspection method
JP2000163582A (en) Method and device for inspecting defect on metallic sample surface
JP2004286708A (en) Defect detection apparatus, method, and program
JPH07113758A (en) Binary calculating method in appearance inspection device
JP2008292398A (en) Method of inspecting floating defect of component electrode and substrate inspecting device
JP3175347B2 (en) Inspection method for foreign substances in sheet products
JPH0682390A (en) Method and apparatus for inspecting surface defect

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

LAPS Cancellation because of no payment of annual fees