Opened 9 years ago
Last modified 9 years ago
#2348 new defect
Automatic histogram in ossim-orthogen fails if bands are specified out of order
Reported by: | rddesmond | Owned by: | dburken |
---|---|---|---|
Priority: | normal | Milestone: | OSSIM 2.0 |
Component: | Image Chain | Version: | ossim/OMAR 1.8.14-3 |
Severity: | normal | Keywords: | |
Cc: |
Description
Given an multispectral, image with geospatial coordinates (we used a chip from a Digital Globe image), ossim-orthogen does not correctly apply a histogram correction if we specific a band selection other than "1,2,3" (in the example, we take the first 3 bands, but reverse them) and the histogram is not explicitly calculated.
The following command creates a histogram, but it is incorrect (with our test data, the red band was much more intense than the others):
ossim-orthoigen -w ossim_png --output-radiometry U8 --hist-auto-minmax 'in.TIF|0|3,2,1' out.png
If we explicitly create the histogram first, the resulting output is correct:
ossim-create-histo in.TIF ossim-orthoigen -w ossim_png --output-radiometry U8 --hist-auto-minmax 'in.TIF|0|3,2,1' out.png
(The PNG output was for convenient testing.)
This was testing using: ossim-orthoigen 1.8.18 20150316
Change History (1)
comment:1 by , 9 years ago
Summary: | Automatic histogram in ossim-orthogen fails if bands other than 1,2,3 are specified → Automatic histogram in ossim-orthogen fails if bands are specified out of order |
---|