histogramEqualization.cpp finally works for grayscale pictures :-)