algorithm

Class MotionEstimationAlgorithm

Known Direct Subclasses:
CircularZoneSearchAlgorithm, CrossSearchAlgorithm, FourStepSearchAlgorithm, FullSearch1DAlgorithm, FullSearchAlgorithm, GradientDescentSearch1DAlgorithm, GradientDescentSearchAlgorithm, NTSSAlgorithm, TSSAlgorithm

public abstract class MotionEstimationAlgorithm
extends java.lang.Object

Überschrift:

Beschreibung:

Copyright: Copyright (c) 2002

Organisation:

Field Summary

(package private) int
NUM_STEPS
protected long
counter
protected int
docCounter
private Grid
grid
(package private) Gui
gui
(package private) ImageViewer
imageViewer
protected ImageHolder
images
protected LinkedList
listenerList
protected double
maxError
protected double
minError
protected Point
optPos
private boolean
quietMode
protected int
searchRange
(package private) int
stepCounter
protected int
threshold

Constructor Summary

MotionEstimationAlgorithm(ImageHolder ih)

Method Summary

void
addAlgorithmListener(AlgorithmListener listener)
This method registers a AlgorithmListener at the algorithm
abstract void
fillSearchCoordinatesQueue()
protected void
fireAlgorithmEvent(AlgorithmEvent e)
abstract int
getDocCounter()
double
getMaxError()
double
getMinError()
abstract URL
getNextExplenationURL()
long
getNumComparisons()
Point
getOptimalPostion()
int
getSearchRange()
abstract boolean
hasUserDefinedSearchRange()
abstract boolean
hasUserDefinedThreshold()
private void
incrementCounter()
void
init()
abstract boolean
performNextComparison()
boolean
removeAlgorithmListener(AlgorithmListener listener)
This method deregisters the specified AlgorithmListerner at the algorithm
abstract void
reset()
void
setQuietMode(boolean mode)
void
setSearchRange(int searchRange)
void
setThreshold(int threshold)

Field Details

NUM_STEPS

(package private)  int NUM_STEPS

counter

protected long counter

docCounter

protected int docCounter

grid

private Grid grid

gui

(package private)  Gui gui

imageViewer

(package private)  ImageViewer imageViewer

images

protected ImageHolder images

listenerList

protected LinkedList listenerList

maxError

protected double maxError

minError

protected double minError

optPos

protected Point optPos

quietMode

private boolean quietMode

searchRange

protected int searchRange

stepCounter

(package private)  int stepCounter

threshold

protected int threshold

Constructor Details

MotionEstimationAlgorithm

public MotionEstimationAlgorithm(ImageHolder ih)

Method Details

addAlgorithmListener

public void addAlgorithmListener(AlgorithmListener listener)
This method registers a AlgorithmListener at the algorithm
Parameters:

fillSearchCoordinatesQueue

public abstract void fillSearchCoordinatesQueue()

fireAlgorithmEvent

protected void fireAlgorithmEvent(AlgorithmEvent e)

getDocCounter

public abstract int getDocCounter()

getMaxError

public double getMaxError()

getMinError

public double getMinError()

getNextExplenationURL

public abstract URL getNextExplenationURL()

getNumComparisons

public long getNumComparisons()

getOptimalPostion

public Point getOptimalPostion()

getSearchRange

public int getSearchRange()

hasUserDefinedSearchRange

public abstract boolean hasUserDefinedSearchRange()

hasUserDefinedThreshold

public abstract boolean hasUserDefinedThreshold()

incrementCounter

private void incrementCounter()

init

public void init()

performNextComparison

public abstract boolean performNextComparison()

removeAlgorithmListener

public boolean removeAlgorithmListener(AlgorithmListener listener)
This method deregisters the specified AlgorithmListerner at the algorithm
Parameters:

reset

public abstract void reset()

setQuietMode

public void setQuietMode(boolean mode)

setSearchRange

public void setSearchRange(int searchRange)

setThreshold

public void setThreshold(int threshold)