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'.
- Alphabetic
- By Inheritance
- KL_Tracker
- Tracker
- Error
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
KL_Tracker(a: MatriI, b: MatriI, w: VectoI)
- a
the initial image
- b
the subsequent image
- w
the window size
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
flaw(method: String, message: String): Unit
- Definition Classes
- Error
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
limit: VectorI
- Attributes
- protected
- Definition Classes
- Tracker
-
def
makeInt(v: VectoD): VectoI
Convert the vector of
Double
s 'v' to a vector ofInt
s using ceil/round.Convert the vector of
Double
s 'v' to a vector ofInt
s using ceil/round.- v
the vector of
Double
s to convert
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
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_Tracker → Tracker
- See also
www.comp.nus.edu.sg/~cs4243/lecture/motion.pdf - p. 36 and 'df' gradient adjusted image difference.
-
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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )