How to create an independent image after drawing a ROI
1 view (last 30 days)
Show older comments
Jórdan Venâncio Leite
on 31 May 2020
Commented: Rena Berman
on 12 Oct 2020
How to create a second independent image that contains the same first image, however with the burned ROI? If possible, the ROI should no longer be editable.
Thanks
A
4 Comments
Rik
on 11 Jun 2020
Burned means fixed. The shape of my ROI is determined by the attached code using the C.mat, which is nothing more than the vertices of the outline of the blank object in the image (a bubble). The color could be blue, just like the color of the ROI.
The description of my question is the same as: How to save an image displayed on the Matlab screen without having to press the save button in the window?
Accepted Answer
Ameer Hamza
on 31 May 2020
See exportgraphics(): https://www.mathworks.com/help/releases/R2020a/matlab/ref/exportgraphics.html [R2020a]
Or to read an rgb image matrix directly in MATLAB: getframe(): https://www.mathworks.com/help/releases/R2020a/matlab/ref/getframe.html
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!