I have some large gigapixel panoramas (+/- 390Gb 16bit tiff) which need haze removal. Doing haze removal prior to stiching does not work well so haze removal has to be done after stiching. I can split the finished image in smaller pieces. Is it possible to adapt your algorithm to process all images and then do haze removal?