[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

HuginBase::PanoramaOptions Class Reference

Panorama image options. More...

#include <PanoramaOptions.h>

List of all members.

Public Types

enum  ProjectionFormat {
  RECTILINEAR = 0, CYLINDRICAL = 1, EQUIRECTANGULAR = 2, FULL_FRAME_FISHEYE = 3,
  STEREOGRAPHIC = 4, MERCATOR = 5, TRANSVERSE_MERCATOR = 6, SINUSOIDAL = 7,
  LAMBERT = 8, LAMBERT_AZIMUTHAL = 9, ALBERS_EQUAL_AREA_CONIC = 10, MILLER_CYLINDRICAL = 11,
  PANINI = 12, ARCHITECTURAL = 13, ORTHOGRAPHIC = 14, EQUISOLID = 15,
  EQUI_PANINI = 16, BIPLANE = 17, TRIPLANE = 18, GENERAL_PANINI = 19
}
 Projection of final panorama. More...
enum  PTStitcherAcceleration { NO_SPEEDUP, MAX_SPEEDUP, MEDIUM_SPEEDUP }
 PTStitcher acceleration. More...
enum  FileFormat {
  JPEG = 0, PNG, TIFF, TIFF_m,
  TIFF_mask, TIFF_multilayer, TIFF_multilayer_mask, PICT,
  PSD, PSD_m, PSD_mask, PAN,
  IVR, IVR_java, VRML, QTVR,
  HDR, HDR_m, EXR, EXR_m,
  FILEFORMAT_NULL
}
 Fileformat. More...
enum  OutputMode { OUTPUT_LDR = 0, OUTPUT_HDR }
 output mode More...
enum  HDRMergeType { HDRMERGE_AVERAGE = 0, HDRMERGE_DEGHOST = 1 }
enum  BlendingMechanism {
  NO_BLEND = 0, PTBLENDER_BLEND = 1, ENBLEND_BLEND = 2, SMARTBLEND_BLEND = 3,
  PTMASKER_BLEND = 4
}
 blenders More...
enum  Remapper { NONA = 0, PTMENDER }
enum  ColorCorrection { NONE = 0, BRIGHTNESS_COLOR, BRIGHTNESS, COLOR }
 type of color correction More...

Public Member Functions

 PanoramaOptions ()
virtual ~PanoramaOptions ()
virtual void reset ()
void printScriptLine (std::ostream &o, bool forPTOptimizer=false) const
const std::string & getOutputExtension () const
 return the extension used by the current output format
void setWidth (unsigned int w, bool keepView=true)
 set panorama width keep the HFOV, if keepView=true
void setHeight (unsigned int h)
 set panorama height
unsigned int getWidth () const
unsigned int getHeight () const
 get panorama height
vigra::Size2D getSize () const
 get size of output image
const vigra::Rect2D & getROI () const
void setROI (const vigra::Rect2D &val)
void setProjection (ProjectionFormat f)
 set the Projection format and adjust the hfov/vfov if nessecary
void resetProjectionParameters ()
 sets the optional parameters to their default values
PanoramaOptions::ProjectionFormat getProjection () const
const std::vector< double > & getProjectionParameters () const
 Get the optional projection parameters.
void setProjectionParameters (const std::vector< double > &params)
 set the optional parameters (they need to be of the correct size)
bool fovCalcSupported (ProjectionFormat f) const
 true, if FOV calcuations are supported for projection f
void setHFOV (double h, bool keepView=true)
 set the horizontal field of view.
double getHFOV () const
void setVFOV (double v)
double getVFOV () const
double getMaxHFOV () const
 get maximum possible hfov with current projection
double getMaxVFOV () const
 get maximum possible vfov with current projection
DestPanoImage getDestImage () const

Static Public Member Functions

const std::string & getFormatName (FileFormat f)
 return string name of output file format
FileFormat getFormatFromName (const std::string &name)
 returns the FileFormat corrosponding to name.

Public Attributes

std::string outfile
FileFormat outputFormat
int quality
std::string tiffCompression
bool tiff_saveROI
ColorCorrection colorCorrection
unsigned int colorReferenceImage
double gamma
vigra_ext::Interpolator interpolator
unsigned int optimizeReferenceImage
unsigned int featherWidth
PTStitcherAcceleration remapAcceleration
BlendingMechanism blendMode
HDRMergeType hdrMergeMode
Remapper remapper
bool remapUsingGPU
bool saveCoordImgs
double huberSigma
double photometricHuberSigma
double photometricSymmetricError
OutputMode outputMode
bool outputLDRBlended
 save blended panorama (LDR)
bool outputLDRLayers
 save remapped layers (LDR)
bool outputLDRExposureRemapped
 save remapped layers (no exposure adjustment)
bool outputLDRExposureLayers
 save blended exposure layers, do not perform fusion (no exposure adjustment)
bool outputLDRExposureLayersFused
 save blended exposure layers which are then fused (no exposure adjustment)
bool outputLDRExposureBlended
 save blended exposure layers created from fused image stacks (no exposure adjustment)
bool outputHDRBlended
 save blended panorama (HDR)
bool outputHDRLayers
 save remapped layers (HDR)
bool outputHDRStacks
 save image stacks (HDR)
std::string outputLayersCompression
std::string outputImageType
std::string outputImageTypeCompression
std::string outputImageTypeHDR
std::string outputImageTypeHDRCompression
std::string enblendOptions
std::string enfuseOptions
std::string hdrmergeOptions
double outputExposureValue
std::vector< float > outputEMoRParams
std::string outputPixelType
pano_projection_features m_projFeatures


Detailed Description

Panorama image options.

this holds the settings for the final panorama


Member Enumeration Documentation

enum HuginBase::PanoramaOptions::BlendingMechanism
 

blenders

Enumeration values:
NO_BLEND 
PTBLENDER_BLEND 
ENBLEND_BLEND 
SMARTBLEND_BLEND 
PTMASKER_BLEND 

enum HuginBase::PanoramaOptions::ColorCorrection
 

type of color correction

Enumeration values:
NONE 
BRIGHTNESS_COLOR 
BRIGHTNESS 
COLOR 

enum HuginBase::PanoramaOptions::FileFormat
 

Fileformat.

Enumeration values:
JPEG 
PNG 
TIFF 
TIFF_m 
TIFF_mask 
TIFF_multilayer 
TIFF_multilayer_mask 
PICT 
PSD 
PSD_m 
PSD_mask 
PAN 
IVR 
IVR_java 
VRML 
QTVR 
HDR 
HDR_m 
EXR 
EXR_m 
FILEFORMAT_NULL 

enum HuginBase::PanoramaOptions::HDRMergeType
 

Enumeration values:
HDRMERGE_AVERAGE 
HDRMERGE_DEGHOST 

enum HuginBase::PanoramaOptions::OutputMode
 

output mode

Enumeration values:
OUTPUT_LDR 
OUTPUT_HDR 

enum HuginBase::PanoramaOptions::ProjectionFormat
 

Projection of final panorama.

Enumeration values:
RECTILINEAR 
CYLINDRICAL 
EQUIRECTANGULAR 
FULL_FRAME_FISHEYE 
STEREOGRAPHIC 
MERCATOR 
TRANSVERSE_MERCATOR 
SINUSOIDAL 
LAMBERT 
LAMBERT_AZIMUTHAL 
ALBERS_EQUAL_AREA_CONIC 
MILLER_CYLINDRICAL 
PANINI 
ARCHITECTURAL 
ORTHOGRAPHIC 
EQUISOLID 
EQUI_PANINI 
BIPLANE 
TRIPLANE 
GENERAL_PANINI 

enum HuginBase::PanoramaOptions::PTStitcherAcceleration
 

PTStitcher acceleration.

Enumeration values:
NO_SPEEDUP 
MAX_SPEEDUP 
MEDIUM_SPEEDUP 

enum HuginBase::PanoramaOptions::Remapper
 

Enumeration values:
NONA 
PTMENDER 


Constructor & Destructor Documentation

HuginBase::PanoramaOptions::PanoramaOptions  )  [inline]
 

virtual HuginBase::PanoramaOptions::~PanoramaOptions  )  [inline, virtual]
 


Member Function Documentation

bool HuginBase::PanoramaOptions::fovCalcSupported ProjectionFormat  f  )  const
 

true, if FOV calcuations are supported for projection f

DestPanoImage HuginBase::PanoramaOptions::getDestImage  )  const
 

PanoramaOptions::FileFormat HuginBase::PanoramaOptions::getFormatFromName const std::string &  name  )  [static]
 

returns the FileFormat corrosponding to name.

if name is not recognized, FileFormat::TIFF is returned

const std::string & HuginBase::PanoramaOptions::getFormatName FileFormat  f  )  [static]
 

return string name of output file format

unsigned int HuginBase::PanoramaOptions::getHeight  )  const [inline]
 

get panorama height

double HuginBase::PanoramaOptions::getHFOV  )  const [inline]
 

double HuginBase::PanoramaOptions::getMaxHFOV  )  const [inline]
 

get maximum possible hfov with current projection

double HuginBase::PanoramaOptions::getMaxVFOV  )  const [inline]
 

get maximum possible vfov with current projection

const std::string & HuginBase::PanoramaOptions::getOutputExtension  )  const
 

return the extension used by the current output format

PanoramaOptions::ProjectionFormat HuginBase::PanoramaOptions::getProjection  )  const [inline]
 

const std::vector<double>& HuginBase::PanoramaOptions::getProjectionParameters  )  const [inline]
 

Get the optional projection parameters.

const vigra::Rect2D& HuginBase::PanoramaOptions::getROI  )  const [inline]
 

vigra::Size2D HuginBase::PanoramaOptions::getSize  )  const [inline]
 

get size of output image

double HuginBase::PanoramaOptions::getVFOV  )  const
 

unsigned int HuginBase::PanoramaOptions::getWidth  )  const [inline]
 

void HuginBase::PanoramaOptions::printScriptLine std::ostream &  o,
bool  forPTOptimizer = false
const
 

virtual void HuginBase::PanoramaOptions::reset  )  [inline, virtual]
 

void HuginBase::PanoramaOptions::resetProjectionParameters  ) 
 

sets the optional parameters to their default values

void HuginBase::PanoramaOptions::setHeight unsigned int  h  ) 
 

set panorama height

This changes the panorama vfov

void HuginBase::PanoramaOptions::setHFOV double  h,
bool  keepView = true
 

set the horizontal field of view.

also updates the image height (keep pano field of view similar.)

void HuginBase::PanoramaOptions::setProjection ProjectionFormat  f  ) 
 

set the Projection format and adjust the hfov/vfov if nessecary

void HuginBase::PanoramaOptions::setProjectionParameters const std::vector< double > &  params  ) 
 

set the optional parameters (they need to be of the correct size)

void HuginBase::PanoramaOptions::setROI const vigra::Rect2D &  val  )  [inline]
 

void HuginBase::PanoramaOptions::setVFOV double  v  ) 
 

void HuginBase::PanoramaOptions::setWidth unsigned int  w,
bool  keepView = true
 

set panorama width keep the HFOV, if keepView=true


Member Data Documentation

BlendingMechanism HuginBase::PanoramaOptions::blendMode
 

ColorCorrection HuginBase::PanoramaOptions::colorCorrection
 

unsigned int HuginBase::PanoramaOptions::colorReferenceImage
 

std::string HuginBase::PanoramaOptions::enblendOptions
 

std::string HuginBase::PanoramaOptions::enfuseOptions
 

unsigned int HuginBase::PanoramaOptions::featherWidth
 

double HuginBase::PanoramaOptions::gamma
 

HDRMergeType HuginBase::PanoramaOptions::hdrMergeMode
 

std::string HuginBase::PanoramaOptions::hdrmergeOptions
 

double HuginBase::PanoramaOptions::huberSigma
 

vigra_ext::Interpolator HuginBase::PanoramaOptions::interpolator
 

pano_projection_features HuginBase::PanoramaOptions::m_projFeatures
 

unsigned int HuginBase::PanoramaOptions::optimizeReferenceImage
 

std::string HuginBase::PanoramaOptions::outfile
 

std::vector<float> HuginBase::PanoramaOptions::outputEMoRParams
 

double HuginBase::PanoramaOptions::outputExposureValue
 

FileFormat HuginBase::PanoramaOptions::outputFormat
 

bool HuginBase::PanoramaOptions::outputHDRBlended
 

save blended panorama (HDR)

bool HuginBase::PanoramaOptions::outputHDRLayers
 

save remapped layers (HDR)

bool HuginBase::PanoramaOptions::outputHDRStacks
 

save image stacks (HDR)

std::string HuginBase::PanoramaOptions::outputImageType
 

std::string HuginBase::PanoramaOptions::outputImageTypeCompression
 

std::string HuginBase::PanoramaOptions::outputImageTypeHDR
 

std::string HuginBase::PanoramaOptions::outputImageTypeHDRCompression
 

std::string HuginBase::PanoramaOptions::outputLayersCompression
 

bool HuginBase::PanoramaOptions::outputLDRBlended
 

save blended panorama (LDR)

bool HuginBase::PanoramaOptions::outputLDRExposureBlended
 

save blended exposure layers created from fused image stacks (no exposure adjustment)

bool HuginBase::PanoramaOptions::outputLDRExposureLayers
 

save blended exposure layers, do not perform fusion (no exposure adjustment)

bool HuginBase::PanoramaOptions::outputLDRExposureLayersFused
 

save blended exposure layers which are then fused (no exposure adjustment)

bool HuginBase::PanoramaOptions::outputLDRExposureRemapped
 

save remapped layers (no exposure adjustment)

bool HuginBase::PanoramaOptions::outputLDRLayers
 

save remapped layers (LDR)

OutputMode HuginBase::PanoramaOptions::outputMode
 

std::string HuginBase::PanoramaOptions::outputPixelType
 

double HuginBase::PanoramaOptions::photometricHuberSigma
 

double HuginBase::PanoramaOptions::photometricSymmetricError
 

int HuginBase::PanoramaOptions::quality
 

PTStitcherAcceleration HuginBase::PanoramaOptions::remapAcceleration
 

Remapper HuginBase::PanoramaOptions::remapper
 

bool HuginBase::PanoramaOptions::remapUsingGPU
 

bool HuginBase::PanoramaOptions::saveCoordImgs
 

bool HuginBase::PanoramaOptions::tiff_saveROI
 

std::string HuginBase::PanoramaOptions::tiffCompression
 


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

Generated on Mon Sep 20 01:01:36 2010 for Hugintrunk by doxygen 1.3.9.1