I will show you code about how to realize the canny edge in the simulation