MATLAB Answers

2d to 3d

8 views (last 30 days)
dhanalakshmi
dhanalakshmi on 24 Jan 2012
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

Walter Roberson
Walter Roberson on 24 Jan 2012
Does the value at each point indicate the z coordinate?

Sign in to comment.

Answers (2)

Image Analyst
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
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.

Sign in to comment.


tudor dima
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.

  1 Comment

Manoj Soundararajan
Manoj Soundararajan on 15 Mar 2012
What is that trapezoidal rule ???

Sign in to comment.

Tags