Text this: Adaptive Trilateral Contrast Enhancement for thermal images