Text this: Image Enhancement via Special Functions and Its Application for Near Infrared Imaging