Image normalization algorithm for PGM images (P2) using OpenMp and MPI