Introduction - If you have any usage issues, please Google them yourself
Matlab under this code is prepared in accordance with the principle of sobel code, advantages: convenience and every step very detailed explanation to facilitate understanding disadvantage: the lack of edge refinement