Skip to main content

Semantic segmentation of human oocyte images using deep neural networks



Infertility is a significant problem of humanity. In vitro fertilisation is one of the most effective and frequently applied ART methods. The effectiveness IVF depends on the assessment and selection of gametes and embryo with the highest developmental potential. The subjective nature of morphological assessment of oocytes and embryos is still one of the main reasons for seeking effective and objective methods for assessing quality in automatic manner. The most promising methods to automatic classification of oocytes and embryos are based on image analysis aided by machine learning techniques. The special attention is paid on deep neural networks that can be used as classifiers solving the problem of automatic assessment of the oocytes/embryos.


This paper deals with semantic segmentation of human oocyte images using deep neural networks in order to develop new version of the predefined neural networks. Deep semantic oocyte segmentation networks can be seen as medically oriented predefined networks understanding the content of the image. The research presented in the paper is focused on the performance comparison of different types of convolutional neural networks for semantic oocyte segmentation. In the case study, the merits and limitations of the selected deep neural networks are analysed.


71 deep neural models were analysed. The best score was obtained for one of the variants of DeepLab-v3-ResNet-18 model, when the training accuracy (Acc) reached about 85% for training patterns and 79% for validation ones. The weighted intersection over union (wIoU) and global accuracy (gAcc) for test patterns were calculated, as well. The obtained values of these quality measures were 0,897 and 0.93, respectively.


The obtained results prove that the proposed approach can be applied to create deep neural models for semantic oocyte segmentation with the high accuracy guaranteeing their usage as the predefined networks in other tasks.


Infertility is a wide medical and social problem. The World Health Organization (WHO) defines infertility as a failure to achieve clinical pregnancy after 12 months or more of regular (3-4 times per week) unprotected sexual intercourse [1]. Infertility is considered a disease requiring regular medical care and it constitutes a major problem not only for a given individual, but also for all society. 10–18% of reproductive age partners are affected by infertility worldwide. It is estimated that in Poland, 10–15% or approximately 1.2 million couples struggle with the problem of infertility, with 24000 of them requiring specialist treatment. In Poland there are no detailed statistical studies covering this subject [2,3,4]. Once infertility is diagnosed, the treatment process involves the techniques of ART (Assisted Reproductive Technology). ART is a group of methods aiming at achieving pregnancy, where a single stage or multiple stages occurring during natural conception are omitted or replaced, depending on the diagnosis and causes of infertility [5]. One of the most effective and frequently applied ART methods is intracytoplasmic injection of sperm (ICSI) [6, 7]. The ICSI method, similar to IVF (In Vitro Fertilization) consists of multiple stages i.a. controlled ovarian hyperstimulation, oocyte retrieval from ovarian follicles, in vitro fertilization of mature oocytes under laboratory conditions, embryo culture and their transfer to the uterine cavity. The procedure results in obtaining one to several dozen oocytes. The condition allowing further stages of the procedure to be carried out is the adequate maturity and quality assessment of the oocyte’s morphological structure. The obtained oocytes are found at various stages of their meiotic maturity. Approximately 80% of the collected oocytes are during the stage of metaphase II meiotic division (MII), remaining 20% are oocytes at the stage of metaphase I (MI), prophase I meiotic division (PI), degenerated cells (DEG) and dysmorphic cells (DYS). Due to low capability of embryonic development, oocytes MI and PI are usually rejected in the process of selection or made to undergo in vitro maturation [8, 9]. The degree of oocyte maturity is determined on the basis of presence of first polar body (FPB) and germinal vesicle (GV) [8, 10].

The quality assessment of oocyte is primarily based on its morphological features observed in a light-microscope. Oocyte quality, and at the same time its development potential, is one of the essential factors determining the success of ART [11, 12]. What is taken into account when assessing the morphological structure of the oocytes is the shape and appearance of cytoplasm, zona pellucida (ZP), perivitelline space (PVS) and FPB. These features are important in terms of a successful fertilization, embryo development and achieving pregnancy and their description and assessment is subjective and depending on the experience and knowledge of the clinical embryologist. One of the biggest problems during oocyte selection is the fact that even a normal looking oocyte can be a carrier of aneuploidy, therefore the research for new methods to simplify the selection oocytes with the highest development potential is in progress [13]. Computer image analysis and the use of artificial intelligence algorithms can be used to solve the problem of optimal selection of oocytes and embryos. Methods of frame-by-frame analysis of embryo culture are commonly used, in which embryo pictures are taken at appropriate time intervals (time-lapse). Basing on the changes found in the appearance of embryos on particular culture days, clinical embryologists are able to assess the development potential. Another research also relates to the appearance of oocytes. For instance, Cavalera et al. [14] combine time-lapse analysis with image anemometry and with use of artificial neural network to determine the movement of cytoplasm in maturing mouse oocytes, thus determining also their development potential with 91.03\(\%\) accuracy. Research studies are also underway to develop a method for detecting embryos in the image. For this purpose - a circle detection algorithm based on a modification of Hough transform with Particle Swarm Optimization. Embryo pictures taken directly after carrying out the oocyte fertilization procedure have been tested [15]. Automatic circle detection has been applied to analyze the images of day three embryos. The method has been applied for automatic detection of blastomers [16]. Raudonis et al. [17] propose an automated detection human embryo using a Haar feature-based cascade classifier, the radiating lines and the technique of deep learning obtaining accuracy for embryo detection around 90%. In the paper Singh et al. [18], automatic segmentation of blastomers with the use of ellipsoidal model has been applied, using day one and day two pictures obtained with the use of Hoffman Modulation Contrast. Hierarchical Neural Network in ZP segmentation in human blastocysts was used in subsequent studies [19]. Khan et al. [20] focused on methods of monitoring the developmental stage of the embryo based on the analysis of the image sequence of time-lapse microscopy. The methods made it possible to predict the number of cells with an efficiency of over 90%. Dirvanauskas et al. [21] combined different classifiers to improve the prediction of the development stage of embryos. The best results were achieved after when combining the Convolutional Neural Network (CNN) and Discriminant classifiers. Manna et al. [22] developed the method including a search for patterns in images of oocytes and embryos which could be useful in assessing the development potential. For this purpose, digital images of 269 oocytes and embryos obtained from them have been analyzed, with exclusive focus on the analysis of image covering cytoplasm and blastomers.

The number of oocytes subjected to the procedure depends mainly on the law and patient’s clinical picture. In Poland, a maximum of six oocytes can be fertilized and no more than two embryos can be transferred. The remaining oocytes and obtained embryos are subjected to cryopreservation. An additional question, besides the optimal selection of oocytes for fertilization, is the assessment and classification of development potential of embryos in culture phase and their selection for transfer to the uterine cavity [23, 24]. In some countries the selection of embryos is not possible due to regulations of the law. In Italy it is allowed to create up to three embryos which must be applied during a single transfer procedure into the uterine cavity. Embryo cryopreservation is prohibited except for situations when the implantation is temporarily impossible due to transient health issues [25]. Due to a legal act on embryo protection, the German law prohibits selecting or storing embryos. Transfer of created embryos takes place in the zygote stage on culture day one. Cryopreservation is only allowed in special medical cases [26, 27].

In case of retrieving a big number of oocytes it is important to make the appropriate selection of oocytes to be fertilized. Choosing adequate-quality oocytes constitutes a major medical problem which determines the success of fertilization and further appropriate development of embryos and finally achieving pregnancy.

The subjective nature of morphological assessment of oocytes and embryos is one of the main reasons for seeking non-invasive and— above all—objective methods for assessing quality. Better understanding of the development potential of oocytes and embryos and obtaining new indicators for their selection can increase efficiently the effectiveness of ART treatment [28].


Bearing in mind state-of-art deep learning models for semantic image segmentation it was decided to exam the major architectures of deep neural networks such as:

  • DeepLab v3+ convolutional neural networks

  • Fully convolutional neural networks

  • SegNet convolutional neural networks

  • U-Net convolutional neural networks

Transfer learning technique was adopted due to the small number of learning patterns. In the case of DeepLab v3+ models base networks were specified as ResNet-18, ResNet-50, Xception, or Inception-ResNet-v2. Fully and SegNet convolutional models were initialized using VGG-16 and VGG-19 pretrained networks. U-Net models were used for comparison purposes to verify the case in which a predefined network is not given. Therefore, their convolution layer weights were formed applying the weight initialization method.

One of the problems to be solved during development of the deep neural network for semantic oocyte segmentation is to find the best structure of the neural model, as well as the best parameters of its training process. This task was carried out by using the systematic search procedure. In this way different configurations of the network and training process were examined. For instance, DeepLab v3+ models were modified by changing network parameters, as follows:

  • The input image size was chosen from three variants: \(\underline{300}\) x \(\underline{300}\)px, 400 x 400px, 561 x 561px;

  • Downsampling factor was set to \(\underline{8}\) or 16;

In addition, in the case of fully convolutional models, upsample factor was chosen as 8, 16 or 32, in SegNet models filter size was set to [3 7] or [5 13], whereas in U-Net models encoder depth and number of output channels for first encoder were set to default values.

The stochastic gradient descent with momentum update (Eq. 5) was selected to train neural models. The final result of the training process strongly depends on the values of the behavioural parameters of the training algorithm. Therefore, several variants were examined:

  • Momentum coefficient \(\gamma \) was equal to 0.8, 0.85, \(\underline{0.9}\), 0.95;

  • Maximum number of epochs N was set to 50, 100, ..., \(\underline{500}\), 1000;

  • L2 regularization parameter \(\kappa \) was set to 1E\(-4\) or \(\underline{1\hbox {E}-3}\);

  • Learn rate drop factor was set to \(\underline{0.95}\) or 0.99;

  • Normalization weight factor K was equal to 25E\(+3\), 35E\(+3\), \(\underline{45\hbox {E}+3}\), 55E\(+3\);

The values of other parameters of the algorithm were set as follows: initial learn rate \(\alpha \) = 1E\(-2\), learn rate drop period = 5, verbose frequency = 8, validation frequency = 10, learn rate schedule was set to ’piecewise’ and shuffling option was set to ’every-epoch’. The underline text indicates values of the behavioural parameters of the learning algorithm for which the best deep neural model has been created in the task of semantic oocyte segmentation.

The whole data set was divided into three separate subsets: T - training data (80%), V - validation data (5%) and TT - test data (15%). Augmentation on the fly technique was applied in order to prevent over-fitting effect. The following image data augmentation operations were used: random rotation, reflection around the X or Y axis, as well as horizontal and vertical translation.

The outcomes of deep learning trials for each deep neural model are shown in Table 1 for training phase and Table 2 for test phase respectively. The orders of the results in the tables are sorted according to weighted intersection over union evaluation metric (wIoU) calculated for test patterns (TT).

Table 1 Final results of the experiment of selecting the optimal deep neural network architecture and the values of the training process parameters (training phase)
Table 2 Final results of the experiment of selecting the optimal deep neural network architecture and the values of the training process parameters (test phase)

The best score was obtained for the 15th variant of DeepLab-v3-ResNet-18, when the training accuracy (Acc) reached about 85% for training patterns (T) and 79% for validation ones (V). As it was mentioned above, the best configuration of the network structure and its training options and parameters were marked by the underlined text in the previous subsection. Moreover, the smallest value of the categorical cross-entropy loss (Loss=0.33) could be achieved for such a structure of the network, training options and values of parameters. More importantly, it was observed that the given training results allowed to get the very high values of other semantic segmentation quality metrics such as the average boundary F1 contour matching score, as well as ratio of correctly classified pixels to total pixels, regardless of class (gAcc).

The more detailed analysis was needed to determine the performance of the DeepLab-v3-ResNet-18 (15) model as an automatic tool for semantic oocyte segmentation. For this reason, the confusion matrix was calculated and charted in Fig. 1. In this way, it was possible to investigate the accuracy of the model taking into account pixel-level classification results for all images. Diagonal and off-diagonal cells of the chart correspond to correctly and incorrectly classified pixels, respectively. The table of confusion was sorted according to the true positive rate.

Pixels belonging to areas such as CPM_DC, CPM_CC, ZP, CCC, PVS and CPM_DCG were segmented without significant mistakes as confirmed by high values of the true positive rate (from 79.4 to 99.2\(\%\)) and small values of the false discovery rate (from 1.4 to 24.5\(\%\)). Equally good true positive and false discovery rates were achieved for GV area. Interestingly, CPM_CGA area was identified ambiguously with high value of the positive predictive value (71.6\(\%\)) and the false negative rate (46.1\(\%\)). Not very good segmentation results were obtained for CPM_VAC and PB_FFPB areas for which the probability of pixel detection is less than 50\(\%\). The accuracy of the segmentation of CPM_SERC and PB_MPB areas was not possible to investigate because of the usage of all images including these pixels in the training stage.

Fig. 1

Confusion matrix calculated for DeepLab-v3-ResNet-18 (15) model on test data set (TT)

The similar accuracy of semantic oocyte segmentation was observed in training and test phases for other DeepLab v3+ convolutional neural structures which have been created basing on ResNet-50 and Incpetion-ResNet-v2 predefined networks. The values of quality metrics such as gAcc, mAcc, mIoU and mBFS were very close to those in the best solution. For this reason, the additional analysis was needed. The attention was paid to the accuracy of the model corresponding to each segmented area. Table 3 includes outcomes of the accuracy comparison of selected deep neural models in the segmentation task. As one can see, it is not easy to select the best neural model for semantic segmentation of any areas. However, it is possible to answer the question what is the most relevant model for specified area. For instance, it can be stated that the best deep neural model for classification of pixels belonging to CPM_CC is DeepLab-v3-ResNet-18 (15), to CPM_DCG is DeepLab-v3-Incpetion-ResNet-v2 (10), ..., to ZP is DeepLab-v3-ResNet-50 (7) and so on.

Table 3 Comparison of the accuracy of selected deep neural models in the segmentation task

Deep learning experiments were carried out employing the personal computer station with Intel®Core™i7-3930K CPU @ 3.20 GHz, 64 GB RAM, 512 GB SSD, 2 TB HDD, NVIDIA™RTX 2080 equipped with 8 GB RAM.


For deeper assessment, it is essential to analyse directly segmentation results obtained for the best and worst deep neural networks. Some examples of segmentation results achieved for test patterns are shown in Table 4. The left part of the table (cells a, d) includes two images of oocytes classified as MII (collected from patient No. 133 and 179, respectively) which have been segmented by clinical embryologist. Whereas, the right part of the table contains a few segmented images of oocytes obtained by means of deep neural networks (cells b, c, e, f). In this part of the table there are included graphical visualisations of differences for both oocyte segmentation methods (human and automatic). The first result of automatic segmentation represents one of the best case obtained by using DeepLab-v3-ResNet-18 (15). Comparing segmentation made by a specialist and segmentation obtained with a deep network it is very hard to observe any differences directly in segmented images. These are only noticeable when we display the diff area of human and automatic segmentation results (the last column of the table). For the first deep network (b) it can be seen that the white and grey pixels cover a very small area of the black image. This looks similar at first sight to the second network (c). However, the diff area exposes discrepancies corresponding to differences between manually and automatically segmented areas, especially in cases such as first polar body FB_FPB, clear cytoplasm CPM_CC, zona pellucida ZP and cumuluse/corona cells CCC. This observation was confirmed for other cases. The least accurate segmentation results were obtained for SegNetLayers network. Images presented in figures (e) and (f) are used to visualise the differences between the deep oocyte segmentation with and without predefined networks. As one can observe, deep neural model created from scratch without predefined network could not guarantee correct results, it means that even straight and easily segementable areas of pixels were portioned into ragged and distorted parts.

Table 4 Visual comparison of semantic segmentation results for selected deep models

To understand better the significance of the obtained results the next part of analyses was done taking into account the embryologist’s perspective. Table 5 includes a graphical visualization of segmentation errors. The first column presents the pictures of oocytes. The second column presents manual segmentation carried out by clinical embryologist. The third and fourth column present the result of automatic segmentation and the differences between manual and automatic segmentation.

Table 5 Selected results of semantic oocyte segmentation obtained for DeepLab-v3-ResNet-18 (15) model on test data set (TT)

It should be emphasized that the problem of oocyte segmentation is a multi-state problem. Basic areas of the oocyte occurring at each developmental stage such as ZP, PVS, CPM_CC and CCC are correctly classified (89.9, 83.4, 95.9 and 85.9%). The obtained results indicate the correct recognition of the area of interest and give a very good prognosis for future works related to the classification of oocytes to specific development stages.

Globally, the efficiency of segmentation for selected networks is high, nevertheless there are areas where the recognition efficiency is not very good. Having performed the confusion matrix based analysis, one can observe that the error rate for the CPM_CGA areas is higher. This area has been classified improperly with CPM_CC, CPM_DC, CPM_VAC and GV areas, with the largest share in the cumulative error belonging to CPM_CC and CPM_DC areas, which account for 43.2% out of 46.1% of errors. Figure 2 presents 3 images of cells with CPM_CC, CPM_CGA and CPM_DC area. The first figure (2a) presents a cell with pure cytoplasm area. Pure cytoplasm is smooth and bright, whereas the CPM_CGA area presented in the second figure (2b) is darker and has a granular structure. This area is visually similar to area shown in figure three (2c) showing CPM_DC area, while CPM_CGA area occurs only on one fragment of cytoplasm but CMP_DC area covers entire cytoplasm.

Fig. 2

Example of human oocyte images with CPM_CC, CPM_CGA and CPM_DC areas

Wrong classification of CPM_CGA area as CPM_CC area is not critical for medical reasons, CPM_CGA areas may occur in various sizes and most often centrally located in cytoplasm area. Errors in detecting that area may be a result of mistakes in preparing the training examples. The first example in Table 5 (patient No. 52) shows that the part of region marked by embryologist as CPM_CGA, DNN marked like CPM_DC. The errors could be caused by the locally similar structure of the cytoplasm in both cases, or the darkening of this region due to the presence of CCC.

CPM_VAC is an area with error rate of 56.7\(\%\). This error is mainly related to the failure to recognize small vacuoles (Table 5, patient No. 64) in the cytoplasm or incorrect segmentation of CPM_VAC in the GV structure. Figure 3a presents an oocyte with vacuole, Figure 3b presents an oocyte in PI class with GV.

Fig. 3

Example of human oocyte images with CPM_VAC and GV areas

The vacuole interior background is visually similar to the GV area. This similarity may be the reason for the segmentation error that occurs. The GV structure occurs in and is typical for immature oocytes at PI stage. The lack of vacuole segmentation is related to small areas. Errors generated during segmentation can be related to a small learning set. The test set included four images with vacuoles. On two images the segmentation was correct.

The GV area has been correctly classified in 69.6\(\%\). The area was sometimes marked as CPM_CC, CPM_ CGA, CPM_VAC, CPM_DC and PB_FPB. Incorrect segmentation in the cytoplasm area of the oocyte, may be caused by the unclear boundary between the GV region and cytoplasm. An example of mistakes in these region is shown in Table 5, patient No. 30.

Another analysed areas were PB_FPB and PB_FFPB. True positive rate for these regions are 55.3 and 43.2\(\%\) respectively. PB_FPB is to the largest rates segmented wrongly as CMP_CC and PVS due to the location of PB_FPB in the cell. Moreover, there are also errors in segmentation concerning images where the PB_FPB is hardly visible due to the presence of CCC, or hidden under the cytoplasm. There is also a problem connected with correct distinguishing between both areas. The example of double segmentation of first polar body is presented in Table 5, patient No. 169. It is planned to unify the PB_FPB and PB_FFPB areas and identify as one area of interest in future research.

It should be noted that the research presented in this paper concerns the segmentation of oocytes in MII, MI, PI, DYS and DEG classes. In this study, the segmentations task concerned 13 different areas, which makes the undertaking very complicated. To the best of the authors’ knowledge, this is the first such a comprehensive study. Other researchers chose to focus on three or four areas. Zhao et al. [29] perform segmentation of day-1 embryos focusing on cytoplasm, ZP and pronuclei. Kheradmand et al. [30] present the segmentation of ICM, TE, cavity and ZP human blastocyst structures. Firuzinia et al. [31] perform segmentation only on mature MII oocytes (Ooplasm, ZP and PVS). In the hereby paper the CPM cytoplasm is divided into sub-areas (CPM_CC, CPM_CGA, CPM_DC, CPM_DGA) and additional structures (CPM_VAC, CPM_SERC, GV). In addition to PVS and ZP areas, the images of oocytes show other important areas such as PB and its sub-areas PB_FPB, PB_MPB and PB_FFPB as well as an additional area of CCC. Due to large disproportions in the number of analyzed areas (3-4 areas vs. 13 areas) it is very hard to submit a direct comparison. In order to obtain the approximate comparison of results, ten images of MII oocytes containing 5 main regions of interest (CPM_CC, PVS, ZP, PB_FPB and CCC) have been selected from the test set. The results of segmentation obtained for these images are presented in Table 6. Moreover, Table 7 presents selected results. Although the network has been designed to recognize 13 areas, it can be seen that the results are comparable to 3-areas segmentation task.

It should be noted that the hereby paper is a part of a project aimed at classification and optimal selection of oocytes and embryos for the IVF procedure. Therefore selecting those many structures has been essential. The ongoing research focuses on the tasks such oocyte classification and the study of impact of the presence of specific structures and their features in correlation with treatment outcomes.

Table 6 Comparison of the accuracy with other results presented in literature
Table 7 Selected results of semantic segmentation MII oocytes with 5 regions of interest obtained for DeepLab-v3-ResNet-18 (15) model on test data set (TT)

Finally, it was decided to study the complexity of selected deep models, as well. The most important measures such as computational complexity metric (CCM), total learnables, training and inference time were taken into consideration. According to Table 8, it can be noticed that the DeepLab-v3-ResNet-18 architecture, due to the lowest complexity, has faster inference and training speed. Moreover, the inference speed of this type of the model is higher than in the method proposed by Firuzinia et al. [31]. DeepLab-v3-ResNet-50 and DeepLab-v3-Inception-ResNet-v2 models need much more computing resources. However, the inference time of all selected models is definitely acceptable from a practical point of view. Hence, it may be concluded that, analysing an oocyte image can be done by means of such models in real-time, even on a personal laptop computer.

Table 8 Comparison of the selected deep neural networks in terms of computational complexity, the number of learnable parameters and training/inference speed


This paper is focused on a method of semantic segmentation of human oocytes by means of deep neural networks. The performance comparison of different types of convolutional neural networks for semantic oocyte segmentation was carried out. The merits and limitations of the selected deep neural networks were discussed. As a result, it has been proved that the proposed approach can be used to create deep neural models for semantic oocyte segmentation with high accuracy. In effect, such models can be employed as the predefined networks in other tasks. To the best of the authors’ knowledge, this research is the largest study to date in the context of semantic segmentation of human oocytes using deep neural networks. The data set of 334 pictures of oocytes has been used in this paper (segmented by a clinical embryologist). It should be emphasised that, 13 areas of interest typical for cells at various stages of their development have been identified. The main purpose of the paper was to recognize deep neural networks optimal for the task of segmenting human oocytes. This paper involves the examination of 71 deep neural models and it has been found by \({\varvec{{wIoU}}}\) that the best global results were achieved using the DeepLab-v3-ResNet-18 model. Computational complexity and comparative analysis for selected neural networks were performed.

Due to a relatively small number of training examples and significant differences in numbers of pixels representing particular areas of the cell structure, some areas were prone to bigger prediction error. What is a very big advantage of the proposed methodology is the fact that thanks to automatic segmentation it will be possible to analyse automatically particular areas and estimate their typical statistical features, it will be possible to analyse absolute measures such as the size of the surface of a specific area, as well as relative measures. In the next stages of the study, the authors will examine this problem hypothesizing that these features might be a carrier of diagnostic information.

This study is a part of a wider research on the development of an optimal selection system for oocytes to be subjected to in vitro fertilization. In the next step the system will be expanded with optimal embryo selection module. Classification of oocytes is a complex task and the authors have assumed that better classification results will be achieved with the use of deep neural networks which recognize and properly segment the areas visible in the image of the oocytes.

The results presented in the hereby paper can be employed to build an advisory system used to support the work of a clinical embryologist, as well as to develop a training/educational system which provides the possibility to verify the correct determination/marking of particular structures. It has to be emphasized that the proposed method is classified to the group of soft computing approaches. The well-known and often practised validation technique was used to assess how the model will generalize to an independent data set. However, this does not guarantee the proposed method will work correctly on all new data.


The suggested methodology for optimal choice of oocytes and embryos is schematically presented in Fig. 4. In compliance with the presented methodology, oocyte pictures are taken directly after the denudation process. The pictures are pre-edited (scaled, centred, resampled). Properly prepared digital images and remaining medical data collected during treatment and standard diagnostic tests constitute the input of the algorithm for optimal selection of oocytes to be successively subjected to ICSI procedure.

Fig. 4

Methodology of selecting optimal oocytes and embryos

The obtained embryos are subjected to observation throughout the next culture days (1-6) and their appearance is registered. The sequence of embryo pictures along with medical data is evaluated, similarly to oocytes. The algorithm indicates optimal embryos which reveal the best development potential.

In compliance with the methodology, the first stage is the optimal selection of oocytes. The hereby work focuses on the use of deep learning methods. Approaches to automatic classification of oocytes and embryos involving this kind of methods are known in the literature [14, 22, 32, 33]. This approach consists of providing a picture to the network which then classifies and assigns the picture to a given quality group. One can assume that the network is not taught to recognize particular morphological structures.

On the contrary to the presented works, it has been assumed that the classifying network will be pre-trained in terms of recognition and segmentation of human embryos. It has been hypothesized that training the classification network will be more effective if the network “understands” the content of the picture. What is an additional advantage of such approach is the possibility to use segmented pictures to determine various measures and statistical features of the analyzed areas. The analysis of particular areas will be relatively easier if e.g. the shape, surface area of the zones of interest, etc. are known. Figure 5 is a schematic presentation of the methodology of conduct in automatic segmentation of oocytes.

Fig. 5

Method of segmentation of oocyte images

Oocyte–morphological structures in microscopic image

Figure 6 presents an image of an oocyte in MII class. The total diameter of a mature oocyte is approximately 150 \(\mu m\). A mature oocyte consists of oolemma-surrounded cytoplasm (CPM) (1) with a diameter of about \(110-115\) \(\mu m\), first polar body (2), \(15-20\) \(\mu m\) wide pellucid zone (3), perivitelline space (4), the remains of granulosa cells Cumulus/corona cells (CCC) (5) are usually visible in the pictures of oocytes [24, 34].

Fig. 6

Image of oocyte in stage MII (1—Cytoplasm (CPM), 2—First polar body (FPB), 3—Zona pellucida (ZP); 4— Perivitelline space (PVS); 5—Cumulus/corona cells (CCC))

The assessment of maturity and morphological structure quality is performed after the process of denudation, that is the purification of oocytes from the surrounding cumulus, which is a cumulus-oocyte complex (COC) [10]. Oocytes occur at different stages of their development (MII, MI, PI, DEG, DYS) and contain different morphological structures. Table 9 presents the images of 13 morphological identified structures. The occurrence of specific structures and the assessment of their morphology is the basis for oocyte qualification and assessment of its development potential.

Table 9 Segments of oocytes

Five areas have been distinguished in the cytoplasm group. Pure CPM_CC cytoplasm with a smooth and homogeneous surface. CPM_DCG dispersed granularity cytoplasm, characterized by significant and even granularity in the image. CPM_CGA cytoplasm granularity area in which a distinct, darker granularity zone can be distinguished, with the rest of cytoplasm being smooth. Smooth endoplasmic reticulum cluster CPM_SERC, which has a smooth and oval surface with a clearly visible edge in the cytoplasm area. Dark cytoplasm CPM_DC - an area typical for degenerated cells of a clearly dark color, without visible depth. The last area identified in the cytoplasm are the Vacuoles CPM_VAC, which form clearly visible oval craters. The next cell structure is the PB (polar body). In terms of morphology and quantity, three types of polar body have been identified. The polar body is located between the ZP and the cytoplasm. First Polar Body PB_FPB has a smooth, homogeneous surface, most often it has an ellipsoidal shape. The occurrence of fragmentation in first polar body determines it to be qualified for the area called PB_FFPB. There may be more polar bodies in the oocyte—this is referred to as the Multi polar body PB_MPB.

There is a PVS perivitelline space between the oolemma and the zona pellucida. There may be some granularity in its area. Oocyte is surrounded by zona pellucida. ZP has a porous, homogenous surface. There might be spherical structures and granullity CCC on the ZP surface. The last identified structure is the GV present in oocytes in the PI phase. GV occurs in cytoplasm area, it is a circle with a smooth structure and clear edges, containing a clearly visible spherical nucleus on its surface.

Data set preparation

Oocytes have been collected from 60 patients (average age of 32 ± 10 years) subjected to ICSI procedure. In total 334 pictures of oocytes have been used, including 236 pictures of oocytes classified as MII, 21 as MI, 48 as PI, 8 as DYS and 23 as DEG. The patients were subjected to hormonal stimulation. The ovarian stimulation protocol was chosen based on the clinical picture. After collection, the COC were incubated for \(2-5\) hours in culture medium (SAGE 1-Step™, Origio CooperSurgical Companies) in an incubator at \(37^{\circ }\)C, \(6\%\) \(\hbox {CO}_2\). Oocytes were subjected to denudation of granular cells by exposure to 80 IU/ml hyaluronidase (GM501 Hyaluronidase; Gynemed Germany) for 1 minute and mechanically cleaned.

Pictures were taken with use of an inverted light-microscope (Olympus®, IX51/IX70) at x200 magnification, using a camera (Oosight CCD Camera Module) and Oosight®Meta software (Hamilton Thorne, Inc.). The recorded image may contain one or more oocytes and micromanipulation needles, on condition it did not affect the individual shape of each oocyte. The recorded images were pre-edited, which resulted in obtaining 561 x 561 pixels dimensions, saved as .bmp files in greyscale. In order to prepare learning patterns, each image underwent manual segmentation. The segmentation was carried out employing Image Labeler application available as part of MATLAB®R2019b software. With use of the application, each of the 334 images was manually segmented.

In the next step, the entire data set including manually segmented images was analysed in detail to obtain statistical description of the set of deep learning patterns. The most important parameters of the data set are summarised in Fig. 7. This chart shows values of the frequency of pixels calculated for different areas of the image resulting from morphological structure analysis of the oocyte. This parameter is very important in the context of the automation of segmentation process by means of deep neural networks.

Fig. 7

Graphical description of the learning data set

It should be noted here that there is a lot of learning examples in the collected data set containing the group of areas of interest such as CPM_CC, PVS, ZP, CCC as well as undefined pixels (from 280 to 334 images). As one can see, in average undefined pixels cover nearly the half of each image. However, the value of the frequency of pixels for significant areas in this group is relatively high. The next group of areas such as CPM_DCG, CPM_CGA, CPM_VAC, CPM_DC, PB_FPB, PB_FFPB and GV appears on several different images (from 24 to 178 images). The part of this group includes areas where the value of the frequency of pixels is larger then 1\(\%\), but it has also areas where this value is smaller or significantly smaller then 1\(\%\). The most problematic areas in this case study are CPM_SERC and PB_MPB. There is only one image for each case and, in effect, the value of the frequency of pixels is extremely low.

Deep semantic oocyte segmentation method

Semantic oocyte segmentation is the task of labelling every pixel in an oocyte image with a pre-defined area category and it must be usually solved when the detailed understanding of such image is required. In other words, the term suggests this is the process of dividing an oocyte image into multiple segments such as cytoplasm, first polar body, zona pellucida, etc. Semantic oocyte segmentation task can be done in automatic manner by means of deep neural networks which have yielded a new generation of image segmentation models with remarkable performance improvements. In this section, the main issues of deep semantic oocyte segmentation method are discussed.

Applied deep segmentation models

As one can see in [35], there are several major types of deep neural architectures for image segmentation such as: fully convolutional networks [36, 37], convolutional networks with graphical models i.e. the combination of convolutional neural networks and fully connected conditional random fields [38], encoder-decoder models for general segmentation [39] or for medical image segmentation [40, 41], multi-scale and pyramid network based models [42], dilated convolutional models and DeepLab family [43], and many others. In this paper it was decided to apply and compare four different architectures which are described below.

Fully Convolutional Network

A fully convolutional network presented in Fig. 8 includes convolutional and pooling layers. Long et al. [36] modified existing CNN architectures (i.e. VGG16) by replacing all fully-connected layers with the fully-convolutional layers to obtain mapping from pixels to pixels, without extracting the region proposals. Such network takes an image of arbitrary size and produces a segmentation map of the same size.

Fig. 8

Fully convolutional image segmentation network [36]

Moreover, authors [36] proposed the skip connections to combine semantic information from deep, coarse layers and appearance information from shallow, fine layers to produce accurate and detailed segmentations. This structure of a network is considered a milestone in image segmentation.

SegNet SegNet was proposed by Badrinarayanan et al. [39] as a convolutional encoder-decoder architecture for semantic pixel-wise segmentation (Fig. 9). In this type of a network, the trainable part of SegNet is composed of an encoder network (similar to the 13 convolutional layers in the VGG16 network), as well as a corresponding decoder network followed by a pixel-wise classification layer.

Fig. 9

SegNet—fully convolutional network [39]

SegNet is less complex than other competing architectures in the context of the number of trainable parameters. This network is more efficient since it only stores the max-pooling indices of the feature maps and uses them in its decoder network to achieve good performance [39].


U-Net (Fig. 10) is inspired by FCNs and encoder-decoder models, and it was initially developed for medical/biomedical image segmentation. Specifically, Ronneberger et al. [40] elaborated this architecture for segmenting biological microscopy images. The structure of the network consists of a contracting path to capture context and a symmetric expanding path that enables precise localization.

Fig. 10

U-net architecture [40]


There is a DeepLab family of networks developed by Chen et al. One of the newest models of this type is known as Deeplabv3+ (Fig. 11). This network uses an encoder-decoder architecture, including atrous separable convolution which is composed of a depthwise convolution and pointwise convolution.

Fig. 11

DeepLabv3+ with a encoder-decoder structure [43]

Deep learning algorithm

Different kinds of learning algorithms can be used for updating the network parameters (weights and biases) in order to minimize the loss function. In this paper, the loss function with the regularization term is formulated as follows:

$$\begin{aligned} E_R\left( {\varvec{\Omega }}\right) = E\left( {\varvec{\Omega }} \right) + \lambda \kappa \left( {\varvec{\omega }}\right) \end{aligned}$$

where \({\varvec{\Omega }}\) is the network parameters vector, \(\lambda \) is the regularization factor (coefficient) responsible for emphasizing the regularization function which is needed to reduce over-fitting problem. The regularization term is proposed as weight decay and it is given in the form of the formula:

$$\begin{aligned} \kappa \left( {\varvec{\omega }}\right) = \frac{1}{2} {\varvec{\omega }}^T{\varvec{\omega }} \end{aligned}$$

where \({\varvec{\omega }}\) is the weight vector.

The main formula component \(E\left( {\varvec{\Omega }} \right) \) is the weighted cross-entropy function given by the following equation:

$$\begin{aligned} \begin{aligned} E\left( {\varvec{\Omega }} \right) = - \frac{1}{N} \sum _{i=1}^N\sum _{j=1}^C c_j\left[ T_{i,j} \log \left( X_{i,j} \right) + \left( 1 - T_{i,j}\right) \log \left( 1-X_{i,j}\right) \right] \end{aligned} \end{aligned}$$

where N is the number of training patterns, C is the total number of categories, \(X_{i,j}\) is the network response for a given category, \(T_{i,j}\) is the target value of that category, \(c_{j}\) is the weight of the j-th category. This form of the cross-entropy loss is necessary in classification problems with an imbalanced distribution of classes. In this paper, the values of weights \(c_j\) are determined using the frequencies of pixels in the image data set. Heuristic rule is applied to compute the values of frequency class weights:

$$\begin{aligned} c_j = \log \left[ \frac{K}{f_jf^m_j}\right] \end{aligned}$$

where K is the normalization weight factor, \(f_j\) is the frequency of occurrence of pixels for the j-th area in the whole data set of images, \(f^m_j\) is the value of the frequency of occurrence of pixels for an area including the largest number of pixels.

The stochastic gradient descent with momentum rule [44] is applied to find minimum of the loss function (Eq. 1). In this algorithm, values of network parameters are updated, at each iteration in the direction of the negative gradient of the loss, as follows:

$$\begin{aligned} {\varvec{\Omega }}_{n+1} = {\varvec{\Omega }}_{n} - \alpha \nabla E_R\left( {\varvec{\Omega }}_{n}\right) + \gamma \left( {\varvec{\Omega }}_{n} -{\varvec{\Omega }}_{n-1} \right) \end{aligned}$$

where n is the iteration number, \(\alpha \) is the learning rate, \(\gamma \) determines the contribution of the previous gradient step to the current iteration.

Transfer learning

Transfer learning is one of the machine learning techniques to speed up training and improve the performance of a deep learning model. In this method pre-trained neural models are used as the starting point for further improvements in the context of the new task. Different generally available deep neural models can be used as a network backbone. This study makes use of the following pre-defined networks: ResNet-18 and ResNet-50 [45], Xception [46], Inception-ResNet-v2 [47], VGG-16 and VGG-19 [48].

Data augmentation

Data augmentation is a data processing technique used to increase the number of labeled samples, especially when learning from limited data sets, such as those in medical image analysis (in classification and segmentation tasks). This serves to increase the number of training samples by applying a set of transformation to the images (i.e., both the input image and the segmentation map. Using this technique frequently leads to faster convergence, decreasing the chance of over-fitting, and enhancing generalization [35]. Various transformation operators can be applied such as translation, reflection, rotation, warping, scaling, color space shifting, cropping, and projections onto principal components. A survey on image data augmentation for deep learning is given by Shorten and Khoshgoftaar [49].

Estimation of deep model accuracy

The quality of semantic segmentation results against the ground truth segmentation can be evaluated using various metrics [50]. In this paper, the following semantic segmentation metrics are taken into account:

  • Accuracy (Acc) - for each class, accuracy is the ratio of correctly classified pixels to the total number of pixels in that class, according to the ground truth. There are two variants of this measure: \({\varvec{{gAcc}}}\) is the ratio of correctly classified pixels, regardless of class, to the total number of pixels; \({\varvec{{mAcc}}}\) is the average \({\varvec{{Acc}}}\) of all classes in all images.

  • True positive rate (TPR) - is also known as sensitivity, recall or hit rate and it describes the relation between true positives and all positive elements:

    $$\begin{aligned} {\textbf{{TPR}}} = \frac{\text{TP}}{\text{TP+FN}} \end{aligned}$$

    where TP is the number of true positives, FN is the number of false negatives.

  • False negative rate (FNR) - or miss rate, it corresponds to the proportion of positive pixels which yield negative test outcomes with the test:

    $$\begin{aligned} {\textbf{{FNR}}} = \frac{{\text{FN}}}{{\text{FN}}+{\text{TP}}} = 1 - {\text{TPR}} \end{aligned}$$
  • Positive predictive value (PPV) - is also known as precision and it represents the relation between true positives and all elements segmented as positive

    $$\begin{aligned} {\textbf{{PPV}}} = \frac {\text{TP}}{\text{TP}+\text {FP}} \end{aligned}$$

    FP is the number of false positives.

  • False discovery rate (FDR) - it describes the expected proportion of type I errors.

    $$\begin{aligned} {\textbf{{FDR}}} = \frac {\text{FP}} {\text{FP}+\text{TP}} = 1 - \text{PPV} \end{aligned}$$
  • Intersection over union (IoU) - is also known as the Jaccard similarity coefficient. This metric is used as a statistical accuracy measurement that penalizes false positives. For each class, it is the ratio of correctly classified pixels to the total number of ground truth and predicted pixels in that class

    $$\begin{aligned} {\textbf{{IoU}}} = \frac{\text{TP}}{\text{TP}+{\text{FP}}+{\text{FN}}} \end{aligned}$$

    The value of \({\varvec{{IoU}}}\) for each class is weighted by the number of pixels in that class and marked as \({\varvec{{wIoU}}}\) to reduce the impact of errors in the small classes on the aggregate quality score. For the aggregate data set \({\varvec{{mIoU}}}\) is the average \({\varvec{{IoU}}}\) score of all classes in all images.

  • The boundary F1 contour matching score - is used to indicate how well the predicted boundary of each class aligns with the true boundary, and it is used to correlate better with human qualitative assessment than the \({\varvec{{IoU}}}\) metric. It can be written as follows:

    $$\begin{aligned} {\textbf{{BFS}}} = 2 \frac{{\text{PPV}} \cdot {\text {TPR}}}{\text{PPV} +{\text{TPR}}} \end{aligned}$$

    In this paper, the average BF score of that class over all images or the average BF score of all classes in all images are computed (\({\varvec{{mBFS}}}\)).

  • Sørensen-Dice similarity coefficient (DSC) - which is a spatial overlap index, measures the overall segmentation accuracy between the manual and automatic segmentations

    $$\begin{aligned} {\textbf{{DSC}}} = \frac{2{\text{TP}}}{2{\text{TP}}+{\text{FP}}+{\text{FN}}} = \frac{2{\text{IoU}}}{1+{\text{IoU}}} \end{aligned}$$

    The Dice coefficient is related to the Jaccard coefficient.

Availability of data and materials

Not applicable





global Accuracy


average Accuracy


Assisted Reproductive Technology


Boundary F1 contour matching score


average Boundary F1 contour matching score


Convolutional Neural Network




Cumulus/corona cells


Computational complexity metric


Cumulus-oocyte complex


Cytoplasm with a smooth and homogeneous surface


Dispersed granularity cytoplasm


Cytoplasm granularity area


Smooth endoplasmic reticulum cluster


Dark cytoplasm




Degenerated cells


Sørensen-Dice similarity coefficient


Dysmorphic cells


Deep Neural Networks


Fully Convolutional Network


False discovery rate


False negative rate


First polar body


Giga floating point operations per second


Germinal vesicle


Intracytoplasmic Sperm Injection


In Vitro Fertilization


Intersection over Union


weighted Intersection over Union


average Intersection over Union


Metaphase II stage oocytes


Metaphase I stage oocytes


Prophase I stage oocytes


Polar body


First polar bod


Fragmented first polar body


Multi polar body


Perivitelline space


Positive predictive value


True positive rate


Test patterns


Training patterns


Validation patterns


World Health Organization


Zona pellucida


  1. 1.

    World Health Organization et al. International classification of diseases, 11th Revision (ICD-11). Geneva: WHO; 2018.

  2. 2.

    Janicka A, Spaczyński RZ, Kurzawa R, SPiN P et al. Assisted reproductive medicine in poland-fertility and sterility special interest group of the polish gynaecological society (SPiN PTG) 2012 report. Ginekologia Polska 2015.

  3. 3.

    ESHRE Capri Workshop Group. Social determinants of human reproduction. 2001.

  4. 4.

    Andersen NA, Gianaroli L, Nygren KG. Assisted reproductive technology in Europe, 2000. Results generated from European registers by ESHRE . Technical report, The European IVF-monitoring programme (EIM) for the European Society of Human Reproduction and Embryology (ESHRE) 2004.

  5. 5.

    Gatimel N, Parinaud J, Leandri RD. Intracytoplasmic morphologically selected sperm injection (IMSI) does not improve outcome in patients with two successive IVF-ICSI failures. J Assist Reprod Genet. 2016;33(3):349–55.

    Article  Google Scholar 

  6. 6.

    Palermo GD, Neri QV, Rosenwaks Z. To ICSI or not to ICSI. In: Seminars in reproductive medicine. Thieme Medical Publishers; 2015. vol. 33, pp. 092–102.

  7. 7.

    Huang J.Y.J, Rosenwaks Z. Assisted reproductive techniques. New York, NY: Springer; 2014. p. 171–231.

    Book  Google Scholar 

  8. 8.

    Shu Y, Gebhardt J, Watt J, Lyon J, Dasig D, Behr B. Fertilization, embryo development, and clinical outcome of immature oocytes from stimulated intracytoplasmic sperm injection cycles. Fertil Steril. 2007.

    Article  Google Scholar 

  9. 9.

    Chang EM, Song HS, Lee DR, Lee WS, Yoon TK. In vitro maturation of human oocytes: Its role in infertility treatment and new possibilities. Clin Exp Reprod Med. 2014;41(25045627):41–6.

    Article  Google Scholar 

  10. 10.

    de Moura BRL, Gurgel MCA, Machado SPP, Marques PA, Rolim JR, de Lima MC, Salgueiro LL. Low concentration of hyaluronidase for oocyte denudation can improve fertilization rates and embryo quality. JBRA Assist Reprod. 2017;21(1):27–30.

    Article  Google Scholar 

  11. 11.

    Lazzaroni-Tealdi E, Barad DH, Albertini DF, Yu Y, Kushnir VA, Russell H, Wu Y-G, Gleicher N. Oocyte scoring enhances embryo-scoring in predicting pregnancy chances with ivf where it counts most. PLoS One. 2015;10(26630267):0143632–0143632.

    Article  Google Scholar 

  12. 12.

    Biase FH. Oocyte developmental competence: insights from cross-species differential gene expression and human oocyte-specific functional gene networks. OMICS. 2017;21:156–68.

    Article  Google Scholar 

  13. 13.

    Munné S, Tomkin G, Cohen J. Selection of embryos by morphology is less effective than by a combination of aneuploidy testing and morphology observations. Fertil steril. 2007;91:943–5.

    Article  Google Scholar 

  14. 14.

    Cavalera F, Zanoni M, Merico V, Bui TTH, Belli M, Fassina L, Garagna S, Zuccotti M. A neural network-based identification of developmentally competent or incompetent mouse fully-grown oocytes. J Vis Exp. 2018.

    Article  Google Scholar 

  15. 15.

    Habibie I, Bowolaksono A, Rahmatullah R, Kurniawan MN, Tawakal MI, Satwika IP, Mursanto P, Jatmiko W, Nurhadiyatna A, Wiweko B, Wibowo A. Automatic detection of embryo using particle swarm optimization based hough transform. IEEE; 2013. pp 1–6.

  16. 16.

    Tian Y, Yin Y, Duan F, Wang W, Wang W, Zhou M. Automatic blastomere recognition from a single embryo image. Comput Math Methods Med. 2014.

    MathSciNet  Article  Google Scholar 

  17. 17.

    Raudonis V, Paulauskaite-Taraseviciene A, Sutiene K, Jonaitis D. Towards the automation of early-stage human embryo development detection. BioMed Eng OnLine. 2019;18(1):120.

    Article  Google Scholar 

  18. 18.

    Singh A, Buonassisi J, Saeedi P, Havelock J. Automatic blastomere detection in day 1 to day 2 human embryo images using partitioned graphs and ellipsoids. IEEE Int Conf Image Process. 2014. pp. 917–921.

  19. 19.

    Rad RM, Saeedi P, Au J, Havelock J. Human blastocyst’s zona pellucida segmentation via boosting ensemble of complementary learning. Inf Med Unlocked. 2018;13:112–21.

    Article  Google Scholar 

  20. 20.

    Khan A, Gould S, Salzmann M. Segmentation of developing human embryo in time-lapse microscopy. In:2016 IEEE 13th international symposium on biomedical imaging (ISBI). 2016. pp. 930–934.

  21. 21.

    Dirvanauskas D, Maskeliunas R, Raudonis V, Damasevicius R. Embryo development stage prediction algorithm for automated time lapse incubators. Comput Methods Programs Biomed. 2019;177:161–74.

    Article  Google Scholar 

  22. 22.

    Manna C, Nanni L, Lumini A, Pappalardo S. Artificial intelligence techniques for embryo and oocyte classification. Reprod BioMed Online. 2013;26(1):42–9.

    Article  Google Scholar 

  23. 23.

    Yi XF, Xi HL, Zhang SL, Yang J. Relationship between the positions of cytoplasmic granulation and the oocytes developmental potential in human. Sci Rep. 2019;9(31076721):7215–7215.

    Article  Google Scholar 

  24. 24.

    Qassem EG, Falah KM, Aghaways IH, Salih TA. A correlative study of oocytes morphology with fertilization, cleavage, embryo quality and implantation rates after intra cytoplasmic sperm injection. Acta Med Int. 2015;2(1):7–13.

    Article  Google Scholar 

  25. 25.

    Riezzo I, Neri M, Bello S, Pomara C, Turillazzi E. Italian law on medically assisted reproduction: do women’s autonomy and health matter? BMC Women’s Health. 2016;16(1):44.

    Article  Google Scholar 

  26. 26.

    Präg P, Mills MC. Assisted Reproductive Technology in Europe. In: Kreyenfeld M, Konietzka D, editors. Usage and Regulation in the Context of Cross-Border Reproductive Care. Cham: Springer; 2017. p. 289–309.

    Google Scholar 

  27. 27.

    Kliebisch T.K, Bielfeld A.P, Krüssel J.S, Baston-Büst D.M. The German middleway as precursor for single embryo transfer. A retrospective data-analysis of the Düsseldorf University Hospitals Interdisciplinary Fertility Centre-UniKiD. Geburtshilfe und Frauenheilkunde. 2016;76(06):690–8.

    Article  Google Scholar 

  28. 28.

    Conti M, Franciosi F. Acquisition of oocyte competence to develop as an embryo: integrated nuclear and cytoplasmic events. Hum Reprod Update. 2018;24(29432538):245–66.

    Article  Google Scholar 

  29. 29.

    Zhao M, Xu M, Li H, Alqawasmeh O, Chung JPW, Li TC, Lee T-L, Tang PM-K, Chan DYL. Application of convolutional neural network on early human embryo segmentation during in vitro fertilization. J Cell Mol Med. 2021;00:1–12.

    Article  Google Scholar 

  30. 30.

    Kheradmand S, Saeedi P, Bajic I. Human blastocyst segmentation using neural network. In:2016 IEEE Canadian conference on electrical and computer engineering (CCECE). 2016. pp. 1–4.

  31. 31.

    Firuzinia S, Afzali SM, Ghasemian F, Mirroshandel SA. A robust deep learning-based multiclass segmentation method for analyzing human metaphase ii oocyte images. Comput Methods Programs Biomed. 2021.

    Article  Google Scholar 

  32. 32.

    Bormann CL, Thirumalaraju P, Kanakasabapathy MK, Kandula H, Souter I, Dimitriadis I, Pooniwala Gupta RR, Shafiee H. Consistency and objectivity of automated embryo assessmentsusing deep neural networks. Fertil Steril. 2020.

    Article  Google Scholar 

  33. 33.

    Khosravi P, Kazemi E, Zhan Q, Malmsten JE, Toschi M, Zisimopoulos P, Sigaras A, Lavery S, Cooper LAD, Hickman C, Meseguer M, Rosenwaks Z, Elemento O, Zaninovic N, Hajirasouliha I. Deep learning enables robust assessment and selection of human blastocysts after in vitro fertilization. npj Digital Med 2019; (21)

  34. 34.

    Lasiene K, Lasys V, Glinskyte S, Valanciute A, Vitkus A. Relevance and methodology for the morphological analysis of oocyte quality in ivf and icsi. J Reprod Stem Cell Biotechnol. 2011;2(1):1–13.

    Article  Google Scholar 

  35. 35.

    Minaee S, Boykov Y, Porikli F, Plaza A, Kehtarnavaz N, Terzopoulos D. Image segmentation using deep learning: a survey. arXiv preprint 2020. arXiv:2001.05566

  36. 36.

    Long J, Shelhamer E, Darrell T. Fully convolutional networks for semantic segmentation. In: Proceedings of the IEEE conference on computer vision and pattern recognition (CVPR). 2015. pp. 3431–3440. arXiv:1411.4038

  37. 37.

    del Mar Vila M, Remeseiro B, Grau M, Elosua R, Betriu A, Fernandez-Giraldez E, Igual L. Semantic segmentation with densenets for carotid artery ultrasound plaque segmentation and cimt estimation. Artif Intell Med. 2020;103:101784.

    Article  Google Scholar 

  38. 38.

    Chen L-C, Papandreou G, Kokkinos I, Murphy K, Yuille AL. Semantic image segmentation with deep convolutional nets and fully connected CRFs. In: The international conference on learning representations (ICLR) 2015. arXiv:1412.7062

  39. 39.

    Badrinarayanan V, Kendall A, Cipolla R. Segnet: A deep convolutional encoder-decoder architecture for image segmentation. IEEE Trans Pattern Anal Mach Intell 2017;39: 2481–2495. arXiv:1511.00561

  40. 40.

    Ronneberger O, Fischer P, Brox T. U-Net: convolutional networks for biomedical image segmentation. In: medical image computing and computer-assisted intervention—MICCAI 2015. Springer International Publishing; 2015. pp. 234–241. arXiv:1505.04597

  41. 41.

    Girard F, Kavalec C, Cheriet F. Joint segmentation and classification of retinal arteries/veins from fundus images. Artif Intell Med. 2019;94:96–109.

    Article  Google Scholar 

  42. 42.

    Lin T-Y, Dollár P, Girshick R, He K, Hariharan B, Belongie S. Feature pyramid networks for object detection. In:2017 IEEE conference on computer vision and pattern recognition (CVPR). 2017. pp. 936–944.

  43. 43.

    Chen L-C, Zhu Y, Papandreou G, Schroff F, Adam H. Encoder-decoder with atrous separable convolution for semantic image segmentation. In: Ferrari V, Hebert M, Sminchisescu C, Weiss Y, editors. Computer Vision—ECCV 2018. Cham: Springer International Publishing; 2018. p. 833–51.

    Google Scholar 

  44. 44.

    Murphy KP. Machine learning: a Probabilistic Perspective. Cambridge, MA: The MIT Press; 2012.

    MATH  Google Scholar 

  45. 45.

    He K, Zhang X, Ren S, Sun J. Deep residual learning for image recognition. In:2016 IEEE conference on computer vision and pattern recognition (CVPR). 2016. pp. 770–778.

  46. 46.

    Chollet F. Xception: Deep learning with depthwise separable convolutions. In:2017 IEEE conference on computer vision and pattern recognition (CVPR). 2017, vol. abs/1610.02357, pp. 1800–1807. arXiv:1610.02357

  47. 47.

    Szegedy C, Ioffe S, Vanhoucke V, Alemi A. Inception-v4, Inception-ResNet and the Impact of Residual Connections on Learning. In: Proceedings of the AAAI conference on artificial intelligence. 2017. p. 31. doi: abs/1602.07261

  48. 48.

    Simonyan K, Zisserman A. Very deep convolutional networks for large-scale image recognition. In: International conference on learning representations (ICLR) 2015. arXiv:1409.1556

  49. 49.

    Shorten C, Khoshgoftaar TM. A survey on image data augmentation for deep learning. J Big Data. 2019;6(60):1–48.

    Article  Google Scholar 

  50. 50.

    Csurka G, Larlus D. What is a good evaluation measure for semantic segmentation? BMVC. 2013.

    Article  Google Scholar 

Download references


Not applicable.


This research was supported by the Polish Ministry of Science and Higher Education under Grant No. CTT/1344/17 and Department of Fundamentals of Machinery Design, Silesian University of Technology.

Author information




Conceptualisation, AT; methodology, AT and PP; database preparation, AT; analysing of input data, AT; analysing the results, AT and PP; development and implementation of DNN algorithms, AT and PP; wrote the content of the paper, AT and PP; reviewed the document, RW and GM; providing research material, GM; proofreading, RW. All authors assisted in writing and improving the paper.

Corresponding author

Correspondence to Anna Targosz.

Ethics declarations

Ethics approval and consent to participate

Not applicable

Consent for publication

Not applicable

Competing interests

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit The Creative Commons Public Domain Dedication waiver ( applies to the data made available in this article, unless otherwise stated in a credit line to the data.

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Targosz, A., Przystałka, P., Wiaderkiewicz, R. et al. Semantic segmentation of human oocyte images using deep neural networks. BioMed Eng OnLine 20, 40 (2021).

Download citation


  • IVF
  • Human oocyte
  • Semantic segmentation
  • Image analysis
  • Artificial intelligence
  • Deep neural networks