Function cvcudaCenterCropCreate

Function Documentation

NVCVStatus cvcudaCenterCropCreate(NVCVOperatorHandle *handle)

Constructs and an instance of the CenterCrop operator.

Parameters:

handle[out] Where the image instance handle will be written to.

  • Must not be NULL.

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.