Back to Aurora Vision Deep Learning website

You are here: Start » Computer Vision » Deep Learning » ConvertTensorToImage

ConvertTensorToImage


Header: AVLDL.h
Namespace: avl
Module: DeepLearning

Converts a NHWC tensor to an image. Only data for N equal to 0 is converted.

Syntax

C++
C#
 
void avl::ConvertTensorToImage
(
	const avl::Tensor& inTensor,
	avl::Image& outImage
)

Parameters

Name Type Default Description
Input value inTensor const Tensor&
Output value outImage Image& Output image

Errors

List of possible exceptions:

Error type Description
DomainError inTensor must be 4-dimensional.
DomainError inTensor must have NHWC ordering.