<?xml version="1.0" encoding="UTF-8"?>
<article article-type="research-article" dtd-version="1.3" xml:lang="ru" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://metafora.rcsi.science/xsd_files/journal3.xsd">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">moitvivt</journal-id>
      <journal-title-group>
        <journal-title xml:lang="ru">Моделирование, оптимизация и информационные технологии</journal-title>
        <trans-title-group xml:lang="en">
          <trans-title>Modeling, Optimization and Information Technology</trans-title>
        </trans-title-group>
      </journal-title-group>
      <issn pub-type="epub">2310-6018</issn>
      <publisher>
        <publisher-name>Издательство</publisher-name>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.26102/2310-6018/2019.25.2.011</article-id>
      <article-id pub-id-type="custom" custom-type="elpub">603</article-id>
      <title-group>
        <article-title xml:lang="ru">ВОЗМОЖНОСТИ РАСПАРАЛЛЕЛИВАНИЯ ОБРАБОТКИ ИЗОБРАЖЕНИЙ С ПОМОЩЬЮ OPENCV И OPENMP</article-title>
        <trans-title-group xml:lang="en">
          <trans-title>THE POSSIBILITY OF PARALLELIZATION OF IMAGE PROCESSING USING OPENCV AND OPENMP</trans-title>
        </trans-title-group>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author" corresp="yes">
          <name-alternatives>
            <name name-style="eastern" xml:lang="ru">
              <surname>Берников</surname>
              <given-names>Владислав Валерьевич</given-names>
            </name>
            <name name-style="western" xml:lang="en">
              <surname>Bernikov</surname>
              <given-names>Vladislav Valeryevich</given-names>
            </name>
          </name-alternatives>
          <email>vladislavbernikov@gmail.com</email>
          <xref ref-type="aff">aff-1</xref>
        </contrib>
        <contrib contrib-type="author" corresp="yes">
          <name-alternatives>
            <name name-style="eastern" xml:lang="ru">
              <surname>Преображенский</surname>
              <given-names>Андрей Петрович</given-names>
            </name>
            <name name-style="western" xml:lang="en">
              <surname>Preobrazhensky</surname>
              <given-names>Andrei Petrovich</given-names>
            </name>
          </name-alternatives>
          <email>app@vivt.ru</email>
          <xref ref-type="aff">aff-2</xref>
        </contrib>
        <contrib contrib-type="author" corresp="yes">
          <name-alternatives>
            <name name-style="eastern" xml:lang="ru">
              <surname>Чопоров</surname>
              <given-names>Олег Николаевич</given-names>
            </name>
            <name name-style="western" xml:lang="en">
              <surname>Choporov</surname>
              <given-names>Oleg Nikolaevich</given-names>
            </name>
          </name-alternatives>
          <email>choporov_oleg@mail.ru</email>
          <xref ref-type="aff">aff-3</xref>
        </contrib>
      </contrib-group>
      <aff-alternatives id="aff-1">
        <aff xml:lang="ru">Воронежский институт высоких технологий</aff>
        <aff xml:lang="en">Voronezh Institute of High Technologies</aff>
      </aff-alternatives>
      <aff-alternatives id="aff-2">
        <aff xml:lang="ru">Воронежский институт высоких технологий</aff>
        <aff xml:lang="en">Voronezh Institute of High Technologies</aff>
      </aff-alternatives>
      <aff-alternatives id="aff-3">
        <aff xml:lang="ru">Воронежский государственный технический университет</aff>
        <aff xml:lang="en">Voronezh State Technical University</aff>
      </aff-alternatives>
      <pub-date pub-type="epub">
        <day>01</day>
        <month>01</month>
        <year>2026</year>
      </pub-date>
      <volume>1</volume>
      <issue>1</issue>
      <elocation-id>10.26102/2310-6018/2019.25.2.011</elocation-id>
      <permissions>
        <copyright-statement>Copyright © Авторы, 2026</copyright-statement>
        <copyright-year>2026</copyright-year>
        <license license-type="creative-commons-attribution" xlink:href="https://creativecommons.org/licenses/by/4.0/">
          <license-p>This work is licensed under a Creative Commons Attribution 4.0 International License</license-p>
        </license>
      </permissions>
      <self-uri xlink:href="https://moitvivt.ru/ru/journal/article?id=603"/>
      <abstract xml:lang="ru">
        <p>Актуальность исследования обусловлена необходимостью решения задач,&#13;
связанных с обработкой изображений в различных технических приложениях.&#13;
Рассмотрено несколько подходов: на основе обычного доступа к пикселям изображения,&#13;
когда фактически осуществляется обход всех значений массива по очереди, доступ к&#13;
пикселям осуществляется при помощи арифметических операций над указателями,&#13;
пиксели при этом располагаются внутри одного непрерывного блока памяти&#13;
последовательным образом, и, на основе предложенного подхода, связанного с&#13;
распараллеливанием вычислений, использованием многопоточности. На основе&#13;
эмпирических исследований была показана возможность ускорения вычислений на&#13;
основе предложенного метода в несколько раз. Рассмотрен блочный алгоритм&#13;
бинаризации, когда бинарные блоки формируют полное бинарное изображение. В&#13;
рамках данного алгоритм проведено распараллеливание вычислений. При реализации&#13;
алгоритма использовался язык С++ и библиотеки OpenCV и OpenMP. На основе&#13;
эмпирических исследований в Таблицах и на графиках показано, что за счет&#13;
распараллеливания даже при полной загрузке ядра время обработки изображения было&#13;
уменьшено почти в 2 раза, что подтверждает возможности применения предлагаемого&#13;
алгоритма.</p>
      </abstract>
      <trans-abstract xml:lang="en">
        <p>The relevance of the study is due to the need to solve problems related to image&#13;
processing in various technical applications. Several approaches are considered: on the basis&#13;
of the usual access to image pixels, when in fact all values of the array are bypassed in turn,&#13;
access to pixels is carried out using arithmetic operations on pointers, pixels are located within&#13;
a single continuous memory block in a sequential manner, and, on the basis of the proposed&#13;
approach associated with parallelization of calculations, using multithreading. On the basis of&#13;
empirical studies, the possibility of accelerating the calculations based on the proposed method&#13;
several times was shown. A block binarization algorithm is considered when binary blocks form&#13;
a complete binary image. Within this algorithm parallelization of calculations is carried out. When implementing the algorithm, the C++ language and OpenCV and OpenMP libraries were&#13;
used. On the basis of empirical studies in tables and graphs, it is shown that due to&#13;
parallelization, even at full load of the kernel, the image processing time was reduced by almost&#13;
2 times, which confirms the possibility of using the proposed algorithm.</p>
      </trans-abstract>
      <kwd-group xml:lang="ru">
        <kwd>openmp</kwd>
        <kwd>opencv</kwd>
        <kwd>распараллеливание вычислений</kwd>
        <kwd>обработка изображений</kwd>
      </kwd-group>
      <kwd-group xml:lang="en">
        <kwd>openmp</kwd>
        <kwd>opencv</kwd>
        <kwd>parallel computing</kwd>
        <kwd>image processing</kwd>
      </kwd-group>
      <funding-group>
        <funding-statement xml:lang="ru">Исследование выполнено без спонсорской поддержки.</funding-statement>
        <funding-statement xml:lang="en">The study was performed without external funding.</funding-statement>
      </funding-group>
    </article-meta>
  </front>
  <back>
    <ref-list>
      <title>References</title>
      <ref id="cit1">
        <label>1</label>
        <mixed-citation xml:lang="ru">Бинаризация черно-белых изображений: состяние и перспективы&#13;
[Электронный ресурс] / А. Федоров. Режим доступа: http://itclaim.ru/Library/Books/ITS/wwwbook/ist4b/its4/fyodorov.htm&#13;
</mixed-citation>
      </ref>
      <ref id="cit2">
        <label>2</label>
        <mixed-citation xml:lang="ru">Яковлева Е. С., Макаров A. А. О свойствах блочного алгоритма&#13;
бинаризации цифровых изображений / Е. С.Яковлева, A. А Макаров //&#13;
Компьютерные инструменты в образовании. –– 2015. –– № 4. –– С. 26–36</mixed-citation>
      </ref>
      <ref id="cit3">
        <label>3</label>
        <mixed-citation xml:lang="ru">Dawson-Howe K. A Practical Introduction to Computer Vision with OpenCV.&#13;
Wiley-IS&amp;T Series in Imaging Science and Technology. –– 1 edition. ––&#13;
Wiley, 2014.</mixed-citation>
      </ref>
      <ref id="cit4">
        <label>4</label>
        <mixed-citation xml:lang="ru">Гонзалес Р., Вудс Р. Цифровая обработка изображений. / Р.Гонзалес,&#13;
Р.Вудс // М.: Техносфера, 2006. – 1072 с.&#13;
</mixed-citation>
      </ref>
      <ref id="cit5">
        <label>5</label>
        <mixed-citation xml:lang="ru">GRASS GIS [Электронный ресурс]: Home. Режим доступа:&#13;
https://grass.osgeo.org/ </mixed-citation>
      </ref>
      <ref id="cit6">
        <label>6</label>
        <mixed-citation xml:lang="ru">A Digital Image Mapping System [Электронный ресурс]: A software and&#13;
hardware solution for the various mapping tasks is being developed in a joint&#13;
project of research institutes and Teragon Context AB. Режим доступа:&#13;
http://www.isprs.org/proceedings/XXVII/congress/part2/380_XXVII-part2-&#13;
sup.pdf</mixed-citation>
      </ref>
      <ref id="cit7">
        <label>7</label>
        <mixed-citation xml:lang="ru">Juhasz Z. An analytical method for predicting the performance of parallel&#13;
image processing operations // The Journal of supercomputing. – 1998. –&#13;
Vol. 12. – P. 157–174.&#13;
</mixed-citation>
      </ref>
      <ref id="cit8">
        <label>8</label>
        <mixed-citation xml:lang="ru">О свойствах блочного алгоритма бинаризации цифровых [Электронный&#13;
ресурс] / Яковлева Е. С., Макаров A. А. Режим доступа:&#13;
www.ipo.spb.ru/journal/content/1784/О%20свойствах%20блочного%20алг&#13;
оритма%20бинаризации%20цифровых%20изображений..pdf</mixed-citation>
      </ref>
      <ref id="cit9">
        <label>9</label>
        <mixed-citation xml:lang="ru">Manisha Chate Object Detection and tracking in Video Sequences / Manisha&#13;
Chate, S.Amudha,Vinaya Gohokar // ACEEE Int. J. on Signal &amp; Image&#13;
Processing, Vol. 03, No. 01, Jan 2012.</mixed-citation>
      </ref>
      <ref id="cit10">
        <label>10</label>
        <mixed-citation xml:lang="ru">Anaswara S Mohan Video Image Processing for Moving Object Detection and&#13;
Segmentation using Background Subtraction / Anaswara S Mohan, R.Resmi //&#13;
IEEE International Conference on Computational Systems and&#13;
Communications (ICCSC), Vol. 01, no. 01, pp.288-292, 17-18 Dec 2014.</mixed-citation>
      </ref>
      <ref id="cit11">
        <label>11</label>
        <mixed-citation xml:lang="ru">. Weiming Hu. A Survey on Visual Surveillance of Object Motion and&#13;
Behaviors / Weiming Hu, Tieniu Tan,Liang Wang, and Steve Maybank // IEEE&#13;
Transactions on systems, man, and cyberneticsapplications and reviews, vol.&#13;
34, no. 3, pp. 334- 352, august 2004</mixed-citation>
      </ref>
      <ref id="cit12">
        <label>12</label>
        <mixed-citation xml:lang="ru">Asim R. Aldhaheri. Detection and Classification of a Moving Object in a&#13;
Video Stream / Asim R. Aldhaheri and Eran A. Edirisinghe // In Proc. of the&#13;
Intl. Conf. on Advances in Computing and Information Technology-ACIT,&#13;
2014.</mixed-citation>
      </ref>
      <ref id="cit13">
        <label>13</label>
        <mixed-citation xml:lang="ru">Singla M. Motion Detection Based on Frame Difference Method International&#13;
/ M. Singla // Journal of Information &amp; Computation Technology. 2014. Vol.&#13;
4. No. 15. P. 1559–1565.</mixed-citation>
      </ref>
      <ref id="cit14">
        <label>14</label>
        <mixed-citation xml:lang="ru">Zivkovic Z. Improved adaptive gaussian mixture model for background&#13;
subtraction / Z. Zivkovic // IEEE Int. Conf. Pattern Recognition. 2004. Vol. 2.&#13;
P. 28–31</mixed-citation>
      </ref>
      <ref id="cit15">
        <label>15</label>
        <mixed-citation xml:lang="ru">Bouwmans T. Background Modeling using Mixture of Gaussians for&#13;
Foreground Detection – A Survey / T. Bouwmans, F. El Baf, B.Vachon //&#13;
Recent Patents on Computer Science. 2008. Vol. 1. P. 219– 237.</mixed-citation>
      </ref>
      <ref id="cit16">
        <label>16</label>
        <mixed-citation xml:lang="ru">Quinn Michael J. Parallel Programming in C with MPI and OpenMP / J. Quinn&#13;
Michael // McGraw-Hill Inc, 2004.&#13;
</mixed-citation>
      </ref>
      <ref id="cit17">
        <label>17</label>
        <mixed-citation xml:lang="ru">Learning OpenCV [Электронный ресурс]: Learning OpenCV by Gary&#13;
Bradski and Adrian Kaehler. Режим доступа: https://www.bogotobogo.com/&#13;
cplusplus/files/OReilly%20Learning%20OpenCV.pdf</mixed-citation>
      </ref>
      <ref id="cit18">
        <label>18</label>
        <mixed-citation xml:lang="ru">Howse J. OpenCV: Computer Vision Projects with Python / J. Howse, P.Joshi,&#13;
M.Beyeler // United Kingdom, Packt Publishing, 2016. 570 p.&#13;
</mixed-citation>
      </ref>
      <ref id="cit19">
        <label>19</label>
        <mixed-citation xml:lang="ru">Laganiere R. OpenCV 3 Computer Vision Application Programming&#13;
Cookbook / R. Laganiere // United Kingdom, Packt Publishing, 2017. 474 p.&#13;
</mixed-citation>
      </ref>
    </ref-list>
    <fn-group>
      <fn fn-type="conflict">
        <p>The authors declare that there are no conflicts of interest present.</p>
      </fn>
    </fn-group>
  </back>
</article>