- Note
- SW Release Applicability: This tutorial is applicable to modules in both NVIDIA DriveWorks and NVIDIA DRIVE Software releases.
Workflow
The workflow of the connected components module is:
- Create connected components handle.
inputProps.
width = width;
inputProps.height = height;
- Create input and output images.
outputProps.
width = width;
outputProps.height = height;
dwImageHandle labelsImageHandle;
dwConnectedComponents_bindOutput(labelImage, ccl);
dwConnectedComponents_setThreshold
is a function to define threshold for image binarization. Pixels which values are below the specified threshold are considered to be background pixels.
For a demonstration of this workflow, see Connected Components Sample.