How can i save a contour and read it again without change in its value in matlab?
9 ビュー (過去 30 日間)
古いコメントを表示
First I want to show the output of the contour than reading that image again without losing its memory and than use that image to get the output of first and second in the same image. I already have a contour in c and h and now when I run for different input than this value in c h will be removed and new values will be there in c and h and i want that c,h will retain there values for every input given by the user. say for example 1. I give some input than I get my contour in c,h and after that, if again I give another input now I want that it will show me the new value of output as well as the previous value. please guide.
0 件のコメント
回答 (1 件)
KSSV
2018 年 7 月 11 日
[X,Y,Z] = peaks(100) ;
[c,h] = contour(X,Y,Z) ;
YOur required values are saved in c and h.
5 件のコメント
Walter Roberson
2018 年 7 月 13 日
Use https://www.mathworks.com/matlabcentral/fileexchange/38863-extract-contour-data-from-contour-matrix-c to convert the contour matrix into a form that you can use to draw lines or patches with.
参考
カテゴリ
Help Center および File Exchange で Image Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!