Keywords
lesion detection · endometriosis localization · medical dataset
· region-based annotations · gynecologic laparoscopy
1 Introduction
Minimally invasive surgery (MIS) considerably reduces trauma inflicted upon
patients during medical interventions, since, as opposed to traditional open sur-
gery, treatments are applied less intrusively. As a typical form of MIS,endoscopy
is performed by inserting a small camera, the endoscope, as well as a variety of
arXiv:2508.21398v1 [cs.CV] 29 Aug 2025
2 A. Leibetseder et al.
instruments into the human body via natural or artificially created orifices. In
the case of gynecologic laparoscopy such incisions are created into the abdomen
in order to treat conditions related to the female reproductive system. The ac-
cordingly obtained video feed of an individual’s inner anatomy is projected onto
external monitors providing physicians with adequate visuals for performing sur-
gery.
With the prospect of conducting surgeries in such a manner comes the pos-
sibility of recording entire procedures, an opportunity that is in fact pursued by
most modern medical facilities. Apart from representing valuable evidence for
lawful investigations, these kind of recordings more importantly are consulted
by medical practitioners for further treatment planning, case revisitations or
even educational purposes. Seemingly a convenient improvement, several down-
sides, however, considerably diminish the usefulness of archived surgery footage:
recording the typically hours-long surgeries filmed in high-definition on a daily
basis requires elaborate long-term storage solutions. Furthermore, in order to
remain useful, video archives of such magnitudes must easily be searchable even
by potentially non tech-savvy staff. The consequentially arising need for more
sophisticated systems capable of aiding physicians post- as well as even intra-
surgery creates great opportunities and challenges for various scientific commu-
nities, not least the ones concerned with multimedia [7].
Although machine learning has successfully been applied in the field of med-
ical imaging [5], specifically for the task of disease classification and diagnosis,
much needed published datasets for feeding corresponding algorithms are only
sparsely available. This not only is due to the increased sensitiveness of such data
but as well a consequence of the broad spectrum of different imaging technolo-
gies4 utilized for a great variety of purposes. When merely regarding endoscopy
in general the number of publically available datasets is reduced even more dras-
tically, leaving only a few for the sub-discipline of laparoscopy: Cholec80 [11],
LapChole [9], GI dataset [12], SurgicalActions160 [8] and LapGyn4 [4] to name
some recent ones.
(a) rASRM examples (peritoneum, ovary)
of varying severity
(b) Enzian examples
Fig. 1: Example endometriosis locations for rASRM (a) and Enzian (b).
As cholecystectomy, i.e. the removal of the gallbladder, is the most fre-
quently conducted laparoscopic surgery [10], released datasets commonly are
created from this procedure. Keeping that in mind, with this work we specif-
4 e.g. X-ray, computed tomography (CT) scans, magnetic resonance imaging (MRI),
ultrasound, ...
GLENDA: Gynecologic Laparoscopy Endometriosis Dataset 3
ically target a different kind of procedure, which typically as well is treated
laparoscopically: the diagnosis, inspection and surgical removal of endometriosis
– a benign but painful anomaly among women in child bearing age involving
the growth of uterine-like tissue in locations outside of the uterus. The condi-
tion can be found in various positions and severities, often in multiple instances
per patient requiring a physician to determine its extent. This most frequently
is accomplished by calculating its magnitude via utilizing the combination of
two popular classification systems, the revised American Society for Reproduc-
tive Medicine (rASRM) score [2] and the European [1] Enzian classification [3],
which describe the anomaly’s potential anatomical location and severity on a
three-level scale. Figure 1 shows a few examples of these locations as described
by both of these systems. Our contribution, the Gynecologic Laparoscopy EN-
dometriosis DAtaset5 (GLENDA) dataset comprises a subset of these locations
and has been created with leading medical experts in the field of endometriosis
treatment. The dataset and with it our contribution can be characterized as
follows:
Source 300+ video segments and frames selected from a pool of 400+ individual
full surgery videos.
Images 25K+ Images, consisting of 12K+ positive, i.e. pathological images as-
sociated with endometriosis, and 13K+ negative examples, i.e. non-pathological
images without visible endometriosis.
Annotations 500+ hand-drawn region-based class-specific endometriosis an-
notations on 300+ images/keyframes.
Classes Five pathological categories, of which four are based on the location of
the condition (peritoneum, ovary, uterus, DIE – deep infiltrating endometrio-
sis) and one indicating no visible endometriosis (no pathology).
Purposes Binary as well as multi-label (endometriosis) classification, detec-
tion and localization tasks with the option of tracking pathology over video
segments, thus, augmenting the overall annotated sample count.
The remainder of this paper discusses details about the dataset, starting
with its creation in Section 2, its structure in Section 3 and, finally, discussing
its limitations in Section 4 before drawing conclusions in Section 5.
2 Dataset Creation
Overall, there are very numerous potential locations for endometriosis 6 and the
condition’s size determines its severity level on a scale from one to three. Hence,
for creating a a complete dataset in terms of a sufficient amount of examples for
every possible combination of location and severity extent requires the collection
of samples for well over 50 different category types or classes. This, in fact, can
be considered an overly challenging task due to the following reasons:
5 http://www.itec.aau.at/ftp/datasets/GLENDA
6 e.g. peritoneum, ovary, tube, ligaments, vagina, rectum, bladder, ureter, ...
4 A. Leibetseder et al.
Expert Knowledge Endometriosis can not reliably be recognized by laymen or
even untrained medical practitioners, which stresses the need for employing
specific experts in the field and at the same time severely reduces the amount
of capable annotators for such a dataset.
Time GLENDA has been created with fully active surgeons restricting all an-
notation and research effort to non-working hours, which considerably slows
down the data collection process.
Rarity Several lesion locations are diagnosed much more rarely than others,
hence, including them prolongs data accumulation even further.
Completeness Finding representative examples of a class for each of the three
potential severity levels even for a reduced set of categories poses an ad-
ditional challenge outweighing the time and effort for spent annotating, at
least for the dataset’s current first version.
Therefore, for our initial GLENDA version we constrain annotations to a
subset of four endometriosis locations (see Section 3 for details) consisting of
region-based annotations of single video frames, which either are associated with
specific video positions (frame annotations) or sequences over time (keyframe an-
notations in video segments). Although for video segments only keyframes are
annotated, they have been created keeping in mind that all of the endometrio-
sis regions identified on them are visible throughout the sequences, i.e. camera
motion is kept at a minimal level. This offers the possibility of augmenting the
number of annotations by applying annotation tracking mechanisms to these
segments (e.g. point/kernel/silhoutte tracking).
(a) Creating annotations using closed free-
hand drawings, polygons and rectangles.
(b) Different endometriosis annotations in
a summary view.
Fig. 2: Dataset creation and exploration using the Endoscopic Concept Annota-
tion Tool (ECAT).
The entire dataset has been created using the Endoscopic Concept Annota-
tion Tool [6] (ECAT), shown in Figure 2. ECAT is a web-technologies-based tool
that allows for importing large video databases and creating concept annotations
for video sequences as well as frames. It in particular enables users to annotate
frames by creating rectangles as well as closed polygons and free-hand drawings,
meaning that every annotation always needs to enclose a region. Further, a single
annotation on a frame that potentially can contain many different annotations, is
GLENDA: Gynecologic Laparoscopy Endometriosis Dataset 5
required to be associated with one of GLENDA’s four endometriosis categories.
For video sequences, a keyframe must be chosen first before being able to draw
an annotation region.
As the system can be utilized via a standard web browser, it has been made
remotely accessible to all involved medical experts for increasing the convenience
when creating annotations. Finally, all data for the current GLENDA version
has been collected over the course of four months time.
3 The GLENDA Dataset
GLENDA is a multi-faceted endometriosis dataset that has been extracted from
over 400 gynecologic laparoscopy videos, many of which show endometriosis cases
of varied severities. It is summarized in Table 1 and composed of following ele-
ments:
Categories Five categories/classes describe a distinct endometriosis locations:
– pathology: peritoneum, ovary, uterus, deep infiltrating endometriosis (DIE)
– no pathology: (no visible endometriosis)
Annotations Region-based as well as temporal annotations in the form of:
– Annotated frames: single video frames annotated with hand-drawn sketches
(regions), which indicate one or more out of four endometriosis cate-
gories.
– Annotated sequences: sets of consecutive video frames associated with
one or several categories over certain periods of time with annotated
keyframes (pathology) or no additional region-based annotations (no
pathology).
As a consequence of choosing above structure, the dataset allows for a mul-
titude of utilization purposes. Splitting up the dataset into pathology and no
pathology images allows for attempting binary classification, disregarding all
endometriosis sub-classes. Furthermore, when including individual class annota-
tions multi-class endometriosis prediction can be approached, as already men-
tioned in above Section 2 potentially by augmenting the amount of annotations
via tracking them throughout their corresponding video segments. Aside from
possible disadvantages outlined in Section 4, additionally collecting video seg-
ments has the advantage of enabling the inclusion of temporal information in
proposed methodologies for analysis. Finally, the multitude of region-based an-
notations can be leveraged for localization tasks as well as representing a basis
for learning further annotations.
Following sections more thoroughly describe GLENDA’s class categories as
well as structure on a file basis, while pointing out the dataset’s limitations.
3.1 Categories
Peritoneum The peritoneum is a serous membrane lining the abdominal cav-
ity (parietal) as well as its contained upper organs (visceral). Endometrial tissue
6 A. Leibetseder et al.
Table 1: GLENDA summary: number of annotations (annot.) per category (cat.),
number of annotated frames per category, maximum (max.) annotations per
frame, max. categories (cat.) per frame, number of sequences (seq.) and amount
of frames.
Category* annot. annot.
frames
max. annot.
per frame seq. frames
peritoneum 402 203 9 73 6470
ovary 51 48 2 15 2478
uterus 14 8 3 5 475
pathology
DIE 53 43 3 18 2821
no pathology 0 0 0 27 13 438
T otal 520 302 9 (max. cat.: 3) 138 25 682
*Note: A sequence/keyframe/frame is attributed to a specific category if it is the dominant one in
all of its corresponding annotations in terms of annotation count/area covered.
(a)
(b)
(c)
(d)
(e)
(f)
(g)
(h)
(i)
(j)
(k)
(l)
(m)
(n)
(o)
Fig. 3: Peritoneum: differing example images (3a - 3e) with corresponding annotations
(3f - 3j) and video sequence example including keyframe annotations (3k - 3o).
annotated in GLENDA is associated with the pelvic cavity, which is enclosed
by the parietal peritoneum. Figure 3 shows various peritoneum dataset exam-
ples together with their annotations 7 (binary images) and selected frames of
7 Note that due to the possibility of annotating several categories per image, e.g.
GLENDA includes region-based annotations of up to three classes per image, for
simplicity only frames with exactly one associated class have been chosen as exam-
ples.
GLENDA: Gynecologic Laparoscopy Endometriosis Dataset 7
a video sequence with its annotated keyframe (green overlay). Since the peri-
toneum covers a very large area and as well surrounds organs that are part of
other GLENDA classes, corresponding images are often very different to one an-
other and can contain non-relevant other areas that may even contain additional
endometrial tissue. Another implication of the membrane’s proportionally large
size is its consequently very frequent visibility in many of the dataset’s images,
be it pathologoical or non pathological. Visually the peritoneum occurs in a
mixture of red, yellow and white colors.
(a)
(b)
(c)
(d)
(e)
(f)
(g)
(h)
(i)
(j)
(k)
(l)
(m)
(n)
(o)
Fig. 4: Ovary: differing example images (4a - 4e) with corresponding annotations (4f -
4j) and video sequence example including keyframe annotations (4k - 4o).
Ovary Apart from carrying several important functions like producing hor-
mones, the main purpose of the two ovaries is to produce mature ova. Together
with the peritoneum class, the ovaries are the most common locations for en-
dometriosis (see Figure 4 for dataset examples), which is the reason why both of
them (together with the fallopian tubes) are the only lesion locations described
by the rASRM score [2], specifically as well for diagnosingadhesions, i.e. endome-
trial tissue connecting other tissue – a class that, however, is not yet included
in GLENDA. Visually ovaries are easily distinguishable from other organs even
for laymen, since their oval-shaped outer capsule in non pathological state is
colored in a shade of white contrasting them from the typical red-yellowish color
spectrum of other anatomical structures.
Uterus The uterus is intended for bringing up a fetus from a fertilized ovum.
Uteri can show different types of endometrial dislocation: endometrial tissue
growing into the muscle wall of the uterus and thickening it is calledadenomyosis
(adenomyosis may alter the shape and consistency of the uterus), while there is
8 A. Leibetseder et al.
(a)
(b)
(c)
(d)
(e)
(f)
(g)
(h)
(i)
(j)
(k)
(l)
(m)
(n)
(o)
Fig. 5: Uterus: differing example images (5a - 5e) with corresponding annotations (5f
- 5j) and video sequence example including keyframe annotations (5k - 5o).
no special term for the case that the tissue is found on the uterine surface, which
is covered by the visceral peritoneum. Similar to the previous classes, Figure 5
depicts various examples for this category together with a sample sequence of
an affected uterus. A non pathological uterus is pear-shaped, visually appears
in shades of red and is located in-between the two ovaries and in connection to
them via the fallopian tubes.
(a)
(b)
(c)
(d)
(e)
(f)
(g)
(h)
(i)
(j)
(k)
(l)
(m)
(n)
(o)
Fig. 6: Deep Infiltrating Endometriosis (DIE): differing example images (6a - 6e) with
corresponding annotations (6f - 6j) and video sequence example including keyframe
annotations (6k - 6o).
GLENDA: Gynecologic Laparoscopy Endometriosis Dataset 9
DIE Non-shallow endometriosis that is found on specific locations such as the
rectum, the rectovaginal space or uterine ligaments is described as Deep Infil-
trating Endometriosis (DIE) and is usually rated using the Enzian classification
system [3] in addition to the rASRM score [2]. Figure 6 shows several examples
of this class including lesions in the pelvic wall and uterine ligaments. Since all
of the previously described anatomical structures can be affected by DIE ren-
dering example pictures very similar to the other classes, it is a challenging task
to classify DIE correctly. Additionally, as this type of endometriosis describes a
large variety of lesion locations, no distinct visual appearance can be attributed
to this type of class, other than highlighting that typically the color spectrum
in recorded laparascopic videos lacks green tones.
(a)
(b)
(c)
(d)
(e)
(f)
(g)
(h)
(i)
(j)
(k)
(l)
(m)
(n)
(o)
Fig. 7: No Pathology: differing example images (7a - 7j) and video sequence example
(7k - 7o).
No Pathology Video sequences containing no visible pathology in relation to
endometriosis are included in the dataset, providing counter examples to above
categories. Since this class does not contain any region-based annotations, in ad-
dition to a sequence showing a non-pathological uterus, Figure 7 particularly in-
cludes examples of several anatomical structures from above pathological classes
(e.g. peritoneum and ovaries). Again it is not possible to make any assumptions
about the color and shape of objects within this class, since it includes images
covering most areas of the pelvic region.
3.2 Structure
Although originally extracted from videos, GLENDA is an image-based dataset,
hence, contains a structured collection of images. Besides images of video frames,
10 A. Leibetseder et al.
all annotations have been extracted separately and are also provided as images,
albeit in binary format (as depicted in Figures 3-6, but with the restriction of
one annotation per image). The dataset archive addionally includes a Readme
file as well as some dataset statistics in comma separated value (CSV) tables.
Its directory structure is listed and explained in Figure 8.
ROOT
DS
no pathology
frames
pathology
annotations
frames
Readme.md
statisitics
annotations.csv
images.csv
[DS/pathology/annotations]
Binary annotation images (1 per annotation) of
structure: v VID s FROM-TO/f FID/CLASS a AID.png
[DS/*pathology/frames]
Video frames of structure:
v VID s FROM-TO/f FID a.jpg
(optional ” a” indicates that frame has annotation)
[statistics]
Statistics such as annotations/images per class, max.
annotations per image etc.
Fig. 8: GLENDA’s directory structure (placeholders capitalized).
GLENDA’s folder structure as well as file names reflect all relevant infor-
mation for utilizing the dataset. In particular every contained video, frame and
annotation possesses a unique ascending ID number and frames can be mapped
to their annotations by partial path matching, which can be sped up by first
removing all non-annotated frames, i.e. finding frames with an ” a” suffix:
DS/pathology/frames/v_2401_s_210-318/f_210_a.jpg ->
DS/pathology/annotations/v_2401_s_210-318/f_210/die_a_629.png
DS/pathology/annotations/v_2401_s_210-318/f_210/die_a_630.png
DS/pathology/annotations/v_2401_s_210-318/f_210/die_a_631.png
...
Region-based annotations, which, as mentioned above, are in binary format
(black background, white annotation) need to appropriately be transformed into
the required format, e.g. rectanglar bounding boxes, polygons etc. For conducting
binary classification region-based annotations are disregarded, hence, images can
simply be retrieved from their corresponding folders (DS/pathology/frames and
DS/no pathology/frames).
4 Limitations
When thoroughly examining GLENDA in its current version, several shortcom-
ings can be identified. Although the total amount of images is approximately
GLENDA: Gynecologic Laparoscopy Endometriosis Dataset 11
balanced between examples for pathology and no pathology (12K+ vs. 13K+),
single pathology classes are uneven: e.g. peritoneum contains more annotations
than all three other classes combined. Especially the sample count of the uterus
category with a total of merely 8 annotated images with 14 annotations is rather
low. Therefore, researchers may either choose to omit this class altogether or at-
tempt to augment it via tracking the annotations over the class’ 5 included video
segments. Although this will yield a bigger sample count of 475 images, it is of
course less diverse than creating new annotations.
Paying even more attention to data diversity, when using the full 25K+ im-
age corpus with the goal of machine learning based classification, it is important
to carefully consider data preparation: sequential video frames within small pe-
riods of time (e.g. a few seconds) are very similar to each other, which can have
a grave detrimental impact on the training process. Thus, training, validation
and test splits should be constructed from distinct video sequences rather than
from the entire image pool, specifically for non pathological samples, which ex-
clusively are comprised of merely 27 sequences. Although more effortful, this
approach has the advantage that the data across the splits is always truly dif-
ferent, preventing the classifier from validating/testing on exactly what it has
been trained on, yielding a perfect classification score. In order to increase the
amount of dissimilar sequences, it may also be feasible to uniformly sample from
the existing sequences with a large enough interval or apply a shot detection
technique for finding boundaries between dissimilar content.
Finally, not least due to the varied sample count for pathological classes,
in order to ensure an optimal training split that is balanced similarly to the
dataset, it should be proportional to the amount of examples per class and not
the total number of images, i.e. every split should contain a certain percentage
of examples from each class.
5 Conclusion
With the aim of inspiring research in gynecologic laparoscopy, we introduce
the first Gynecologic Laparoscy ENdometriosis DAtaset (GLENDA), created in
collaboration with medical experts in the domain of endometriosis treatment.
GLENDA contains over 25K images, about half of which are pathological, i.e.
showing endometriosis, and the other half non-pathological, i.e. containing no
visible endometriosis. We thoroughly describe the data collection process, the
dataset’s properties and structure, while also discussing its limitations. We plan
on continuously extending GLENDA, including the addition of other relevant
categories and ultimately lesion severities. Furthermore, we are in the process of
collecting specific ”endometriosis suspicion” class annotations in all categories for
capturing a common situation among endometriosis experts: at times it proves
difficult even for specialists to classify the anomaly without further inspection,
which may be due to several reasons, such as visible video artifacts or DIE regions
with a small surface area. Although doubling the amount of classes, having such
difficult examples may greatly improve the quality of endometriosis classifiers.
12 A. Leibetseder et al.
References
1. Andrews, W., Buttram Jr, V., Behrman, S., Carmichael, E., Cohen, M., Dmowski,
P., Eward, R., Guzick, D., Jones Jr, H., Kistner, R., et al.: Revised american
fertility society classification of endometriosis: 1985. Fertility and sterility 43(3),
351–352 (1985)
2. Canis, M., Donnez, J., Guzick, D., Halme, J., Rock, J., Schenken, R., Vernon, M.:
Revised american society for reproductive medicine classification of endometriosis:
1996. Fertility and Sterility67(5), 817–821 (1997). https://doi.org/10.1016/S0015-
0282(97)81391-X
3. Keckstein, J.: Endometriosis in the Intestinal Tract – Important Facts
for Diagnosis and Therapy. coloproctology 39(2), 121–133 (mar 2017).
https://doi.org/10.1007/s00053-017-0144-5
4. Leibetseder, A., Petscharnig, S., Primus, M.J., Kletz, S., M¨ unzer, B., Schoeffmann,
K., Keckstein, J.: Lapgyn4: a dataset for 4 automatic content analysis problems
in the domain of laparoscopic gynecology. In: Proc. of the 9th ACM Multimedia
Systems Conf. pp. 357–362. ACM (2018)
5. Litjens, G., Kooi, T., Bejnordi, B.E., Setio, A.A.A., Ciompi, F., Ghafoorian, M.,
Van Der Laak, J.A., Van Ginneken, B., S´ anchez, C.I.: A survey on deep learning
in medical image analysis. Medical image analysis 42, 60–88 (2017)
6. M¨ unzer, B., Leibetseder, A., Kletz, S., Schoeffmann, K.: Ecat-endoscopic concept
annotation tool. In: Intl. Conf. on Multimedia Modeling. pp. 571–576. Springer
(2019)
7. M¨ unzer, B., Schoeffmann, K., B¨ osz¨ ormenyi, L.: Content-based processing and anal-
ysis of endoscopic images and videos: A survey. Multimedia Tools and Applications
(jan 2017). https://doi.org/10.1007/s11042-016-4219-z
8. Schoeffmann, K., Husslein, H., Kletz, S., Petscharnig, S., Muenzer, B., Beecks,
C.: Video retrieval in laparoscopic video recordings with dynamic content de-
scriptors. Multimedia Tools and Applications 77(13), 16813–16832 (jul 2018).
https://doi.org/10.1007/s11042-017-5252-2
9. Stauder, R., Ostler, D., Kranzfelder, M., Koller, S., Feußner, H., Navab, N.:
The tum lapchole dataset for the m2cai 2016 workflow challenge. arXiv preprint
arXiv:1610.09278 (2016)
10. Tsui, C., Klein, R., Garabrant, M.: Minimally invasive surgery: national trends
in adoption and future directions for hospital strategy. Surgical endoscopy 27(7),
2253–2257 (2013)
11. Twinanda, A.P., Shehata, S., Mutter, D., Marescaux, J., de Mathelin, M.,
Padoy, N.: EndoNet: A Deep Architecture for Recognition Tasks on Laparo-
scopic Videos. IEEE Transactions on Medical Imaging 36(1), 86–97 (jan 2017).
https://doi.org/10.1109/TMI.2016.2593957
12. Ye, M., Giannarou, S., Meining, A., Yang, G.Z.: Online tracking and retargeting
with applications to optical biopsy in gastrointestinal endoscopic examinations.
Medical image analysis 30, 144–157 (2016)