46#ifndef DW_IMAGEPROCESSING_CONNECTED_COMPONENTS_H_
47#define DW_IMAGEPROCESSING_CONNECTED_COMPONENTS_H_
DW_API_PUBLIC dwStatus dwConnectedComponents_release(dwConnectedComponentsHandle_t ccl)
Releases connected components object.
DW_API_PUBLIC dwStatus dwConnectedComponents_setCUDAStream(cudaStream_t stream, dwConnectedComponentsHandle_t ccl)
Specifies CUDA stream where kernels are executed.
DW_API_PUBLIC dwStatus dwConnectedComponents_initialize(dwConnectedComponentsHandle_t *ccl, dwImageProperties const *inputDesc, dwContextHandle_t context)
Initializes connected components.
DW_API_PUBLIC dwStatus dwConnectedComponents_initializeMinimal(dwConnectedComponentsHandle_t *ccl, dwImageProperties const *inputDesc, dwContextHandle_t context)
Initialize the module with limited functionality to produce connected components within local tiles.
DW_API_PUBLIC dwStatus dwConnectedComponents_process(dwConnectedComponentsHandle_t ccl)
Performs image labeling.
struct dwConnectedComponentsObject * dwConnectedComponentsHandle_t
A pointer to the opaque handle for Connected Components.
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.
DW_API_PUBLIC dwStatus dwConnectedComponents_reset(dwConnectedComponentsHandle_t ccl)
Performs reset of connected components object.
struct dwConnectedComponentsObject *const dwConstConnectedComponentsHandle_t
A constant pointer to the opaque handle for Connected Components.
DW_API_PUBLIC dwStatus dwConnectedComponents_bindInput(dwImageCUDA const *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.
struct dwContextObject * dwContextHandle_t
Context handle.
dwStatus
Status definition.
Defines the properties of the image.
NVIDIA DriveWorks API: Image Conversion and Streaming Functionality