<!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>Algorithm for detecting block-like cracks in facies of human biological fluids</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>V R Krasheninnikov</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>L I Trubnikova</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>O E Malenova</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>A S Yashina</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>M L Albutova</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>O A Marinova</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Research-and-Production Association Mars</institution>
          ,
          <addr-line>Solnechnaya Street 20, Ulyanovsk, Russia, 432022</addr-line>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Ulyanovsk State Technical University</institution>
          ,
          <addr-line>32, Severny Venetz Street, Ulyanovsk, Russia, 432027</addr-line>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Ulyanovsk State University</institution>
          ,
          <addr-line>Lev Tolstoy Street42, Ulyanovsk, Russia, 432017</addr-line>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2018</year>
      </pub-date>
      <fpage>193</fpage>
      <lpage>199</lpage>
      <abstract>
        <p>One of the most effective methods of early medical diagnosis is based on the analysis of facies (thin films) images of dried human biological fluids. The presence of special structures (markers) in facies indicates various pathologies of the organism at their earliest stages. To accelerate and reduce the cost of mass preventive medical examination of the population, it is required to create algorithms that allow markers detection on images of facies. In this paper we present an algorithm for detecting the "block-like crack" marker on images of facies of the follicular fluid obtained by puncture in vitro fertilization process. This marker indicates hypoxic and ischemic brain lesions. When developing this algorithm, first, through a visual analysis of the marker, its characteristic features were revealed. Further, methods of algorithmic detection of these features were developed. The decision about the presence of the marker was taken if there was a combination of its features. When testing this algorithm, 86% of images containing these markers were found, with 11% of false alarms.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>The development of algorithms for the automated analysis of images of the facies of biological fluids
(BF) is of interest for a number of reasons. On the one hand, the processes that occur during the drying
of drops of various BF (saliva, blood serum, cerebrospinal fluid, urine, etc.) are intensively studied,
which can provide additional information in the diagnosis of diseases and make early diagnosis in the
absence of visible symptoms, allowing treatment to begin on the early stages. On the other hand, this
method belongs to the group of non-invasive methods of investigation, which is especially important
in the diagnosis of diseases in newborns and premature infants. In addition, the acceleration achieved
and the reduction in the cost of image analysis makes it possible to conduct mass preventive surveys
of the population, helping to improve the quality of health care.</p>
      <p>
        The method of studying biological fluids (BF) by means of their dehydration and analysis of the
crystallization of contained substances has a long history. The theoretical description of the process of
evaporation of a drop was made by D.K. Maxwell [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. Bohlen investigated the facies of capillary
blood and noticed a connection between markers and gastrointestinal tumors [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. In the series of works
by V.N. Shabalin and S.N. Shatokhina (for example, [
        <xref ref-type="bibr" rid="ref3 ref4">3, 4</xref>
        ]) the features of the crystalline structures of
BF and their connections with pathologies were analyzed. The comprehensive review and
bibliography on the study of BFare given in the book by SA. Kraevoy and N.S. Coltovoy "Diagnosis
by drop of blood, crystallization of biofluids" [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. Currently, the wedge-shaped dehydration method is
used to diagnose diseases in oncology, gerontology, pediatrics, obstetrics, gynecology and other fields
of medicine. However, most of these works are aimed at identifying markers of pathologies and
improving visual perception: modernization of microscopes, addition of chemical reagents in BF,
etc.There are considerably fewer articles on computer processing of facies images [
        <xref ref-type="bibr" rid="ref10 ref11 ref12 ref6 ref7 ref8 ref9">6-12</xref>
        ]. And even
among these works, methods of finding image zones suspicious of the existence of markers are usually
developed, for example, in [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] wavelet analysis is used for this purpose. Algorithms presented in
[1321] are elaborated to detect several peculiar markers with high probability while the probability of
false alarms is low.
      </p>
      <p>In this paper, the algorithm for detecting a marker is a block-like crack. This marker indicates the
presence of structural changes in tissues, hypoxic and ischemic brain lesions.The markers on facies of
the BF are very diverse in shape, size, orientation, etc., which is the main difficulty in their algorithmic
recognition. In the present work, the following approach for the development of recognition
algorithms is used. First, a visual analysis of the markers is carried out to reveal their characteristic
features. Then the methods of algorithmic detection of these features are developed. The decision
about the presence of the marker is made if a combination of its necessary characteristic was found in
the image section.Note that only a medical worker can make the final diagnosis to the patient.
Computer analysis of the facies is only auxiliary. Its destination is to identify images on which specific
set of markers is present. Therefore, it is not necessary to find all markers of this type on the image. It
is enough to find at least one of them and inform about it. Then the operator will perform a more
thorough analysis of this image. In fact, it is required to select images which contain at least one of
considered markers. This is an indicator of the effectiveness of algorithms for detecting and
recognizing markers.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Algorithm for block structure detection</title>
      <p>To develop the algorithm for detection of the marker, its main features were first revealed. They
distinguish the marker from the basic structure of the facies and other markers.
2.1. Marker description
Most often the term "blocky" is used to denote the type of joint. The articular joint (artic trochlearis),
or ginglium, is formed by a part of the block, cylinder or truncated cone on one bone and
corresponding to the shape of a depression on the other [22]. It is schematically depicted in figure 1.
On the left is a diagram of the block-shaped joint. On the right is its simplest schema to geometric
primitives. This is more like the desired marker shape on the facies images.</p>
    </sec>
    <sec id="sec-3">
      <title>3. Description of the algorithm steps</title>
      <p>Let's consider the steps of the proposed algorithm operation on the example of image processing of the
facies. The image shown in figure 6 is taken as example.
3.1. Preparing the image for processing
When you run the program, a color image is loaded into the memory. In our case, the colors of the
marker do not carry any important information. Therefore, the whole image is converted to grayscale
(figure 6). To reduce random noise and the number of false contours, we use a median filter.
3.2. Brightnessimage segmentation
Cracks are darker than the main part of the facies. For their selection, the average brightness of the
image is calculated. All areas with brightness above the average are removed from further
consideration (figure 7).</p>
      <sec id="sec-3-1">
        <title>3.3. Extraction of contours</title>
        <p>To isolate the contours, the Canny algorithm was used [23]. The result of applying it to figure 7 is
shown in figure 8. To isolate the contours boundaries by this method, the values for the two thresholds
were experimentally selected.</p>
        <p>The minimum threshold is 100 and the maximum threshold is 180. They determine the significance
of the boundary points. If the gradient value on this fragment is below the minimum threshold, then
the boundary is considered to be insignificant. If there is no value on the border fragment above the
maximum threshold, it is deleted. It is noticeable that there are many extraneous, useless contours
(short ones). Therefore, by using per-pixel bypass of the contour, we leave only the boundaries of
sufficient length. The empirically calculated threshold is 50 pixels. The bypass is implemented using
the circuit bypass algorithm called "Beetle" [24]. The result is shown in figure 9.</p>
      </sec>
      <sec id="sec-3-2">
        <title>3.4. Search for radial cracks</title>
        <p>After isolating the contours, it is easy to find long approximately rectilinear cracks. For this, Huff's
transformations were used [25]. With its help, long enough straight lines have been found, which can
be attributed to radial cracks. It is empirically established that as x400 magnification, the length of the
radial crack exceeds 150 pixels. The found radial cracks are shown in figure 10.</p>
      </sec>
      <sec id="sec-3-3">
        <title>3.5. Search for rounded cracks</title>
        <p>The shapes of our marker vary greatly and not everyone can be an ellipse. Therefore, we use an
algorithm based on the search for arcs in an image. It is described in [26] and is based on the following
idea. A line similar to an arc must have the same direction of rotation (left or right) along its course.
And the angles between consecutive segments should be in a certain confidence interval (figure 11). If
the angle is too small, then the segments are considered to be collinear. They cannot be part of the arc.
If the angle is too large, then the lines are part of the contour of another type (square, rectangle, etc.).
In our case, the confidence interval of the angle of rotation was chosen experimentally from 6 to 60
degrees. Since the bypass goes in a specific direction, parts of the arc will be considered as vectors
(figure 12). The angle between them is determined by the relation:
 i  arccos  vi1 vi .</p>
        <p> | vi1 | | vi | 
(1)
The detected arcs are shown in figure 13.</p>
      </sec>
      <sec id="sec-3-4">
        <title>3.6. Decision-making</title>
        <p>We check the angles of intersection of the found arcs and radial cracks. If the angle found is close to a
direct angle, then a decision is made about the presence of a block-like crack in the facies image. In
figure 14, the inscription indicates the found marker.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Experimental results</title>
      <p>The purpose of image processing facies is to identify images on which there are desired markers (in
our case - block-like cracks). In this case, it is not necessary to find all markers of this kind, it suffices
to indicate that such markers (at least one) are available. Therefore, when testing the described
algorithm, it was considered that the detection occurred if at least one block-like crack was found on
the image on which they were available.</p>
      <p>The algorithm was tested on 300 images of blood serum facies of patients examined at the medical
faculty of Ulyanovsk State University. As a result of the tests, 86% of images with the desired markers
were correctly identified. To find the probability of false alarms, this algorithm processed image
facies, on which this marker is absent. It turned out that on 11% of such images false detections of
structures were made, somewhat similar to the desired marker. This suggests that in the future it is
advisable to extend the set of features of this marker for more accurate identification.</p>
    </sec>
    <sec id="sec-5">
      <title>5. Conclusion</title>
      <p>As a result of this study, an algorithm and software were developed for the automated detection of
facies images with suspicion of the presence of a "block-like crack" marker and the screening of
images without this marker. Tests showed that 86% of the images on which markers were present
were properly identified. False detections of structures were made on 11% of images without this
marker. But it found somewhat similar to the desired marker. This indicates that in the future it is
expedient to extend the set of characteristics of this marker for more accurate identification. It should
be noted that among the images from the list of false alarms there were other markers, which are some
kind of "suspicious areas". Their search is also included in the tasks of detection algorithms for
markers.</p>
      <p>Krasheninnikov V R, Yashina A S and Malenova O E 2017 Algorithms of crescent structure
detection in human biological fluid facies The International Archives of the Photogrammetry
Remote Sensing and Spatial Information Sciences 4 169-172
Zakharova G P and Shabalin V V 2014 Computer identification of distinctive features and
anomalies in samples of multicomponent solutions of biological fluids Russian
Otorhinolaryngology 6 37-42
Vorobiev V P 1940 Atlas of human anatomy (Leningrad: Medgiz) p 382
Canny J A 1986 Computational Approach to Edge Detection IEEE Transactions on Pattern
Analysis and Machine Intelligence 6 679-698
Potapov N N and Tupikov P A 2007 Methods for selecting contours in images 8th international
conference Image recognition and image analysis: new information technologies 105-108
Ballard D H 1981 Generalizing the Hough Transform to direct arbitrary shapes Pattern
Recognition 13 111-122
Akinlar C and Topal C 2013 ED Circles: A real-time circle detector with a false detection
control Pattern Recognition 46 725-740</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>Maxwell J C 1890</surname>
          </string-name>
          <article-title>The Scientific Papers of James Clerk</article-title>
          (Niven University Press Cambridge) p
          <fpage>211</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>Bolen H L 1942 The Blood</surname>
          </string-name>
          <article-title>Pattern as a Clue to the</article-title>
          <source>Diagnosis of Malignant Disease J Lab Clin Med</source>
          <volume>27</volume>
          <fpage>1522</fpage>
          -
          <lpage>1536</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>Shatokhinа S N and Shabalin</surname>
            <given-names>V N</given-names>
          </string-name>
          <year>2013</year>
          <article-title>Atlas of structures of human noncellular tissues in norm and pathology: Morphological structures of blood serum (Moscow-Tver: Triad</article-title>
          ) p
          <fpage>240</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>Shatokhinа S N and Shabalin</surname>
            <given-names>V N</given-names>
          </string-name>
          <year>2001</year>
          <article-title>Morphology of human biological fluids</article-title>
          (Moscow: Chrysostom) p
          <fpage>304</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <surname>Kraevoy</surname>
            <given-names>S A</given-names>
          </string-name>
          and
          <string-name>
            <surname>Koltovoy</surname>
            <given-names>N A</given-names>
          </string-name>
          <year>2016</year>
          <article-title>Diagnosis using a single drop of blood. Biofluid crystallization (Moscow-Smolensk)</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <surname>Abdumanonov</surname>
            <given-names>A A</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Botirov M T and Karabaev</surname>
            <given-names>M K</given-names>
          </string-name>
          <year>2014</year>
          <article-title>Development of computer programs and algorithms for automatic morphometry bioliquid facies New look</article-title>
          .
          <source>International Scientific Gazette 6</source>
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>Buzoverya</surname>
            <given-names>M E</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shishpor</surname>
            <given-names>I V</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sevastyanov</surname>
            <given-names>V I</given-names>
          </string-name>
          and
          <string-name>
            <surname>Perov N V 2011</surname>
          </string-name>
          <article-title>The hardware and software complex "Morfo" (Sarov: RFJC-</article-title>
          VNIIEF)
          <fpage>254</fpage>
          -
          <lpage>255</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <surname>Ilyasova</surname>
            <given-names>N Yu</given-names>
          </string-name>
          ,
          <article-title>Kupriyanov A V and Khramov A G 2012 Information technologies of image analysis in problems of medical diagnostics (Moskow : Radio and communication</article-title>
          ) p
          <fpage>424</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <surname>Lukashevich M M 2013</surname>
          </string-name>
          <article-title>Analysis of images of biological fluids Bulletin of the Fund for</article-title>
          <source>Fundamental Research</source>
          <volume>3</volume>
          <fpage>94</fpage>
          -
          <lpage>105</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>Makarevich</surname>
            <given-names>V E</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kirilenko</surname>
            <given-names>E A</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Petrashenko</surname>
            <given-names>V A</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zablotskaya</surname>
            <given-names>T U</given-names>
          </string-name>
          and
          <article-title>Bilokon Т А 2014 Methods of wedge dehydration of biological fluids Morphology 8(1</article-title>
          )
          <fpage>113</fpage>
          -
          <lpage>117</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <surname>Petrov</surname>
            <given-names>V O</given-names>
          </string-name>
          <year>2009</year>
          <article-title>Automation of the analysis of raster images of a solid phase of a biological fluid of biomedical preparations (Volgograd: VSTU) 150 p</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <surname>Pogodin</surname>
            <given-names>S V</given-names>
          </string-name>
          <year>2010</year>
          <article-title>Automatic diagnosis on the analysis of medical images Collection of scientific works of the 1st International teleconference "Problems and perspectives of modern medicinebiology and ecology 1 71</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <surname>Krasheninnikov</surname>
            <given-names>V R</given-names>
          </string-name>
          and
          <article-title>Kopylova A S 2011 Identification of Pectinate Structures in Images of Blood Serum Facia Pattern Recognition</article-title>
          and
          <source>Image Analysis</source>
          <volume>21</volume>
          (
          <issue>3</issue>
          )
          <fpage>508</fpage>
          -
          <lpage>510</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <surname>Krasheninnikov</surname>
            <given-names>V R</given-names>
          </string-name>
          and
          <article-title>Kopylova A S 2012 Algorithms for automated processing images blood serum facies Pattern Recognition</article-title>
          and
          <source>Image Analysis</source>
          <volume>22</volume>
          (
          <issue>4</issue>
          )
          <fpage>583</fpage>
          -
          <lpage>592</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <surname>Krasheninnikov</surname>
            <given-names>V R</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Trubnikova</surname>
            <given-names>L I</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Albutova</surname>
            <given-names>M L</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kopylova A S and Tarasova</surname>
            <given-names>A V</given-names>
          </string-name>
          <year>2013</year>
          <article-title>Algorithm for detecting language structures on images of blood serum Ulyanovsk medicobiological journal</article-title>
          <volume>4</volume>
          <fpage>70</fpage>
          -
          <lpage>73</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <surname>Krasheninnikov</surname>
            <given-names>V R</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Trubnikova</surname>
            <given-names>L I</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Albutova</surname>
            <given-names>M L</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kopylova A S and Tarasova</surname>
            <given-names>A V</given-names>
          </string-name>
          <year>2013</year>
          <article-title>Detection of sickle-shaped cracks in images of facies of cervical mucus of a woman Ulyanovsk medico-biological journal</article-title>
          <volume>4</volume>
          <fpage>81</fpage>
          -
          <lpage>85</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <surname>KrasheninnikovV</surname>
            <given-names>R</given-names>
          </string-name>
          ,Trubnikova
          <string-name>
            <given-names>L I</given-names>
            ,
            <surname>Albutova M L and Yashina</surname>
          </string-name>
          <string-name>
            <surname>A S</surname>
          </string-name>
          <year>2015</year>
          <article-title>Algorithm for detecting a marker of gallbladder disease on images of blood serum Ulyanovsk Medical</article-title>
          and
          <source>Biological Journal</source>
          <volume>4</volume>
          <fpage>104</fpage>
          -
          <lpage>110</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <surname>Krasheninnikov</surname>
            <given-names>V R</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yashina</surname>
            <given-names>A S</given-names>
          </string-name>
          and
          <string-name>
            <surname>Malenova O E 2017</surname>
          </string-name>
          <article-title>Markers detection on facies of human biological fluids</article-title>
          <source>Procedia Engineering</source>
          <volume>201</volume>
          <fpage>312</fpage>
          -
          <lpage>321</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <surname>Krasheninnikov</surname>
            <given-names>V R</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yashina</surname>
            <given-names>A S</given-names>
          </string-name>
          and
          <string-name>
            <surname>Malenova O E 2017</surname>
          </string-name>
          <article-title>Algorithms for detection of markers on the facies of human biological fluids Proceedings of the III International Conference and Youth School "Information Technologies and Nanotechnologies" (ITNT-</article-title>
          <year>2017</year>
          )
          <fpage>655</fpage>
          -
          <lpage>662</lpage>
          [20] [22] [23] [25]
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>