2d to 3d
3 views (last 30 days)
Show older comments
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 Comment
Answers (2)
Image Analyst
on 24 Jan 2012
Why not just sum up the area of all the slices? Would that be good enough, accurate enough for you?
1 Comment
Walter Roberson
on 24 Jan 2012
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
on 23 Feb 2012
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.
See Also
Categories
Find more on Curve Fitting Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!