|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--StoriesSegment | +--TruthData
Field Summary |
Fields inherited from class StoriesSegment |
clippedRef, clippedSub, clippingPoints, deletion, insertion, lengthVideo, match, matchType, missingType, nomatchType, offsetAnalogMinusDigital, segmentation, segmentationBeforeClipping, treated |
Constructor Summary | |
TruthData()
Basic constructor of the Class, call the constructor of the super Class StroriesSegment |
|
TruthData(java.io.File src)
Constructor of the Class, call the constructor of the super Class StroriesSegment and load the Reference file in parameter |
Method Summary | |
void |
addEndTime()
this method add the end Time of the last Story ofthe segmentation Vector. |
java.util.Vector |
applyClippingPoints()
This method apply the clipping points to the current Video. |
java.lang.Object |
clone()
Implementation of the method clone from Object class |
TimeBase |
getAlign()
In order to compare the submission(Digital) and the reference (Analog) we have to use the same time scale. |
java.lang.String |
getFileName(java.lang.String line)
Returns the name of the video associated to the current truth from the src_sgm file |
TimeBase |
getOffset()
Each Reference file has a begin recording time like 18:30:00.00. |
TimeBase |
getTime(java.lang.String line)
Returns the time of line of a src_sgm file |
java.lang.String |
getType(java.lang.String line)
Returns the type of the story from a line of a src_sgm file |
java.lang.String |
getVideoFileName()
Returns the name of the video associated to the current truth |
void |
load()
Load the Reference file. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TruthData()
public TruthData(java.io.File src)
src
- Reference file to load, this file must have the extension src_sgmMethod Detail |
public TimeBase getOffset()
public void load()
public TimeBase getAlign()
getAlign
in class StoriesSegment
public java.lang.Object clone()
clone
in class java.lang.Object
public java.util.Vector applyClippingPoints()
applyClippingPoints
in class StoriesSegment
if ($offset >0) #MPEG starts later the ground truth, we have to remove initial stories from the ground Truth # remove story in interval [0.0 -- offset] GGGGGGGG MMMMMMMMM DDDD (G is ground truth, M is mpeg, D is delete) if ($length + $offset < 1800) # MPEG ends before the gound truth, we have to remove some final stories from the grounf Truth # remove story in interval [ (1800 -$offset) -- $length] GGGGGGGGGGGGG MMMMMMMM DDDDD
public java.lang.String getFileName(java.lang.String line)
line
- line in the src_sgm file this method analyse
public void addEndTime()
StoriesSegment
addEndTime
in class StoriesSegment
public java.lang.String getVideoFileName()
getVideoFileName
in class StoriesSegment
public java.lang.String getType(java.lang.String line)
line
- String line in the src_sgm file this method analyse
public TimeBase getTime(java.lang.String line)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |