PT Namespace Reference


Classes

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

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)
void optimizePhotometric (Panorama &pano, const OptimizeVector &vars, const std::vector< vigra_ext::PointPairRGB > &correspondences, AppBase::ProgressReporter &progress, double &error)
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

PhotometricOptimizeMode OPT_PHOTOMETRIC_LDR = HuginBase::SmartPhotometricOptimizer::OPT_PHOTOMETRIC_LDR
PhotometricOptimizeMode OPT_PHOTOMETRIC_LDR_WB = HuginBase::SmartPhotometricOptimizer::OPT_PHOTOMETRIC_LDR_WB
PhotometricOptimizeMode OPT_PHOTOMETRIC_HDR = HuginBase::SmartPhotometricOptimizer::OPT_PHOTOMETRIC_HDR
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.

Referenced by OptimizePhotometricPanel::runOptimizer().


Function Documentation

double 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 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 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 calcMeanExposure Panorama &  pano  )  [inline]
 

Definition at line 259 of file Panorama.h.

References HuginBase::CalculateMeanExposure::calcMeanExposure().

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

double calcOptimalPanoScale const SrcPanoImage &  src,
const PanoramaOptions &  dest
[inline]
 

Definition at line 253 of file Panorama.h.

References HuginBase::CalculateOptimalScale::calcOptimalPanoScale().

void 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().

Referenced by OptimizePhotometricPanel::runOptimizer().

bool 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().

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

Definition at line 46 of file RandomPointSampler.h.

References ImageType, vigra::importImageAlpha(), celeste::info(), vigra_ext::reduceToNextLevel(), and vigra_ext::transformImage().

void 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().

void 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().

Referenced by OptimizePhotometricPanel::runOptimizer().

void 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().

Referenced by OptimizePhotometricPanel::runOptimizer().


Variable Documentation

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.

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.


Generated on Sun Apr 20 01:25:54 2014 for Hugintrunk by  doxygen 1.3.9.1