Contrast Change Bug in IIP server (iipsrv.fcgi)
opened this issue · comments
Hi Ruven,
I'm with the NASA Clickworkers team which is very interested in IIPMooviewer's pan/zoom capability for JP2 images to display and annotate large images of satellite imagery from Mars. Having something like IIPMooviewer has been very useful towards that end, so I wanted to express my appreciation for your work.
Adjusting the contrast of the images is important to us because in many cases landforms are obscured by shadows (e.g. inside deep craters). That said, I noticed that changing the contrast of the images produces some strange results for values where iip.contrast != 1 (see attached images). To me it appears that there may be a bug in the way the code in the JTL function (JTL.cc) manipulates the buffer, but I can't be certain.
-Sascha
Which version of iipsrv are you using? Version 0.9.9? I've tried myself with some HiRiSE JP2 images and the contrast works fine with the current iipsrv github code, so try recompiling the server.