MCPcopy Create free account
hub / github.com/CVCUDA/CV-CUDA / WarpPerspective

Function WarpPerspective

python/mod_cvcuda/operators/OpWarpPerspective.cpp:75–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75Tensor WarpPerspective(Tensor &input, const pyarray &xform, const int32_t flags, const NVCVBorderType borderMode,
76 const pyarray &borderValue, std::optional<Stream> pstream)
77{
78 Tensor output = Tensor::Create(input.shape(), input.dtype());
79
80 return WarpPerspectiveInto(output, input, xform, flags, borderMode, borderValue, pstream);
81}
82
83ImageBatchVarShape WarpPerspectiveVarShapeInto(ImageBatchVarShape &output, ImageBatchVarShape &input, Tensor &xform,
84 const int32_t flags, const NVCVBorderType borderMode,

Callers

nothing calls this directly

Calls 3

WarpPerspectiveIntoFunction · 0.85
shapeMethod · 0.45
dtypeMethod · 0.45

Tested by

no test coverage detected