|
Public Types |
typedef std::vector< UCHAR > | VideoAnnotation |
typedef std::vector< VideoAnnotation * > | VideoAnnotations |
typedef Core::VideoSet::SegmentationDocument | SegmentationDocument |
typedef Core::VideoSet::Segmentation | Segmentation |
typedef Core::Array::Array2dVec3UInt8 | Array2dVec3UInt8 |
typedef Core::VideoSet::Mpeg7Doc | Mpeg7Doc |
typedef Core::Stream::RgbDataSrc | RgbDataSrc |
typedef Core::Stream::RgbDataSrcRaw | RgbDataSrcRaw |
typedef Core::Stream::RgbDataSrcFactory | RgbDataSrcFactory |
typedef Core::Table::SimilarityTableSet | SimilarityTableSet |
typedef Visualization::SimilarityTimeLineVideo | SimilarityTimeLineVideo |
typedef SimilarityTableSet::SimTableType | SimTableType |
typedef SimilarityTableSet::RankTableType | RankTableType |
typedef OglGui::TitledWindow | TitledWindow |
typedef OglGui::Button | Button |
typedef OglGui::StaticText | StaticText |
typedef OglGui::TextArea | TextArea |
typedef OglGui::CheckBox | CheckBox |
typedef OglGui::UpDownButton | UpDownButton |
typedef OglGui::UpDownNumber | UpDownNumber |
typedef OglGui::ValueScrollBar | ValueScrollBar |
typedef OglGui::Strut | Strut |
Public Member Functions |
| SegmentationDocumentGuiAnno (OglGui::Window *parent, int wndWidth, int wndHeight, SegmentationDocument *segDoc, String conceptSet, int maxAnnoPerVideo, int controlId) |
virtual void | HandleActivate () |
virtual void | HandleNewFile () |
virtual void | HandleNewShot () |
void | FillShotSample (int firstFrame, int lastFrame, int curFrame) |
void | ToShotWindow (int idx, bool isKeyFrame=false) |
VideoAnnotations * | GetVideoAnnotations () |
Array2dVec3UInt8 * | GetFrameArrIm (int frameNr) |
virtual void | HandleNewConcept () |
virtual void | HandleLoadConcepts (String fileName, bool handleNew=true) |
virtual void | HandleSaveConcepts (String fileName) |
int | FindFrameShot (int frame) |
int | FindSegFrameShot (int frame) |
int | FindAdjacentAnnoShot (int curFile, int bit, int shotIdx, bool next) |
int | FindAdjacentAnnoShot (int bit, int shotIdx, bool next) |
bool | GoToAdjacentAnnoShot (int bit, int shotIdx, bool next) |
int | FindNextAnno (int bit, bool next, bool stayInVideo) |
void | GoToNextAnno (int bit, bool next, bool stayInVideo) |
void | Synchronize (int kf=-1) |
void | AdjustAnnoBoundary (int lData) |
void | SetRankingMode (bool mode) |
void | GoToCurrentRank () |
void | ToggleNavigationMode () |
void | NavigateExtremes (bool toStart) |
virtual void | ButtonSelectionEvent (Button *src, void *vData) |
virtual void | HandleNewKey (int c, int state) |
void | OnAnnoHistoryVSB (int value) |
virtual void | UpDownButtonSelectionEvent (UpDownButton *src, bool isUpBtn, void *userData) |
virtual void | UpDownNumberChangedEvent (UpDownNumber *src, void *userData) |
virtual void | OnValueChanged (ValueScrollBar *src, int value, void *userData) |
virtual void | CheckBoxEvent (CheckBox *src, bool checked, void *vData) |
void | DrawFramesLine (SimilarityTimeLine *sTL, int f1, int f2, int w, int y1, int y2, ULONG col) |
void | DisplayThreshShots (SimilarityTimeLine *sTL, int y, ULONG col1, ULONG col2) |
void | DisplaySegShots (SimilarityTimeLine *sTL, int y, ULONG col1, ULONG col2) |
void | DisplayShotRelevances (SimilarityTimeLine *sTL, int y) |
void | ShotControlFeedback (int fFrame, int lFrame, int kFrame) |
void | RankingControlFeedback () |
void | HandleUpDownState (UpDownButton *udBtn, int state, bool doParent=false) |
void | PrevNextAnnoControlFeedBack () |
void | DrawShotRelevance (SimilarityTimeLine *sTL, int idx, int kFrame, int y) |
virtual void | WindowDisplayEvent (OglGui::Window *src, void *userData) |
virtual void | DisplayFunc () |
Private Member Functions |
int | Relevance2Bit (float rel) |
void | RelevanceStats (double rel, int delta) |
void | AnnoStats (int idx, double relevance) |
bool | InAnnoHistory (AnnoHistory *aH) |
void | ToAnnoHistory (int fileIdx, int frameIdx, int rankIdx) |
bool | CheckAnnoMax () |
void | DoAnno (double relevance, bool isShot) |
void | GoBack () |
void | GoForw (bool withinVideo) |
void | UpdateRelevance () |
ULONG | RelevanceColor (float relevance) |
void | CheckLoadMpeg7 () |
void | CheckSaveMpeg7 (bool doDelete) |
void | ClearVideoAnnotations () |
void | CheckLoadVideoAnnotations () |
void | CheckNewVideo (int oldCurFile) |
RgbDataSrc * | OpenRgbDataSrc (String rawName, String videoName) |
void | ConstructShots (float threshold) |
void | CreateSimTLV () |
void | ConstructNewVideoSimSet () |
int | FindRankedShot (int shot) |
bool | PassTest (int filter, bool unKnown, bool pos, bool neg, bool skip) |
bool | ToRankedShots (RankTableType *rankTable, int i, int filter) |
void | ConstructShotRanking (bool exclAnnotatedMode) |
void | HandleConceptsFromFile () |
Button * | KbButton (char *str, int w, int h, String keyStr, int userData) |
UpDownButton * | PrevNextAnnoShot (OglGui::Window *parent, strconst str, int userData) |
Button * | InBoxButton (OglGui::Window *parent, int x, int w, strconst str, int lData) |
CheckBox * | RectCheckBox (OglGui::Window *parent, int w, int h, String str, int lData) |
void | GuiNavigation () |
void | GuiVideoShotControl () |
void | GuiRankingControl () |
void | GuiAnnotationControl () |
void | GuiAnnoHistoryControl () |
void | GuiPrevNextAnnotatedControl () |
void | InitGUI () |
void | ReadKeyBindings () |
void | HandleCmdOptions () |
void | InitVars (SegmentationDocument *segDoc, String conceptSet, int annoPerVideo) |
void | Init (SegmentationDocument *segDoc, String conceptSet, int maxAnnoPerVideo) |
Private Attributes |
VideoAnnotations | mVideoAnnotations |
std::vector< AnnoHistory > | mAnnoHistory |
std::vector< int > | mShots |
std::vector< int > | mCurShotFrames |
std::vector< int > | mRankedShots |
SegmentationDocument * | mSegDoc |
Core::VideoSet::VideoSet * | mVidSet |
Core::VideoSet::Keyframes * | mKeyframes |
Core::ImageSet::ImageSet * | mKeyframeSet |
Core::VideoSet::Mpeg7Doc * | mCurMpeg7 |
SimilarityTableSet * | mShotSimSet |
SimilarityTableSet * | mSimSet |
RgbDataSrc * | mRgbDataSrc |
ImagesWindow * | mImWnd |
ImagesWindow * | mImShotWnd |
StaticText * | mNrAnnoTxt |
TextArea * | mFrameText |
TextArea * | mShotText |
CheckBox * | mAllowSlidingChBox |
CheckBox * | mPNInVideoCB |
CheckBox * | mRankChBox |
SimilarityTimeLineVideo * | mSimTLV |
ValueScrollBar * | mRankVSB |
ValueScrollBar * | mShotValueSB |
ValueScrollBar * | mAnnoHistoryVSB |
UpDownNumber * | mStepUpDown |
UpDownNumber * | mShotThresholdUDNr |
UpDownButton * | mPositiveUDBtn |
UpDownButton * | mNegativeUDBtn |
UpDownButton * | mSkippedUDBtn |
UpDownButton * | mUnknownUDBtn |
Button * | mNavModeBtn |
Button * | mRankAllBtn |
Button * | mRankNotAnnoBtn |
Button * | mShotLeftBtn |
Button * | mShotRightBtn |
Button * | mSyncBtn |
String | mRankSet |
String | mRankFeature |
String | mRankModel |
String | mConceptModel |
String | mConceptFeature |
String | mConceptSet |
double | mCurRelevance |
float | mShotThreshold |
int | mCurFile |
int | mCurConcept |
int | mCurKey |
int | mCurRankShot |
int | mMaxAnnoPerVideo |
int | mStepSize |
int | mNrAnnoPerVideo |
int | mNrAnnotated |
int | mNrPositive |
int | mNrSkip |
int | mNrNegative |
int | mAnnoSearchRecursLevel |
int | mRankFilterBits |
int | mAnnoHistoryPos |
bool | mRankAll |
bool | mShotValueSBAdjusting |
bool | mRankVSBAdjusting |
bool | mAnnoHistoryVSBAdjusting |
bool | mNoSimTLV |
bool | mNoShotControl |
bool | mNoShotEditing |
bool | mNoShotThreshold |
bool | mNoRankSlider |
bool | mNoAnnoHistoryControl |
bool | mNoPrevNextControl |
bool | mNoViewStripControl |
bool | mRankingMode |
bool | mShowSegShots |
bool | mShowThreshShots |
bool | mPrevNextAnnoStayInVideo |
bool | mAnnoSearching |
bool | mNextAnnoFound |
bool | mCurMpeg7Changed |
bool | mFrameSliding |
bool | mNoAutoNextAnno |
| ILOG_VAR_DEC |
Static Private Attributes |
static const int | BUT_POSITIVE = 100 |
static const int | BUT_SKIP = 101 |
static const int | BUT_NEGATIVE = 102 |
static const int | BUT_SAVE = 103 |
static const int | BUT_BACK = 104 |
static const int | BUT_FORW = 105 |
static const int | BUT_SHOT_POS = 106 |
static const int | BUT_SHOT_NEG = 107 |
static const int | BUT_LEFT_SHOT = 108 |
static const int | BUT_RIGHT_SHOT = 109 |
static const int | BUT_SYNC = 110 |
static const int | VIEWSTRIP_PRE = 111 |
static const int | VIEWSTRIP_MIN = 112 |
static const int | VIEWSTRIP_MAX = 113 |
static const int | BUT_NAV_MODE = 114 |
static const int | BUT_NAV_BEGIN = 115 |
static const int | BUT_NAV_END = 116 |
static const int | BUT_RANK_ALL = 117 |
static const int | BUT_RANK_NOT_ANN = 118 |
static const int | UPDOWNBUT_POSITIVE = 130 |
static const int | UPDOWNBUT_SKIPPED = 131 |
static const int | UPDOWNBUT_NEGATIVE = 132 |
static const int | UPDOWNBUT_UNKNOWN = 133 |
static const int | CHBOX_RANK_MODE = 203 |
static const int | CHBOX_SHOW_THRESH_SHOTS = 204 |
static const int | CHBOX_SHOW_SEG_SHOTS = 205 |
static const int | CHBOX_PN_IN_VIDEO = 206 |
static const int | UNKNOWN_BIT = 1 |
static const int | POSITIVE_BIT = 2 |
static const int | SKIPPED_BIT = 4 |
static const int | NEGATIVE_BIT = 8 |
Classes |
struct | AnnoHistory |