VAT  3.0
Video Analysis Tool
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Friends | List of all members
RMMMobileObject Class Reference

Public Member Functions

 RMMMobileObject (Datapool *i_data, bool init_models=true)
 
 RMMMobileObject (SpRMMMobileObject m)
 
 RMMMobileObject (RMMMobileObject *m)
 
void copyForNewObject (RMMMobileObject *to_copy)
 
void initUsedBlobs ()
 
void initInvolvedBlobs ()
 
std::set< SpRMMHypothesis, hypothesesOrderedByBestProbabilityOperatorsetInitialMultiModel (BoundingBox &bbox)
 
void renewModels ()
 
void renewModels (ReliabilityMultiModel &rm)
 
void setMobileId (unsigned long i_id)
 
void setNewMobileFromBlob (Blob *blob, unsigned long mobile_id)
 
void setNumberOfFramesNotSeen (int num)
 
void incrementNumberOfFramesNotSeen ()
 
void incrementNumberOfFramesSinceFirstTimeSeen ()
 
void setGlobalProbability ()
 
BoundingBox determineMostLikelyBoundingBox ()
 
unsigned long getMobileId ()
 
ObjectType getBestType ()
 
ObjectSubtype getBestSubType ()
 
int getNumberOfFramesNotSeen ()
 
int getNumberOfFramesSinceFirstTimeSeen ()
 
double getGlobalProbability ()
 
SpReliabilitySingleModelInterface getSubModel (QString)
 
SpReliabilitySingleModelInterface getSubModel (QString name, std::deque< SpReliabilitySingleModelInterface > &models)
 
bool findSingleModelByName (QString name)
 
std::set< SpRMMHypothesis, hypothesesOrderedByBestProbabilityOperatorupdateMobilePath (BoundingBox &bbox, DetectionProblemType dp_type)
 
void updateMobileBufferStructures (BoundingBox &bbox, DetectionProblemType dp_type)
 
void updateMobileDynamics ()
 
void initDynamics ()
 
void initCooling ()
 
double DimensionalCoherenceReliability (double sigma_dim, double min, double max)
 
void updateBestTypeInformation ()
 
void incrementalUpdateDynamics (std::deque< SpReliabilitySingleModelInterface > &dyn)
 
void updateCooling ()
 
bool mobileOutOfScene ()
 
void setMobileReference ()
 
Rectangle< int > getVisualEvidenceEstimator ()
 
Rectangle< int > getVisualEvidenceEstimator (double &R)
 
void prepareNewMobile (BoundingBox &bbox, unsigned long mobile_id, DetectionProblemType dp_type)
 
void prepareExistingMobile (BoundingBox &bbox, DetectionProblemType dp_type)
 
bool differentEnoughForWorthyBackReprocessing (SpReliabilitySingleModelInterface current, SpReliabilitySingleModelInterface dependant)
 
void genROIFromFg (cv::Mat &image_roi, BoundingBox &roi)
 
void mergeSegmentation (ModelInstanceGeneralPack &m1, ModelInstanceGeneralPack &m2)
 
void mergeGeneralPacks (ModelInstanceGeneralPack *packs[], int size, ModelInstanceGeneralPack &result)
 
void weightedMergeGeneralPacks (ModelInstanceGeneralPack *packs[], int size, ModelInstanceGeneralPack &result)
 
bool oneStrongClass (int index, int &strong_dep_index, ModelInstanceGeneralPack *post[], int size)
 
void integrateInsideForeground (ModelInstanceGeneralPack &result, ModelInstanceGeneralPack &toCopy)
 
double segmentationSimilarity (ModelInstanceGeneralPack &m1, ModelInstanceGeneralPack &m2)
 
double segmentationSimilarity (ModelInstanceGeneralPack &m1, BoundingBox &roi2)
 
void cloneSegmentation (ModelInstanceGeneralPack &result, ModelInstanceGeneralPack &copy, bool gen_fg)
 
ModelInstanceGeneralPackgeneratePostCompletion (int origin, int modelIndex, ModelInstanceGeneralPack &dpack)
 
void generatePostCompletion (int modelIndex, ModelInstanceGeneralPack &dpack)
 

Static Public Member Functions

static void initKalman ()
 
static double NormalizeOrientation (double)
 
static double minimalAngularDistance (double alpha1, double alpha2)
 
static double NormalizeVelocityAngle (double)
 
static double coolingFunction (double x)
 
static bool diffEnoughSegmentation (cv::Mat &current, cv::Mat &dependant)
 
static void genROIFromSpecificSegmentation (cv::Mat &image_roi, BoundingBox &roi, BoundingBox &original_roi, cv::Mat &original_seg)
 
static double boundingBoxSimilarity (BoundingBox &b1, BoundingBox &b2)
 
static double segmentationSimilarity (cv::Mat &m1, cv::Mat &m2)
 
static double classSimilarity (ModelInstanceGeneralPack &m1, ModelInstanceGeneralPack &m2)
 

Public Attributes

Datapoolm_data
 
unsigned long mobile_id
 
ObjectType best_type
 
ObjectSubtype best_subtype
 
int best_index
 
bool ensureMode
 
int numberOfFramesNotSeen
 
int numberOfFramesSinceFirstTimeSeen
 
int currentFrame
 
long timeStamp
 
bool firstUpdate
 
DetectionProblemType currentVisualState
 
bool foundSupport
 
int numberOfFound
 
double prevCooling
 
double sumCooling
 
double P
 
double R
 
bool * usedBlobs
 
int numUsed
 
bool * involvedBlobs
 
int numInvolved
 
Rectangle< int > iestimator
 
bool comparedMobile
 
bool toErase
 
int firstForwardModel
 
std::deque< SpRMMMobileObject > history
 
int firstFrameSeen
 
ReliabilityMultiModel multiModel
 

Static Public Attributes

static SceneModelm_context = NULL
 
static double m_maxSpeed = 5000
 
static int m_currentTrackingBlobsNumber = 0
 
static double m_lambda = 1000
 
static int m_MultiModelBufferSize = 10
 
static int m_trajectoryMaxSize = 0
 
static double m_knownSolutionThreshold = 0.5
 
static double m_mobile2DCoverageRateToConsiderEqual = 0.95
 
static double m_mobile2DCoverageSegmentationToConsiderEqual = 0.90
 
static double m_mobileMinProbabilityToClassify = 0.5
 
static double m_CoherenceReliabilityThreshold = 0.1
 
static double m_CoherenceProbabilityThreshold = 0.5
 
static double m_probabilityToEnsureMode = 0.8
 
static int m_reliableFrames = 3
 
static double zeroTolerance = 0.00001
 
static double * secDiffSequence = NULL
 
static double * secDiffToCurrent = NULL
 
static double * coolingValue = NULL
 
static ReliabilityMultiModelTemplatem_modelTemplate
 
static RMMTrackerm_tracker
 
static cv::KalmanFilter m_kalman
 
static bool m_useKalman = false
 
static int m_kalmanMaxPixelError = 10
 
static SpRMMHypothesis activeHypothesis
 

Friends

std::ostream & operator<< (std::ostream &, SpRMMMobileObject)
 

The documentation for this class was generated from the following files: