I have an RGB orthoimage that has black area instead of NoData, as pictured here:
When I use the SetNull tool, it does remove the black area, however it then turns it into a grayscale orthoimage, which is not what I want.
I know that there is a way around this by using the Clip (Data Management) tool to clip the raster to itself and in there you can set the NoData value to be the value of the black cells (0). However, I am creating a workshop for students and I would like to use a less counterintuitive method.
There is of course the option of running the NoData tool on each band individually and then combining the three bands together, however I need to have a condition where band1, band2, and band3 all equal 0 to set that as NoData. Being able to do this in ModelBuilder would be ideal, but scripting it using ArcPy would also be good.
I am using ArcGIS 10.2 Desktop with Advanced License.