public class GreyscaleSlitScanProcessor extends VideoProcessor<MBFImage>
VideoProcessor that produces a slit-scan effect based on the time-map
in a greyscale image.| Constructor and Description |
|---|
GreyscaleSlitScanProcessor(FImage timemap)
Default constructor for using the video processor in an ad-hoc manner.
|
GreyscaleSlitScanProcessor(FImage timemap,
int cacheSize)
Default constructor for using the video processor in an ad-hoc manner.
|
GreyscaleSlitScanProcessor(int cacheSize)
Default constructor for using the video processor in an ad-hoc manner.
|
GreyscaleSlitScanProcessor(Video<MBFImage> video,
FImage timemap,
int cacheSize)
Constructor for creating a video processor which is chainable.
|
GreyscaleSlitScanProcessor(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 GreyscaleSlitScanProcessor(FImage timemap)
timemap - The time map imagepublic GreyscaleSlitScanProcessor(FImage timemap, int cacheSize)
timemap - The time map imagecacheSize - The number of frames to retain for creating the slitscan
effectpublic GreyscaleSlitScanProcessor(Video<MBFImage> video, FImage timemap, int cacheSize)
video - The video to processtimemap - the time mapcacheSize - The number of frames to retain for creating the slitscan
effectpublic GreyscaleSlitScanProcessor(int cacheSize)
cacheSize - The number of frames to retain for creating the slitscan
effectpublic GreyscaleSlitScanProcessor(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.