How can I open an image in MATLAB GUI in a new window ? Please answer :)

11 vues (au cours des 30 derniers jours)
Maciej Wroz
Maciej Wroz le 21 Oct 2015
Commenté : Maciej Wroz le 21 Oct 2015
Hello, I have a problem, I want to open an image in new window, when somebody push a radio button. Because when a use function: imread and imshow I can only show an imgae in axes area. I want to change that,please answer my question.

Réponse acceptée

Adam
Adam le 21 Oct 2015
Just put:
figure;
in front of your plotting instruction. Or if you want to be fussy like I am, something more like:
figure; hAxes = gca;
imshow( RGB, 'Parent', gca );
where 'RGB' is whatever image you were showing in normal usage of imshow.

Plus de réponses (0)

Catégories

En savoir plus sur Image Processing Toolbox 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!

Translated by