Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
deghosting::Deghosting Class Referenceabstract

#include <deghosting.h>

Inheritance diagram for deghosting::Deghosting:
Inheritance graph

Public Member Functions

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

Protected Attributes

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

Detailed Description

Definition at line 58 of file deghosting.h.

Constructor & Destructor Documentation

deghosting::Deghosting::Deghosting ( )
inline

Definition at line 61 of file deghosting.h.

virtual deghosting::Deghosting::~Deghosting ( )
inlinevirtual

Definition at line 98 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 >.

std::vector< vigra::Rect2D > deghosting::Deghosting::getInputROIs ( ) const

Definition at line 68 of file deghosting.cpp.

References m_inputROI.

Referenced by main().

vigra::Rect2D deghosting::Deghosting::getOutputROI ( ) const

Definition at line 63 of file deghosting.cpp.

References m_outputROI.

Referenced by main().

void deghosting::Deghosting::loadImages ( std::vector< std::string > &  inputFiles)
virtual

load images for processing

Parameters
inputFilesimages to be processed

Definition at line 25 of file deghosting.cpp.

References inputFiles, m_inputROI, and m_outputROI.

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
responsearray of five floats representing response

Definition at line 55 of file deghosting.cpp.

References response.

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

set flags for debugging purposes

Parameters
debugFlagsone of the constants describing action which should be done

Definition at line 47 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
flagsone of the constants describing advanced mode

Definition at line 43 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 51 of file deghosting.cpp.

References iterations.

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

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

set verbosity level

Parameters
verbositythe higher the number is, the more verbose algorithm will be

Definition at line 59 of file deghosting.cpp.

References verbosity.

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

Member Data Documentation

uint16_t deghosting::Deghosting::debugFlags
protected

Definition at line 107 of file deghosting.h.

Referenced by setDebugFlags().

uint16_t deghosting::Deghosting::flags
protected

Definition at line 106 of file deghosting.h.

Referenced by setFlags().

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

Definition at line 104 of file deghosting.h.

Referenced by loadImages().

int deghosting::Deghosting::iterations
protected

Definition at line 108 of file deghosting.h.

Referenced by setIterationNum().

std::vector<vigra::Rect2D> deghosting::Deghosting::m_inputROI
protected

Definition at line 105 of file deghosting.h.

Referenced by getInputROIs(), and loadImages().

vigra::Rect2D deghosting::Deghosting::m_outputROI
protected

Definition at line 111 of file deghosting.h.

Referenced by getOutputROI(), and loadImages().

EMoR deghosting::Deghosting::response
protected

Definition at line 109 of file deghosting.h.

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

int deghosting::Deghosting::verbosity
protected

Definition at line 110 of file deghosting.h.

Referenced by setVerbosity().


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