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

Function LaplacianVarShape

python/mod_cvcuda/operators/OpLaplacian.cpp:83–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83ImageBatchVarShape LaplacianVarShape(ImageBatchVarShape &input, Tensor &ksize, Tensor &scale, NVCVBorderType border,
84 std::optional<Stream> pstream)
85{
86 ImageBatchVarShape output = ImageBatchVarShape::Create(input.numImages());
87
88 for (int i = 0; i < input.numImages(); ++i)
89 {
90 nvcv::ImageFormat format = input[i].format();
91 nvcv::Size2D size = input[i].size();
92 auto image = Image::Create(size, format);
93 output.pushBack(image);
94 }
95
96 return LaplacianVarShapeInto(output, input, ksize, scale, border, pstream);
97}
98
99} // namespace
100

Callers

nothing calls this directly

Calls 5

LaplacianVarShapeIntoFunction · 0.85
numImagesMethod · 0.45
formatMethod · 0.45
sizeMethod · 0.45
pushBackMethod · 0.45

Tested by

no test coverage detected