46 #ifndef DW_IMAGEPROCESSING_CONNECTED_COMPONENTS_H_ 47 #define DW_IMAGEPROCESSING_CONNECTED_COMPONENTS_H_ 110 dwConnectedComponentsHandle_t ccl);
124 dwConnectedComponentsHandle_t ccl);
175 #endif // DW_IMAGEPROCESSING_CONNECTED_COMPONENTS_H_ DW_API_PUBLIC dwStatus dwConnectedComponents_release(dwConnectedComponentsHandle_t ccl)
Releases connected components object.
DW_API_PUBLIC dwStatus dwConnectedComponents_bindInput(const dwImageCUDA *image, dwConnectedComponentsHandle_t ccl)
Specifies input image to be processed.
DW_API_PUBLIC dwStatus dwConnectedComponents_getCUDAStream(cudaStream_t *stream, dwConnectedComponentsHandle_t ccl)
Returns CUDA stream where kernels are executed.
NVIDIA DriveWorks API: Image Conversion and Streaming Functionality
DW_API_PUBLIC dwStatus dwConnectedComponents_initialize(dwConnectedComponentsHandle_t *ccl, const dwImageProperties *inputDesc, dwContextHandle_t context)
Initializes connected components.
struct dwConnectedComponentsObject * dwConnectedComponentsHandle_t
A pointer to the opaque handle for Connected Components.
struct dwConnectedComponentsObject *const dwConstConnectedComponentsHandle_t
A constant pointer to the opaque handle for Connected Components.
dwStatus
Status definition.
DW_API_PUBLIC dwStatus dwConnectedComponents_reset(dwConnectedComponentsHandle_t ccl)
Performs reset of connected components object.
DW_API_PUBLIC dwStatus dwConnectedComponents_bindOutputLabels(dwImageCUDA *labels, dwConnectedComponentsHandle_t ccl)
Specifies output label image for ccl algorithm.
DW_API_PUBLIC dwStatus dwConnectedComponents_setThreshold(uint8_t threshold, dwConnectedComponentsHandle_t ccl)
Specifies threshold to binarize input image.
struct dwContextObject * dwContextHandle_t
Context handle.
DW_API_PUBLIC dwStatus dwConnectedComponents_setCUDAStream(cudaStream_t stream, dwConnectedComponentsHandle_t ccl)
Specifies CUDA stream where kernels are executed.
DW_API_PUBLIC dwStatus dwConnectedComponents_process(dwConnectedComponentsHandle_t ccl)
Performs image labeling.
Defines the properties of the image.