Parallel Technologies with Image Processing Using Inverse Filter ()
ABSTRACT
Real-time capabilities and computational efficiency are provided by parallel image processing utilizing OpenMP. However, race conditions can affect the accuracy and reliability of the outcomes. This paper highlights the importance of addressing race conditions in parallel image processing, specifically focusing on color inverse filtering using OpenMP. We considered three solutions to solve race conditions, each with distinct characteristics: #pragma omp atomic: Protects individual memory operations for fine-grained control. #pragma omp critical: Protects entire code blocks for exclusive access. #pragma omp parallel sections reduction: Employs a reduction clause for safe aggregation of values across threads. Our findings show that the produced images were unaffected by race condition. However, it becomes evident that solving the race conditions in the code makes it significantly faster, especially when it is executed on multiple cores.
Share and Cite:
Alsharhan, R. , Muheef, A. , Ibrahim, Y. , Rayyani, A. and Alguwaifli, Y. (2024) Parallel Technologies with Image Processing Using Inverse Filter.
Journal of Computer and Communications,
12, 110-119. doi:
10.4236/jcc.2024.121007.
Cited by
No relevant information.