M
M
MaxSurm2016-01-14 23:08:51
Mathematics
MaxSurm, 2016-01-14 23:08:51

How does the diagonal Sobel filter work?

Tell me how you can implement a Sobel filter in Matlab that will work not along x or y, but diagonally. Links to helpful articles would be very helpful.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily, 2016-01-15
@Foolleren

just rotate the convolution matrix by 45 degrees

2 1 0
1 0-1
0-1-2

well, respectively, on a different diagonal
0 1 2
-1 0 1
-2-1 0

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question