Speed Up Image Processing with OpenMP Share your comment!

Posted on March 18, 2015 by Rick Leinecker, Slashdot Media Contributing Editor

Image processing can be significantly optimized with the help of OpenMP. Rick Leinecker shows you how, walks you through the OpenMP techniques employed that make the processing faster, and analyzes an iterative OpenMP construct. Since OpenMP applies concurrent processor operations, synchronization is essential to avoid race conditions. In the demonstration program, a histogram of the sample image is calculated using parallel techniques, and the OpenMP locking mechanism is used to prevent race conditions.