The BinaryImageToLabelMap filter does a similar operation to the ConnectedComponents filter but produces a LabelMap type image.
There are a set of filters in ITK/SimpleITK that end in “LabelMapFilter” that operate on label maps. These can be very efficient for relabling, selecting and other supported LabelMap operations.