45 #ifndef DW_OBJECT_CLUSTERING_H__ 46 #define DW_OBJECT_CLUSTERING_H__ 161 size_t numDetections, dwObjectClusteringHandle_t obj);
171 dwObjectClusteringHandle_t obj);
181 dwObjectClusteringHandle_t obj);
224 #endif // DW_OBJECT_CLUSTERING_H__ dwBool enable2_5D
Take the 2.5D fields (horizontalVisibility, bottomVisibility, orientationYaw) into account when clust...
NVIDIA DriveWorks API: Core Types
DW_API_PUBLIC dwStatus dwObjectClustering_setDBScanParameters(const dwDBScanClusteringParams *dbscanParams, dwObjectClusteringHandle_t obj)
Sets DBScan clustering parameters.
float float32_t
Specifies POD types.
uint32_t maxProposals
Maximum number of object proposals that is given at once for clustering. Default value is 100...
DW_API_PUBLIC dwStatus dwObjectClustering_initialize(dwObjectClusteringHandle_t *obj, dwContextHandle_t ctx, const dwObjectClusteringParams *clusteringParams)
Initializes an ObjectClustering module.
DW_API_PUBLIC dwStatus dwObjectClustering_enableATHR(dwBool enable, dwObjectClusteringHandle_t obj)
Enables or disables Area-To-Hit-Ratio filtering.
dwObjectClusteringAlgorithm algorithm
Clustering algorithm. Default value is DW_CLUSTERING_DBSCAN.
DW_API_PUBLIC dwStatus dwObjectClustering_getDBScanParameters(dwDBScanClusteringParams *dbscanParams, dwObjectClusteringHandle_t obj)
Returns current DBScan clustering parameters.
uint32_t maxClusters
Maximum number of clusters (if clusters exceed this number, they are truncated). Default value is 100...
DW_API_PUBLIC dwStatus dwObjectClustering_getATHRThreshold(float32_t *threshold, dwObjectClusteringHandle_t obj)
Returns current Area-To-Hit-Ratio threshold.
NVIDIA DriveWorks API: Core Methods
DW_API_PUBLIC dwStatus dwObjectClustering_cluster(dwObject *clusters, size_t *numClusters, const dwObject *detections, size_t numDetections, dwObjectClusteringHandle_t obj)
Performs clustering.
DW_API_PUBLIC dwStatus dwObjectClustering_initDefaultParams(dwObjectClusteringParams *clusteringParams)
Initializes ObjectClustering parameters with default values.
dwDBScanClusteringParams dbScanClusteringParams
DBScan clustering parameters.
dwObjectClusteringAlgorithm
dwStatus
Status definition.
DW_API_PUBLIC dwStatus dwObjectClustering_isATHREnabled(dwBool *enabled, dwObjectClusteringHandle_t obj)
Returns a boolean indicating whether Area-To-Hit-Ratio filtering is enabled.
float32_t minSumOfConfidences
Minimum sum of confidences required to form a dense region.
float32_t thresholdATHR
Area to hit ratio threshold. Default value is 60.
float32_t minHeight
Minimum required clustered object height.
float32_t epsilon
Maximum distance from the core box to be considered within a region. Default value is 0...
dwBool enableATHRFilter
Boolean indicating whether Area-To-Hit-Ratio filter is enabled.
struct dwContextObject * dwContextHandle_t
Context handle.
NVIDIA DriveWorks API: Object Methods
DW_API_PUBLIC dwStatus dwObjectClustering_release(dwObjectClusteringHandle_t *obj)
Release ObjectClustering.
uint32_t minBoxes
Minimum number of boxes required to form a dense region.
DW_API_PUBLIC dwStatus dwObjectClustering_reset(dwObjectClusteringHandle_t obj)
Resets ObjectClustering.
DW_API_PUBLIC dwStatus dwObjectClustering_setATHRThreshold(float32_t threshold, dwObjectClusteringHandle_t obj)
Sets Area-To-Hit-Ratio threshold.
struct dwObjectClusteringObject * dwObjectClusteringHandle_t
Handle to an ObjectClustering.