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

The PatchComp class. More...

#include <patch_comp.hpp>

Public Member Functions

 PatchComp ()
 PatchComp. More...
 
 PatchComp (Image *img0, Image *img1, int patchSize)
 PatchComp. More...
 
 PatchComp (Image *img0, Image *img1, Image *img0_g, Image *img1_g, int patchSize, float alpha)
 PatchComp. More...
 
void setNULL ()
 setNULL More...
 
void setup (Image *img0, Image *img1, Image *img0_g, Image *img1_g, int patchSize, float alpha)
 setup More...
 
float getSSDSmooth (int x0, int y0, int x1, int y1)
 getSSDSmooth More...
 
float getSSD (int x0, int y0, int x1, int y1)
 getSSD More...
 

Protected Attributes

ImageSamplerBilinear isb
 
Imageimg0
 
Imageimg1
 
Imageimg0_g
 
Imageimg1_g
 
int patchSize
 
int halfPatchSize
 
float patchSize_sq
 
float alpha
 

Detailed Description

The PatchComp class.

Constructor & Destructor Documentation

◆ PatchComp() [1/3]

pic::PatchComp::PatchComp ( )
inline

◆ PatchComp() [2/3]

pic::PatchComp::PatchComp ( Image img0,
Image img1,
int  patchSize 
)
inline

PatchComp.

Parameters
img0
img1
patchSize

◆ PatchComp() [3/3]

pic::PatchComp::PatchComp ( Image img0,
Image img1,
Image img0_g,
Image img1_g,
int  patchSize,
float  alpha 
)
inline

PatchComp.

Parameters
img0
img1
patchSize
alpha

Member Function Documentation

◆ getSSD()

float pic::PatchComp::getSSD ( int  x0,
int  y0,
int  x1,
int  y1 
)
inline

getSSD

Parameters
x0
y0
x1
y1
Returns

◆ getSSDSmooth()

float pic::PatchComp::getSSDSmooth ( int  x0,
int  y0,
int  x1,
int  y1 
)
inline

getSSDSmooth

Parameters
x0
y0
x1
y1
Returns

◆ setNULL()

void pic::PatchComp::setNULL ( )
inline

setNULL

◆ setup()

void pic::PatchComp::setup ( Image img0,
Image img1,
Image img0_g,
Image img1_g,
int  patchSize,
float  alpha 
)
inline

setup

Parameters
img0
img1
patchSize

Member Data Documentation

◆ alpha

float pic::PatchComp::alpha
protected

◆ halfPatchSize

int pic::PatchComp::halfPatchSize
protected

◆ img0

Image* pic::PatchComp::img0
protected

◆ img0_g

Image * pic::PatchComp::img0_g
protected

◆ img1

Image * pic::PatchComp::img1
protected

◆ img1_g

Image * pic::PatchComp::img1_g
protected

◆ isb

ImageSamplerBilinear pic::PatchComp::isb
protected

◆ patchSize

int pic::PatchComp::patchSize
protected

◆ patchSize_sq

float pic::PatchComp::patchSize_sq
protected

The documentation for this class was generated from the following file: