Next Article in Journal
IPSM-UNet: An Inverted Pyramid-Shaped U-Net++ Architecture with Multi-Resolution Information Interaction for Coronary Artery Segmentation
Next Article in Special Issue
Two-Stage Dynamic Synergistic Segmentation Method for Myocardial Pathology
Previous Article in Journal
Robust Point Cloud Registration via Rotation-Equivariant Geometric Encoding and State Space Models
Previous Article in Special Issue
Current Trends and Future Opportunities of AI-Based Analysis in Mesenchymal Stem Cell Imaging: A Scoping Review
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Cell Structure Segmentation in TEM Images of Murine Skin Melanoma Cells by Deep Learning Model

by
Mikhail A. Genaev
1,2,
Izabella S. Gogaeva
3,
Iuliia S. Taskaeva
3,
Nataliya P. Bgatova
3,
Mikhail V. Kozhekin
1,2,
Evgeniy G. Komyshev
1,2 and
Dmitry A. Afonnikov
1,2,4,*
1
Federal Research Center, Institute of Cytology and Genetics SB RAS, Novosibirsk 630090, Russia
2
Kurchatov Center for Genome Research, Institute of Cytology and Genetics SB RAS, Novosibirsk 630090, Russia
3
Research Institute of Clinical and Experimental Lymphology, Branch of the Institute of Cytology and Genetics, Siberian Branch of the Russian Academy of Sciences, Novosibirsk 630117, Russia
4
Faculty of Natural Sciences, Novosibirsk State University, Novosibirsk 630090, Russia
*
Author to whom correspondence should be addressed.
J. Imaging 2026, 12(5), 215; https://doi.org/10.3390/jimaging12050215
Submission received: 6 March 2026 / Revised: 3 May 2026 / Accepted: 13 May 2026 / Published: 18 May 2026

Abstract

Mitochondria–endoplasmic reticulum contact sites (MERCs) are known as the specialized areas that are involved in a large number of intracellular signaling pathways that regulate Ca2+ homeostasis, lipid transport, mitochondrial dynamics, cell death, and autophagy. Understanding MERC dynamics has important therapeutic implications in cancer, as these contacts regulate fundamental cellular processes and MERCs represent promising targets for therapeutic interventions aimed at improving cancer treatment outcomes. Despite the accumulated data, the role of MERCs in carcinogenesis still remains unknown; thus, it seems promising to search for new tools facilitating the study of MERCs in tumor cells. The structure of MERCs can be examined in great detail using transmission electron microscopy (TEM). Currently, several hundred TEM images are required to obtain reliable data on these contacts. The speed of data processing can be significantly improved by using fast and accurate image analysis techniques based on deep learning models. In this study, five U-Net models with a ResNet34 encoder network were evaluated, including the basic U-Net-Vanilla architecture as well as models incorporating various attention blocks and blocks capturing multilevel image structure, for the segmentation of mitochondria and the endoplasmic reticulum (ER). The best performance on the test dataset was demonstrated by the U-Net-scSE network, with F1 scores of 0.872 for mitochondria and 0.744 for the ER being achieved. Two models were tested for their ability to leverage pre-training on external datasets (Lucchi++, Kasthuri++, and DeepPi-EM). Additionally, models pre-trained on the CEM500K dataset were evaluated after the parameters had been tuned on the data. It was demonstrated by the results that pre-training or the use of pre-trained networks did not lead to an improvement in the IoU and F1 metrics on the test dataset. Subsequent image analysis was conducted to assess two types of MERCs in the segmented images. Finally, the free and user-friendly UltraNet web server was developed for automated analysis of mitochondria, ER, and MERCs using TEM images.

1. Introduction

The endoplasmic reticulum (ER) represents the cellular structure that is responsible for protein synthesis and folding, as well as for the biosynthesis of multiple lipids. The ER is composed of continuous membrane structures organized into distinct subdomains. Its architecture is dynamically remodeled in response to cellular needs through processes such as membrane fusion, fission, elongation, and degradation. The rough ER mainly consists of cisternae associated with ribosomes for protein synthesis, whereas the smooth ER predominantly comprises tubules involved in phospholipid biosynthesis.
Interactions between the ER and other organelles, particularly mitochondria, are essential for their function. The most extensively studied inter-organellar contact between the ER and mitochondria is termed the mitochondria–ER contact site (MERC), characterized by an intermembrane distance of 10 to 80 nm [1,2]. MERCs play critical roles in numerous intracellular signaling pathways regulating calcium (Ca2+) homeostasis, lipid transport, mitochondrial dynamics, cell death, and autophagy [1].
The functions of MERCs are also significant in various cancer cell types. Depending on the cancer type and stage, oncogenes and tumor suppressors localized at MERCs can exert diverse effects on ER–mitochondrial Ca2+ transport, thereby initiating either antitumor or pro-oncogenic outcomes [3]. MERCs serve as hubs for lipogenic and phospholipid synthesis pathways and are sites of reactive oxygen species (ROS) production in tumor cells, contributing to cancer cell death and fate determination [3,4,5]. Despite increasing evidence, the role of MERCs in carcinogenesis remains incompletely understood. Consequently, the development of novel tools to facilitate detailed studies of MERCs in tumor cells is a promising area of research.
Transmission electron microscopy (TEM) is one of the methods used to study cell ultrastructure, including MERCSs [6]. It allows for visual determination of the overall structures of cell organelles based on TEM images. Quantifying changes in organelle morphology requires additional software. There is a semi-automated approach for analyzing TEM images, based on the use of the ImageJ tool, also known as Fiji [7]. To obtain more reliable statistical estimates, the analysis of up to several hundred TEM images is required. In this case, even using a semi-automated approach is labor-intensive. It is possible to speed up data processing and increase its accuracy by using automatic image analysis systems.
The main task that has to be solved in the analysis of TEM images is semantic segmentation and morphometry of the identified objects [8,9,10,11,12]. To solve it, algorithms of image analysis [8,13,14,15], machine learning [9,16,17], and, more recently, deep learning are used [18,19,20]. For the analysis of biomedical images, among a variety of architectures, the U-Net architecture [21] is the most widely used. Its use allows for improving the accuracy of segmentation by increasing the number of layers and applying other techniques to improve the quality of the model [22]. This architecture has been used to select small extracellular vesicles on TEM images [23], to identify viral particles [24], and for multiclass segmentation of brain electron microscopy images [25]. Machine learning methods for the segmentation of microscopic images allow researchers to carry out their analysis quickly and accurately, which results in their high demand and the creation of a number of application packages, which do not require the user to have knowledge of programming and tuning of parameters [12,23]. All these properties facilitate the use of advanced microscopic image analysis by biologists and physicians in solving biological problems.
In the present work, we used a collection of TEM images of mouse melanoma tissue sections that were obtained and verified by experts in the field of ultrastructural studies. We used five deep learning network models based on the U-Net architecture and ResNet34 encoder for the segmentation of mitochondria and ER in these images. The downstream image analysis was implemented to access the mitochondria–ER contacts in the segmented images. The UltraNet web server was developed for publicly available automated analysis of mitochondria, ER, and MERCSs on TEM images.

2. Materials and Methods

2.1. Experimental Design

Male C57BL/6 mice of 10–12 weeks of age, with weights of 20–22 g, were used in the experiment. Skin melanoma B16 cell line was obtained from the Institute of Cytology and Genetics, Novosibirsk, Russia. B16 cells were subcutaneously injected into the right inguinal area of the mice (1 × 106 cell). Ten days after tumor cell implantation, the mice were divided into experimental groups (n = 5 per group): (1) mice with intact tumors (control, MC); (2) mice receiving daily injections of brefeldin A (9.6 mg/kg, injected into the tumor periphery, MB [Tocris, Bristol, UK]); (3) mice treated daily with rapamycin (1.875 mg/kg, orally, MR [InvivoGen, Toulouse, France]); and (4) mice treated daily with both rapamycin and brefeldin A (MRB). Rapamycin, a known autophagy stimulator, induces the formation of autophagic structures by inhibiting the mTOR signaling pathway [26]. Brefeldin A disrupts the flow of proteins from the ER through the Golgi apparatus to the plasma membrane and interferes with normal sorting of membrane proteins, resulting in the accumulation of non-transportable proteins in the ER cisternae and activation of ER stress [27]. Animals were euthanized by craniocervical dislocation seven days after the start of drug administration.

2.2. Transmission Electron Microscopy

The tumor specimens were fixed with 4% paraformaldehyde and then incubated with 1% osmium tetroxide (OsO4) at 4 °C for 1 h. The fixed specimens were dehydrated with gradient alcohols and embedded in Epon. Next, 70–100 nm ultrathin sections were cut with a Leica EM UC 7 microtome (Leica Microsystems GmbH, Wetzlar, Germany) and stained with 1% uranyl acetate and lead citrate. Electron micrographs were taken at 25.000× at 80 kV with a JEM 1400 electron microscope (JEOL, Tokyo, Japan).

2.3. Image Stratification and Manual Segmentation

We used 296 TEM images of tumor sections obtained from 20 experimental animals. The image size was 2028 × 2048 pixels (pixel width = 0.38 nm). The images were divided into training, test, and validation samples so that each image was represented in only one of them. It was expected that the effects of the two drugs on cancer cells would lead to changes in cellular structure morphology, resulting in our sample set not being homogeneous. When training and testing the neural network model, we accounted for this by forming three variants of image stratification into training, validation, and test sets.
(1)
Exclusive stratification: the experimental conditions for the images in the test set (MR) differ from those for the images in the training and validation sets (MC, MB, MRB).
(2)
Inclusive Stratification: the training, validation, and test sets include images obtained under various conditions in approximately equal proportions.
(3)
Control stratification: images of control samples (animal cancer cells without treatment) were used for training, validation, and testing.
The distribution of images across the sets for different types of stratification is shown in Table 1.
Image pixels were manually segmented into background and two classes (mitochondria, ER). The Hasty Data Annotation service (available at https://hasty.ai/, accessed on 20 March 2025) was used to mark up the images. Two expert annotators manually segmented the organelles using the Hasty.ai tool. One annotator (primary) created masks and a second (independent doctoral-level expert in cell biology) reviewed a subset for consistency. Discrepancies were resolved by consensus before model training. An example of a mask from the original image is shown in Figure 1: mitochondria appear as darker ovals 0.2–0.4 μm in width, with clear boundaries, and include on average 4–5% of the pixels in the image. ER is represented as the light areas of elongated irregular shape and include on average 2–4% of the image pixels. Images were analyzed without any modifications/preprocessing.

2.4. Network Architectures for Image Segmentation

Several deep learning networks based on the U-Net architecture [21] were used. This convolutional neural network topology is widely used for image segmentation in medical image analysis [28]. It consists of an encoder and decoder connected with each other [21]. Various modifications to the U-Net structure have been proposed recently to improve the semantic segmentation of biomedical images, which are classified into several groups [28]: skip connection enhancements, backbone design enhancements, bottleneck enhancements, transformers, rich representation enhancements, and probabilistic design. Several networks with different architectures, encoders, and initial weights were used for the comparison of their performance in the mitochondria/ER segmentation task. The list of network models and their specific features is provided in Table 2.
These networks differ from the basic model, U-Net-Vanilla, through the addition of various attention features (U-Net-scSE, MA-Net), the use of the feature pyramid approach to address multiscale problems (DeepLabV3+, U-Net-FPN), and the utilization of initial weights obtained from unsupervised pre-training (CEM500K-MoCoV2, CEM500K-SwAV). The first five networks are based on the ResNet34 encoder [29], which has demonstrated high accuracy in image classification tasks compared to others (VGG-19 and encoder with structure without shortcut connections) [29]. ResNet34 was chosen because it was trained on the images for the classification tasks and, therefore, it is good at selecting the features of the objects in the image, which helps to improve the segmentation accuracy.
The ResNet34 network architecture has 34 layers and is shown in Figure 2. The encoder consists of convolution layers, each performing convolution operations, normalization batch, ReLU activation functions, and max pooling operations. The encoder output is 512 × 30 × 30. The U-Net decoder consists of upsampling (reverse expansion), convolution layers, concatenation with corresponding encoder layers, and normalization. The outputs of each decoder layer are concatenated with the corresponding encoder layers of the same dimensionality; the last decoder layer is 2 × 960 × 960, which corresponds to a single-channel segmentation mask for each of the two predicted classes.
U-Net-Vanilla, U-Net-scSE, MA-Net, DeepLabV3+, and U-Net-FPN used ImageNet initial weights. The adaptive optimizer AdaBelief [36] was used to select network parameters. The initial learning rate was set to 10−3 with a batch size of 6. The combined loss function, DiceCE [37], which is defined as the sum of Cross Entropy [30] and Dice [38], was taken to optimize the model weights. Dice calculates the measure of similarity between the predicted mask and the true segmentation mask. Cross Entropy evaluates the quality of the classification. Based on a training sample of images and their corresponding masks, the network models were trained over 300 epochs for three types of dataset stratification.
CEM500K-MoCoV2 and CEM500K-SwAV are based on the ResNet50 encoder, and their initial weights were obtained through pre-training on a large-scale heterogeneous unlabeled cellular electron microscopy image dataset [35] (https://github.com/volume-em/cem-dataset, accessed on 14 April 2026). The weights for CEM500K-MoCov2 were obtained using the momentum contrast unsupervised learning algorithm [39], and the weights for CEM500K-SwAV were obtained using the same algorithm [40]. With these approaches, different views of the same image (positive pairs) are pulled together, while those corresponding to different images (negative pairs) are pushed apart. It was demonstrated that the CEM500K pre-trained models significantly outperformed randomly initialized models and models pre-trained on ImageNet when evaluated on several datasets of cellular electron microscopy images [35]. For these models, two SMP decoders, U-Net and FPN, were tested.

2.5. Network Model Training and Segmentation Accuracy Evaluation

To train the segmentation model based on the neural network, the open-source framework PyTorch v. 2.5.0 (Facebook, Menlo Park, CA, USA) was chosen. A computer with a GPU Nvidia RTX 2080ti was used to train the models. For U-Net-Vanilla, U-Net-scSE, MA-Net, DeepLabV3+, and U-Net-FPN, training parameters were the following: max_epochs = 400, train_size = 960, encoder_name = resnet34, train batch size = 2, validation batch size = 1.
The single grayscale channel input was used by the CEM500K-MoCoV2 and CEM500K-SwAV models. The mean and standard deviation values at the checkpoint were used for normalization. During training, the encoder weights of the CEM500K models were frozen, and the weights were changed only for the decoder and segmentation head (CEM fine-tuning configuration with finetune_layer = none). The default schedule was as follows: AdamW with weight_decay = 0.1 and OneCycleLR with 2500 optimizer steps at lr = 0.003, using mixed precision 16. The crop size was set to 960 px, and the batch size was set to 2 (see https://github.com/volume-em/cem-dataset, accessed on 14 April 2026).
The performance of the network model was evaluated using several metrics: the confusion matrix, precision, recall (sensitivity), IoU (also known as the Jaccard index), and the F1 measure (also known as the Dice similarity coefficient, DSC) [41,42]. The confusion matrix represents true positives (TP), false positives (FP), true negatives (TN), and false negatives (FN) for the comparison of objects in images segmented manually and by a machine learning algorithm. Other parameters could be obtained using these metrics [41,42]:
P r e c i s i o n   = T P T P + F P + F N   ,
R e c a l l = S e n s i t i v i t y = T P T P + F N   ,
I o U = T P T P + F P + F N   ,
F 1 = D S C = 2 · T P 2 · T P + F P + F N   .
The closer all these measures are to one, the better the performance of the algorithm is. All these metrics were calculated separately for the background, mitochondria, and endoplasmic reticulum. To estimate these metrics, pooling pixels from all images in the dataset was used. This appeared to be close to the estimate performance and the calculated values for each image separately, and was followed by taking their averages.

2.6. Augmentation

Augmentation of the training sample is a common method for improving the learning process of models, including deep neural networks. It implies the expansion of the training sample by creating new examples on the basis of the existing ones with the help of various distortions. Algorithms implemented in the Albumentations library [43] were used the for the image augmentation. Input crop sizes were set to 960 × 960 pixels. The same geometric and color augmentation was used for the U-Net-Vanilla, U-Net-scSE, MA-Net, DeepLabV3+, and U-Net-FPN models. For the CEM500K models, augmentation was performed using a single-channel grayscale input and normalization by the mean and standard deviation, based on parameters from the CEM500K checkpoint. The list of transformation parameters applied at different stages and for various network configurations is shown in Table S1 (Supplementary File).

2.7. Additional Image Datasets Used for Pre-Training Neural Networks

Three additional image datasets were used to evaluate the ability of the network models to differentiate cellular structures after pre-training. The first dataset, Lucchi++ [44,45], included images of mouse hippocampus cells acquired using focused ion beam scanning electron microscopy, taken from a 5 × 5 × 5 µm section of the hippocampus of the mouse brain. The whole image stack is 2048 × 1536 × 1065 vx, and manually created mitochondria segmentation masks are available for two neighboring image stacks (each 1024 × 768 × 1065 vx) [45]. This dataset includes 165 images for both training and testing. The second dataset, Kasthuri++ [44,46], included images of a sub-volume of the mouse neocortex acquired by serial section electron microscopy. The 3D images have volume dimensions of 1463 × 1613 × 85 vx (training set, 85 images) and 1334 × 1553 × 75 vx (test set, 75 images), with a resolution of 3 × 3 × 30 nm per voxel. Lucchi++ and Kasthuri++ datasets were obtained by re-annotation of the initial images to reduce misclassification [44]. The third dataset, DeepPI-EM (https://yoonlab.unist.ac.kr/index.php/research/mitochondria-tem-dataset/, accessed on 14 April 2026), included transmission electron microscopy (TEM) images of mouse skeletal muscle [47] (21 training and 6 test images) at a resolution of 2048 × 2048 pixels. Examples of images from the three datasets are shown in Figure S1 (Supplementary File). In total, 271 training samples and 246 test samples were used. It should be noted that all external datasets were annotated for the presence of mitochondria only and do not contain any information about the endoplasmic reticulum.
External data were used in two modes (Table 3): (1) pre-training of the U-Net-scSE and U-Net-FPN models; and (2) training of these models in combination with our data (Inclusive stratification; see Table 1). In the first case, training was performed using external data only; then, fine-tuning of the model weights was performed using the Inclusive stratification dataset. In the second case, images from the Inclusive stratification dataset were used in combination with external images; testing was performed on 74 Inclusive stratification test images.

2.8. Analysis of Segmented Images

The downstream analysis of segmented images included the estimation of the area of the mitochondria and ER in the image and determination of MERCs. Contours for mitochondria and ER in the images identified using the OpenCV v. 4.6.0.66 computer vision library [48]. For each contour, its area is estimated in nm2 and the total area occupied by mitochondria and ER is reported for the image.
To identify MERCs, we analyzed mitochondria contours. The mitochondria contour continuous segments participating in MERCs were identified as pixels less than 80 nm (211 pixels) away from the pixels of the ER contours. Additionally, we distinguished two types of MERCs: close contacts for pixels at distances smaller than 15 nm (first-type MERCs) and loose contacts otherwise (second-type MERCs). Contacts were classified as “close” if <15 nm, based on MERC widths reported around 10–15 nm [49]. For each type of MERCs, we estimated two characteristics: number of contacts and the total length of the mitochondria contour segments participating in MERCs (in nm). The second characteristics provide an estimate of the fraction of the mitochondria surface involved in MERCs. The analysis was performed using the OpenCV library. A schematic representation of the close and loose MERCs and corresponding contour regions are shown in Figure 3.
To assess how the accuracy of image segmentation affects the determination of MERC structural characteristics, we compared their evaluations for images manually segmented and automatically segmented using the aforementioned algorithm. The MERC characteristics included the number of first-type contacts (NC1), total length of first-type contacts (LC1), number of second-type contacts (NC2), and total length of second-type contacts (LC2). These two types of parameters were compared based on Pearson’s correlation coefficient.

2.9. Comparison of Estimates of the Area of Mitochondria and ER Obtained Automatically and Manually

Additionally, a comparison between the fraction of the image area occupied by mitochondria and ER estimated automatically in the images segmented by the neural network and manually was performed. To estimate the areas of image segments belonging to mitochondria or ER in the image manually, we applied a grid to an image using ImageJ 1.54r [50]. The grid size was 1024 × 1024, and the grid cell size was 170 nm. Grid vertices were marked with a label of two types depending on which region the given vertex fell into (mitochondrion or ER cistern). For each of the two classes, we calculated the ratio of the number of corresponding labels to the total number of vertices in the grid. This ratio is an estimate of the fraction of the image area occupied by the objects of a given class. In the case of automatic image processing, the fraction of the image area occupied by the mitochondria and ER was obtained directly using the total image area and estimates of the mitochondria and ER total areas in the image (see above).
The Pearson correlation coefficient was used to estimate the relationship between the area of objects in the image obtained manually and automatically.
Statistical analysis was performed using R language (Version 4.3.3) (http://www.r-project.org, accessed on 1 March 2025). Statistical tests used aggregated animal-level data to avoid analyzing images as independent samples. The normality of the data was evaluated using the Shapiro–Wilk test, with a significance criterion of p < 0.05. The Kruskal–Wallis test and Dunn post hoc test were carried out to compare four experimental groups. Two-tailed p < 0.05 was deemed to signify statistical significance.

2.10. UltraNet Web Server

The U-Net-scSE deep learning neural network model for cell structure segmentation in TEM images trained on Inclusive stratification without pre-training is implemented as the UltraNet web-service, available at https://ultranet.sysbio.ru, accessed on 20 January 2026. The web server architecture is shown in Figure 4. The service runs under Nginx 1.14.0 for load balancing. The uWSGI 2.0.20 module (available at https://github.com/unbit/uwsgi, accessed on 20 January 2025) handles communication between the server and the application. The user interface is implemented using Flask 2.0.3 (available at https://github.com/pallets/flask/, accessed on 20 January 2025). The Flask application handles user requests, generates static pages through the Jinja 3.0.3 templating engine (available at https://github.com/pallets/jinja/, accessed on 20 January 2025) and returns them to the user.
The U-Net model from the segmentation-models-pytorch 0.21 library (https://github.com/qubvel/segmentation_models, accessed on 20 January 2025) is used for cell structure segmentation. The segmented image analysis is performed using the OpenCV v. 4.6.0.66 library [48]. The whole system is deployed on a virtual machine under the Ubuntu 18.04.6 operating system. The processing time of one image on the server, including data input and output operations, is on average about 2 s.

3. Results

3.1. Assessing the Performance of the Segmentation Model

The results of the U-Net-scSE neural network training for the Inclusive stratification data split are shown in Figure 5 as an example. During the training process, both the Loss and the IoU for the validation sample converge to stationary values starting from the 400th iteration (Figure 5a,b). The resulting model parameters were used to evaluate its quality on the test sample. The IoU value on the test dataset was 0.773 for the mitochondrial class and 0.592 for the ER class. Similar behavior of the loss and IoU parameters during the training process was observed for other stratification types.
Table 2 represents confusion matrices for the semantic segmentation of the test images in the Inclusive stratification dataset obtained by five neural network models. The initial weights were taken from ImageNet.
It is demonstrated in Table 4 that the segmentation performance for different models is close: the true positive predictions are highest for the background (0.977–0.982), and lower for mitochondria (0.789–0.798) and the endoplasmic reticulum (0.617–0.697). Most errors are caused by the misclassification of mitochondria and ER pixels as background. These errors are more prevalent for the ER (0.302–0.382) than for mitochondria (0.164–0.201). Other types of errors account for 1% or less.
Four performance metrics were estimated using test images from the Inclusive stratification dataset for these network models. The metrics were calculated for each class separately by pooling all pixels and then averaged separately for each class for each model. The results are presented in Table 5. The metric values are close for all networks, with differences of about several percent. However, the best performance for the IoU and F1 metrics across all classes, as well as for precision for the background and the endoplasmic reticulum, was demonstrated by the U-Net-scSE model. The average values for these metrics are also the highest. This suggests that, in general, the U-Net-scSE model outperforms the other models.
In terms of the average IoU metric, the U-Net-FPN model is ranked second, and the U-Net-Vanilla model is ranked third. In terms of the average F1 metric, the U-Net-Vanilla model is ranked second, and the U-Net-FPN model is ranked third.
Examples of image segmentation performed by the U-Net-scSE model, with high (0.770) and low (0.301) average IoU values for mitochondria and ER, are demonstrated in Figure S2 (Supplementary File). In these images, errors are caused by the misclassification of small darker areas as the endoplasmic reticulum (Figure S2a) or mitochondria (Figure S2b).

3.2. Assessing the Performance of the Segmentation Models Utilizing External Data for Training

Two models, U-Net-scSE and U-Net-FPN, were used to check whether the utilization of microscopic images from external datasets (Lucchi++, Kasthuri++, and DeepPy-EM) improves segmentation. Two training methods were applied. In the first case, the network model was pre-trained using external images only, followed by tuning of the model parameters using the Inclusive stratification dataset. In the second case, the models were trained using a mixture of external images and training/validation images from the Inclusive stratification dataset.
In both cases, the models were evaluated using the Inclusive stratification test images. Performance metrics were estimated separately for each class, as described above. The results are presented in Table 6 and demonstrate that neither the IoU nor the F1 metrics surpass the values obtained by the U-Net-scSE model without pre-training or the use of external images (see Table 5). For some models and training configurations, higher Precision and Recall values were achieved compared to those of the U-Net-scSE model. These values were obtained using the pre-training protocol for both architectures (U-Net-scSE and U-Net-FPN). Interestingly, the highest values for the IoU and F1 metrics in this experiment were obtained for the U-Net-FPN architecture, regardless of whether pre-training was used or a combination of our data and external data was employed during training.

3.3. Assessing the Performance of the Pre-Trained CEM500K Models

Neural network models based on the ResNet50 architecture, pre-trained using the CEM500K EM image dataset by two methods (MoCoV2 or SwAV) [35], were fine-tuned using our Inclusive stratification training and validation images. These models were used with two decoders, U-Net and FPN. After fine-tuning, the models were tested on the Inclusive stratification test dataset. The results are presented in Table 7. The table demonstrates that neither metric surpasses the values obtained by the U-Net-scSE model (see Table 5). In this experiment, however, better performance was demonstrated by the CEM500K-MoCoV2/FPN model.

3.4. Performance of U-Net-scSE Model on Various Stratifications and Groups of Animals

U-Net-scSE model was evaluated using two additional stratifications, exclusive and control (see Table 1). The confusion matrices evaluated on test data for this experiment are presented in Table 8. In general, the model demonstrated lower performance on these datasets, in comparison with the results for Inclusive stratification (see Table 4).
For all stratifications, the primary classification error is predicting mitochondria and ER as background. This error is approximately 1.5–2 times higher for ER than for mitochondria.
The IoU values for background, mitochondrial, and ER pixels in the test dataset from the Inclusive stratification for images from different experiments are provided in Table 9.
Table 9 demonstrates that the segmentation accuracy of pixels belonging to the three classes varies across samples from different experiments. However, there is no experiment for which the proportion of correctly classified background, mitochondrial, and ER pixels is consistently higher than for the others. For cells from animals treated with brefeldin (MB), the pixels of ER are most accurately identified among all other classes, while the other classes are the least accurately identified. For cells from animals treated with rapamycin (MR), the best accuracy is observed for background pixel identification. For cells from animals treated with both rapamycin and brefeldin (MRB), the highest proportion of correctly predicted mitochondrial pixels (0.945) is achieved, but the proportion of correctly identified ER pixels is the lowest (0.679). Overall, the data presented in Table 9 align with the general evaluation of the confusion matrix for the Inclusive stratification, as shown in Table 4: the highest accuracy is achieved for background pixels, followed by mitochondrial and ER pixels.

3.5. Accuracy of Length and Quantity Estimation of MERCs

The assessments provided above give an overview of the algorithm’s effectiveness in the segmentation task. However, for researchers, the final analysis involves evaluating the structural characteristics of the cells, particularly MERCs. A comparison of the contact characteristics of mitochondria and ER obtained from manual and automatic image segmentation is presented in Table 10. It provides Pearson’s correlation coefficients between the two sets of parameter estimates.
In the first case, the contact distance is shorter, and classification errors for pixels are more pronounced. Nevertheless, in both the first and second cases, the correlation coefficients are significantly different from 0 and exceed 0.4.

3.6. Visualization of Analysis Results

The results of the UltraNet segmentation for three images from the test sample are shown in Figure 6. The figure demonstrates good agreement between the results of automatic and manual image segmentation. The location of ER and mitochondria regions are highly similar and the differences occur mainly for the borders between the background and cell structures.
Examples of contacts between ER and mitochondria identified by UltraNet are shown in Figure 7. The following estimates were obtained for the image: the number of mitochondria is 15; the mitochondrial area is 2,707,933 nm2; the ER area is 777,175 nm2; the number of first-type MERCs is 5; the total length of the first-type MERC contour segments is 380 nm; the number of second-type MERCs is 10; the total length of second-type MERC contour segments is 2446 nm.

3.7. Comparison of Manual and Automated Estimate of the Cell Structure Area

Figure 8 demonstrates a scatterplot of the estimates of the area fraction occupied by mitochondria and ER obtained using manual counting and UltraNet.
The Pearson correlation coefficients between the fraction of the image area calculated manually and automatically for mitochondria and ER are identical (0.91). However, the regression lines for these scatterplots deviate from the y = x line remarkably. For the mitochondria (Figure 8a), the manual analysis in comparison with the automatic one yields smaller area values within the 0–4% interval and larger values within the 8–11% interval. For the ER area, the manual estimation gives systematically higher area values compared to the automatic ones (Figure 8b). These discrepancies can be easily explained by the fact that the minimal area unit for the manual counting is the grid cell area. For thin ER contours and small mitochondria, this method will always overestimate the area values. For large-sized mitochondria, on the contrary, there is a situation when part of the object extends beyond the cell boundaries but does not include the neighboring nodes. In this case, manual counting gives an underestimate of the object areas (image area fraction > 8%; Figure 8a).
It should be noted that manual estimation of the image area occupied by mitochondria and ER usually takes several minutes, and it is difficult for a human to perform such image analysis for a long time. The UltraNet estimates are determined by the contour itself and do not depend on the grid dimension. It is performed in a very short time.

3.8. UltraNet Application for Quantitative Analysis of Tumor Cells Ultrastructure

To demonstrate the practical effectiveness of the proposed image analysis, we use it for a comparative analysis of the cell ultrastructure parameters for tissue samples from the control and experimentally treated animals with rapamycin as an autophagy modulator [26] and brefeldin A as an ER stress modulator [27], as well as their combination. The data comprise all 296 TEM images (Table 1) segmented by UltraNet with parameters obtained using Inclusive stratification. MERC evaluation algorithms (see Section 2.8: Analysis of Segmented Images) were applied for downstream processing of segmented images. The results are presented in Table 11. It demonstrates that administering animals with rapamycin, brefeldin A, and their combination yields a significant increase in the ER area (almost double) in comparison with control animals. There was an increase by a factor of ~1.4 in the mitochondrial area in the group treated with brefeldin A. Additionally, a significant increase in the length of type 1 MERCs in the groups treated with brefeldin A compared to the groups treated with rapamycin was observed. The length of type 2 MERCs also increased in MB in comparison with MR, albeit this was insignificant. Other parameters did not show any significant differences in the MR, MB, and MRB groups compared to the control.

3.9. UltraNet Server Interface

The UltraNet web-service input page contains several elements (Figure 9a):
  • Image uploading field;
  • Two numerical fields for thresholds for close and loose contact determination;
  • Button for sending the data;
  • Button to execute analysis of example images.
The UltraNet output represents a set of rows. The number of rows is equal to the number of input images. Each row contains (1) an input image with mitochondria and ER contours and MERCs marked by different colors, (2) the image segmentation mask, and (3) the information about detected organelles and their contacts. The result page contains a button to save the image analysis statistics in csv format (Figure 9b).
As an initial practical check of accessibility, two users without programming experience independently completed the upload-and-analysis workflow and successfully obtained segmentation outputs from TEM images without assistance. This observation supports the practical usability of the current interface for exploratory use; however, it should be interpreted as an informal pilot assessment rather than a formal usability study.

4. Discussion

The segmentation of structures on TEM biological/medical images remains a challenging task requiring considerable human control and correction [6,7,12,13]. Modern research is based on the analysis of hundreds of TEM images [51]; therefore, automatic methods are of great importance in this field. Algorithms based on deep learning neural networks have been developed over the last decade with promising results [10,19,23]. For example, the method based on the U-Net deep learning architecture allowed for the identification of extracellular vesicles (EVs) with a Jaccard coefficient (IoU) up to 0.88 for correctly detected objects [23]. Nikishin et al. [19] developed a method to detect EVs in TEM images and obtained mean average precision values between 0.817 and 0.86 depending on the bounding box IoU threshold. A similar performance estimate was obtained for mitochondria identification in EM images using deep learning. For example, Casser et al. [44] performed image segmentation into mitochondria and background for the re-annotated Lucchi image dataset [45] using modified U-Net architecture. The authors demonstrated a high efficiency in mitochondria identification, with the Jaccard index between 0.845 and 0.90. Several models of the deep learning networks based on the U-Net were applied for semantic segmentation of the mitochondria with IoU values ranging from 0.55 to 0.77 depending on the training/testing datasets [52]. Conrad and Narayan [35] developed the MitoNet model based on the Panoptic-DeepLab architecture and image post-processing for mitochondria recognition in 2D/3D EM images and estimated its performance on images from different cell types (fly brain, HeLa cells, glycolytic muscle, etc.). The IoU measure varied in this work from 0.315 to 0.899 depending on the dataset.
Some authors have performed tissue EM image segmentation into sets of classes corresponding to several organelles. Shaga Devan et al. [10] performed semantic segmentation of biological EM images into cytoplasm, nucleus, and background using an approach based on ensemble prediction with several deep learning networks. They demonstrated that the ensemble approach on seven datasets yields Jaccard index values between 0.72 and 0.99 and outperforms the U-Net model. Gallusser et al. [53] implemented a 3D U-Net segmentation model for the identification of mitochondria, ER, Golgi apparatus, nuclear pores, and clathrin-coated vesicles in 3D beam scanning electron microscopy images. They achieved an F1 measure for voxel classification from 0.74 to 0.95 depending on the training/testing dataset combination. Their analysis also demonstrated better performance in identifying mitochondria in comparison with other organelles. Heinrich et al. [54] presented an automated procedure for the segmentation of whole cellular organelles from FIB-SEM data. From the results, the scientists also estimated the contact sites between organelles. The authors trained a 3D U-Net model and achieved an F1 value of 0.967 for mitochondria and 0.841 for the ER of cultured HeLa cells.
Here, several models with different architectures based on the U-Net topology were tested to perform semantic segmentation of TEM images of murine skin melanoma cells. These models included the basic U-Net-Vanilla architecture, models utilizing various attention blocks (U-Net-scSE, MA-Net), and models using blocks capturing multilevel image structure (DeepLabV3+, U-Net-FPN). The analysis of the test images demonstrated that the best performance (IoU and F1 measures) was achieved by the U-Net-scSE model. The IoU/F1 values of 0.773/0.872 and 0.593/0.744 were obtained for mitochondria and ER segmentation, respectively. These values are within the range of F1 performance estimates for mitochondria and ER obtained in studies of different cell types by Heinrich et al. [54]. The performance metrics for mitochondria segmentation using our best model (U-Net-scSE) are generally lower than those reported in other works, where IoU values for mitochondria were obtained by other authors using different datasets [44,47,52]. These differences may be caused by the fact that two classes of areas in the image are recognized in our work. On the other hand, in our images (Figure S2, Supplementary File), compared with third-party datasets (Figure S1, Supplementary File), the mitochondrial areas are much less clearly defined. In particular, some darkened areas may be mistaken by our model for mitochondria (Figure S2b, Supplementary File).
Interestingly, the performance of the ER identification is lower in comparison to mitochondria, similar to other groups’ [53] results. This is likely because mitochondria have a large size and specific inner membrane structure with clearly visible double membrane boundaries. Determining the ER is more challenging. Unlike mitochondria, the boundaries of the ER in tumor cells are distinguishable mainly due to ribosomes localized on the membrane of the ER cisternae, but which may be absent from some parts of the membrane. We suggest that the low IoU value for ER is most likely due to the fact that the network model does not recognize smooth ER membranes.
The U-Net-scSE model achieves comparable (but lower) performance when using two additional stratifications of images. These stratifications differentiate images obtained from treated and non-treated mice in different ways (Table 1). In the Exclusive stratification, images from mice treated with rapamycin were combined in the test set, while the other images were used as training/validation data. In the Control stratification, images from control mice were used for testing. On the contrary, in the Inclusive stratification, images from treated and untreated mice were split into all three subsets (training, validation, and test). This allows variations in the mitochondria and ER structures, occurring due to the treatment of mice with drugs, to be taken into account (see also Table 9). In general, these comparisons demonstrate the high generalization ability of the U-Net-scSE model on our data.
Additional tests were conducted to evaluate neural network pre-training using external image datasets, utilizing two strategies (training and tuning or combining external images with ours during training). The results demonstrated that some strategies can increase Precision and Recall values compared to the U-Net-scSE model without pre-training. However, neither strategy provided a performance improvement in terms of IoU and F1 metrics. Two additional networks pre-trained using the CEM500K EM image dataset [35] were tested here after fine-tuning on the training/validation images from the Inclusive stratification dataset. Again, no performance improvement was detected in comparison with the U-Net-scSE model.
Previously, the utility of using pre-trained models in the segmentation of EM images was demonstrated using various datasets [35,47]. However, pre-trained models may not always improve segmentation performance. For example, it was demonstrated by Conrad and Narayan that pre-trained models only slightly improve IoU metrics for the Lucchi++ and Kasthuri++ datasets [35]. It was noted that the efficiency of pre-training might depend on the underlying biology or tissue architecture and similarities in the image acquisition and sample preparation protocols. It is likely that imaging protocols and the specific structural features of our images (see Figures S1 and S2 in the Supplementary File) may contribute to the weak efficiency of pre-trained neural networks for our image datasets.
Our work is similar in terms of aim to the analysis performed by Lui et al. [55]. They presented an automatic 3D reconstruction of mitochondria, ER, and their contacts in neurons from scanning electron microscopy data of the mouse cerebral cortex. They used the Mask R-CNN network model for the mitochondria and ResNet50 model for the ER identification. Two models were trained independently. The post-processing step allowed for the detection of contacts between segmented mitochondria and ER in 3D. The authors achieved an accuracy value of 0.8021 on the Jaccard index (IoU) for mitochondria identification (the performance of the ER segmentation was not estimated). In our work, we achieved a comparable performance using a single network model for both mitochondria and ER in 2D image analysis. Our UltraNet application also performs a post-processing step to identify MERCs and collect related statistics. Additionally, our model enables the segmentation of images acquired by transmission electron microscopy, which, in contrast to scanning electron microscopy, is less labor-intensive and more commonly employed in routine biological research.
Methods of the cell EM image analysis using deep learning provide fast and accurate identification of organelles and their morphometry. However, most of them are implemented as Python v.2.5.0 packages and require users to have programming skills [35,52,53]. This makes it difficult for biologists and medics who are not qualified in programming to use such approaches for solving biological problems. For the wider use of the developed models, software tools with a simple interface are created, which do not require programming knowledge [19,23,56]. In this paper, a solution in the form of a web-service is proposed for analyzing TEM images. The user can only upload an image and obtain the analysis results as a file.
Image analysis by deep learning algorithms requires datasets of large size. Good practice involves making datasets publicly available for other studies. Several such datasets were suggested in the field of cellular structure analysis by EM imaging [35,44,57,58,59]. We made our annotated TEM image dataset of mouse melanoma tumor sections available for public access. We hope these data will help to improve TEM image analysis algorithms in future work by other researchers. By lowering the technical barrier to TEM image analysis, UltraNet may be particularly useful for biologists who require rapid first-pass quantification of mitochondrial morphology, ER area, and MERCs but do not have dedicated programming or image analysis expertise. In practice, such a tool can facilitate hypothesis generation, prioritize images for expert review, and improve the consistency of routine morphometric measurements across experiments. We therefore view UltraNet as a decision-support and throughput-enhancing platform rather than as a total replacement for expert ultrastructural interpretation.
Collectively, our findings demonstrate the utility and simplicity of the UltraNet platform for assessing MERCs in tumor cells using B16 skin melanoma model. The accumulation of misfolded proteins within the ER lumen during ER stress activates the unfolded protein response (UPR), thereby promoting ER membrane remodeling and the formation of MERCs [60]. The intensity of the stressor significantly influences the UPR’s adaptability and the temporal dynamics of the response: prolonged UPR signaling and maladaptive ER stress can enhance mitochondrial calcium uptake and trigger apoptosis.
Brefeldin A disrupts ER-to-Golgi protein trafficking and is a well-established inducer of ER stress [61]. The marked increase in ER area observed in MB cells is therefore consistent with brefeldin A-induced perturbation of ER homeostasis. MERCs are major sites of ER–mitochondria Ca2+ exchange and stress signaling, and adaptive ER stress responses can enhance ER–mitochondria coupling and mitochondrial Ca2+ import [62,63].
A recent study by [64] showed that the ER–mitochondria distance is a critical parameter for efficient Ca2+ transfer and mitochondrial oxidative metabolism, with an optimal calcium flux observed at an inter-organelle distance near 20 nm. In this context, the increase in both the number and the length of close MERCs in MB cells may reflect stress-associated remodeling of the ER–mitochondria interface. By contrast, rapamycin does not simply oppose brefeldin A-induced stress; mTORC1 inhibition can also reshape ER–mitochondria coupling, but with a different spatial and functional profile and in close connection with autophagy-related adaptation [62]. The intermediate phenotype observed in the MRB group is therefore compatible with partial modulation of the brefeldin A-driven stress response rather than with a purely additive interaction. Collectively, these findings support the interpretation that brefeldin A primarily promotes ER stress-associated MERC remodeling, whereas rapamycin may modify this response through mTOR- and autophagy-dependent pathways [62].
The functional roles of MERCs and proteins involved in ER–mitochondria Ca2+ signaling, such as the mitochondrial calcium uniporter and inositol 1,4,5-trisphosphate (IP3) receptors, are only beginning to be elucidated [65]. Understanding MERC dynamics has important therapeutic implications in cancer due to MERCs regulating fundamental cellular processes including calcium signaling, lipid metabolism, apoptosis, and mitochondrial function, all of which are frequently dysregulated in cancer cells. Recent literature highlights MERCs as promising targets for therapeutic intervention to enhance cancer treatment outcomes [66,67,68,69,70]. Therefore, these data underscore the importance of analyzing MERCs in tumor cells and developing tools to monitor their dynamics.
MERC detection in the present study was operationally defined from two-dimensional TEM images by measuring the minimal distance between segmented mitochondrial and ER contours. This approach is grounded in electron microscopy, which remains the gold standard for identifying inter-organelle contacts, but it does not fully capture the three-dimensional continuity of MERCs [71]. Consequently, contact frequency and length may be affected both by the sectioning plane and by segmentation inaccuracies near organelle boundaries. We therefore interpret the resulting metrics as robust 2D estimates within the current imaging setting rather than as exhaustive measurements of MERC architecture in three dimensions. Contacts were further subclassified as “close” when the ER–mitochondria distance was <15 nm, which was used as a conservative operational threshold based on literature indicating that tighter MERCs often occur in the ~10–20 nm range, while the broader MERC spacing reported across studies spans approximately 10–80 nm [1,72].
A major limitation of the present study is the restricted biological scope of the training and test data. The model was developed using 296 TEM images from a single tumor type, and its performance has therefore been demonstrated primarily within this imaging domain. Although transfer learning and data augmentation can improve segmentation accuracy in microscopy applications with limited annotated data, models trained on narrowly defined datasets may still be sensitive to domain shifts related to tissue type, organelle morphology, sample preparation, staining, fixation, or microscope settings. Future studies should include external validation on independent datasets acquired from additional cell types, tissues, and imaging workflows.

5. Conclusions

For the automatic identification of mitochondria and ER organelles in TEM images of mouse melanoma, we developed a deep learning network model based on the U-Net architecture and ResNet34 encoder. To train and test the model, we collected a dataset of 206 TEM images of mouse melanoma tissue sections annotated by experts. Here, five models of the U-Net segmentation network, including the basic U-Net-Vanilla architecture; models utilizing various attention blocks; and models using blocks capturing multilevel image structure, were evaluated for the segmentation of mitochondria and the endoplasmic reticulum. The best performance on the test dataset was demonstrated by the U-Net-scSE network. Two models were tested for their ability to utilize pre-training with external images (Lucchi++, Kasthuri++, and DeepPi-EM). Additionally, models pre-trained using the CEM500K dataset were tested after fine-tuning the parameters on our data. The results demonstrated that pre-training or the use of pre-trained networks did not improve the IoU and F1 metrics on our test dataset.
The downstream analysis of segmented images was implemented to access the mitochondria–ER contacts. We implemented our algorithms as the UltraNet web server for automated analysis of mitochondria, ER, and mitochondria–ER contacts on TEM images. The processing time of one image on the server, including data input and output operations, is on average about 2 s. Our results demonstrated the high efficiency of the deep learning neural networks to identify mitochondria, ER, and MERCs using TEM images and provide the possibility of such analysis for a large number of researchers.
In conclusion, UltraNet provides an accessible proof-of-principle workflow for the automated segmentation of mitochondria and endoplasmic reticulum and for downstream MERC quantification in TEM images acquired under conditions similar to those of the present study. The current results demonstrate the feasibility of a web-based approach for routine ultrastructural analysis within this imaging domain, but they do not yet establish universal applicability across tissues, cell types, or sample preparation protocols. Broader adoption will require additional external validation on independent datasets and prospective benchmarking in diverse experimental settings.

Supplementary Materials

The following supporting information can be downloaded at https://www.mdpi.com/article/10.3390/jimaging12050215/s1: Table S1; Augmentation, preprocessing operations, and parameters used for training/validation/inference. Figure S1: Examples of typical images from external datasets. (a) Lucchi ++, mask0016.png, 1024x768 px; (b) Kasthuri++, mask1079.png, 1463x1613 px; (c) DeepPI-EM, x_5.tif, 2560x2560 px. Some mitochondria are shown in the images with arrows. Figure S2: Examples of segmentation of cell structures segmentation in TEM images of murine skin melanoma cells using U-Net-scSE model. Original image is on the left, manual label map is in the middle and predicted label map is on the right. In the label maps, the mitochondria are shown in magenta, the ER is shown in turquoise. (a). MP-09_4.tif image, average IoU for mitochondria and ER is 0.770; (b). MP-09_32.tif image, average IoU for mitochondria and ER is 0.301.

Author Contributions

Conceptualization, I.S.T., N.P.B. and D.A.A.; methodology, M.A.G. and I.S.T.; software, M.A.G., M.V.K. and E.G.K.; validation, M.A.G., I.S.G., M.V.K. and D.A.A.; formal analysis, M.A.G., I.S.G. and I.S.T.; investigation, M.A.G., I.S.G. and M.V.K.; resources, N.P.B. and D.A.A.; writing—original draft preparation, review and editing, M.A.G., I.S.T. and D.A.A.; visualization, I.S.G., I.S.T. and M.V.K.; supervision, I.S.T., N.P.B. and D.A.A.; project administration, I.S.T., N.P.B. and D.A.A.; funding acquisition, N.P.B. and D.A.A. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the funding of the Institute of Cytology and genetics SB RAS budget project no. FWNR-2026-0023.

Institutional Review Board Statement

Animal testing was performed in accordance with the principles of the Declaration of Helsinki and EU Directive 2010/63/EU for animal experiments. The animal study protocol was approved by the Ethics Committee of Research Institute of Clinical and Experimental Lymphology (protocol No. 156, 27 February 2020).

Informed Consent Statement

Not applicable.

Data Availability Statement

The original data presented in the study are openly available in UltraNet at https://ultranet.sysbio.ru (accessed on 20 March 2026).

Acknowledgments

Microscopic analysis was carried out at the Multiple-access Center for Microscopy of Biological Subjects (Institute of Cytology and Genetics SB RAS, Novosibirsk, Russia). Data analysis was performed using the computational resources of the “Bioinformatics” Joint Computational Center of the Institute of Cytology and Genetics SB RAS, Novosibirsk, Russia.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
EMElectron microscopy
EREndoplasmic reticulum
EVExtracellular vesicle
IoUIntersection over union metric
MBMice receiving daily injections of brefeldin A
MCMice with intact tumors
MERCsMitochondria–endoplasmic reticulum contact sites
MRMice treated daily with rapamycin
MRBMice treated daily with both rapamycin and brefeldin A
ROSReactive oxygen species
TEMTransmission electron microscopy
UPRUnfolded protein response

References

  1. Giacomello, M.; Pellegrini, L. The Coming of Age of the Mitochondria–ER Contact: A Matter of Thickness. Cell Death Differ. 2016, 23, 1417–1427. [Google Scholar] [CrossRef] [PubMed]
  2. Aoyama-Ishiwatari, S.; Hirabayashi, Y. Endoplasmic Reticulum–Mitochondria Contact Sites—Emerging Intracellular Signaling Hubs. Front. Cell Dev. Biol. 2021, 9, 653828. [Google Scholar] [CrossRef] [PubMed]
  3. Simoes, I.C.M.; Morciano, G.; Lebiedzinska-Arciszewska, M.; Aguiari, G.; Pinton, P.; Potes, Y.; Wieckowski, M.R. The Mystery of Mitochondria-ER Contact Sites in Physiology and Pathology: A Cancer Perspective. Biochim. Biophys. Acta (BBA)-Mol. Basis Dis. 2020, 1866, 165834. [Google Scholar] [CrossRef]
  4. Sassano, M.L.; Van Vliet, A.R.; Agostinis, P. Mitochondria-Associated Membranes As Networking Platforms and Regulators of Cancer Cell Fate. Front. Oncol. 2017, 7, 174. [Google Scholar] [CrossRef]
  5. An, G.; Park, J.; Song, J.; Hong, T.; Song, G.; Lim, W. Relevance of the Endoplasmic Reticulum-Mitochondria Axis in Cancer Diagnosis and Therapy. Exp. Mol. Med. 2024, 56, 40–50. [Google Scholar] [CrossRef]
  6. Harris, J.R. Transmission Electron Microscopy in Molecular Structural Biology: A Historical Survey. Arch. Biochem. Biophys. 2015, 581, 3–18. [Google Scholar] [CrossRef]
  7. Lam, J.; Katti, P.; Biete, M.; Mungai, M.; AshShareef, S.; Neikirk, K.; Garza Lopez, E.; Vue, Z.; Christensen, T.A.; Beasley, H.K.; et al. A Universal Approach to Analyzing Transmission Electron Microscopy with ImageJ. Cells 2021, 10, 2177. [Google Scholar] [CrossRef]
  8. Papadopulos, F.; Spinelli, M.; Valente, S.; Foroni, L.; Orrico, C.; Alviano, F.; Pasquinelli, G. Common Tasks in Microscopic and Ultrastructural Image Analysis Using ImageJ. Ultrastruct. Pathol. 2007, 31, 401–407. [Google Scholar] [CrossRef]
  9. Bell, C.G.; Treder, K.P.; Kim, J.S.; Schuster, M.E.; Kirkland, A.I.; Slater, T.J.A. Trainable Segmentation for Transmission Electron Microscope Images of Inorganic Nanoparticles. J. Microsc. 2022, 288, 169–184. [Google Scholar] [CrossRef] [PubMed]
  10. Shaga Devan, K.; Kestler, H.A.; Read, C.; Walther, P. Weighted Average Ensemble-Based Semantic Segmentation in Biological Electron Microscopy Images. Histochem. Cell Biol. 2022, 158, 447–462. [Google Scholar] [CrossRef]
  11. Yildirim, B.; Cole, J.M. Bayesian Particle Instance Segmentation for Electron Microscopy Image Quantification. J. Chem. Inf. Model. 2021, 61, 1136–1149. [Google Scholar] [CrossRef]
  12. Kotrbová, A.; Štěpka, K.; Maška, M.; Pálenik, J.J.; Ilkovics, L.; Klemová, D.; Kravec, M.; Hubatka, F.; Dave, Z.; Hampl, A.; et al. TEM ExosomeAnalyzer: A Computer-Assisted Software Tool for Quantitative Evaluation of Extracellular Vesicles in Transmission Electron Microscopy Images. J. Extracell. Vesicles 2019, 8, 1560808. [Google Scholar] [CrossRef]
  13. Rangayyan, R.M.; Kamenetsky, I.; Benediktsson, H. Segmentation and Analysis of the Glomerular Basement Membrane in Renal Biopsy Samples Using Active Contours: A Pilot Study. J. Digit. Imaging 2010, 23, 323–331. [Google Scholar] [CrossRef] [PubMed]
  14. Proença, M.C.; Nunes, J.F.M.; De Matos, A.P.A. Texture Indicators for Segmentation of Polyomavirus Particles in Transmission Electron Microscopy Images. Microsc. Microanal. 2013, 19, 1170–1182. [Google Scholar] [CrossRef]
  15. Kylberg, G.; Uppström, M.; Hedlund, K.-O.; Borgefors, G.; Sintorn, I.-M. Segmentation of Virus Particle Candidates in Transmission Electron Microscopy Images: Segmentation of Virus Particle Candidates in TEM Images. J. Microsc. 2012, 245, 140–147. [Google Scholar] [CrossRef] [PubMed]
  16. Calvino, J.J.; López-Haro, M.; Muñoz-Ocaña, J.M.; Puerto, J.; Rodríguez-Chía, A.M. Segmentation of Scanning-Transmission Electron Microscopy Images Using the Ordered Median Problem. Eur. J. Oper. Res. 2022, 302, 671–687. [Google Scholar] [CrossRef]
  17. Arganda-Carreras, I.; Kaynig, V.; Rueden, C.; Eliceiri, K.W.; Schindelin, J.; Cardona, A.; Sebastian Seung, H. Trainable Weka Segmentation: A Machine Learning Tool for Microscopy Pixel Classification. Bioinformatics 2017, 33, 2424–2426. [Google Scholar] [CrossRef]
  18. Horwath, J.P.; Zakharov, D.N.; Mégret, R.; Stach, E.A. Understanding Important Features of Deep Learning Models for Segmentation of High-Resolution Transmission Electron Microscopy Images. npj Comput. Mater. 2020, 6, 108. [Google Scholar] [CrossRef]
  19. Nikishin, I.; Dulimov, R.; Skryabin, G.; Galetsky, S.; Tchevkina, E.; Bagrov, D. ScanEV—A Neural Network-Based Tool for the Automated Detection of Extracellular Vesicles in TEM Images. Micron 2021, 145, 103044. [Google Scholar] [CrossRef]
  20. Sadre, R.; Ophus, C.; Butko, A.; Weber, G.H. Deep Learning Segmentation of Complex Features in Atomic-Resolution Phase-Contrast Transmission Electron Microscopy Images. Microsc. Microanal. 2021, 27, 804–814. [Google Scholar] [CrossRef]
  21. Falk, T.; Mai, D.; Bensch, R.; Çiçek, Ö.; Abdulkadir, A.; Marrakchi, Y.; Böhm, A.; Deubner, J.; Jäckel, Z.; Seiwald, K.; et al. U-Net: Deep Learning for Cell Counting, Detection, and Morphometry. Nat. Methods 2019, 16, 67–70. [Google Scholar] [CrossRef]
  22. Iglovikov, V.; Shvets, A. TernausNet: U-Net with VGG11 Encoder Pre-Trained on ImageNet for Image Segmentation. arXiv 2018. [Google Scholar] [CrossRef]
  23. Gómez-de-Mariscal, E.; García-López-de-Haro, C.; Ouyang, W.; Donati, L.; Lundberg, E.; Unser, M.; Muñoz-Barrutia, A.; Sage, D. DeepImageJ: A User-Friendly Environment to Run Deep Learning Models in ImageJ. Nat. Methods 2021, 18, 1192–1195. [Google Scholar] [CrossRef]
  24. Matuszewski, D.J.; Sintorn, I.-M. Reducing the U-Net Size for Practical Scenarios: Virus Recognition in Electron Microscopy Images. Comput. Methods Programs Biomed. 2019, 178, 31–39. [Google Scholar] [CrossRef]
  25. Getmanskaya, A.A.; Sokolov, N.A.; Turlapov, V.E. Multiclass U-Net Segmentation of Brain Electron Microscopy Data Using Original and Semi-Synthetic Training Datasets. Program. Comput. Softw. 2022, 48, 164–171. [Google Scholar] [CrossRef]
  26. Li, J.; Kim, S.G.; Blenis, J. Rapamycin: One Drug, Many Effects. Cell Metab. 2014, 19, 373–379. [Google Scholar] [CrossRef]
  27. Moon, J.L.; Kim, S.Y.; Shin, S.W.; Park, J.-W. Regulation of Brefeldin A-Induced ER Stress and Apoptosis by Mitochondrial NADP+-Dependent Isocitrate Dehydrogenase. Biochem. Biophys. Res. Commun. 2012, 417, 760–764. [Google Scholar] [CrossRef] [PubMed]
  28. Azad, R.; Aghdam, E.K.; Rauland, A.; Jia, Y.; Avval, A.H.; Bozorgpour, A.; Karimijafarbigloo, S.; Cohen, J.P.; Adeli, E.; Merhof, D. Medical Image Segmentation Review: The Success of U-Net 2022. IEEE Trans. Pattern Anal. Mach. Intell. 2024, 46, 10076–10095. [Google Scholar] [CrossRef] [PubMed]
  29. He, K.; Zhang, X.; Ren, S.; Sun, J. Deep Residual Learning for Image Recognition. In Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR); IEEE: Las Vegas, NV, USA, 2016; pp. 770–778. [Google Scholar]
  30. Ronneberger, O.; Fischer, P.; Brox, T. U-Net: Convolutional Networks for Biomedical Image Segmentation. In Medical Image Computing and Computer-Assisted Intervention—MICCAI 2015; Navab, N., Hornegger, J., Wells, W.M., Frangi, A.F., Eds.; Lecture Notes in Computer Science; Springer International Publishing: Cham, Switzerland, 2015; Volume 9351, pp. 234–241. ISBN 978-3-319-24573-7. [Google Scholar]
  31. Roy, A.G.; Navab, N.; Wachinger, C. Concurrent Spatial and Channel Squeeze & Excitation in Fully Convolutional Networks. In International Conference on Medical Image Computing and Computer-Assisted Intervention; Springer International Publishing: Cham, Switzerland, 2018. [Google Scholar]
  32. Fan, T.; Wang, G.; Li, Y.; Wang, H. MA-Net: A Multi-Scale Attention Network for Liver and Tumor Segmentation. IEEE Access 2020, 8, 179656–179665. [Google Scholar] [CrossRef]
  33. Chen, L.-C.; Zhu, Y.; Papandreou, G.; Schroff, F.; Adam, H. Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentation. In Computer Vision—ECCV 2018; Ferrari, V., Hebert, M., Sminchisescu, C., Weiss, Y., Eds.; Lecture Notes in Computer Science; Springer International Publishing: Cham, Switzerland, 2018; Volume 11211, pp. 833–851. ISBN 978-3-030-01233-5. [Google Scholar]
  34. Lin, T.-Y.; Dollar, P.; Girshick, R.; He, K.; Hariharan, B.; Belongie, S. Feature Pyramid Networks for Object Detection. In Proceedings of the 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR); IEEE: Honolulu, HI, USA, 2017; pp. 936–944. [Google Scholar]
  35. Conrad, R.; Narayan, K. CEM500K, a Large-Scale Heterogeneous Unlabeled Cellular Electron Microscopy Image Dataset for Deep Learning. eLife 2021, 10, e65894. [Google Scholar] [CrossRef]
  36. Zhuang, J.; Tang, T.; Ding, Y.; Tatikonda, S.; Dvornek, N.; Papademetris, X.; Duncan, J.S. AdaBelief Optimizer: Adapting Stepsizes by the Belief in Observed Gradients. Adv. Neural Inf. Process. Syst. 2020, 33, 18795–18806. [Google Scholar]
  37. Taghanaki, S.A.; Zheng, Y.; Kevin Zhou, S.; Georgescu, B.; Sharma, P.; Xu, D.; Comaniciu, D.; Hamarneh, G. Combo Loss: Handling Input and Output Imbalance in Multi-Organ Segmentation. Comput. Med. Imaging Graph. 2019, 75, 24–33. [Google Scholar] [CrossRef]
  38. Drozdzal, M.; Vorontsov, E.; Chartrand, G.; Kadoury, S.; Pal, C. The Importance of Skip Connections in Biomedical Image Segmentation. In Deep Learning and Data Labeling for Medical Applications; Carneiro, G., Mateus, D., Peter, L., Bradley, A., Tavares, J.M.R.S., Belagiannis, V., Papa, J.P., Nascimento, J.C., Loog, M., Lu, Z., et al., Eds.; Lecture Notes in Computer Science; Springer International Publishing: Cham, Switzerland, 2016; Volume 10008, pp. 179–187. ISBN 978-3-319-46975-1. [Google Scholar]
  39. Chen, X.; Fan, H.; Girshick, R.; He, K. Improved Baselines with Momentum Contrastive Learning. arXiv 2020, arXiv:2003.04297. [Google Scholar] [CrossRef]
  40. Caron, M.; Misra, I.; Mairal, J.; Goyal, P.; Bojanowski, P.; Joulin, A. Unsupervised Learning of Visual Features by Contrasting Cluster Assignments. Adv. Neural Inf. Process. Syst. 2020, 33, 9912–9924. [Google Scholar]
  41. Taha, A.A.; Hanbury, A. Metrics for Evaluating 3D Medical Image Segmentation: Analysis, Selection, and Tool. BMC Med. Imaging 2015, 15, 29. [Google Scholar] [CrossRef]
  42. Müller, D.; Soto-Rey, I.; Kramer, F. Towards a Guideline for Evaluation Metrics in Medical Image Segmentation. BMC Res. Notes 2022, 15, 210. [Google Scholar] [CrossRef]
  43. Buslaev, A.; Iglovikov, V.I.; Khvedchenya, E.; Parinov, A.; Druzhinin, M.; Kalinin, A.A. Albumentations: Fast and Flexible Image Augmentations. Information 2020, 11, 125. [Google Scholar] [CrossRef]
  44. Casser, V.; Kang, K.; Pfister, H.; Haehn, D. Fast Mitochondria Detection for Connectomics. Proc. Mach. Learn. Res. 2020, 121, 111–120. [Google Scholar]
  45. Lucchi, A.; Smith, K.; Achanta, R.; Knott, G.; Fua, P. Supervoxel-Based Segmentation of Mitochondria in EM Image Stacks with Learned Shape Features. IEEE Trans. Med. Imaging 2012, 31, 474–486. [Google Scholar] [CrossRef] [PubMed]
  46. Kasthuri, N.; Hayworth, K.J.; Berger, D.R.; Schalek, R.L.; Conchello, J.A.; Knowles-Barley, S.; Lee, D.; Vázquez-Reina, A.; Kaynig, V.; Jones, T.R.; et al. Saturated Reconstruction of a Volume of Neocortex. Cell 2015, 162, 648–661. [Google Scholar] [CrossRef]
  47. Jang, C.; Lee, H.; Yoo, J.; Yoon, H. Deep Learning-Driven Automated Mitochondrial Segmentation for Analysis of Complex Transmission Electron Microscopy Images. Sci. Rep. 2025, 15, 19076. [Google Scholar] [CrossRef]
  48. Bradski, G.; Kaehler, A. Learning OpenCV: Computer Vision with the OpenCV Library; O’Reilly Media, Inc.: Sebastopol, CA, USA, 2008. [Google Scholar]
  49. Lu, X.; Gong, Y.; Hu, W.; Mao, Y.; Wang, T.; Sun, Z.; Su, X.; Fu, G.; Wang, Y.; Lai, D. Ultrastructural and Proteomic Profiling of Mitochondria-Associated Endoplasmic Reticulum Membranes Reveal Aging Signatures in Striated Muscle. Cell Death Dis. 2022, 13, 296. [Google Scholar] [CrossRef]
  50. Schneider, C.A.; Rasband, W.S.; Eliceiri, K.W. NIH Image to ImageJ: 25 Years of Image Analysis. Nat. Methods 2012, 9, 671–675. [Google Scholar] [CrossRef]
  51. Bock, D.D.; Lee, W.-C.A.; Kerlin, A.M.; Andermann, M.L.; Hood, G.; Wetzel, A.W.; Yurgenson, S.; Soucy, E.R.; Kim, H.S.; Reid, R.C. Network Anatomy and in Vivo Physiology of Visual Cortical Neurons. Nature 2011, 471, 177–182. [Google Scholar] [CrossRef]
  52. Franco-Barranco, D.; Pastor-Tronch, J.; González-Marfil, A.; Muñoz-Barrutia, A.; Arganda-Carreras, I. Deep Learning Based Domain Adaptation for Mitochondria Segmentation on EM Volumes. Comput. Methods Programs Biomed. 2022, 222, 106949. [Google Scholar] [CrossRef]
  53. Gallusser, B.; Maltese, G.; Di Caprio, G.; Vadakkan, T.J.; Sanyal, A.; Somerville, E.; Sahasrabudhe, M.; O’Connor, J.; Weigert, M.; Kirchhausen, T. Deep Neural Network Automated Segmentation of Cellular Structures in Volume Electron Microscopy. J. Cell Biol. 2023, 222, e202208005. [Google Scholar] [CrossRef]
  54. Heinrich, L.; Bennett, D.; Ackerman, D.; Park, W.; Bogovic, J.; Eckstein, N.; Petruncio, A.; Clements, J.; Pang, S.; Xu, C.S.; et al. Whole-Cell Organelle Segmentation in Volume Electron Microscopy. Nature 2021, 599, 141–146. [Google Scholar] [CrossRef]
  55. Liu, J.; Li, L.; Yang, Y.; Hong, B.; Chen, X.; Xie, Q.; Han, H. Automatic Reconstruction of Mitochondria and Endoplasmic Reticulum in Electron Microscopy Volumes by Deep Learning. Front. Neurosci. 2020, 14, 599. [Google Scholar] [CrossRef]
  56. Belevich, I.; Jokitalo, E. DeepMIB: User-Friendly and Open-Source Software for Training of Deep Learning Network for Biological Image Segmentation. PLoS Comput. Biol. 2021, 17, e1008374. [Google Scholar] [CrossRef]
  57. Lucchi, A.; Li, Y.; Smith, K.; Fua, P. Structured Image Segmentation Using Kernelized Features. In Computer Vision—ECCV 2012; Fitzgibbon, A., Lazebnik, S., Perona, P., Sato, Y., Schmid, C., Eds.; Lecture Notes in Computer Science; Springer: Berlin/Heidelberg, Germany, 2012; Volume 7573, pp. 400–413. ISBN 978-3-642-33708-6. [Google Scholar]
  58. Wei, D.; Lin, Z.; Franco-Barranco, D.; Wendt, N.; Liu, X.; Yin, W.; Huang, X.; Gupta, A.; Jang, W.-D.; Wang, X.; et al. MitoEM Dataset: Large-Scale 3D Mitochondria Instance Segmentation from EM Images. In Medical Image Computing and Computer Assisted Intervention—MICCAI 2020; Martel, A.L., Abolmaesumi, P., Stoyanov, D., Mateus, D., Zuluaga, M.A., Zhou, S.K., Racoceanu, D., Joskowicz, L., Eds.; Lecture Notes in Computer Science; Springer International Publishing: Cham, Switzerland, 2020; Volume 12265, pp. 66–76. ISBN 978-3-030-59721-4. [Google Scholar]
  59. Gerhard, S.; Funke, J.; Martel, J.; Cardona, A.; Fetter, R. Segmented Anisotropic ssTEM Dataset of Neural Tissue; Dataset; Figshare: London, UK, 2013. [Google Scholar] [CrossRef]
  60. Casas-Martinez, J.C.; Samali, A.; McDonagh, B. Redox Regulation of UPR Signalling and Mitochondrial ER Contact Sites. Cell. Mol. Life Sci. 2024, 81, 250. [Google Scholar] [CrossRef]
  61. Carew, J.S.; Nawrocki, S.T.; Krupnik, Y.V.; Dunner, K.; McConkey, D.J.; Keating, M.J.; Huang, P. Targeting Endoplasmic Reticulum Protein Transport: A Novel Strategy to Kill Malignant B Cells and Overcome Fludarabine Resistance in CLL. Blood 2006, 107, 222–231. [Google Scholar] [CrossRef]
  62. Bravo-Sagua, R.; López-Crisosto, C.; Parra, V.; Rodriguez-Peña, M.; Rothermel, B.A.; Quest, A.F.G.; Lavandero, S. mTORC1 Inhibitor Rapamycin and ER Stressor Tunicamycin Induce Differential Patterns of ER-Mitochondria Coupling. Sci. Rep. 2016, 6, 36394. [Google Scholar] [CrossRef]
  63. Kunja, C.; Kumar, V.; Kodam, P.; Gopu, C.D.; Maity, S. ER Stress Sensors at the ER-Mitochondrial Interface, Controlling Mitochondrial Health in Neurodegenerative Diseases. Front. Neurosci. 2025, 19, 1665272. [Google Scholar] [CrossRef]
  64. Dematteis, G.; Tapella, L.; Casali, C.; Talmon, M.; Tonelli, E.; Reano, S.; Ariotti, A.; Pessolano, E.; Malecka, J.; Chrostek, G.; et al. ER-Mitochondria Distance Is a Critical Parameter for Efficient Mitochondrial Ca2+ Uptake and Oxidative Metabolism. Commun. Biol. 2024, 7, 1294. [Google Scholar] [CrossRef] [PubMed]
  65. Bustos, G.; Ahumada-Castro, U.; Silva-Pavez, E.; Puebla, A.; Lovy, A.; Cardenas, J.C. The ER-Mitochondria Ca2+ Signaling in Cancer Progression: Fueling the Monster. In International Review of Cell and Molecular Biology; Elsevier: Amsterdam, The Netherlands, 2021; Volume 363, pp. 49–121. ISBN 978-0-12-824036-6. [Google Scholar]
  66. De Ridder, I.; Kerkhofs, M.; Lemos, F.O.; Loncke, J.; Bultynck, G.; Parys, J.B. The ER-Mitochondria Interface, Where Ca2+ and Cell Death Meet. Cell Calcium 2023, 112, 102743. [Google Scholar] [CrossRef] [PubMed]
  67. Fernandez Garcia, E.; Paudel, U.; Noji, M.C.; Bowman, C.E.; Rustgi, A.K.; Pitarresi, J.R.; Wellen, K.E.; Arany, Z.; Weissenrieder, J.S.; Foskett, J.K. The Mitochondrial Ca2+ Channel MCU Is Critical for Tumor Growth by Supporting Cell Cycle Progression and Proliferation. Front. Cell Dev. Biol. 2023, 11, 1082213. [Google Scholar] [CrossRef]
  68. Pang, M.; Yu, L.; Li, X.; Lu, C.; Xiao, C.; Liu, Y. A Promising Anti-Tumor Targeting on ERMMDs Mediated Abnormal Lipid Metabolism in Tumor Cells. Cell Death Dis. 2024, 15, 562. [Google Scholar] [CrossRef] [PubMed]
  69. Endoni, B.T.; Koval, O.M.; Allamargot, C.; Kortlever, T.; Qian, L.; Sadoski, R.J.; Juhr, D.; Grumbach, I.M. MIRO1 Is Required for Dynamic Increases in Mitochondria-ER Contact Sites and Mitochondrial ATP During the Cell Cycle. Cells 2025, 14, 482. [Google Scholar] [CrossRef]
  70. Ziegler, D.V.; Parashar, K.; Leal-Esteban, L.; López-Alcalá, J.; Castro, W.; Zanou, N.; Martinez-Carreres, L.; Huber, K.; Berney, X.P.; Malagón, M.M.; et al. CDK4 Inactivation Inhibits Apoptosis via Mitochondria-ER Contact Remodeling in Triple-Negative Breast Cancer. Nat. Commun. 2025, 16, 541. [Google Scholar] [CrossRef]
  71. Benhammouda, S.; Vishwakarma, A.; Gatti, P.; Germain, M. Mitochondria Endoplasmic Reticulum Contact Sites (MERCs): Proximity Ligation Assay as a Tool to Study Organelle Interaction. Front. Cell Dev. Biol. 2021, 9, 789959. [Google Scholar] [CrossRef]
  72. Wilson, E.L.; Metzakopian, E. ER-Mitochondria Contact Sites in Neurodegeneration: Genetic Screening Approaches to Investigate Novel Disease Mechanisms. Cell Death Differ. 2021, 28, 1804–1821. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Result of manual segmentation of TEM images of tumor sections using the Hasty Data Annotation service. (a) Original image; (b) image with marked mitochondria (magenta) and ER (light green); (c) image mask, where colored areas correspond to mitochondria and ER, and black areas correspond to the background. Scale bars represented at the bottom right corner of images.
Figure 1. Result of manual segmentation of TEM images of tumor sections using the Hasty Data Annotation service. (a) Original image; (b) image with marked mitochondria (magenta) and ER (light green); (c) image mask, where colored areas correspond to mitochondria and ER, and black areas correspond to the background. Scale bars represented at the bottom right corner of images.
Jimaging 12 00215 g001
Figure 2. U-Net architecture based on Resnet34 encoder for mitochondria and endoplasmic reticulum recognition on TEM images of tumor sections.
Figure 2. U-Net architecture based on Resnet34 encoder for mitochondria and endoplasmic reticulum recognition on TEM images of tumor sections.
Jimaging 12 00215 g002
Figure 3. Mitochondria–ER contact sites (MERCs). (a) Schematic representation of first (close) and second (loose) types of MERCs. (b) The two types of MERCs in the TEM images of tumor sections (loose contact shown by white arrow; close contacts shown by black arrows).
Figure 3. Mitochondria–ER contact sites (MERCs). (a) Schematic representation of first (close) and second (loose) types of MERCs. (b) The two types of MERCs in the TEM images of tumor sections (loose contact shown by white arrow; close contacts shown by black arrows).
Jimaging 12 00215 g003
Figure 4. UltraNet server architecture. Two types of output images are generated: MERC visualization image (the mitochondria are shown in magenta, the ER is shown in turquoise) and image mask, where colored areas correspond to mitochondria and ER, and black areas correspond to the background.
Figure 4. UltraNet server architecture. Two types of output images are generated: MERC visualization image (the mitochondria are shown in magenta, the ER is shown in turquoise) and image mask, where colored areas correspond to mitochondria and ER, and black areas correspond to the background.
Jimaging 12 00215 g004
Figure 5. Graphs of the training of the network model trained using Inclusive stratification dataset. (a) The Loss function change during training for train and validation datasets. (b) The IoU value change during training for validation dataset.
Figure 5. Graphs of the training of the network model trained using Inclusive stratification dataset. (a) The Loss function change during training for train and validation datasets. (b) The IoU value change during training for validation dataset.
Jimaging 12 00215 g005
Figure 6. Examples of segmentation of three different images of mouse melanoma tumor sections using neural network and manual markup: (a,d,g) original images; (b,e,h) neural network segmentation results; (c,f,i) manual image markup. The mitochondria are shown in magenta, the ER is shown in turquoise.
Figure 6. Examples of segmentation of three different images of mouse melanoma tumor sections using neural network and manual markup: (a,d,g) original images; (b,e,h) neural network segmentation results; (c,f,i) manual image markup. The mitochondria are shown in magenta, the ER is shown in turquoise.
Jimaging 12 00215 g006
Figure 7. Example of the result of determining the contours for mitochondria, ER, and the contact sites between them. The colors correspond to the UltraNet output: mitochondrial contours are shown in magenta; ER contours are shown in turquoise. Regions of close contact on mitochondrial contours are shown in blue color; distant ones are shown in green.
Figure 7. Example of the result of determining the contours for mitochondria, ER, and the contact sites between them. The colors correspond to the UltraNet output: mitochondrial contours are shown in magenta; ER contours are shown in turquoise. Regions of close contact on mitochondrial contours are shown in blue color; distant ones are shown in green.
Jimaging 12 00215 g007
Figure 8. Comparison of the manual (X axis) and UltraNet (Y axis) estimates of the fraction (in %) of the mitochondria and ER area in the image. (a) Fraction of the image area occupied by mitochondria; (b) fraction of the image area occupied by ER. The regression lines between x and y are solid in two panels; the y = x lines are dashed.
Figure 8. Comparison of the manual (X axis) and UltraNet (Y axis) estimates of the fraction (in %) of the mitochondria and ER area in the image. (a) Fraction of the image area occupied by mitochondria; (b) fraction of the image area occupied by ER. The regression lines between x and y are solid in two panels; the y = x lines are dashed.
Jimaging 12 00215 g008
Figure 9. The UltraNet web-service interface. (a) The input form; (b) the output page (the mitochondria are shown in magenta, the ER is shown in turquoise).
Figure 9. The UltraNet web-service interface. (a) The input form; (b) the output page (the mitochondria are shown in magenta, the ER is shown in turquoise).
Jimaging 12 00215 g009
Table 1. Image distribution by experiments and datasets for three types of stratification.
Table 1. Image distribution by experiments and datasets for three types of stratification.
ExperimentImages per ExperimentStratification
ExclusiveInclusiveControl
TrainingValidationTestingTrainingValidationTestingTrainingValidationTesting
MC10287150522525602121
MB3131001588000
MR10200102502626000
MRB616550311515000
Total296124701021487474602121
%100422434502525582121
Table 2. Description of network models used in the work.
Table 2. Description of network models used in the work.
ModelArchitectureEncoder/Initial WeightsDescriptionReferences
U-Net-VanillaU-Net with basic convolutionsResNet-34/ImageNetU-Net architecture with basic 2D convolutions and skipped connections between encoder and decoder[29,30]
U-Net-scSEU-Net with scSE-attention block in decoderResNet-34/ImageNetU-Net with skipped connections between encoder and decoder and concurrent spatial and channel squeeze and excitation block[29,30,31]
MA-NetMulti-scale attention NetResNet-34/ImageNetU-Net with position-wise attention block to model spatial dependencies between pixels in the bottleneck feature maps with self-attention[29,32]
DeepLabV3+DeepLabV3+ResNet-34/ImageNetU-Net architecture with atrous spatial pyramid pooling in the bottleneck and decoder module to recover the object boundaries[29,33]
U-Net-FPNU-Net with feature pyramid network decoderResNet-34/ImageNetTop-down feature pyramid architecture with lateral connections combining shallow features and deep semantic information[29,34]
CEM500K-MoCoV2ResNet50ResNet50/CEM500K, MoCoV2 methodU-Net models with ResNet50 encoder and unsupervised pre-training using CEM500K image dataset and MoCoV2 method[35]
CEM500K-SwAVResNet50ResNet50/CEM500K, SwAV methodSegmentation U-Net models with ResNet50 encoder and unsupervised pre-training using CEM500K image dataset and SwAV method[35]
Table 3. Utilizing external data images in two modes during network model training and testing.
Table 3. Utilizing external data images in two modes during network model training and testing.
External Dataset Usage ModeTrainValidationTest
Pre-training271 external train images246 external test imagesNot used
Combined148 Inclusive stratification train images + 271 external train images74 Inclusive stratification validation images + 246 external test images74 Inclusive stratification test images
Table 4. Confusion matrices for the segmentation of images into the background, mitochondria, and the endoplasmic reticulum, obtained for the test image dataset and various models using the Inclusive stratification dataset. The highest values of true positive predictions for each class are shown in bold.
Table 4. Confusion matrices for the segmentation of images into the background, mitochondria, and the endoplasmic reticulum, obtained for the test image dataset and various models using the Inclusive stratification dataset. The highest values of true positive predictions for each class are shown in bold.
ModelTrue\PredictedBackgroundMitochondriaER
U-Net-VanillaBackground0.9820.0080.010
Mitochondria0.1890.7960.001
ER0.3650.0010.635
U-Net-scSEBackground0.9820.0070.010
Mitochondria0.1910.7950.001
ER0.3020.0000.697
MA-NetBackground0.9770.0110.012
Mitochondria0.2010.7980.000
ER0.3820.0000.617
DeepLabV3+Background0.9810.0080.012
Mitochondria0.1970.7890.001
ER0.3760.0000.624
U-Net-FPNBackground0.9810.0070.012
Mitochondria0.1640.7950.000
ER0.3190.0010.680
Table 5. Performance metrics for five network models on the test image dataset from Inclusive stratification. Largest values in the same metrics/class are shown in bold.
Table 5. Performance metrics for five network models on the test image dataset from Inclusive stratification. Largest values in the same metrics/class are shown in bold.
ModelClassIoUPrecisionRecallF1
U-Net-VanillaBackground0.9630.9830.9790.981
Mitochondria0.7640.8600.8720.866
ER0.5670.7000.7490.723
Average0.7640.8480.8670.857
U-Net-scSEBackground0.9660.9830.9830.983
Mitochondria0.7730.8620.8810.872
ER0.5930.7580.7310.744
Average0.7770.8680.8650.866
MA-NetBackground0.9590.9780.9810.979
Mitochondria0.7320.8630.8280.845
ER0.5250.6970.6810.689
Average0.7390.8460.8300.838
DeepLabV3+Background0.9610.9810.9790.980
Mitochondria0.7610.8530.8760.865
ER0.5360.6920.7040.698
Average0.7530.8420.8530.848
U-Net-FPNBackground0.9640.9810.9820.982
Mitochondria0.7720.8560.8870.871
ER0.5580.7460.6890.716
Average0.7650.8610.8530.856
Table 6. Performance metrics for two network models pre-trained using external image data on the test images from Inclusive stratification. Largest values in the same metrics/class are shown in bold. Metrics that outperform U-Net-scSE for the same class are underlined.
Table 6. Performance metrics for two network models pre-trained using external image data on the test images from Inclusive stratification. Largest values in the same metrics/class are shown in bold. Metrics that outperform U-Net-scSE for the same class are underlined.
Model/Training MethodClassIoUPrecisionRecallF1
U-Net-scSE/Pre-trainingBackground0.9620.9820.9800.981
Mitochondria0.7470.8560.8540.855
ER0.5780.7120.7540.733
Average0.7620.8500.8630.856
U-Net-FPN/Pre-trainingBackground0.9640.9790.9850.982
Mitochondria0.7670.8840.8530.868
ER0.5520.7470.6790.711
Average0.7610.8700.8390.854
U-Net-scSE/Combined datasetsBackground0.9620.9810.9800.981
Mitochondria0.7650.8610.8730.867
ER0.5440.6990.7100.705
Average0.7570.8470.8550.852
U-Net-FPN/Combined datasetsBackground0.9630.9820.9800.981
Mitochondria0.7500.8510.8640.857
ER0.5840.7230.7520.737
Average0.7660.8520.8650.858
Table 7. Performance metrics for CEM500K pre-trained models on the test images from Inclusive stratification. Largest values in the same metrics/class are shown in bold.
Table 7. Performance metrics for CEM500K pre-trained models on the test images from Inclusive stratification. Largest values in the same metrics/class are shown in bold.
Model/DecoderClassIoUPrecisionRecallF1
CEM500K-MoCoV2/U-NetBackground0.9400.9560.9820.969
Mitochondria0.5340.8370.5960.696
ER0.3560.6120.4600.525
Average0.6100.8020.6790.730
CEM500K-MoCoV2/FPNBackground0.9580.9810.9760.978
Mitochondria0.7120.8010.8650.832
ER0.5470.7090.7060.707
Average0.7390.8300.8490.839
CEM500K-SwAV/U-NetBackground0.9380.9630.9730.968
Mitochondria0.5700.6700.7670.726
ER0.3350.7050.3900.502
Average0.6140.7860.7100.732
CEM500K-SwAV/FPNBackground0.9590.9750.9830.979
Mitochondria0.7060.8740.7860.828
ER0.5310.7090.6780.693
Average0.7320.8530.8160.833
Table 8. Confusion matrices for segmentation of images into background, mitochondria, and endoplasmic reticulum (ER) for the test image dataset for U-Net model for three types of stratification data. Diagonal elements are shown in bold.
Table 8. Confusion matrices for segmentation of images into background, mitochondria, and endoplasmic reticulum (ER) for the test image dataset for U-Net model for three types of stratification data. Diagonal elements are shown in bold.
StratificationTrue\PredictedBackgroundMitochondriaER
ExclusiveBackground0.9900.0050.005
Mitochondria0.2790.7210.000
ER0.4350.000.565
ControlBackground0.9810.0150.004
Mitochondria0.2530.7470.000
ER0.4400.0000.560
Table 9. IoU values for classified pixels for images from different groups of animals on the test set. Inclusive stratification data split was used. The highest values in each column are highlighted in bold, and the lowest values are in italics.
Table 9. IoU values for classified pixels for images from different groups of animals on the test set. Inclusive stratification data split was used. The highest values in each column are highlighted in bold, and the lowest values are in italics.
ExperimentBackgroundMitochondriaER
MB0.9700.6200.790
MC0.9780.8520.686
MR0.9890.7360.688
MRB0.9830.9450.679
Table 10. Pearson’s correlation coefficients between MERC characteristics obtained from manual and automatic image segmentation. All values are significantly different from 0 (p < 0.01).
Table 10. Pearson’s correlation coefficients between MERC characteristics obtained from manual and automatic image segmentation. All values are significantly different from 0 (p < 0.01).
StratificationFirst-Type MERCsSecond-Type MERCs
NC1LC1, nmNC2LC2, nm
Exclusive0.5790.4290.9240.953
Inclusive0.4680.5770.8610.863
Control0.6250.5280.9120.949
Table 11. The results of intracellular structures and mitochondria–ER contact (MERC) analysis in tumor cells from animals with B16 melanoma in the control group (MC) and in animals treated with brefeldin A (MB) or rapamycin (MR) or their combination (MRB) using the UltraNet service. Type I MERCs were defined as contacts < 15 nm (C1), while type II MERCs were defined as contacts > 15 nm (C2). Data are presented as median/interquartile range as well as results of the Kruskal–Wallis test and Dunn’s post hoc test for comparison of the four experimental groups.
Table 11. The results of intracellular structures and mitochondria–ER contact (MERC) analysis in tumor cells from animals with B16 melanoma in the control group (MC) and in animals treated with brefeldin A (MB) or rapamycin (MR) or their combination (MRB) using the UltraNet service. Type I MERCs were defined as contacts < 15 nm (C1), while type II MERCs were defined as contacts > 15 nm (C2). Data are presented as median/interquartile range as well as results of the Kruskal–Wallis test and Dunn’s post hoc test for comparison of the four experimental groups.
ParameterMCMBMRMRB
Mitochondria area, nm2256,807.1/
242,359.6
364,672.9/
295,668.1
267,717.7/
202,561.2
233,675.2/
226,288.3
Number of mitochondria5/55/2.55/45/4
ER area, nm270,802/
87,196.2
140,556.8 1/
185,927.3
111,732.6 1/
95,019.1
132,819.6 1/
115,785.1
NC11/11/2.50/11/2
LC1, nm12.5/77.150.5 2/223.60/40.323/90.2
NC24/66/5.55/5.85/7
LC2, nm587.6/887.6889.5/831.8684.2/898.3663.6/795.3
N—number, L—length; 1 p < 0.05 (vs. control group); 2 p < 0.05 (vs. rapamycin group).
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Genaev, M.A.; Gogaeva, I.S.; Taskaeva, I.S.; Bgatova, N.P.; Kozhekin, M.V.; Komyshev, E.G.; Afonnikov, D.A. Cell Structure Segmentation in TEM Images of Murine Skin Melanoma Cells by Deep Learning Model. J. Imaging 2026, 12, 215. https://doi.org/10.3390/jimaging12050215

AMA Style

Genaev MA, Gogaeva IS, Taskaeva IS, Bgatova NP, Kozhekin MV, Komyshev EG, Afonnikov DA. Cell Structure Segmentation in TEM Images of Murine Skin Melanoma Cells by Deep Learning Model. Journal of Imaging. 2026; 12(5):215. https://doi.org/10.3390/jimaging12050215

Chicago/Turabian Style

Genaev, Mikhail A., Izabella S. Gogaeva, Iuliia S. Taskaeva, Nataliya P. Bgatova, Mikhail V. Kozhekin, Evgeniy G. Komyshev, and Dmitry A. Afonnikov. 2026. "Cell Structure Segmentation in TEM Images of Murine Skin Melanoma Cells by Deep Learning Model" Journal of Imaging 12, no. 5: 215. https://doi.org/10.3390/jimaging12050215

APA Style

Genaev, M. A., Gogaeva, I. S., Taskaeva, I. S., Bgatova, N. P., Kozhekin, M. V., Komyshev, E. G., & Afonnikov, D. A. (2026). Cell Structure Segmentation in TEM Images of Murine Skin Melanoma Cells by Deep Learning Model. Journal of Imaging, 12(5), 215. https://doi.org/10.3390/jimaging12050215

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop