How to create an independent image after drawing a ROI
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Jórdan Venâncio Leite
le 31 Mai 2020
Commenté : Rena Berman
le 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 commentaires
Rik
le 11 Juin 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?
Réponse acceptée
Ameer Hamza
le 31 Mai 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
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Convert Image Type dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!