CPU implementation of CLAHE
GPU implementation of CLAHE