ximgproc::anisotropicDiffusion input type, color or gray scale?

asked 2018-03-27 08:54:09 -0600

nadrap gravatar image

updated 2018-10-05 14:50:40 -0600

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?

edit retag flag offensive close merge delete

Comments

error in the docs, it needs 3 channels.

berak gravatar imageberak ( 2018-03-27 09:26:15 -0600 )edit