ARAM  2.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | List of all members
aram::FrameSet Class Reference

#include <FrameSet.hpp>

Public Member Functions

void save (std::string name, const cv::Mat &mat)
 
cv::Mat & load (std::string name)
 
void reset ()
 
bool exist (std::string name)
 
iteratorFrameSet begin ()
 
iteratorFrameSet end ()
 

Detailed Description

Set of frame, handle memory about frame, and store frame after processing like canny, threshold, ... You can use this to store your result, and avoid to do the same computation twice

Member Function Documentation

iteratorFrameSet aram::FrameSet::begin ( )

begin of map set

Returns
std::map<std::string,cv::Mat>::iterator begin
iteratorFrameSet aram::FrameSet::end ( )

end of map set

Returns
std::map<std::string,cv::Mat>::iterator end
bool aram::FrameSet::exist ( std::string  name)

test if a name is used

Parameters
[in]std::stringname frame name
Returns
bool true if name is found
cv::Mat & aram::FrameSet::load ( std::string  name)

load a frame, throw ARAMException if this frame doesn't exist

Parameters
[in]std::stringname unique name to load
void aram::FrameSet::reset ( )

reset content of map

void aram::FrameSet::save ( std::string  name,
const cv::Mat &  mat 
)

Save a frame

Parameters
[in]std::stringname unique name to store a frame
[in]constcv::Mat &mat frame to store

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