Thread Subject: interpolating 3D data

Subject: interpolating 3D data

From: Ben Irv

Date: 11 Nov, 2009 09:57:03

Message: 1 of 3

Hi

I have a set of voxels representing a curve in 3d (space curve)
e.g. 5 voxels at [1,1,1], [2,3,4], [5,4,7],[10,11,8] and [9,15,15].

I want to interpolate this curve and resample the data at, say, 8 evenly space points along the curve (i.e. equally spaced in terms of the curve length). I want to do this so that I can compare the points to 8 evenly spaced points on another curve.

Apologies if this is a basic question but I haven't been able to find a decent answe

Thanks
Ben

Subject: interpolating 3D data

From: Ben Irv

Date: 12 Nov, 2009 12:43:02

Message: 2 of 3

I still can't find a way to solve this problem.

cscvn seems to be a way of creating a cubic spline from points on a space curve but this is not ideal because it is interpolative rather than approximate and the sample points are noisy.

The second part of the problem involving resampling:
Once I've got the ppform of a space curve using say cscvn, how do I sample at equal distances along this space curve?

"Ben Irv" <i.benjamin@ymail.com> wrote in message <hde1pf$fhc$1@fred.mathworks.com>...
> Hi
>
> I have a set of voxels representing a curve in 3d (space curve)
> e.g. 5 voxels at [1,1,1], [2,3,4], [5,4,7],[10,11,8] and [9,15,15].
>
> I want to interpolate this curve and resample the data at, say, 8 evenly space points along the curve (i.e. equally spaced in terms of the curve length). I want to do this so that I can compare the points to 8 evenly spaced points on another curve.
>
> Apologies if this is a basic question but I haven't been able to find a decent answe
>
> Thanks
> Ben

Subject: interpolating 3D data

From: Matt

Date: 12 Nov, 2009 15:40:19

Message: 3 of 3

"Ben Irv" <i.benjamin@ymail.com> wrote in message <hdgvsm$v6$1@fred.mathworks.com>...
> I still can't find a way to solve this problem.
>
> cscvn seems to be a way of creating a cubic spline from points on a space curve but this is not ideal because it is interpolative rather than approximate and the sample points are noisy.
===================

You need to define a model for the curve, and apply a curve fitting algorithm to this model, e.g. fro the curvefitting toolbox

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
interpolation Ben Irv 11 Nov, 2009 04:59:04
voxels Ben Irv 11 Nov, 2009 04:59:04
3d Ben Irv 11 Nov, 2009 04:59:04
bspline Ben Irv 11 Nov, 2009 04:59:04
rssFeed for this Thread

Contact us at files@mathworks.com