Thanks for the reply. On a related note, I was also wondering how to get other properties of a raster, such as acquisition date, sensor name, etc., basically the set of properties that can be viewed in ArcMap:
Get Raster Properties—Help | ArcGIS for Desktop
Is there any way to get those? I've tried using the inherited QObject::property method for Raster and RasterLayer classes using strings like "ACQUISITIONDATE", "SENSORNAME", etc. to try to get more info about the raster. I've looked at other methods available with the Raster and RasterLayer classes, but I haven't had any success. Do you have any suggestions?