ndarray-homography
Applies a homography to an ndarray.
Example
var imshow = var baboon = var luminance = var applyHomography = var scratch = var baboonGrey =
Install
npm install ndarray-homography
API
require('ndarray-homography')(dest, src, M)
Applies a homography to an ndarray.
dest
is a destination image, which has the same size as the input imagesrc
is the input imageM
is a homography encoded as a flattened matrix in column major order (consistent with OpenGL's format)
Returns dest
Credits
(c) 2014 Mikola Lysenko. MIT License