public class SlitScanProcessor extends VideoProcessor<MBFImage>
VideoProcessor that produces a slit-scan effect.| Constructor and Description |
|---|
SlitScanProcessor(int cacheSize)
Default constructor for using the video processor in an ad-hoc manner.
|
SlitScanProcessor(Video<MBFImage> video,
int cacheSize)
Constructor for creating a video processor which is chainable.
|
| Modifier and Type | Method and Description |
|---|---|
MBFImage |
processFrame(MBFImage frame)
Process a frame in this video.
|
countFrames, getCurrentFrame, getFPS, getHeight, getNextFrame, getTimeStamp, getWidth, hasNextFrame, process, process, processingComplete, resetclose, getCurrentFrameIndex, iterator, seek, setCurrentFrameIndexclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic SlitScanProcessor(int cacheSize)
cacheSize - The number of frames to retain for creating the slitscan
effectpublic SlitScanProcessor(Video<MBFImage> video, int cacheSize)
video - The video to processcacheSize - The number of frames to retain for creating the slitscan
effectpublic MBFImage processFrame(MBFImage frame)
VideoProcessorprocessFrame in class VideoProcessor<MBFImage>frame - The frame to process.