Packages

c

scalation.image

KL_Tracker

class KL_Tracker extends Tracker

The KL_Tracker class is used for image tracking based on the idea of minimizing the difference between a sub-image of 'a' subsequent displaced sub-image of 'b'.

Linear Supertypes
Tracker, Error, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. KL_Tracker
  2. Tracker
  3. Error
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new KL_Tracker(a: MatriI, b: MatriI, w: VectoI)

    a

    the initial image

    b

    the subsequent image

    w

    the window size

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def err(dd: VectoI, x_r: Range, y_r: Range): Double

    Return the value for the residual/error function that measures the difference between a sub-image of 'a' and a displaced sub-image of 'b'.

    Return the value for the residual/error function that measures the difference between a sub-image of 'a' and a displaced sub-image of 'b'.

    dd

    the displacement vector

    x_r

    the range of x-coordinate values (e.g., 2, 3, 4)

    y_r

    the range of y-coordinate values (e.g., 4, 5, 6)

    Definition Classes
    Tracker
  9. final def flaw(method: String, message: String): Unit
    Definition Classes
    Error
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. val limit: VectorI
    Attributes
    protected
    Definition Classes
    Tracker
  14. def makeInt(v: VectoD): VectoI

    Convert the vector of Doubles 'v' to a vector of Ints using ceil/round.

    Convert the vector of Doubles 'v' to a vector of Ints using ceil/round.

    v

    the vector of Doubles to convert

  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def optimize(u: VectoI): (VectoI, Double)

    Find an optimal displacement vector 'd', so that point 'u' in image 'a' matches point 'v = u + d' in image 'b', returning vector 'd' and its error 'e'.

    Find an optimal displacement vector 'd', so that point 'u' in image 'a' matches point 'v = u + d' in image 'b', returning vector 'd' and its error 'e'. Solve for 'd' in the following system of equations.

    Z d = df

    where 'Z' is the gradient outer product matrix, 'd' is the displacement

    u

    the point in image 'a' for which a matching point 'v' is to found in 'b'

    Definition Classes
    KL_TrackerTracker
    See also

    www.comp.nus.edu.sg/~cs4243/lecture/motion.pdf - p. 36 and 'df' gradient adjusted image difference.

  19. def outside(x: Int, y: Int): Boolean

    Determine whether the point (x, y) is outside the image (e.g., x = -1).

    Determine whether the point (x, y) is outside the image (e.g., x = -1).

    x

    the x-coordinate/pixel position

    y

    the y-coordinate/pixel position

    Definition Classes
    Tracker
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Tracker

Inherited from Error

Inherited from AnyRef

Inherited from Any

Ungrouped