The WardAlignment class.
More...
#include <ward_alignment.hpp>
◆ WardAlignment()
pic::WardAlignment::WardAlignment |
( |
| ) |
|
|
inline |
◆ ~WardAlignment()
pic::WardAlignment::~WardAlignment |
( |
| ) |
|
|
inline |
◆ execute() [1/2]
static Vec2i pic::WardAlignment::execute |
( |
Image * |
imgTarget, |
|
|
Image * |
imgSource |
|
) |
| |
|
inlinestatic |
◆ execute() [2/2]
execute aligns imgSource to imgTarget
- Parameters
-
imgTarget | |
imgSource | |
shift | |
- Returns
◆ getExpShift()
Vec2i pic::WardAlignment::getExpShift |
( |
Image * |
img1, |
|
|
Image * |
img2, |
|
|
int |
shift_bits = 6 |
|
) |
| |
|
inline |
getExpShift computes the shift vector for moving an img1 onto img2
- Parameters
-
- Returns
◆ MTB()
bool* pic::WardAlignment::MTB |
( |
Image * |
img, |
|
|
Image * |
L |
|
) |
| |
|
inline |
MTB computes the median threshold mask.
- Parameters
-
- Returns
◆ shiftImage()
◆ update()
void pic::WardAlignment::update |
( |
float |
percentile, |
|
|
float |
tolerance |
|
) |
| |
|
inline |
update sets parameters up for MTB
- Parameters
-
◆ eb2_shifted_v
std::vector< bool* > pic::WardAlignment::eb2_shifted_v |
◆ img1_v
◆ img2_v
◆ luminance
◆ percentile
float pic::WardAlignment::percentile |
|
protected |
◆ tb1_v
std::vector< bool* > pic::WardAlignment::tb1_v |
◆ tb2_shifted_v
std::vector< bool* > pic::WardAlignment::tb2_shifted_v |
◆ tb2_v
std::vector< bool* > pic::WardAlignment::tb2_v |
◆ tolerance
float pic::WardAlignment::tolerance |
|
protected |
The documentation for this class was generated from the following file: