Automatically selecting areas of data and computing center

Dear everyone,
I have a slice of a 3d dataset on which I have applied a threshold, remaining with small islands/potatoes.
What I would like to do is to take each of these shapes, integrate it one by one to get the point of the center of the island, for each of them… Is it possible to do so in paraview 5.10? I tried a bunch of filters and looking online but I had no luck yet

You need to extract each of these island individually to do that. You could extract them by selecting them and using ExtractSelection.

Would there be a way to automatically select one of them and cycle trough all the islands?
Or it has to be done manually?

Using Connectivity filter would get you halfway there, you could then use a python script to extract each island automatically.

The connectivity filter solved my issue!! Thank you a lot

1 Like