Matrix of a sobel diagonal operator, size 3x3

What is the matrix of a 3x3 Sobel operator if the operator is called diagonal (Left or right diagonal)? EDIT: or maybe with a larger size

+4
source share
1 answer

Sobel 3x3 diagonal operators:

[[0,1,2], [-1,0,1], [-2,-1,0]] 

and

 [[-2,-1,0], [-1,0,1], [0,1,2]] 

Hope this helps.

+7
source

Source: https://habr.com/ru/post/1310806/


All Articles