Function nvcv::TensorWrapImage

Function Documentation

inline Tensor nvcv::TensorWrapImage(const Image &img)

Wraps an image into a tensor object.

Parameters:

imgImage to be wrapped.

Returns:

A tensor object wrapping the given image.