Main File

Main project file.

Author

Venkata Mukund Kashyap Yedunuthala

Date

23 January 2024

Functions

int main(int argc, char **argv)

Main function.

Reads a given input PGM file and performs convolution using given kernels and writes output to indicated file. Outputs 1 file, one for each convolution kernel. Defaults indicate that blur is performed 5 times, whereas the other two are limited to 1. Supports parallel processing using MPI. Input array is divided into chunks if more than 1 process exist in the swarm. File and terminal outputs occur on root process.