Interface FeatureSelectLimit<Point>

All Known Implementing Classes:
FeatureSelectN, FeatureSelectRandom, FeatureSelectUniform, FeatureSelectUniform.F32, FeatureSelectUniform.F64, FeatureSelectUniform.I16

public interface FeatureSelectLimit<Point>
Selects a subset of the features inside the image until it hits the requested number.
See Also:
FeatureSelectLimitIntensity
  • Method Summary

    Modifier and Type Method Description
    void select​(int imageWidth, int imageHeight, @Nullable FastAccess<Point> prior, FastAccess<Point> detected, int limit, FastArray<Point> selected)
    Selects features inside the image.
  • Method Details

    • select

      void select​(int imageWidth, int imageHeight, @Nullable @Nullable FastAccess<Point> prior, FastAccess<Point> detected, int limit, FastArray<Point> selected)
      Selects features inside the image.
      Parameters:
      imageWidth - Width of the image the features were detected in
      imageHeight - Height of the image the features were detected in
      prior - (Input) Locations of previously detected features
      detected - (Input) Locations of newly detected features
      limit - (Input) The maximum number of new features detected
      selected - (Output) Selected features. Element count not exceed the limit. Reset on every call.