I am using this filter in a 3D image. I am wondering if others have noticed the O(n^3) (or thereabouts) nature of this filter and if they have found a different way.

It seems to apply labels by a search across the entire output space space for each voxel in the input space, and for a large 3D image that is taking an extraordinary amount of time.

Any tips welcome.


1 Like

I’m investigating this further, and can’t find any documentation ( beyond doxygen).

Does anyone know what this filter does? I’m looking at someone else’s code from over 2 years ago. It seems to block the output image into labeled segments, but I’m not sure the how and why.