Module: tfg.math.interpolation.bspline
Stay organized with collections
Save and categorize content based on your preferences.
Tensorflow.graphics B-spline interpolation module.
This module supports cardinal B-spline interpolation up to degree 4, with up
to C3 smoothness. It has functions to calculate basis functions, control point
weights, and the final interpolation.
Classes
class Degree
: Defines valid degrees for B-spline interpolation.
Functions
interpolate(...)
: Applies B-spline interpolation to input control points (knots).
interpolate_with_weights(...)
: Interpolates knots using knot weights.
knot_weights(...)
: Function that converts cardinal B-spline positions to knot weights.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-09-11 UTC.
[null,null,["Last updated 2020-09-11 UTC."],[],[],null,["# Module: tfg.math.interpolation.bspline\n\n\u003cbr /\u003e\n\n|-------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/graphics/blob/master/tensorflow_graphics/math/interpolation/bspline.py) |\n\nTensorflow.graphics B-spline interpolation module.\n\nThis module supports cardinal B-spline interpolation up to degree 4, with up\nto C3 smoothness. It has functions to calculate basis functions, control point\nweights, and the final interpolation.\n\nClasses\n-------\n\n[`class Degree`](../../../tfg/math/interpolation/bspline/Degree): Defines valid degrees for B-spline interpolation.\n\nFunctions\n---------\n\n[`interpolate(...)`](../../../tfg/math/interpolation/bspline/interpolate): Applies B-spline interpolation to input control points (knots).\n\n[`interpolate_with_weights(...)`](../../../tfg/math/interpolation/bspline/interpolate_with_weights): Interpolates knots using knot weights.\n\n[`knot_weights(...)`](../../../tfg/math/interpolation/bspline/knot_weights): Function that converts cardinal B-spline positions to knot weights."]]