Enum LUTInterpolationMode
- Namespace
- VisioForge.Core.Types.X.VideoEffects
- Assembly
- VisioForge.Core.dll
Specifies the method used for interpolating values between defined points in a 3D space. Each method offers different trade-offs between computational complexity, accuracy, and smoothness.
public enum LUTInterpolationModeFields
Nearest = 0-
Uses values from the nearest defined point without any actual interpolation. Fastest method but produces discontinuous results at boundaries between regions. Best used when computational speed is critical and discontinuities are acceptable.
Trilinear = 1-
Interpolates values using all 8 vertices of the surrounding cube. Performs three linear interpolations along each axis, hence "trilinear". Produces continuous results but may show artifacts at sharp transitions. Computational complexity: O(8) - requires 7 linear interpolations.
Tetrahedral = 2-
Interpolates using 4 points forming a tetrahedron within the cube. Divides the cube into 5-6 tetrahedra and selects the appropriate one. Provides better handling of diagonal gradients compared to trilinear. Computational complexity: O(4) - requires 3 linear interpolations.
Pyramid = 3-
Interpolates using 5 points forming a pyramid within the cube. Combines aspects of tetrahedral and trilinear methods. Good balance between accuracy and computational cost. Computational complexity: O(5) - requires 4 linear interpolations.
Prism = 4-
Interpolates using 6 points forming a triangular prism within the cube. Useful for datasets with strong directional bias. Better preservation of sharp features along one primary axis. Computational complexity: O(6) - requires 5 linear interpolations.