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

The SubSampleStack class. More...

#include <sub_sample_stack.hpp>

Public Member Functions

 SubSampleStack ()
 SubSampleStack. More...
 
 ~SubSampleStack ()
 
void release ()
 release More...
 
void execute (ImageVec &stack, int nSamples, float alpha=0.f, bool bSpatial=false, SAMPLER_TYPE sub_type=ST_MONTECARLO_S)
 execute More...
 
int * get ()
 get More...
 
int getNSamples () const
 getNSamples More...
 
void print ()
 print More...
 

Protected Member Functions

void sampleGrossberg (ImageVec &stack)
 sampleGrossberg creates a low resolution version of the stack using Grossberg and Nayar sampling. More...
 
void sampleSpatial (ImageVec &stack, SAMPLER_TYPE sub_type=ST_MONTECARLO_S)
 sampleSpatial creates a low resolution version of the stack. More...
 

Protected Attributes

int exposures
 
int channels
 
int nSamples
 
int total
 
int * samples
 

Detailed Description

The SubSampleStack class.

Constructor & Destructor Documentation

◆ SubSampleStack()

pic::SubSampleStack::SubSampleStack ( )
inline

◆ ~SubSampleStack()

pic::SubSampleStack::~SubSampleStack ( )
inline

Member Function Documentation

◆ execute()

void pic::SubSampleStack::execute ( ImageVec stack,
int  nSamples,
float  alpha = 0.f,
bool  bSpatial = false,
SAMPLER_TYPE  sub_type = ST_MONTECARLO_S 
)
inline

execute

Parameters
stack
nSamplesoutput number of samples
bSpatial
sub_type

◆ get()

int* pic::SubSampleStack::get ( )
inline

get

Returns

◆ getNSamples()

int pic::SubSampleStack::getNSamples ( ) const
inline

getNSamples

Returns

◆ print()

void pic::SubSampleStack::print ( )
inline

print

◆ release()

void pic::SubSampleStack::release ( )
inline

release

◆ sampleGrossberg()

void pic::SubSampleStack::sampleGrossberg ( ImageVec stack)
inlineprotected

sampleGrossberg creates a low resolution version of the stack using Grossberg and Nayar sampling.

Parameters
stackis a stack of Image* at different exposures

◆ sampleSpatial()

void pic::SubSampleStack::sampleSpatial ( ImageVec stack,
SAMPLER_TYPE  sub_type = ST_MONTECARLO_S 
)
inlineprotected

sampleSpatial creates a low resolution version of the stack.

Parameters
stackis a stack of Image* at different exposures
sub_type

Member Data Documentation

◆ channels

int pic::SubSampleStack::channels
protected

◆ exposures

int pic::SubSampleStack::exposures
protected

◆ nSamples

int pic::SubSampleStack::nSamples
protected

◆ samples

int* pic::SubSampleStack::samples
protected

◆ total

int pic::SubSampleStack::total
protected

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