# How to select specific tetrahedron cells from mesh

**URL:** <https://discourse.slicer.org/t/how-to-select-specific-tetrahedron-cells-from-mesh/7716>\
**Category:** Development\
**Created:** [July 23, 2019, 3:44am UTC](https://discourse.slicer.org/t/how-to-select-specific-tetrahedron-cells-from-mesh/7716 "2019-07-23T03:44:21Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![Saima](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@Saima](https://discourse.slicer.org/u/Saima)\
**Post date:** [February 25, 2021, 6:30am UTC](https://discourse.slicer.org/t/how-to-select-specific-tetrahedron-cells-from-mesh/7716/12 "2021-02-25T06:30:21Z")

</div>

Hi Andras,  
Could you please see the post

> [@Select nearest neighbour voxels using some voxels as reference?](https://discourse.slicer.org/t/select-nearest-neighbour-voxels-using-some-voxels-as-reference/16175):
>
> Hi, Is there a possibility to select nearest neighbor voxels in an MRI based on the label-map. For-example I have the voxels based on some label. then I need to find nearest neighbour voxels that dont belong to voxels identified through label. I found this import numpy volume = array(‘Volume’) label = array(‘Volume-label’) points = numpy.where( label == 1 ) # or use another label number depending on what you segmented values = volume[points] # this will be a list of the label values v…

I created it seperately as I could not find any thing related to it on the forum.

Thank you

Regards,  
Saima Safdar

---

_[View the full topic](https://discourse.slicer.org/t/how-to-select-specific-tetrahedron-cells-from-mesh/7716)._
