how to (undo) action?
이전 댓글 표시
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
Walter Roberson
2012년 7월 3일
Please be more specific about how you are selecting objects and how you are deleting them.
@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
2012년 7월 3일
He could have a second axes or subplot that has the original and have it be add back.
답변 (2개)
Satyam Agarwal
2018년 8월 4일
19 개 추천
Ctrl+Shift+Minus
댓글 수: 1
Nithin M
2021년 5월 29일
Thats very simple without counter questioning, thanks
Gabriel Villanova
2019년 6월 18일
1 개 추천
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.
카테고리
도움말 센터 및 File Exchange에서 Convert Image Type에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!