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 commentaire

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

Connectez-vous pour commenter.

Réponses (2)

Image Analyst
Image Analyst le 24 Jan 2012

0 votes

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

1 commentaire

Walter Roberson
Walter Roberson le 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.

Connectez-vous pour commenter.

tudor dima
tudor dima le 23 Fév 2012

0 votes

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 commentaire

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

Connectez-vous pour commenter.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by