I am wondering if I can use Label Maps to get simple stats of my connected components.
I have a binary image
img and I have done this:
cc = sitk.ConnectedComponentImageFilter() img2 = cc.Execute(img)
This gives me an image with labels.
How can I then use Label Maps to select specific components, count the number of pixels etc. Moreover, is that the purpose of label maps?