How do i only render pixels that are e.g. 1 meter away from the kinect2?

Hello,
I want to use the kinect in order to only render specific pixels of the kinect output. I would like to get only pixels that are in a specific range to the kinect.

Thank you

I use the threshold filter for that, use two if you also want it to filter a range, one that filters out close pixels followed by one that filters out pixels that are too far away

thanks for the clue