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

Function Morphology

python/mod_cvcuda/operators/OpMorphology.cpp:71–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71Tensor Morphology(Tensor &input, NVCVMorphologyType morph_type, const std::tuple<int, int> &maskSize,
72 const std::tuple<int, int> &anchor, std::optional<Tensor> workspace, int32_t iteration,
73 NVCVBorderType border, std::optional<Stream> pstream)
74{
75 Tensor output = Tensor::Create(input.shape(), input.dtype());
76
77 return MorphologyInto(output, input, morph_type, maskSize, anchor, workspace, iteration, border, pstream);
78}
79
80ImageBatchVarShape MorphologyVarShapeInto(ImageBatchVarShape &output, ImageBatchVarShape &input,
81 NVCVMorphologyType morph_type, Tensor &masks, Tensor &anchors,

Callers

nothing calls this directly

Calls 3

MorphologyIntoFunction · 0.85
shapeMethod · 0.45
dtypeMethod · 0.45

Tested by

no test coverage detected