Cargando…

Performance enhancement of high order Hahn polynomials using multithreading

Orthogonal polynomials and their moments have significant role in image processing and computer vision field. One of the polynomials is discrete Hahn polynomials (DHaPs), which are used for compression, and feature extraction. However, when the moment order becomes high, they suffer from numerical i...

Descripción completa

Detalles Bibliográficos
Autores principales: Mahmmod, Basheera M., Flayyih, Wameedh Nazar, Fakhri, Zainab Hassan, Abdulhussain, Sadiq H., Khan, Wasiq, Hussain, Abir
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Public Library of Science 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10599504/
https://www.ncbi.nlm.nih.gov/pubmed/37878605
http://dx.doi.org/10.1371/journal.pone.0286878
_version_ 1785125777826643968
author Mahmmod, Basheera M.
Flayyih, Wameedh Nazar
Fakhri, Zainab Hassan
Abdulhussain, Sadiq H.
Khan, Wasiq
Hussain, Abir
author_facet Mahmmod, Basheera M.
Flayyih, Wameedh Nazar
Fakhri, Zainab Hassan
Abdulhussain, Sadiq H.
Khan, Wasiq
Hussain, Abir
author_sort Mahmmod, Basheera M.
collection PubMed
description Orthogonal polynomials and their moments have significant role in image processing and computer vision field. One of the polynomials is discrete Hahn polynomials (DHaPs), which are used for compression, and feature extraction. However, when the moment order becomes high, they suffer from numerical instability. This paper proposes a fast approach for computing the high orders DHaPs. This work takes advantage of the multithread for the calculation of Hahn polynomials coefficients. To take advantage of the available processing capabilities, independent calculations are divided among threads. The research provides a distribution method to achieve a more balanced processing burden among the threads. The proposed methods are tested for various values of DHaPs parameters, sizes, and different values of threads. In comparison to the unthreaded situation, the results demonstrate an improvement in the processing time which increases as the polynomial size increases, reaching its maximum of 5.8 in the case of polynomial size and order of 8000 × 8000 (matrix size). Furthermore, the trend of continuously raising the number of threads to enhance performance is inconsistent and becomes invalid at some point when the performance improvement falls below the maximum. The number of threads that achieve the highest improvement differs according to the size, being in the range of 8 to 16 threads in 1000 × 1000 matrix size, whereas at 8000 × 8000 case it ranges from 32 to 160 threads.
format Online
Article
Text
id pubmed-10599504
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher Public Library of Science
record_format MEDLINE/PubMed
spelling pubmed-105995042023-10-26 Performance enhancement of high order Hahn polynomials using multithreading Mahmmod, Basheera M. Flayyih, Wameedh Nazar Fakhri, Zainab Hassan Abdulhussain, Sadiq H. Khan, Wasiq Hussain, Abir PLoS One Research Article Orthogonal polynomials and their moments have significant role in image processing and computer vision field. One of the polynomials is discrete Hahn polynomials (DHaPs), which are used for compression, and feature extraction. However, when the moment order becomes high, they suffer from numerical instability. This paper proposes a fast approach for computing the high orders DHaPs. This work takes advantage of the multithread for the calculation of Hahn polynomials coefficients. To take advantage of the available processing capabilities, independent calculations are divided among threads. The research provides a distribution method to achieve a more balanced processing burden among the threads. The proposed methods are tested for various values of DHaPs parameters, sizes, and different values of threads. In comparison to the unthreaded situation, the results demonstrate an improvement in the processing time which increases as the polynomial size increases, reaching its maximum of 5.8 in the case of polynomial size and order of 8000 × 8000 (matrix size). Furthermore, the trend of continuously raising the number of threads to enhance performance is inconsistent and becomes invalid at some point when the performance improvement falls below the maximum. The number of threads that achieve the highest improvement differs according to the size, being in the range of 8 to 16 threads in 1000 × 1000 matrix size, whereas at 8000 × 8000 case it ranges from 32 to 160 threads. Public Library of Science 2023-10-25 /pmc/articles/PMC10599504/ /pubmed/37878605 http://dx.doi.org/10.1371/journal.pone.0286878 Text en © 2023 Mahmmod et al https://creativecommons.org/licenses/by/4.0/This is an open access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/) , which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
spellingShingle Research Article
Mahmmod, Basheera M.
Flayyih, Wameedh Nazar
Fakhri, Zainab Hassan
Abdulhussain, Sadiq H.
Khan, Wasiq
Hussain, Abir
Performance enhancement of high order Hahn polynomials using multithreading
title Performance enhancement of high order Hahn polynomials using multithreading
title_full Performance enhancement of high order Hahn polynomials using multithreading
title_fullStr Performance enhancement of high order Hahn polynomials using multithreading
title_full_unstemmed Performance enhancement of high order Hahn polynomials using multithreading
title_short Performance enhancement of high order Hahn polynomials using multithreading
title_sort performance enhancement of high order hahn polynomials using multithreading
topic Research Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10599504/
https://www.ncbi.nlm.nih.gov/pubmed/37878605
http://dx.doi.org/10.1371/journal.pone.0286878
work_keys_str_mv AT mahmmodbasheeram performanceenhancementofhighorderhahnpolynomialsusingmultithreading
AT flayyihwameedhnazar performanceenhancementofhighorderhahnpolynomialsusingmultithreading
AT fakhrizainabhassan performanceenhancementofhighorderhahnpolynomialsusingmultithreading
AT abdulhussainsadiqh performanceenhancementofhighorderhahnpolynomialsusingmultithreading
AT khanwasiq performanceenhancementofhighorderhahnpolynomialsusingmultithreading
AT hussainabir performanceenhancementofhighorderhahnpolynomialsusingmultithreading