The example shown in the documentation for ippiFilterColumn is wrong for many reasons:
1.- the border is not being considered. As shown in the example, memory outside the allocated space will be read. This means also that the first and last rows of the destination image will not contain meaningful information. 2.- According to the result you are showing, yAnchor must be 1 and not 2. 3.- The example is terrible bad, because you are using 8u as data type but the kernel filter has a negative value. 4.- The result should be 0 everywhere, since you are using "Sobel" kernel and the data does not contain any "gradient" in vertical direction.