Fitting surface to 3D data from a CT stack

I have about 100 slices of CT images of size 512 by 512. I segmented the bone from it and got a 3D matrix. Now I want to identify how the left side of the bone model is different from the right. So, I am trying to fit a surface to it and analyze the surface. I am unable to fit a surface to the 3D model I have. Most of the surface fitting I found had no more than 3 slices of data.

3 comentarios

Matt J
Matt J el 13 de Oct. de 2014
What surface model did you use?
kishore
kishore el 13 de Oct. de 2014
I tried using cftool but realized that I need to have x,y & z variables separately! So I could not do it. Should I resize the matrix before I try fitting a surface?
Matt J
Matt J el 13 de Oct. de 2014
What is the model equation for the surface?

Iniciar sesión para comentar.

Respuestas (1)

Sean de Wolski
Sean de Wolski el 13 de Oct. de 2014

0 votos

Try using lsqcurvefit in the Optimization Toolbox or NonLinearModel.fit in the Statistics Toolbox. These allow for an arbitrary number of dimensions.

1 comentario

kishore
kishore el 13 de Oct. de 2014
I only have Image Processing & Curve Fitting Toolboxes. I tried to download lsqcurvefit source code but it did not work. Is there any other way to do it.

Iniciar sesión para comentar.

Categorías

Preguntada:

el 13 de Oct. de 2014

Comentada:

el 13 de Oct. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by