|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--StoriesSegment
Field Summary | |
java.util.Vector |
clippedRef
|
java.util.Vector |
clippedSub
|
java.util.Vector |
clippingPoints
|
java.util.Vector |
deletion
|
java.util.Vector |
insertion
|
TimeBase |
lengthVideo
|
java.util.Vector |
match
|
java.util.Vector |
matchType
|
java.util.Vector |
missingType
|
java.util.Vector |
nomatchType
|
TimeBase |
offsetAnalogMinusDigital
|
java.util.Vector |
segmentation
|
java.util.Vector |
segmentationBeforeClipping
|
boolean |
treated
|
Constructor Summary | |
StoriesSegment()
Constructor method. |
Method Summary | |
abstract void |
addEndTime()
this method add the end Time of the last Story ofthe segmentation Vector. |
void |
addOneStory(TimeBase beginTime,
TimeBase endTime,
java.lang.String type)
Add a story to the SoriesSegment. |
abstract java.util.Vector |
applyClippingPoints()
This method applies the clipping points on a StoriesSegment object. |
void |
displaySegment()
This method display on the standard ouput the content of the segmentation of a StoriesSegment Object. |
abstract TimeBase |
getAlign()
Get the offset you have to apply on the a StoriesSegment Object Time to get the AnalogTime |
TimeBase |
getBeginStoryForTime(TimeBase t)
Gives a time t and this method will return the BeginTime of the story that time t belongs to |
int |
getBeginTimeStory(int nbStory)
returns the Begin Time of the story number nbSTory in the segmentation |
int |
getEndTimeStory(int nbStory)
returns the End Time of the story number nbSTory in the segmentation |
TimeBase |
getMPEG1Length()
Return the length of the Mpeg1 video associated |
int |
getNumberOfBoundaries()
Returns the number of boundaries of the current StoriesSegment |
int |
getNumberOfEvaluatedBoundaries()
Returns the number of boundaries evaluated of the current StoriesSegment. |
int |
getNumberOfStories()
Returns the number of Stories of the current StoriesSegment |
int |
getTimeOfBoundary(int noBoundary)
Returns the time of the 1st, 2nd ...n th boundary |
int |
getTotalTimeOneStory(java.lang.String typeStory)
Returns the length of story named typeStory of the current StoriesSegment |
java.lang.String |
getType(int nbStory)
returns the type of the story number nbSTory in the segmentation |
java.lang.String |
getType(TimeBase t1,
TimeBase t2)
This method return the type of a story between two boundaries. |
abstract java.lang.String |
getVideoFileName()
returns the video file name of the current object either Truth or Submission |
TimeBase |
getVideoLength()
It returns the length of the current video (Mpeg1) |
java.util.Vector |
invertStoriesSegment(java.util.Vector segmentationInv)
This method invert the stories in the storiesSegment object. |
java.util.Vector |
returnResultBoundaryDistribution()
Returns a Vector with all the Vectors useful ofr the Story boundary task |
java.util.Vector |
returnResultStoryDistribution()
Returns a Vector with all the Vectors useful ofr the Classification task |
java.util.Vector |
searchClippingPoints()
It returns the clipping points ie the clipping start and the clipping end for the current Stories segment object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.util.Vector segmentation
public java.util.Vector segmentationBeforeClipping
public java.util.Vector clippingPoints
public TimeBase lengthVideo
public boolean treated
public TimeBase offsetAnalogMinusDigital
public java.util.Vector insertion
public java.util.Vector deletion
public java.util.Vector match
public java.util.Vector clippedRef
public java.util.Vector clippedSub
public java.util.Vector matchType
public java.util.Vector nomatchType
public java.util.Vector missingType
Constructor Detail |
public StoriesSegment()
| | | | | | |Vector|Vector|Vector| .......................|Vector| | | | | | | | | | bTime | : Begin Time of the Story | eTime | : End Time of the Story, which is the begin time of the next one | Type | : Type of the story, for TRECVID2003 "misc" or "news"
Method Detail |
public abstract java.lang.String getVideoFileName()
public abstract void addEndTime()
public abstract TimeBase getAlign()
public TimeBase getMPEG1Length()
public abstract java.util.Vector applyClippingPoints()
public void displaySegment()
public java.lang.String getType(TimeBase t1, TimeBase t2)
t1
- first TimeBase object of a story boundaryt2
- second timeBase object of a story boundary
public TimeBase getVideoLength()
public java.util.Vector searchClippingPoints()
|fileName | |clipstart| |clipend |
public void addOneStory(TimeBase beginTime, TimeBase endTime, java.lang.String type)
beginTime
- the begin Time of the story to addendTime
- the end time of the story to addtype
- type of the story to addpublic java.util.Vector invertStoriesSegment(java.util.Vector segmentationInv)
segmentationInv
- the segmenttaion to invert.
public int getTimeOfBoundary(int noBoundary)
noBoundary
- int : numero of the boudary in the segmentation
public int getBeginTimeStory(int nbStory)
nbStory
- int :no of story in the segmentation
public int getEndTimeStory(int nbStory)
nbStory
- int :no of story in the segmentation
public java.lang.String getType(int nbStory)
nbStory
- int :no of story in the segmentation
public TimeBase getBeginStoryForTime(TimeBase t)
t
- TimeBase Whose story is this time t?
public int getNumberOfStories()
public int getNumberOfBoundaries()
public int getNumberOfEvaluatedBoundaries()
public int getTotalTimeOneStory(java.lang.String typeStory)
typeStory
- type of the story. For TRECVID2003 it is "news"
public java.util.Vector returnResultBoundaryDistribution()
|insertion | : Vector containing the information for insertion story boundaries | deletion | : Vector containing the information for deletion story boundaries | match | : Vector containing the information for match story boundaries |ClippedRef| : Vector containing the information for Clipped story boundaries from the reference |ClippedSub| : Vector containing the information for Clipped story boundaries from the submission
public java.util.Vector returnResultStoryDistribution()
|matchtype | : Vector containing the information for match stories |nomatch | : Vector containing the information for storie that doesn't match |missingType| : Vector containing the information for stories which are in the Reference but not in the submission |ClippedRef | : Vector containing the information for Clipped stories from the reference |ClippedSub | : Vector containing the information for Clipped stories from the submission
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |