48 #ifndef DW_CLUSTERER_H_ 49 #define DW_CLUSTERER_H_ 154 const uint32_t* boxesCount, dwClustererHandle_t obj);
168 uint32_t* clusterCount, dwClustererHandle_t obj);
174 #endif // DW_CLUSTERER_H_ DW_API_PUBLIC dwStatus dwClusterer_process(dwClustererHandle_t obj)
Runs DBScan clusterer on given bounding boxes and returns labels for each bounding box in the same or...
NVIDIA DriveWorks API: Core Types
DW_API_PUBLIC dwStatus dwClusterer_bindInput(const dwRectf *const *boxes, const float32_t *const *weights, const uint32_t *boxesCount, dwClustererHandle_t obj)
Binds the input for clusterer.
float float32_t
Specifies POD types.
DW_API_PUBLIC dwStatus dwClusterer_reset(dwClustererHandle_t obj)
Resets the Clusterer module.
NVIDIA DriveWorks API: Core Methods
DW_API_PUBLIC dwStatus dwClusterer_bindOutput(int32_t **clusterLabels, uint32_t *clusterLabelsCount, uint32_t *clusterCount, dwClustererHandle_t obj)
Bind the ouput of the clusterer to list of cluster labels.
NVIDIA DriveWorks API: Image Conversion and Streaming Functionality
float32_t epsilon
Maximum distance from the core box to be considered within a region. Default value is 0...
dwStatus
Status definition.
DW_API_PUBLIC dwStatus dwClusterer_release(dwClustererHandle_t obj)
Releases the Clusterer module.
uint32_t minSamples
Minimum number of samples required to form a dense region.
DW_API_PUBLIC dwStatus dwClusterer_initParams(dwClustererParams *clustererParams)
Initializes Clusterer parameters with default values.
uint32_t maxSampleCount
Maximum number of samples that will be given as input. Default value is 100.
struct dwContextObject * dwContextHandle_t
Context handle.
struct dwClustererObject * dwClustererHandle_t
Handle to a Clusterer.
DW_API_PUBLIC dwStatus dwClusterer_initialize(dwClustererHandle_t *obj, const dwClustererParams *clustererParams, dwContextHandle_t ctx)
Initializes a Clusterer module.
float32_t minSumOfWeights
Minimum sum of weights required to form a dense region.