[SciPy-User] ND interpolation with Qhull

Pauli Virtanen pav at iki.fi
Wed Jun 8 07:06:56 EDT 2011


Hi,

ke, 2011-06-08 kello 03:47 -0700, denis kirjoitti:
> A trick for smoothing barycentric interpolation is to warp big
> coefficients toward 1,
> so that each vertex Vj attracts nearby X more strongly:
> 
>     In: X = sum cj Vj, inside hull of Vj
>         Zj = value at Vj
>     Out: sum( warp(cj) Zj ) / sum( warp(cj) )
>         instead of sum( cj Zj )

Yeah, you can smooth things inside the triangle. However, you will still
get only C0 continuity, as there are discontinuities in the gradient at
the triangle boundaries. Of course, whether this matters depends on the
problem.

	Pauli





More information about the SciPy-User mailing list