Changing cdata on image handles in GUI for plot

2 ビュー (過去 30 日間)
awezmm
awezmm 2017 年 10 月 9 日
In my gui, I am saving my image in a handle so that I can call it from different functions like this: handles.img = i1. Then I can imshow(i1) to show the image. However, I also want the user to be able to draw on the image using imfreehand. Sometimes I will want to change the image in the background but keep the imfreehand drawings on the figure. Is there a way to change the cdata on my handles.img so that it just changes the image in the background and keeps the imfreehand lines?

回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by