<!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>The reliability of pattern-match searching for the fragment on image using set of pseudo-gradient procedures</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>L.Sh. Biktimirov</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>A.G. Tashlinskii</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Ulyanovsk State Technical University</institution>
          ,
          <addr-line>ul. Severnyi Venets 32, 432027, Ulyanovsk</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2017</year>
      </pub-date>
      <fpage>28</fpage>
      <lpage>31</lpage>
      <abstract>
        <p>The effectiveness of pattern-match searching for the fragment on image using set of pseudo-gradient procedures covering all initial image by their workplaces is studied. Procedures control is managed to reduce computational expenses and based on analysis of penalty function and giving priority of making next iteration to procedure that has minimum value of penalty. It is considered that required fragment belongs to the domain that has a procedure which is reached prescribed limit of iterations. If it is prior unknown if there is any required fragments on the initial image, the hypothesis of their absence should be tested. If the hypothesis is not confirmed than the scan for domains with fragments should be performed. Concerning there are fragments on the image the missing probabilities are found using penalty function and limit of iterations. Herein, the proposal is considered for single and multiple required fragments.</p>
      </abstract>
      <kwd-group>
        <kwd>digital image</kwd>
        <kwd>fragment searching</kwd>
        <kwd>fragment missing</kwd>
        <kwd>pseudo-gradient procedure</kwd>
        <kwd>probability</kwd>
        <kwd>first and second type errors</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        contain some kind of testting the hypothesis of absence of fragments. During testing process there can be first P(
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) and second
P(
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) type errors. So, if prior probability of location of the fragment among considering domains, is equal to PF than decision
about presence of the fragment is accepted with probability
and about absence – with probability
where PER is relative probability of wrong fragment choice in case it really is on the image.
      </p>
      <p>Let us consider the probability PER of wrong choice of image domain with fragment in case it is on the image. Also the
probability of making an error selecting k &gt; 1 domains when there are k identical fragments on the image, for example, images
of equal objects (biological or technical) will be considered. Taking into account differences in search processes for single or
multiple fragments these processes would be investigated separately.</p>
      <p>
        PF 1  P(
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) +1  PF P(
        <xref ref-type="bibr" rid="ref1">1</xref>
        )
PF P(
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) + 1  PF 1  P(
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) 
      </p>
      <p>
        P = PF PER + 1  PF P(
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) ,
(
        <xref ref-type="bibr" rid="ref1">1</xref>
        )
      </p>
      <p>Image Processing, Geoinformation Technology and Information Security / L.Sh. Biktimirov, A.G. Tashlinskii</p>
    </sec>
    <sec id="sec-2">
      <title>2. Error probability in case of searching for a single fragment</title>
      <p>Let image (or just part of it) where should be found the fragment is divided to N domains and there is just one of them to
contain required fragment. Let's find error probability of that domain identification PER . Assume that goal function and PF of
PGP are pre-defined. Let us call « x+ » value of PF X for the procedure in domain with fragment and « x » in domain without
fragment.</p>
      <p>If there are only two domains then domain without fragment will be chosen if its procedure will be first to make T
iterations, i.e. xТ &lt; x+ , where xТ is equal to PF value on T th iteration. Here, second procedure may perform from 1 to
T  1 iterations. Then, if value of PF on T th iteration is equal to x0 , to assume that choice is wrong it should be two
conditions simultaneously: PF of the procedure in domain with required fragment exceed x0 and in domain without fragment
PF value should be equal to x0 . Proposing that these events are independent the probability of wrong choice will equal to:
 x0
PER =  wxТ+ dx  wxТ dx .</p>
      <p>x0 0</p>
      <p>But value of x0 is prior unknown and wrong choice probability generally is equal to probability that on T th iteration
xТ+ &gt; xТ</p>
      <p> 
PER =  wxТ 1 F xТ+dx =  wxТ+F xТ dx ,</p>
      <p>0 0
x
where F xТ  =  wxТ dx is integrated distribution function.</p>
      <p>0</p>
      <p>It should be noticed that densities of distribution
parameters [14] estimated by procedure and in this context are relative. Proposing that initial parameters' approximation for
procedure in fragment's domain gets worst convergence in work range of procedure PER will be the upper limit of wrong
fragment choice's probability.</p>
      <p>
        If number of separated domains is equal to N , than assuming independence of procedure's PF (taking into account (
        <xref ref-type="bibr" rid="ref2">2</xref>
        )):

PER = 0 wxТ+ 1  1  F xТ N 1 dx . (
        <xref ref-type="bibr" rid="ref3">3</xref>
        )
      </p>
      <p>wx+  and wx  are depending on initial approximation of search</p>
      <p>The assumed restriction about PF independence is not strict cause samples from domains that don't have a fragment have
weak correlation with samples from fragment.</p>
    </sec>
    <sec id="sec-3">
      <title>3. Error probability in case of searching for multiple fragments</title>
      <p>In previous case the required domain was assumed domain with procedure achieved limit of T iteration first of all others.
Here, to provide low error probability of fragment's search with high signal/noise ratio it is necessary to specify large number of
iterations. It is possible to decrease error probability with low T choosing several domains where procedures made limit of the
iterations. Then probability of occurrence of domain with fragment among chosen domains increases. But it is not true for
probability of right choice of the fragment.</p>
      <p>There are criteria allowing to identify the fragment with low error probability, such as above mentioned maximum of
correlation index that can be calculated on whole image, or extremes of information-theoretical measures of images similarity
[15]. But using such criteria causes large computational expenses. Moreover, if image is divided into a lot of search domains and
computing resources are strictly limited using of these criteria is not reasonable. But for small number of domains (for example,
two) using these criteria is acceptable. On this basis, the probability of location the fragment among n domains where
corresponding procedures firstly made prescribed limit of iterations.</p>
      <p>If local samples to estimate all procedure’s goal function value are independent and suppose best value of PF has domain
without fragment a random event, than task may be reduced to Bernoulli scheme. So for probability PE(nR) of missing domain
with fragment during choice n domains with procedures first reached prescribed limit of iterations using binomial law it can be
written:</p>
      <p> N 1
PE(nR) =  wxТ+   CiN 1F xТ 1  F xТ N i1dx ,</p>
      <p>
        0 i=n
Where C N 1 is a number of combinations from N  1 of i elements. It should be noticed that cause number of
i
investigating domains in general is less than general number of domains of separated image ( n &lt;&lt; N ) so it is reasonable to use
next expression:
(
        <xref ref-type="bibr" rid="ref2">2</xref>
        )
(
        <xref ref-type="bibr" rid="ref4">4</xref>
        )
Image Processing, Geoinformation Technology and Information Security / L.Sh. Biktimirov, A.G. Tashlinskii
      </p>
      <p> n1
PE(nR) =  wxТ+ 1   C N 1F xТ 1 F x N i1 </p>
      <p>0  i=0 i Т dx .
iteration when choosing one(solid-line curve) and two (dashed-line curve) domains. Calculation carried out for relay-type PGP
with working range requiring to split two different-size images on 36 (curve 1 and 2) and 625 domains (curve 3 and 4). Initial
parameters of mismatch were equal to 6 steps of parallel shift and 20 degrees of turn.
q 1
was computed as a ratio of incomplete Bq(N  n,n) =  x N n11 xn1dx and complete B(N  n, n)=  xN n11 xn1dx
0 0
beta-functions [16], where q = 1  FPT ψ  . Hence while representing complete beta-function through gamma-function [17]
will get</p>
      <p>BN  n,n =
Γ N  nΓ n
Γ N </p>
      <p>,
PN-10  i  n  1=</p>
      <p>q
Γ N   x N n11  xn1dx
0
Γ N  nΓ n</p>
      <p>It is obvious from graphs that if n = 2 probability PE(nR) is essentially low. For example, if N = 36 and T =1000 probability
of error in choice depending to situation n = 1 is decreasing by 5.5 times, and if T = 2000 – by 9 times. In this case, of course,
computational expenses are increasing too.</p>
    </sec>
    <sec id="sec-4">
      <title>4. Error probability in case of searching for several equal fragments</title>
      <p>Let’s consider probability of missing at least one of domains with fragments location during search position of k &gt;1 similar
fragments. In this case it should be at a minimum k procedures to make limit number of T iterations. Same as before, it will be
considered that presence of the fragments is known in advance.</p>
      <p>
        In particular, in case n = k similar to (
        <xref ref-type="bibr" rid="ref3">3</xref>
        ) probability of all k procedures first made T iterations will correspond to domains
containing fragments:
      </p>
      <p>
P(k) = 1  PE(kR) = 1   wk xТ+ 1  1  F x N 1 dx ,</p>
      <p>0 Т 
where wk x  means probability density function for maximum of k PF’s values of procedures from domains with fragments.</p>
      <p>Т</p>
      <p>
        To decrease probability of missing fragments the number of domains to choose can be more than the number of required
fragments ( n &gt; k ). In this case probability PERjk  of missing j domains with fragments from k considering ratio (
        <xref ref-type="bibr" rid="ref4">4</xref>
        ) and
uniqueness condition for each domain is equal to:
      </p>
      <p>PERjK  = wk xТ+  1  nCiN k F xТ+ 1  F xТ N k i dx ,</p>
      <p>0  i=0 
1  F xТ+  j 1 F k  j 1xТ+   j  k Fx+  is probability density function of j th ranged by maximum PF</p>
      <p>Т
k procedures in domains with fragments i = 1, k .</p>
    </sec>
    <sec id="sec-5">
      <title>5. Conclusion</title>
      <p>One of the class of the algorithms to search fragment on the image by template is based on the PGP. But these procedures
have relatively small working range of search that makes it necessary to split the image into array of domains each of them i s
containing own procedure. Here is a task about finding domains with required fragments. If all search procedures are working in
same conditions and will make equal number of iterations than it require huge computational expenses. To reduce these
expenses the algorithm of managing ensemble of PGP [12] can be used. In this case on the each step priority of making next
iteration is giving to procedure that has best value of some penalty function. Domains with procedures made prescribed limit of
iterations first are chosen as a required ones (probably containing fragments).</p>
      <p>
        If it is prior unknown if there are required fragments on the image it is necessary to test the hypothesis about absence of
fragments with prescribed error probabilities of first and second types. This issue and statistical criteria of hypothesis validity
are considered in papers [13, 18]. If the hypothesis is rejected then choosing domains of fragments’ location carried out. In this
case error probability of choosing domains of fragment’s location is a conditional probability and with prescribed second -type
error probability in general determines by expression (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ).
      </p>
      <p>
        Probability of wrong choice assuming there are required fragments on the initial image depends on their count. If there is
only one fragment and procedure then probability of wrong choice of domain with fragment determines by expression (
        <xref ref-type="bibr" rid="ref3">3</xref>
        ). To
reduce error of right domain it can be chosen several domains instead one (Supposing using additional criteria to choose fina l
domain among selected). Here, probability of presence of required domain among selected determines by expression (
        <xref ref-type="bibr" rid="ref5">5</xref>
        ).
      </p>
      <p>
        If required fragments is more than one and each of them has corresponding one search procedure then probability of case
when all procedures of domains with objects will make limited number of iterations first determines by expression (
        <xref ref-type="bibr" rid="ref6">6</xref>
        ). If
number of choosing domains is greater than number of required fragments then probability of missing prescribed count of
domains with fragments determines by expression (
        <xref ref-type="bibr" rid="ref7">7</xref>
        ).
      </p>
    </sec>
    <sec id="sec-6">
      <title>Acknowledgements References</title>
      <p>The study was carried out with financial support of the RFBR grant 16-01-00276.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>Ipatov</surname>
            <given-names>YuА</given-names>
          </string-name>
          , Krevetsky АV.
          <article-title>Modeling methods of detection and spatial localization of group point objects</article-title>
          .
          <source>Science. Technology. Production</source>
          <year>2014</year>
          ;
          <volume>2</volume>
          :
          <fpage>7</fpage>
          -
          <lpage>11</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>Gerasimova</surname>
            <given-names>NI</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Verkhoturova</surname>
            <given-names>AE</given-names>
          </string-name>
          .
          <article-title>Search of the image fragment with application of Kohonen neural network. Information technologies in science, management, social sphere and medicine</article-title>
          .
          <source>Tomsk: TPU</source>
          <year>2014</year>
          ;
          <volume>1</volume>
          :
          <fpage>68</fpage>
          -
          <lpage>70</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>Nikolenko</surname>
            <given-names>AA</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Babilunga</surname>
            <given-names>OYu</given-names>
          </string-name>
          , Zaykovskij VN.
          <article-title>Localization of specific image fragments based on two-dimensional wavelet filters</article-title>
          .
          <source>Herald of the National Technical University "KhPI"</source>
          .
          <source>Subject issue: Information Science and Modelling. Kharkov: NTU KhPI</source>
          <year>2011</year>
          ;
          <volume>36</volume>
          :
          <fpage>122</fpage>
          -
          <lpage>127</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>Chambon</surname>
            <given-names>S</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Crouzil</surname>
            <given-names>A</given-names>
          </string-name>
          .
          <article-title>Dense matching using correlation: new measures that are robust near occlusions</article-title>
          .
          <source>British Machine Vision Conference</source>
          , Norwich,
          <source>Great Britain</source>
          <year>2003</year>
          ;
          <volume>1</volume>
          :
          <fpage>143</fpage>
          -
          <lpage>152</lpage>
          . DOI:
          <volume>10</volume>
          .5244/C.17.15.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>Tsypkin</given-names>
            <surname>JZ</surname>
          </string-name>
          .
          <source>Information theory of identification</source>
          . Moscow: Nauka; Fizmatlit,
          <year>1995</year>
          ; 336 p.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <surname>Zitova</surname>
            <given-names>B</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Flusser</surname>
            <given-names>J</given-names>
          </string-name>
          .
          <article-title>Image registration methods: a survey</article-title>
          .
          <source>Image and vision computing</source>
          <year>2003</year>
          ;
          <volume>21</volume>
          (
          <issue>11</issue>
          ):
          <fpage>977</fpage>
          -
          <lpage>1000</lpage>
          . DOI:
          <volume>10</volume>
          .1016/S0262-
          <volume>8856</volume>
          (
          <issue>03</issue>
          )
          <fpage>00137</fpage>
          -
          <lpage>9</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>Tashlinskii</given-names>
            <surname>AG</surname>
          </string-name>
          .
          <article-title>Estimation of parameters of spatial defromations of image sequences</article-title>
          . Ulyanovsk, UlSTU,
          <year>2000</year>
          ; 131 p.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <surname>Szeliski</surname>
            <given-names>R.</given-names>
          </string-name>
          <article-title>Image alignment and stitching: A tutorial</article-title>
          .
          <source>Foundations and Trends in Computer Graphics and Vision</source>
          <year>2006</year>
          ;
          <volume>2</volume>
          (
          <issue>1</issue>
          ):
          <fpage>1</fpage>
          -
          <lpage>104</lpage>
          . DOI:
          <volume>10</volume>
          .1561/0600000009.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>Tashlinskii</given-names>
            <surname>AG</surname>
          </string-name>
          .
          <article-title>Pseudo-gradient Estimation of Digital Images Interframe Geometrical De-formations</article-title>
          .
          <source>Vision Systems: Segmentation &amp; Pattern Recognition. Vienna, Austria: I Tech Education and Publishing</source>
          <year>2007</year>
          :
          <fpage>465</fpage>
          -
          <lpage>494</lpage>
          . DOI:
          <volume>10</volume>
          .5772/4975.
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>Pankova</surname>
            <given-names>TL</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Reznik</surname>
            <given-names>AL</given-names>
          </string-name>
          .
          <article-title>The effectiveness of algorithms for precision alignment of digital images</article-title>
          .
          <source>Optoelectronics, Instrumentation and Data Processing (Avtometriya)</source>
          <year>1991</year>
          ;
          <volume>5</volume>
          :
          <fpage>39</fpage>
          -
          <lpage>43</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <surname>Tashlinskii</surname>
            <given-names>AG</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Muratkhanov</surname>
            <given-names>DS</given-names>
          </string-name>
          .
          <article-title>Structural optimization of algorithms of parameter estimationof geometric image deforming</article-title>
          .
          <source>The physics and technical applications of wave processes</source>
          <year>2001</year>
          :
          <fpage>102</fpage>
          -
          <lpage>110</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <surname>Tashlinskii</surname>
            <given-names>AG</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Muratkhanov</surname>
            <given-names>DS</given-names>
          </string-name>
          .
          <article-title>Structural Optimization of pseudo-gradient Algorithms for Measuring Interframe Image Deformations</article-title>
          .
          <source>Pattern Recognition and Image Analysis</source>
          <year>2003</year>
          ;
          <volume>13</volume>
          (
          <issue>1</issue>
          ):
          <fpage>177</fpage>
          -
          <lpage>178</lpage>
          . DOI:
          <volume>10</volume>
          .1134/S1054661806020088.
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <surname>Biktimirov</surname>
            <given-names>LSh</given-names>
          </string-name>
          , Tashlinskii AG.
          <article-title>Estimating the probability of absence of target fragment on image for algorithm with control of multiple search procedures</article-title>
          .
          <source>Radioengineering</source>
          <year>2016</year>
          ;
          <volume>9</volume>
          :
          <fpage>6</fpage>
          -
          <lpage>10</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <surname>Tashlinskii</surname>
            <given-names>AG</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kaveev</surname>
            <given-names>IN</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Voronov</surname>
            <given-names>SV</given-names>
          </string-name>
          .
          <article-title>Image registration method in conditions of intensive noise</article-title>
          .
          <source>Radioengineering</source>
          <year>2012</year>
          ;
          <volume>9</volume>
          :
          <fpage>45</fpage>
          -
          <lpage>49</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <surname>Voronov</surname>
            <given-names>SV</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tashlinskii</surname>
            <given-names>AG</given-names>
          </string-name>
          .
          <article-title>Efficiency analysis of information theoretic measures in image registration</article-title>
          .
          <source>Pattern recognition and image analysis</source>
          <year>2016</year>
          ;
          <volume>26</volume>
          (
          <issue>3</issue>
          ):
          <fpage>502</fpage>
          -
          <lpage>505</lpage>
          . DOI:
          <volume>10</volume>
          .1134/S1054661816030226.
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <surname>Levin</surname>
            <given-names>BR</given-names>
          </string-name>
          .
          <article-title>Theoretical bases of statistical radio engineering</article-title>
          . M.: Radio and communication,
          <year>1989</year>
          ; 656 p.
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>Koroljuk</given-names>
            <surname>VS</surname>
          </string-name>
          .
          <source>A Handbook on Probability Theory and Mathematical Statistics. M.: Science</source>
          ,
          <year>1985</year>
          ; 640 p.
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <surname>Biktimirov</surname>
            <given-names>LSh</given-names>
          </string-name>
          , Tashlinskii AG.
          <article-title>Criteria of testing the hypothesis of absence of target fragment on image. Modern problems of design, production and operation of radio engineering systems</article-title>
          .
          <source>Ulyanovsk: UlSTU</source>
          ,
          <year>2016</year>
          ;
          <fpage>137</fpage>
          -
          <lpage>140</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>