Class OpenCVEdgeFeatureDetection

  • All Implemented Interfaces:
    FeatureDetection<org.opencv.core.KeyPoint,​org.opencv.core.Mat>

    public class OpenCVEdgeFeatureDetection
    extends AbstractEdgeFeatureDetection<org.opencv.core.KeyPoint,​org.opencv.core.Mat>

    OpenCV Edge Feature Detector

    Since:
    1.0
    Author:
    Christoph Praschl
    • Constructor Detail

      • OpenCVEdgeFeatureDetection

        public OpenCVEdgeFeatureDetection()
    • Method Detail

      • getFeature

        public FeatureWrapper<org.opencv.core.KeyPoint> getFeature​(ImageWrapper<org.opencv.core.Mat> img,
                                                                   String additionalParameters)
        Method for computing feature of an image source.
        Parameters:
        img - is the source for which features should be extracted
        additionalParameters - additional parameters for the detector
        Returns:
        A featurewrapper containing the computed features of the image.
      • getFeature

        public FeatureWrapper<org.opencv.core.KeyPoint> getFeature​(ImageWrapper<org.opencv.core.Mat> img,
                                                                   String additionalParameters,
                                                                   int bestX)
        Description copied from interface: FeatureDetection
        Method for computing feature of an image source.
        Parameters:
        img - is the source for which features should be extracted
        additionalParameters - additional parameters to set for the feature detection
        bestX - the maximum number of elements that should be in the featureWrapper
        Returns:
        A featurewrapper containing the computed features of the image.