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

#include <live_wire.hpp>

Public Member Functions

 LiveWire (Image *img)
 
 ~LiveWire ()
 
void set (Image *img)
 set More...
 
void execute (Vec2i pS, Vec2i pE, std::vector< Vec2i > &out, bool bConstrained=false, bool bMultiple=false)
 execute More...
 

Static Public Member Functions

static void executeLiveWireSingle (Image *in, Vec2i pS, Vec2i pE, std::vector< Vec2i > &out)
 executeLiveWireSingle More...
 
static void executeLiveWireMultiple (Image *in, std::vector< Vec2i > &controlPoints, std::vector< Vec2i > &out)
 executeLiveWireMultiple More...
 

Protected Member Functions

float getCost (Vec2i &p, Vec2i &q)
 getCost More...
 
void release ()
 release More...
 

Static Protected Member Functions

static float f1minusx (float x)
 f1minusx More...
 

Protected Attributes

float fD_const
 
float * fG_min
 
float * fG_max
 
Imageimg_G
 
ImagefZ
 
Imageg
 
int * pointers
 
bool * e
 

Constructor & Destructor Documentation

◆ LiveWire()

pic::LiveWire::LiveWire ( Image img)
inline

◆ ~LiveWire()

pic::LiveWire::~LiveWire ( )
inline

Member Function Documentation

◆ execute()

void pic::LiveWire::execute ( Vec2i  pS,
Vec2i  pE,
std::vector< Vec2i > &  out,
bool  bConstrained = false,
bool  bMultiple = false 
)
inline

execute

Parameters
pS
pE
out
bConstrained
bMultiple

◆ executeLiveWireMultiple()

static void pic::LiveWire::executeLiveWireMultiple ( Image in,
std::vector< Vec2i > &  controlPoints,
std::vector< Vec2i > &  out 
)
inlinestatic

executeLiveWireMultiple

Parameters
in
controlPoint
out

◆ executeLiveWireSingle()

static void pic::LiveWire::executeLiveWireSingle ( Image in,
Vec2i  pS,
Vec2i  pE,
std::vector< Vec2i > &  out 
)
inlinestatic

executeLiveWireSingle

Parameters
in
pS
pE
out

◆ f1minusx()

static float pic::LiveWire::f1minusx ( float  x)
inlinestaticprotected

f1minusx

Parameters
x
Returns

◆ getCost()

float pic::LiveWire::getCost ( Vec2i p,
Vec2i q 
)
inlineprotected

getCost

Parameters
x
y
Returns

◆ release()

void pic::LiveWire::release ( )
inlineprotected

release

◆ set()

void pic::LiveWire::set ( Image img)
inline

set

Parameters
img

Member Data Documentation

◆ e

bool* pic::LiveWire::e
protected

◆ fD_const

float pic::LiveWire::fD_const
protected

◆ fG_max

float * pic::LiveWire::fG_max
protected

◆ fG_min

float* pic::LiveWire::fG_min
protected

◆ fZ

Image * pic::LiveWire::fZ
protected

◆ g

Image * pic::LiveWire::g
protected

◆ img_G

Image* pic::LiveWire::img_G
protected

◆ pointers

int* pic::LiveWire::pointers
protected

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