MATLAB: What is the difference between double and im2 double

digital image processingimage

what is the difference between im2double(i); and double(i); where i is my image?

Best Answer

im2double converts to double and rescales the image to [0, 1].