A class containing the results of a matching or retrieval operation.
More...
#include <cdva.h>
A class containing the results of a matching or retrieval operation.
◆ MatchData()
mpeg7cdva::MatchData::MatchData |
( |
| ) |
|
|
inline |
◆ ~MatchData()
virtual mpeg7cdva::MatchData::~MatchData |
( |
| ) |
|
|
inlinevirtual |
◆ 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
-
myscore | the 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_s | the 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
-
reference | the identifier (usually the relative pathname) of the matching reference video. |
The documentation for this class was generated from the following file: