I have created contour plot and saved the contour matrix..But how can i get the same plot by using the contour matrix ? Does contour matrix shows the locations??

7 次查看(过去 30 天)
a=imread('cameraman.tif');
[c,h]=contour(a,4);
now what c represents can I used for plotting contours without using contor function in matlab? Or In other word How can I store the contour boundary or locations , so I can used those data afterwards???????????????????/

回答(2 个)

Chad Greene
Chad Greene 2014-5-22
The C2xyz function does this simply.

Walter Roberson
Walter Roberson 2013-2-10
Yes, if you read through http://www.mathworks.com/help/matlab/creating_plots/contour-plots.html#f10-2614 you will find a description of the structure of a contour matrix.
  3 个评论
Mona
Mona 2013-2-10
[c,h]-imcontour('cameraman.tif'); Act I want to know how contour matrix (here :c) is used to represent the boundary of the object in the form of contour in the image?????

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Contour Plots 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by