public class VideoKLTSIFT extends Object implements KeyListener, VideoDisplayListener<MBFImage>
Constructor and Description |
---|
VideoKLTSIFT() |
Modifier and Type | Method and Description |
---|---|
void |
afterUpdate(VideoDisplay<MBFImage> arg0)
Called when the video display is updated and the next frame
is displayed
|
void |
beforeUpdate(MBFImage image)
Called when the video is about to update
|
void |
continueTracking(FImage greyFrame) |
Point2dImpl |
estimateMovement() |
void |
initTracking(FImage greyFrame,
Shape location) |
void |
keyPressed(KeyEvent key) |
void |
keyReleased(KeyEvent e) |
void |
keyTyped(KeyEvent e) |
static void |
main(String[] args) |
public VideoKLTSIFT() throws Exception
Exception
public void afterUpdate(VideoDisplay<MBFImage> arg0)
VideoDisplayListener
afterUpdate
in interface VideoDisplayListener<MBFImage>
arg0
- the video displaypublic void beforeUpdate(MBFImage image)
VideoDisplayListener
beforeUpdate
in interface VideoDisplayListener<MBFImage>
image
- the frame about to be displayedpublic void initTracking(FImage greyFrame, Shape location)
public void continueTracking(FImage greyFrame)
public Point2dImpl estimateMovement()
public void keyTyped(KeyEvent e)
keyTyped
in interface KeyListener
public void keyPressed(KeyEvent key)
keyPressed
in interface KeyListener
public void keyReleased(KeyEvent e)
keyReleased
in interface KeyListener