VAT  3.0
Video Analysis Tool
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
BlobLRBTFromBGSubstractionModel3 Class Reference
Inheritance diagram for BlobLRBTFromBGSubstractionModel3:
ReliabilitySingleModelInterface

Public Types

enum  Bound { B_LEFT, B_RIGHT, B_TOP, B_BOTTOM }
 

Public Member Functions

 BlobLRBTFromBGSubstractionModel3 (int buffer_size)
 
virtual void initInstanceAttributes ()
 
virtual void initDynamicsAttributes ()
 
virtual void copy (SpReliabilitySingleModelInterface)
 
virtual void copy_structure (SpReliabilitySingleModelInterface)
 
virtual void setParameters (QDomNode &i_parameters)
 
virtual void activate (BoundingBox &)
 
virtual void init ()
 
virtual bool updateInstance (BoundingBox &, std::set< SpRMMHypothesis, hypothesesOrderedByBestProbabilityOperator > &)
 
virtual void updateSingleInstance (BoundingBox &)
 
virtual void updateModelDynamics ()
 
virtual void setProbabilityAndReliability ()
 
virtual void setForwardInterface ()
 
virtual bool draw (QPainter &painter)
 
virtual bool draw (QPainter &painter, int r, int g, int b)
 
void initAttribute (ReliabilityDynamicsAttribute &d, AttributeDupletValue &i)
 
void updateAttribute (const QString &name, ReliabilityDynamicsAttribute &d)
 
double getAttributeEstimate (ReliabilityDynamicsAttribute &d, double time_diff)
 
void updateAttributeDynamics (double data, double RData, double acuity, double estimate, double currentCooling, AttributeTripletValue &att)
 
void updateAttributeDynamicsNoData (double estimate, double acuity, double currentCooling, AttributeTripletValue &att)
 
double projectAttributeValue (ReliabilityDynamicsAttribute &, double &R)
 
virtual BoundingBox getEstimator (double &R)
 
double getLeftReliability (BoundingBox &boundingBox)
 
double getRightReliability (BoundingBox &boundingBox)
 
double getBottomReliability (BoundingBox &boundingBox)
 
double getTopReliability (BoundingBox &boundingBox)
 
double contrastGaussianMean (int x, int y, QImage &cn)
 
double contrastGaussianMeanFG (int x, int y, QImage *cn, QImage *fg)
 
void addLocalBoundPoints (BoundingBox &r, Bound bound, float reliability)
 
- Public Member Functions inherited from ReliabilitySingleModelInterface
 ReliabilitySingleModelInterface (int buffer_size)
 
virtual void printInstances ()
 
virtual void printDynamics ()
 
virtual void printGeneral ()
 
virtual void printGeneral (std::ostream &out)
 
virtual bool draw (QImage *image)
 
void updateDynamics ()
 
virtual void setTrajectory2D (double &, double &, double &)
 
void initFromXML (Datapool *i_data, int bsize, QString name)
 
void general_copy (SpReliabilitySingleModelInterface)
 
void copy_general_structure (SpReliabilitySingleModelInterface)
 
void addCurrentClassInfo ()
 
void addCurrentClassInfo (ModelInstanceGeneralPack &gpack)
 
void updateCurrentGeneralInfo ()
 
SpRMMMobileObject generateCurrentMobile (BoundingBox &bbox)
 
SpRMMMobileObject generateNewMobile (BoundingBox &bbox)
 
SpRMMHypothesis generateNewHypothesis ()
 
virtual bool projectBoundingBox (BoundingBox &bbox)
 

Public Attributes

double m_minimalAttributeVelocityReliability
 
double m_minimalAttributeAccelerationReliability
 
double m_minimalWidth
 
double m_minimalHeight
 
int m_pixelAcuity
 
bool m_useReliability
 
bool m_useFeatureMap
 
int * GF
 
double GFactor
 
bool m_showId
 
bool m_blackId
 
bool m_build2DBoundReliabilityImage
 
bool m_activateProjectedBlobCorrection
 
QImage boundsReliability
 
double localMaxBound
 
bool currentBoundImageOK
 
std::map< int, std::map< int, double > > localBoundList
 
std::vector< float > leftBoundListRel
 
std::vector< cv::Point2d > leftBoundListPos
 
std::vector< float > rightBoundListRel
 
std::vector< cv::Point2d > rightBoundListPos
 
std::vector< float > topBoundListRel
 
std::vector< cv::Point2d > topBoundListPos
 
std::vector< float > bottomBoundListRel
 
std::vector< cv::Point2d > bottomBoundListPos
 
- Public Attributes inherited from ReliabilitySingleModelInterface
QString name
 
QString model_name
 
Datapoolm_data
 
bool active
 
double P
 
double R_forward
 
double R_backward
 
std::set< ObjectType > dclasses
 
std::set< ObjectType > cclasses
 
std::map< ObjectType, double > rclasses
 
RMMMobileObjectm_mobile
 
ModelBuffer instances
 
ModelInstanceGeneralPack integratedInfo
 
ModelInstanceDataPack instanceTemplate
 
ModelDynamicsDataPack prior_dynamics
 
ModelDynamicsDataPack post_dynamics
 
BoundingBox binterface_in
 
BoundingBox binterface_out
 
int dependence
 
std::vector< int > dependants
 
std::set< SpRMMHypothesis, hypothesesOrderedByBestProbabilityOperatorgenerated_hypotheses
 
std::set< SpRMMHypothesis, hypothesesOrderedByBestProbabilityOperatorhypotheses
 

Static Public Attributes

static const double R_MIN = 0.00001
 
static const bool USE_GAUSSIAN = true
 
static const int GAUSSIAN_SIZE = 7
 
static const bool USE_FG = true
 
static const bool USE_SQUARE_DISTANCE = true
 
static const bool USE_MAX = false
 
static const bool USE_MEAN = false
 
static const bool USE_MAX_WEIGHTED = true
 
static const bool USE_MEAN_WEIGHTED = false
 
static const int GF7 []
 
static const int GF5 []
 
static const int GF3 []
 
- Static Public Attributes inherited from ReliabilitySingleModelInterface
static ReliabilityMultiModelTemplatem_template = NULL
 
static RMMTrackerm_tracker = NULL
 

Additional Inherited Members

- Static Public Member Functions inherited from ReliabilitySingleModelInterface
static void addCurrentClassInfo (ModelInstanceGeneralPack &gpack1, ModelInstanceGeneralPack &gpack2)
 
static double normalisedSigmaCoherenceReliability (double sigma, double acuity)
 normalisedSigmaCoherenceReliability More...
 

Member Data Documentation

const int BlobLRBTFromBGSubstractionModel3::GF3
static
Initial value:
= {
1, 2, 1,
2, 4, 2,
1, 2, 1 }
const int BlobLRBTFromBGSubstractionModel3::GF5
static
Initial value:
= {
1, 4, 6, 4, 1,
4, 16, 24, 16, 4,
6, 24, 36, 24, 6,
4, 16, 24, 16, 4,
1, 4, 6, 4, 1 }
const int BlobLRBTFromBGSubstractionModel3::GF7
static
Initial value:
= {
0, 0, 1, 2, 1, 0, 0,
0, 3, 13, 22, 13, 3, 0,
1, 13, 59, 97, 59, 13, 1,
2, 22, 97, 159, 97, 22, 2,
1, 13, 59, 97, 59, 13, 1,
0, 3, 13, 22, 13, 3, 0,
0, 0, 1, 2, 1, 0, 0 }

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