InterpolationVarShapeWrap classes
- group InterpolationVarShapeWrap classes
-
template<typename T, NVCVBorderType B, NVCVInterpolationType I, bool ReadTapByValue = false>
class InterpolationVarShapeWrap : public nvcv::cuda::detail::InterpolationVarShapeWrapImpl<T, B, I, ReadTapByValue> - #include <InterpolationVarShapeWrap.hpp>
Interpolation var-shape wrapper class used to wrap a BorderVarShapeWrap adding interpolation handling to it.
This class wraps a BorderVarShapeWrap to add interpolation handling functionality. It provides the operator[] to do the same semantic value access in the wrapped BorderVarShapeWrap but interpolation aware.
See also
NVCV_CPP_CUDATOOLS_INTERPOLATIONVARSHAPEWRAPS
Note
Each interpolation wrap class below is specialized for one interpolation type.
- Template Parameters:
T – Type (it can be const) of each element inside the border var-shape wrapper.
B – Border extension used by the wrapped images.
I – It is a NVCVInterpolationType defining the interpolation type to be used.
ReadTapByValue – Whether to opt measured constant-border taps with at most three components into BorderVarShapeWrap::value. Wider elements retain reference reads; the tensor InterpolationWrap policy has no width clamp.
-
template<typename T, NVCVBorderType B, bool ReadTapByValue>
class InterpolationVarShapeWrap<T, B, NVCV_INTERP_NEAREST, ReadTapByValue> : public nvcv::cuda::detail::InterpolationVarShapeWrapImpl<T, B, NVCV_INTERP_NEAREST, ReadTapByValue> - #include <InterpolationVarShapeWrap.hpp>
Interpolation var-shape wrapper class specialized for NVCV_INTERP_NEAREST.
- Template Parameters:
T – Type (it can be const) of each element inside the border var-shape wrapper.
-
template<typename T, NVCVBorderType B, bool ReadTapByValue>
class InterpolationVarShapeWrap<T, B, NVCV_INTERP_LINEAR, ReadTapByValue> : public nvcv::cuda::detail::InterpolationVarShapeWrapImpl<T, B, NVCV_INTERP_LINEAR, ReadTapByValue> - #include <InterpolationVarShapeWrap.hpp>
Interpolation var-shape wrapper class specialized for NVCV_INTERP_LINEAR.
- Template Parameters:
T – Type (it can be const) of each element inside the border var-shape wrapper.
-
template<typename T, NVCVBorderType B, bool ReadTapByValue>
class InterpolationVarShapeWrap<T, B, NVCV_INTERP_CUBIC, ReadTapByValue> : public nvcv::cuda::detail::InterpolationVarShapeWrapImpl<T, B, NVCV_INTERP_CUBIC, ReadTapByValue> - #include <InterpolationVarShapeWrap.hpp>
Interpolation var-shape wrapper class specialized for NVCV_INTERP_CUBIC.
- Template Parameters:
T – Type (it can be const) of each element inside the border var-shape wrapper.
-
template<typename T, NVCVBorderType B, bool ReadTapByValue>
class InterpolationVarShapeWrap<T, B, NVCV_INTERP_AREA, ReadTapByValue> : public nvcv::cuda::detail::InterpolationVarShapeWrapImpl<T, B, NVCV_INTERP_AREA, ReadTapByValue> - #include <InterpolationVarShapeWrap.hpp>
Interpolation var-shape wrapper class specialized for NVCV_INTERP_AREA.
- Template Parameters:
T – Type (it can be const) of each element inside the border var-shape wrapper.
-
template<typename T, NVCVBorderType B, NVCVInterpolationType I, bool ReadTapByValue = false>