<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Automatic Segmentation of Immunohistochemical Images based on U-NET Architectures</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Oleh Berezsky</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Oleh Pitsun</string-name>
          <email>o.pitsun@tneu.edu.ua</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Bohdan Derysh</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Tamara Datsko</string-name>
          <email>datsko_t@tdmu.edu.ua</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Kateryna Berezka</string-name>
          <email>k.berezka@wunu.edu.ua</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Nadiya Savka</string-name>
          <email>nadya_savka@ukr.net</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>I.Ya. Horbachevsky Temopil State Medical University</institution>
          ,
          <addr-line>m.Voli, 1, Ternopil, 46001</addr-line>
          ,
          <country country="UA">Ukraine</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>West Ukrainian National University</institution>
          ,
          <addr-line>11 Lvivska st., Ternopil, 46001</addr-line>
          ,
          <country country="UA">Ukraine</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Biomedical (immunohistochemical) images of breast cancer are analyzed in this paper. Related work on automatic image segmentation is reviewed. The authors analyzed the architectures of convolutional neural networks of the U-net type for automatic segmentation of immunohistochemical images. Examples of neural network architectures that make it possible to receive more accurate and better image segmentation are given. A modified neural network architecture for segmentation of immunohistochemical images is developed. Computer experiments were carried out according to different numbers of epochs and iterations. ROC-curves are constructed to assess the quality of segmentation of known and modified network architectures of the U-net type.</p>
      </abstract>
      <kwd-group>
        <kwd>1 Breast cancer</kwd>
        <kwd>automated diagnosis</kwd>
        <kwd>CNN</kwd>
        <kwd>immunohistochemical analysis</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>Cancer ranks as the second or third cause of human mortality. Early diagnosis is the only way to prevent
and timely treat cancer.</p>
      <p>With the increasing growth of computer power, it has become possible to use modern information
technologies such as artificial intelligence to diagnose diseases. Methods and tools of artificial
intelligence are widely used in medicine. Traditional methods, such as knowledge engineering, are
applied to present expertise in various fields of medicine. With the development of INTERNET
technologies, a new field emerged, that is, telemedicine. Telemedicine makes it possible to attract
experts from different countries remotely [1].</p>
      <p>Breast cancer ranks as the first cause of women mortality in the world. Pathomorphological diagnosis
is the main method of research and treatment.</p>
      <p>The following biomedical images are used in oncology for diagnosis: cytological, histological and
immunohistochemical. Therefore, computer vision methods and algorithms are used to process these
images [2-4].</p>
      <p>Computer vision methods and algorithms are used at different stages of image processing:
preprocessing, segmentation, classification, etc. Segmentation is one of the key stages in the processing of
biomedical images. The main purpose of segmentation is to clearly identify the nuclei of tissue cells in
the image.</p>
      <p>Neural networks are widely used in medicine [4]. Recently, U-net technology has been used
increasingly, which makes it possible to train neural networks for a specific type of images. First, this
technology was designed for use in medicine. Therefore, the development and training of a neural
network for segmentation of immunohistochemical images is an urgent task.</p>
      <p>The aim of this work is to conduct a comparative analysis of the quality of immunohistochemical
image segmentation using existing and modified architectures of U-net type networks.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Literature review</title>
    </sec>
    <sec id="sec-3">
      <title>3. Problem statement</title>
      <p>U-net technology is considered to be a modern approach to image segmentation in medicine according
to the analyzed literature sources. The segmentation phase is very important, as it makes it possible to
prepare the image for processing at a high level of computer vision, in particular classification and
diagnosis. The objectives of this work are as follows.</p>
      <p>1. Analyze immunohistochemical images of breast cancer.
2. Develop a modification of the neural network architecture of U-net type.</p>
      <p>3. Compare different architectures of U-net type networks for segmentation of
immunohistochemical images.</p>
      <p>4. Analyze computer experiments.</p>
    </sec>
    <sec id="sec-4">
      <title>4. Analysis of immunohistochemical images of breast cancer.</title>
      <p>Immunohistochemical examenations clarify the diagnosis, which is made on the basis of histological
studies. The specified diagnosis is made with use of biomarkers. There is a microscopic description of
immunohistochemical images of breast cancer [23].</p>
      <p>A tumor was found in the breast tissue, the morphological structure of which corresponds to
moderately differentiated invasive ductal carcinoma (G2) (Figure 1).
Immunohistochemical images were obtained on the basis of immunohistochemical studies.</p>
      <p>Estrogen receptor α (DAKO, clone EP1) - positive reaction in 59% of tumor cells (PS = 4),
moderate intensity (IS = 2). TS = 4 + 2 = 6 - positive result (Figure 2).</p>
      <p>Progesterone receptor (DAKO, clone PgR 636) - specific color is not deteсted. TS = 0 - negative
result (Figure 3).</p>
      <p>Oncoprotein c-erbB-2 / neu (HER-2 / neu) (DAKO, polyclonal) - specific color is not detected, 0
points - a negative result (Figure 4).</p>
      <p>Ki-67 antigen (DAKO, clone MIB-1) -positive reaction of significant intensity in 44% of tumor cells
(Figure 5).</p>
      <p>Moderately differentiated (G2) invasive ductal carcinoma of the breast (code ICD-O code :
8500/3).According to the results of immunohistochemical staining of luminal type B tumor, HER-2 /
neu negative:
• estrogen (ER +) - sensitive (59% of cells ++);
• progesterone (PR-) - negative;
• HER-2 / neu - negative (0 points);
• 44% of cells are positive (+++) for the marker of proliferative activity of Ki-67.</p>
    </sec>
    <sec id="sec-5">
      <title>5. Generalized approach to automatic image segmentation.</title>
      <p>In [24] the authors present a generalized approach to diagnosis based on immunohistochemical
images. One of the important stages of this approach is the segmentation stage for determining the
relative area and average brightness of cell nuclei.</p>
      <p>As it is known, U-net is a convolutional neural network, which was designed mainly for the
segmentation of biomedical images. This architecture is based on a sequence of convolutional layers.
The architecture of the U-network is characterized by certain features, in particular in the transmission
of information in the downlink and uplink. Unlike other topologies of convolutional networks, this
topology does not make use of fully connected layers, but only convolutional ones.</p>
      <p>The basic architecture of the U-net network is shown in Figure 6. The structure of the U-net is
described in more detail in [25].</p>
      <p>This architecture consists of two main parts: narrowing (left) and expansion (right). The narrowing
path is a typical convolutional neural network architecture and consists of a convolution operation and
a RELu function. This reduces the dimensionality of the image. Each step in the expansion phase
consists of operations that increase the discretization of the property map. The neural network is trained
by the method of stochastic gradient descent, based on input immunohistochemical images and
segmentation maps.</p>
      <p>In the process of U-net learning it is necessary to determine the degree of similarity between the
generated segmented image and the segmented person. To do this, the Dice coefficient is used.</p>
      <p>A generalized approach to segmentation of immunohistochemical images is shown in Figure 7.</p>
      <sec id="sec-5-1">
        <title>IInnppuutt iimmaaggeess</title>
      </sec>
      <sec id="sec-5-2">
        <title>GGrraayyssccaalliinngg</title>
      </sec>
      <sec id="sec-5-3">
        <title>Test image</title>
      </sec>
      <sec id="sec-5-4">
        <title>Neural network training</title>
      </sec>
      <sec id="sec-5-5">
        <title>Segmentatio n using trained networks</title>
      </sec>
      <sec id="sec-5-6">
        <title>Saved model of neural network</title>
      </sec>
      <sec id="sec-5-7">
        <title>Result</title>
        <p>Learning process includes the following stages:</p>
      </sec>
      <sec id="sec-5-8">
        <title>1. Download images into memory for training sampling.</title>
        <p>2. Convert an image to a grayscale image.
3. Adjust the structure and parameters of the neural network.
4. The learning process.
5. Save learning outcomes in a separate file.</p>
      </sec>
      <sec id="sec-5-9">
        <title>The testing phase is as follows: 1. Download the test sample. 2. Download a file with a trained network. 3. The segmentation process.</title>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>6. U-net architectures</title>
      <p>Examples of U-nets used for segmentation of immunohistochemical images are shown in Figure 8.
In this case, examples of the encoder architecture of the basic U-net neural network (a) and the modified
neural network architecture (b) are given.</p>
      <p>Unlike convolutional neural network for classification of images, the U-net type network does not
have enough flexibility to modify the architecture. The U-net type network consists of descending and
ascending parts that are interconnected. The modified architecture, which is shown in Figure 3 (b), has
an additional convolution layer of 32 x 32 pixels. This modification was made to increase the accuracy
of segmentation of immunohistochemical images by complicating the neural network architecture.</p>
      <p>Conv 1024X1024
Conv 512X512
Conv 256X256
Conv 128X128</p>
      <p>Conv 64X64</p>
      <sec id="sec-6-1">
        <title>a) Type A</title>
        <p>Conv 1024X1024
Conv 512X512
Conv 256X256
Conv 128X128
Conv 64X64
Conv 32X32</p>
      </sec>
      <sec id="sec-6-2">
        <title>b)Type B</title>
      </sec>
    </sec>
    <sec id="sec-7">
      <title>7. Computer experiments</title>
      <sec id="sec-7-1">
        <title>The database of images was used for computer experiments [26].</title>
        <p>ROC curves are constructed to assess the quality of segmentation. Quantitative interpretation of
ROC is done due to AUC indicator — the area bounded by the ROC curve and the axis of the share
of false positive classifications. To determine the accuracy of the classification, the pixel value (black /
white) on the resulting image and the corresponding value on the image processed by the expert are
used.</p>
        <p>Table 1 shows the results of the segmentation accuracy assessment for the U-net type network
architecture (Type A).</p>
        <p>These U-net network architectures are implemented on the basis of Python programming language,
Tensorflow and Keras libraries using the Linux Mint operating system.</p>
        <p>The image dataset consists of 150 immunohistochemical images, divided in the proportion of 70%
(training sample) / 30% (test sample).</p>
        <p>The comparison shows that the best result was obtained using the architecture of a neural network
of type B with the following parameters: the number of iterations – 200, the number of epochs – 2.
8. Conclusions</p>
        <p>1. The analysis of relevant work is carried out. It is shown that automatic segmentation is a relevant
task. Automatic segmentation algorithms are analyzed; their advantages and disadvantages are
highlighted. The necessity of using convolutional neural networks of U-net type is substantiated.</p>
        <p>2. The histological image of breast cancer is analyzed and the diagnosis is specified on the basis of
the analysis of immunohistochemical images.</p>
        <p>3. The typical U-net architecture is analyzed and its modification is developed. U-net architectures
are compared on the basis of immunohistochemical images.</p>
        <p>4. Based on computer experiments, it was found that the best result was obtained using the
architecture of the neural network of type B with the following parameters: the number of iterations –
200, the number of epochs – 2 and the accuracy of segmentation is 85%.</p>
        <p>The results of automatic segmentation are used for preliminary diagnosis of cancer.</p>
      </sec>
    </sec>
    <sec id="sec-8">
      <title>9. References</title>
      <p>
        Informatics &amp; Data-Driven Medicine (IDDM 2019), Lviv, Ukraine, 11-13 November 2019.
ceurws.org/Vol-2488/paper2.pdf
[4] Ivan Izonin, Roman Tkachenko, Ivanna Dronyuk, Pavlo Tkachenko, Michal Gregus, Mariia
Rashkevych. Predictive modeling based on small data in clinical medicine: RBF-based additive
input-doubling method[J]. Mathematical Biosciences and Engineering, 2021, 18(
        <xref ref-type="bibr" rid="ref3">3</xref>
        ): 2599-2613.
doi: 10.3934/mbe.2021132
[5] F. A. Dzulkifli, M. Y. Mashor, H. Jaafar, Colour thresholding-based automatic Ki67 counting
procedure for immunohistochemical staining in meningioma, International Journal of
Computational Vision and Robotics. 11(
        <xref ref-type="bibr" rid="ref3">3</xref>
        ) (2021) 279–298. doi: 10.1504/IJCVR.2021.115160.
[6] J. Shu, J. Liu, Y. Zhang, H. Fu, M. Ilyas, G. Faraci, ... &amp; G. Qiu, Marker controlled superpixel
nuclei segmentation and automatic counting on immunohistochemistry staining images,
Bioinformatics. 36(10) (2020) 3225–3233. doi: 10.1093/bioinformatics/btaa107
[7] K. S. Hameed, K. S. Abubacker, A. Banumathi, &amp; G. Ulaganathan, Immunohistochemical analysis
of oral cancer tissue images using support vector machine, Measurement. 173 (2021) 108476.
https://doi.org/10.1016/j.measurement.2020.108476
[8] Y. Feng, L. Zhang, Z. Yi, Breast cancer cell nuclei classification in histopathology images using
deep neural networks, Int J Comput Assist Radiol Surg. 13(
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) (2018 Feb) 179-191. doi:
10.1007/s11548-017-1663-9. Epub 2017 Aug 31. PMID: 28861708.
[9] S. Razavi et al., An Automated and Accurate Methodology to Assess Ki-67 Labeling Index of
Immunohistochemical Staining Images of Breast Cancer Tissues, in: Proceedings of the 25th
International Conference on Systems, Signals and Image Processing (IWSSIP), 2018, pp. 1–5. doi:
10.1109/IWSSIP.2018.8439184.
[10] J. Oscanoa, F. Doimi, R. Dyer, J. Araujo, J. Pinto and B. Castaneda, Automated segmentation and
classification of cell nuclei in immunohistochemical breast cancer images with estrogen receptor
marker, in: Proceedings of the 38th Annual International Conference of the IEEE Engineering in
Medicine and Biology Society (EMBC), 2016, pp. 2399–2402. doi:
10.1109/EMBC.2016.7591213.
[11] P. Pradhan, K. Köhler, S. Guo, O. Rosin, J. Popp, A. Niendorf, &amp; T. Bocklitz, Data Fusion of
Histological and Immunohistochemical Image Data for Breast Cancer Diagnostics using Transfer
Learning, in: Proceedings of the International Conference on Pattern Recognition Applications and
Methods, V. 1: ICPRAM, ISBN 978-989-758-486-2, 2021, February, p. 495–506. doi:
10.5220/0010225504950506.
[12] A. Greenberg, A. Aizic, A. Zubkov, S. Borsekofsky, R. R. Hagege, &amp; D. Hershkovitz, Automatic
ganglion cell detection for improving the efficiency and accuracy of hirschprung disease diagnosis,
Scientific reports. 11(
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) (2021) 1–9. doi: 10.1038/s41598-021-82869-y
[13] C. Syrykh, A. Abreu, N. Amara, A. Siegfried, V. Maisongrosse, F. X. Frenois, ... &amp; P. Brousset,
Accurate diagnosis of lymphoma on whole-slide histopathology images using deep learning, NPJ
digital medicine. 3(
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) (2020) 1–8. doi: 10.1038/s41746-020-0272-0
[14] D. Kazdal, E. Rempel, C. Oliveira, M. Allgäuer, A. Harms, K. Singer, M. Kriegsmann,
Conventional and semi-automatic histopathological analysis of tumor cell content for multigene
sequencing of lung adenocarcinoma, Translational Lung Cancer Research. 10(4) (2021) 1666. doi:
10.21037/tlcr-20-1168
[15] M. Z. Alom, C. Yakopcic, T. M. Taha and V. K. Asari, Nuclei Segmentation with Recurrent
Residual Convolutional Neural Networks based U-Net (R2U-Net), in: Proceedings of the IEEE
National Aerospace and Electronics Conference, 2018, pp. 228–233. doi:
10.1109/NAECON.2018.8556686.
[16] W. Bulten, P. Bándi, J. Hoven, R. van de Loo, J. Lotz, N. Weiss, ... &amp; G. Litjens, Epithelium
segmentation using deep learning in H&amp;E-stained prostate specimens with immunohistochemistry
as reference standard, Scientific report.s 9(
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) (2019) 1–10. doi: 10.1038/s41598-018-37257-4
[17] Z. Swiderska-Chadaj, T. Markiewicz, J. Gallego, G. Bueno, B. Grala, &amp; M. Lorent, Deep learning
for damaged tissue detection and segmentation in Ki-67 brain tumor specimens based on the
Unet model, Bulletin of the Polish Academy of Sciences: Technical Sciences. (2018) 849–856. doi:
10.24425/bpas.2018.125932.
[18] Z. Swiderska-Chadaj, H. Pinckaers, M. van Rijthoven, M. Balkenhol, M. Melnikova, O. Geessink,
... &amp; F. Ciompi, Learning to detect lymphocytes in immunohistochemistry with deep learning.
      </p>
      <p>
        Medical image analysis. 58, 101547 (2019). doi: 10.1016/j.media.2019.101547
[19] F. D. Khameneh, S. Razavi, &amp; M. Kamasak, Automated segmentation of cell membranes to
evaluate HER2 status in whole slide images using a modified deep learning network, Computers
in biology and medicine. 110 (2019) 164–174. doi: 10.1016/j.compbiomed.2019.05.020
[20] F. Kromp et al., Evaluation of Deep Learning Architectures for Complex Immunofluorescence
Nuclear Image Segmentation, in: Proceedings of the IEEE Transactions on Medical Imaging. 40(7)
(July 2021) 1934–1949. doi: 10.1109/TMI.2021.3069558.
[21] L. B. Mahanta, E. Hussain, N. Das, L. Kakoti, &amp; M. Chowdhury, IHC-Net: A fully convolutional
neural network for automated nuclear segmentation and ensemble classification for Allred scoring
in breast pathology, Applied Soft Computing. 103, 107136. (2021).
doi:10.1016/j.asoc.2021.107136
[22] A. Lagree, M. Mohebpour, N. Meti, K. Saednia, F. I. Lu, E. Slodkowska, W. T. Tran, A review
and comparison of breast tumor cell nuclei segmentation performances using deep convolutional
neural networks, Scientific Reports. 11(
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) (2021) 1–11. doi: 10.1038/s41598-021-87496-1.
[23] C. R. Taylor, L. Rudbeck, Immunohistochemical Staining Methods, Dako, 2013, 208 p.
[24] O. Berezsky, O. Pitsun, T. Datsko, B. Derysh, I. Tsmots, V. Tesluk, Specified diagnosis of breast
cancer on the basis of immunogistochemical images analysis, in: Proceedings of the III
International Conference on Informatics &amp; Data-Driven Medicine (IDDM-2020), Lviv, Ukraine,
19-21 November 2020, pp. 129-135. ceur-ws.org/Vol-2753/short5.pdf
[25] Yu. Weng, NAS-Unet: Neural Architecture Search for Medical Image Segmentation, Special
section on advanced optical imaging for extreme environment, IEEE Access, 2019, Vol.7, pp.
44247-44257. doi: 10.1109/ACCESS.2019.2908991.
[26] Certificate for copyright to a work №75359 “Database of digital histological and cytological
images of precancerous and cancerous states of the breast «BPCI2100».” Berezsky, O., Melnyk,
G., Verbovyi S., Pitsun, O., Nykolyuk, V., Datsko, T. Registration date 14.12.2017 State Enterprise
"Ukrainian Intellectual Property Institute" (Ukrpatent) https://ukrpatent.org.
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>R.</given-names>
            <surname>Wootton</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Craig</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Patterson</surname>
          </string-name>
          , Introduction to Telemedicine, 2nd ed., CRC Press,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>O.</given-names>
            <surname>Pitsun</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.</given-names>
            <surname>Berezsky</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Dubchak</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Berezka</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Dolynyuk</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Derish</surname>
          </string-name>
          , Cytological Images Clustering of Breast Pathologies,
          <source>in: Proceedings of the IEEE International Conference «Computer Science and Information Technologies» CSIT'</source>
          <year>2020</year>
          , Zbarazh-Lviv. Ukraine,
          <volume>23</volume>
          -26
          <source>September</source>
          <year>2020</year>
          , Vol.
          <volume>1</volume>
          , pp.
          <fpage>62</fpage>
          -
          <lpage>65</lpage>
          . doi:
          <volume>10</volume>
          .1109/CSIT49958.
          <year>2020</year>
          .
          <volume>9321867</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>O.</given-names>
            <surname>Berezsky</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.</given-names>
            <surname>Pitsun</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Dolynyuk</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Dubchak</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Savka</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Melnyk</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Teslyuk</surname>
          </string-name>
          ,
          <article-title>Cytological Image Classification Using Data Reduction</article-title>
          ,
          <source>in: Proceedings of the II International Workshop</source>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>