Table of Contents

Method UpsampleMultioutput

Namespace
OpenCvSharp.DnnSuperres
Assembly
OpenCvSharp.dll

UpsampleMultioutput(InputArray, out Mat[], IEnumerable<int>, IEnumerable<string>)

Upsample via neural network of multiple outputs

[SuppressMessage("Maintainability", "CA1508: Avoid dead conditional code")]
public void UpsampleMultioutput(InputArray img, out Mat[] imgsNew, IEnumerable<int> scaleFactors, IEnumerable<string> nodeNames)

Parameters

img InputArray

Image to upscale

imgsNew Mat[]

Destination upscaled images

scaleFactors IEnumerable<int>

Scaling factors of the output nodes

nodeNames IEnumerable<string>

Names of the output nodes in the neural network