[vtkusers] how to interpolate between few data points in imagedata

Hikaruchan Sandra.Schroetter.fl at ait.ac.at
Wed Nov 2 12:44:06 EDT 2011


Hi everybody!

I have a little problem, which takes me nearly a week now to find a
solution. I have an application with four renderviews where I display
MRI-Data in three 2D Views (sagittal, coronal and axial) and one for a 3D
View. That works fine. 

But now I have some electric density values which I want to visualize. The
visualization itself is not the problem. The Problem is, that the points are
arround 8-10 pixels away from each other (as I want them to visualize I put
them into a vtkImageData), and I have tried to interpolate it, but the
interpolation takes to much time. My last try which brought the best resulat
was:

1. load the electric density data
2. put them into an imagedata and "blow up" the pixel which stands for the
density value

3. make a vtkImageGaussianSmooth with dimensionality 3 with
standarddeviation (3,3,3)
4. make a vtkImageMedian3D with kernelsize(5,5,5)

I understand that that takes long, so I desiced to make it in 2D for every
slice which works "ok". But it is not effective enough. So my question is,
is there a better way to interpolate the data in vtkImagedata? The reason
why it must be effective is, that it is time critical, I have around half a
second before I must interpolate the next electric density data.

Do anybody know what is the way to do it right? I think what I have done, is
far away from the best solution ;-) So I would be glad if somebody could
help me and give me an idea for a better solution of the problem.

Dear

Hikaruchan

--
View this message in context: http://vtk.1045678.n5.nabble.com/how-to-interpolate-between-few-data-points-in-imagedata-tp4958600p4958600.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list