Ticket #3112 (closed defect: fixed)
[PATCH] TSX COSAR driver and 'pixel validity mask'
| Reported by: | pmar | Owned by: | chaitanya |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.6.3 |
| Component: | GDAL_Raster | Version: | svn-trunk |
| Severity: | normal | Keywords: | cosar driver pixel_validity_mask |
| Cc: | pvachon, warmerdam |
Description
The current COSAR reader/driver implementation does not correctly resolve for the 'pixel validity mask': it shifts the whole range line, including the 'no valid' pixels, rather then masking them out.
The listed patch fixes the problem.
The patch was tested on a stack of Stripmap data, and by visual comparison of the GDAL output with GeoTiff? Quicklooks (that are provided with images). Moreover, interferometric processing done on the COSAR data pre-processed by GDAL and patched COSAR driver, resulted in an expected values (no missing lines/pixels) and coherent interferometric signal.
Attached:
* patch: cosar_dataset_validity_mask.patch
* screenshot 1: problem.png (run with trunk cosar_dataset.cpp)
* screenshot 2: patched.png (run with patched cosar_dataset.cpp)
* screenshot 3: interferometric_check.png
Reference:
TX-GS-DD-3307 : TerraSAR-X Level 1b product format specification

