Adaptive enhancement of platforms above sea-level in infrared images based on clustering of wavelet coefficients