Matlab Programs for Image Processing 1.The utility functions The functions provided are : • - to load image called filename having the dimension xdim and ydim, and which…