雙精度和 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 過濾器與性能曲線中的尖峰有什麼關係?