How can I have access to an image?
Show older comments
Hi.
I have a char variable IM, which content is the name DNG10. That name corresponds to a <768x2053x3 uint8> image. How can I access the image, that is, that it actually shows it?
4 Comments
Azzi Abdelmalek
on 11 Sep 2013
DNG10 is the name of the variable or the name of the file?
Maria
on 11 Sep 2013
Azzi Abdelmalek
on 11 Sep 2013
Ok, when you say image, is it a file or a matrix?
Answers (2)
Walter Roberson
on 11 Sep 2013
thisimage = imread(IM);
image(thisimage);
Categories
Find more on Images 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!