PICCANTE  0.4
The hottest HDR imaging library!
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Attributes | List of all members
pic::WardAlignment Class Reference

The WardAlignment class. More...

#include <ward_alignment.hpp>

Public Member Functions

 WardAlignment ()
 WardAlignment. More...
 
 ~WardAlignment ()
 
void update (float percentile, float tolerance)
 update sets parameters up for MTB More...
 
bool * MTB (Image *img, Image *L)
 MTB computes the median threshold mask. More...
 
Vec2i getExpShift (Image *img1, Image *img2, int shift_bits=6)
 getExpShift computes the shift vector for moving an img1 onto img2 More...
 

Static Public Member Functions

static Vec2i execute (Image *imgTarget, Image *imgSource)
 
static ImageshiftImage (Image *img, Vec2i shift, Image *ret=NULL)
 
static Imageexecute (Image *imgTarget, Image *imgSource, Vec2i &shift)
 execute aligns imgSource to imgTarget More...
 

Public Attributes

ImageVec img1_v
 
ImageVec img2_v
 
ImageVec luminance
 
std::vector< bool *> tb1_v
 
std::vector< bool *> tb2_v
 
std::vector< bool *> eb2_shifted_v
 
std::vector< bool *> tb2_shifted_v
 

Protected Attributes

float tolerance
 
float percentile
 

Detailed Description

The WardAlignment class.

Constructor & Destructor Documentation

◆ WardAlignment()

pic::WardAlignment::WardAlignment ( )
inline

◆ ~WardAlignment()

pic::WardAlignment::~WardAlignment ( )
inline

Member Function Documentation

◆ execute() [1/2]

static Vec2i pic::WardAlignment::execute ( Image imgTarget,
Image imgSource 
)
inlinestatic

◆ execute() [2/2]

static Image* pic::WardAlignment::execute ( Image imgTarget,
Image imgSource,
Vec2i shift 
)
inlinestatic

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
img1
img2
shift_bits
Returns

◆ MTB()

bool* pic::WardAlignment::MTB ( Image img,
Image L 
)
inline

MTB computes the median threshold mask.

Parameters
img
L
Returns

◆ shiftImage()

static Image* pic::WardAlignment::shiftImage ( Image img,
Vec2i  shift,
Image ret = NULL 
)
inlinestatic

◆ update()

void pic::WardAlignment::update ( float  percentile,
float  tolerance 
)
inline

update sets parameters up for MTB

Parameters
percentile
tolerance

Member Data Documentation

◆ eb2_shifted_v

std::vector< bool* > pic::WardAlignment::eb2_shifted_v

◆ img1_v

ImageVec pic::WardAlignment::img1_v

◆ img2_v

ImageVec pic::WardAlignment::img2_v

◆ luminance

ImageVec pic::WardAlignment::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: