id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc 2348,Automatic histogram in ossim-orthogen fails if bands are specified out of order,rddesmond,dburken,"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",defect,new,normal,OSSIM 2.0,Image Chain,ossim/OMAR 1.8.14-3,normal,,,