Crop All Measurement in specific Region

I only need to measured the color image and depth map in specific region. The processing in the rest of the image is irrelevant for my application. Is there any way to specify this to avoid any processing outside my region of interest? I use ROS1 to subscribe to the measurements. Thank you for your responses in advance.

Hi @mahdinobar
have you tried the Region of Interest parameter?