def edge_detection(self, image, threshold1, threshold2, aperture):
'''
Methode erkennt Kanten auf einem Bild basierend auf dem Canny-Algorithmus.
Parameter
---------
image : Bild
threshold1 : Integer
threshold2 : Integer
aperture : Integer
Rückgabe
---------
image : Bild
'''
return cv2.Canny(image, threshold1, threshold2, aperture)
image_preparator.py 文件源码
python
阅读 24
收藏 0
点赞 0
评论 0
评论列表
文章目录