rectangle で描出した四角形を削除することができますか?
显示 更早的评论
采纳的回答
更多回答(1 个)
SA.SEKINO
2024-7-26
rectangleで描画した場合は、findobj関数とdelete関数を組み合わせて消すことができます。
delete(findobj('Type','Rectangle'))
drawrectangle(ROI関心領域)で描画した場合も同様に消すことができます。
delete(findobj('Type','images.roi.rectangle'))
类别
在 帮助中心 和 File Exchange 中查找有关 ラベルと注釈 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
