deghosting::Deghosting Class Reference

#include <deghosting.h>

Inheritance diagram for deghosting::Deghosting:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 Deghosting ()
virtual std::vector< FImagePtrcreateWeightMasks ()=0
 create weight masks create weight masks for masking out ghosting regions
virtual void loadImages (std::vector< std::string > &inputFiles) throw (NoImages, BadDimensions)
 load images for processing
virtual void loadImages (std::vector< vigra::ImageImportInfo > &inputFiles) throw (NoImages, BadDimensions)
virtual void setFlags (const uint16_t flags)
 set advanced flags Allows to change behavior of used algorithm
virtual void setDebugFlags (const uint16_t debugFlags)
 set flags for debugging purposes
virtual void setIterationNum (const int iterations)
 set number of iterations
virtual void setCameraResponse (EMoR response)
 set camera response function set camera response function in EMoR format
virtual void setVerbosity (int verbosity)
 set verbosity level
virtual ~Deghosting ()

Protected Attributes

std::vector< vigra::ImageImportInfo > inputFiles
uint16_t flags
uint16_t debugFlags
int iterations
EMoR response
int verbosity

Detailed Description

Definition at line 77 of file deghosting.h.


Constructor & Destructor Documentation

deghosting::Deghosting::Deghosting (  )  [inline]

Definition at line 80 of file deghosting.h.

virtual deghosting::Deghosting::~Deghosting (  )  [inline, virtual]

Definition at line 118 of file deghosting.h.


Member Function Documentation

virtual std::vector<FImagePtr> deghosting::Deghosting::createWeightMasks (  )  [pure virtual]

create weight masks create weight masks for masking out ghosting regions

Implemented in deghosting::Khan< PixelType >.

Referenced by main().

void deghosting::Deghosting::loadImages ( std::vector< vigra::ImageImportInfo > &  inputFiles  )  throw (NoImages, BadDimensions) [virtual]

Definition at line 41 of file deghosting.cpp.

void deghosting::Deghosting::loadImages ( std::vector< std::string > &  inputFiles  )  throw (NoImages, BadDimensions) [virtual]

load images for processing

Parameters:
inputFiles images to be processed

Definition at line 27 of file deghosting.cpp.

Referenced by deghosting::Khan< PixelType >::Khan().

void deghosting::Deghosting::setCameraResponse ( EMoR  response  )  [virtual]

set camera response function set camera response function in EMoR format

Parameters:
response array of five floats representing response

Definition at line 65 of file deghosting.cpp.

References response.

void deghosting::Deghosting::setDebugFlags ( const uint16_t  debugFlags  )  [virtual]

set flags for debugging purposes

Parameters:
debugFlags one of the constants describing action which should be done

Definition at line 57 of file deghosting.cpp.

References debugFlags.

Referenced by deghosting::Khan< PixelType >::Khan().

void deghosting::Deghosting::setFlags ( const uint16_t  flags  )  [virtual]

set advanced flags Allows to change behavior of used algorithm

Parameters:
flags one of the constants describing advanced mode

Definition at line 53 of file deghosting.cpp.

References flags.

Referenced by deghosting::Khan< PixelType >::Khan().

void deghosting::Deghosting::setIterationNum ( const int  iterations  )  [virtual]

set number of iterations

Definition at line 61 of file deghosting.cpp.

References iterations.

Referenced by deghosting::Khan< PixelType >::Khan().

void deghosting::Deghosting::setVerbosity ( int  verbosity  )  [virtual]

set verbosity level

Parameters:
verbosity the higher the number is, the more verbose algorithm will be

Definition at line 69 of file deghosting.cpp.

References verbosity.

Referenced by deghosting::Khan< PixelType >::Khan().


Member Data Documentation

uint16_t deghosting::Deghosting::debugFlags [protected]

Definition at line 123 of file deghosting.h.

Referenced by deghosting::Khan< PixelType >::createWeightMasks(), and setDebugFlags().

uint16_t deghosting::Deghosting::flags [protected]

Definition at line 122 of file deghosting.h.

Referenced by deghosting::Khan< PixelType >::createWeightMasks(), deghosting::Khan< PixelType >::preprocessImage(), and setFlags().

std::vector<vigra::ImageImportInfo> deghosting::Deghosting::inputFiles [protected]

Definition at line 121 of file deghosting.h.

Referenced by deghosting::Khan< PixelType >::createWeightMasks(), and deghosting::Khan< PixelType >::preprocessImage().

int deghosting::Deghosting::iterations [protected]

Definition at line 124 of file deghosting.h.

Referenced by deghosting::Khan< PixelType >::createWeightMasks(), and setIterationNum().

EMoR deghosting::Deghosting::response [protected]

Definition at line 125 of file deghosting.h.

Referenced by deghosting::Khan< PixelType >::Khan(), and setCameraResponse().

int deghosting::Deghosting::verbosity [protected]

Definition at line 126 of file deghosting.h.

Referenced by deghosting::Khan< PixelType >::createWeightMasks(), and setVerbosity().


The documentation for this class was generated from the following files:
Generated on 23 Oct 2014 for Hugintrunk by  doxygen 1.4.7