CN117243150A - Hatching egg screening method and system for hatching - Google Patents
Hatching egg screening method and system for hatching Download PDFInfo
- Publication number
- CN117243150A CN117243150A CN202311520368.6A CN202311520368A CN117243150A CN 117243150 A CN117243150 A CN 117243150A CN 202311520368 A CN202311520368 A CN 202311520368A CN 117243150 A CN117243150 A CN 117243150A
- Authority
- CN
- China
- Prior art keywords
- screened
- hatching
- light
- hatching eggs
- eggs
- 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
- 230000012447 hatching Effects 0.000 title claims abstract description 215
- 238000012216 screening Methods 0.000 title claims abstract description 119
- 238000000034 method Methods 0.000 title claims abstract description 35
- 235000013601 eggs Nutrition 0.000 claims abstract description 238
- 239000013598 vector Substances 0.000 claims abstract description 85
- 238000011156 evaluation Methods 0.000 claims abstract description 83
- 238000003384 imaging method Methods 0.000 claims abstract description 54
- 238000012360 testing method Methods 0.000 claims abstract description 32
- 238000001514 detection method Methods 0.000 claims abstract description 20
- 238000010191 image analysis Methods 0.000 claims abstract description 15
- 230000008030 elimination Effects 0.000 claims abstract description 7
- 238000003379 elimination reaction Methods 0.000 claims abstract description 7
- 239000011159 matrix material Substances 0.000 claims description 53
- 210000003278 egg shell Anatomy 0.000 claims description 19
- 102000002322 Egg Proteins Human genes 0.000 claims description 18
- 108010000912 Egg Proteins Proteins 0.000 claims description 18
- 238000004458 analytical method Methods 0.000 claims description 15
- 238000013507 mapping Methods 0.000 claims description 10
- 230000008859 change Effects 0.000 claims description 8
- 239000012535 impurity Substances 0.000 claims description 7
- 230000005540 biological transmission Effects 0.000 claims description 6
- 238000005286 illumination Methods 0.000 claims description 6
- 230000009466 transformation Effects 0.000 claims description 6
- 239000006185 dispersion Substances 0.000 claims description 5
- 238000012163 sequencing technique Methods 0.000 claims description 5
- 230000007613 environmental effect Effects 0.000 claims description 4
- 238000009432 framing Methods 0.000 claims description 3
- 238000012545 processing Methods 0.000 claims description 3
- 238000012935 Averaging Methods 0.000 claims description 2
- 230000009286 beneficial effect Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000002834 transmittance Methods 0.000 description 3
- 238000000605 extraction Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 239000002245 particle Substances 0.000 description 2
- 241000272814 Anser sp. Species 0.000 description 1
- 230000002411 adverse Effects 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 230000035515 penetration Effects 0.000 description 1
- 238000012797 qualification Methods 0.000 description 1
- 230000001131 transforming effect Effects 0.000 description 1
Classifications
-
- A—HUMAN NECESSITIES
- A01—AGRICULTURE; FORESTRY; ANIMAL HUSBANDRY; HUNTING; TRAPPING; FISHING
- A01K—ANIMAL HUSBANDRY; AVICULTURE; APICULTURE; PISCICULTURE; FISHING; REARING OR BREEDING ANIMALS, NOT OTHERWISE PROVIDED FOR; NEW BREEDS OF ANIMALS
- A01K43/00—Testing, sorting or cleaning eggs ; Conveying devices ; Pick-up devices
- A01K43/04—Grading eggs
- A01K43/08—Grading eggs according to weight
-
- A—HUMAN NECESSITIES
- A01—AGRICULTURE; FORESTRY; ANIMAL HUSBANDRY; HUNTING; TRAPPING; FISHING
- A01K—ANIMAL HUSBANDRY; AVICULTURE; APICULTURE; PISCICULTURE; FISHING; REARING OR BREEDING ANIMALS, NOT OTHERWISE PROVIDED FOR; NEW BREEDS OF ANIMALS
- A01K43/00—Testing, sorting or cleaning eggs ; Conveying devices ; Pick-up devices
- A01K43/04—Grading eggs
- A01K43/06—Grading eggs according to size
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N33/00—Investigating or analysing materials by specific methods not covered by groups G01N1/00 - G01N31/00
- G01N33/02—Food
- G01N33/08—Eggs, e.g. by candling
- G01N33/085—Eggs, e.g. by candling by candling
Landscapes
- Life Sciences & Earth Sciences (AREA)
- Environmental Sciences (AREA)
- Animal Husbandry (AREA)
- Biodiversity & Conservation Biology (AREA)
- Engineering & Computer Science (AREA)
- Food Science & Technology (AREA)
- Health & Medical Sciences (AREA)
- Chemical & Material Sciences (AREA)
- Medicinal Chemistry (AREA)
- Physics & Mathematics (AREA)
- Analytical Chemistry (AREA)
- Biochemistry (AREA)
- General Health & Medical Sciences (AREA)
- General Physics & Mathematics (AREA)
- Immunology (AREA)
- Pathology (AREA)
- Investigating Or Analysing Materials By Optical Means (AREA)
Abstract
The invention provides a hatching egg screening method and a hatching egg screening system, which relate to the field of hatching egg screening, and the method comprises the following steps: detecting the weight of the hatching eggs to be screened, and evaluating the weight of the hatching eggs to be screened by combining a standard weight range; performing imaging detection on the hatching eggs to be screened, determining image feature vectors of the hatching eggs to be screened, and obtaining imaging evaluation of the hatching eggs to be screened based on an image analysis model; based on weight evaluation and imaging evaluation, carrying out preliminary screening on the hatching eggs to be screened; and carrying out light test on the eggs subjected to preliminary screening to obtain light vectors, and carrying out reflection light elimination on the light vectors to realize secondary screening of the eggs subjected to preliminary screening, and improving the screening accuracy of the eggs through multi-angle evaluation screening.
Description
Technical Field
The invention relates to the technical field of hatching egg screening, in particular to a hatching egg screening method and system for hatching.
Background
The hatching egg hatching is a longer process, has higher requirements on environment, and can reduce loss by detecting unqualified hatching eggs as early as possible in the hatching process.
At present, more hatching eggs are screened based on the basic characteristics of the hatching eggs, such as the weight, transverse diameter, vertical diameter and the like, and the screening process can not ensure the screening accuracy and has a certain adverse effect on the subsequent hatching.
Therefore, the invention provides a hatching egg screening method and system.
Disclosure of Invention
The invention provides an hatching egg screening method and system for hatching eggs, which are used for respectively carrying out weight evaluation and imaging evaluation on the hatching eggs to be screened through weight detection and imaging detection on the eggs to be screened, further carrying out preliminary screening on the hatching eggs to be screened, carrying out light test on the preliminarily screened hatching eggs, carrying out secondary screening on the preliminarily screened hatching eggs, and improving the screening accuracy of the hatching eggs through multi-angle evaluation screening.
The invention provides an hatching egg screening method for hatching, which comprises the following steps:
step 1: detecting the weight of the hatching eggs to be screened, and evaluating the weight of the hatching eggs to be screened by combining a standard weight range;
step 2: performing imaging detection on the hatching eggs to be screened, determining image feature vectors of the hatching eggs to be screened, and obtaining imaging evaluation of the hatching eggs to be screened based on an image analysis model;
step 3: based on weight evaluation and imaging evaluation, carrying out primary screening on the hatching eggs to be screened;
step 4: and carrying out light test on the eggs subjected to preliminary screening to obtain light vectors, and eliminating reflected light of the light vectors to realize secondary screening of the eggs subjected to preliminary screening.
Preferably, the weight detection is performed on the hatching eggs to be screened, and the weight evaluation is performed on the hatching eggs to be screened by combining a standard weight range, including:
detecting the weight of the hatching eggs to be screened based on the pressure sensor, and determining the distance between the weight of the hatching eggs to be screened and the center of the standard weight by combining the standard weight range;
and evaluating the weight of the hatching eggs to be screened based on the distance between the hatching eggs to be screened and the standard weight center and the weight dispersion of the historically screened hatching eggs.
Preferably, the imaging detection is performed on the hatching eggs to be screened, the image feature vector of the hatching eggs to be screened is determined, and the imaging evaluation of the hatching eggs to be screened is obtained based on an image analysis model, including:
shooting the hatching eggs to be screened to obtain multi-angle images of the hatching eggs to be screened;
performing stitching analysis on the multi-angle images to determine an overlapping area;
based on the overlapping area and the shooting angle of each multi-angle image, splicing the multi-angle images, and determining a three-dimensional image of the hatching eggs to be screened;
determining the size characteristics of hatching eggs to be screened based on the size and shooting scaling of the three-dimensional image;
determining eggshell characteristics of the hatching eggs to be screened based on pixel analysis of the three-dimensional image;
determining an image feature vector of the hatching eggs to be screened according to the size features and eggshell features of the hatching eggs to be screened;
inputting the image feature vector into an image analysis model, and performing imaging evaluation on the hatching eggs to be screened.
Preferably, performing stitching analysis on the multi-angle image to determine an overlapping area, including:
randomly selecting one of the multi-angle images as a standard image, and taking the rest multi-angle images as spliced images;
respectively unfolding and projecting the standard image and the spliced image into a plane coordinate system, and processing the standard image and the spliced image based on a preset spherical transformation matrix to obtain a standard plane image and a spliced plane image;
extracting features of the standard plane image and the spliced plane image, and determining a first feature vector of the standard plane image and a second feature vector of the spliced image;
matching the first feature vector with each second feature vector based on a preset matching algorithm, and determining the matching degree of the first feature vector and each second feature vector;
and determining adjacent images of the standard image according to the matching degree, and further determining the overlapping area of the standard image and the adjacent images.
Preferably, the preliminary screening of the hatching eggs to be screened is performed based on weight evaluation and imaging evaluation, and comprises the following steps:
acquiring weight evaluation and imaging evaluation of all the historically screened hatching eggs, establishing an evaluation normal distribution map matched with each hatching egg screening index, and framing out an effective interval based on the evaluation normal distribution map;
judging whether all index values based on the weight evaluation and imaging evaluation of the hatching eggs to be screened fall in corresponding effective intervals;
if the hatching eggs fall on the screening eggs, the hatching eggs to be screened are reserved;
otherwise, eliminating the hatching eggs to be screened.
Preferably, the light test is carried out on the hatching eggs after preliminary screening to obtain light vectors, and reflection light elimination is carried out on the light vectors, so that the secondary screening of the hatching eggs after preliminary screening is realized, and the method comprises the following steps:
performing light ray test on the appointed position of the hatching eggs subjected to preliminary screening based on light rays of different frequency bands to obtain light ray vectors of each frequency band;
constructing and obtaining an initial ray matrix based on all ray vectors;
determining the magnification N1 of a designated position on the surface of the eggshell based on the ray radius of the test ray;
the method comprises the steps of carrying out a first treatment on the surface of the Wherein (1)>Representing the ray radius of the test ray; />A position radius representing the specified position; />Representing an upward rounding symbol; />Represents the concentrated ray radius of the corresponding test ray, and +.>;
Acquiring the corresponding amplified designated position with a radius ofThe concave-convex condition of each position point in the block area, and obtaining the comprehensive reflection factor of the corresponding block area;
the method comprises the steps of carrying out a first treatment on the surface of the Wherein (1)>Representing the comprehensive reflection factors based on the corresponding designated positions in the corresponding frequency bands; />Representation and average recess depth->Matched reflection coefficients; />Representing and averaging bump heightsMatched reflection coefficients; />Represents the average pit depth based on pit points; />Representation baseAverage bump height at bump point; n1 represents the number of concave points with the concave depth being larger than a preset depth; />Representing the total number of concave points in the block area; m1 represents the number of protruding points with the height of the protrusions being larger than a preset height; m2 represents the total number of protruding points in the block region;represents the average pit depth based on n1 pit points; />Represents the average bump height based on m1 bump points;
determining reflection light rays at corresponding designated positions based on different frequency bands based on the comprehensive reflection factors, and eliminating the reflection light rays of corresponding elements in the initial light ray matrix to obtain a first light ray matrix;
based on the light ray specificity of the light rays in different frequency bands, analyzing the light ray columns in the first light ray matrix, and judging whether the light ray columns meet the frequency band change standard or not;
if yes, reserving the corresponding ray column;
if the first illumination angle is not met, searching elements which are not met, capturing environmental information of the position of the egg after the preliminary screening, and capturing a first illumination angle of a corresponding light line and the egg after the preliminary screening;
determining a first adjustment coefficient from a first parameter mapping table based on the environment information and the first irradiation angle, and performing first adjustment on the unsatisfied elements;
judging whether the light rays meet the light transmission consistency standard or not, and if so, reserving the corresponding light rays;
if the information is not satisfied, respectively acquiring second irradiation angles based on different designated positions and impurity information in an irradiation line based on the second irradiation angles in the same frequency band;
determining a second adjustment coefficient corresponding to the second irradiation angle from a second parameter mapping table based on the second irradiation angle and the impurity information, and performing second adjustment on the corresponding element;
and comparing the second light matrix obtained according to the first adjusting result and the second adjusting result with the standard light range matrix, judging whether the first screened hatching eggs are qualified or not if the first light matrix and the second light matrix are in the corresponding ranges, and eliminating the first light matrix and the second light matrix.
Preferably, constructing an initial ray matrix based on all ray vectors includes:
ordering the frequency bands corresponding to all the ray vectors;
and constructing and obtaining an initial ray matrix based on the sequencing result and all ray vectors.
The invention provides an hatching egg screening system for hatching, comprising:
the weight evaluation module is as follows: detecting the weight of the hatching eggs to be screened, and evaluating the weight of the hatching eggs to be screened by combining a standard weight range;
imaging evaluation module: performing imaging detection on the hatching eggs to be screened, determining image feature vectors of the hatching eggs to be screened, and obtaining imaging evaluation of the hatching eggs to be screened based on an image analysis model;
and a primary screening module: based on weight evaluation and imaging evaluation, carrying out primary screening on the hatching eggs to be screened;
and (5) a secondary screening module: and carrying out light test on the eggs subjected to preliminary screening to obtain light vectors, and eliminating reflected light of the light vectors to realize secondary screening of the eggs subjected to preliminary screening.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the written description and drawings.
The technical scheme of the invention is further described in detail through the drawings and the embodiments.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate the invention and together with the embodiments of the invention, serve to explain the invention. In the drawings:
FIG. 1 is a flow chart of a method for screening hatching eggs for hatching in an embodiment of the present invention;
fig. 2 is a block diagram of an hatching egg screening system for hatching in an embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described below with reference to the accompanying drawings, it being understood that the preferred embodiments described herein are for illustration and explanation of the present invention only, and are not intended to limit the present invention.
The embodiment of the invention provides a hatching egg screening method for hatching, which is shown in figure 1 and comprises the following steps:
step 1: detecting the weight of the hatching eggs to be screened, and evaluating the weight of the hatching eggs to be screened by combining a standard weight range;
step 2: performing imaging detection on the hatching eggs to be screened, determining image feature vectors of the hatching eggs to be screened, and obtaining imaging evaluation of the hatching eggs to be screened based on an image analysis model;
step 3: based on weight evaluation and imaging evaluation, carrying out primary screening on the hatching eggs to be screened;
step 4: and carrying out light test on the eggs subjected to preliminary screening to obtain light vectors, and eliminating reflected light of the light vectors to realize secondary screening of the eggs subjected to preliminary screening.
In this embodiment, the weight detection is performed based on a pressure sensor, and the standard weight range is set in advance according to the type of hatching eggs, for example, the standard weight range of small goose eggs is 118g-135g, and the weight evaluation is determined according to the ratio of the distance between the hatching eggs to be screened and the standard weight center to the weight dispersion.
In this embodiment, the imaging detection is to perform multi-angle shooting on the egg to be detected, determine a three-dimensional image of the egg to be detected, and further determine size characteristics and eggshell characteristics, and the image characteristic vector is determined based on the size characteristics and eggshell characteristics of the egg to be detected, for example, the image characteristic vector= [ horizontal diameter vertical diameter eggshell color.+ -.), and the image analysis model is trained in advance according to the image characteristic vector and evaluation of the egg.
In the embodiment, the preliminary screening is to establish an evaluation normal distribution diagram according to the weight evaluation and imaging evaluation of all the historical screening hatching eggs, determine an effective interval and screen according to whether the weight evaluation and imaging evaluation of the hatching eggs to be screened are effective.
In this embodiment, the light test is to test the position of the hatching eggs to be screened based on different frequency bands, the light vector= [ incident angle incident light intensity..+ -. ], the reflected light elimination is determined based on the comprehensive reflection factor, the screening is to judge rows and columns according to the light matrix formed by the light vector after the reflected light elimination, the elements are determined to be unsatisfied, then the adjustment is performed, and the screening is performed after the comparison according to the adjusted light matrix and the standard light range matrix.
The beneficial effects of the technical scheme are as follows: through carrying out weight detection and imaging detection to the egg to be screened, carry out weight evaluation and imaging evaluation to the egg to be screened respectively, and then carry out preliminary screening to the egg to be screened, carry out light test to the egg after preliminary screening, carry out the screening again to the egg after preliminary screening, through the evaluation screening of multi-angle, can improve the accuracy that the egg was screened.
The embodiment of the invention provides a hatching egg screening method for hatching, which is used for detecting the weight of hatching eggs to be screened and evaluating the weight of the hatching eggs to be screened by combining a standard weight range, and comprises the following steps:
detecting the weight of the hatching eggs to be screened based on the pressure sensor, and determining the distance between the weight of the hatching eggs to be screened and the center of the standard weight by combining the standard weight range;
and evaluating the weight of the hatching eggs to be screened based on the distance between the hatching eggs to be screened and the standard weight center and the weight dispersion of the historically screened hatching eggs.
In this example, the standard weight center refers to the mode of the standard egg mass of the egg to be screened, and the distance between the egg to be screened and the standard weight center refers to the difference between the weight of the egg to be screened and the standard weight center.
The beneficial effects of the technical scheme are as follows: the weight of the hatching eggs to be screened is detected through the pressure sensor, the distance between the weight of the hatching eggs to be screened and the center of the standard weight is determined by combining the standard weight range, and the weight evaluation is carried out on the hatching eggs to be screened based on the weight dispersion of the historically screened hatching eggs, so that a foundation is laid for the subsequent primary screening.
The embodiment of the invention provides an hatching egg screening method for hatching, which comprises the steps of carrying out imaging detection on hatching eggs to be screened, determining image feature vectors of the hatching eggs to be screened, and obtaining imaging evaluation of the hatching eggs to be screened based on an image analysis model, wherein the method comprises the following steps:
shooting the hatching eggs to be screened to obtain multi-angle images of the hatching eggs to be screened;
performing stitching analysis on the multi-angle images to determine an overlapping area;
based on the overlapping area and the shooting angle of each multi-angle image, splicing the multi-angle images, and determining a three-dimensional image of the hatching eggs to be screened;
determining the size characteristics of hatching eggs to be screened based on the size and shooting scaling of the three-dimensional image;
determining eggshell characteristics of the hatching eggs to be screened based on pixel analysis of the three-dimensional image;
determining an image feature vector of the hatching eggs to be screened according to the size features and eggshell features of the hatching eggs to be screened;
inputting the image feature vector into an image analysis model, and performing imaging evaluation on the hatching eggs to be screened.
In this embodiment, the multi-angle image is photographed based on a preset angle, for example, six angles of up, down, left, right, front, rear.
In this embodiment, the overlapping area is determined by determining adjacent images and thus overlapping areas based on matching the multi-angle images.
In this embodiment, the three-dimensional image is obtained by stitching adjacent multi-angle images according to the overlapping area and rotating the stitched portion based on the photographing angle.
In this embodiment, the shooting scale is determined according to the actual size and shooting size of the reference object, for example, the reference object is 10cm long, the shooting length is 5cm, and the shooting scale is 2:1, the size characteristics refer to the transverse diameter, the vertical diameter and the like of the hatching eggs to be detected.
In this embodiment, the pixel analysis refers to color analysis or the like of a three-dimensional image, and the eggshell characteristics refer to the color of the hatching eggs to be screened, the smoothness of the eggshells, and the like.
The beneficial effects of the technical scheme are as follows: the multi-angle images of the hatching eggs to be screened are spliced, the three-dimensional images of the hatching eggs to be screened are determined, the size characteristics and the eggshell characteristics are respectively determined based on shooting scaling and pixel analysis, the image characteristic vectors are constructed and input into an image analysis model, imaging evaluation is determined, and a foundation is laid for preliminary screening to follow-up.
The embodiment of the invention provides an hatching egg screening method for hatching, which is used for carrying out splicing analysis on the multi-angle images to determine an overlapping area and comprises the following steps:
randomly selecting one of the multi-angle images as a standard image, and taking the rest multi-angle images as spliced images;
respectively unfolding and projecting the standard image and the spliced image into a plane coordinate system, and processing the standard image and the spliced image based on a preset spherical transformation matrix to obtain a standard plane image and a spliced plane image;
extracting features of the standard plane image and the spliced plane image, and determining a first feature vector of the standard plane image and a second feature vector of the spliced image;
matching the first feature vector with each second feature vector based on a preset matching algorithm, and determining the matching degree of the first feature vector and each second feature vector;
and determining adjacent images of the standard image according to the matching degree, and further determining the overlapping area of the standard image and the adjacent images.
In this embodiment, the preset spherical transformation matrix is set in advance, and is an image transformation tool or an image transformation rule required for transforming the standard image and the stitched image into the corresponding planar image, where the standard planar image and the stitched planar image are images corresponding to the standard image and the stitched image after being projected to the planar coordinate system.
In this embodiment, feature extraction is to extract eggshell features in an image, such as eggshell radians, concave-convex conditions, and the like, a first feature vector= [ marking point 1 radian marking point 2 concave-convex conditions. ], and a second feature vector is similar to the first feature vector.
In this embodiment, the preset matching algorithm is set in advance, and is used to determine the matching degree between the feature vectors.
In this embodiment, the adjacent image is a stitched image with a matching degree above a preset matching degree, which is set in advance, and may be 30%, and the overlapping area is a matching area of the standard image and the adjacent image.
The beneficial effects of the technical scheme are as follows: the standard images and the spliced images are respectively unfolded and projected into a plane coordinate system through random selection, so that the standard plane images and the spliced plane images are obtained, feature extraction is carried out, a first feature vector of the standard plane images and a second feature vector of the spliced images are determined, vector matching is carried out, adjacent images are determined based on matching degree, and further an overlapping area is determined, so that a foundation is laid for the follow-up determination of three-dimensional images of hatching eggs to be screened.
The embodiment of the invention provides a hatching egg screening method for hatching, which is used for carrying out preliminary screening on hatching eggs to be screened based on weight evaluation and imaging evaluation and comprises the following steps:
acquiring weight evaluation and imaging evaluation of all the historically screened hatching eggs, establishing an evaluation normal distribution map matched with each hatching egg screening index, and framing out an effective interval based on the evaluation normal distribution map;
judging whether all index values based on the weight evaluation and imaging evaluation of the hatching eggs to be screened fall in corresponding effective intervals;
if the hatching eggs fall on the screening eggs, the hatching eggs to be screened are reserved;
otherwise, eliminating the hatching eggs to be screened.
In this embodiment, the effective interval refers to an interval determined based on a percentage, for example, 95.44% of the effective interval is (μ -2σ, μ+2σ), μ represents a desire for a corresponding normal distribution, and σ represents a variance of the corresponding normal distribution.
The beneficial effects of the technical scheme are as follows: through weight evaluation and imaging evaluation of all historically screened hatching eggs, an evaluation normal distribution diagram matched with each hatching egg screening index is established, an effective interval is selected in a frame, and whether the weight evaluation and imaging evaluation of the hatching eggs to be screened fall in the corresponding effective interval is judged for screening, so that the screening accuracy of the hatching eggs can be improved.
The embodiment of the invention provides a hatching egg screening method for hatching, which is used for carrying out light test on a preliminarily screened hatching egg to obtain a light vector, and carrying out reflection light elimination on the light vector to realize secondary screening of the preliminarily screened hatching egg, and comprises the following steps:
performing light ray test on the appointed position of the hatching eggs subjected to preliminary screening based on light rays of different frequency bands to obtain light ray vectors of each frequency band;
constructing and obtaining an initial ray matrix based on all ray vectors;
determining the magnification N1 of a designated position on the surface of the eggshell based on the ray radius of the test ray;
the method comprises the steps of carrying out a first treatment on the surface of the Wherein (1)>Representing the ray radius of the test ray; />A position radius representing the specified position; />Representing an upward rounding symbol; />Represents the concentrated ray radius of the corresponding test ray, and;
acquiring the corresponding amplified designated position with a radius ofThe concave-convex condition of each position point in the block area, and obtaining the comprehensive reflection factor of the corresponding block area;
the method comprises the steps of carrying out a first treatment on the surface of the Wherein (1)>Representing the comprehensive reflection factors based on the corresponding designated positions in the corresponding frequency bands; />Representation and average recess depth->Matched reflection coefficients; />Representing and average bump height->Matched reflection coefficients; />Represents the average pit depth based on pit points; />Representing an average bump height based on the bump point; n1 represents the number of concave points with the concave depth being larger than a preset depth; />Representing the total number of concave points in the block area; m1 represents a protrusion point having a protrusion height greater than a preset heightA number of; m2 represents the total number of protruding points in the block region; />Represents the average pit depth based on n1 pit points; />Represents the average bump height based on m1 bump points;
determining reflection light rays at corresponding designated positions based on different frequency bands based on the comprehensive reflection factors, and eliminating the reflection light rays of corresponding elements in the initial light ray matrix to obtain a first light ray matrix;
based on the light ray specificity of the light rays in different frequency bands, analyzing the light ray columns in the first light ray matrix, and judging whether the light ray columns meet the frequency band change standard or not;
if yes, reserving the corresponding ray column;
if the first illumination angle is not met, searching elements which are not met, capturing environmental information of the position of the egg after the preliminary screening, and capturing a first illumination angle of a corresponding light line and the egg after the preliminary screening;
determining a first adjustment coefficient from a first parameter mapping table based on the environment information and the first irradiation angle, and performing first adjustment on the unsatisfied elements;
judging whether the light rays meet the light transmission consistency standard or not, and if so, reserving the corresponding light rays;
if the information is not satisfied, respectively acquiring second irradiation angles based on different designated positions and impurity information in an irradiation line based on the second irradiation angles in the same frequency band;
determining a second adjustment coefficient corresponding to the second irradiation angle from a second parameter mapping table based on the second irradiation angle and the impurity information, and performing second adjustment on the corresponding element;
and comparing the second light matrix obtained according to the first adjusting result and the second adjusting result with the standard light range matrix, judging whether the first screened hatching eggs are qualified or not if the first light matrix and the second light matrix are in the corresponding ranges, and eliminating the first light matrix and the second light matrix.
In this embodiment, the specified position specification is four equal points on the circle of maximum diameter perpendicular to the elliptical surface of the hatching egg and two positions corresponding to the top end of the hatching egg.
In this embodiment, the light vector includes six test results, and the test results can be directly obtained according to the light transmittance of the light test results.
In this embodiment, the initial ray matrix =。
In this embodiment, the ray radius refers to the ray emission radius of the ray emitting device, and generally, the closer to the ray, the greater the intermediate energy, and the smaller the edge energy.
In this embodiment, the purpose of the amplification is to provide a reasonable analysis of the reflected light.
In this embodiment, the reflected light is obtained from a light database based on different comprehensive reflection factors, the incident light intensity and the incident light angle of the corresponding frequency band, and the reflection conditions matched with the incident light intensity and the incident light angle, so that the corresponding reflected light can be directly obtained.
In this embodiment, the elimination of the reflected light is to ensure the reliability of the subsequent analysis of whether the hatching eggs are qualified or not based on the matrix, and avoid unreasonable qualification analysis due to the existence of the reflected light.
In this embodiment, the reflected light is eliminated by adjusting the value of the element corresponding to the position where the reflected light exists, for example, the original test value is a1, and the adjusted test value is b1.
In this embodiment, the first ray matrix=。
In this embodiment, the light specificity refers to the light penetration capability, etc., the frequency band change standard refers to the light specificity change corresponding to the frequency band change, for example, the light transmission capability of the frequency band 1 is higher than the light transmission capability of the frequency band 2, and so on, after the hatching eggs are measured in different frequency bands, a certain regularity exists, and the regularity is considered to be satisfied as the frequency band change standard.
In this embodiment, the environmental element refers to light in the environment, and the first irradiation angle is an angle between the incident light and the eggshell, and the second irradiation angle is similar to the first irradiation angle.
In this embodiment, the first adjustment parameter mapping table is set in advance, and includes environment information, an irradiation angle and corresponding adjustment coefficients, so as to determine the adjustment coefficients according to the environment information and the irradiation angle, the second parameter mapping table is similar to the first parameter mapping table, the first adjustment coefficients are adjustment coefficients determined from the first adjustment parameter table according to the corresponding first irradiation angle and the environment information, the second adjustment coefficients are determined in a manner consistent with the first adjustment coefficients, the first adjustment is to add the first adjustment coefficients to the unsatisfied elements, and the second adjustment is similar to the first adjustment.
In this embodiment, the light transmittance uniformity standard refers to uniformity of light transmittance in the same frequency band, so as to ensure that eggshell thicknesses at different positions are uniform, and thus effective screening of hatching eggs is facilitated.
In this embodiment, the impurity information refers to particles in the air, and the second adjustment coefficient is obtained based on the information because the presence of particles affects the light.
In this embodiment, the adjustment result=adjustment coefficient×the original value of the element.
In this embodiment, the standard ray range matrix is set in advance, and each element represents a ray range for comparison with the element at the same position of the second ray matrix.
The beneficial effects of the technical scheme are as follows: by constructing an initial light matrix, determining reflected light rays of different frequency bands according to comprehensive reflection factors of corresponding block areas, eliminating the reflected light rays of the initial light matrix to obtain a first light matrix, judging whether a light ray column meets a frequency band change standard, judging whether the light ray column meets a light transmission consistency standard, determining an adjustment coefficient based on a parameter mapping table to adjust unsatisfied factors, comparing the adjustment coefficient with a standard light ray range matrix, judging whether the primarily screened hatching eggs are qualified, and improving screening accuracy.
The embodiment of the invention provides an hatching egg screening method for hatching, which is based on all ray vectors to construct and obtain an initial ray matrix and comprises the following steps:
ordering the frequency bands corresponding to all the ray vectors;
and constructing and obtaining an initial ray matrix based on the sequencing result and all ray vectors.
The beneficial effects of the technical scheme are as follows: and the initial light matrix is constructed and obtained based on the sequencing result and all the light vectors by sequencing the frequency bands corresponding to all the light vectors, so that a foundation is laid for eliminating the subsequent reflected light.
The embodiment of the invention provides an hatching egg screening system for hatching, which is shown in fig. 2, and comprises:
the weight evaluation module is as follows: detecting the weight of the hatching eggs to be screened, and evaluating the weight of the hatching eggs to be screened by combining a standard weight range;
imaging evaluation module: performing imaging detection on the hatching eggs to be screened, determining image feature vectors of the hatching eggs to be screened, and obtaining imaging evaluation of the hatching eggs to be screened based on an image analysis model;
and a primary screening module: based on weight evaluation and imaging evaluation, carrying out primary screening on the hatching eggs to be screened;
and (5) a secondary screening module: and carrying out light test on the eggs subjected to preliminary screening to obtain light vectors, and eliminating reflected light of the light vectors to realize secondary screening of the eggs subjected to preliminary screening.
The beneficial effects of the technical scheme are as follows: through carrying out weight detection and imaging detection to the egg to be screened, carry out weight evaluation and imaging evaluation to the egg to be screened respectively, and then carry out preliminary screening to the egg to be screened, carry out light test to the egg after preliminary screening, carry out the screening again to the egg after preliminary screening, through the evaluation screening of multi-angle, can improve the accuracy that the egg was screened.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.
Claims (8)
1. A method for screening hatching eggs for hatching, comprising:
step 1: detecting the weight of the hatching eggs to be screened, and evaluating the weight of the hatching eggs to be screened by combining a standard weight range;
step 2: performing imaging detection on the hatching eggs to be screened, determining image feature vectors of the hatching eggs to be screened, and obtaining imaging evaluation of the hatching eggs to be screened based on an image analysis model;
step 3: based on weight evaluation and imaging evaluation, carrying out primary screening on the hatching eggs to be screened;
step 4: and carrying out light test on the eggs subjected to preliminary screening to obtain light vectors, and eliminating reflected light of the light vectors to realize secondary screening of the eggs subjected to preliminary screening.
2. The hatching egg screening method according to claim 1, wherein weight detection is performed on hatching eggs to be screened, and weight evaluation is performed on the hatching eggs to be screened in combination with a standard weight range, comprising:
detecting the weight of the hatching eggs to be screened based on the pressure sensor, and determining the distance between the weight of the hatching eggs to be screened and the center of the standard weight by combining the standard weight range;
and evaluating the weight of the hatching eggs to be screened based on the distance between the hatching eggs to be screened and the standard weight center and the weight dispersion of the historically screened hatching eggs.
3. The hatching egg screening method for hatching according to claim 1, wherein the imaging detection of the hatching egg to be screened, the determination of the image feature vector of the hatching egg to be screened, and the obtaining of the imaging evaluation of the hatching egg to be screened based on the image analysis model, comprises the following steps:
shooting the hatching eggs to be screened to obtain multi-angle images of the hatching eggs to be screened;
performing stitching analysis on the multi-angle images to determine an overlapping area;
based on the overlapping area and the shooting angle of each multi-angle image, splicing the multi-angle images, and determining a three-dimensional image of the hatching eggs to be screened;
determining the size characteristics of hatching eggs to be screened based on the size and shooting scaling of the three-dimensional image;
determining eggshell characteristics of the hatching eggs to be screened based on pixel analysis of the three-dimensional image;
determining an image feature vector of the hatching eggs to be screened according to the size features and eggshell features of the hatching eggs to be screened;
inputting the image feature vector into an image analysis model, and performing imaging evaluation on the hatching eggs to be screened.
4. A hatching egg screening method according to claim 3, wherein said multi-angle images are subjected to a mosaic analysis to determine an overlapping region, comprising:
randomly selecting one of the multi-angle images as a standard image, and taking the rest multi-angle images as spliced images;
respectively unfolding and projecting the standard image and the spliced image into a plane coordinate system, and processing the standard image and the spliced image based on a preset spherical transformation matrix to obtain a standard plane image and a spliced plane image;
extracting features of the standard plane image and the spliced plane image, and determining a first feature vector of the standard plane image and a second feature vector of the spliced image;
matching the first feature vector with each second feature vector based on a preset matching algorithm, and determining the matching degree of the first feature vector and each second feature vector;
and determining adjacent images of the standard image according to the matching degree, and further determining the overlapping area of the standard image and the adjacent images.
5. The hatching egg screening method according to claim 1, wherein the preliminary screening of the hatching eggs to be screened based on weight evaluation and imaging evaluation comprises:
acquiring weight evaluation and imaging evaluation of all the historically screened hatching eggs, establishing an evaluation normal distribution map matched with each hatching egg screening index, and framing out an effective interval based on the evaluation normal distribution map;
judging whether all index values based on the weight evaluation and imaging evaluation of the hatching eggs to be screened fall in corresponding effective intervals;
if the hatching eggs fall on the screening eggs, the hatching eggs to be screened are reserved;
otherwise, eliminating the hatching eggs to be screened.
6. The hatching egg screening method for hatching according to claim 1, wherein the method for screening the hatching eggs after preliminary screening by performing light test on the hatching eggs after preliminary screening to obtain light vectors and performing reflected light elimination on the light vectors to realize secondary screening of the hatching eggs after preliminary screening comprises the following steps:
performing light ray test on the appointed position of the hatching eggs subjected to preliminary screening based on light rays of different frequency bands to obtain light ray vectors of each frequency band;
constructing and obtaining an initial ray matrix based on all ray vectors;
determining the magnification N1 of a designated position on the surface of the eggshell based on the ray radius of the test ray;
the method comprises the steps of carrying out a first treatment on the surface of the Wherein (1)>Representing the ray radius of the test ray; />A position radius representing the specified position; />Representing an upward rounding symbol; />Represents the concentrated ray radius of the corresponding test ray, and;
acquiring the corresponding amplified designated position with a radius ofThe concave-convex condition of each position point in the block area, and obtaining the comprehensive reflection factor of the corresponding block area;
the method comprises the steps of carrying out a first treatment on the surface of the Wherein (1)>Representing the comprehensive reflection factors based on the corresponding designated positions in the corresponding frequency bands; />Representation and average recess depth->Matched reflection coefficients; />Representing and averaging bump heightsMatched reflection coefficients; />Represents the average pit depth based on pit points; />Representing an average bump height based on the bump point; n1 represents the number of concave points with the concave depth being larger than a preset depth; />Representing the total number of concave points in the block area; m1 represents the number of protruding points with the height of the protrusions being larger than a preset height; m2 represents the total number of protruding points in the block region;represents the average pit depth based on n1 pit points; />Represents the average bump height based on m1 bump points;
determining reflection light rays at corresponding designated positions based on different frequency bands based on the comprehensive reflection factors, and eliminating the reflection light rays of corresponding elements in the initial light ray matrix to obtain a first light ray matrix;
based on the light ray specificity of the light rays in different frequency bands, analyzing the light ray columns in the first light ray matrix, and judging whether the light ray columns meet the frequency band change standard or not;
if yes, reserving the corresponding ray column;
if the first illumination angle is not met, searching elements which are not met, capturing environmental information of the position of the egg after the preliminary screening, and capturing a first illumination angle of a corresponding light line and the egg after the preliminary screening;
determining a first adjustment coefficient from a first parameter mapping table based on the environment information and the first irradiation angle, and performing first adjustment on the unsatisfied elements;
judging whether the light rays meet the light transmission consistency standard or not, and if so, reserving the corresponding light rays;
if the information is not satisfied, respectively acquiring second irradiation angles based on different designated positions and impurity information in an irradiation line based on the second irradiation angles in the same frequency band;
determining a second adjustment coefficient corresponding to the second irradiation angle from a second parameter mapping table based on the second irradiation angle and the impurity information, and performing second adjustment on the corresponding element;
and comparing the second light matrix obtained according to the first adjusting result and the second adjusting result with the standard light range matrix, judging whether the first screened hatching eggs are qualified or not if the first light matrix and the second light matrix are in the corresponding ranges, and eliminating the first light matrix and the second light matrix.
7. The hatching egg screening method according to claim 6, wherein the initial light matrix is constructed based on all light vectors, comprising:
ordering the frequency bands corresponding to all the ray vectors;
and constructing and obtaining an initial ray matrix based on the sequencing result and all ray vectors.
8. An hatching egg screening system for hatching, comprising:
the weight evaluation module is as follows: detecting the weight of the hatching eggs to be screened, and evaluating the weight of the hatching eggs to be screened by combining a standard weight range;
imaging evaluation module: performing imaging detection on the hatching eggs to be screened, determining image feature vectors of the hatching eggs to be screened, and obtaining imaging evaluation of the hatching eggs to be screened based on an image analysis model;
and a primary screening module: based on weight evaluation and imaging evaluation, carrying out primary screening on the hatching eggs to be screened;
and (5) a secondary screening module: and carrying out light test on the eggs subjected to preliminary screening to obtain light vectors, and eliminating reflected light of the light vectors to realize secondary screening of the eggs subjected to preliminary screening.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311520368.6A CN117243150B (en) | 2023-11-14 | 2023-11-14 | Hatching egg screening method and system for hatching |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311520368.6A CN117243150B (en) | 2023-11-14 | 2023-11-14 | Hatching egg screening method and system for hatching |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117243150A true CN117243150A (en) | 2023-12-19 |
CN117243150B CN117243150B (en) | 2024-04-23 |
Family
ID=89133579
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311520368.6A Active CN117243150B (en) | 2023-11-14 | 2023-11-14 | Hatching egg screening method and system for hatching |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117243150B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117475292A (en) * | 2023-12-28 | 2024-01-30 | 河北玖兴农牧发展有限公司 | Automatic egg identification system and method |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003009712A (en) * | 2001-07-03 | 2003-01-14 | Naberu:Kk | Method for sorting hen egg and apparatus for the same |
CN101672839A (en) * | 2009-09-25 | 2010-03-17 | 南京农业大学 | Device and method for detecting hatching egg incubation quality based on computer vision |
CN201821742U (en) * | 2010-08-31 | 2011-05-11 | 黑龙江八一农垦大学 | Wind egg screener for before hatching |
CN102835329A (en) * | 2012-09-04 | 2012-12-26 | 青岛兴仪电子设备有限责任公司 | Automatic hatching egg identification and sorting equipment and method |
CN105265341A (en) * | 2015-11-10 | 2016-01-27 | 哈尔滨维科生物技术开发公司 | Hatching egg detector and hatching egg screening method |
CN108967263A (en) * | 2018-08-10 | 2018-12-11 | 肇庆市高新区甜慕新能源技术有限公司 | A method of based on Machine Vision Detection Egg Quality |
US20190331653A1 (en) * | 2018-04-27 | 2019-10-31 | Walmart Apollo, Llc | System and method for egg quality control |
KR102192613B1 (en) * | 2020-05-25 | 2020-12-17 | 육금석 | Egg sorting device for detecting bad eggs and sorting eggs |
CN116636481A (en) * | 2023-06-25 | 2023-08-25 | 重庆市畜牧科学院 | Intelligent determination method and equipment for egg laying performance and egg quality of poultry |
-
2023
- 2023-11-14 CN CN202311520368.6A patent/CN117243150B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003009712A (en) * | 2001-07-03 | 2003-01-14 | Naberu:Kk | Method for sorting hen egg and apparatus for the same |
CN101672839A (en) * | 2009-09-25 | 2010-03-17 | 南京农业大学 | Device and method for detecting hatching egg incubation quality based on computer vision |
CN201821742U (en) * | 2010-08-31 | 2011-05-11 | 黑龙江八一农垦大学 | Wind egg screener for before hatching |
CN102835329A (en) * | 2012-09-04 | 2012-12-26 | 青岛兴仪电子设备有限责任公司 | Automatic hatching egg identification and sorting equipment and method |
CN105265341A (en) * | 2015-11-10 | 2016-01-27 | 哈尔滨维科生物技术开发公司 | Hatching egg detector and hatching egg screening method |
US20190331653A1 (en) * | 2018-04-27 | 2019-10-31 | Walmart Apollo, Llc | System and method for egg quality control |
CN108967263A (en) * | 2018-08-10 | 2018-12-11 | 肇庆市高新区甜慕新能源技术有限公司 | A method of based on Machine Vision Detection Egg Quality |
KR102192613B1 (en) * | 2020-05-25 | 2020-12-17 | 육금석 | Egg sorting device for detecting bad eggs and sorting eggs |
CN116636481A (en) * | 2023-06-25 | 2023-08-25 | 重庆市畜牧科学院 | Intelligent determination method and equipment for egg laying performance and egg quality of poultry |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117475292A (en) * | 2023-12-28 | 2024-01-30 | 河北玖兴农牧发展有限公司 | Automatic egg identification system and method |
CN117475292B (en) * | 2023-12-28 | 2024-03-01 | 河北玖兴农牧发展有限公司 | Automatic egg identification system and method |
Also Published As
Publication number | Publication date |
---|---|
CN117243150B (en) | 2024-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108764257B (en) | Multi-view pointer instrument identification method | |
CN102288613B (en) | Surface defect detecting method for fusing grey and depth information | |
CN111047568B (en) | Method and system for detecting and identifying steam leakage defect | |
CN117243150B (en) | Hatching egg screening method and system for hatching | |
CN107645657B (en) | SFR test equipment and its test method | |
CN113570605B (en) | Defect detection method and system based on liquid crystal display panel | |
CN109285145A (en) | The more plants of standing tree height measurement methods based on smart phone | |
CN109492714A (en) | Image processing apparatus and its method | |
KR101932214B1 (en) | Apparatus for measuring crack using image processing technology and method thereof | |
JP4150390B2 (en) | Appearance inspection method and appearance inspection apparatus | |
CN110232389A (en) | A kind of stereoscopic vision air navigation aid based on green crop feature extraction invariance | |
KR102073468B1 (en) | System and method for scoring color candidate poses against a color image in a vision system | |
JP6646339B2 (en) | Surface defect detection method, surface defect detection device, and steel material manufacturing method | |
CN112634173A (en) | Curved surface screen image correction method and system | |
CN115526889B (en) | Nondestructive testing method of boiler pressure pipeline based on image processing | |
van Zwanenberg et al. | Edge detection techniques for quantifying spatial imaging system performance and image quality | |
CN111798509B (en) | Method for measuring leaf area index based on hemispherical image method | |
CN104574312A (en) | Method and device of calculating center of circle for target image | |
CN108445010A (en) | Automatic optical detection method and device | |
CN115272256A (en) | Sub-pixel level sensing optical fiber path Gaussian extraction method and system | |
TWI512284B (en) | Bubble inspection system for glass | |
CN116543247A (en) | Data set manufacturing method and verification system based on photometric stereo surface reconstruction | |
CN117252861A (en) | Method, device and system for detecting wafer surface defects | |
CN108831844A (en) | Detect the method and system of wafer defect | |
JP6647903B2 (en) | Image inspection device, image inspection program, computer-readable recording medium, and recorded device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |