nasa-jpl / LiveViewOpenCL

Open Source real-time visualization tools for Imaging Spectrometer development
GNU General Public License v3.0
36 stars 21 forks source link

Fix math in two's complement filter (pixel remapping) #41

Closed jackiryan closed 4 years ago

jackiryan commented 5 years ago

This was discovered through testing in line driver mode on a Camera Link interface. The math for the two's complement filter appears to have an int overflow somewhere in there. The values are not correct.

jackiryan commented 4 years ago

I changed it, but.... Needs further testing to be sure that it is correct and stable.