PT Namespace Reference


Classes

struct  PTPrograms
struct  AssistantPrograms
struct  FileIsNewer
class  wxAddImagesCmd
 add image(s) to a panorama More...
class  wxLoadPTProjectCmd
 dump the current project and load a new one. More...
class  wxNewProjectCmd
 start a new project, reset options to values in preferences More...
class  wxApplyTemplateCmd
 dump the current project and load a new one. More...
class  wxAddCtrlPointGridCmd
 add a control point More...
class  PanoCommand
 default panorama cmd, provides undo with mementos More...
class  CombinedPanoCommand
 PanoCommand to combine other PanoCommands. More...
class  NewPanoCmd
 reset the panorama More...
class  AddImagesCmd
 add image(s) to a panorama More...
class  RemoveImageCmd
 remove an image from a panorama More...
class  RemoveImagesCmd
 remove multiple images from a panorama More...
class  UpdateVariablesCmd
 update all variables More...
class  UpdateCPsCmd
 update all control points More...
class  UpdateVariablesCPCmd
 update all variables & control points More...
class  UpdateVariablesCPSetCmd
 update all variables & control points More...
class  UpdateImageVariablesCmd
 update variables of a single image More...
class  UpdateImagesVariablesCmd
 update variables of a group of images More...
class  UpdateOptimizeVectorCmd
 updates the optimize vector, aka all variables which should be optimized More...
class  UpdateOptimizerSwitchCmd
 update the optimizer master switch More...
class  UpdatePhotometricOptimizerSwitchCmd
 update the photometric optimizer master switch More...
class  SetVariableCmd
 update a single variable, possibly for a group of images More...
class  CenterPanoCmd
 center panorama horizontically More...
class  StraightenPanoCmd
 straighten panorama horizontically More...
class  AddCtrlPointCmd
 add a control point More...
class  AddCtrlPointsCmd
 add multiple control points More...
class  RemoveCtrlPointCmd
 remove a control point More...
class  RemoveCtrlPointsCmd
 remove several control points More...
class  ChangeCtrlPointCmd
 change a control point More...
class  SetActiveImagesCmd
 set active images More...
class  SwapImagesCmd
 swap two images More...
class  MoveImageCmd
 move image from position1 to position2 More...
class  MergePanoCmd
 merge two project files More...
class  UpdateSrcImageCmd
 update source image More...
class  UpdateSrcImagesCmd
 update source images More...
class  SetPanoOptionsCmd
 set the panorama options More...
class  LoadPTProjectCmd
 dump the current project and load a new one. More...
class  RotatePanoCmd
 Rotate the panorama. More...
class  TranslatePanoCmd
 Translate the panorama. More...
class  UpdateFocalLengthCmd
 Update the focal length. More...
class  UpdateCropFactorCmd
 Update the crop factor. More...
class  ChangePartNumberCmd
 Switch the part number of an image. More...
class  ChangePartImagesLinkingCmd
 Change the linking of some variables across parts of an ImageVariableGroup containing some specified images. More...
class  LinkLensVarsCmd
 Link a set of lens variables for some lens. More...
class  ChangeImageFilenameCmd
class  ChangeImageSizeCmd
class  ChangeImageProjectionCmd
class  ChangeImageHFOVCmd
class  ChangeImageResponseTypeCmd
class  ChangeImageEMoRParamsCmd
class  ChangeImageExposureValueCmd
class  ChangeImageGammaCmd
class  ChangeImageWhiteBalanceRedCmd
class  ChangeImageWhiteBalanceBlueCmd
class  ChangeImageRollCmd
class  ChangeImagePitchCmd
class  ChangeImageYawCmd
class  ChangeImageXCmd
class  ChangeImageYCmd
class  ChangeImageZCmd
class  ChangeImageTranslationPlaneYawCmd
class  ChangeImageTranslationPlanePitchCmd
class  ChangeImageStackCmd
class  ChangeImageRadialDistortionCmd
class  ChangeImageRadialDistortionRedCmd
class  ChangeImageRadialDistortionBlueCmd
class  ChangeImageRadialDistortionCenterShiftCmd
class  ChangeImageShearCmd
class  ChangeImageCropModeCmd
class  ChangeImageCropRectCmd
class  ChangeImageAutoCenterCropCmd
class  ChangeImageVigCorrModeCmd
class  ChangeImageFlatfieldFilenameCmd
class  ChangeImageRadialVigCorrCoeffCmd
class  ChangeImageRadialVigCorrCenterShiftCmd
class  ChangeImageExifModelCmd
class  ChangeImageExifMakeCmd
class  ChangeImageExifLensCmd
class  ChangeImageExifCropFactorCmd
class  ChangeImageExifFocalLengthCmd
class  ChangeImageExifOrientationCmd
class  ChangeImageExifApertureCmd
class  ChangeImageExifISOCmd
class  ChangeImageExifDistanceCmd
class  ChangeImageExifFocalLength35Cmd
class  ChangeImageExifExposureTimeCmd
class  ChangeImageExifDateCmd
class  ChangeImageExifExposureModeCmd
class  ChangeImageMasksCmd
class  ChangeImageActiveMasksCmd
class  ChangeImageActiveCmd
class  NewPartCmd
 Make a new part in a ImageVariableGroup for a set of images, given the variables that make up the group. More...
class  UpdateMaskForImgCmd
 update mask for given image More...
class  UpdateWhiteBalance
 update global white balance More...
class  ResetToMeanExposure
 reset output exposure to mean exposure of all images More...
class  DistributeImagesCmd
 distributes all images above the sphere, for the assistant More...
class  Panorama
class  PanoramaObserver
class  PanoramaMemento

Namespaces

namespace  TRANSFORM

Typedefs

typedef HuginBase::SmartPhotometricOptimizer::PhotometricOptimizeMode PhotometricOptimizeMode

Functions

bool initImageFromFile (SrcPanoImage &img, double &focalLength, double &cropFactor, bool applyExposureValue)
double calcHFOV (SrcPanoImage::Projection proj, double fl, double crop, vigra::Size2D imageSize)
double calcFocalLength (SrcPanoImage::Projection proj, double hfov, double crop, vigra::Size2D imageSize)
double calcCropFactor (SrcPanoImage::Projection proj, double hfov, double focalLength, vigra::Size2D imageSize)
double calcOptimalPanoScale (const SrcPanoImage &src, const PanoramaOptions &dest)
double calcMeanExposure (Panorama &pano)
static void optimizePhotometric (Panorama &pano, const OptimizeVector &vars, const std::vector< vigra_ext::PointPairRGB > &correspondences, AppBase::ProgressReporter &progress, double &error)
static void smartOptimizePhotometric (Panorama &pano, PhotometricOptimizeMode mode, const std::vector< vigra_ext::PointPairRGB > &correspondences, AppBase::ProgressReporter &progress, double &error)
void extractPoints (Panorama pano, std::vector< vigra::FRGBImage * > images, int nPoints, bool randomPoints, AppBase::ProgressReporter &progress, std::vector< vigra_ext::PointPairRGB > &points)
template<class ImageType>
std::vector< ImageType * > loadImagesPyr (std::vector< std::string > files, int pyrLevel, int verbose=0)
void loadImgsAndExtractPoints (Panorama pano, int nPoints, int pyrLevel, bool randomPoints, AppBase::ProgressReporter &progress, std::vector< vigra_ext::PointPairRGB > &points)

Variables

static PhotometricOptimizeMode OPT_PHOTOMETRIC_LDR = HuginBase::SmartPhotometricOptimizer::OPT_PHOTOMETRIC_LDR
static PhotometricOptimizeMode OPT_PHOTOMETRIC_LDR_WB = HuginBase::SmartPhotometricOptimizer::OPT_PHOTOMETRIC_LDR_WB
static PhotometricOptimizeMode OPT_PHOTOMETRIC_HDR = HuginBase::SmartPhotometricOptimizer::OPT_PHOTOMETRIC_HDR
static PhotometricOptimizeMode OPT_PHOTOMETRIC_HDR_WB = HuginBase::SmartPhotometricOptimizer::OPT_PHOTOMETRIC_HDR_WB


Typedef Documentation

typedef HuginBase::SmartPhotometricOptimizer::PhotometricOptimizeMode PT::PhotometricOptimizeMode

Definition at line 45 of file PhotometricOptimizer.h.


Function Documentation

bool PT::initImageFromFile ( SrcPanoImage &  img,
double &  focalLength,
double &  cropFactor,
bool  applyExposureValue 
) [inline]

Definition at line 36 of file PanoImage.h.

References HuginBase::SrcPanoImage::readEXIF().

Referenced by PT::wxLoadPTProjectCmd::processPanorama().

double PT::calcHFOV ( SrcPanoImage::Projection  proj,
double  fl,
double  crop,
vigra::Size2D  imageSize 
) [inline]

Definition at line 41 of file PanoImage.h.

References HuginBase::SrcPanoImage::calcHFOV().

Referenced by EVT_BUTTON(), PanoOperation::ResetOperation::GetInternalCommand(), LensCalFrame::GetPanorama(), HFOVDialog::OnCropFactorChanged(), HFOVDialog::OnFocalLengthChanged(), and HFOVDialog::OnTypeChanged().

double PT::calcFocalLength ( SrcPanoImage::Projection  proj,
double  hfov,
double  crop,
vigra::Size2D  imageSize 
) [inline]

Definition at line 46 of file PanoImage.h.

References HuginBase::SrcPanoImage::calcFocalLength().

Referenced by HuginBase::Lens::getFocalLength(), HFOVDialog::OnHFOVChanged(), ImagesPanel::OnLensTypeChanged(), GLPreviewFrame::OnLensTypeChanged(), HFOVDialog::OnLoadLensParameters(), ImagesPanel::OnSelectionChanged(), and GLPreviewFrame::panoramaChanged().

double PT::calcCropFactor ( SrcPanoImage::Projection  proj,
double  hfov,
double  focalLength,
vigra::Size2D  imageSize 
) [inline]

Definition at line 51 of file PanoImage.h.

References HuginBase::SrcPanoImage::calcCropFactor().

double PT::calcOptimalPanoScale ( const SrcPanoImage &  src,
const PanoramaOptions &  dest 
) [inline]

Definition at line 253 of file Panorama.h.

References HuginBase::CalculateOptimalScale::calcOptimalPanoScale().

double PT::calcMeanExposure ( Panorama &  pano  )  [inline]

Definition at line 259 of file Panorama.h.

References HuginBase::CalculateMeanExposure::calcMeanExposure().

Referenced by main(), PreviewFrame::OnDefaultExposure(), GLPreviewFrame::OnDefaultExposure(), and HuginBase::CalculateMeanExposure::runAlgorithm().

static void PT::optimizePhotometric ( Panorama &  pano,
const OptimizeVector vars,
const std::vector< vigra_ext::PointPairRGB > &  correspondences,
AppBase::ProgressReporter progress,
double &  error 
) [static]

Definition at line 36 of file PhotometricOptimizer.h.

References HuginBase::PhotometricOptimizer::optimizePhotometric().

static void PT::smartOptimizePhotometric ( Panorama &  pano,
PhotometricOptimizeMode  mode,
const std::vector< vigra_ext::PointPairRGB > &  correspondences,
AppBase::ProgressReporter progress,
double &  error 
) [static]

Definition at line 52 of file PhotometricOptimizer.h.

References HuginBase::SmartPhotometricOptimizer::smartOptimizePhotometric().

void PT::extractPoints ( Panorama  pano,
std::vector< vigra::FRGBImage * >  images,
int  nPoints,
bool  randomPoints,
AppBase::ProgressReporter progress,
std::vector< vigra_ext::PointPairRGB > &  points 
) [inline]

Definition at line 37 of file RandomPointSampler.h.

References HuginBase::PointSampler::extractPoints().

template<class ImageType>
std::vector<ImageType *> PT::loadImagesPyr ( std::vector< std::string files,
int  pyrLevel,
int  verbose = 0 
)

Definition at line 46 of file RandomPointSampler.h.

References cout, vigra_ext::destImage(), vigra::importImageAlpha(), celeste::info(), vigra_ext::reduceToNextLevel(), vigra_ext::srcImageRange(), celeste::swap(), and vigra_ext::transformImage().

void PT::loadImgsAndExtractPoints ( Panorama  pano,
int  nPoints,
int  pyrLevel,
bool  randomPoints,
AppBase::ProgressReporter progress,
std::vector< vigra_ext::PointPairRGB > &  points 
) [inline]

Definition at line 103 of file RandomPointSampler.h.

References HuginBase::PointSampler::extractPoints(), HuginBase::Panorama::getImage(), and HuginBase::Panorama::getNrOfImages().

Referenced by main().


Variable Documentation

PhotometricOptimizeMode PT::OPT_PHOTOMETRIC_LDR = HuginBase::SmartPhotometricOptimizer::OPT_PHOTOMETRIC_LDR [static]

Definition at line 46 of file PhotometricOptimizer.h.

PhotometricOptimizeMode PT::OPT_PHOTOMETRIC_LDR_WB = HuginBase::SmartPhotometricOptimizer::OPT_PHOTOMETRIC_LDR_WB [static]

Definition at line 47 of file PhotometricOptimizer.h.

PhotometricOptimizeMode PT::OPT_PHOTOMETRIC_HDR = HuginBase::SmartPhotometricOptimizer::OPT_PHOTOMETRIC_HDR [static]

Definition at line 48 of file PhotometricOptimizer.h.

PhotometricOptimizeMode PT::OPT_PHOTOMETRIC_HDR_WB = HuginBase::SmartPhotometricOptimizer::OPT_PHOTOMETRIC_HDR_WB [static]

Definition at line 49 of file PhotometricOptimizer.h.


Generated on 1 Nov 2014 for Hugintrunk by  doxygen 1.4.7