How to mask multi-band raster images with polygons

DiscoveryDiscovery Global Mapper UserPosts: 10
edited February 2015 in Raster Data
This feels like an elementary task, but I'm having trouble forming an efficient way to mask multi-band raster images and export to new files.

Some of my scenes have a large quantity of water, causing the patch to look funny after a standard deviation stretch when compared to other layers in the same strip. I want to mask this water for the SD stretch.

My current process is to export the original image after removing the water polygons from a clip polygon and setting the background to black. The new multi-band image can then treat the introduced black areas as NoData. The hitch is that it can't be a "hole" polygon. These are ignored if they are selected and the raster export bounds option is set to Crop to Selected Area Features.

Any recommendations for properly clipping imagery or overwriting offending pixel values with null or black?
Sign In or Register to comment.