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
algostringString containing one of the desired models: - edsr - espcn - fsrcnn - lapsrn
scaleintInteger 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
ptrnint