public class CombiShotDetector extends VideoShotDetector<MBFImage>
It runs the shot detection for each detector that is registered with the class and if it determines that a shot boundary occurred the score is increased by the weighting value for that detector. The final score is divided by the number of detectors to get a probability value for the frame being a shot boundary. By default the threshold is set to 0.75 - that is, there must be a 3/4 correlation of shot boundary for it to be considered a shot boundary.
|Constructor and Description|
If you use this constructor, your timecodes will be messed up unless you call
Default constructor that takes the video to be processed
|Modifier and Type||Method and Description|
Add a shot detector that will be used in the evidence gathering.
Returns the inter-frame distance between this frame and the last.
addShotDetectedListener, afterUpdate, beforeUpdate, fireDifferentialCalculated, fireShotDetected, getDifferentials, getLastKeyframe, getLastShotBoundary, getShotBoundaries, getThreshold, process, processFrame, removeShotDetectedListener, reset, setFindKeyframes, setFPS, setStoreAllDifferentials, setThreshold, wasLastFrameBoundary
countFrames, getCurrentFrame, getFPS, getHeight, getNextFrame, getTimeStamp, getWidth, hasNextFrame, process, processingComplete
close, getCurrentFrameIndex, iterator, seek, setCurrentFrameIndex
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
VideoShotDetector.setFPS(double)before you process any frames.
public void addVideoShotDetector(VideoShotDetector<MBFImage> detector, double weight)
detector- The detector
weight- The weight to use for this detector
protected double getInterframeDistance(MBFImage thisFrame)