imgo='im1.bmp'; % undistorted multi-spectral image (three bands) imgc='im2.bmp'; % distorted multi-spectral image (three bands) a_swap(imgo,imgc); % 'im2.bmp','im3.bmp','im4.bmp','im5.bmp','im6.bmp', are the five distorted % versions of im1.bmp edgestability_JS(imgo,'im2.bmp','im3.bmp','im4.bmp','im5.bmp','im6.bmp');