Resample using sinc kernels
npm install ndarray-resamplendarray-resample
================
Resamples an ndarray by an arbitrary (rational) factor using a sinc kernel.

``javascript`
var baboon = require("luminance")(require("baboon-image"))
var x = require("zeros")([256,256])
require("ndarray-resample")(x, baboon)
require("save-pixels")(x, "png").pipe(process.stdout)
#### Output
!Output
##Install
Install using npm:
npm install ndarray-resample
Resamples input by a factor of output.shape/input.shape, storing the result in output (this also means the factor can differ per dimension).*
output gets the result of resampling
* input is the array that gets resampled
* clamp_lo is a threshold placed on the pixels
* clamp_hi` is an upper threhsold placed on the pixelsNote that the pixel at the "origin" in the output corresponds to the pixel at the origin in the input. Also, the boundary conditions are periodic (for now).