#include <MiniPatch.h>
Public Member Functions | |
bool | FindPatch (CVD::ImageRef &irPos, CVD::BasicImage< CVD::byte > &im, int nRange, std::vector< CVD::ImageRef > &vCorners, std::vector< int > *pvRowLUT=NULL) |
void | SampleFromImage (CVD::ImageRef irPos, CVD::BasicImage< CVD::byte > &im) |
int | SSDAtPoint (CVD::BasicImage< CVD::byte > &im, const CVD::ImageRef &ir) |
Public Attributes | |
CVD::Image< CVD::byte > | mimOrigPatch |
Static Public Attributes | |
static int | mnHalfPatchSize = 4 |
static int | mnMaxSSD = 9999 |
static int | mnRange = 10 |
Definition at line 21 of file MiniPatch.h.
bool MiniPatch::FindPatch | ( | CVD::ImageRef & | irPos, |
CVD::BasicImage< CVD::byte > & | im, | ||
int | nRange, | ||
std::vector< CVD::ImageRef > & | vCorners, | ||
std::vector< int > * | pvRowLUT = NULL |
||
) |
Definition at line 34 of file MiniPatch.cc.
void MiniPatch::SampleFromImage | ( | CVD::ImageRef | irPos, |
CVD::BasicImage< CVD::byte > & | im | ||
) |
Definition at line 85 of file MiniPatch.cc.
int MiniPatch::SSDAtPoint | ( | CVD::BasicImage< CVD::byte > & | im, |
const CVD::ImageRef & | ir | ||
) | [inline] |
Definition at line 7 of file MiniPatch.cc.
CVD::Image<CVD::byte> MiniPatch::mimOrigPatch |
Definition at line 34 of file MiniPatch.h.
int MiniPatch::mnHalfPatchSize = 4 [static] |
Definition at line 31 of file MiniPatch.h.
int MiniPatch::mnMaxSSD = 9999 [static] |
Definition at line 33 of file MiniPatch.h.
int MiniPatch::mnRange = 10 [static] |
Definition at line 32 of file MiniPatch.h.