2d to 3d

hi i have segmented the image, which is 2d. i need to find the volume of the segmented part .is there any way to convert 2d to 3d .?matlab code r any other softwares.? pls help me.give me any idea pls.

1 个评论

Does the value at each point indicate the z coordinate?

请先登录,再进行评论。

回答(2 个)

Image Analyst
Image Analyst 2012-1-24

0 个投票

Why not just sum up the area of all the slices? Would that be good enough, accurate enough for you?

1 个评论

If the matrix values represent z coordinates, then something like the extension of the trapezoidal rule to 2D would probably be more accurate.

请先登录,再进行评论。

tudor dima
tudor dima 2012-2-23

0 个投票

You might want to visualize your 2D sequence in 3D, then decide. Trapezoidal rule is the fastest to write and run. In case you have a lot of misalignment then a little smoothing can help.
Worst case, integrate the Heaviside function which takes as argument the signed distance of each point to the in-out interface :-) It's rather convoluted but the functions are on the exchange and the results are the most precise one can get at a given resolution.

标签

Community Treasure Hunt

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

Start Hunting!

Translated by