InterpolationVarShapeWrap classes

group NVCV_CPP_CUDATOOLS_INTERPOLATIONVARSHAPEWRAP
template<typename T, NVCVBorderType B, NVCVInterpolationType I>
class InterpolationVarShapeWrap : public nvcv::cuda::detail::InterpolationVarShapeWrapImpl<T, B, I>
#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.

  • I – It is a NVCVInterpolationType defining the interpolation type to be used.

template<typename T, NVCVBorderType B>
class InterpolationVarShapeWrap<T, B, NVCV_INTERP_NEAREST> : public nvcv::cuda::detail::InterpolationVarShapeWrapImpl<T, B, NVCV_INTERP_NEAREST>
#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>
class InterpolationVarShapeWrap<T, B, NVCV_INTERP_LINEAR> : public nvcv::cuda::detail::InterpolationVarShapeWrapImpl<T, B, NVCV_INTERP_LINEAR>
#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>
class InterpolationVarShapeWrap<T, B, NVCV_INTERP_CUBIC> : public nvcv::cuda::detail::InterpolationVarShapeWrapImpl<T, B, NVCV_INTERP_CUBIC>
#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>
class InterpolationVarShapeWrap<T, B, NVCV_INTERP_AREA> : public nvcv::cuda::detail::InterpolationVarShapeWrapImpl<T, B, NVCV_INTERP_AREA>
#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.