How can I make the image which is after hold on and plot to a variable

2 ビュー (過去 30 日間)
Zhangyu Huang
Zhangyu Huang 2021 年 4 月 4 日
回答済み: Walter Roberson 2021 年 4 月 4 日
This is my code.
figure;
detect1=imshow(frame_target);
hold on;
line(newReferencePolygon(:, 1), newReferencePolygon(:, 2), 'Color', 'y');% add a line to this image
In this case, I added some lines to my figure.
I want to use this figure with changed in later code which means make that changed figure to a variable.
I don't want to save that figure in my computer.
What should I do?
Thank you.

回答 (1 件)

Walter Roberson
Walter Roberson 2021 年 4 月 4 日

カテゴリ

Help Center および File ExchangeImages についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by