Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#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]));

Change History (2)

comment:1 by Even Rouault, 6 years ago

Resolution: fixed
Status: newclosed

In 41375:

AirSAR: fix computation of imaginary part in C23 case (patch by chgHou, fixes #7222)

comment:2 by Even Rouault, 6 years ago

In 41376:

AirSAR: fix computation of imaginary part in C23 case (patch by chgHou, fixes #7222)

Note: See TracTickets for help on using tickets.