I need to use the vtkImageConnectivityFilter, and I want to use the SetExtractionModeToSeededRegions method. But, I don’t know how to provide the seed (such as (50, 50)). Could somebody provide a demo?
For example:
the extent of input image is: x=[100 200], y=[100 200]
the seed is: [150 150]