@Reference(type=Inproceedings, author={"{S}teiner, {T}homas","{V}erborgh, {R}uben","{G}abarr{\'o} {V}all{\'e}s, {J}oaquim","{T}roncy, {R}apha{\"e}l","{H}ausenblas, {M}ichael","{V}an de {W}alle, {R}ik","{B}rousseau, {A}rnaud"}, title="{E}nabling on-the-fly video shot detection on {Y}ou{T}ube", year="2012", booktitle="{WWW} 2012, 21st {I}nternational {W}orld {W}ide {W}eb {C}onference {D}eveloper\'s {T}rack, {A}pril 16-20, 2012, {L}yon, {F}rance", url="http://www.eurecom.fr/publication/3676", month="04", customData={"address","{L}yon, {FRANCE}"}) public class LocalHistogramVideoShotDetector extends VideoShotDetector<MBFImage>
lastFrameWasBoundary, threshold
Constructor and Description |
---|
LocalHistogramVideoShotDetector(int nGridElements)
If you use this constructor, your timecodes will be messed up
unless you call
VideoShotDetector.setFPS(double) before you process
any frames. |
LocalHistogramVideoShotDetector(Video<MBFImage> video,
int nGridElements) |
Modifier and Type | Method and Description |
---|---|
protected void |
drawBoxes(MBFImage img,
double[][] sim)
Draws the boxes to show movements.
|
protected double |
getInterframeDistance(MBFImage frame)
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
forEach, spliterator
public LocalHistogramVideoShotDetector(int nGridElements)
VideoShotDetector.setFPS(double)
before you process
any frames.nGridElements
- The number of x and y grid elements
(there will be this number squared in total)public LocalHistogramVideoShotDetector(Video<MBFImage> video, int nGridElements)
video
- The video to processnGridElements
- The number of x and y grid elements
(there will be this number squared in total)protected double getInterframeDistance(MBFImage frame)
getInterframeDistance
in class VideoShotDetector<MBFImage>
VideoShotDetector.getInterframeDistance(org.openimaj.image.Image)