|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--StoriesSegment | +--VideoSubmission
Field Summary |
Fields inherited from class StoriesSegment |
clippedRef, clippedSub, clippingPoints, deletion, insertion, lengthVideo, match, matchType, missingType, nomatchType, offsetAnalogMinusDigital, segmentation, segmentationBeforeClipping, treated |
Constructor Summary | |
VideoSubmission(boolean typed,
org.w3c.dom.Node video)
Constructor of the class. |
|
VideoSubmission(boolean typed,
org.w3c.dom.Node video,
java.util.Vector clippingPoints,
java.util.Vector offsets)
Constructor of the class. |
Method Summary | |
void |
addEndTime()
Add the endTime of the last story of the segmentation ie the length of the Mpeg1 |
java.util.Vector |
applyClippingPoints()
This method apply the clipping points to the current Video. |
TimeBase |
getAlign()
Returns the offset we have to add to the submission time(Digital) to get the Analog Time. |
int |
getNbDetectedBoundaries(int fuzzyFactor)
returns Number Of detected Boundaries for this video. |
int |
getNumbersOfReferenceBoundariesDetectedOneFile(int fuzzyFactor)
returns Number Of detected Reference Boundaries for this video. |
int |
getTotalTimeIdentifiedOf(java.lang.String type)
This method returns the total Time of a specific story type. |
boolean |
getTyped()
This method let us know il the result for this videos contains classification information |
java.lang.String |
getVideoFileName()
Returns the name of the video associated to the current truth |
void |
load()
Load the Video results from the XML file and fill the attributes of VideoSubmission |
void |
setTruthData(TruthData truth)
This method associates a TruthData object to the current Video results |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VideoSubmission(boolean typed, org.w3c.dom.Node video, java.util.Vector clippingPoints, java.util.Vector offsets)
typed
- boolean says if the run whre that video is coming from is typed or notvideo
- XML Node associated to the current video ResultsclippingPoints
- Vector containing all the clipping pointsoffsets
- Vector containing all the offsetspublic VideoSubmission(boolean typed, org.w3c.dom.Node video)
typed
- boolean says if the run whre that video is coming from is typed or notvideo
- XML Node associated to the current video ResultsMethod Detail |
public void setTruthData(TruthData truth)
truth
- A truthData object
public java.util.Vector applyClippingPoints()
applyClippingPoints
in class StoriesSegment
if ($offset <0) #MPEG starts before the ground truth, we have to remove initial stories from the submission # remove story in interval [0.0 -- offset] GGGGGGGG MMMMMMMMM DDDD (G is ground truth, M is mpeg, D is delete) if ( 1800-$offset < $length) # ground truth ends before the end of the video, we have to remove some final stories from # submission # remove story in interval [ (1800 -$offset) -- $length] GGGGGGGG MMMMMMMMMMMMM DDDDD
public void addEndTime()
addEndTime
in class StoriesSegment
public boolean getTyped()
public java.lang.String getVideoFileName()
getVideoFileName
in class StoriesSegment
public void load()
public int getNbDetectedBoundaries(int fuzzyFactor)
public int getNumbersOfReferenceBoundariesDetectedOneFile(int fuzzyFactor)
public int getTotalTimeIdentifiedOf(java.lang.String type)
type
- Type of the story, for TRECVID2003 we need the information on "news"
public TimeBase getAlign()
getAlign
in class StoriesSegment
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |