org.cogchar.sight.api.obs
Class RawFrameProcessor

java.lang.Object
  extended by java.util.Observable
      extended by org.cogchar.sight.api.obs.RawFrameProcessor
All Implemented Interfaces:
IRawFrameObserver

public class RawFrameProcessor
extends Observable
implements IRawFrameObserver

Author:
Stu - copied from RawVisionObserver

Constructor Summary
RawFrameProcessor()
           
 
Method Summary
 void AddAnnotater(IAnnotatingObserver a)
           
 void DrawVideo(Graphics g)
           
 List<IAnnotatingObserver> getAnnotaters()
           
 BufferedImage getImage()
           
 PortableImage getPortableSubImage(Rectangle bbox, boolean flipVertical)
           
 void ProcessFrame(byte[] data)
           
 void ProcessFrame(long addr)
           
 void RemoveAnnotater(IAnnotatingObserver a)
           
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RawFrameProcessor

public RawFrameProcessor()
Method Detail

ProcessFrame

public void ProcessFrame(byte[] data)
Specified by:
ProcessFrame in interface IRawFrameObserver

AddAnnotater

public void AddAnnotater(IAnnotatingObserver a)
Specified by:
AddAnnotater in interface IRawFrameObserver

RemoveAnnotater

public void RemoveAnnotater(IAnnotatingObserver a)
Specified by:
RemoveAnnotater in interface IRawFrameObserver

getAnnotaters

public List<IAnnotatingObserver> getAnnotaters()

DrawVideo

public void DrawVideo(Graphics g)
Specified by:
DrawVideo in interface IRawFrameObserver

getImage

public BufferedImage getImage()
Specified by:
getImage in interface IRawFrameObserver

getPortableSubImage

public PortableImage getPortableSubImage(Rectangle bbox,
                                         boolean flipVertical)

ProcessFrame

public void ProcessFrame(long addr)
Specified by:
ProcessFrame in interface IRawFrameObserver


Copyright © 2010-2014. All Rights Reserved.