|
template<class... Ts> |
| PerfectMemoryRotater (const cv::Size unwrapRes, Ts &&... args) |
|
template<class... Ts> |
const auto & | getImageDifferences (const cv::Mat &image, ImgProc::Mask mask, typename PerfectMemory< Store >::Window window, Ts &&... args) const |
| Get differences between current view with mask and stored snapshots within a 'window'. More...
|
|
template<class... Ts> |
const auto & | getImageDifferences (const cv::Mat &image, ImgProc::Mask mask, Ts &&... args) const |
| Get differences between current view with mask and stored snapshots. More...
|
|
template<class... Ts> |
const auto & | getImageDifferences (const cv::Mat &image, Ts &&... args) const |
| Get differences between current view and stored snapshots. More...
|
|
template<class... Ts> |
auto | getHeading (const cv::Mat &image, ImgProc::Mask mask, typename PerfectMemory< Store >::Window window, Ts &&... args) const |
| Get an estimate for heading based on current view with mask and stored snapshots within a 'window'. More...
|
|
template<class... Ts> |
auto | getHeading (const cv::Mat &image, ImgProc::Mask mask, Ts &&... args) const |
| Get an estimate for heading based on current view with mask and stored snapshots. More...
|
|
template<class... Ts> |
auto | getHeading (const cv::Mat &image, Ts &&... args) const |
| Get an estimate for heading based on current view and stored snapshots. More...
|
|
| 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.
|
|
template<typename Store = PerfectMemoryStore::RawImage<>, typename RIDFProcessor = BestMatchingSnapshot>
template<class... Ts>
Get an estimate for heading based on current view with mask and stored snapshots.
Any additional parameters specifying rotation constraints are perfect-forwarded to InSilicoRotater::create. **NOTE**I wanted mask and window to be const references but for reasons that are beyond me, if it is a reference the second overload always gets selected
template<typename Store = PerfectMemoryStore::RawImage<>, typename RIDFProcessor = BestMatchingSnapshot>
template<class... Ts>
Get an estimate for heading based on current view with mask and stored snapshots within a 'window'.
Any additional parameters specifying rotation constraints are perfect-forwarded to InSilicoRotater::create. NOTE I wanted mask and window to be const references but for reasons that are beyond me, if it is a reference the second overload always gets selected
template<typename Store = PerfectMemoryStore::RawImage<>, typename RIDFProcessor = BestMatchingSnapshot>
template<class... Ts>
Get an estimate for heading based on current view and stored snapshots.
Any additional parameters specifying rotation constraints are perfect-forwarded to InSilicoRotater::create. **NOTE**I wanted mask and window to be const references but for reasons that are beyond me, if it is a reference the second overload always gets selected
template<typename Store = PerfectMemoryStore::RawImage<>, typename RIDFProcessor = BestMatchingSnapshot>
template<class... Ts>
Get differences between current view with mask and stored snapshots.
Any additional parameters specifying rotation constraints are perfect-forwarded to InSilicoRotater::create. NOTE I wanted mask and window to be const references but for reasons that are beyond me, if it is a reference the second overload always gets selected
template<typename Store = PerfectMemoryStore::RawImage<>, typename RIDFProcessor = BestMatchingSnapshot>
template<class... Ts>
Get differences between current view with mask and stored snapshots within a 'window'.
Any additional parameters specifying rotation constraints are perfect-forwarded to InSilicoRotater::create. NOTE I wanted mask and window to be const references but for reasons that are beyond me, if it is a reference the second overload always gets selected
template<typename Store = PerfectMemoryStore::RawImage<>, typename RIDFProcessor = BestMatchingSnapshot>
template<class... Ts>
Get differences between current view and stored snapshots.
Any additional parameters specifying rotation constraints are perfect-forwarded to InSilicoRotater::create. NOTE I wanted mask and window to be const references but for reasons that are beyond me, if it is a reference the second overload always gets selected