public class MBFImageToFImageVideoTranslator extends VideoTranslator<MBFImage,FImage>
Constructor and Description |
---|
MBFImageToFImageVideoTranslator(Video<MBFImage> in)
Construct using the input video.
|
Modifier and Type | Method and Description |
---|---|
FImage |
translateFrame(MBFImage nextFrame)
Translates the MBFImage video frame to an FImage video frame
using
Transforms.calculateIntensity(MBFImage) . |
countFrames, getCurrentFrame, getFPS, getHeight, getNextFrame, getTimeStamp, getWidth, hasNextFrame, reset
close, getCurrentFrameIndex, iterator, seek, setCurrentFrameIndex
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public MBFImageToFImageVideoTranslator(Video<MBFImage> in)
in
- The input videopublic FImage translateFrame(MBFImage nextFrame)
Transforms.calculateIntensity(MBFImage)
.translateFrame
in class VideoTranslator<MBFImage,FImage>
nextFrame
- The input frame.VideoTranslator.translateFrame(org.openimaj.image.Image)