• Mar 26, 2024 News!Vol.16, No. 1 has been published with online version.   [Click]
  • Jan 02, 2024 News!All papers in IJET will be publihsed article by article staring from 2024.
  • Nov 03, 2023 News!News | Vol.15, No. 4 has been published with online version.   [Click]
General Information
    • ISSN: 1793-8236 (Online)
    • Abbreviated Title Int. J. Eng. Technol.
    • Frequency:  Quarterly 
    • DOI: 10.7763/IJET
    • Managing Editor: Ms. Jennifer Zeng
    • Abstracting/ Indexing: Inspec (IET), CNKI Google Scholar, EBSCO, ProQuest, Crossref, etc.
    • E-mail: ijet_Editor@126.com
Editor-in-chief
IJET 2017 Vol.9(1): 45-49 ISSN: 1793-8236
DOI: 10.7763/IJET.2017.V9.943

Improving the Addweighted Function in OpenCV 3.0 Using SSE and AVX Intrinsics

Panyayot Chaikan and Somsak Mitatha

Abstract—This paper presents a new algorithm for improving the speed of OpenCV’s addWeighted function for blending images. We propose two implementations: one using the SSE (Streaming SIMD Extension), the other employing the AVX (Advanced Vector Extension), which increases the function’s speed by 3.49x and 5.77x respectively. The multi-core version of our algorithm utilizes load balancing to distribute loads between user threads while keeping the correct memory alignment for each SIMD instruction type. This approach improves the function’s speed by 23.08 times compared to its original implementation in the OpenCV library.

Index Terms—Image blending, multicore programming, AVX.

Panyayot Chaikan is with the Department of Computer Engineering, Faculty of Engineering, Prince of Songkla University, Thailand (e-mail: panyayot@coe.psu.ac.th).
Somsak Mitatha is with the Department of Computer Engineering, Faculty of Engineering, King Mongkhut’s Institute of Technology Ladkrabang, Thailand (e-mail: kmsomsak@kmitl.ac.th).

[PDF]

Cite: Panyayot Chaikan and Somsak Mitatha, "Improving the Addweighted Function in OpenCV 3.0 Using SSE and AVX Intrinsics," International Journal of Engineering and Technology vol. 9, no. 1, pp. 45-49, 2017.

Copyright © 2008-2024. International Journal of Engineering and Technology. All rights reserved. 
E-mail: ijet_Editor@126.com