What is the difference between double() and im2double() ?
42 views (last 30 days)
Show older comments
What is the difference between double() and im2double() ?
Accepted Answer
blaat
on 13 Aug 2015
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().
More Answers (0)
See Also
Categories
Find more on Convert Image Type in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!