#include <Images.h>
Public Member Functions | |
void | clear () |
virtual void | deserialize (const cv::FileNode &fn) |
std::string & | fname () |
const std::string & | fname () const |
const cv::Mat & | grey () const |
Images () | |
Images (const Images &rhs) | |
Images (const cv::Mat &src) | |
Images (const std::string &fname, const std::string &path=".") | |
void | load (const cv::Mat &src, bool dogray=true) |
void | load (const cv::Mat &src, const std::string &fname, const std::string &path, bool persist=false) |
void | load (const std::string &fname, const std::string &path) |
Images & | operator= (const Images &rhs) |
std::string & | path () |
const std::string & | path () const |
void | restore () |
virtual void | serialize (cv::FileStorage &fs) const |
const cv::Mat & | src () const |
virtual int | version () const |
virtual | ~Images () |
Private Member Functions | |
void | copyData (const Images &rhs) |
Private Attributes | |
std::string | fname_ |
cv::Mat | grey_ |
bool | ondisk_ |
std::string | path_ |
bool | persist_img_ |
cv::Mat | src_ |
pano::Images::Images | ( | ) | [inline] |
pano::Images::Images | ( | const Images & | rhs | ) | [inline] |
pano::Images::Images | ( | const cv::Mat & | src | ) | [explicit] |
Definition at line 16 of file Images.cpp.
pano::Images::Images | ( | const std::string & | fname, |
const std::string & | path = "." |
||
) |
Definition at line 21 of file Images.cpp.
virtual pano::Images::~Images | ( | ) | [inline, virtual] |
void pano::Images::clear | ( | void | ) |
Definition at line 27 of file Images.cpp.
void pano::Images::copyData | ( | const Images & | rhs | ) | [inline, private] |
void pano::Images::deserialize | ( | const cv::FileNode & | fn | ) | [virtual] |
Implements pano::serializable.
Definition at line 100 of file Images.cpp.
std::string& pano::Images::fname | ( | ) | [inline] |
const std::string& pano::Images::fname | ( | ) | const [inline] |
const cv::Mat& pano::Images::grey | ( | ) | const [inline] |
void pano::Images::load | ( | const cv::Mat & | src, |
bool | dogray = true |
||
) |
Definition at line 33 of file Images.cpp.
void pano::Images::load | ( | const cv::Mat & | src, |
const std::string & | fname, | ||
const std::string & | path, | ||
bool | persist = false |
||
) |
Definition at line 51 of file Images.cpp.
void pano::Images::load | ( | const std::string & | fname, |
const std::string & | path | ||
) |
Definition at line 59 of file Images.cpp.
std::string& pano::Images::path | ( | ) | [inline] |
const std::string& pano::Images::path | ( | ) | const [inline] |
void pano::Images::restore | ( | ) |
Definition at line 77 of file Images.cpp.
void pano::Images::serialize | ( | cv::FileStorage & | fs | ) | const [virtual] |
Implements pano::serializable.
Definition at line 86 of file Images.cpp.
const cv::Mat& pano::Images::src | ( | ) | const [inline] |
virtual int pano::Images::version | ( | ) | const [inline, virtual] |
Implements pano::serializable.
std::string pano::Images::fname_ [private] |
cv::Mat pano::Images::grey_ [private] |
bool pano::Images::ondisk_ [private] |
std::string pano::Images::path_ [private] |
bool pano::Images::persist_img_ [private] |
cv::Mat pano::Images::src_ [private] |