OSVR-Core
Public Member Functions | List of all members
osvr::vbtracker::RealtimeLaplacian Class Reference

A class designed for real-time use of a Laplacian on similar images over and over, based on the OpenCV implementation but avoiding duplicate work and using persistent temporary storage when possible. More...

#include <RealtimeLaplacian.h>

Public Member Functions

 RealtimeLaplacian (int destDepth, int kSize=3, double scale=1., double delta=0., int borderType=cv::BORDER_DEFAULT)
 
void apply (cv::InputArray mySrc, cv::OutputArray myDst)
 

Detailed Description

A class designed for real-time use of a Laplacian on similar images over and over, based on the OpenCV implementation but avoiding duplicate work and using persistent temporary storage when possible.

Member Function Documentation

§ apply()

void osvr::vbtracker::RealtimeLaplacian::apply ( cv::InputArray  mySrc,
cv::OutputArray  myDst 
)
inline

check to make sure nothing changed, or we set it all up again.

Cache the data from the source image. Must be kept in sync with doesImageMatchCache()

Actually go produce the things we need.

ideally this is already allocated...

the remaining body of cv::Laplacian that we couldn't cache between calls.

this is just creating a new header, not allocating new memory.


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