High dynamic range compression for visualization of IR images in maritime scenarios