[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

PT::Panorama Class Reference

#include <Panorama.h>

Inheritance diagram for PT::Panorama:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 Panorama ()
 ctor.
 Panorama (const HuginBase::Panorama &pano)
virtual ~Panorama ()
 dtor.
hugin_utils::FDiff2D calcFOV () const
 calculates the horizontal and vertial FOV of the complete panorama
void fitPano (double &HFOV, double &height)
 calculate the HFOV and height so that the whole input fits in into the output panorama
unsigned calcOptimalWidth () const
 calculate the optimal width for this panorama
void calcOptimalROI (vigra::Rect2D &roi, vigra::Size2D &size)
 Calculates the ROI to make the best ROI without excess for crop.
void calcCtrlPntsErrorStats (double &min, double &max, double &mean, double &var, int imgNr=-1) const
 calculate control point error distance statistics
void calcCtrlPntsRadiStats (double &min, double &max, double &mean, double &var, double &q10, double &q90, int imgNr=-1) const
 calculate control point radial distance statistics.
void centerHorizontically ()
 center panorama horizontically
void rotate (double yaw, double pitch, double roll)
 rotate the complete panorama
void rotate (const Matrix3 &rot)
 rotate the complete panorama.
void straighten ()
 try to automatically straighten the panorama

Constructor & Destructor Documentation

PT::Panorama::Panorama  )  [inline]
 

ctor.

Reimplemented from HuginBase::Panorama.

PT::Panorama::Panorama const HuginBase::Panorama pano  )  [inline]
 

virtual PT::Panorama::~Panorama  )  [inline, virtual]
 

dtor.

Reimplemented from HuginBase::Panorama.


Member Function Documentation

void PT::Panorama::calcCtrlPntsErrorStats double min,
double max,
double mean,
double var,
int  imgNr = -1
const [inline]
 

calculate control point error distance statistics

void PT::Panorama::calcCtrlPntsRadiStats double min,
double max,
double mean,
double var,
double q10,
double q90,
int  imgNr = -1
const [inline]
 

calculate control point radial distance statistics.

q10 and q90 are the 10% and 90% quantile

hugin_utils::FDiff2D PT::Panorama::calcFOV  )  const [inline]
 

calculates the horizontal and vertial FOV of the complete panorama

Returns:
HFOV,VFOV

void PT::Panorama::calcOptimalROI vigra::Rect2D &  roi,
vigra::Size2D &  size
[inline]
 

Calculates the ROI to make the best ROI without excess for crop.

unsigned PT::Panorama::calcOptimalWidth  )  const [inline]
 

calculate the optimal width for this panorama

Optimal means that the pixel density at the panorama and image center of the image with the highest resolution are the same.

void PT::Panorama::centerHorizontically  )  [inline]
 

center panorama horizontically

void PT::Panorama::fitPano double HFOV,
double height
[inline]
 

calculate the HFOV and height so that the whole input fits in into the output panorama

void PT::Panorama::rotate const Matrix3 rot  )  [inline]
 

rotate the complete panorama.

Will modify the position of all images.

void PT::Panorama::rotate double  yaw,
double  pitch,
double  roll
[inline]
 

rotate the complete panorama

Will modify the position of all images.

void PT::Panorama::straighten  )  [inline]
 

try to automatically straighten the panorama


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

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