MPEG CDVA Experimentation Model (CXM)  1.0
Compact Descriptors for Visual Analisys
Public Member Functions
mpeg7cdva::MatchData Class Reference

A class containing the results of a matching or retrieval operation. More...

#include <cdva.h>

Public Member Functions

 MatchData ()
 
virtual ~MatchData ()
 
void setMatchingScore (double myscore)
 set the score of matching the query image with the reference image. More...
 
void setMatchingTime (double time_s)
 set the time of each frame matching (only the first and the last will be saved). More...
 
void setReferenceID (const std::string reference)
 set the string that identifies the matching reference video clip. More...
 
double getScore () const
 Get the matching score. More...
 
double getFirstMatchingTime () const
 get the time in seconds indicating the fist matching frame of the query clip. More...
 
double getLastMatchingTime () const
 get the time in seconds indicating the last matching frame of the query clip. More...
 
std::string getReferenceId () const
 get the string that identifies the matching reference video clip. More...
 

Detailed Description

A class containing the results of a matching or retrieval operation.

Constructor & Destructor Documentation

◆ MatchData()

mpeg7cdva::MatchData::MatchData ( )
inline

◆ ~MatchData()

virtual mpeg7cdva::MatchData::~MatchData ( )
inlinevirtual

Member Function Documentation

◆ getFirstMatchingTime()

double mpeg7cdva::MatchData::getFirstMatchingTime ( ) const
inline

get the time in seconds indicating the fist matching frame of the query clip.

Returns
the time in seconds from the start of the video clip

◆ getLastMatchingTime()

double mpeg7cdva::MatchData::getLastMatchingTime ( ) const
inline

get the time in seconds indicating the last matching frame of the query clip.

Returns
the time in seconds from the start of the video clip

◆ getReferenceId()

std::string mpeg7cdva::MatchData::getReferenceId ( ) const
inline

get the string that identifies the matching reference video clip.

Returns
the video clip relative pathname

◆ getScore()

double mpeg7cdva::MatchData::getScore ( ) const
inline

Get the matching score.

Returns
the score

◆ setMatchingScore()

void mpeg7cdva::MatchData::setMatchingScore ( double  myscore)
inline

set the score of matching the query image with the reference image.

Parameters
myscorethe overall matching score

◆ setMatchingTime()

void mpeg7cdva::MatchData::setMatchingTime ( double  time_s)
inline

set the time of each frame matching (only the first and the last will be saved).

Parameters
time_sthe time in seconds from the start of the query video sequence

◆ setReferenceID()

void mpeg7cdva::MatchData::setReferenceID ( const std::string  reference)
inline

set the string that identifies the matching reference video clip.

Parameters
referencethe identifier (usually the relative pathname) of the matching reference video.

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