org.openimaj.demos.video.videosift
Class VideoPixelHistogram

java.lang.Object
  extended by org.openimaj.demos.video.videosift.VideoPixelHistogram
All Implemented Interfaces:
KeyListener, EventListener, VideoDisplayListener<MBFImage>

public class VideoPixelHistogram
extends Object
implements KeyListener, VideoDisplayListener<MBFImage>


Constructor Summary
VideoPixelHistogram()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VideoPixelHistogram

public VideoPixelHistogram()
                    throws Exception
Throws:
Exception
Method Detail

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.