Abstract
Purpose: The purpose of this research was the development and evaluation of an intelligent assis -
tive classification system for the recognition of endometriosis and the improvement of the accuracy of
laparoscopic imaging in diagnosis. The research was developed with the use of deep learning approaches.
Methods
Data from 4448 laparoscopy images were used in a retrospective chart analysis. The data
were divided into two folders, healthy and pathological including 2157 healthy and 2291 pathological im-
ages. Based on simple clinical and imaging information and criteria such as the diagnosis of endometriosis
(included in an open-source dataset GLENDA of Kaggle repository), data mining algorithms were used to
improve laparoscopic imaging accuracy.
Results
The final developed computer system based on the ResNet50 algorithm predicted the best
outcome for all participants who had laparoscopic surgical therapy. The Keras tool was used and the
generated code was implemented in Python programming language providing a mean accuracy of >95%.
Conclusion
The intelligent approach revealed better performance than the commonly used imaging
criteria in predicting endometriosis improving the time and the total accuracy of diagnostic approaches.
Nifora Chrysa; Chasapi Lamprini; Chasapi Maria-Konstantina; Koutsojannis Constantinos*
Department of Physiotherapy, Health Physics and Computational Intelligence Lab, University of Patras, Greece.
Keywords
Laparoscopic; Endometriosis; Keras; Python; Deep learning.
Introduction
Endometriosis is a common problem in women. Its name
comes from the word “endometrium”, meaning the thin in -
ner lining of the uterus [1]. It is the growth of tissue usually
found in the inner lining of the uterus (endometrium) in a lo -
cation outside the uterine cavity. With the changing hormone
levels during the menstrual cycle, the tissue can grow and/or
break down, leading to the development of pathological tissue
- referred to as scarring - and eventually abnormally high lev -
els of pain. It can occur in the ovaries, fallopian tubes, behind
the uterus, in the tissues that hold the uterus in place, in the
intestine, abdominal wall, or other organs, i.e. in other areas
of the body where it does not normally belong [2]. Other loca -
tions where endometriosis can develop are the vagina, cervix,
vulva, or even the bladder [1,2]. Endometriosis has multiple ap-
pearances, and the lesions may be confused with other non-
endometriotic lesions, as well as endometriotic lesions that are
nonendometriotic by appearance or deep infiltrating ones that
may be missed on visual diagnosis. How often endometriosis
occurs in women cannot be accurately determined, as the di -
agnosis is usually made only by direct visualization of the en -
dometrial tissue (which requires a surgical procedure, typically
a laparoscopy) [3]. It is estimated, however, that approximately
6 to 10% of all women suffer from endometriosis. The percent-
age of women who have endometriosis is higher among women
who are infertile (25 to 50%) and women who have pelvic pain
(75 to 80%). The average age at diagnosis is 27, but it can also
develop in adolescence. According to studies, in the United
www.jclinmedsurgery.com 2
Koutsojannis Constantinos
Citation: Chrysa N, Lamprini C, Konstantina CM, Constantinos K. Deep Learning Improves Accuracy of Laparoscopic Imag-
ing Classification for Endometriosis Diagnosis. J Clin Med Surgery. 2024; 4(1): 1137.
States of America, more than 5 million women are faced with
the problem of endometriosis. In a survey that was conduct -
ed, on 96 women it was observed that using histopathology as
the gold standard, sensitivity for laparoscopic visualization was
90.1% (95% CI: 81.0-95.1), while specificity was 40.0% (95% CI
23.4-59.3). Positive and negative predictive values were 81.0%
(95% CI: 71.0-88.1) and 58.8% (95% CI: 36.0-78.4), respectively;
and the accuracy was 77.1% (95% CI: 67.7-84.4) [4]. Laparos -
copy is the minimally invasive method a doctor can use to see
if there are areas of endometriosis. The endoscope is inserted
into the abdominal cavity through a small incision most often
made just above or below the belly button. It is the only safe
way to know for sure that you have endometriosis. If it is not
clear whether the detected tissue is normal or endometrial, a
sample of the tissue is taken for biopsy. Depending on the loca-
tion of the tissue, taking a sample for biopsy can be done en -
doscopically through the anus (sigmoidoscopy) or the bladder
(cystoscopy) [1-3,5]. Based on the findings of laparoscopy [4],
stages of severity of the disease can be distinguished. Staging is
judged according to the number of foci, their size and depth, the
presence of adhesions, and the presence of endometriomas.
The most severe stages require radical surgical treatment [6].
For most women with moderate to severe endometriosis, the
most effective treatment is surgical removal or destruction of
the endometrial tissue. In the past, endometriosis was treated
with open surgery, which involved a large incision. Now, how -
ever, it has prevailed that the surgery is performed with laparo-
scopic surgery or with its evolution, robotic surgery, to achieve
the optimal medical result with the least possible tissue injury.
Laparoscopic endometriosis repair is a minimally invasive pro -
cedure that involves not a large incision, like traditional open
surgeries, but [3,4] very small holes in the patient’s abdomen,
through which laparoscopic instruments are inserted. Among
them is the laparoscope, which includes a camera that offers
the surgeon an extremely sharp image. This allows him to inves-
tigate all foci of endometriosis, minimizing injury to neighboring
tissues and organs [1,7-9]. Through laparoscopy, medical video
files can be created, for post-operative analysis. This enables
physicians to review interventions at any time to gain useful
insights or improve treatment planning and medical education
[10]. Computer-aided automatic content analysis can be em -
ployed for creating systems that highlight potentially relevant
content to physicians during patient case inspections (Figure 1).
However, although obvious irrelevant video segments such as
overly blurry frames or camera testing screens can reasonably
be identified via video analysis, more sophisticated approaches
are required for identifying very specific content such as scenes
showing endometriosis lesions [11].
The best-known classification system for endometriosis
is the revised American Society for Reproductive Medicine
(rASRM) score and the Enzian classification scheme [12,13].
The rASRM score describes superficial lesions of the peritone -
um and ovarian endometriosis in four stages, whereas the En-
zian classification categorizes deep endometriosis. Alongside
these different possible locations, endometriotic lesions also
strongly vary in their visual appearance, both intra and inter -
personal. The rASRM score describes superficial lesions of the
peritoneum and ovarian endometriosis in four stages, whereas
the Enzian classification categorizes deep endometriosis. In di-
rect comparison and without a specific medical background,
the differences between normal and pathological tissue are
very difficult to discern, which evidently holds true for laymen
but even inexperienced medical practitioners. Consequently,
with the current successful application of deep learning in many
medical fields, attempting to solve this problem via computer-
aided analysis seems reasonable. Moreover, being able to clas-
sify and potentially locate endometriosis can not only be helpful
during interventions but also in treatment planning and particu-
larly in teaching/training. The purpose of this research is the
development and evaluation of an intelligent assistive classifi -
cation system for the recognition of endometriosis and the im-
provement of the accuracy of laparoscopic imaging in diagnosis.
The research was developed with the use of deep learning ap -
proaches. By revising the labeling strategy of the publicly avail-
able endometriosis dataset GLENDA towards visual similarity,
we discover a large improvement in lesion segmentation per -
formance. Data from 4448 laparoscopy images were used [14].
Based on simple clinical and imaging information and criteria
such as the diagnosis of endometriosis (included in an open
source dataset Glenda of repository Kaggle), data mining algo -
rithms were used to improve laparoscopic imaging accuracy.
The final developed computer system based on the ResNet50
algorithm predicted the best outcome for all participants who
had laparoscopic surgical therapy. The Keras tool was used and
the generated code was implemented in Python language.
Related work: Laparoscopy is a minimally invasive procedure
often alongside histopathological confirmation for diagnos -
ing all types of pelvic endometriosis (ovarian endometriomas,
DE, SE) since surgeons can directly visualize the pelvic and ab -
dominal cavity. In 2022, ESHRE no longer considered laparos -
copy as the “gold standard” and recommends its use if initial
imaging results are negative and/or patients are not suitable/
unresponsive to empirical treatment [15]. Depending on the
goal, during the same operation, surgeons could also aim for
complete treatment of endometriotic lesions to provide symp -
tomatic control and reduce the number of laparoscopies (which
carries its own risks). Herein lies the issue with surgery as the
diagnostic test of choice – many patients exhibit endometriosis
that cannot be appropriately managed at a surgery that is si -
multaneously diagnostic. Laparoscopy for endometriosis should
always involve a comprehensive exploration of the abdominal
and pelvic contents. To identify subtle lesions, the laparoscope
must be brought right up to the surfaces being inspected. In
addition, the gastrointestinal and genitourinary systems need
to be assessed as well, including the appendix. The diaphragm
should routinely be inspected, especially if the patient de -
scribes right upper quadrant symptoms. If the patient under -
went a preoperative ultrasound/MRI where endometriosis was
Figure 1: (modified of http://ftp.itec.aau.at/datasets/GLEN-
DA/) Endometriosis healthy (left) and pathology (right) image.
www.jclinmedsurgery.com 3
visualized, these areas should be closely inspected surgically. In
some situations, endometriosis may not be obviously visible at
laparoscopy despite clear identification with imaging [16]. SE
has been described to have a black (“powder burn”) or dark blu-
ish appearance from the accumulation of blood pigments [17].
However, subtle forms can appear as white opacifications, red
flamelike lesions, or yellow-brown patches in earlier, active stag-
es of the disease [18]. Ovarian endometriomas have a distinct
morphology classically described as a “chocolate cyst” contain-
ing old menstrual blood giving it a dark brown appearance. Ad-
hesions are often found in association with endometriomas and
consist of fibrous scar tissue because of chronic inflammation.
In many cases, there is endometriosis at the site of ovarian fixa-
tion [19,20]. Like an imaging-based assessment following the
IDEA protocol, the posterior and anterior compartments should
be assessed carefully for DE. Oftentimes, DE appears as mul -
tifocal nodules and may infiltrate the surrounding viscera and
peritoneal tissue [21]. As mentioned earlier, depending on the
extent of POD obliteration, posterior compartment (USL, bow -
el, PVF) DE may be difficult to assess and diagnose surgically,
with evidence supporting a better diagnostic test performance
using non-invasive imaging-based assessment for this specific
type of DE [22]. When combining diagnostic laparoscopy with
operative laparoscopy, the surgeon must consider the impor -
tance of a biopsy to ensure their visual diagnosis is correct.
There is ample evidence that surgeons overcall endometriosis
at surgery [23-25]. When surgeons perform endometriosis exci-
sion, all specimens should be sent to pathology for analysis. In
some cases, it is inappropriate to use biopsy as a diagnostic test.
For example, in a patient who undergoes diagnostic laparosco-
py and the surgeon suspects bowel DE, this area should only
be biopsied/excised if the patient explicitly provided informed
consent following a discussion about the benefits and risks of
a “bowel surgery” component and the patient was adequately
prepared with bowel preparation and antibiotic prophylaxis.
Surgeons should also consider concurrent appendectomy dur -
ing excision of endometriosis since women with DE have a high
risk of appendiceal endometriosis [26]. Often, appendectomy
is not within the skill set of gynecologists, which again creates
a unique challenge with surgery being used as a combined di -
agnostic test and treatment modality. Deep convolutional net -
works such as GoogLeNet [27] have been successfully applied
in countless domains. Such networks represent valuable back -
bones in many deep architectures for image and video analy -
sis. One such family of architectures that heavily use CNNs as a
backbone for Region-of-Interest (ROI) prediction and labeling is
called region-based convolutional neural networks, or R-CNNs.
These R-CNNs after sufficient training are capable of detecting,
classifying, and even segmenting objects in images through in -
telligent arrangement and use of CNN elements. The increasing
performance improvements of deep learning in medicine entail
an ever-expanding range of applications aimed at providing dig-
ital assistance to medical personnel in treating patients. Medi -
cal imaging also varies greatly according to its purpose: mono -
chrome images obtained from computed tomography (CT) or
ultrasound are very different compared to open surgery or
endoscopic recordings. This generally makes scientific research
on medical image classification more difficult to compare than
traditional multimedia analysis. Surprisingly, endoscopic im -
ages have so far not been analyzed as digitally as many other
technologies such as magnetic resonance imaging (MRI) [28].
However, they offer a wide variety of research topics for the
application of deep learning. For example, there are many stud-
ies on the classification or detection of content such as anat -
omy and surgical tasks [29-31]. Ιn a recent research which is
very close to our approach, Visalaxi et al. 2021 have provided
a system for automatic diagnosis of endometriosis using deep
learning techniques [32]. The trained model was verified based
on the input images used and then model was used to classify
the category as pathological and non-pathological images. The
architecture of neural network model was designed where in -
put consist of laparoscopic images are split as training, test and
validation group independent of each other. The obtained im -
age is in BGR format which once again converted into RGB for -
mat i.e. images are annotated and then converted into Numpy
array format [33]. The training and test image dataset in array
format are split as features and labels. Since it is binary class,
only two labels are mentioned in the model. The trained and
tested accuracy were found to be 91% and 90% respectively.
The proposed model identifies the endometriosis by providing
the laparoscopic images alone as parameters for recognising
the presence. An effective and efficient approach of OpenCV
for pre-processing the data and ResNet50 based architecture
for training and testing the model of large datasets with raw
laparoscopic images were used. The prognostic model yields
high accuracy (1) and throughputs as laparoscopic images were
given as input.
Accuracy is the quantity to measure the unambiguous value
[34]. The accuracy and loss were calculated by fitting the model
in the architecture. The trained and tested model yielded an
accuracy of 92% and 90% respectively. The predicted model
yielded an accuracy of 90%.
Methodology: Our approach aimed to detect and segment
endometriosis. We start by using the published GLENDA data -
set. Next, we thoroughly describe all the data augmentation
techniques used. We detail the model training strategies and
finally list our evaluation results.
Patient population and data collection: At the beginning
a retrospective study of patients’ health and pathology ones.
2157 healthy and 2291 pathological (Figure1). Based on the final
results, we developed a novel assistant intelligent automated
Method
to discriminate endometriosis with the improvement
of laparoscopic images, as an additional tool to preoperative
evaluation and improved planning of a minimally directed sur -
gery. Glenda (Gynecologic Laparoscopy Endometriosis Dataset)
was used. Gynecologic laparoscopy as a type of Minimally Inva-
sive Surgery (MIS) is performed via a live feed of a patient’s ab-
domen surveying the insertion and handling of various instru -
ments for conducting treatment. Adopting this kind of surgical
intervention not only facilitates a great variety of treatments, as
well as it is also essential for numerous post-surgical activities,
such as treatment planning, case documentation, and educa -
tion. Nonetheless, the process of manually analyzing surgical
images, as it is carried out in current practice, usually proves
tediously time-consuming. In order to improve upon this situ -
ation, more sophisticated computer vision as well as machine
learning approaches are actively developed. Since most such
approaches heavily rely on sample data, which especially in
the medical field is only sparsely available, with this work we
publish the Gynecologic Laparoscopy ENdometriosis DAtaset
(GLENDA) – an image dataset containing region-based annota -
tions of a common medical condition named endometriosis, i.e.
the dislocation of uterine-like tissue. The dataset is the first of
its kind and it has been created in collaboration with leading
medical experts in the field (Figure 2) [35].
(1)
www.jclinmedsurgery.com 4
Figure 2: (modified of http://ftp.itec.aau.at/datasets/GLEN-
DA/) GLENDA dataset.
Preoperative approach and final surgical procedure: Histori-
cally the only potential cure for endometriosis is laparoscopic.
surgical staging method: In 2017, the World Endometriosis
Society consensus for the diagnosis of endometriosis recom -
mended the use of the rASRM classification tool during surgery
to classify endometriosis based on the size, extent, and location
of lesions found (Figure 4) [36]. There are four stages ranging
from minimal (Stage 1), mild (Stage 2), moderate (Stage 3), and
severe (Stage 4) [36,37]. However, a prospective analysis found
considerable inter-variability among surgeons reducing its diag-
nostic accuracy. In 2021, the AAGL Special Interest Group in En-
dometriosis published the AAGL Classification Tool solely based
on intraoperative findings to better quantify the surgical com -
plexity of endometriosis cases (Figure 5). Like the rASRM sys -
tem, there are four AAGL endometriosis stages. However, the
recent validation study found higher reproducibility with the
AAGL score (kappa=0.621) compared to rASRM (kappa=0.317)
when discriminating surgical complexity [38]. The rASRM sys -
tem fails to properly incorporate DE, which often equates to
surgical complexity, leading to this deficiency in the system.
The Enzian classification tool has been introduced in recent
years to better describe DE, and has recently introduced the
updated system, #Enzian, which also incorporates SE and tubal
pathology [36,39]. A recent study by Montanari and colleagues
demonstrates that the #Enzian system score can be accurately
predicted with ultrasound, increasing the utility of this model
significantly [40]. The Endometriosis Fertility Index (EFI), reli -
ant on the rASRM staging system, was also recommended after
surgical staging/treatment for women considering pregnancy
in the future [36,40]. Although several staging tools exist, they
mainly focus on the physical extent of the disease and do not
correlate well with the pain symptoms and impact on quality of
life for patients [41]. Beyond accurately representing the expe-
rience of the patient, there should be functionality to prognos-
ticate clinical outcomes, which currently only the EFI attempts
to do. The utility of the newest system, the AAGL Classification
Tool, remains to be seen but it must be validated [42].
Results
Keras is an open-source library that provides a Python in-
terface for artificial neural networks. Keras acts as an interface
for the TensorFlow library. Up until version 2.3 Keras supported
multiple backends, including TensorFlow, Microsoft Cognitive
Toolkit, Theano, and PlaidML [44-46]. As of version 2.4, only
TensorFlow is supported. However, starting with version 3.0
(including its preview version, Keras Core), Keras will become
multi-backend again, supporting TensorFlow, JAX, and PyTorch
[47]. Designed to enable fast experimentation with deep neu-
ral networks, it focuses on being user-friendly, modular, and
extensible. It was developed as part of the research effort of
project ONEIROS (Open-Ended Neuro-Electronic Intelligent Ro-
bot Operating System) and its primary author and maintainer
is François Chollet, a Google engineer. Chollet is also the author
of the Xception deep neural network model [48,49]. Keras con-
tains numerous implementations of commonly used neural net-
work building blocks such as layers, objectives, activation func-
tions, optimizers, and a host of tools for working with image
and text data to simplify programming in deep neural network
areas. The code is hosted on GitHub, and community support
forums include the GitHub issues page and a Slack channel.
In addition to standard neural networks, Keras has support
for convolutional and recurrent neural networks. It supports
other common utility layers like dropout, batch normalization,
and pooling [50]. Keras allows users to produce deep models
on smartphones (iOS and Android), on the web, or on the Java
Virtual Machine [45]. It also allows the use of distributed train-
ing of deep-learning models on clusters of Graphics Processing
Units (GPU) and Tensor Processing Units (TPU) [51]. Biblio -
graphic research indicated that ResNet-50 is the best option as
a base model for medical image data. Using ResNet-50 for creat-
ing a medical image model is a popular choice due to its deep
architecture and effectiveness in handling complex features in
images. ResNet-50 is a variant of the ResNet (Residual Network)
model, which introduced the concept of residual learning [52-
54]. This approach allows the model to learn residual functions,
making it easier to train very deep neural networks without
encountering the vanishing gradient problem. In the context
of medical image analysis, where images can be highly detailed
and intricate, the depth of the network and its ability to capture
subtle patterns and features become crucial.
Here are a few reasons why ResNet-50 might be chosen for
medical image analysis:
Handling deep networks: ResNet-50’s architecture with re-
sidual blocks enables the training of very deep networks (50
layers in this case) without vanishing gradient issues. Deeper
networks can learn more complex features, which is valuable
in medical image analysis where identifying intricate patterns
is essential [54].
Feature extraction: ResNet-50 excels at feature extraction.
Medical images often contain hierarchical and multi-scale fea -
tures. ResNet-50’s design allows it to automatically learn and
extract features at various levels of abstraction, making it suit -
able for diverse medical imaging tasks [52-54].
Pretrained models and transfer learning: ResNet-50 models
pre-trained on large datasets (like ImageNet) are readily avail -
able. Transfer learning, where a pre-trained model is fine-tuned
on a specific dataset, can be incredibly effective in medical im -
age analysis where labeled datasets are limited. By using pre-
trained weights, the model has already learned generic features
from a massive dataset, which can boost its performance on
smaller, specialized datasets [52-54].
Regularisation and generalization: The skip connections
(residual connections) in ResNet-50 act as implicit regularizers.
They help prevent overfitting, which is crucial when dealing
with medical image datasets that are often small and can be
prone to overfitting [52-54].
Research and benchmarking: ResNet-50 has been exten -
sively studied and used in various research papers and compe -
titions. Its performance and capabilities are well-documented
www.jclinmedsurgery.com 5
in the literature, making it a reliable choice for medical image
analysis tasks [52-54]. By leveraging ResNet-50, researchers and
practitioners in the field of medical image analysis can benefit
from the model’s depth, feature extraction capabilities, and the
advantages of transfer learning, ultimately leading to more ac -
curate and robust medical image analysis systems.
Pathological class processing: Visualizing the specific fea -
tures that the network has learned to recognize as indicative of
the pathological class can be challenging due to the complexity
of deep neural networks. Techniques like activation maximiza -
tion or gradient-based visualization methods can be used to
gain some insights, but interpreting deep learning models in
detail remains an ongoing area of research. In order to access
the layer that can produce meaningful images from the under -
standing of the classes and the features used for classification
we need to identify the latest 4-dimensional layer (Figure 3).
Data preparation
Overview:
● All data are separated into two folders, healthy and
pathology ones.
● 2157 healthy
● 2291 pathology
● 80% for training, 20% for validation
Several preprocessing steps are applied to our dataset con -
taining images of two classes: ‘healthy’ and ‘pathology’.
Here’s a breakdown of the preprocessing steps:
Loading images: Images from the directories specified in the
`base_path` variable are loaded using the `load_img` function.
This function loads an image file into a PIL (Python Imaging Li -
brary) object [55-57].
Converting images to arrays: The loaded images are con -
verted into numerical arrays using the `img_to_array` func -
tion from Keras. This function converts a PIL array instance to
a Numpy array.
Resizing images: The images are resized to fit the input size
expected by the ResNet-50 model, which is 224x224 pixels.
OpenCV’s `cv2.resize` function is used for this purpose.
Building x (feature) and y (label) arrays: The resized image
arrays are appended to the list `X`, and the corresponding class
labels (‘healthy’ or ‘pathology’) are appended to the list `y`.
Vectorization also takes place in this step. Vectorization refers
to the process of converting non-numeric data into a numerical
format that can be processed by machine learning algorithms.
Converting y labels to numerical format: The class labels in
the list `y` are mapped to numerical values using a dictionary `y_
dict`. ‘healthy’ is mapped to 0, and ‘pathology’ is mapped to 1.
Shuffling the data: The data (both X and y) is shuffled us -
ing `np.random.permutation`. Shuffling the data is essential to
Input Photo Heatmap Superimposed visualization
(a)
(b)
(c)
Figure 3: Presentation of input photo (a). Heatmap (b). super-
imposed visualization (c). Before classification.
ensure that the model does not learn any order-based patterns
during training.
Choosing a basic model: Initially we decided to build a basic
model and evaluate its efficiency for our dataset.
Therefore we chose a basic sequential model with two ad -
ditional layers:
Input Photo Heatmap Superimposed visualization
(a)
(b)
(c)
Consequently the results are extracted with:
Input Photo Heatmap Superimposed visualization
(a)
(b)
(c)
Based on the results, even after hyper-parameter tuning ex-
ploration, the accuracy could be described as equal to a ran -
domly assigned result.
Model training with Resnet50: We chose as final model
resnet50 with the same additional layers as in the base model.
We used the same hyper-parameters as well.
www.jclinmedsurgery.com 6
References
1. Endometriosis: Overview». 2017. www.nichd.nih.gov.
2. Endometriosis: Condition Information. 2017. www.nichd.nih.
gov.
3. Endometriosis». 2017. womenshealth.gov.
4. Diagnosis of Endometriosis at Laparoscopy: A Validation Study
Comparing Surgeon Visualization with Histologic Findings Sara-
Michelle Gratton 1, Abdul Jamil Choudhry 2, George A Vilos 3,
Angelos Vilos 4, Kristina Baier 5, Simonne Holubeshen 6, Maria
Cassandra Medor 7, Stéphanie Mercier 8, Vincent Nguyen 9, In-
nie Chen 10 PMID: 34562632 DOI: 10.1016/j.jogc.2021.08.013
https://pubmed.ncbi.nlm.nih.gov/34562632/.
5. Bulletti, Carlo; Coccia, Maria Elisabetta; Battistoni, Silvia; Borini,
Andrea. «Endometriosis and infertility». Journal of Assisted Re -
production and Genetics. 2010; 27(8): 441-447. doi:10.1007/
s10815-010-9436-1. ISSN 1573-7330. PMID 20574791.
6. Vercellini, Paolo; Eskenazi, Brenda; Consonni, Dario; Somigliana,
Edgardo; Parazzini, Fabio; Abbiati, Annalisa; Fedele, Luigi. «Oral
contraceptives and risk of endometriosis: a systematic review
and meta-analysis». Human Reproduction Update. 2011; 17(2):
159-170. doi:10.1093/humupd/dmq042. ISSN 1460-2369. PMID
20833638.
7. GBD Disease and Injury Incidence and Prevalence Collabora -
tors. «Global, regional, and national incidence, prevalence, and
years lived with disability for 310 diseases and injuries. 2015;
1990-2015: a systematic analysis for the Global Burden of Dis -
ease Study 2015». Lancet (London, England). 2016; 388 (10053):
1545-1602. doi:10.1016/S0140-6736(16)31678-6. ISSN 0140-
6736. PMID 27733282. PMC 5055577 (10 September 2017).
8. McGrath, Patrick J. Stevens, Bonnie J.· Walker, Suellen M.· Zemp-
sky, William T. Oxford Textbook of Paediatric Pain. (OUP Oxford.
2013; 300. ISBN 9780199642656. (10 September 2017)).
9. GBD 2013 Mortality and Causes of Death Collaborators. «Glob -
al, regional, and national age-sex specific all-cause and cause-
specific mortality for 240 causes of death, 1990-2013: a sys -
tematic analysis for the Global Burden of Disease Study 2013.».
2014; 385: 117-71. doi:10.1016/S0140-6736(14)61682-2. PMID
25530442.
10. Brosens I. Endometriosis: Science and Practice. John Wiley &
Sons. 2012;3. ISBN 9781444398496.
11. Leibetseder A, Petscharnig S, Primus MJ, Kletz S, Münzer B,
Schoefmann K, Keckstein J Lapgyn4: a dataset for 4 automatic
content analysis problems in the domain of laparoscopic gyne -
cology. In: César P , Zink M, Murray N (eds) Proceedings of the
9th ACM multimedia systems conference, MMSys. 2018, June
12-15, 2018. ACM, Amsterdam, The Netherlands. 2018; 357-
362. https:// doi.org/10.1145/3204949.3208127.
12. Canis M, Donnez J, Guzick D, Halme J, Rock J, Schenken R, Ver -
non M (1997) Revised American society for Reproductive Medi-
cine classification of endometriosis: Fertility and Sterility. 1996;
67(5): 817-821. https://doi.org/10.1016/S0015-0282(97)81391-
X.
13. Keckstein J, Hudelist G (2020) Classification of die including bow-
el endometriosis: from r-asrm to #enzian-classification. Best
Pract Res Clin Obstet Gynaecol, Keckstein J, Ulrich U, Possover
M, Schweppe K et al Enzian-klassifikation der tief infiltrierenden
endometriose. Zentralblatt für Gynäkologie. 2003; 125: 291.
14. Leibetseder A, Kletz S, Schoeffmann K, Keckstein S, Keckstein
J. GLENDA: gynecologic laparoscopy endometriosis dataset.
In: Ro YM, Cheng W, Kim J, Chu W, Cui P , Choi J, Hu M, Neve
WD (eds) MultiMedia Modeling - 26th International Conference,
Checking the accuracy and the loss curves for both models
we can see the results (Figure 4):
Figure 4: Experimental results based on formula (1), presenting
accuracy (a) and loss (b).
Table 1: Accuracy metrics of basic and final models compared
with recent reference of recent work (Visalaxi et al. 2021).
Final model Recent Publication*
Precision 0.99 0.83
Recall 0.99 0.82
F1 Score 0.99 0.82
Accuracy 0.99 0.90
Discussion
In clinical practice the minimally invasive laparoscopy can
be demonstrated beneficial as it could support health profes -
sionals in making critical and evidence-based medical decisions.
Closer to our approach Visalaxi et al. 2021 have provided a sys-
tem for automatic diagnosis of endometriosis using deep learn-
ing techniques by using ResNet50 algorithm and yielded an ac -
curacy of 91%. However, they reported that with a larger data
set, they might have better accuracy rates. We developed our
research using a much larger data set. The final developed com-
puter system in our research, based also on the ResNet50 algo-
rithm, predicted the best outcome for all participants who had
laparoscopic surgical therapy. The Keras tool was used and the
generated code was implemented in Python language provid -
ing a mean accuracy of 99%. The presented approach revealed
better performance than the commonly used imaging criteria in
predicting endometriosis as it improves the time and the total
accuracy of evidence-based diagnosis and consequently the fol-
lowing treatment. Additionally, using video during endoscopy
the system could compare the input images with the internal
reasoning model, even on-line accurate results.
www.jclinmedsurgery.com 7
MMM 2020, Daejeon, South Korea, January 5-8, 2020, Proceed-
ings, Part II, Springer, Lecture Notes in Computer Science. 2020;
11962: 439-450. https://doi.org/10.1007/978-3-030-37734-
2_36.
15. Group TmotEGC, Becker CM, Bokor A, Heikinheimo O, Horne A,
Jansen F, et al. ESHRE guideline: endometriosis†. Human Repro-
duction Open. 2022; 2022.
16. Goncalves MO, Siufi Neto J, Andres MP , et al. Systematic evalua-
tion of endometriosis by transvaginal ultrasound can accurately
replace diagnostic laparoscopy, mainly for deep and ovarian en-
dometriosis. Human Reproduction. 2021; 36(6): 1492-500.
17. Mettler L, Schollmeyer T, Lehmann-Willenbrock E, et al. Accura-
cy of laparoscopic diagnosis of endometriosis. 2003; 7(1): 15-8.
18. Jansen RP , Russell P . Nonpigmented endometriosis: clinical, lap-
aroscopic, and pathologic definition. Am J Obstet Gynecol. 1986;
155(6): 1154-9.
19. Rao T, Condous G, Reid S. Ovarian Immobility at Transvaginal
Ultrasound: An Important Sonographic Marker for Prediction
of Need for Pelvic Sidewall Surgery in Women With Suspected
Endometriosis. J Ultrasound Med. 2021.
20. Reid S, Leonardi M, Lu C, et al. The association between ultra -
sound-based ‘soft markers’ and endometriosis type/location: A
prospective observational study. Eur J Obstet Gynecol Reprod
Biol. 2019; 234: 171-8.
21. Koninckx PR, Ussia A, Adamyan L, et al. Deep endometriosis:
definition, diagnosis, and treatment. Fertil Steril. 2012; 98(3):
564-71.
22. Leonardi M, Condous G. A pictorial guide to the ultrasound
identification and assessment of uterosacral ligaments in wom-
en with potential endometriosis. Australasian Journal of Ultra -
sound in Medicine. 2019; 22(3): 157-64.
23. Gratton SM, Choudhry AJ, Vilos GA, et al. Diagnosis of Endome-
triosis at Laparoscopy: A Validation Study Comparing Surgeon
Visualization with Histologic Findings. J Obstet Gynaecol Can.
2021.
24. Fernando S, Soh PQ, Cooper M, et al. Reliability of visual diag -
nosis of endometriosis. J Minim Invasive Gynecol. 2013; 20(6):
783-9.
25. Wykes CB, Clark TJ, Khan KS. Accuracy of laparoscopy in the diag-
nosis of endometriosis: a systematic quantitative review. BJOG.
2004; 111(11): 1204-12.
26. Moulder JK, Siedhoff MT, Melvin KL, et al. Risk of appendiceal
endometriosis among women with deep-infiltrating endome -
triosis. Int J Gynaecol Obstet. 2017; 139(2): 149-54.
27. Szegedy C, Liu W, Jia Y , Sermanet P , Reed S, Anguelov D, Erhan
D, Vanhoucke V, Rabinovich A (2015) Going deeper with con -
volutions. In: Proceedings of the IEEE conference on computer
vision and pattern recognition, pp 1-9]. or ResNet [ He K, Zhang
X, Ren S, Sun J Deep residual learning for image recognition. In:
2016 IEEE conference on computer vision and pattern recog -
nition, CVPR 2016, Las Vegas, NV, USA, June 27-30, 2016, IEEE
Computer Society. 2016; 770-778. https://doi.org/10.1109/
CVPR.2016.90
28. Rai HM, Chatterjee K, Gupta A, Dubey A novel deep cnn
model for classification of brain tumor from mr images. In:
2020 IEEE 1st international conference for convergence in
engineering (ICCE). 2020;134-138. https://doi.org/10.1109/
ICCE50343.2020.9290740, Rai HM, Chatterjee K, Dashkevich S
Automatic and accurate abnormality detection from brain mr
images using a novel hybrid unetresnext-50 deep cnn model.
Biomedical Signal Processing and Control. 2021; 66: 102477.
29. Leibetseder A, Petscharnig S, Primus MJ, Kletz S, Münzer B,
Schoeffmann K, Keckstein J. Lapgyn4: a dataset for 4 automatic
content analysis problems in the domain of laparoscopic gyne -
cology. In: César P , Zink M, Murray N (eds) Proceedings of the
9th ACM multimedia systems conference, MMSys 2018, June
12-15, 2018. ACM, Amsterdam, The Netherlands. 2018; 357-
362. https://doi.org/10.1145/3204949.3208127.
30. Zadeh SM, Francois T, Calvet L, Chauvet P , Canis M, Bartoli A,
Bourdel N Surgai: deep learning for computerized laparoscopic
image understanding in gynecology. Surgical Endoscopy. 2020;
34(12): 5377-5383.
31. Petscharnig S, Schöffmann K. Learning laparoscopic video shot
classification for gynecological surgery. Multimedia Tools and
Applications. 2018; 77(7): 8061-8079.
32. Automated prediction of endometriosis using deep learn -
ing S. Visalaxia, T. Sudalai Muthua Int. J. Nonlinear Anal. Appl.
2021; 2: 2403-2416. ISSN: 2008-6822 (electronic) http://dx.doi.
org/10.22075/ijnaa.2021.5383.
33. G. Bradski and A. Kaehler, Learning OpenCV: Computer Vision
with the OpenCV Library, O’Reilly Media, Inc. 2008.
34. Y . D. Wang, M. Shabaninejad, R.T. Armstrong and P . Mostaghimi,
Deep neural networks for improving physical accuracy of 2D and
3D multi-mineral segmentation of rock micro-CT images, Appl.
Soft Comput. 2021; 104:107185.
35. GLENDA dataset https://dl.acm.org/doi/abs/10.1007/978-3-
030-37734-2_36.
36. Johnson NP , Hummelshoj L, Adamson GD, et al. World Endome-
triosis Society consensus on the classification of endometriosis.
Human Reproduction. 2017; 32(2): 315-24.
37. American Society for Reproductive M. Revised American Soci -
ety for Reproductive Medicine classification of endometriosis:
1996. Fertility and Sterility .1997; 67(5): 817-21.
38. Abrao MS, Andres MP , Miller CE, et al. AAGL 2021 Endometrio-
sis Classification: An Anatomy-based Surgical Complexity Score.
J Minim Invasive Gynecol. 2021; 28(11): 1941-50.
39. Keckstein J, Saridogan E, Ulrich UA, et al. The #Enzian classifi -
cation: A comprehensive non-invasive and surgical description
system for endometriosis. Acta Obstet Gynecol Scand. 2021;
100(7): 1165-75.
40. Adamson GD, Pasta DJ. Endometriosis fertility index: the new,
validated endometriosis staging system. Fertil Steril. 2010;
94(5): 1609-15.
41. International working group of AAGL E, ESHRE, WES, et al. Endo-
metriosis classification, staging and reporting systems: a review
on the road to a universally accepted endometriosis classifica -
tion†,‡. Human Reproduction Open. 2021; 2021(4).
42. Espada M, Leonardi M, Reid S, et al. Regarding “AAGL 2021 En -
dometriosis Classification: An Anatomy-based Surgical Complex-
ity Score”. J Minim Invasive Gynecol. 2021.
43. Montanari E, Bokor A, Szabó G, et al. Accuracy of sonography
for non-invasive detection of ovarian and deep endometriosis
using #Enzian classification: prospective multicenter diagnostic
accuracy study. Ultrasound Obstet Gynecol. 2021.
44. “Keras backends”. keras.io. Retrieved. 2018.
45. “Why use Keras?”. keras.io. Retrieved. 2020.
46. “R interface to Keras”. keras.rstudio.com. Retrieved. 2020.
47. “Introducing Keras Core: Keras for TensorFlow, JAX, and Py -
Torch”. Keras.io. 2023.
www.jclinmedsurgery.com 8
48. “Keras Documentation”. keras.io. Retrieved. 2016.
49. Chollet, François. “Xception: Deep Learning with Depthwise
Separable Convolutions”. 2016. arXiv:1610.02357.
50. “Core - Keras Documentation”. keras.io. Retrieved. 2018.
51. “Using TPUs | TensorFlow”. TensorFlow. Archived from the origi-
nal on 2019-06-04. 2018.
52. Deep Learning in Image Classification using Residual Network
(ResNet) Variants for Detection of Colorectal Cancer - ScienceDi-
rect.
53. ResNet and its application to medical image processing: Re -
search progress and challenges – ScienceDirect.
54. Transfer learning with fine-tuned deep CNN ResNet50 model for
classifying COVID-19 from chest X-ray images – PMC.
55. [1512.03385]. Deep Residual Learning for Image Recognition.
56. Convolutional Neural Networks for Medical Image Analysis: Fine
Tuning or Full Training?.
57. A survey on deep learning in medical image analysis – Science -
Direct.
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source — PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.