フィルターのクリア

create a 3d graph from a series of contours

1 回表示 (過去 30 日間)
Giuseppe
Giuseppe 2011 年 4 月 30 日
hy,i have not exeperience with 3d graph and interpolation, somebody can help me? i have an array of structurs with 2 field, internal and external contours of an esophagus, identificated by me trough an active contour, a snake, and rappresented by a matrix of 589x2 element,the rows are slightly variable. now i want to create a 3d graph of the esophagus respecting my found coordinates, i try with plot3(x,y,z),hold on but i want to represent the surface.can somebody help me with the interpolation?? how i may use interp3 and mesh? at the end of my contours detecting i call this function
function done = treD(s)
numb_frame =size(s,2);
x=zeros(numb_frame);
y=zeros(numb_frame);
for i=1:numb_frame
elem_in=size(s(i).bordo_in(:,1),1);
z=ones(elem_in,1);
x=s(i).bordo_in(:,1);
y=s(i).bordo_in(:,2);
D=plot3(s(i).bordo_in(:,1),s(i).bordo_in(:,2),z+i);hold on;
end
done='done';
end
how i can insert an interpolation and a mesh?
  1 件のコメント
Giuseppe
Giuseppe 2011 年 5 月 7 日
i've finish, i used isosurface method..it works very good, ihave create a matrix x-y-number of plane

サインインしてコメントする。

採用された回答

Doug Hull
Doug Hull 2012 年 9 月 17 日
i've finish, i used isosurface method..it works very good, ihave create a matrix x-y-number of plane

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by