MATLAB Answers

0

What is the difference between double() and im2double() ?

Asked by D Joseph on 13 Aug 2015
Latest activity Commented on by D Joseph on 13 Aug 2015
What is the difference between double() and im2double() ?

  1 Comment

Thanks @blaat

Sign in to comment.

Tags

No tags entered yet.

1 Answer

Answer by blaat
on 13 Aug 2015
 Accepted Answer

The function double() only converts the specified array to a variable of type double, keeping the same values. The function im2double() also normalises to an interval of [0, 1], which is convenient when working with e.g., imshow().

  1 Comment

Thanks@ blaat

Sign in to comment.