46#ifndef DW_IMAGEPROCESSING_FEATURE_DESCRIPTOR_H_
47#define DW_IMAGEPROCESSING_FEATURE_DESCRIPTOR_H_
137 cudaStream_t cudaStream,
NVIDIA DriveWorks API: Feature Array and Feature History Array
NVIDIA DriveWorks API: Pyramid
NVIDIA DriveWorks API: Core Types
NVIDIA DriveWorks API: Core Methods
NVIDIA DriveWorks API: Core Exports
struct dwContextObject * dwContextHandle_t
Context handle.
dwStatus
Status definition.
dwProcessorType
Processor type definitions.
dwProcessorType processorType
for DW_FEATURE2D_DESCRIPTOR_ALGORITHM_ORB only set to DW_PROCESSOR_TYPE_PVA_0 to call PVA orb descrip...
uint32_t imageWidth
Width of the images that the Descriptor runs on.
uint32_t maxFeatureCount
Upper bound on number of features handled.
dwFeature2DDescriptorAlgorithm algorithm
Detecting algorithm defined by dwFeature2DDescriptorType
uint32_t imageHeight
Height of the images that the descriptor runs on.
dwFeature2DDescriptorStage
The stage of feature descriptor.
DW_API_PUBLIC dwStatus dwFeature2DDescriptor_bindOutput(dwFeatureDescriptorArray *outputDescriptors, dwFeature2DDescriptorHandle_t obj)
Binds output dwFeatureDescriptorArray to descriptor object.
struct dwFeature2DDescriptorObject * dwFeature2DDescriptorHandle_t
Handle representing a feature descriptor.
DW_API_PUBLIC dwStatus dwFeature2DDescriptor_bindInputBuffers(dwImageHandle_t image, dwFeatureArray *features, dwFeature2DDescriptorHandle_t obj)
Binds input parameters to descriptor object.
DW_API_PUBLIC dwStatus dwFeature2DDescriptor_release(dwFeature2DDescriptorHandle_t obj)
Releases the feature descriptor.
dwFeature2DDescriptorAlgorithm
Feature descriptor algorithm.
DW_API_PUBLIC dwStatus dwFeature2DDescriptor_getCUDAStream(cudaStream_t *stream, dwFeature2DDescriptorHandle_t obj)
Gets the CUDA stream used by the feature descriptor.
DW_API_PUBLIC dwStatus dwFeature2DDescriptor_processImage(dwFeature2DDescriptorStage stage, dwFeature2DDescriptorHandle_t obj)
Do detections on the image bound by dwFeature2DDescriptor_bindInputImage, output will be written to d...
struct dwFeature2DDescriptorObject const * dwConstFeature2DDescriptorHandle_t
Handle representing a const feature descriptor.
DW_API_PUBLIC dwStatus dwFeature2DDescriptor_initDefaultParams(dwFeature2DDescriptorConfig *params)
Initializes dwFeature2DDescriptor parameters with default values.
DW_API_PUBLIC dwStatus dwFeature2DDescriptor_initialize(dwFeature2DDescriptorHandle_t *obj, const dwFeature2DDescriptorConfig *config, cudaStream_t cudaStream, dwContextHandle_t context)
Creates and initializes a feature descriptor.
DW_API_PUBLIC dwStatus dwFeature2DDescriptor_setCUDAStream(cudaStream_t stream, dwFeature2DDescriptorHandle_t obj)
Sets the CUDA stream for CUDA related operations.
DW_API_PUBLIC dwStatus dwFeature2DDescriptor_reset(dwFeature2DDescriptorHandle_t obj)
Resets a feature descriptor.
@ DW_FEATURE2D_DESCRIPTOR_STAGE_CPU_SYNC
@ DW_FEATURE2D_DESCRIPTOR_STAGE_GPU_ASYNC
@ DW_FEATURE2D_DESCRIPTOR_STAGE_PVA_ASYNC
@ DW_FEATURE2D_DESCRIPTOR_STAGE_CPU_SYNC_POSTPROCESS
@ DW_FEATURE2D_DESCRIPTOR_STAGE_GPU_ASYNC_POSTPROCESS
Process the postprocess part of the feature descriptor pipeline on CPU.
@ DW_FEATURE2D_DESCRIPTOR_ALGORITHM_ORB
ORB descriptor.
@ DW_FEATURE2D_DESCRIPTOR_ALGORITHM_COUNT
Holds configuration parameters for a feature descriptor.
struct dwImageObject * dwImageHandle_t
NVIDIA DriveWorks API: Image Conversion and Streaming Functionality