LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
D*

Improve Interpolate 2D Scattered performance with interpolant

Status: Declined

Any idea that has received less than 3 kudos within 3 years after posting will be automatically declined.

Interpolate 2D Scattered uses triangulation which is fairly CPU intensive.

 

The most difficult part, (and the part that most of the CPU time is spent on) is defining the triangles.  Once the triangles are specified, the interpolation is fairly quick (and could possibly be done on an FPGA).  This is the same idea as using the scatteredInterpolant class in Matlab (see : http://www.mathworks.com/help/matlab/math/interpolating-scattered-data.html#bsow6g6-1 )

 

The Interpolate 2D Scattered function needs to be broken up into two pieces just like Spline Interpolant, Spline Interpolate are. 

 

 

 

2 Comments
altenbach
Knight of NI

Agreed.

 

Another possible solution would be to internally cache the output of intermediary functions if the inputs don't change, e.g. using a technique described here. Certain things could also be optimized directly. For example it seems that virtually all subVIs used inside the scattered interpolation have debugging enabled. Why???

Darren
Proven Zealot
Status changed to: Declined

Any idea that has received less than 3 kudos within 3 years after posting will be automatically declined.