Hi,
In the Imagery tab, I used the Raster Functions -> Data Management -> Mask in order to 'mask' unwanted pixels, as shown below. Although, you seem to have lots of unwanted pixel in your example. I would recommend to reclass your raster beforehand to 'group' all unwanted pixels together.
Hope this help
![VincentLaunstorfer_0-1715593512915.png VincentLaunstorfer_0-1715593512915.png](https://community.esri.com/t5/image/serverpage/image-id/103923i61904ADE7E855D06/image-size/medium?v=v2&px=400)