Function cvcudaSIFTCreate
Defined in File OpSIFT.h
Function Documentation
-
NVCVStatus cvcudaSIFTCreate(NVCVOperatorHandle *handle, int3 maxShape, int maxOctaveLayers)
Constructs and an instance of the SIFT operator.
- Parameters:
handle – [out] Where the operator instance handle will be written to.
Must not be NULL.
maxShape – [in] Maximum shape of input tensor images as WxHxN, i.e. x=W y=H z=N of int3, where W=width, H=height and N=samples, or number of images in tensor.
N (z coordinate) must be >= 1 and <= 65535.
W and H (x and y) must be >= 2, and they must take into account if the input is to be expanded during execution time, NVCVSIFTFlagType.
maxOctaveLayers – [in] Maximum layers per octave to be used by the operator, an octave is a level in the Gaussian pyramid containing input scale-space layers in the SIFT algorithm.
It must be >= 1 and <= 16.
- Return values:
NVCV_ERROR_INVALID_ARGUMENT – Handle is null.
NVCV_ERROR_INVALID_ARGUMENT – An argument is outside valid range.
NVCV_ERROR_OUT_OF_MEMORY – Not enough memory to create the operator.
NVCV_SUCCESS – Operation executed successfully.