From a BasicRasterLayer you can use the CIMRasterStretchColorizer.StretchStats to get the min/max values, but I want to get the min/max from a custom extent. Since a Raster lets me set a new extent, I've been trying to get some useful values out of it.
Any suggestions or recommendations?