Class OpenCVPointFeatureDetection

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

    public class OpenCVPointFeatureDetection
    extends AbstractPointFeatureDetection<org.opencv.core.KeyPoint,​org.opencv.core.Mat>

    OpenCV Point Feature Detection

    Since:
    1.0
    Author:
    Andreas Pointner
    • Constructor Detail

      • OpenCVPointFeatureDetection

        public OpenCVPointFeatureDetection()
    • 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, which will be saved in a file and reloaded
        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.