双精度和 Canny 过滤器后续行动使用 Python 进行多精度算术——我决定不走那条路;相反,我使用的是快速双精度数字,而不是超过 1e-13 左右。 它仍然很慢,并且在接近尾声时变得非常慢,因为迭代次数增加了。
Time required for successive pictures goes up, slowly at first. Then it gets weird.Time required for successive pictures goes up, slowly at first. Then it gets weird.Time required for successive pictures goes up, slowly at first. Then it gets weird.Time required for successive pictures goes up, slowly at first. Then it gets weird.连续图片所需的时间增加,起初缓慢。 然后它变得很奇怪。
查看更多... 
暂时放弃多个精度数字。 这个 Canny 过滤器与性能曲线中的尖峰有什么关系?