The workflow of the connected components module is:
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.