Use the Batch Image Processing Project through PDC OpenMP and MPI functionalities, catering better Parallel optimization than the simple pthread application.
The commands for running each code is given in the cpp files
Running it on Linux Terminal we find much better time optimization through omp get wtime and mpi wtime functions