Parallel-Programming-with-MPI

This project is about denoising a noisy image using parallel programming.Full project description is here. Scripts ( which are needed to convert images to text , text to images or to make noise in a given image) and some examples of input images and input text files are also given."main.cpp" is the part i implemented."figure1.png" is the outcome of the code when the input is "yinyang_noisy.txt"which is the text file converted version of the noisy image(converted with "image_to_text.py").

Example input and output of program:

Input-Output

HOW TO RUN:

To execute the program you should place the input in the directory where source code resides. The program is executed with following commands:

-mpic++ -g main.cpp -o main -std=c++11

-mpiexec -n <number of processor> main <input file> <output file> <beta value> <pi value>