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

Function AdaptiveThreshold

python/mod_cvcuda/operators/OpAdaptiveThreshold.cpp:54–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54Tensor AdaptiveThreshold(Tensor &input, double max_value, NVCVAdaptiveThresholdType adaptive_method,
55 NVCVThresholdType threshold_type, int32_t block_size, double c, std::optional<Stream> pstream)
56{
57 Tensor output = Tensor::Create(input.shape(), input.dtype());
58
59 return AdaptiveThresholdInto(output, input, max_value, adaptive_method, threshold_type, block_size, c, pstream);
60}
61
62ImageBatchVarShape AdaptiveThresholdVarShapeInto(ImageBatchVarShape &output, ImageBatchVarShape &input,
63 Tensor &max_value, NVCVAdaptiveThresholdType adaptive_method,

Callers

nothing calls this directly

Calls 3

AdaptiveThresholdIntoFunction · 0.85
shapeMethod · 0.45
dtypeMethod · 0.45

Tested by

no test coverage detected