# Get values of image within sphere spatial object

**URL:** https://discourse.itk.org/t/get-values-of-image-within-sphere-spatial-object/989
**Category:** Beginner Questions
**Created:** [June 9, 2018, 1:13pm UTC](https://discourse.itk.org/t/get-values-of-image-within-sphere-spatial-object/989 "2018-06-09T13:13:41Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![G\_Tom](https://discourse.itk.org/user_avatar/discourse.itk.org/g_tom/32/3019_2.png) [@G\_Tom](https://discourse.itk.org/u/G_Tom)
#### Post date: [June 9, 2018, 1:13pm UTC](https://discourse.itk.org/t/get-values-of-image-within-sphere-spatial-object/989/1 "2018-06-09T13:13:42Z")

</div>

Hi all,

Here is what I need,

I have and image , could be 2d or 3d, I want to extract all values of image lying in a spherical region defined by a spatial object sphere of given radius. Thanks
