Class ConfigPKlt

java.lang.Object
boofcv.alg.tracker.klt.ConfigPKlt
All Implemented Interfaces:
Configuration, Serializable

public class ConfigPKlt extends Object implements Configuration
Configuration class for PyramidKltTracker.
See Also:
  • Field Details

    • config

      public ConfigKlt config
      configuration for low level KLT tracker
    • toleranceFB

      public double toleranceFB
      Forwards-Backwards validation tolerance. If set to a value ≥ 0 it will track features from the current frame to the previous frame and if the difference in location is greater than this amount the track will be dropped.
    • templateRadius

      public int templateRadius
      The radius of a feature descriptor in layer. 2 is a reasonable number.
    • pyramidLevels

      public ConfigDiscreteLevels pyramidLevels
      Specifies the number of layers in the pyramid
    • pruneClose

      public boolean pruneClose
      If true it will prune tracks which come too close to each other. The default behavior is to prune tracks will higher feature IDs.
    • maximumTracks

      public ConfigLength maximumTracks
      Specifies the maximum number of features it can track. If fixed at 0 then there is no limit. If relative then it's relative to the total number of pixels in the image.

      NOTE: PointTrackerKltPyramid will manage the number of detections and will override ConfigGeneralDetector.maxFeatures.

    • concurrentMinimumTracks

      public int concurrentMinimumTracks
      If running a concurrent implementations, what's the minimum number of tracks for it to do parallel
  • Constructor Details

    • ConfigPKlt

      public ConfigPKlt()
    • ConfigPKlt

      public ConfigPKlt(int templateRadius)
  • Method Details

    • levels

      public static ConfigPKlt levels(int levels)
    • checkValidity

      public void checkValidity()
      Description copied from interface: Configuration
      Checks to see if the configuration is valid. If it is invalid, throw an exception explaining what is incorrect.
      Specified by:
      checkValidity in interface Configuration
    • setTo

      public ConfigPKlt setTo(ConfigPKlt src)
    • copy

      public ConfigPKlt copy()