#7222 closed defect (fixed)
Incorrect calculation of C23 in AirSAR Reader (gdal/frmts/airsar/airsardataset.cpp)
Reported by: | chgHou | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | GDAL_Raster | Version: | unspecified |
Severity: | critical | Keywords: | |
Cc: |
Description
According to AIRSAR data format (https://airsar.jpl.nasa.gov/documents/genairsar/chapter4.pdf, page 7), the correct way to calculate the imaginary part of C23 (Band 5) is using M24 and M14, rather than M23 which only contains real parts.
- pafLine[iPixel*2 + 1] = (float)(SQRT_2 * (m[M23] - m[M14])); + pafLine[iPixel*2 + 1] = (float)(SQRT_2 * (m[M24] - m[M14]));
Note:
See TracTickets
for help on using tickets.
In 41375: