# How to extract depth values for particular \[x ,y\] coordinate depth\_value = depth\_map\_np\[y\]\[x\]

**URL:** <https://community.stereolabs.com/t/how-to-extract-depth-values-for-particular-x-y-coordinate-depth-value-depth-map-np-y-x/2454>\
**Category:** Python\
**Tags:** python, sdk, depth\
**Created:** [April 13, 2023, 9:12am UTC](https://community.stereolabs.com/t/how-to-extract-depth-values-for-particular-x-y-coordinate-depth-value-depth-map-np-y-x/2454 "2023-04-13T09:12:30Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![SL-PY](https://community.stereolabs.com/user_avatar/community.stereolabs.com/sl-py/32/3_2.png) [@SL-PY](https://community.stereolabs.com/u/SL-PY)\
**Post date:** [April 14, 2023, 12:00pm UTC](https://community.stereolabs.com/t/how-to-extract-depth-values-for-particular-x-y-coordinate-depth-value-depth-map-np-y-x/2454/4 "2023-04-14T12:00:12Z")

</div>

> [@Extract point cloud data of particular detection and removing background point cloud](https://community.stereolabs.com/t/extract-point-cloud-data-of-particular-detection-and-removing-background-point-cloud/2450/6):
>
> how do you get thoses values ? To get the depth values you shoudl retrieve the MEASURE::DEPTH which is a one channel matrix containing Z values. It looks like you display Point Cloud values from this sample: In this case the Depth (Z) is the 3rd value. Its unit depends the InitParameters you set.

---

_[View the full topic](https://community.stereolabs.com/t/how-to-extract-depth-values-for-particular-x-y-coordinate-depth-value-depth-map-np-y-x/2454)._
