script to call matlab functions for image resizing and cropping;