Fitting surface to 3D data from a CT stack

2 views (last 30 days)
kishore
kishore on 13 Oct 2014
Commented: kishore on 13 Oct 2014
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 Comments
kishore
kishore on 13 Oct 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 on 13 Oct 2014
What is the model equation for the surface?

Sign in to comment.

Answers (1)

Sean de Wolski
Sean de Wolski on 13 Oct 2014
Try using lsqcurvefit in the Optimization Toolbox or NonLinearModel.fit in the Statistics Toolbox. These allow for an arbitrary number of dimensions.
  1 Comment
kishore
kishore on 13 Oct 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.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!