2d to 3d
1 次查看(过去 30 天)
显示 更早的评论
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.
回答(2 个)
Image Analyst
2012-1-24
Why not just sum up the area of all the slices? Would that be good enough, accurate enough for you?
1 个评论
Walter Roberson
2012-1-24
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
2012-2-23
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Curve Fitting Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!