Frank,

Is there a specific order needed to read in the image pixels?  Meaning, you 
typically need to use the combination functions of:
1. 
Redband  = GDALRasterBand(dataset,1)
Blueband = GDALRasterBand(dataset,2)
Greenband= GDALRasterBand(dataset,3)
2. 
GDALRasterIO(redBand)
GDALRasterIO(Blueand)
GDALRasterIO(GreenBand)

3. Depending on if Band 1 is Red, then store image data as:
Image[0] = BlueBand
Image[1] = GreenBand
Image[2] = RedBand

This is a very general sense.  I have noticed if I switch the order of 
GDALRasterband, I am provided with an image that is not displayed correctly 
(certain colors of off).


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to