Hi! it seems the filter itkRelabelComponentImageFilter lacks a m_relabelMap.clear(); m_relabelMapInverse.clear(); at the beginning of GenerateData in order to be able to use the filter more than once. Camille.