In ximgproc.hpp
it says @param src Grayscale Source image
but in the .cpp file there is a CV_Assert
for src_.dims() == 2 && type == CV_8UC3
Why is there an assert for a 3-channel image when the function is supposed to take a gray scale image as input?