Package boofcv.alg.distort.kanbra
Class KannalaBrandtUtils_F64
java.lang.Object
boofcv.alg.distort.kanbra.KannalaBrandtUtils_F64
Common functions for computing the forward and inverse model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic double
polynomial
(double[] coefs, double x) static double
polynomialDerivative
(double[] coefs, double x) static double
polytrig
(double[] coefs, double cos, double sin) static double
polytrigDerivative
(double[] coefs, double cos, double sin) static void
polytrigGradient
(double cos, double sin, double[] gradient) Computes the gradient as a function of the coefficients
-
Constructor Details
-
KannalaBrandtUtils_F64
public KannalaBrandtUtils_F64()
-
-
Method Details
-
polynomial
public static double polynomial(double[] coefs, double x) -
polytrig
public static double polytrig(double[] coefs, double cos, double sin) -
polytrigGradient
public static void polytrigGradient(double cos, double sin, double[] gradient) Computes the gradient as a function of the coefficients -
polynomialDerivative
public static double polynomialDerivative(double[] coefs, double x) -
polytrigDerivative
public static double polytrigDerivative(double[] coefs, double cos, double sin)
-