Image Processing Operations implemented in C# and MATLAB