I’ve got a binary image (a thresholded head MR) for which I want to obtain the connected components. I see there are two filters that look plausible:
- ITK: itk::ConnectedComponentImageFilter< TInputImage, TOutputImage, TMaskImage > Class Template Reference
- ITK: itk::HardConnectedComponentImageFilter< TInputImage, TOutputImage > Class Template Reference
The first one says that the filter “experiments with some improvements to the existing implementation”. How experimental is it? Is the “existing implementation” still available in 5.3? If so, which filter? Is it more reliable?
I read the descriptions on the above pages but I can’t work out how to choose between the two filters. Are there use cases where one or the other is better suited?