Canny 边缘检测器的成功或失败

Success or failure of the Canny edge detector

使用canny边缘检测和高斯模糊 detects an edge following this tutorial. However the question here is how to find out if it was actually able to find out an edge or not automatically? Is there a relation with the longest boundary detection after Canny Edge?还是找整个矩阵都填0那么简单?

在本教程中,调整参数以消除虚假边缘。

如果只想知道哪些像素是边缘,那就是"as simple as looking for the entire matrix filled with 0s"。如果您需要按顺序使用它们,请使用此处的跟踪算法:http://www.imageprocessingplace.com/downloads_V3/root_downloads/tutorials/contour_tracing_Abeer_George_Ghuneim/alg.html