public class FrameDifferencing extends VideoEffect
Constructor and Description |
---|
FrameDifferencing(IVideo pVideo,
FrameDifferencingParameters pParameters)
Creates a frame differencing effect object that can process the given video with the given
effect parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
process()
Processes the image differencing effect according to the specified parameters and applies it on the specified video.
|
void |
setParameters(FrameDifferencingParameters pParameters)
Sets the effect parameters.
|
abort, addVideoEffectListener, addVideoEffectListener, fireProcessingStarted, fireSetCurrentVideoFrame, getCurrentFrame, getPosition, getVideo, goToFirstFrame, goToLastFrame, goToNextFrame, goToPreviousFrame, isVideoEffectAborted, removeAllVideoEffectListeners, removeThreadListener, run, setVideo
addThreadListener, addThreadListener, fireEndedProperlyEvent, fireInterruptedEvent, fireProgressStatusEvent, removeAllThreadListeners, removeThreadListener
public FrameDifferencing(IVideo pVideo, FrameDifferencingParameters pParameters) throws java.lang.NullPointerException
pVideo
- The video that should be processed.pParameters
- The effect parameters.java.lang.NullPointerException
- If either the video or the effect parameters are null.public void setParameters(FrameDifferencingParameters pParameters)
pParameters
- The effect parameters that should be used.public void process()
process
in class VideoEffect