# Remove LiDAR points in a region that is of no interest similar to azimuth window

**URL:** <https://community.ouster.com/t/remove-lidar-points-in-a-region-that-is-of-no-interest-similar-to-azimuth-window/452>\
**Category:** Hardware\
**Created:** [February 13, 2026, 9:52pm UTC](https://community.ouster.com/t/remove-lidar-points-in-a-region-that-is-of-no-interest-similar-to-azimuth-window/452 "2026-02-13T21:52:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![srimath](https://avatars.discourse-cdn.com/v4/letter/s/a6a055/32.png) [@srimath](https://community.ouster.com/u/srimath)\
**Post date:** [February 13, 2026, 9:52pm UTC](https://community.ouster.com/t/remove-lidar-points-in-a-region-that-is-of-no-interest-similar-to-azimuth-window/452/1 "2026-02-13T21:52:50Z")

</div>

![image](https://canada1.discourse-cdn.com/flex004/uploads/ouster/original/1X/fa76c379cb6880be231ede9ba4b998f11a036092.png)

I have a robot with two ousters in the front and back. Red line indicates the wire connector on the ouster. Green region is the region where I dont want any points to be collected or sent to other ROS nodes (to save a little bit of compute from processing those points).

I want to know if there is a way to remove those point in green region similar to azimuth window but [0,15000], [45000,360000]. Thanks!

---

<div class="post-metadata">

**Author:** ![Samahu](https://yyz2.discourse-cdn.com/flex004/user_avatar/community.ouster.com/samahu/32/39_2.png) [@Samahu](https://community.ouster.com/u/Samahu)\
**Post date:** [February 14, 2026, 6:23pm UTC](https://community.ouster.com/t/remove-lidar-points-in-a-region-that-is-of-no-interest-similar-to-azimuth-window/452/2 "2026-02-14T18:23:46Z")

</div>

If you are using the ouster-ros drivers ( [GitHub - ouster-lidar/ouster-ros: Official ROS drivers for Ouster sensors (OS0, OS1, OS2, OSDome)](http://GitHub.com/ouster-lidar/ouster-ros) ), you could utilize the mask option to filter points in any shape.

You may try it as follows:

```bash
roslaunch ouster_ros driver.launch.xml sensor_hostname:=<sensor_url> mask:=mask_image.png

```

> `mask_image.png` is a black and white image where black pixels blocked range values (range set to zero) and white pixels leave range value unmodified. The `mask_image.png` would be of the same resolution as the active LidarMode (preferably, otherwise it will be scaled to match the LidarMode.

Additionally, you may want to set the “organized” flag to false to save on bandwidth when publishing pointclouds knowing that a good part of the pointcloud is going to be empty.
