a little fix to tests and sample
Merge pull request #1388 from bitwangyaoyao:2.4_CLAHE