Opened 11 years ago
Closed 11 years ago
#2334 closed defect (fixed)
Non eight bit data not being strected correctly by the ossimScalarRemapper.
Reported by: | dburken | Owned by: | dburken |
---|---|---|---|
Priority: | normal | Milestone: | OMAR Dec 2012 |
Component: | Algorithms/Functionality | Version: | ossim/OMAR 1.8.14-3 |
Severity: | blocker | Keywords: | stretch |
Cc: |
Description
Found ossimScalarRemapper::getTile calling "stretchMinMax" on the input tile prior to "copyTileToNormalizedBuffer". The ossimImageData::stretchMinMax call was not resetting the input tiles min max data members; hence, the subsequent call to copyTileToNormalizedBuffer was stretching between the old min, max values causing a squashed range.
Note:
See TracTickets
for help on using tickets.
1) Took stretch to min max out of scalar remapper.
2) Added set of min, max from input in image data factory.
3) Added reset of min, max, null in stretchToMinMax method.
Files: