Introduction - If you have any usage issues, please Google them yourself
The Roberts edge detection operator can be used to calculate the gradient principle based on any pair of vertical differences. The difference between adjacent pixels is two pixels.