#include <PanoramaOptions.h>
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, THOBY_PROJECTION = 20, HAMMER_AITOFF = 21 } |
| 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 > ¶ms) |
| 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 | |
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 |
| 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 | outputLDRStacks |
| 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 |
| double | outputStacksMinOverlap |
| double | outputLayersExposureDiff |
| pano_projection_features | m_projFeatures |
Private Attributes | |
| double | m_hfov |
| double | m_vfov |
| ProjectionFormat | m_projectionFormat |
| std::vector< double > | m_projectionParams |
| vigra::Size2D | m_size |
| vigra::Rect2D | m_roi |
Static Private Attributes | |
| const std::string | fileformatNames [] |
| const std::string | fileformatExt [] |
this holds the settings for the final panorama
Definition at line 85 of file PanoramaOptions.h.
|
|
blenders
Definition at line 161 of file PanoramaOptions.h. |
|
|
type of color correction
Definition at line 177 of file PanoramaOptions.h. |
|
|
Fileformat.
Definition at line 125 of file PanoramaOptions.h. |
|
|
Definition at line 155 of file PanoramaOptions.h. |
|
|
output mode
Definition at line 150 of file PanoramaOptions.h. |
|
|
Projection of final panorama.
Definition at line 91 of file PanoramaOptions.h. |
|
|
PTStitcher acceleration.
Definition at line 117 of file PanoramaOptions.h. |
|
|
Definition at line 170 of file PanoramaOptions.h. |
|
|
Definition at line 185 of file PanoramaOptions.h. |
|
|
Definition at line 190 of file PanoramaOptions.h. |
|
|
true, if FOV calcuations are supported for projection
Definition at line 234 of file PanoramaOptions.cpp. References ARCHITECTURAL, BIPLANE, CYLINDRICAL, EQUI_PANINI, EQUIRECTANGULAR, GENERAL_PANINI, MERCATOR, MILLER_CYLINDRICAL, PANINI, RECTILINEAR, SINUSOIDAL, and TRIPLANE. Referenced by main(), PreviewFrame::panoramaChanged(), GLPreviewFrame::panoramaChanged(), setHFOV(), setVFOV(), setWidth(), and PanoPanel::UpdateDisplay(). |
|
|
returns the FileFormat corrosponding to name. if name is not recognized, FileFormat::TIFF is returned Definition at line 78 of file PanoramaOptions.cpp. References DEBUG_ERROR, and fileformatNames. |
|
|
return string name of output file format
Definition at line 66 of file PanoramaOptions.cpp. References FILEFORMAT_NULL, and fileformatNames. Referenced by printScriptLine(), and HuginBase::Nona::stitchPanoIntern(). |
|
|
|
|
get maximum possible hfov with current projection
Definition at line 339 of file PanoramaOptions.h. Referenced by HuginBase::CalculateFitPanorama::fitPano(), PanoPanel::HFOVChanged(), GLPreviewFrame::OnHFOVChanged(), and setHFOV(). |
|
|
get maximum possible vfov with current projection
Definition at line 343 of file PanoramaOptions.h. Referenced by HuginBase::CalculateFitPanorama::fitPano(), GLPreviewFrame::OnVFOVChanged(), setHFOV(), setVFOV(), setWidth(), and PanoPanel::VFOVChanged(). |
|
|
return the extension used by the current output format
Definition at line 72 of file PanoramaOptions.cpp. References FILEFORMAT_NULL, fileformatExt, and outputFormat. Referenced by HuginBase::Nona::MultiImageRemapper< ImageType, AlphaImageType >::saveRemapped(), HuginBase::Nona::SimpleStitcher< ImageType, AlphaType >::stitch(), HuginBase::Nona::ReduceStitcher< ImageType, AlphaType >::stitch(), and HuginBase::Nona::WeightedStitcher< ImageType, AlphaType >::stitch(). |
|
|
|
|
|
|
|
||||||||||||
|
Definition at line 95 of file PanoramaOptions.cpp. References BRIGHTNESS, BRIGHTNESS_COLOR, COLOR, gamma, getFormatName(), getHeight(), getHFOV(), getWidth(), m_projectionFormat, m_projectionParams, m_roi, m_size, MAX_SPEEDUP, MEDIUM_SPEEDUP, NO_SPEEDUP, NONE, outputFormat, outputPixelType, TIFF, TIFF_m, TIFF_mask, and TIFF_multilayer. |
|
|
Definition at line 192 of file PanoramaOptions.h. Referenced by HuginBase::Panorama::reset(). |
|
|
sets the optional parameters to their default values
Definition at line 224 of file PanoramaOptions.cpp. References m_projFeatures, and setProjectionParameters(). Referenced by PreviewFrame::OnProjParameterReset(), GLPreviewFrame::OnProjParameterReset(), and setProjection(). |
|
|
||||||||||||
|
|
|
set the optional parameters (they need to be of the correct size)
Definition at line 191 of file PanoramaOptions.cpp. References getVFOV(), m_hfov, m_projectionFormat, m_projectionParams, m_projFeatures, setHFOV(), and setVFOV(). Referenced by PreviewFrame::OnChangeFOV(), GLPreviewFrame::OnChangeFOV(), GLPreviewFrame::OnProjParameterChanged(), PreviewFrame::OnTextCtrlChanged(), GLPreviewFrame::OnTrackChangeFOV(), and resetProjectionParameters(). |
|
|
|
||||||||||||
|
|
Definition at line 370 of file PanoramaOptions.h. Referenced by PanoPanel::BlenderChanged(), HuginBase::PanoramaMakefilelibExport::createItems(), PossiblePano::GeneratePanorama(), PanoPanel::OnBlenderOptions(), and PT::wxNewProjectCmd::processPanorama(). |
|
|
Definition at line 359 of file PanoramaOptions.h. Referenced by HuginBase::PanoramaMakefilelibExport::createItems(), and PanoOperation::ChangeColorAnchorImageOperation::GetInternalCommand(). |
|
|
|
|
|
Initial value:
{
"jpg",
"png",
"tif",
"tif",
"tif",
"tif",
"tif",
"pict",
"psd",
"psd",
"psd",
"pan",
"ivr",
"IVR_java",
"wrl",
"mov",
"hdr",
"hdr",
"exr",
"exr"
}
Definition at line 460 of file PanoramaOptions.cpp. Referenced by getOutputExtension(). |
|
|
Initial value:
{
"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"
}
Definition at line 435 of file PanoramaOptions.cpp. Referenced by getFormatFromName(), and getFormatName(). |
|
|
Definition at line 363 of file PanoramaOptions.h. Referenced by printScriptLine(). |
|
|
Definition at line 371 of file PanoramaOptions.h. Referenced by HuginBase::PanoramaMakefilelibExport::createItems(), PossiblePano::GeneratePanorama(), PanoPanel::OnHDRMergeOptions(), and PT::wxNewProjectCmd::processPanorama(). |
|
|
Definition at line 404 of file PanoramaOptions.h. Referenced by HuginBase::PanoramaMakefilelibExport::createItems(), PossiblePano::GeneratePanorama(), PanoPanel::OnHDRMergeOptions(), and PT::wxNewProjectCmd::processPanorama(). |
|
|
Definition at line 377 of file PanoramaOptions.h. Referenced by main2(), processImg(), and HuginBase::SmartOptimise::smartOptimize(). |
|
|
|
Definition at line 422 of file PanoramaOptions.h. Referenced by setHeight(), setHFOV(), setProjectionParameters(), setVFOV(), and setWidth(). |
|
|
Definition at line 426 of file PanoramaOptions.h. Referenced by printScriptLine(), setHFOV(), setProjection(), setProjectionParameters(), setVFOV(), and setWidth(). |
|
|
Definition at line 428 of file PanoramaOptions.h. Referenced by printScriptLine(), setProjection(), and setProjectionParameters(). |
|
|
|
Definition at line 430 of file PanoramaOptions.h. Referenced by printScriptLine(), setHeight(), setVFOV(), and setWidth(). |
|
|
Definition at line 429 of file PanoramaOptions.h. Referenced by getVFOV(), printScriptLine(), setHeight(), setVFOV(), and setWidth(). |
|
|
Definition at line 423 of file PanoramaOptions.h. |
|
|
|
Definition at line 349 of file PanoramaOptions.h. Referenced by main2(). |
|
|
Definition at line 408 of file PanoramaOptions.h. Referenced by HuginBase::Nona::RemappedPanoImage< RemapImage, AlphaImage >::remapImage(), and HuginBase::Nona::stitchPanorama(). |
|
|
|
|
save blended panorama (HDR)
Definition at line 392 of file PanoramaOptions.h. Referenced by HuginBase::PanoramaMakefilelibExport::createItems(), PanoOutputDialog::OnOk(), PanoPanel::OnOutputFilesChanged(), PanoPanel::StackCheck(), and PanoPanel::UpdateDisplay(). |
|
|
save remapped layers (HDR)
Definition at line 393 of file PanoramaOptions.h. Referenced by HuginBase::PanoramaMakefilelibExport::createItems(), PanoOutputDialog::OnOk(), PanoPanel::OnOutputFilesChanged(), PanoPanel::StackCheck(), and PanoPanel::UpdateDisplay(). |
|
|
save image stacks (HDR)
Definition at line 394 of file PanoramaOptions.h. Referenced by HuginBase::PanoramaMakefilelibExport::createItems(), PanoOutputDialog::OnOk(), PanoPanel::OnOutputFilesChanged(), PanoPanel::StackCheck(), and PanoPanel::UpdateDisplay(). |
|
|
|
Definition at line 398 of file PanoramaOptions.h. Referenced by HuginBase::PanoramaMakefilelibExport::createItems(), PossiblePano::GeneratePanorama(), PanoPanel::OnNormalTIFFCompression(), PanoOutputDialog::OnOk(), PT::wxNewProjectCmd::processPanorama(), and PanoPanel::UpdateDisplay(). |
|
|
Definition at line 399 of file PanoramaOptions.h. Referenced by HuginBase::PanoramaMakefilelibExport::createItems(), PanoPanel::HDRFileFormatChanged(), PanoOutputDialog::OnHDRFormatChanged(), PanoOutputDialog::OnOk(), and PanoPanel::UpdateDisplay(). |
|
|
Definition at line 400 of file PanoramaOptions.h. Referenced by HuginBase::PanoramaMakefilelibExport::createItems(), PanoPanel::OnHDRTIFFCompression(), PanoOutputDialog::OnOk(), and PanoPanel::UpdateDisplay(). |
|
|
Definition at line 396 of file PanoramaOptions.h. Referenced by HuginBase::PanoramaMakefilelibExport::createItems(). |
|
|
Definition at line 415 of file PanoramaOptions.h. Referenced by HuginBase::PanoramaMakefilelibExport::createItems(), HuginBase::getExposureLayers(), ImagesPanel::OnMaxEvDiffChanged(), and ImagesPanel::panoramaChanged(). |
|
|
save blended panorama (LDR)
Definition at line 385 of file PanoramaOptions.h. Referenced by HuginBase::PanoramaMakefilelibExport::createItems(), PanoOutputDialog::OnOk(), PanoPanel::OnOutputFilesChanged(), PanoPanel::StackCheck(), and PanoPanel::UpdateDisplay(). |
|
|
save blended exposure layers created from fused image stacks (no exposure adjustment)
Definition at line 391 of file PanoramaOptions.h. Referenced by HuginBase::PanoramaMakefilelibExport::createItems(), PanoOutputDialog::OnOk(), PanoPanel::OnOutputFilesChanged(), PanoPanel::StackCheck(), and PanoPanel::UpdateDisplay(). |
|
|
save blended exposure layers, do not perform fusion (no exposure adjustment)
Definition at line 388 of file PanoramaOptions.h. Referenced by HuginBase::PanoramaMakefilelibExport::createItems(), PanoOutputDialog::OnOk(), PanoPanel::OnOutputFilesChanged(), PanoPanel::StackCheck(), and PanoPanel::UpdateDisplay(). |
|
|
save blended exposure layers which are then fused (no exposure adjustment)
Definition at line 389 of file PanoramaOptions.h. Referenced by HuginBase::PanoramaMakefilelibExport::createItems(), PanoOutputDialog::OnOk(), PanoPanel::OnOutputFilesChanged(), and PanoPanel::UpdateDisplay(). |
|
|
save remapped layers (no exposure adjustment)
Definition at line 387 of file PanoramaOptions.h. Referenced by HuginBase::PanoramaMakefilelibExport::createItems(), PanoOutputDialog::OnOk(), PanoPanel::OnOutputFilesChanged(), PanoPanel::StackCheck(), and PanoPanel::UpdateDisplay(). |
|
|
save remapped layers (LDR)
Definition at line 386 of file PanoramaOptions.h. Referenced by HuginBase::PanoramaMakefilelibExport::createItems(), PanoOutputDialog::OnOk(), PanoPanel::OnOutputFilesChanged(), PanoPanel::StackCheck(), and PanoPanel::UpdateDisplay(). |
|
|
Definition at line 390 of file PanoramaOptions.h. Referenced by HuginBase::PanoramaMakefilelibExport::createItems(), PanoOutputDialog::OnOk(), PanoPanel::OnOutputFilesChanged(), and PanoPanel::UpdateDisplay(). |
|
|
|
|
Definition at line 414 of file PanoramaOptions.h. Referenced by HuginBase::PanoramaMakefilelibExport::createItems(), HuginBase::getHDRStacks(), ImagesPanel::OnMinimumOverlapChanged(), and ImagesPanel::panoramaChanged(). |
|
|
Definition at line 379 of file PanoramaOptions.h. |
|
|
Definition at line 380 of file PanoramaOptions.h. |
|
|
|
Definition at line 369 of file PanoramaOptions.h. |
|
|
Definition at line 372 of file PanoramaOptions.h. Referenced by HuginBase::PanoramaMakefilelibExport::createItems(), PanoPanel::OnRemapperOptions(), and PanoPanel::RemapperChanged(). |
|
|
|
Definition at line 375 of file PanoramaOptions.h. Referenced by main(), and HuginBase::Nona::MultiImageRemapper< ImageType, AlphaImageType >::saveRemapped(). |
|
|
1.3.9.1