Prepend "Feature2D" prefix to component interfaces of Feature2D

This commit is contained in:
Pericles Telemachou
2023-12-07 10:11:35 +11:00
committed by Ron Evans
parent 7a54ec97b6
commit 921e6694ae

View File

@@ -12,23 +12,23 @@ import (
"unsafe"
)
type Detector interface {
type Feature2DDetector interface {
Detect(src Mat) []KeyPoint
}
type Computer interface {
type Feature2DComputer interface {
Compute(src Mat, mask Mat, kps []KeyPoint) ([]KeyPoint, Mat)
}
type DetectComputer interface {
type Feature2DDetectComputer interface {
DetectAndCompute(src Mat, mask Mat) ([]KeyPoint, Mat)
}
type Feature2D interface {
io.Closer
Detector
Computer
DetectComputer
Feature2DDetector
Feature2DComputer
Feature2DDetectComputer
}
// AKAZE is a wrapper around the cv::AKAZE algorithm.