I wanted to know how is the algorithm, because i know that its a kernel used for filtering the image, but this is for grayscale (1 channel). I can imply that the filtering its aplied in each channel. berak!!
src – input image; the image can have any number of channels, which are processed independently, but the depth should be CV_8U, CV_16U, CV_16S, CV_32F or CV_64F.