Ticket #2104 (closed defect: fixed)
RS2 Driver 8-bit support
| Reported by: | allanx13 | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.5.1 |
| Component: | GDAL_Raster | Version: | unspecified |
| Severity: | normal | Keywords: | rs2 |
| Cc: | pvachon |
Description
Currently, the RS2 driver supports only 16-bit complex and 16-bit magnitude products. I have a simulated RADARSAT-2 ScanSAR Wide A 8-bit image with data type "Magnitude". Adding the following lines at line 620 of rs2dataset.cpp (before the "else" statement) allows me to read this image:
else if( nBitsPerSample == 8 && EQUALN(pszDataType,"Mag",3) )
eDataType = GDT_Byte;
Unless there are any issues with 8-bit imagery in this driver, could you add this?
Change History
Note: See
TracTickets for help on using
tickets.
