[gdal-dev] How to read *.cos files
el_inca
pavkiz at mail.ru
Wed Feb 15 03:53:18 EST 2012
Hi,
Can you help with opening terra-sar images?
Terra-sar data is complex data like : C=A+i*B. If i understand correctly,
when we will read only 'A' part of data (for testing purposes) in output we
an image without phase. So, when using RasterIO, i use as buff_type
GDT_Int16.
In output there is only a noise.
What i'm wrong?
Here is a part of code:
Int16 * scanline_16bit=new Int16[xSize];
if (unit_type==GDT_CInt16)
{
poRasterBand->RasterIO(GF_Read,
0,
i,
xSize,
1,
scanline_16bit,
xSize,
1,
GDT_Int16,
0,
0);
}
GDAL version: 1.8.0
Language: Visual C++
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/How-to-read-cos-files-tp4471351p4471351.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
More information about the gdal-dev
mailing list