Function cvcudaAdaptiveThresholdCreate
Defined in File OpAdaptiveThreshold.h
Function Documentation
-
NVCVStatus cvcudaAdaptiveThresholdCreate(NVCVOperatorHandle *handle, int32_t maxBlockSize, int32_t maxVarShapeBatchSize)
Constructs an instance of the adaptive threshold.
- Parameters:
handle – [out] Where the image instance handle will be written to.
Must not be NULL.
maxBlockSize – [in] The maximum block size that will be used by the operator.
Positive value.
maxVarShapeBatchSize – [in] The maximum batch size that will be used by the var-shape operator.
Positive value.
- Return values:
NVCV_ERROR_INVALID_ARGUMENT – Handle is null.
NVCV_ERROR_OUT_OF_MEMORY – Not enough memory to create the operator.
NVCV_SUCCESS – Operation executed successfully.