Effacer les filtres
Effacer les filtres

how to (undo) action?

298 vues (au cours des 30 derniers jours)
researcher
researcher le 3 Juil 2012
Commenté : Nithin M le 29 Mai 2021
dear all,
i've made labeling to image and select objects to delete them. i wonder how to (undo) deleting last object? i've been searching to do it but can't find a way.
can you help me?
thanks in advance
  3 commentaires
Ryan
Ryan le 3 Juil 2012
Modifié(e) : Ryan le 3 Juil 2012
@Walter: If I had to guess it was done via this - http://www.mathworks.com/matlabcentral/answers/42558#answer_52367
This is not something you can just undo. If you maintain a history of the shape and position of the blob's you delete, then you could re-populate them, but other wise what is done is done. There's no "ctrl+z" seeing as that function was just created for you.
You could possibly tweak the function provided by Sean so that it works on a copy of your original image so you could retrieve back the original in case you do not like the selection you deleted.
Sean de Wolski
Sean de Wolski le 3 Juil 2012
He could have a second axes or subplot that has the original and have it be add back.

Connectez-vous pour commenter.

Réponses (2)

Satyam Agarwal
Satyam Agarwal le 4 Août 2018
Ctrl+Shift+Minus
  1 commentaire
Nithin M
Nithin M le 29 Mai 2021
Thats very simple without counter questioning, thanks

Connectez-vous pour commenter.


Gabriel Villanova
Gabriel Villanova le 18 Juin 2019
Hi,
If you're using linux the default shortcuts commands is configured like Emacs, however, you can configure that like Windows, see https://www.mathworks.com/matlabcentral/answers/263833-linux-hot-key-settings.
Regards.

Catégories

En savoir plus sur Environment and Settings dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by