Extract image from imtool into variable.
2 views (last 30 days)
Show older comments
Kenny Williams
on 16 Apr 2013
Commented: Image Analyst
on 17 Feb 2014
I've found that I can change the display range of a Dicom image using something alone the lines of imtool(MB, [1850 25725]); (or the same with imshow). Instead of displaying it, I want to use the resulting image in my code for further calculation. Is there another function I can use instead that doesn't display the image, or can I extract it automatically from imtool?
0 Comments
Accepted Answer
Image Analyst
on 17 Apr 2013
You have MB. Somehow you got it, like from dicomread() or somewhere, so you don't need to "extract it" from imtool - you already have it. So just start working with it. You don't need to display it with imshow(), image(), imagesc(), imtool() or anything else. You can work with it just like any other numerical array.
6 Comments
More Answers (1)
Mary
on 17 Feb 2014
hi I want to measure the length of small objects on an image by using a imtool but i like to save the measurement which i got from imtool any one can help on that please?? Many thanks
1 Comment
Image Analyst
on 17 Feb 2014
See my spatial calibration demo, attached. It will do that.
See Also
Categories
Find more on Explore and Edit Images with Image Viewer App 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!