public class VideoColourSIFT extends Object implements KeyListener, VideoDisplayListener<MBFImage>
Constructor and Description |
---|
VideoColourSIFT(JComponent window)
Construct the demo
|
VideoColourSIFT(JComponent window,
VideoCapture capture)
Construct the demo
|
Modifier and Type | Method and Description |
---|---|
void |
afterUpdate(VideoDisplay<MBFImage> display)
Called when the video display is updated and the next frame
is displayed
|
void |
beforeUpdate(MBFImage frame)
Called when the video is about to update
|
void |
keyPressed(KeyEvent key) |
void |
keyReleased(KeyEvent arg0) |
void |
keyTyped(KeyEvent arg0) |
static void |
main(String[] args)
Main method
|
void |
stop()
Stop capture
|
public VideoColourSIFT(JComponent window) throws Exception
window
- Exception
public VideoColourSIFT(JComponent window, VideoCapture capture) throws Exception
window
- capture
- Exception
public void keyPressed(KeyEvent key)
keyPressed
in interface KeyListener
public void keyReleased(KeyEvent arg0)
keyReleased
in interface KeyListener
public void keyTyped(KeyEvent arg0)
keyTyped
in interface KeyListener
public void afterUpdate(VideoDisplay<MBFImage> display)
VideoDisplayListener
afterUpdate
in interface VideoDisplayListener<MBFImage>
display
- the video displaypublic void beforeUpdate(MBFImage frame)
VideoDisplayListener
beforeUpdate
in interface VideoDisplayListener<MBFImage>
frame
- the frame about to be displayedpublic void stop()