splat-points
Splats a sparse set of points into an ndarray using a Dirichlet kernel. If you want some alternative kernel to filter them after the fact, you can apply a convolution to the resulting array as a post process.
Example
var ndarray = var splat = var zeros = var show = var points = var grid =
API
require('splat-points')(out, points[, weights, radius])
Splats a sparse set of points onto an array using a Dirichlet kernel.
out
is the array which is splatted ontopoints
is ann
-by-d
dimensional ndarray of pointsweights
is an array of weights (either an ndarray or a flat)radius
is the radius of the points to splat
Returns out
License
(c) 2015 Mikola Lysenko. MIT License