Details
Description
Reproduce:
(1) Open product in VISAT
(2) Look at raster width (e.g. 1121 pixels)
(3) Add virtual band with band maths expresiion "X" (value of pixel X coordinate)
(4) Look at Colour Manipulation window: min=0, max=139 (Rough statistics!) --> WRONG (corresponds to image level > 0, e.g. 3)
(5) Press "Rough statistics!" label
(6) min=0, max=1120 --> NOW CORRECT (corresponds to image level 0)
(7) Open image view for X, zoom in and out --> different zoom levels show different images (different levels of grey)
Problematic class is org.esa.beam.jai.VirtualBandOpImage which obviously does not take actual source coordinates into account, lines 264 and 276 are wrong: "env.setElemIndex(i + j);"
Check: similar problem might occur if image pyramids are created from bands that store their entire raster data in a buffer (if band.setRasterData(buffer) has been used).
(1) Open product in VISAT
(2) Look at raster width (e.g. 1121 pixels)
(3) Add virtual band with band maths expresiion "X" (value of pixel X coordinate)
(4) Look at Colour Manipulation window: min=0, max=139 (Rough statistics!) --> WRONG (corresponds to image level > 0, e.g. 3)
(5) Press "Rough statistics!" label
(6) min=0, max=1120 --> NOW CORRECT (corresponds to image level 0)
(7) Open image view for X, zoom in and out --> different zoom levels show different images (different levels of grey)
Problematic class is org.esa.beam.jai.VirtualBandOpImage which obviously does not take actual source coordinates into account, lines 264 and 276 are wrong: "env.setElemIndex(i + j);"
Check: similar problem might occur if image pyramids are created from bands that store their entire raster data in a buffer (if band.setRasterData(buffer) has been used).
Activity
Norman Fomferra
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Status | Open [ 1 ] | In Progress [ 3 ] |
Marco Peters
made changes -
| Assignee | Norman Fomferra [ norman ] | Marco Peters [ marcop ] |
Marco Peters
made changes -
| Status | In Progress [ 3 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
Marco Peters
made changes -
| Resolution | Fixed [ 1 ] | |
| Status | Resolved [ 5 ] | Reopened [ 4 ] |
Norman Fomferra
made changes -
| Resolution | Fixed [ 1 ] | |
| Status | Reopened [ 4 ] | Resolved [ 5 ] |
Norman Fomferra
made changes -
| Assignee | Marco Peters [ marcop ] | Olga Faber [ olga ] |
Olga Faber
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |