[vtkusers] Is there a filter that can interpolate unstructed data to structed data? like griddata() in MATLAB

Bryn Lloyd blloyd at vision.ee.ethz.ch
Fri Jun 13 02:17:09 EDT 2008


You Could use vtkImplicitDataset.
http://www.vtk.org/doc/nightly/html/classvtkImplicitDataSet.html

Iterate over the points of the structured grid and interpolate the value
at the points by calling "EvaluateFunction (double x[3])"


--Bryn



??? wrote:
> Hi,
> Is there a filter that can interpolate unstructed data to structed data? 
> like griddata() in MATLAB.
>  
> for example:
> i know three points: a(1,1)=1; a(1,3)=2; a(3,3)=3;
> how can I interpolate the data so that i can get a(1:3,1:3)?
> 
> 
> -- 
> Best wishes,
> Jiangshan
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers


-- 
-------------------------------------------------
Bryn Lloyd
Computer Vision Laboratory
ETH Zürich, Sternwartstrasse 7
CH - 8092 Zürich, Switzerland
Tel: +41 44 63 27690
Fax: +41 44 63 21199
-------------------------------------------------



More information about the vtkusers mailing list