Table of Contents

Constructor DnnSuperResImpl

Namespace
OpenCvSharp.DnnSuperres
Assembly
OpenCvSharp.dll

DnnSuperResImpl()

Default constructor

public DnnSuperResImpl()

DnnSuperResImpl(string, int)

Constructor which immediately sets the desired model

public DnnSuperResImpl(string algo, int scale)

Parameters

algo string

String containing one of the desired models: - edsr - espcn - fsrcnn - lapsrn

scale int

Integer specifying the upscale factor

DnnSuperResImpl(nint)

Constructor (backward compatibility). Wraps the pointer in a non-owning SafeHandle. Derived classes that own the native resource should call SetSafeHandle(OpenCvSafeHandle) to replace it with an owning handle.

protected DnnSuperResImpl(nint ptr)

Parameters

ptr nint