org.openimaj.demos.video.videosift
Class VideoPixelHistogram
java.lang.Object
org.openimaj.demos.video.videosift.VideoPixelHistogram
- All Implemented Interfaces:
- KeyListener, EventListener, VideoDisplayListener<MBFImage>
public class VideoPixelHistogram
- extends Object
- implements KeyListener, VideoDisplayListener<MBFImage>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VideoPixelHistogram
public VideoPixelHistogram()
throws Exception
- Throws:
Exception
afterUpdate
public void afterUpdate(VideoDisplay<MBFImage> display)
- Description copied from interface:
VideoDisplayListener
- Called when the video display is updated and the next frame
is displayed
- Specified by:
afterUpdate in interface VideoDisplayListener<MBFImage>
- Parameters:
display - the video display
beforeUpdate
public void beforeUpdate(MBFImage frame)
- Description copied from interface:
VideoDisplayListener
- Called when the video is about to update
- Specified by:
beforeUpdate in interface VideoDisplayListener<MBFImage>
- Parameters:
frame - the frame about to be displayed
keyPressed
public void keyPressed(KeyEvent key)
- Specified by:
keyPressed in interface KeyListener
keyReleased
public void keyReleased(KeyEvent arg0)
- Specified by:
keyReleased in interface KeyListener
keyTyped
public void keyTyped(KeyEvent arg0)
- Specified by:
keyTyped in interface KeyListener
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2011 The University of Southampton. All Rights Reserved.