Class KltFeature

java.lang.Object
boofcv.alg.tracker.klt.KltFeature

public class KltFeature
extends Object
Contains feature information for KltTracker.
  • Field Summary

    Fields
    Modifier and Type Field Description
    GrayF32 derivX
    Image derivative around the feature in the x-direction
    GrayF32 derivY
    Image derivative around the feature in the y-direction
    GrayF32 desc
    Pixel intensity around the feature
    float Gxx
    spatial gradient matrix used in updating the feature's position
    float Gxy
    spatial gradient matrix used in updating the feature's position
    float Gyy
    spatial gradient matrix used in updating the feature's position
    int radius
    The feature's size.
    float x
    Feature's location inside the image in pixels
    float y
    Feature's location inside the image in pixels
  • Constructor Summary

    Constructors
    Constructor Description
    KltFeature​(int radius)  
  • Method Summary

    Modifier and Type Method Description
    void setPosition​(float x, float y)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • x

      public float x
      Feature's location inside the image in pixels
    • y

      public float y
      Feature's location inside the image in pixels
    • radius

      public int radius
      The feature's size. Each feature is square with a width equal to its radius*2+1.
    • desc

      public GrayF32 desc
      Pixel intensity around the feature
    • derivX

      public GrayF32 derivX
      Image derivative around the feature in the x-direction
    • derivY

      public GrayF32 derivY
      Image derivative around the feature in the y-direction
    • Gxx

      public float Gxx
      spatial gradient matrix used in updating the feature's position
    • Gxy

      public float Gxy
      spatial gradient matrix used in updating the feature's position
    • Gyy

      public float Gyy
      spatial gradient matrix used in updating the feature's position
  • Constructor Details

    • KltFeature

      public KltFeature​(int radius)
  • Method Details

    • setPosition

      public void setPosition​(float x, float y)