Hugin trunk 0.1
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
HuginBase::BaseSrcPanoImage Class Reference

Base class containing all the variables, but missing some of the other important functions and with some daft accessors. More...

#include <SrcPanoImage.h>

Inheritance diagram for HuginBase::BaseSrcPanoImage:
Inheritance graph

Public Types

enum  Projection {
  RECTILINEAR = 0 , PANORAMIC = 1 , CIRCULAR_FISHEYE = 2 , FULL_FRAME_FISHEYE = 3 ,
  EQUIRECTANGULAR = 4 , FISHEYE_ORTHOGRAPHIC = 8 , FISHEYE_STEREOGRAPHIC = 10 , FISHEYE_EQUISOLID = 21 ,
  FISHEYE_THOBY = 20
}
 
enum  CropMode { NO_CROP =0 , CROP_RECTANGLE =1 , CROP_CIRCLE =2 }
 
enum  VignettingCorrMode { VIGCORR_NONE = 0 , VIGCORR_RADIAL = 1 , VIGCORR_FLATFIELD = 2 , VIGCORR_DIV = 4 }
 vignetting correction mode (bitflags, no real enum) More...
 
enum  ResponseType {
  RESPONSE_EMOR =0 , RESPONSE_LINEAR , RESPONSE_GAMMA , RESPONSE_FILE ,
  RESPONSE_ICC
}
 

Public Member Functions

bool operator== (const BaseSrcPanoImage &other) const
 Check that the variables match.
 
 BaseSrcPanoImage ()
 
virtual ~BaseSrcPanoImage ()
 

Detailed Description

Base class containing all the variables, but missing some of the other important functions and with some daft accessors.

Used for lazy metaprogramming, we include image_variables.h several times with different defintions of image_variable to get all the repetitive bits out the way. This should reduce typos and cut and paste errors.

Definition at line 67 of file SrcPanoImage.h.

Member Enumeration Documentation

◆ CropMode

Enumerator
NO_CROP 
CROP_RECTANGLE 
CROP_CIRCLE 

Definition at line 84 of file SrcPanoImage.h.

◆ Projection

Enumerator
RECTILINEAR 
PANORAMIC 
CIRCULAR_FISHEYE 
FULL_FRAME_FISHEYE 
EQUIRECTANGULAR 
FISHEYE_ORTHOGRAPHIC 
FISHEYE_STEREOGRAPHIC 
FISHEYE_EQUISOLID 
FISHEYE_THOBY 

Definition at line 71 of file SrcPanoImage.h.

◆ ResponseType

Enumerator
RESPONSE_EMOR 

empirical model of response

RESPONSE_LINEAR 

linear response

RESPONSE_GAMMA 

a simple gamma response curve

RESPONSE_FILE 

load response curve from file (not implemented yet)

RESPONSE_ICC 

use ICC for transformation into linear data (not implemented yet)

Definition at line 99 of file SrcPanoImage.h.

◆ VignettingCorrMode

vignetting correction mode (bitflags, no real enum)

Enumerator
VIGCORR_NONE 

no vignetting correction

VIGCORR_RADIAL 

radial vignetting correction

VIGCORR_FLATFIELD 

flatfield correction

VIGCORR_DIV 

correct by division.

Definition at line 91 of file SrcPanoImage.h.

Constructor & Destructor Documentation

◆ BaseSrcPanoImage()

HuginBase::BaseSrcPanoImage::BaseSrcPanoImage ( )
inline

Definition at line 113 of file SrcPanoImage.h.

◆ ~BaseSrcPanoImage()

virtual HuginBase::BaseSrcPanoImage::~BaseSrcPanoImage ( )
inlinevirtual

Definition at line 116 of file SrcPanoImage.h.

Member Function Documentation

◆ operator==()

bool HuginBase::BaseSrcPanoImage::operator== ( const BaseSrcPanoImage other) const

Check that the variables match.

Definition at line 225 of file SrcPanoImage.cpp.

References DEBUG_TRACE, and threshold().


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