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


Improving the Addweighted Function in OpenCV 3.0 Using SSE and AVX Intrinsics is a scholarly work, published in 2017 in ''International Journal of Engineering and Technology''. The main subjects of the publication include computer graphics, automatic number plate recognition, computer vision, image quality, Intrinsics, biological function, and computer science. The 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 the authors' 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.