C# Класс Accord.Math.Geometry.ConvexHullDefects

Convex Hull Defects Extractor.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ConvexHullDefects ( double minDepth ) : System

Initializes a new instance of the ConvexHullDefects class.

FindDefects ( List contour, List convexHull ) : List

Finds the convexity defects in a contour given a convex hull.

Приватные методы

Метод Описание
extractDefect ( List contour, int startIndex, int endIndex ) : ConvexityDefect

Описание методов

ConvexHullDefects() публичный метод

Initializes a new instance of the ConvexHullDefects class.
public ConvexHullDefects ( double minDepth ) : System
minDepth double The minimum depth which characterizes a convexity defect.
Результат System

FindDefects() публичный метод

Finds the convexity defects in a contour given a convex hull.
public FindDefects ( List contour, List convexHull ) : List
contour List The contour.
convexHull List The convex hull of the contour.
Результат List