|
typedef std::pair< size_t, size_t > | Window |
|
|
template<class... Ts> |
| PerfectMemory (const cv::Size &unwrapRes, Ts &&... args) |
|
void | train (const cv::Mat &image, const ImgProc::Mask &mask=ImgProc::Mask{}) |
|
float | test (const cv::Mat &image, const ImgProc::Mask &mask, const Window &window) const |
|
float | test (const cv::Mat &image, const ImgProc::Mask &mask=ImgProc::Mask{}) const |
|
void | clearMemory () |
|
size_t | getNumSnapshots () const |
| Return the number of snapshots that have been read into memory.
|
|
const cv::Mat & | getSnapshot (size_t index) const |
| Return a specific snapshot.
|
|
const std::pair< cv::Mat, ImgProc::Mask > & | getMaskedSnapshot (size_t index) const |
| Return a specific snapshot and mask associated with it.
|
|
const std::vector< float > & | getImageDifferences (const cv::Mat &image, const ImgProc::Mask &mask, const Window &window) const |
| Get differences between current view and all stored snapshots.
|
|
const std::vector< float > & | getImageDifferences (const cv::Mat &image, const ImgProc::Mask &mask=ImgProc::Mask{}) const |
| Get differences between current view and all stored snapshots.
|
|
Window | getFullWindow () const |
|
const cv::Size & | getUnwrapResolution () const |
| Get the resolution of images.
|
|
|
float | calcSnapshotDifference (const cv::Mat &image, const ImgProc::Mask &mask, size_t snapshot) const |
|
The documentation for this class was generated from the following file:
- include/navigation/perfect_memory.h