Orbecc Astra, getting depth values for all point in certain pixels

Let’s say I am only interested in depth point at certain pixels in my image (imagine a small square in my image and I only want the depth values in there). How would I go about that? is there a way to specify bounds in the image and get depth values at all points inside this bound? Probably a stupid question but I am a beginner and I can’t find many resources online

Since the depth image is a gray scale image you could use OpenCV or other libraries to crop the image. This depends on your programming language i guess, but it would be something that you need to implement and that the AstraSDK does not support out of the box.