Project a scalar field locally onto a 2nd-order polynomial approximation, represented by a matrix field + vector field + scalar field.
Project a scalar field locally onto a 2nd-order polynomial approximation, represented by a matrix field + vector field + scalar field. The basis set consists of the following 2-dimensional functions:
1, x, y, x*x, x*y, y*y.
This is based on Gunnar Farneback's dissertation.
Scalar field to be projected onto polynomial expansion.
(matrix field, vector field) of the expansion.
Local polynomial expansion of a scalar field.
use libcog.filters.spatial.QuadraticExpansion.apply() instead