Packages

c

scalation.image

ChessTracker

class ChessTracker extends Tracker

The ChessTracker class is used for image tracking algorithms based on the idea of minimizing the difference between a sub-image of 'a' and a subsequent displaced sub-image of 'b'. This algorithm searches for improvements in displacement 'd' in multiple directions and with multiple iterations. It may be viewed as a form of Generating Set Search (GSS).

See also

citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.112.8588&rep=rep1&type=pdf

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

Instance Constructors

  1. new ChessTracker(a: MatriI, b: MatriI, w: VectoI, q: Boolean)

    a

    the initial image

    b

    the subsequent image

    w

    the window size

    q

    use false for Rook (4 directional) or true for Queen (8 directional) tracking

Value Members

  1. 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
  2. final def flaw(method: String, message: String): Unit
    Definition Classes
    Error
  3. def linesearch(d: VectoI, dir: VectoI, x_r: Range, y_r: Range): (VectoI, Double)

    Find an optimal displacement vector along the given direction 'dir'.

    Find an optimal displacement vector along the given direction 'dir'.

    d

    the current displacement vector

    dir

    the current direction to search in

    x_r

    the range of x-coordinates

    y_r

    the range of y-coordinates

  4. def optimize(u: VectoI): (VectoI, Double)

    Find an optimal displacement vector 'd', so that points near 'u' in image 'a' match points near 'v = u + d' in image 'b', returning the vectors 'd' and 'v'.

    Find an optimal displacement vector 'd', so that points near 'u' in image 'a' match points near 'v = u + d' in image 'b', returning the vectors 'd' and 'v'.

    u

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

    Definition Classes
    ChessTrackerTracker
  5. 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