# Automatically selecting areas of data and computing center

**URL:** https://discourse.paraview.org/t/automatically-selecting-areas-of-data-and-computing-center/9150
**Category:** ParaView Support
**Created:** [March 9, 2022, 5:31pm UTC](https://discourse.paraview.org/t/automatically-selecting-areas-of-data-and-computing-center/9150 "2022-03-09T17:31:07Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![s195t](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/54ee81/32.png) [@s195t](https://discourse.paraview.org/u/s195t)
#### Post date: [March 9, 2022, 5:31pm UTC](https://discourse.paraview.org/t/automatically-selecting-areas-of-data-and-computing-center/9150/1 "2022-03-09T17:31:07Z")

</div>

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

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [March 10, 2022, 9:23am UTC](https://discourse.paraview.org/t/automatically-selecting-areas-of-data-and-computing-center/9150/2 "2022-03-10T09:23:14Z")

</div>

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

---

<div class="post-metadata">

### Author: ![s195t](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/54ee81/32.png) [@s195t](https://discourse.paraview.org/u/s195t)
#### Post date: [March 10, 2022, 9:49am UTC](https://discourse.paraview.org/t/automatically-selecting-areas-of-data-and-computing-center/9150/3 "2022-03-10T09:49:58Z")

</div>

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

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [March 10, 2022, 9:53am UTC](https://discourse.paraview.org/t/automatically-selecting-areas-of-data-and-computing-center/9150/4 "2022-03-10T09:53:04Z")

</div>

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

---

<div class="post-metadata">

### Author: ![s195t](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/54ee81/32.png) [@s195t](https://discourse.paraview.org/u/s195t)
#### Post date: [March 10, 2022, 10:48am UTC](https://discourse.paraview.org/t/automatically-selecting-areas-of-data-and-computing-center/9150/5 "2022-03-10T10:48:12Z")

</div>

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