#include <LookupStitcher.h>
Public Member Functions | |
void | addLookupTables (Mat x, Mat y, Mat a) |
void | addLookupTables (const string x, const string y, const string a) |
void | clearLookupTables () |
bool | fixBounds (const int width, const int height) |
vector< Mat > | getLutA () |
int | getLutCount () const |
vector< Mat > | getLutX () |
vector< Mat > | getLutY () |
LookupStitcher () | |
void | stitchImage (const Mat &src, Mat &image) |
virtual | ~LookupStitcher () |
Public Attributes | |
vector< Mat > | lutA |
vector< Mat > | lutX |
vector< Mat > | lutY |
Private Attributes | |
int | lutCount |
Image stitcher based on multiple look-up tables.
Definition at line 16 of file LookupStitcher.h.
Definition at line 16 of file LookupStitcher.cpp.
omnicamera::LookupStitcher::~LookupStitcher | ( | ) | [virtual] |
Definition at line 18 of file LookupStitcher.cpp.
void omnicamera::LookupStitcher::addLookupTables | ( | Mat | x, |
Mat | y, | ||
Mat | a | ||
) |
Definition at line 28 of file LookupStitcher.cpp.
void omnicamera::LookupStitcher::addLookupTables | ( | const string | x, |
const string | y, | ||
const string | a | ||
) |
Definition at line 21 of file LookupStitcher.cpp.
bool omnicamera::LookupStitcher::fixBounds | ( | const int | width, |
const int | height | ||
) |
Fixes values in look-up tables to be within bounds of the input image, x in <0, width - 1>, y in <0, height - 1>. For values out of bounds, zero alpha is used. Total alpha then does not sum up to one.
width | |
height |
Definition at line 70 of file LookupStitcher.cpp.
vector< Mat > omnicamera::LookupStitcher::getLutA | ( | ) |
Definition at line 104 of file LookupStitcher.cpp.
int omnicamera::LookupStitcher::getLutCount | ( | ) | const |
Definition at line 94 of file LookupStitcher.cpp.
vector< Mat > omnicamera::LookupStitcher::getLutX | ( | ) |
Definition at line 98 of file LookupStitcher.cpp.
vector< Mat > omnicamera::LookupStitcher::getLutY | ( | ) |
Definition at line 101 of file LookupStitcher.cpp.
void omnicamera::LookupStitcher::stitchImage | ( | const Mat & | src, |
Mat & | image | ||
) |
Definition at line 43 of file LookupStitcher.cpp.
vector<Mat> omnicamera::LookupStitcher::lutA |
Definition at line 43 of file LookupStitcher.h.
int omnicamera::LookupStitcher::lutCount [private] |
Definition at line 46 of file LookupStitcher.h.
vector<Mat> omnicamera::LookupStitcher::lutX |
Definition at line 41 of file LookupStitcher.h.
vector<Mat> omnicamera::LookupStitcher::lutY |
Definition at line 42 of file LookupStitcher.h.