OSVR-Core
|
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) |
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.
|
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.