Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

Impala::Visualization::SegmentationDocumentGuiAnno Class Reference

#include <SegmentationDocumentGuiAnno.h>

Inheritance diagram for Impala::Visualization::SegmentationDocumentGuiAnno:

Inheritance graph
[legend]
Collaboration diagram for Impala::Visualization::SegmentationDocumentGuiAnno:

Collaboration graph
[legend]
List of all members.

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)
VideoAnnotationsGetVideoAnnotations ()
Array2dVec3UInt8GetFrameArrIm (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)
RgbDataSrcOpenRgbDataSrc (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 ()
ButtonKbButton (char *str, int w, int h, String keyStr, int userData)
UpDownButtonPrevNextAnnoShot (OglGui::Window *parent, strconst str, int userData)
ButtonInBoxButton (OglGui::Window *parent, int x, int w, strconst str, int lData)
CheckBoxRectCheckBox (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< AnnoHistorymAnnoHistory
std::vector< int > mShots
std::vector< int > mCurShotFrames
std::vector< int > mRankedShots
SegmentationDocumentmSegDoc
Core::VideoSet::VideoSetmVidSet
Core::VideoSet::KeyframesmKeyframes
Core::ImageSet::ImageSetmKeyframeSet
Core::VideoSet::Mpeg7DocmCurMpeg7
SimilarityTableSetmShotSimSet
SimilarityTableSetmSimSet
RgbDataSrcmRgbDataSrc
ImagesWindowmImWnd
ImagesWindowmImShotWnd
StaticTextmNrAnnoTxt
TextAreamFrameText
TextAreamShotText
CheckBoxmAllowSlidingChBox
CheckBoxmPNInVideoCB
CheckBoxmRankChBox
SimilarityTimeLineVideomSimTLV
ValueScrollBarmRankVSB
ValueScrollBarmShotValueSB
ValueScrollBarmAnnoHistoryVSB
UpDownNumbermStepUpDown
UpDownNumbermShotThresholdUDNr
UpDownButtonmPositiveUDBtn
UpDownButtonmNegativeUDBtn
UpDownButtonmSkippedUDBtn
UpDownButtonmUnknownUDBtn
ButtonmNavModeBtn
ButtonmRankAllBtn
ButtonmRankNotAnnoBtn
ButtonmShotLeftBtn
ButtonmShotRightBtn
ButtonmSyncBtn
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

Detailed Description

Definition at line 29 of file SegmentationDocumentGuiAnno.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 19 11:46:06 2010 for ImpalaSrc by  doxygen 1.5.1