Loading…

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...

Full description

Saved in:
Bibliographic Details
Published in:PloS one 2023-10, Vol.18 (10), p.e0286878-e0286878
Main Authors: Mahmmod, Basheera M., Flayyih, Wameedh Nazar, Fakhri, Zainab Hassan, Abdulhussain, Sadiq H., Khan, Wasiq, Hussain, Abir
Format: Article
Language:English
Subjects:
Citations: Items that this one cites
Online Access:Get full text
Tags: Add Tag
No Tags, Be the first to tag this record!
cited_by
cites cdi_FETCH-LOGICAL-c401t-d4e08ecbe25380533f2511181ee953687baa4ed672e2d007f63932ac6cddb2ee3
container_end_page e0286878
container_issue 10
container_start_page e0286878
container_title PloS one
container_volume 18
creator Mahmmod, Basheera M.
Flayyih, Wameedh Nazar
Fakhri, Zainab Hassan
Abdulhussain, Sadiq H.
Khan, Wasiq
Hussain, Abir
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.
doi_str_mv 10.1371/journal.pone.0286878
format article
fullrecord <record><control><sourceid>proquest_doaj_</sourceid><recordid>TN_cdi_doaj_primary_oai_doaj_org_article_aa547b50c5e44f2ba252a7d90c583186</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><doaj_id>oai_doaj_org_article_aa547b50c5e44f2ba252a7d90c583186</doaj_id><sourcerecordid>2882323619</sourcerecordid><originalsourceid>FETCH-LOGICAL-c401t-d4e08ecbe25380533f2511181ee953687baa4ed672e2d007f63932ac6cddb2ee3</originalsourceid><addsrcrecordid>eNpVkctu2zAQRYmiRZO4_YMutMzGDh8iRa2KImgeSIB00a6JETmyaEikS0oB8veha6NIVvPEmbm4hHxjdMNEw652cUkBxs0-BtxQrpVu9AdyzlrB14pT8fFNfkYuct5RKoVW6jM5E01ZVlSek4dfmPqYJggWKwzDIU4Y5ir21eC3QxWTw1TdwRCqfRxfQpw8jLlasg_balrG2c9DQnCl_EI-9WWGX09xRf7c_Px9fbd-fLq9v_7xuLY1ZfPa1Ug12g55eae8JHouGWOaIbZSFBkdQI1ONRy5o7TplSg6wCrrXMcRxYrcH7kuws7sk58gvZgI3vxrxLQ1kGZvRzQAsm46Sa3Euu55B1xyaFxbGlowrQrr-5G1X7oJnS3SE4zvoO8nwQ9mG58No7JtJa0L4fJESPHvgnk2k88WxxECxiUbrjUXXKhixorUx1WbYs4J-_93GDUHU83JVHMw1ZxMFa98yJkG</addsrcrecordid><sourcetype>Open Website</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype><pqid>2882323619</pqid></control><display><type>article</type><title>Performance enhancement of high order Hahn polynomials using multithreading</title><source>NCBI_PubMed Central(免费)</source><source>Publicly Available Content (ProQuest)</source><creator>Mahmmod, Basheera M. ; Flayyih, Wameedh Nazar ; Fakhri, Zainab Hassan ; Abdulhussain, Sadiq H. ; Khan, Wasiq ; Hussain, Abir</creator><contributor>Kovtun, Viacheslav</contributor><creatorcontrib>Mahmmod, Basheera M. ; Flayyih, Wameedh Nazar ; Fakhri, Zainab Hassan ; Abdulhussain, Sadiq H. ; Khan, Wasiq ; Hussain, Abir ; Kovtun, Viacheslav</creatorcontrib><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.</description><identifier>ISSN: 1932-6203</identifier><identifier>EISSN: 1932-6203</identifier><identifier>DOI: 10.1371/journal.pone.0286878</identifier><identifier>PMID: 37878605</identifier><language>eng</language><publisher>San Francisco, CA USA: Public Library of Science</publisher><subject>Biology and Life Sciences ; Computer and Information Sciences ; Engineering and Technology ; Medicine and Health Sciences ; Physical Sciences ; Research and Analysis Methods</subject><ispartof>PloS one, 2023-10, Vol.18 (10), p.e0286878-e0286878</ispartof><rights>2023 Mahmmod et al 2023 Mahmmod et al</rights><lds50>peer_reviewed</lds50><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed><cites>FETCH-LOGICAL-c401t-d4e08ecbe25380533f2511181ee953687baa4ed672e2d007f63932ac6cddb2ee3</cites><orcidid>0000-0002-7511-3873</orcidid></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><linktopdf>$$Uhttps://www.ncbi.nlm.nih.gov/pmc/articles/PMC10599504/pdf/$$EPDF$$P50$$Gpubmedcentral$$Hfree_for_read</linktopdf><linktohtml>$$Uhttps://www.ncbi.nlm.nih.gov/pmc/articles/PMC10599504/$$EHTML$$P50$$Gpubmedcentral$$Hfree_for_read</linktohtml><link.rule.ids>230,314,727,780,784,885,27923,27924,37012,53790,53792</link.rule.ids></links><search><contributor>Kovtun, Viacheslav</contributor><creatorcontrib>Mahmmod, Basheera M.</creatorcontrib><creatorcontrib>Flayyih, Wameedh Nazar</creatorcontrib><creatorcontrib>Fakhri, Zainab Hassan</creatorcontrib><creatorcontrib>Abdulhussain, Sadiq H.</creatorcontrib><creatorcontrib>Khan, Wasiq</creatorcontrib><creatorcontrib>Hussain, Abir</creatorcontrib><title>Performance enhancement of high order Hahn polynomials using multithreading</title><title>PloS one</title><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.</description><subject>Biology and Life Sciences</subject><subject>Computer and Information Sciences</subject><subject>Engineering and Technology</subject><subject>Medicine and Health Sciences</subject><subject>Physical Sciences</subject><subject>Research and Analysis Methods</subject><issn>1932-6203</issn><issn>1932-6203</issn><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2023</creationdate><recordtype>article</recordtype><sourceid>DOA</sourceid><recordid>eNpVkctu2zAQRYmiRZO4_YMutMzGDh8iRa2KImgeSIB00a6JETmyaEikS0oB8veha6NIVvPEmbm4hHxjdMNEw652cUkBxs0-BtxQrpVu9AdyzlrB14pT8fFNfkYuct5RKoVW6jM5E01ZVlSek4dfmPqYJggWKwzDIU4Y5ir21eC3QxWTw1TdwRCqfRxfQpw8jLlasg_balrG2c9DQnCl_EI-9WWGX09xRf7c_Px9fbd-fLq9v_7xuLY1ZfPa1Ug12g55eae8JHouGWOaIbZSFBkdQI1ONRy5o7TplSg6wCrrXMcRxYrcH7kuws7sk58gvZgI3vxrxLQ1kGZvRzQAsm46Sa3Euu55B1xyaFxbGlowrQrr-5G1X7oJnS3SE4zvoO8nwQ9mG58No7JtJa0L4fJESPHvgnk2k88WxxECxiUbrjUXXKhixorUx1WbYs4J-_93GDUHU83JVHMw1ZxMFa98yJkG</recordid><startdate>20231025</startdate><enddate>20231025</enddate><creator>Mahmmod, Basheera M.</creator><creator>Flayyih, Wameedh Nazar</creator><creator>Fakhri, Zainab Hassan</creator><creator>Abdulhussain, Sadiq H.</creator><creator>Khan, Wasiq</creator><creator>Hussain, Abir</creator><general>Public Library of Science</general><general>Public Library of Science (PLoS)</general><scope>AAYXX</scope><scope>CITATION</scope><scope>7X8</scope><scope>5PM</scope><scope>DOA</scope><orcidid>https://orcid.org/0000-0002-7511-3873</orcidid></search><sort><creationdate>20231025</creationdate><title>Performance enhancement of high order Hahn polynomials using multithreading</title><author>Mahmmod, Basheera M. ; Flayyih, Wameedh Nazar ; Fakhri, Zainab Hassan ; Abdulhussain, Sadiq H. ; Khan, Wasiq ; Hussain, Abir</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-c401t-d4e08ecbe25380533f2511181ee953687baa4ed672e2d007f63932ac6cddb2ee3</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2023</creationdate><topic>Biology and Life Sciences</topic><topic>Computer and Information Sciences</topic><topic>Engineering and Technology</topic><topic>Medicine and Health Sciences</topic><topic>Physical Sciences</topic><topic>Research and Analysis Methods</topic><toplevel>peer_reviewed</toplevel><toplevel>online_resources</toplevel><creatorcontrib>Mahmmod, Basheera M.</creatorcontrib><creatorcontrib>Flayyih, Wameedh Nazar</creatorcontrib><creatorcontrib>Fakhri, Zainab Hassan</creatorcontrib><creatorcontrib>Abdulhussain, Sadiq H.</creatorcontrib><creatorcontrib>Khan, Wasiq</creatorcontrib><creatorcontrib>Hussain, Abir</creatorcontrib><collection>CrossRef</collection><collection>MEDLINE - Academic</collection><collection>PubMed Central (Full Participant titles)</collection><collection>DOAJ Directory of Open Access Journals</collection><jtitle>PloS one</jtitle></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext</fulltext></delivery><addata><au>Mahmmod, Basheera M.</au><au>Flayyih, Wameedh Nazar</au><au>Fakhri, Zainab Hassan</au><au>Abdulhussain, Sadiq H.</au><au>Khan, Wasiq</au><au>Hussain, Abir</au><au>Kovtun, Viacheslav</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>Performance enhancement of high order Hahn polynomials using multithreading</atitle><jtitle>PloS one</jtitle><date>2023-10-25</date><risdate>2023</risdate><volume>18</volume><issue>10</issue><spage>e0286878</spage><epage>e0286878</epage><pages>e0286878-e0286878</pages><issn>1932-6203</issn><eissn>1932-6203</eissn><abstract>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.</abstract><cop>San Francisco, CA USA</cop><pub>Public Library of Science</pub><pmid>37878605</pmid><doi>10.1371/journal.pone.0286878</doi><orcidid>https://orcid.org/0000-0002-7511-3873</orcidid><oa>free_for_read</oa></addata></record>
fulltext fulltext
identifier ISSN: 1932-6203
ispartof PloS one, 2023-10, Vol.18 (10), p.e0286878-e0286878
issn 1932-6203
1932-6203
language eng
recordid cdi_doaj_primary_oai_doaj_org_article_aa547b50c5e44f2ba252a7d90c583186
source NCBI_PubMed Central(免费); Publicly Available Content (ProQuest)
subjects Biology and Life Sciences
Computer and Information Sciences
Engineering and Technology
Medicine and Health Sciences
Physical Sciences
Research and Analysis Methods
title Performance enhancement of high order Hahn polynomials using multithreading
url http://sfxeu10.hosted.exlibrisgroup.com/loughborough?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-13T06%3A50%3A11IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-proquest_doaj_&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=Performance%20enhancement%20of%20high%20order%20Hahn%20polynomials%20using%20multithreading&rft.jtitle=PloS%20one&rft.au=Mahmmod,%20Basheera%20M.&rft.date=2023-10-25&rft.volume=18&rft.issue=10&rft.spage=e0286878&rft.epage=e0286878&rft.pages=e0286878-e0286878&rft.issn=1932-6203&rft.eissn=1932-6203&rft_id=info:doi/10.1371/journal.pone.0286878&rft_dat=%3Cproquest_doaj_%3E2882323619%3C/proquest_doaj_%3E%3Cgrp_id%3Ecdi_FETCH-LOGICAL-c401t-d4e08ecbe25380533f2511181ee953687baa4ed672e2d007f63932ac6cddb2ee3%3C/grp_id%3E%3Coa%3E%3C/oa%3E%3Curl%3E%3C/url%3E&rft_id=info:oai/&rft_pqid=2882323619&rft_id=info:pmid/37878605&rfr_iscdi=true