im2double(img) vs double(img)
2 views (last 30 days)
Show older comments
Hello, What is difference between im2double(img) vs double(img) ? Thanks
0 Comments
Answers (1)
Azzi Abdelmalek
on 17 Jul 2016
Edited: Azzi Abdelmalek
on 17 Jul 2016
Try this example, you will see the difference
Im = reshape(uint8(linspace(1,255,25)),[5 5])
out1=double(Im)
out2=im2ddouble(Im)
You can read the help to know exactly what im2double do
0 Comments
See Also
Categories
Find more on Data Type Identification in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!