Quick viewing(Text Mode)

Non-Destructive Assessment of Chicken Egg Fertility

Non-Destructive Assessment of Chicken Egg Fertility

sensors

Review Non-Destructive Assessment of

Adeyemi O. Adegbenjo 1,2, Li Liu 1 and Michael O. Ngadi 1,* 1 Department of Bioresource Engineering, McGill University, 21, 111 Lakeshore Road, Ste-Anne-de-Bellevue, QC H9X 3V9, Canada; [email protected] (A.O.A.); [email protected] (L.L.) 2 Department of Agricultural and Environmental Engineering, Obafemi Awolowo University, Ile-Ife 220005, Osun State, Nigeria * Correspondence: [email protected]

 Received: 1 June 2020; Accepted: 13 July 2020; Published: 28 September 2020 

Abstract: Total hatching egg set (for both egg production chicks and ) in the Agriculture and Agri-Food Canada report 2017 was over 1.0 billion. With the fertility rate for this year observed to be around 82%, there were about 180 million unhatched (worth over 300 million Canadian dollars) incubated in Canada for the year 2017 alone. These non-hatching (non-fertile) eggs can find useful applications as commercial table eggs or low-grade food stock if they can be detected early and isolated accordingly preferably prior to incubation. The conventional method of chicken egg fertility assessment termed candling, is subjective, cumbersome, slow, and eventually inefficient, leading to huge economic losses. Hence, there is a need for a non-destructive, fast and online prediction technology to assist with early chicken egg fertility identification problem. This paper reviewed existing non-destructive approaches including ultrasound and dielectric measurements, thermal imaging, machine vision, spectroscopy, and hyperspectral imaging. Hyperspectral imaging was extensively discussed, being an emerging new technology with great potential. Suggestions were finally proffered towards building futuristic robust model(s) for early detection of chicken egg fertility.

Keywords: chicken egg; non-destructive technologies; fertility identification; image analysis; machine vision; hyperspectral imaging

1. Introduction Over 50 billion are being raised annually by farmers all over the world, be it as layers towards egg production or as broilers towards production, and production growth is anticipated to continue. The global world population has been projected to hit 9.6 billion by 2050, creating an increasing demand for -based food [1]. Even though pork and beef demand could increase by up to 43% and 66% respectively, poultry meat has been projected to have the greatest growth rate of up to 121%, and demand for eggs is expected to increase by 65% [2]. For the year 2017, Canada exported over 39 million hatching eggs (worth over $68 million), with the US being the largest market. The importation figure for the same year however stood at over 141 million hatching eggs for broilers (worth over $49 million), with entire importation coming from the US (Agriculture and Agri-Food Canada report 2017). Seeing the great importance of chicken and chicken eggs both locally and globally, it is imperative especially in the present era of advancing technologies in the field of machine learning and artificial intelligence, that there would be worthwhile assistance towards improving the hatchability rate of chicken eggs. Early fertility (prior to incubation) and/or detection would prevent wastage of egg and incubation energy, make more incubator space available for viable hatching eggs, and likewise promises huge economic returns. Achieving the above would be a crucial component of the effort on achieving the sustainable development goal 2 (SDG2) agendum.

Sensors 2020, 20, 5546; doi:10.3390/s20195546 www.mdpi.com/journal/sensors Sensors 2020, 20, 5546 2 of 23

1.1. Egg Formation and Structure Egg formation is a process that occurs in about 25–26 h from to oviposition. It commences with a matured ovum (which is a plain and germinal disc) in the reproductive tract, resulting at last in a hard shelled egg, fully complete with its own protective membranes and the necessary nutrients needed for embryonic development [3]. The major stages in egg formation include the ovulation stage, fertilization stage, formation, and oviposition. All these stages are accomplished in Sensors 2020, 20, x FOR PEER REVIEW 3 of 23 the and the . The process can be better and clearly understood considering the schematic diagram in Figure1.

Figure 1. Schematic diagram detailing the process of egg formation.

In the ovary, the ovum or is released from the follicle through a process known as ovulation. Figure 1. Schematic diagram detailing the process of egg formation. Ovulation takes place in about 5 to 10 min following the expulsion of the previous egg. This stage has beenThe precededoviduct is with divided yolk into production six different made sections possible which from theare: chickens infundibulum (hens) (oviduct’s being fed withmouth diets or containingfunnel), magnum, appropriate isthmus, nutrients. shell Diets gland rich (), in calcium are of, goodand the necessity cloaca. at thisWhether stage asthe it ovumwill find is usefulfertilized application or not (as later in the during case of the table shell or formation. infertile These nutrients eggs), it absorbedcontinues intoits journey the bloodstream along the fromoviduct the hens’to allow digestive for complete tracts are covering converted by into layers yolk by of the egg hen’s white liver. (albumen) The yolk and is then other transported internal throughsupporting the bloodstructures. stream The from section the liver of the to the oviduct ovary. responsible Here, the follicular for mos cellst of aroundalbumen the secretion ovum take is the yolkmagnum. and other The matured nutrients ovum and carry and its them surrounding along to the layers ovum. reaching The immature the magnum ova and can theirnow neighboringat this point follicularbe conveniently cells are called securely an egg embedded (if fertiliz withined, an the ovary. is formed). As the ovum Due to increases the spiral in structural more and design more yolkof the accumulation, oviduct, the egg it becomes twists/rotates greatly along enlarged its journey so that and it can some no longerprotein fit fibers inside extension the ovary. from Therefore, the egg are hooked by the thick and thin albumens secreted along the oviduct. This occurrence results in albumen layers and chalazae formation. The shell membranes are then added in the Isthmus and the shell gland located in the uterus later commences the process of shell formation [5]. The average times, as reported by [6,7], an ovum spends in each section as it travels down the oviduct are: infundibulum 15 min, magnum 2–3 h, isthmus 1 h, uterus 21 h, and vagina/cloaca just a few minutes. A finally formed whole egg structure as shown in Figure 2 consists of 30–33% yolk, about 60% albumen, and between 9–12% shell [8,9]. The is deposited while the egg is still in the hen’s uterus. Three distinct stages of eggshell formation can be identified according to Hernández-Hernández, et al. [10] namely: (a) initial, Sensors 2020, 20, 5546 3 of 23 there begins a gradual continuous pushing of the nested ovum and the towards the outer ovarian edge. As the ovum accumulates enough yolk that is adequate for growing a chick, the ovum ruptures from its follicle through a process earlier mentioned as ovulation. The free ovum drops into the ovarian pocket and within minutes is captured by the infundibulum and is guided into the mouth of the hen’s left oviduct. Almost immediately the ovum is released from the ovary and before being received by the infundibulum, the egg’s nucleus passes through a process of primary divisions known as and it is only one of the cells (others fade away naturally) produced from meiosis, which ends up becoming a matured ovum that is accepted by the infundibulum. Fertilization occurs inside the infundibulum if is available, and the resulting thereby commences a secondary via . The first layer of albumen is also deposited at this stage [4]. The remaining process of egg formation is completed during the journey down the oviduct. The oviduct is divided into six different sections which are: infundibulum (oviduct’s mouth or funnel), magnum, isthmus, shell gland (uterus), vagina, and the cloaca. Whether the ovum is fertilized or not (as in the case of table or hatchery infertile eggs), it continues its journey along the oviduct to allow for complete covering by layers of (albumen) and other internal supporting structures. The section of the oviduct responsible for most of albumen secretion is the magnum. The matured ovumSensors 20 and20, its20, x surrounding FOR PEER REVIEW layers reaching the magnum can now at this point be conveniently called4 of 23 an egg (if fertilized, an embryo is formed). Due to the spiral structural design of the oviduct, the egg(b) fasttwists growth/rotates, and along (c) its termination. journey and The some initial protein stage fibers begins extension with from calcium the carbonateegg are hooked (CaCO by3) thespheruliths thick and forming thin albumens on the eggshell secreted membranes along the. oviduct.This formation This occurrence progresses results until adjacent in albumen spheruliths layers andare knitted chalazae (fuse formation.d) together The, a shellprocess membranes known as are nucleation then added. After in this the is Isthmus an emergence and the of shell columnar gland locatedcrystals in (palisades) the uterus laterfrom commences the spherules the duringprocess theof shell fast formation growth stage. [5]. The Columnar average times,crystal as formation reported bycontinues [6,7], an until ovum eggshell spends calcification in each section is completed as it travels with down the the deposition oviduct are: of the infundibulum cuticle layer 15 in min, the magnumtermination 2–3 stage. h, isthmus It is important 1 h, uterus to 21 mention h, and vaginathat for/cloaca brown just eggs, a few deposit minutes. of protoporphyrin A finally formed (pigment whole eggresponsible structure for as shown the brown in Figure colouration)2 consists occurs of 30–33% both yolk, at the about onset 60% and albumen, termination and between stage of 9–12% shell shellformation. [8,9].

FigureFigure 2.2. Chicken egg structure.structure.

1.2. ChickenThe eggshell Egg C ishemical deposited and F whileunctional the eggCompositions is still inthe hen’s uterus. Three distinct stages of eggshell formation can be identified according to Hernández-Hernández, et al. [10] namely: (a) initial, (b) fast The average weight of chicken egg is around 58 g, comprising various components including up growth, and (c) termination. The initial stage begins with calcium carbonate (CaCO ) spheruliths to 11% lipids, 12% protein, and 74% water [11]. The yolk forms between 30–36% of 3the total fresh whole chicken egg weight, with dry matter content of a freshly laid yolk being between 50 to 52% depending on the age of the laying chicken [12]. According to a scientific report by the University of Illinois at Urbana-Champaign, USA [5,13], the yolk during its last 7 to 8 days of development is deposited in ring-like layers of white and yellow yolk. These ring-like layers though mostly not visible at earlier days of yolk formation is usually visible under MRI image in the last days of yolk formation. Important features can be typically found in an MRI image for earlier and last days of yolk formation. Whereas the yellow yolk (rich in lipids or fats, and deposited during the day) appears dark in MRI image, the white yolk (abundance in protein, and deposited during the night) is commonly seen as narrow white bands on the MRI image [4]. The white yolk was further reported to be present directly below the nucleus (position of potential future embryo development) in the latebra and the nucleus of pander and observed to be arranged concentrically all over the yellow yolk (see Figure 2). The existence of yellow and white yolk has earlier been attested to in literatures [14,15], where it was reported that the white yolk originated from the maturing white follicle in the ovary. It was also pointed out that several structures like the latebra, nucleus of pander, and all originated from the white yolk and that the embryonic disc in the nucleus of pander is the position for embryonic development. The understanding of the yellow and white yolk, together with its constituents and positioning in the whole egg, carries a great potential of assisting towards developing a more targeted approach for early chicken egg fertility assessment. There are 22 genetically encoded (proteinogenic or protein creating) amino acids, of which 18 present in chicken egg yolk, albumen, and whole egg, are as listed Sensors 2020, 20, 5546 4 of 23 forming on the eggshell membranes. This formation progresses until adjacent spheruliths are knitted (fused) together, a process known as nucleation. After this is an emergence of columnar crystals (palisades) from the spherules during the fast growth stage. Columnar crystal formation continues until eggshell calcification is completed with the deposition of the cuticle layer in the termination stage. It is important to mention that for brown eggs, deposit of protoporphyrin (pigment responsible for the brown colouration) occurs both at the onset and termination stage of shell formation.

1.2. Chicken Egg Chemical and Functional Compositions The average weight of chicken egg is around 58 g, comprising various components including up to 11% lipids, 12% protein, and 74% water [11]. The yolk forms between 30–36% of the total fresh whole chicken egg weight, with dry matter content of a freshly laid yolk being between 50 to 52% depending on the age of the laying chicken [12]. According to a scientific report by the University of Illinois at Urbana-Champaign, USA [5,13], the yolk during its last 7 to 8 days of development is deposited in ring-like layers of white and yellow yolk. These ring-like layers though mostly not visible at earlier days of yolk formation is usually visible under MRI image in the last days of yolk formation. Important features can be typically found in an MRI image for earlier and last days of yolk formation. Whereas the yellow yolk (rich in lipids or fats, and deposited during the day) appears dark in MRI image, the white yolk (abundance in protein, and deposited during the night) is commonly seen as narrow white bands on the MRI image [4]. The white yolk was further reported to be present directly below the nucleus (position of potential future embryo development) in the latebra and the nucleus of pander and observed to be arranged concentrically all over the yellow yolk (see Figure2). The existence of yellow and white yolk has earlier been attested to in literatures [14,15], where it was reported that the white yolk originated from the maturing white follicle in the ovary. It was also pointed out that several structures like the latebra, nucleus of pander, and embryonic disc all originated from the white yolk and that the embryonic disc inSensors the nucleus 2020, 20, ofx FOR pander PEER REVIEW is the position for embryonic development. 5 of 23 The understanding of the yellow and white yolk, together with its constituents and positioning inthus: the whole Alanine, egg, Arginine, carries a Asparagine, great potential Cysteine, of assisting Glutamine, towards Glycine, developing Histidine, a more Isoleucine, targeted Leucine, approach forLysine, early chicken Methionine, egg fertility Phenylalanine, assessment. Proline, There Serine, are 22 Threonine, genetically Tryptophan, encoded (proteinogenic Tyrosine, and or Valine protein creating)[11]. Amino amino acids acids,, as ofshown which in 18 Figure present 3, can in chicken be described egg yolk, structurally albumen, as andorganic whole compounds egg, are aswith listed thus:two Alanine,functional Arginine, groups namely Asparagine, amine Cysteine,(-NH2) and Glutamine, carboxyl (-COOH), Glycine, together Histidine, with Isoleucine, a side chain Leucine, -R Lysine,group Methionine, (specifically Phenylalanine,related to each amino Proline, acid). Serine, Threonine, Tryptophan, Tyrosine, and Valine [11]. AminoConsidering acids, as shown the white in Figure yolk regions3, can befor described in-depth analysis structurally and targeting as organic the compoundsprotein constituents with two in chicken egg yolk can open a new door for research opportunities towards identifying specific functional groups namely amine (-NH2) and carboxyl (-COOH), together with a side chain -R group (specificallybiomarkers related for differentiating to each amino between acid). fertile and non-fertile eggs prior to incubation.

Figure 3. Amino acid structure showing its various functional groups. Figure 3. Amino acid structure showing its various functional groups.

2. Chicken Egg Fertility and Incubation Chicken eggs are said to be fertile if the hen that laid the eggs was raised together with roosters, otherwise the eggs would be infertile. Fertilization is established from the unison of the rooster sperm with the hen’s matured ovum, be it naturally or artificially through a process known as artificial . While the majority of the global hatchery (fertile) eggs are mostly produced from a hen raised together with roosters, grocery store (table) eggs are from hens raised without roosters. It is only fertile eggs that carry embryonic development potentials under incubation conditions of around 55% relative humidity and temperature of 37.8 °C. Notwithstanding, it is not all the so-called fertile eggs that end up becoming chickens under incubation conditions, as some indeed eventually do turn out to be non-fertile eggs. Hence, there is a need to know and understand the difference between hatchery fertile and non-fertile eggs. According to [16,17], fertilized eggs contain blastoderm, while unfertilized eggs contain germinal disc (blatodisc). The blastoderm (in a fresh opened egg) is visually seen as a symmetrical circular ring of about 3–4 mm in diameter (Figure 4a), having a less-dense “Area Pellucida” and denser “Area Opaca” regions around its perimeter. The blastodisc in comparison to the blastoderm has a smaller diameter (about 2.5mm) and looks like an asymmetrical solid spot (Figure 4b), with no . Under a stereomicroscope, the Area Pellucida (AP) and Area Opaca (AO) are clearly differentiated in the fertile egg blastoderm. On the other hand, the germinal disc visualization on a stereomicroscope is usually characterized by many vacuoles (bubbles), anciently known as lacunae [15]. Sensors 2020, 20, 5546 5 of 23

Considering the white yolk regions for in-depth analysis and targeting the protein constituents in chicken egg yolk can open a new door for research opportunities towards identifying specific biomarkers for differentiating between fertile and non-fertile eggs prior to incubation.

2. Chicken Egg Fertility and Incubation Chicken eggs are said to be fertile if the hen that laid the eggs was raised together with roosters, otherwise the eggs would be infertile. Fertilization is established from the unison of the rooster sperm with the hen’s matured ovum, be it naturally or artificially through a process known as artificial insemination. While the majority of the global hatchery (fertile) eggs are mostly produced from a mother hen raised together with roosters, grocery store (table) eggs are from hens raised without roosters. It is only fertile eggs that carry embryonic development potentials under incubation conditions of around 55% relative humidity and temperature of 37.8 ◦C. Notwithstanding, it is not all the so-called fertile eggs that end up becoming chickens under incubation conditions, as some indeed eventually do turn out to be non-fertile eggs. Hence, there is a need to know and understand the difference between hatchery fertile and non-fertile eggs. According to [16,17], fertilized eggs contain blastoderm, while unfertilized eggs contain germinal disc (blatodisc). The blastoderm (in a fresh opened egg) is visually seen as a symmetrical circular ring of about 3–4 mm in diameter (Figure4a), having a less-dense “Area Pellucida” and denser “Area Opaca” regions around its perimeter. The blastodisc in comparison to the blastoderm has a smaller diameter (about 2.5mm) and looks like an asymmetrical solid spot (Figure4b), with no regional di fferentiation. Under a stereomicroscope, the Area Pellucida (AP) and Area Opaca (AO) are clearly differentiated in Sensorsthe fertile 2020, egg 20, x blastoderm. FOR PEER REVIEW On the other hand, the germinal disc visualization on a stereomicroscope6 of 23 is usually characterized by many vacuoles (bubbles), anciently known as lacunae [15].

(a) (b)

Figure 4. Chicken egg fertility identification: identification: ( a)) blastoderm blastoderm and ( b) blastodisc blastodisc..

3. Industrial Industrial Challenge Complete hatchability of incubated eggs remains of a great economic concern to poultry farm owners globally. Several factors including but not limited to environmental and genetic factors have been known to cause decline in chicken egg fertility and hatchability [[18]18].. While some of these these factors factors could be arrested prior to egg production and incubation, some are only traceable after the havoc is already done. Hence, fertility and hatchability rates continue to dwindle from year to year resulting in losses of millions of dollars annually. Figure 55 showed showed thethe totaltotal hatcheryhatchery eggegg (both(both forfor layerslayers andand broilers) productionproduction inin Canada Canada for for the the years years 1994 1994 through through 2017. 2017. Apart Apart from from the yearthe year 2010, 2010where, where there wasthere a was sudden a sudden jump jump in the in number the number of hatched of hatched eggs, eggs, with with a corresponding a corresponding decline decline in thein the number number of ofunhatched unhatched eggs, eggs, other other increases increases in in the the amount amount of of hatched hatched eggs eggs over over the the years years have have been been relative relative to tocorresponding corresponding increases increases in in the the total total number number of of eggs eggs set set available available for for incubation. incubation. ItIt was therefore observed that the amount of unhatched eggs over the years have not reduced, having its least o off over 134 million in the year 1995 and its peak of over 178 million in the recent past year 2017. With about 39.8 million eggs sold in the year 2017 via exportation to the United States at a sum of about 68.8 million dollars, over 300 million dollars’ worth of eggs were wasted as unhatched eggs in 2017. Except for year 2010, where hatchability rate stands at about 93%. Figure 6 showed that hatchability rates over all other years between 1994 and 2017 have not seriously improved, being in the range of 79% to 83%. Therefore, it is very critical to determine fertility and viability of chicken eggs prior to incubation. A fast, online, and non-destructive pre-screening of eggs for fertility identification before being passed for incubation would save industries both immediate and impending losses. Sensors 2020, 20, 5546 6 of 23

39.8 million eggs sold in the year 2017 via exportation to the United States at a sum of about 68.8 million dollars, over 300 million dollars’ worth of eggs were wasted as unhatched eggs in 2017. Except for year 2010, where hatchability rate stands at about 93%. Figure6 showed that hatchability rates over all other years between 1994 and 2017 have not seriously improved, being in the range of 79% to 83%. Therefore, it is very critical to determine fertility and viability of chicken eggs prior to incubation. A fast, online, and non-destructive pre-screening of eggs for fertility identification before being passed

Sensorsfor incubation 2020, 20, x wouldFOR PEER save REVIEW industries both immediate and impending losses. 7 of 23

1000

800

600

400

200

Hatchery egg production (Millions) production egg Hatchery Hatchery egg production (Millions) production egg Hatchery

0 1993 1998 2003 2008 2013 2018 Year

Eggset Hatched Unhatched

FFigureigure 5. CanadianCanadian hatchery hatchery egg production from 1994 to 2017 2017..

94 92 90 88 86 84

82

Hatchability rate (%) rate Hatchability Hatchability rate (%) rate Hatchability 80 78 1993 1998 2003 2008 2013 2018 Year

Figure 6. HatchabilityHatchability rates for Canadian egg production production..

4. Assessment Assessment of of Chicken Chicken Egg Fertility 4.1. Conventional Methods 4.1. Conventional Methods Conventional methods for determining chicken egg fertility are cumbersome and destructive in Conventional methods for determining chicken egg fertility are cumbersome and destructive in nature. These approaches include the breakout fertility (fresh breakout or candled breakout), visual nature. These approaches include the breakout fertility (fresh breakout or candled breakout), visual and microscopic approaches, sperm counting in the outer perivitelline layer, and the sperm penetration and microscopic approaches, sperm counting in the outer perivitelline layer, and the sperm penetration assay technique [19]. The candling procedure in the breakout fertility approach is the most popular and is as depicted in Figure 7. Not only is this method slow and labour intensive, but also about 5% of the whole egg set are randomly candled on day 10 while the remaining 95% are left to chances. In the long run, a larger percentage of non-fertile eggs ends up being incubated, which usually exposes the whole egg set to contamination in the case of exploder eggs. Not only that, millions of dollars ended up being lost every year as a result of various bottlenecks [20,21], including incubation space, energy, and egg wastages. Furthermore, these methods are not appropriate for building an online egg fertility classification system in the fast-paced technology advancing era of the Sensors 2020, 20, 5546 7 of 23 assay technique [19]. The candling procedure in the breakout fertility approach is the most popular and is as depicted in Figure7. Not only is this method slow and labour intensive, but also about 5% of the whole egg set are randomly candled on day 10 while the remaining 95% are left to chances. In the long run, a larger percentage of non-fertile eggs ends up being incubated, which usually exposes the whole egg set to contamination in the case of exploder eggs. Not only that, millions of dollars ended up being lost every year as a result of various bottlenecks [20,21], including incubation space, energy, and egg wastages. Furthermore, these methods are not appropriate for building an online egg fertility classification system in the fast-paced technology advancing era of the day. Hence, there is a need for a robust, non-destructive, fast, and online prediction technology to assist with early chicken egg fertility identificationSensors 2020, 20, x problems. FOR PEER REVIEW 9 of 23

Figure 7. Traditional candling operation.operation.

4.2. Non-DestructiveSince various food Methods analysis situations exist, necessitating acquiring information from inside the sample,Various rather non-destructive than from the outside, methods machine including vision measurement might not ofbe ultrasound the best appropriate signals and technology dielectric characteristics,for early chicken thermal egg fertility imaging, detection. machine Also, vision, because spectroscopy, acquisition and and hyperspectral analysis are usually imaging done have usi beenng harnessedthe three RGB for assessingspectra channels chicken in egg the fertility. visible Prominentwavelength approaches, range of the however, electromagnetic are the machine spectrum vision, [36], spectroscopy,it deprives users and the hyperspectral advantage of imaging. benefiting Önler from et considering al. [22] studied a wider fertility range discrimination of wavelength of brownbands eggslike those using inultrasonographic the near, mid and images. far infrared Even regions. though model accuracy of up to 86% was presented, it was pointed out that the ultrasound signal could not penetrate the eggshell and so holes needed 4.2.2. Spectroscopy and Hyperspectral Imaging to be created on the eggs before acquiring the ultrasound signals. In the work of [23], dielectric propertiesBoth midand- intelligentIR and NIR methods spectroscopy were considered are similar for classifying based on theirhatching fundamental eggs during principles incubation. of Modeloperation, accuracy which of entails 100% a was consideration recorded on of daymolecular 18 incubation vibrations for [37,38] dead embryo. However, with due SVM to classifier.different Linexcitation et al. [ 24 conditions] experimented of both on using mid-IR thermal and imaging NIR spectroscopy system for filteringand depending and recognition on the of product’s fertilized eggs.compounds The accuracy of interest, reported the relationship was 96% forbetween 14 days the incubated functionalities eggs. of These the molecules incubation being days examined (18 and 14and respectively) the corresponding are, however, absorption too late intensities for early identification differ considerably desired, inthus the leadingpoultry industries. to a signific Dueantly to thedifferent recent responses advancement of the insame data molecular acquisition, vibration, management, from the storage same applied and archiving, fundamental the practice technique of incorporating[38]. Mid-IR spectroscopy machine and involves deep-learning mostly architectures fundamental in non-destructive vibrations and technologiesis found in wavelength application hasregions been between on theincrease; 2500 and apart 25,000 from nm the (4000 conventional–400 cm− multilayer1) of the elec perceptrontromagnetic (MLP) spectrum. feed forward NIR artificialspectroscopy neural on networkthe other (ANN), hand entails other deepradiations ANN that (DNN) are higher that have than found that in increasing mid-IR and applications found in inthe the wavelength analysis of regions hyperspectral between imaging 800 and data2500 arenm deep (12,500 belief–4000 networks cm−1). (DBNs), autoencoders (AEs), recurrentNIR spectroscopy neural networks is among (RNNs), the andmost convolution popular in the neural food networks industry. (CNN) The absorption [25,26]. Geng bands et viewed al. [27] describedin the NIR a region non-destructive are from overtones method involving and combination transfer learningbands of procedureC-H, N-H, andO-H, convolution and S-H bending neural networkand stretching (CNN), vibrations. with reported Hence good, the model NIR technologies generalization are capability applicable and to egg all diversity organic compounds adaptation. Thisabundant study, in however, C-H bonds was (like not explicit petroleum about derivatives), the source andO-H nature bonds of (like the imagescarbohydrate, used. Likewise, moisture, it wasand notfat), stated and N clearly-H bonds how the (like di ff aminoerent classes acids and of fertile, proteins). infertile, Since and all dead biological embryo substances eggs was determined. consist of numerous amounts of O-H, N-H, and C-H molecular bonds, NIR radiation striking a sample, produces a multiplex spectrum carrying both quantitative and qualitative information about the specific sample [31]. Visible (VIS) and Near Infrared (NIR) spectroscopy have been widely utilized in assessing internal quality of Agricultural products [39–41]. Norris [42] studied the effect of storage on optical properties of shell eggs in the NIR region. Even though progressive changes were noticed in the spectral data during storage periods, it was further observed that there was no correlation between these changes and internal egg quality indices, thus necessitating further researches and/or improvement in existing technology to make this non-destructive approach more relevant for industrial applications. Bamelis et al. [43] adopted a spectrophotometric method known for blood detection in Table eggs to assess early embryonic detection potential in fertile chicken eggs. The work reported embryonic development detection to be possible from day 5 (120 h) of incubation. This late detection might be partly related to the point information acquisition mode of spectroscopy Sensors 2020, 20, 5546 8 of 23

In the same vein, a follow up study to [27] by [28] adopted a dense pixelwise spatial attention (DPSA) network for hatching egg fertility classification. The same methodology as in [27] was followed and so the questions regarding image data source and classes determination remain unanswered. Understanding the great influence of data quality on predictive modelling outputs, this kind of gap is very critical to fill for reproducible research and towards building robust models. Non-destructive spectroscopy and hyperspectral imaging methods have some specific data analysis steps including spectra processing, image processing (including but not limited to image enhancement and textural feature extraction), model establishment, and chemical imaging visualization [29,30]. The modelling procedure also entails the use of various algorithms namely image/spectra calibration, preprocessing, wavelength selection, regression, and classification algorithms [30]. A discussion of more popular non-destructive approaches is presented in the following sub sections.

4.2.1. Machine/Computer Vision Great advancement has been achieved over the years for safety inspection and quality sorting of agricultural and food produce [31]. According to [32], machine vision technology adopts image processing and analysis procedures, in combination with a set up including illumination system and personal computer connected to a form of mechanical or electrical device. Das and Evans [33,34] used machine vision to recognize fertility of hatching eggs in conjunction with histogram characterization and neural network methods. Obtained accuracies for the work were low at early days of incubation but high on days 3 and 4 incubation. These results might be attributed to the limitations of machine vision approach ranging from inability to detect intrinsic properties and to handle difficult classification tasks [31,35]. Since various food analysis situations exist, necessitating acquiring information from inside the sample, rather than from the outside, machine vision might not be the best appropriate technology for early chicken egg fertility detection. Also, because acquisition and analysis are usually done using the three RGB spectra channels in the visible wavelength range of the electromagnetic spectrum [36], it deprives users the advantage of benefiting from considering a wider range of wavelength bands like those in the near, mid and far infrared regions.

4.2.2. Spectroscopy and Hyperspectral Imaging Both mid-IR and NIR spectroscopy are similar based on their fundamental principles of operation, which entails a consideration of molecular vibrations [37,38]. However, due to different excitation conditions of both mid-IR and NIR spectroscopy and depending on the product’s compounds of interest, the relationship between the functionalities of the molecules being examined and the corresponding absorption intensities differ considerably, thus leading to a significantly different responses of the same molecular vibration, from the same applied fundamental technique [38]. Mid-IR spectroscopy involves mostly fundamental vibrations and is found in wavelength regions between 2500 and 25,000 nm 1 (4000–400 cm− ) of the electromagnetic spectrum. NIR spectroscopy on the other hand entails radiations that are higher than that in mid-IR and found in the wavelength regions between 800 and 2500 nm 1 (12,500–4000 cm− ). NIR spectroscopy is among the most popular in the food industry. The absorption bands viewed in the NIR region are from overtones and combination bands of C-H, N-H, O-H, and S-H bending and stretching vibrations. Hence, the NIR technologies are applicable to all organic compounds abundant in C-H bonds (like petroleum derivatives), O-H bonds (like carbohydrate, moisture, and fat), and N-H bonds (like amino acids and proteins). Since all biological substances consist of numerous amounts of O-H, N-H, and C-H molecular bonds, NIR radiation striking a sample, produces a multiplex spectrum carrying both quantitative and qualitative information about the specific sample [31]. Visible (VIS) and Near Infrared (NIR) spectroscopy have been widely utilized in assessing internal quality of Agricultural products [39–41]. Norris [42] studied the effect of storage on optical properties of shell eggs in the NIR region. Even though progressive changes were noticed in the spectral Sensors 2020, 20, 5546 9 of 23 data during storage periods, it was further observed that there was no correlation between these changes and internal egg quality indices, thus necessitating further researches and/or improvement in existing technology to make this non-destructive approach more relevant for industrial applications. Bamelis et al. [43] adopted a spectrophotometric method known for blood detection in Table eggs to assess early embryonic detection potential in fertile chicken eggs. The work reported embryonic development detection to be possible from day 5 (120 h) of incubation. This late detection might be partly related to the point information acquisition mode of spectroscopy technique, making it disadvantageous when information of interest is not present in the pixel spot measured. This disadvantage is catered for in the hyperspectral imaging technology. A recent study by [44] used visible near infrared transmission spectroscopy in conjunction with Naïve–Bayes classifier for infertile chicken eggs prediction before hatching. The average overall prediction accuracy, specificity, and sensitivity values were 89.12, 90.38 and 88.14% respectively. As much as these results were promising, it was observed that the fertility status of all the considered egg sets was not conventionally confirmed following standard incubation conditions. Notwithstanding, the study noted that accurate prediction was possible only in the spectral range 500–940 nm excluding data in the spectra ranges 330–500 nm and 940–1030 nm, due to low signal-to-noise ratio and low absorption characteristics. It can then be inferred from this observation that spectra data in the higher NIR region above 1030 nm might carry better discriminative information. Hyperspectral imaging being an improvement on conventional spectroscopy and machine vision has witnessed a wide publicity in recent times due to its combined ability to consider both spectra and spatial information from targeted samples [45,46]. The near-infrared (NIR) regions in particular have been successfully used for food (including chicken egg) quality and safety analysis [39,41,47–49] and could as well prove effective for chicken egg fertility assessment studies. Hyperspectral imaging, though a relatively new and emerging technology, has proven more advantageous than spectroscopy and computer vison due to its chemical-free assessment, non-destructive and non-invasive nature, spatial distribution visualization, fast image acquisition potentials, little or no sample preparation, eventual simple and fast analysis method, flexibility in region of interest (ROI) selection [31,50], and ability to handle sample heterogeneity.

5. Hyperspectral Imaging Technology and Instrumentation Optical sensors have been known to provide great potentials for non-destructive analysis of agricultural products. Imaging and spectroscopic techniques have been widely studied and used in various fields of endeavours including agricultural applications [43,51]. However, spectroscopy and conventional imaging approaches are limited when it comes to obtaining adequate information from individual food items [52]. Due to recent advancement in imaging and spectroscopy technologies, hyperspectral imaging has emerged as a preferable alternative for quality assessment and safety control of agricultural produce [53–55]. Hyperspectral imaging instruments can measure signals from the various regions of the electromagnetic spectrum including but not limited to the visible (VIS), near infrared (NIR), and mid infrared (MIR). Some other hyperspectral imaging instrumentations of increasing attention are the confocal laser microscopy scanners, Raman spectroscopy, Terahertz spectroscopy, X-ray spectroscopy, magnetic resonance imaging, and 3D ultrasound imaging [56]. Generally, a hyperspectral system comprises of a light source, a wavelength dispersion device, and an area detector. Figure8 showed a schematic description of the emergence of a hyperspectral imaging system from conventional imaging and spectroscopy [52]. The choice of illumination source is a very critical factor of consideration in the planning and setting up of any imaging system. For example, the nature of the emitted spectrum and the amount of light intensity reaching the object of interest will influence the subsequent quantity of light absorbed, transmitted, or reflected from the object. Hence, only the wattage rating of lamps is not enough in selecting a suitable light source for imaging application, but is for the illuminance of the said light source. Some lamps with higher wattage ratings have been shown to have lower illuminance when compared to other lamps of lower wattage ratings. This is because a larger percentage of light emanating out of some lamps is being lost as heat Sensors 2020, 20, 5546 10 of 23 and, therefore, is unusable. According to Qin [52], halogen lamps are the most popular broadband illumination sources that have been successfully used in the visible (VIS) and near-infrared (NIR) wavelength regions for hyperspectral imaging. Specific applications include but are not limited to “pits detection in tart cherries”, “bone fragment detection in chicken fillets” and “detecting fertility and early embryonic development of chicken eggs” [57–59]. Other illumination sources with the potential of gaining wide acceptability in the nearest future are lasers, tunable sources and Sensors 2020, 20, x FOR PEER REVIEW 11 of 23 light-emitting diodes [60–68].

Figure 8. General system configurations for conventional imaging, conventional spectroscopy, Figure 8. General system configurations for conventional imaging, conventional spectroscopy, and and hyperspectral imaging. hyperspectral imaging. 5.1. Principle of Operation 5.1. Principle of Operation Hyperspectral imaging works on the optical principle of light and its interaction with matter. WhenHyperspectral light energy (photon)imaging fallsworks on on an the object, optical you principle do not see of the light light, and but its the interaction amount of with light matter. energy Whenavailable light determines energy (photon) how much falls on of an the object, object you you do see not based see the on light, the influence but the amount of the light. of light The energy brain availablebehind hyperspectral determines how imaging much system of the as object a tool you for non-destructivesee based on the food influence analysis of isthe therefore light. The based brain on behindthe understanding hyperspectral of imaging light photons system interaction as a tool withfor non the-destructive molecular structures food analysis of food is therefore samples [based31,69]. onAs the light understanding energy strikes of an light object, photons the incident interaction light with reaching the molecular and interacting structures with ofthe food object samples can be [31,69reflected,]. As absorbed, light energy or transmittedstrikes an object, as depicted the incident in Figure light9. Thesereaching reflected, and interacting absorbed, with or transmitted the object canlights be carry reflected, important absorbed, information or transmitted from the as passingdepicted medium in Figure (object) 9. These and reflected, can be usedabsorbed, for both or transmittedqualitative andlight quantitatives carry important predictions. information Figure from 10 showedthe passing the medium summarized (object) basic and steps can involvedbe used for in bothhyperspectral qualitative imaging and quantitative analysis, predictions. with an overall Figure intention 10 showed of beingthe summarized translated basic into asteps multispectral involved inimaging hyperspectral system, imaging which is analysis, usually morewith an economically overall intention built andof being suitable translated for an onlineinto a multispectral and real-time imagingindustrial system, application which [70 is]. usually more economically built and suitable for an online and real-time industrial application [70].

Figure 9. Hyperspectral imaging principle of operation. Sensors 2020, 20, x FOR PEER REVIEW 11 of 23

Figure 8. General system configurations for conventional imaging, conventional spectroscopy, and hyperspectral imaging.

5.1. Principle of Operation Hyperspectral imaging works on the optical principle of light and its interaction with matter. When light energy (photon) falls on an object, you do not see the light, but the amount of light energy available determines how much of the object you see based on the influence of the light. The brain behind hyperspectral imaging system as a tool for non-destructive food analysis is therefore based on the understanding of light photons interaction with the molecular structures of food samples [31,69]. As light energy strikes an object, the incident light reaching and interacting with the object can be reflected, absorbed, or transmitted as depicted in Figure 9. These reflected, absorbed, or transmitted lights carry important information from the passing medium (object) and can be used for both qualitative and quantitative predictions. Figure 10 showed the summarized basic steps involved in hyperspectral imaging analysis, with an overall intention of being translated into a multispectral imaging system, which is usually more economically built and suitable for an online and real-time Sensorsindustrial2020, 20application, 5546 [70]. 11 of 23

Sensors 2020, 20, x FOR PEER REVIEWFigure 9. Hyperspectral imaging principle of operation. 12 of 23 Figure 9. Hyperspectral imaging principle of operation.

FigureFigure 10.10. Hyperspectral-MultispectralHyperspectral-Multispectral imagingimaging flowflow chart.chart 5.2. Image Acquisition, Data Extraction, and Spectra Pre-Processing 5.2. Image Acquisition, Data Extraction, and Spectra Pre-Processing Knowing well that it is practically impossible to get any useful information from less qualitative Knowing well that it is practically impossible to get any useful information from less qualitative data, obtaining a high-quality image therefore becomes very critical in hyperspectral imaging and data, obtaining a high-quality image therefore becomes very critical in hyperspectral imaging and related researches. Consistency and accuracy are needed in various settings including acquisition mode, related researches. Consistency and accuracy are needed in various settings including acquisition illumination type and arrangement, detector selection, spectral and spatial resolutions, frame rate, mode, illumination type and arrangement, detector selection, spectral and spatial resolutions, frame scanning speed, camera exposure/integration time, and calibration [36,71,72]. For a typical hyperspectral rate, scanning speed, camera exposure/integration time, and calibration [36,71,72]. For a typical image, a continuous spectrum for individual pixel is usually measured, with spectral resolution hyperspectral image, a continuous spectrum for individual pixel is usually measured, with spectral presented in wave numbers (cm 1) or nanometers (nm). A hyperspectral image is usually displayed resolution presented in wave numbers− (cm−1) or nanometers (nm). A hyperspectral image is usually as a hypercube in three dimensions including two spatial (X, Y) and one spectral (λ) dimension. displayed as a hypercube in three dimensions including two spatial (X, Y) and one spectral (λ) This hypercube structure contains chemical information related to the target of interest [56,73]. dimension. This hypercube structure contains chemical information related to the target of interest After image acquisition, spectral information (X-matrix) is usually extracted from a segmented [56,73]. region(s) of interest (ROI’s). This is a very crucial step before further sample analysis, especially when After image acquisition, spectral information (X-matrix) is usually extracted from a segmented the targeted portion does not consist of all the scanned area. This step saves the whole modelling region(s) of interest (ROI’s). This is a very crucial step before further sample analysis, especially when process a huge amount of computing time [74]. The ROI’s stand for expected or actual locations of the targeted portion does not consist of all the scanned area. This step saves the whole modelling targeted biological or quality attributes in the acquired image [75,76]. A corresponding response process a huge amount of computing time [74]. The ROI’s stand for expected or actual locations of or reference information (Y-matrix) is also collected following the standard conventional (usually targeted biological or quality attributes in the acquired image [75,76]. A corresponding response or destructive) method. The response information is ideally obtained at the exact ROI’s from which the reference information (Y-matrix) is also collected following the standard conventional (usually spectra (X-matrix) data has been collected [36]. Depending on the degree of quality achieved in the destructive) method. The response information is ideally obtained at the exact ROI’s from which the acquisition/extraction stage, hyperspectral images/data usually contain noise and some unwanted spectra (X-matrix) data has been collected [36]. Depending on the degree of quality achieved in the variabilities due to various other factors including but not limited to detector anomalies, particle acquisition/extraction stage, hyperspectral images/data usually contain noise and some unwanted size variations and light scattering effects. Hence, spectra pre-processing is usually implemented variabilities due to various other factors including but not limited to detector anomalies, particle size variations and light scattering effects. Hence, spectra pre-processing is usually implemented to minimize the effect of the above-mentioned problems. Spectral pre-processing can consist of one or a combination of the following techniques namely: filtering, smoothening, normalization, mean centering, scaling, standard normal variate (SNV), multiplicative scatter correction (MSC), orthogonal signal correction (OSC), derivatives, detrend, Fourier and Wavelet transforms [77–80]. Filtering is purposely employed to remove non-informative variables in a data set. This approach eventually results in improved statistical power during a downstream multivariate analysis. Smoothing filters on the other hand are usually implemented to reduce noise, while simultaneously preserving the number of variables [81,82]. Normalization is used in adjusting samples to approximately the same scale. The most common approach is the use of mean centering (dividing each instance of a data matrix by its mean) or autoscaling (mean centering + division by standard deviation of individual variable). Other forms of normalization like normalization by sum, median, reference sample, reference feature and data transformation such as logarithmic and cube root transformations are used for general purpose modification for variability among instances and to make individual attributes more comparable [81,83]. According to [83], MSC and SNV are used to adjust for multiplicative and/or additive effects in spectra data, including removing particle size Sensors 2020, 20, 5546 12 of 23 to minimize the effect of the above-mentioned problems. Spectral pre-processing can consist of one or a combination of the following techniques namely: filtering, smoothening, normalization, mean centering, scaling, standard normal variate (SNV), multiplicative scatter correction (MSC), orthogonal signal correction (OSC), derivatives, detrend, Fourier and Wavelet transforms [77–80]. Filtering is purposely employed to remove non-informative variables in a data set. This approach eventually results in improved statistical power during a downstream multivariate analysis. Smoothing filters on the other hand are usually implemented to reduce noise, while simultaneously preserving the number of variables [81,82]. Normalization is used in adjusting samples to approximately the same scale. The most common approach is the use of mean centering (dividing each instance of a data matrix by its mean) or autoscaling (mean centering + division by standard deviation of individual variable). Other forms of normalization like normalization by sum, median, reference sample, reference feature and data transformation such as logarithmic and cube root transformations are used for general purpose modification for variability among instances and to make individual attributes more comparable [81,83]. According to [83], MSC and SNV are used to adjust for multiplicative and/or additive effects in spectra data, including removing particle size effect and correcting for path length variation. Detrending, used for removing nonlinear drifts in spectroscopic data, is also versatile in reducing data baseline shift, curvature, and multicollinearity, when implemented in conjunction with SNV. Derivatives of various orders are row-oriented transformations widely used to reveal hidden information that might not be visible considering the raw data spectrum. Recently, [84] proposed a data-driven learning approach to tackle the challenge of spectral variability in hyperspectral unmixing, The technique was reported to model main spectral variability (e.g., scaling issues from illumination/light scattering effects) as separate from other variabilities (including environmental conditions, detector anomalies, etc.), using endmember and spectral variability dictionaries. Most of the pre-processing procedures as iterated above are commonly implemented with the aid of specialized software packages including Unscrambler, Matlab, WEKA, SAS, JMP, and other related packages.

5.3. Dimensional Reduction Techniques Since HSI sensors produce a great number of spectral bands, the major task in HSI analysis entails dealing with a huge amount of data. This does not only increase computational difficulties but also in the long run severely affects classification accuracies. Hence, various feature extraction techniques are usually employed to reduce dimensionality and extract important wavelength bands from HSI data, thereby eliminating as much as possible spectra redundancy from the acquired multidimensional HSI data [85]. Band selection approaches have been grouped into six namely ranking-based, searching-based, clustering-based, sparsity-based, embedding learning-based, and hybrid scheme-based methods [86]. Graph learning dimension reduction method has also been reported as an effective approach for analyzing intrinsic characteristics of hyperspectral imaging data [87]. The most widely used dimensionality reduction techniques, however, are the linear methods of principal component analysis (PCA) and multidimensional scaling (MDS). Others include but are not limited to partial least square (PLS), ISOMAP and Autoencoder [88–90]. Some of the existing dimensional reduction techniques can select important bands and simultaneously extract new wavelength bands for discrimination, and this is the reason some researchers do mistakenly accept feature band extraction and band selection to be the same. There exist indeed other specific approaches solely for bands selection. Whereas bands extraction creates new attributes (transformed wavelength bands) from functions of the original wavelength bands, band selection chooses a small subset of the original wavelength bands set, which performs optimally under some criterion function. Band selection has been widely accepted as appropriate for hyperspectral imaging data due to its aid in speedy information acquisition/processing and eventually resulting in great cost savings [91]. During band selection, the choice of subsets per time to be learned are usually determined using the embedded, filter and/or wrapper methods [92,93]. While the filter approach considers the appropriateness of the selected bands, independent of the classifying algorithm, the wrapper method Sensors 2020, 20, 5546 13 of 23 requires a classifier to evaluate wavelength band appropriateness, but also can be computationally burdensome. Although the filter techniques are classifier-independent, simple and fast, they are limited due to their dark knowledge of the interaction between band subset search and classifier [94]. This disadvantage with the filter techniques is catered for in the wrapper and embedded methods. Also, there exist multivariate filters purposely developed to overcome the limitation of the conventional filter approach, and these include the information gain, correlation and learner-based band selection techniques [94–96]. Whether it be filter, wrapper, or embedded-based band selection system, their implementation is always in conjunction with various search algorithms. Such algorithms according to the work of [91] have been described in terms of optimal, quasi-optimal, and ratio band selection algorithms. A wavelength band selection algorithm is said to be optimal if it chooses the best subset of “m” of “n” attributes, with the best “m” determined as being the subset having maximum value for a chosen criterion function. While the optimal algorithms include the exhaustive search and the branch-and-bound (BB) algorithms, quasi optimal algorithms include the sequential forward floating (SFFS) and sequential backward floating (SBFS) selections [97–99]. The choice of selection algorithm is greatly dependent on the number of “m” subsets to be evaluated per time for criterion function computation. The greater the number of criterion functions to be computed, the greater the search time will be, and this is invariably dependent on the total number of original “n” bands. For example, an exhaustive search for the four best wavelength band attributes from a 400-featured data set will need a search of “400 combination 4” (400C ) one billion subsets [91]. This search is known to be 4 ≈ exponentially increased, should there be a consideration of ratio wavelength band selections.

5.4. Ratio Band Selection Algorithms Ratio wavelength bands have been reported as having better discrimination potentials than an individual wavelength band. Guyon and Elisseeff [100] indeed confirmed experimentally that a wavelength band attribute that is completely useless alone, can provide notable performance improvement when considered alongside other wavelength bands. It was also buttressed in the same work that two wavelength bands that are redundant by themselves can be useful together. Hence, ratio wavelength bands consideration has begun to gain increasing interests in band selection approaches. Xia and Wishart [81] reported the use of a PLSDA learner and ranking algorithm to select up to 100 ratio attributes in an online metabolomic analysis platform. Ideally, depending on the number of original “n” attributes, there could be numerous ratio attributes to be computed. 167 For example, there would be “167 combination 2”( C2) = 13, 861 possible ratio attributes out of 167 original wavelength attributes. To choose only two best sets of ratio attributes from the above will require exhaustive search to calculate criterion functions for all (13,861C ) 96 million combinations of 2 ≈ two sets of ratio attributes. Since these numbers of combinations can greatly increase exponentially depending on original “n” attributes and “m” subsets of ratio attributes needed, quasi-optimal algorithms including SFFS and SBFS have been suggested feasible for large ratio attributes computation and eventual ratio subset selections. Nakariyakul [91] suggested a new adaptive branch and bound (ABB) algorithm, an improved sequential forward floating selection (ISFFS) algorithm, and a fast ratio attribute selection algorithm, which were all successfully tested on chicken skin tumor and chicken contaminant hyperspectral imaging data. Even though there have not been many works on using ratio attributes in chicken egg fertility studies. Bamelis et al. [43] reportedly used the ratio wavelength 527/610 nm, popularly used in commercial blood detectors for early embryonic development detection in chicken eggs. The work, however, concluded that embryonic development detection with visible light transmission is not directly correlated with blood formation. Therefore, there is a need for more studies to consider many possible ratio attributes from chicken egg fertility data, before arriving at optimal ratio attribute selections. Sensors 2020, 20, 5546 14 of 23

5.5. Multivariate Analysis (Post Processing) Multivariate analysis (MVA) can be categorized into three major areas namely: exploratory data analysis (EDA), regression analysis and discrimination analysis (classification). EDA is also often called data mining and it is the common approach used towards understanding deeper insights into large and complicated data sets. While regression analysis assists in model development towards prediction of new and future events, classification on the other hand is a versatile tool useful in research, development, and market analysis, towards handling categorical data. Even though each method of MVA used on its own can produce worthwhile results, effective combination of these methods can bring about outstanding revelations about the system under study [101]. Two main approaches commonly employed in EDA are cluster analysis and principal component analysis. Whereas cluster analysis achieves the job of isolating objects into groups (clusters) in which members of an identified cluster are related to each other, PCA analyses variability in data set, towards reducing dimensionality of large data. Understanding correlations between samples and variables is usually of critical consideration in PCA.

5.5.1. Regression Analysis and Predictive Modelling Regression models are models used to predict numeric outcome and are therefore also called quantitative models [102]. Regression analysis produces only continuous responses. According to Swarbrick [101], regression analysis often involves two data sets comprising of the predictors (independent) and dependent (response) variables. Independent variables are already known measurements to make models from, towards predicting the required output. Dependent variables on the other hand are the responses being modelled from the predictors. Responses depend greatly on the predictors used in the model. Widely used multivariate regression methods include multiple linear regression (MLR), principal component regression (PCR), and partial least squares regression [36,103]. In the situation of non-linearity expectation (resulting from signal artifacts) in which the Beer–Lambert law is not followed, methods such as support vector regression (SVR) and artificial neural network regression (ANN-R) have been reported as good alternatives for modelling HSI data. It is, however, appropriate to consider various preprocessing methods in addressing deviations from linearity before adopting SVR and/or ANN-R [77,104,105].

5.5.2. Discrimination Analysis/Classification Algorithms Discrimination is the term used to describe separation (or division) of a group of samples into one or more classes based on characteristic features in the samples. Discrimination (classification) has been known to be a very crucial task in pattern recognition. Discriminative models are also known as qualitative or categorical response models. Two basic approaches to solving classification problems in general are those of unsupervised and supervised algorithm techniques. In unsupervised learning, data are grouped based on some similarities/dissimilarities or characteristics inherent in the data set, and the analyst may not have a priori knowledge about the grouping. Supervised learning on the other hand gives the opportunity of having the idea of what factors, input or predictors will have an impact on the output response even though one might not have the complete understanding of the relationship between the response and the predictors. Notable methods used in unsupervised classification include K-means, K-medians, hierarchical cluster analysis, and principal component analysis. For supervised classification, the following techniques are often employed: soft independent modelling of class analogy (SIMCA) with PCA, K-nearest neighbours (KNN), linear discriminant analysis (LDA), Logistic regression, partial least squares discriminant analysis (PLSDA), and support vector machine classification [101]. Other unsupervised and supervised learning algorithms, which are independent component analysis (IDA), Fuzzy one class Support vector machines (FOCSVM), and associative classification, have also been described elsewhere [106–109]. It must be pointed out that for classification tasks, non-supervised learning approaches are not definitive Sensors 2020, 20, 5546 15 of 23 in implementation but usually inform the analyst of a possible need for progressing into a more conclusive supervised learning methodology or peradventure stop moving ahead if the non-supervised learning results were deemed unsatisfactory. For any task with the end goal of classification (and not exploration), non-supervised learning technique should not stand alone unless used in conjunction with a supervised learning approach. However, supervised learning methodology is standard for classification task and could stand alone towards a conclusive analysis for a discrimination problem. There are some present advances in integrating the pool of classifiers instead of using only single classifier for hyperspectral image classification. This approach is termed ensemble technique. With this technique, best use of classifiers’ strengths is optimized at the expense of the classifiers’ disadvantages [110–112]. There is likewise an increasing shift to deep learning globally, and application to the area of chicken egg fertility identification is not being left out. For example, [27] reported a classification study on 5 days incubation hatching eggs using methodology of transfer learning in conjunction with convolutional neural network (CNN). Overall accuracy of up to 99.5% was reported for a small-scale data set. A similar study by [113] used a multi-feature fusion approach based on transfer learning to classify 5–7days incubated chicken embryo eggs, and average accuracy of 98.4% was reported for small scale agricultural image samples. Apart from the fact that deep learning models from small scale data are not usually robust, there has been no research output to the best of our knowledge detailing the possibility of using this mentioned state-of-the art methodology for day 0 incubation egg data. Applied research efforts with this approach, therefore, remain at the basic levels, necessitating more in-depth studies.

5.5.3. Performance Evaluation Regression analysis performance is usually assessed in terms of the following criteria namely: 2 correlation coefficient of calibration and validation (Rc and Rv), coefficient of determination (R ), root mean square error of calibration and validation (RMSEc and RMSEv), and predicted sum of squares (PRESS). While RMSE is a function of the model residuals, R2 can be understood as the fraction of the data information being explained by the model, and it is usually in close relation to correlation [102]. For classification, performance is usually evaluated in terms of the overall accuracy (OVA), which shows the overall percentage of correctly classified instances as against incorrectly classified instances. This criterion has, however, been regarded as misleading when considering the data set of an imbalanced nature [114], in which case, the choice of the confusion matrix evaluation criterion is considered more appropriate.

6. Hyperspectral Imaging for Chicken Egg Fertility Assessment There have not been many works done on using hyperspectral imaging for chicken egg fertility assessment. The frequently occurring five published studies have been carried out by three notable research groups in the USA, Canada, and China [20,59,115–117]. In the work of [115], early fertility and embryonic development detection of hatching eggs were assessed in two separate experimental settings, using ratio wavelength 576/655 nm and ratio ranges between 576 nm and 682 13 nm, for both ± brown and white eggs. While 12 eggs were imaged daily in two replicates and without replacement for four incubation periods in the first experimental set up for white eggs, 12 eggs were imaged daily in two replicates and with replacement for brown eggs in the second experimental set up. Experiment 1 outcome reported 1 of 46 fertile eggs detected for total eggs on days 0 and 1 incubation, 60% fertile and early embryonic development detection on day 2, and 91% fertility accuracy on day 3. Experiment 2 confirmed all considered eggs to be fertile upon breakout analysis and so fertility classification accuracy was impossible to be tested at this point. Apart from the fact that this work did not solve the early discrimination problem prior to incubation, the sample size was small, the replacement and non-replacement approaches for different types of eggs did not give a good basis for comparing performance of white and brown eggs, results validation was not done or reported, and it was not clear or stated explicitly the classification algorithm(s) used in the study. Sensors 2020, 20, 5546 16 of 23

A follow up hyperspectral imaging study similar to that of [115] was conducted by [20] on brown-shelled eggs in visible transmission wavelength regions of 420 to 840 nm. Both spectra and morphological attributes were considered in this study. Egg samples remained relatively the same as in the previous study, but Mahalanobis Distance Classification and PLSR algorithms were reportedly used for models’ development. Also, preprocessing operations of smoothening and multiplicative scatter correction were implemented. In the same vein, results were validated using leave one-out cross validation (LOV). Classification results of 100% on days 2 and 3, 95.8% on day 0, and 91.7% on day 1 were reported for Mahalanobis Distance (MD) Classifier. PLSR modelling algorithm on the other hand achieved 100% accuracy for all days of incubation, with LOV. Despite the presented results looking optimistic, breakout analysis showed there were no non-fertile eggs present in the sample size considered, and hence, the reported results were best regarded as being for egg embryonic development and not fertility. Likewise, there was no reported results upliftment with considering morphological attributes over spectra attributes. Therefore, fertility recognition problem prior to incubation at this juncture remains unsolved. The difficulty of having non-fertile eggs presence for training in a small sample size collection was thereby identified in this study. Future robust models will indeed need large data size for calibration, validation, and testing. In another subsequent study by [116], the same 12 hatchery fertile eggs were used but now with matching up 12 non-fertile eggs acquired from flock raised without roosters. Hyperspectral images were then collected in eight replicates in the visible wavelength regions of 400 to 1000 nm. Adopting a MD Classifier, in conjunction with PCA, five replicates data were used for calibration and the remaining three replicates used for validation. A new set of three replications of 30 eggs each (of randomly mixed fertile and non-fertile eggs) was also reportedly used for verification. The outcome of this study presented overall accuracy for validation sets of eggs as 71% on day 0, 63% on day 1, 65% on day 2, and 83% on day 3, with lower verification results reported and 51% as the average. This study seems to be the first standard procedural set up to handle chicken egg fertility problem, using the non-destructive hyperspectral imaging technology. Notwithstanding, the sample size remains inadequate, and the study concluded from obtained results that the PCA/MD classifier adopted was inappropriate for early embryonic development and fertility detection. There is, therefore, a need for more appropriate modelling technique(s) to capture and learn accurately information from chicken egg fertility hyperspectral imaging data. Liu and Ngadi [59] introduced the use of hyperspectral imaging technique in the near infrared (NIR) wavelength regions (900–1700 nm) to detect fertility and embryonic development in 174 white leghorn eggs. Mean spectral and image textural characteristics extracted using a Gabor filter algorithm were further analyzed in the study. The work finally implemented a dimensional reduction technique of PCA in conjunction with K-means clustering algorithm, towards model development. Best overall classification accuracies reported were 100% on day 0, 78.8% on day 1, 74.1% on day 2, 81.8% on day 3, and 84.1% on day 4. Hyperspectral imaging potential of determining fertility prior to incubation was therefore established in this study. Owing to the knowledge that improved the assessment of relevant chemical and other quality attributes that are more readily obtained in the NIR region, the success of Liu and Ngadi [59] was reportedly linked to higher wavelength consideration and improved HSI technology (including dimensional reduction techniques of PCA and feature extraction). Despite the great promising results obtained from this study, the modelling approaches adopted were non-supervised learning techniques, and so there is a need for further confirmation using standard supervised learning algorithm(s). Whereas some non-supervised learning approaches like the PCA, k-means, k-medians, and hierarchical cluster analysis are excellent with identifying/understanding grouping and clustering patterns in multidimensional data, they are limited when the end target is discrimination [118]. Furthermore, unsupervised classification is always the starting point in any discrimination problem and should necessarily be followed by supervised classification [119] towards an industrial adoptability consideration. Sensors 2020, 20, 5546 17 of 23

Similarly to earlier works, [117] compared the spectral and image morphological attributes of 90 green-shelled chicken egg towards hatchability detection. The study used a single selected optimum wavelength of 822 nm out of the considered visible wavelength regions between 400 to 1000 nm, and PCA in conjunction with Learning Vector Quantization Neural Network (LVQNN) were adopted as modelling algorithms. Overall accuracies using spectral characteristics were reported as 65% on day 0, 63% on day 1, 60% on day 2, 77% on day 3, and 83% on day 4. Results accuracy using morphological attributes were 72% on day 0, 70% on day 1, 76% on day 2, 97% on day 3, and 100% on day 4. The worthwhile improvement in accuracy brought about by using morphological attributes was only possible on days 3 and 4 incubation. Therefore, this study also did not solve the problem of fertility detection prior to incubation. The outcome of this study is, however, consistent with the earlier report of [20] that no textural or morphological attributes considered in the visible wavelength regions for brown eggs brought any significant improvement to models built from only spectral data. A recent study by [120] reported a line-scan imaging analysis for fast viability recognition of fertilized egg embryo, with recorded overall recognition accuracy of up to 99%. The target in this work is more towards pharmaceutical application in which non-viable eggs can be useful for vaccine manufacture. Non-viability status of eggs was established by stopping incubation of randomly selected eggs on days 5 and 9, while the remaining fertilized eggs were kept incubated till day 13. These incubation days were already late for early fertility detection being sought for by the poultry industries. There was no predictive modelling exercise carried out in this study, and no standard supervised learning classifying algorithm was used. The work is therefore still preliminary towards solving the problem of egg fertility classification prior to incubation. From all the cases considered, it was only the work of [59] that showed the greatest potential of using non-destructive HSI technique for early fertility discrimination, especially prior to incubation, and this was possible considering the NIR wavelength regions of the light spectrum.

7. Future Works Studies on the use of non-destructive technologies for chicken egg fertility assessment have evolved over the years. Hyperspectral imaging stood out as an emerging technology with the greatest potential among other non-destructive methods. Yet, the problem of fertility identification prior to incubation largely remains unresolved. Existing gaps in previous researches are related to data acquisition procedure, scanty available data, imbalanced data (too little or non-availability of non-fertile eggs for learning), and analysis/modelling techniques. Future works will need to use large enough quality data and embrace the use of existing approaches from the computing and biomedical allied fields for handling imbalanced data. Likewise, future studies should harness incorporating appropriately the state-of-the-art tools of machine and deep learning into the chicken egg fertility assessment modelling framework. Also, the use of ratio features in chicken egg fertility studies has not been adequately harnessed.

8. Conclusions This review has focused on the present direction in the use of non-destructive technologies for food quality analysis, towards improvement in the use of non-destructive hyperspectral imaging technique for chicken egg fertility assessment. This paper reviewed existing non-destructive approaches including ultrasound and dielectric measurements, thermal imaging, machine vision, spectroscopy, and hyperspectral imaging. Promising results were more evident with machine vision, spectroscopy, and hyperspectral imaging than with other non-destructive techniques. The paper commenced by reviewing the present state of chicken egg production moved on to a discussion on egg formation and structure with exposition on chicken egg chemical and functional compositions. The intrinsic nature of chicken egg fertility and the industrial challenge of identifying fertility prior to incubation were examined. Existing methods of assessing chicken egg fertility were then investigated with a Sensors 2020, 20, 5546 18 of 23 view to identifying existing problems and proffering a state-of-the-art solution (including appropriate technology) for solving such problems. Three major areas needing attention towards building a futuristic robust model for chicken egg fertility early detection were eventually enunciated as sample size, analysis/modelling techniques, and the rare class data acquisition problem. Hyperspectral imaging technology was presented as adequate in solving the chicken egg fertility classification problem. Careful attention must, however, be given to acquiring good quality data with large sample size in respective categories and using appropriate analysis/modelling and evaluation techniques. It is believed that the appropriate implementation of the outcome of this review would tremendously assist the commercial hatchery industries towards achieving a stable and robust model for chicken egg fertility early discrimination.

Author Contributions: A.O.A. collected and structured the materials, carried out the data extraction and wrote the manuscript. L.L. revised the manuscript and checked technical consistencies M.O.N. conceived the idea, reviewed the manuscript and provided overall guidance in the intellectual contents. All authors have read and agreed to the published version of the manuscript. Funding: Egg Farmer of Ontario and MatrixSpec Solutions: 170604. Conflicts of Interest: The authors declare no conflict of interest.

References

1. Mottet, A.; Tempio, G. Global poultry production: Current state and future outlook and challenges. World’s Poult. Sci. J. 2017, 73, 245–256. [CrossRef] 2. Alexandratos, N.; Bruinsma, J. World Agriculture towards 2030/2050: The 2012 Revision; ESA Working Paper; FAO: Rome, Italy, 2012. 3. Latour, M.A.; Meunier, R.; Stewart, J. Poultry: The Process of Egg Formation; Ssued in Furtherance of the Acts of May 8 and June 30, 1914; Purdue University Cooperative Extension Service: West Lafayette, IN, USA, 2014. 4. Potter, C.S.; Weber, D.E.; Sinn-Hanlon, J.; Fossum, B.M.; Bruce, C.B.; Thakkar, U. Chickscope 1.5: Explore Day 1-The Journey Begins: Meiosis and Mitosis; University of Illinois: Urbana, IL, USA, 1998. 5. Bruce, B.; Carragher, B.; Damon, B.; Dawson, M.; Eurell, J.; Gregory, C.; Lauterbur, P.; Marjanovic, M.; Mason-Fossum, B.; Morris, H. Chickscope: An interactive MRI classroom curriculum innovation for K-12. Comput. Educ. 1997, 29, 73–87. [CrossRef] 6. Sturkie, P.D. Avian Physiology Second Edition; Cornell University Press: Ithaca, NY, USA, 1965. 7. Coutts, J.; Wilson, G. Formation of the egg. In Optimum Egg Quality: A Practical Approach; 5M Publishing: Sheffield, UK, 2007. 8. Halls, A. Shur-Gain, Egg formation and eggshell quality in layers. Nutr. News Inf. Update 2014, 1–5. 9. Stadelman, W.J. Quality identification of shell eggs. In Egg Science and Technology, 4th ed.; CRC Press: Boca Raton, FL, USA, 2017; pp. 55–82. 10. Hernández-Hernández, A.; Vidal, M.; Gómez-Morales, J.; Rodríguez-Navarro, A.; Labas, V.; Gautron, J.;

Nys, Y.; Ruiz, J.G. Influence of eggshell matrix proteins on the precipitation of calcium carbonate (CaCO3). J. Cryst. Growth 2008, 310, 1754–1759. [CrossRef] 11. Belitz, H.-D.; Grosch, W.; Schieberle, P. Eggs. Food Chem. 2009, 546–562. 12. Anton, M. Composition and structure of hen egg yolk. In Bioactive Egg Compounds; Springer: Berlin/Heidelberg, Germany, 2007; pp. 1–6. 13. Potter, C.S.; Weber, D.E.; Sinn-Hanlon, J.; Fossum, B.M.; Bruce, C.B.; Thakkar, U. Chickscope 1.5: Explore Embryology Day 1—The Journey Begins: An. MRI’s View; University of Illinois: Urbana, IL, USA, 1998. 14. Okubo, T.; Akachi, S.; Hatta, H. Structure of hen eggs and physiology of egg laying. In Hen Eggs: Basic and Applied Science; Yamamoto, T., Juneja, L.R., Hatta, H., Kim, M., Eds.; CRC press: New York, NY, USA, 1997. 15. Romanoff, A.L.; Romanoff, A.J. The Avian Egg; John Wiley & Sons, Inc.: New York, NY, USA, 1949. 16. Wilson, J.L. Predicting Fertility, Section 1.: Breakout fertility. In Techniques for Semen Evaluation, Semen Storage, and Fertility Determination; Bakst, M.R., Long, J.A., Eds.; The Midwest Poultry Federation: Buffalo, MN, USA, 2010; pp. 72–78. Sensors 2020, 20, 5546 19 of 23

17. Bakst, M.R. Predicting Fertility: Section 2.: Visual and microscopic approaches for differentiating unfertilized germinal discs and early dead from pre-incubated blastoderms. In Techniques for Semen Evaluation, Semen Storage, and Fertility Determination, 2nd ed.; Bakst, M.R., Long, J.A., Eds.; The Midwest Poultry Federation: Buffalo, MN, USA, 2010; pp. 79–85. 18. King’Ori, A. Review of the factors that influence egg fertility and hatchability in poultry. Int. J. Poult. Sci. 2011, 10, 483–492. 19. Wilson, J.L.; Bakst, M.R.; Wishart, G.J.; Bramwell, R.K.; Donogue, A.M. Predicting Fertility: Sections 1–4. In Techniques for Semen Evaluation, Semen Storage, and Fertility Determination; Bakst, M.R., Long, J.A., Eds.; The Midwest Poultry Federation: Buffalo, MN, USA, 2010; pp. 72–94. 20. Lawrence, K.; Smith, D.; Windham, W.; Heitschmidt, G.; Park, B. Egg embryo development detection with hyperspectral imaging. Int. J. Poult. Sci. 2006, 5, 964–969. 21. Ernst, R.; Bradley, F.; Abbott, U.; Craig, R. Egg Candling and Breakout Analysis for Hatchery Quality Assurance and Analysis of Poor Hatches; Publication 8134; University of Californiadivision of Agriculture and Natural Resources: Oakland, CA, USA, 2004. 22. Önler, E.; Çelen, I.H.; Gulhan, T.; Boynukara, B. A study regarding the fertility discrimination of eggs by using ultrasound. Indian J. Anim Res. 2017, 51, 322–326. 23. Ghaderi, M.; Banakar, A.; Masoudi, A.A. Using dielectric properties and intelligent methods in Separating of hatching eggs during incubation. Measurement 2018, 114, 191–194. [CrossRef] 24. Lin, C.-S.; Yeh, P.T.; Chen, D.-C.; Chiou, Y.-C.; Lee, C.-H. The identification and filtering of fertilized eggs with a thermal imaging system. Comput. Electron. Agric. 2013, 91, 94–105. [CrossRef] 25. Paoletti, M.; Haut, J.; Plaza, J.; Plaza, A. Deep learning classifiers for hyperspectral imaging: A review. ISPRS J. Photogramm. Remote Sens. 2019, 158, 279–317. [CrossRef] 26. Shadman Roodposhti, M.; Aryal, J.; Lucieer, A.; Bryan, B.A. Uncertainty assessment of hyperspectral image classification: Deep learning vs. random forest. Entropy 2019, 21, 78. [CrossRef] 27. Geng, L.; Yan,T.; Xiao, Z.; Xi, J.; Li, Y.Hatching eggs classification based on deep learning. Multimed. Tools Appl. 2018, 77, 22071–22082. [CrossRef] 28. Geng, L.; Xu, Y.; Xiao, Z.; Tong, J. DPSA: Dense pixelwise spatial attention network for hatching egg fertility detection. J. Electron. Imaging 2020, 29, 023011. [CrossRef] 29. BOGA,˘ M.; ÇEVIK,˙ K.K.; Kocer, H.E.; Burgut, A. Computer-Assisted Automatic Egg Fertility Control. Kafkas Üniversitesi Vet. Fakültesi Derg. 2019, 25, 567–574. 30. Ma, J.; Sun, D.-W.; Pu, H.; Cheng, J.-H.; Wei, Q. Advanced techniques for hyperspectral imaging in the food industry: Principles and recent applications. Annu. Rev. Food Sci. Technol. 2019, 10, 197–220. [CrossRef] 31. ElMasry, G.; Sun, D.-W. Principles of hyperspectral imaging technology. In Hyperspectral Imaging for Food Quality Analysis and Control; Sun, D.-W., Ed.; Academic Press: San Diego, CA, USA, 2010; pp. 3–43. 32. Du, C.-J.; Sun, D.-W. Learning techniques used in computer vision for food quality evaluation: A review. J. Food Eng. 2006, 72, 39–55. [CrossRef] 33. Das, K.; Evans, M. Detecting fertility of hatching eggs using machine vision. II. Neural network classifiers. Trans. ASAE 1992, 35, 2035–2041. [CrossRef] 34. Das, K.; Evans, M. Detecting fertility of hatching eggs using machine vision I. Histogram characterization method. Trans. ASAE 1992, 35, 1335–1341. [CrossRef] 35. Du, C.-J.; Sun, D.-W. Recent developments in the applications of image processing techniques for food quality evaluation. Trends Food Sci. Technol. 2004, 15, 230–249. [CrossRef] 36. ElMasry, G.M.; Nakauchi, S. Image analysis operations applied to hyperspectral images for non-invasive sensing of food quality—A comprehensive review. Biosyst. Eng. 2016, 142, 53–82. [CrossRef] 37. Pasquini, C. Near infrared spectroscopy: Fundamentals, practical aspects and analytical applications. J. Braz. Chem. Soc. 2003, 14, 198–219. [CrossRef] 38. Siesler, H.W.; Ozaki, Y.; Kawata, S.; Heise, H.M. Near-Infrared Spectroscopy: Principles, Instruments, Applications; John Wiley & Sons: Hoboken, NJ, USA, 2008. 39. Williams, P.; Norris, K. Near-Infrared Technology in the Agricultural and Food Industries; American Association of Cereal Chemists, Inc.: St. Paul, MI, USA, 1987. 40. Giangiacomo, R.; Dull, G. Near infrared spectrophotometric determination of individual sugars in aqueous mixtures. J. Food Sci. 1986, 51, 679–683. [CrossRef] Sensors 2020, 20, 5546 20 of 23

41. Abdel-Nour, N.; Ngadi, M.; Prasher, S.; Karimi, Y. Prediction of egg freshness and albumen quality using visible/near infrared spectroscopy. Food Bioprocess. Technol. 2011, 4, 731–736. [CrossRef] 42. Norris, K. History of NIR. J. Near Infrared Spectrosc. 1996, 4, 31–38. [CrossRef] 43. Bamelis, F.; Tona, K.; De Baerdemaeker, J.; Decuypere, E. Detection of early embryonic development in chicken eggs using visible light transmission. Br. Poult. Sci. 2002, 43, 204–212. [CrossRef] 44. Dong, J.; Dong, X.; Li, Y.; Zhang, B.; Zhao, L.; Chao, K.; Tang, X. Prediction of infertile chicken eggs before hatching by the Naïve-Bayes method combined with visible near infrared transmission spectroscopy. Spectrosc. Lett. 2020, 1–10. [CrossRef] 45. Kim, M.; Lefcourt, A.; Chao, K.; Chen, Y.; Kim, I.; Chan, D. Multispectral detection of fecal contamination on apples based on hyperspectral imagery: Part, I. Application of visible and near-infrared reflectance imaging. Trans. Am. Soc. Agric. Eng. 2002, 45, 2027–2038. 46. Sun, D.-W. Hyperspectral Imaging for Food Quality Analysis and Control; Elsevier: Amsterdam, The Netherlands, 2010. 47. Osborne, B.G.; Fearn, T.; Hindle, P.H. Practical NIR Spectroscopy with Applications in Food and Beverage Analysis; Longman Scientific and Technical: Harlow, UK, 1993. 48. Chen, Y. Classifying Diseased Poultry Carcasses by Visible and Near-IR Reflectance Spectroscopy, Applications in Optical Science and Engineering, 1993; International Society for Optics and Photonics: Bellingham, WA, USA, 1993; pp. 46–55. 49. Chen, Y.; Park, B.; Huffman, R.; Nguyen, M. Classification of On-Line Poultry Carcasses with Backpropagation Neural Networks1. J. Food Process. Eng. 1998, 21, 33–48. [CrossRef] 50. Yanenko, L.; Velikanov, A. Hyperspectral Imaging for Food Quality Analysis and Control; National University of Food Technology: Kiev, Ukraine, 2014. 51. Steiner, G.; Bartels, T.; Stelling, A.; Krautwald-Junghanns, M.-E.; Fuhrmann, H.; Sablinskas, V.;Koch, E. Gender determination of fertilized unincubated chicken eggs by infrared spectroscopic imaging. Anal. Bioanal. Chem. 2011, 400, 2775–2782. [CrossRef][PubMed] 52. Qin, J. Hyperspectral Imaging Instruments. In Hyperspectral Imaging for Food Quality Analysis and Control; Sun, D.-W., Ed.; Elsevier: San Diego, CA, USA, 2010; pp. 129–172. 53. Bodkin, A. Hyperspectral imaging at the speed of light. Analysis 1997, 2561, 80–97. [CrossRef] 54. Bodkin, A.; Sheinis, A.; Norton, A. Hyperspectral Imaging Systems. U.S. Patent 8,174,694, 8 May 2012. 55. Ariana, D.P.; Lu, R. Detection of internal defect in pickling cucumbers using hyperspectral transmittance imaging. Trans. Asabe 2008, 51, 705–713. [CrossRef] 56. Amigo, J.M. Hyperspectral and multispectral imaging: Setting the scene. In Data Handling in Science and Technology; Elsevier: Amsterdam, The Netherlands, 2020; Volume 32, pp. 3–16. 57. Qin, J.; Lu, R. Detection of pits in tart cherries by hyperspectral transmission imaging. Trans. Asae 2005, 48, 1963–1970. [CrossRef] 58. Yoon, S.C.; Lawrence, K.C.; Smith, D.P.; Park, B.; Windham, W. Bone fragment detection in chicken breast fillets using transmittance image enhancement. Trans. ASAE Am. Soc. Agric. Eng. 2008, 51, 331. 59. Liu, L.; Ngadi, M. Detecting fertility and early embryo development of chicken eggs using near-infrared hyperspectral imaging. Food Bioprocess. Technol. 2013, 6, 2503–2513. [CrossRef] 60. Noh, H.K.; Lu, R. Hyperspectral laser-induced fluorescence imaging for assessing apple quality. Postharvest Biol. Technol. 2007, 43, 193–201. [CrossRef] 61. Jestel, N.L.; Shaver, J.M.; Morris, M.D. Hyperspectral Raman line imaging of an aluminosilicate glass. Appl. Spectrosc. 1998, 52, 64–69. [CrossRef] 62. Wabuyele, M.B.; Yan, F.; Griffin, G.D.; Vo-Dinh, T. Hyperspectral surface-enhanced Raman imaging of labeled silver nanoparticles in single cells. Rev. Sci. Instrum. 2005, 76, 063710. [CrossRef] 63. Klein, M.E.; Aalderink, B.J.; Padoan, R.; De Bruin, G.; Steemers, T.A. Quantitative hyperspectral reflectance imaging. Sensors 2008, 8, 5576–5618. [CrossRef] 64. Brauns, E.B.; Dyer, R.B. Fourier transform hyperspectral visible imaging and the nondestructive analysis of potentially fraudulent documents. Appl. Spectrosc. 2006, 60, 833–840. [CrossRef] 65. Mueller-Mach, R.; Mueller, G.O.; Krames, M.R.; Trottier, T. High-power phosphor-converted light-emitting diodes based on III-nitrides. Sel. Top. Quantum Electron. IEEE J. 2002, 8, 339–345. [CrossRef] 66. Chao, K.; Yang, C.-C.; Chen, Y.-R.; Kim, M.S.; Chan, D.E. Fast line-scan imaging system for carcass inspection. Sens. Instrum. Food Qual. Saf. 2007, 1, 62–71. [CrossRef] Sensors 2020, 20, 5546 21 of 23

67. Lawrence, K.; Park, B.; Heitschmidt, G.; Windham, W.; Thai, C. Evaluation of LED and tungsten-halogen lighting for fecal contaminant detection. Appl. Eng. Agric. 2007, 23, 811–818. [CrossRef] 68. Amigo, J.M.; Grassi, S. Configuration of hyperspectral and multispectral imaging systems. In Data Handling in Science and Technology; Elsevier: Amsterdam, The Netherlands, 2020; Volume 32, pp. 17–34. 69. ElMasry, G.; Kamruzzaman, M.; Sun, D.-W.; Allen, P. Principles and applications of hyperspectral imaging in quality evaluation of agro-food products: A review. Crit. Rev. Food Sci. Nutr. 2012, 52, 999–1023. [CrossRef] [PubMed] 70. Qin, J.; Chao, K.; Kim, M.S.; Lu, R.; Burks, T.F. Hyperspectral and multispectral imaging for evaluating food safety and quality. J. Food Eng. 2013, 118, 157–171. [CrossRef] 71. ElMasry, G.; Sun, D.-W.; Allen, P. Chemical-free assessment and mapping of major constituents in beef using hyperspectral imaging. J. Food Eng. 2013, 117, 235–246. [CrossRef] 72. Lewis, E.N.; Dubois, J.; Kidder, L.H.; Haber, K.S. Near infrared chemical imaging: Beyond the pictures. Tech. Appl. Hyperspectral Image Anal. 2007, 335–361. 73. Amigo, J.M.; Babamoradi, H.; Elcoroaristizabal, S. Hyperspectral image analysis. A tutorial. Anal. Chim. Acta 2015, 896, 34–51. [CrossRef] 74. Amigo, J.M.; Santos, C. Preprocessing of hyperspectral and multispectral images. In Data Handling in Science and Technology; Elsevier: Amsterdam, The Netherlands, 2020; Volume 32, pp. 37–53. 75. Kamruzzaman, M.; ElMasry, G.; Sun, D.-W.; Allen, P.Non-destructive assessment of instrumental and sensory tenderness of lamb meat using NIR hyperspectral imaging. Food Chem. 2013, 141, 389–396. [CrossRef] 76. Sone, I.; Olsen, R.L.; Sivertsen, A.H.; Eilertsen, G.; Heia, K. Classification of fresh Atlantic salmon (Salmo salar L.) fillets stored under different atmospheres by hyperspectral imaging. J. Food Eng. 2012, 109, 482–489. [CrossRef] 77. Vidal, M.; Amigo, J.M. Pre-processing of hyperspectral images. Essential steps before image analysis. Chemom. Intell. Lab. Syst. 2012, 117, 138–148. [CrossRef] 78. Esquerre, C.; Gowen, A.; Burger, J.; Downey, G.; O’Donnell, C. Suppressing sample morphology effects in near infrared spectral imaging using chemometric data pre-treatments. Chemom. Intell. Lab. Syst. 2012, 117, 129–137. [CrossRef] 79. Kucha, C.T.; Liu, L.; Ngadi, M.O. Non-destructive spectroscopic techniques and multivariate analysis for assessment of fat quality in pork and pork products: A review. Sensors 2018, 18, 377. [CrossRef] 80. Huang, H.; Liu, L.; Ngadi, M.O. Recent developments in hyperspectral imaging for assessment of food quality and safety. Sensors 2014, 14, 7248–7276. [CrossRef] 81. Xia, J.; Wishart, D.S. Using MetaboAnalyst 3.0 for Comprehensive Metabolomics Data Analysis. In Current Protocols in Bioinformatics; John Wiley & Sons, Inc.: Hoboken, NJ, USA, 2016; pp. 14.10.1–14.10.91. 82. Hackstadt, A.J.; Hess, A.M. Filtering for increased power for microarray data analysis. Bmc Bioinform. 2009, 10, 11. [CrossRef] 83. Camo, A. Unscrambler Users Guide and Help Documents, ver. 10.5.1; Programme Package for Multivariate. Calibration; CAMO Publishers: Trondheim, Norway, 2018. 84. Hong, D.; Yokoya, N.; Chanussot, J.; Zhu, X.X. An Augmented Linear Mixing Model to Address Spectral Variability for Hyperspectral Unmixing. IEEE Trans. Image Process. 2019, 28, 1923–1938. [CrossRef] 85. Renard, N.; Bourennane, S.; Blanc-Talon, J. Denoising and dimensionality reduction using multilinear tools for hyperspectral images. Geosci. Remote Sens. Lett. IEEE 2008, 5, 138–142. [CrossRef] 86. Sun, W.; Du, Q. Hyperspectral band selection: A review. IEEE Geosci. Remote Sens. Mag. 2019, 7, 118–139. [CrossRef] 87. Zhang, L.; Luo, F. Review on graph learning for dimensionality reduction of hyperspectral image. Geo-Spat. Inf. Sci. 2020, 23, 98–106. [CrossRef] 88. Partridge, M.; Calvo, R.A. Fast dimensionality reduction and simple PCA. Intell. Data Anal. 1998, 2, 203–214. [CrossRef] 89. Cox, T.F.; Cox, M.A. Multidimensional Scaling; CRC Press: Boca Raton, FL, USA, 2000. 90. del Águila, A.; Efremenko, D.S.; Trautmann, T. A Review of Dimensionality Reduction Techniques for Processing Hyper-Spectral Optical Signal. Light Eng. 2019, 27, 3. [CrossRef] 91. Nakariyakul, S. Feature Selection Algorithms for Anomaly Detection in Hyperspectral Data. Ph.D. Thesis, Carnegie Mellon University, Pittsburgh, PA, USA, 2007. Sensors 2020, 20, 5546 22 of 23

92. Saeys, Y.; Inza, I.; Larrañaga, P. A review of feature selection techniques in bioinformatics. Bioinformatics 2007, 23, 2507–2517. [CrossRef][PubMed] 93. Ladha, L.; Deepa, T. Feature selection methods and algorithms. Int. J. Comput. Sci. Eng. 2011, 3, 1787–1797. 94. Liu, D.; Sun, D.-W.; Zeng, X.-A. Recent advances in wavelength selection techniques for hyperspectral image processing in the food industry. Food Bioprocess. Technol. 2014, 7, 307–323. [CrossRef] 95. Jason, B. Machine Learning Mastery with Weka: Analyse data, develop models and work through projects. In Machine Learning Mastery; Jason Brownlee: Melbourne, Australia, 2016; pp. 1–248. 96. Hall, M.A. Correlation-Based Feature Selection for Machine Learning. 1999. Available online: http://citeseerx. ist.psu.edu/viewdoc/download?doi=10.1.1.455.4521&rep=rep1&type=pdf (accessed on 15 July 2020). 97. Ferri, F.; Pudil, P.; Hatef, M.; Kittler, J. Comparative study of techniques for large-scale feature selection. In Machine Intelligence and Pattern Recognition; Elsevier: Amsterdam, The Netherlands, 1994; Volume 16, pp. 403–413. 98. Pudil, P.; Novoviˇcová, J.; Kittler, J. Floating search methods in feature selection. Pattern Recognit. Lett. 1994, 15, 1119–1125. [CrossRef] 99. Kudo, M.; Sklansky, J. Comparison of algorithms that select features for pattern classifiers. Pattern Recognit. 2000, 33, 25–41. [CrossRef] 100. Guyon, I.; Elisseeff, A. An introduction to variable and feature selection. J. Mach. Learn. Res. 2003, 3, 1157–1182. 101. Swarbrick, B. Multivariate Data Analysis for Dummies, CAMO Software Special Edition; John Wiley & Sons Ltd.: Hoboken, NJ, USA, 2012; pp. 1–43. 102. Kuhn, M.; Johnson, K. Applied Predictive Modeling; Springer: Berlin/Heidelberg, Germany, 2013; Volume 26. 103. Amigo, J.M.; Ravn, C.; Gallagher, N.B.; Bro, R. A comparison of a common approach to partial least squares-discriminant analysis and classical least squares in hyperspectral imaging. Int. J. Pharm. 2009, 373, 179–182. [CrossRef] 104. Torres, I.; Amigo, J.M. An overview of regression methods in hyperspectral and multispectral imaging. In Data Handling in Science and Technology; Elsevier: Amsterdam, The Netherlands, 2020; Volume 32, pp. 205–230. 105. Rinnan, Å.; Van Den Berg, F.; Engelsen, S.B. Review of the most common pre-processing techniques for near-infrared spectra. Trac. Trends Anal. Chem. 2009, 28, 1201–1222. [CrossRef] 106. Naik, G.R.; Kumar, D.K. An overview of independent component analysis and its applications. Inform. Int. J. Comput. Inform. 2011, 35, 63–81. 107. Yu, M.; Naqvi, S.M.; Rhuma, A.; Chambers, J. In Fall detection in a smart room by using a fuzzy one class support vector machine and imperfect training data. In Proceedings of the International Conference on Acoustics, Speech and Signal Processing, Prague, Czech Republic, 22–27 May 2011; pp. 1833–1836. 108. Dong, G.; Zhang, X.; Wong, L.; Li, J. CAEP: Classification by Aggregating Emerging Patterns; Discovery Science; Springer: Berlin/Heidelberg, Germany, 1999; pp. 30–42. 109. Li, J.; Dong, G.; Ramamohanarao, K.; Wong, L. Deeps: A new instance-based lazy discovery and classification system. Mach. Learn. 2004, 54, 99–124. [CrossRef] 110. Falco, N.; Xia, J.; Kang, X.; Li, S.; Benediktsson, J.A. Supervised classification methods in hyperspectral imaging—Recent advances. In Data Handling in Science and Technology; Elsevier: Amsterdam, The Netherlands, 2020; Volume 32, pp. 247–279. 111. Wo´zniak,M.; Graña, M.; Corchado, E. A survey of multiple classifier systems as hybrid systems. Inf. Fusion 2014, 16, 3–17. [CrossRef] 112. Rokach, L. Pattern Classification Using Ensemble Methods; World Scientific: Singapore, 2010; Volume 75. 113. Huang, L.; He, A.; Zhai, M.; Wang, Y.; Bai, R.; Nie, X. A Multi-Feature Fusion Based on Transfer Learning for Chicken Embryo Eggs Classification. Symmetry 2019, 11, 606. [CrossRef] 114. Nguyen, G.; Bouzerdoum, A.; Phung, S. Learning pattern classification tasks with imbalanced data sets. In Pattern Recognition; Yin, P., Ed.; INTECH Open Access Publisher: Vukovar, Croatia, 2009; pp. 193–208. 115. Smith, D.; Mauldin, J.; Lawrence, K.; Park, B.; Heitschmidt, G. Detection of Fertility and Early Development of Hatching Eggs with Hyperspectral Imaging. In Proceedings of the 11th European Symposium on the Quality of Eggs and Egg Products Netherlands: World’s Poultry Science Association, Doorwerth, The Netherlands, 23–26 May 2005; pp. 176–180. 116. Smith, D.; Lawrence, K.; Heitschmidt, G. Fertility and embryo development of broiler hatching eggs evaluated with a hyperspectral imaging and predictive modeling system. Int. J. Poult. Sci. 2008, 7, 1001–1004. Sensors 2020, 20, 5546 23 of 23

117. Zhang, W.; Pan, L.; Tu, K.; Zhang, Q.; Liu, M. Comparison of spectral and image morphological analysis for egg early hatching property detection based on hyperspectral imaging. PLoS ONE 2014, 9, e88659. [CrossRef] 118. Barker, M.; Rayens, W. Partial least squares for discrimination. J. Chemom. 2003, 17, 166–173. [CrossRef] 119. Abdel-Nour, N.; Ngadi, M.; Prasher, S.; Karimi, Y. Combined Maximum R2 and partial least squares method for wavelengths selection and analysis of spectroscopic data. Int. J. Poult. Sci. 2009, 8, 170–178. [CrossRef] 120. Park, E.; Lohumi, S.; Cho, B.-K. Line-scan imaging analysis for rapid viability evaluation of white-fertilized-egg embryos. Sens. Actuators B Chem. 2019, 281, 204–211. [CrossRef]

© 2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).