auto grayscale conversion for dft
added calcHist to absdiff.json