|
Hugin trunk 0.1
|
mainly consists of wrapper around the pano tools library, to assist in ressource management and to provide a nicer interface. More...
Namespaces | |
| namespace | Color |
| namespace | Exiv2Helper |
| namespace | LensDB |
| namespace | Nona |
| namespace | Photometric |
| namespace | PTools |
| namespace | PTScriptParsing |
Classes | |
| class | AllPointSampler |
| class | AutoOptimise |
| class | AutoOptimiseVisitor |
| class | BaseSrcPanoImage |
| Base class containing all the variables, but missing some of the other important functions and with some daft accessors. More... | |
| class | CalculateCPStatistics |
| just some common implementation; probably not so useful More... | |
| class | CalculateCPStatisticsError |
| class | CalculateCPStatisticsRadial |
| class | CalculateFitPanorama |
| class | CalculateFOV |
| class | CalculateImageOverlap |
| class for calculating overlap of images More... | |
| class | CalculateMeanExposure |
| class | CalculateOptimalROI |
| class | CalculateOptimalROIOutside |
| class | CalculateOptimalScale |
| class | CenterHorizontally |
| class | ComputeImageROI |
| class | ConstImageVariableGroup |
| An ImageVariableGroup is a collection of image variables that can have some shared variable values. More... | |
| class | ConstStandardImageVariableGroups |
| Make an ImageVariableGroup for lenses and other common concepts. More... | |
| class | ControlPoint |
| represents a control point More... | |
| class | FileOutputStitcherAlgorithm |
| stitch to file output More... | |
| class | FitPanorama |
| class | GraphVisitor |
| class | ImageCache |
| This is a cache for all the images we use. More... | |
| class | ImageStitcherAlgorithm |
| stitch to file output More... | |
| class | ImageVariable |
| An ImageVariable stores a value that can be linked to other ImageVariables of the same type. More... | |
| class | ImageVariableGroup |
| Same as above, but use a non const panorama. More... | |
| class | Lens |
| class | LensVariable |
| A lens variable can be linked. More... | |
| class | LimitIntensity |
| class for storing the limits of an image used by the sampler to exclude too dark or too bright pixel More... | |
| class | LinkedVariable |
| class | ManagedPanoramaData |
| class | MaskPolygon |
| base class, which stores one mask polygon More... | |
| class | NonaFileOutputStitcher |
| This class will use the stitchPanorama function of nona. More... | |
| class | OptVarSpec |
| class | Panorama |
| Model for a panorama. More... | |
| class | PanoramaAlgorithm |
| class | PanoramaData |
| Model for a panorama. More... | |
| class | PanoramaDataMemento |
| Memento class for a PanoramaData object. More... | |
| class | PanoramaMemento |
| Memento class for a Panorama object. More... | |
| class | PanoramaObserver |
| this handler class will receive change events from the Panorama. More... | |
| class | PanoramaOptions |
| Panorama image options. More... | |
| class | PhotometricOptimizer |
| class | PointSampler |
| struct | PrintVar |
| functor to print a variable. More... | |
| class | PTOptEstimator |
| Estimator for RANSAC based adjustment of pairwise parameters. More... | |
| class | PTOptimizer |
| class | PTOVariableConverterFDiff2D |
| Object to group conversion functions for PTO format variables representing a hugin_utils::FDiff2D variable in SrcPanoImg. More... | |
| class | PTOVariableConverterNoOp |
| Parent class to anything that aids conversion between PTO file variables and the image variables of SrcPanoImg. More... | |
| class | PTOVariableConverterSingle |
| Object to group conversion functions for PTO format variables of up to three characters representing a single variable in SrcPanoImg. More... | |
| class | PTOVariableConverterVector |
| Object to group conversion functions for PTO format variables representing a std::vector variable in SrcPanoImg, using characters stating from 'a'. More... | |
| class | PTOVariableConverterVectorChar |
| Object to group conversion functions for PTO format variables representing a std::vector variable in SrcPanoImg, using an identifying first character. More... | |
| class | RandomPointSampler |
| class | RANSACOptimizer |
| Pairwise ransac optimisation. More... | |
| class | RotatePanorama |
| class | SetWidthOptimal |
| class | SmallRemappedImageCache |
| class to cache remapped images, loaded from the hugin small image cache. More... | |
| class | SmartOptimise |
| class | SmartOptimizerStub |
| class | SmartPhotometricOptimizer |
| struct | SortVectorByExposure |
| class | SrcPanoImage |
| All variables of a source image. More... | |
| class | StandardImageVariableGroups |
| class | StitcherAlgorithm |
| Just a conceptual base class... More... | |
| class | StraightenPanorama |
| class | TimeConsumingPanoramaAlgorithm |
| class | TranslatePanorama |
| class | Variable |
| a variable has a value and a name. More... | |
Enumerations | |
| enum | clipSide { clipLeft =0 , clipRight , clipTop , clipBottom } |
| enum | OptimizerSwitches { OPT_PAIR =0x0001 , OPT_POSITION =0x0002 , OPT_VIEW =0x0004 , OPT_BARREL =0x0008 , OPT_ALL =0x0010 , OPT_TRANSLATION =0x0020 , OPT_EXPOSURE =0x0001 , OPT_WHITEBALANCE =0x0002 , OPT_VIGNETTING =0x0004 , OPT_VIGNETTING_CENTER =0x0008 , OPT_RESPONSE =0x0010 } |
| defines all optimizer switches, they can be combined with OR More... | |
Variables | |
| const int | maskOffset =100 |
| polygon can exceed the image maximal maskOffset pixels in each direction bigger polygons will be clipped after loading | |
| const ConstImageVariableGroup::ImageVariableEnum | lens_variables_array [] |
| The image variables that are specific to lenses. | |
| const std::set< ConstImageVariableGroup::ImageVariableEnum > | lens_variables_set |
| A set containing the lens image variables. | |
| const ConstImageVariableGroup::ImageVariableEnum | stack_variables_array [] |
| The image variables that are specific to stack. | |
| const std::set< ConstImageVariableGroup::ImageVariableEnum > | stack_variables_set |
| A set containing the stack image variables. | |
mainly consists of wrapper around the pano tools library, to assist in ressource management and to provide a nicer interface.
It can be used to feed data from our model directly into the panotools library
| typedef std::pair<typename CPVector::size_type, ControlPoint> HuginBase::CPoint |
Definition at line 101 of file ControlPoint.h.
| typedef std::vector<CPoint> HuginBase::CPointVector |
Definition at line 102 of file ControlPoint.h.
| typedef std::vector<ControlPoint> HuginBase::CPVector |
Definition at line 99 of file ControlPoint.h.
| typedef std::map<std::string, std::string> HuginBase::FileMetaData |
typedef for general map for storing metadata in files
Definition at line 58 of file SrcPanoImage.h.
| typedef std::vector<SrcPanoImage> HuginBase::ImageVector |
Definition at line 426 of file SrcPanoImage.h.
| typedef std::map<std::string,LensVariable> HuginBase::LensVarMap |
Definition at line 187 of file PanoramaVariable.h.
| typedef std::vector<Lens> HuginBase::LensVector |
| typedef std::vector<LimitIntensity> HuginBase::LimitIntensityVector |
Definition at line 65 of file PointSampler.h.
| typedef std::vector<MaskPolygon> HuginBase::MaskPolygonVector |
| typedef std::vector<std::set<std::string> > HuginBase::OptimizeVector |
Definition at line 194 of file PanoramaVariable.h.
Definition at line 347 of file ImageVariableTranslate.h.
Definition at line 346 of file ImageVariableTranslate.h.
Definition at line 314 of file ImageVariableTranslate.h.
Definition at line 284 of file ImageVariableTranslate.h.
Definition at line 311 of file ImageVariableTranslate.h.
Definition at line 313 of file ImageVariableTranslate.h.
Definition at line 287 of file ImageVariableTranslate.h.
Definition at line 329 of file ImageVariableTranslate.h.
Definition at line 337 of file ImageVariableTranslate.h.
Definition at line 326 of file ImageVariableTranslate.h.
Definition at line 334 of file ImageVariableTranslate.h.
Definition at line 331 of file ImageVariableTranslate.h.
Definition at line 335 of file ImageVariableTranslate.h.
Definition at line 333 of file ImageVariableTranslate.h.
Definition at line 327 of file ImageVariableTranslate.h.
Definition at line 332 of file ImageVariableTranslate.h.
Definition at line 330 of file ImageVariableTranslate.h.
Definition at line 325 of file ImageVariableTranslate.h.
Definition at line 324 of file ImageVariableTranslate.h.
Definition at line 323 of file ImageVariableTranslate.h.
Definition at line 328 of file ImageVariableTranslate.h.
Definition at line 336 of file ImageVariableTranslate.h.
Definition at line 288 of file ImageVariableTranslate.h.
Definition at line 338 of file ImageVariableTranslate.h.
Definition at line 279 of file ImageVariableTranslate.h.
Definition at line 317 of file ImageVariableTranslate.h.
Definition at line 289 of file ImageVariableTranslate.h.
Definition at line 283 of file ImageVariableTranslate.h.
Definition at line 348 of file ImageVariableTranslate.h.
Definition at line 345 of file ImageVariableTranslate.h.
Definition at line 294 of file ImageVariableTranslate.h.
Definition at line 282 of file ImageVariableTranslate.h.
Definition at line 305 of file ImageVariableTranslate.h.
Definition at line 307 of file ImageVariableTranslate.h.
| typedef PTOVariableConverterFDiff2D<'d', 'e'> HuginBase::PTOVariableConverterForRadialDistortionCenterShift |
Definition at line 308 of file ImageVariableTranslate.h.
Definition at line 306 of file ImageVariableTranslate.h.
| typedef PTOVariableConverterFDiff2D<'V','V', 'x','y'> HuginBase::PTOVariableConverterForRadialVigCorrCenterShift |
Definition at line 321 of file ImageVariableTranslate.h.
| typedef PTOVariableConverterVectorChar<'V', double, 4> HuginBase::PTOVariableConverterForRadialVigCorrCoeff |
Definition at line 320 of file ImageVariableTranslate.h.
Definition at line 286 of file ImageVariableTranslate.h.
Definition at line 293 of file ImageVariableTranslate.h.
Definition at line 309 of file ImageVariableTranslate.h.
Definition at line 280 of file ImageVariableTranslate.h.
Definition at line 303 of file ImageVariableTranslate.h.
| typedef PTOVariableConverterSingle<'T','p','p'> HuginBase::PTOVariableConverterForTranslationPlanePitch |
Definition at line 301 of file ImageVariableTranslate.h.
| typedef PTOVariableConverterSingle<'T','p','y'> HuginBase::PTOVariableConverterForTranslationPlaneYaw |
Definition at line 300 of file ImageVariableTranslate.h.
Definition at line 319 of file ImageVariableTranslate.h.
Definition at line 291 of file ImageVariableTranslate.h.
Definition at line 290 of file ImageVariableTranslate.h.
Definition at line 297 of file ImageVariableTranslate.h.
Definition at line 298 of file ImageVariableTranslate.h.
Definition at line 295 of file ImageVariableTranslate.h.
Definition at line 299 of file ImageVariableTranslate.h.
| typedef std::set<unsigned int> HuginBase::UIntSet |
Definition at line 51 of file PanoramaData.h.
| typedef std::vector<UIntSet> HuginBase::UIntSetVector |
Definition at line 56 of file PanoramaData.h.
| typedef std::vector<unsigned int> HuginBase::UIntVector |
Definition at line 54 of file PanoramaData.h.
| typedef std::map<std::string,Variable> HuginBase::VariableMap |
Definition at line 174 of file PanoramaVariable.h.
| typedef std::vector<VariableMap> HuginBase::VariableMapVector |
Definition at line 183 of file PanoramaVariable.h.
| typedef std::vector<hugin_utils::FDiff2D> HuginBase::VectorPolygon |
defines all optimizer switches, they can be combined with OR
| Enumerator | |
|---|---|
| OPT_PAIR | |
| OPT_POSITION | |
| OPT_VIEW | |
| OPT_BARREL | |
| OPT_ALL | |
| OPT_TRANSLATION | |
| OPT_EXPOSURE | |
| OPT_WHITEBALANCE | |
| OPT_VIGNETTING | |
| OPT_VIGNETTING_CENTER | |
| OPT_RESPONSE | |
Definition at line 31 of file OptimizerSwitches.h.
| double HuginBase::angle_between | ( | const hugin_utils::FDiff2D | a, |
| const hugin_utils::FDiff2D | b | ||
| ) |
calculates angle between vector a and b in radians
Definition at line 396 of file Mask.cpp.
References hugin_utils::TDiff2D< T >::squareLength(), threshold(), hugin_utils::TDiff2D< T >::x, and hugin_utils::TDiff2D< T >::y.
Referenced by HuginBase::MaskPolygon::clipPolygon().
| bool HuginBase::CheckStrangeWB | ( | PanoramaData & | pano | ) |
Definition at line 385 of file PhotometricOptimizer.cpp.
References HuginBase::PanoramaData::getImage(), HuginBase::PanoramaData::getNrOfImages(), and threshold().
Referenced by HuginBase::SmartPhotometricOptimizer::smartOptimizePhotometric().
| hugin_utils::FDiff2D HuginBase::clip_getIntersection | ( | const hugin_utils::FDiff2D | p, |
| const hugin_utils::FDiff2D | q, | ||
| const vigra::Rect2D | r, | ||
| const clipSide | side | ||
| ) |
Definition at line 255 of file Mask.cpp.
References clipBottom, clipLeft, clipRight, clipTop, threshold(), hugin_utils::TDiff2D< T >::x, and hugin_utils::TDiff2D< T >::y.
Referenced by clip_onPlane().
| std::vector< hugin_utils::FDiff2D > HuginBase::clip_getIntersectionCircle | ( | const hugin_utils::FDiff2D | p, |
| const hugin_utils::FDiff2D | s, | ||
| const hugin_utils::FDiff2D | center, | ||
| const double | radius | ||
| ) |
returns intersection of line and circle
| p | fist point of line segment |
| s | seconst point of line segment |
| center | center of circle |
| radius | radius of circle |
Definition at line 360 of file Mask.cpp.
References hugin_utils::TDiff2D< T >::squareLength(), threshold(), hugin_utils::TDiff2D< T >::x, and hugin_utils::TDiff2D< T >::y.
Referenced by HuginBase::MaskPolygon::clipPolygon().
| bool HuginBase::clip_insideCircle | ( | const hugin_utils::FDiff2D | p, |
| const hugin_utils::FDiff2D | center, | ||
| const double | radius | ||
| ) |
check if point is inside circle
| p | point to test |
| center | center point of circle test |
| radius | radius of circle to test |
Definition at line 348 of file Mask.cpp.
References hugin_utils::TDiff2D< T >::squareDistance().
Referenced by HuginBase::MaskPolygon::clipPolygon().
| bool HuginBase::clip_isSide | ( | const hugin_utils::FDiff2D | p, |
| const vigra::Rect2D | r, | ||
| const clipSide | side | ||
| ) |
Definition at line 239 of file Mask.cpp.
References clipBottom, clipLeft, clipRight, clipTop, threshold(), hugin_utils::TDiff2D< T >::x, and hugin_utils::TDiff2D< T >::y.
Referenced by clip_onPlane().
| VectorPolygon HuginBase::clip_onPlane | ( | const VectorPolygon & | polygon, |
| const vigra::Rect2D | r, | ||
| const clipSide | side | ||
| ) |
Definition at line 298 of file Mask.cpp.
References clip_getIntersection(), clip_isSide(), and threshold().
Referenced by HuginBase::MaskPolygon::clipPolygon().
| void HuginBase::convertTo8Bit | ( | SrcIMG & | src, |
| const std::string & | origType, | ||
| vigra::BRGBImage & | dest, | ||
| int | desiredMapping = -1 |
||
| ) |
Definition at line 44 of file ImageCache.cpp.
References vigra_ext::applyMapping(), vigra_ext::getMaxValForPixelType(), HUGIN_IMGCACHE_MAPPING_FLOAT, HUGIN_IMGCACHE_MAPPING_INTEGER, and threshold().
Referenced by HuginBase::ImageCache::Entry::get8BitImage().
| void HuginBase::estimateImageAlpha | ( | const SrcPanoImage & | src, |
| const PanoramaOptions & | dest, | ||
| TRANSFORM & | transf, | ||
| vigra::Rect2D & | imgRect, | ||
| vigra::BImage & | alpha, | ||
| double & | scale, | ||
| double | maxLength = 180.0 |
||
| ) |
calculate the outline of the image
| src | description of source picture |
| dest | description of output picture (panorama) |
| imgRect | output: position of image in panorama. |
Definition at line 43 of file ComputeImageROI.cpp.
References hugin_utils::ceili(), HuginBase::BaseSrcPanoImage::CROP_CIRCLE, DEBUG_DEBUG, hugin_utils::floori(), hugin_utils::roundi(), threshold(), and hugin_utils::TDiff2D< T >::x.
Referenced by estimateImageRect().
| void HuginBase::estimateImageRect | ( | const SrcPanoImage & | src, |
| const PanoramaOptions & | dest, | ||
| TRANSFORM & | transf, | ||
| vigra::Rect2D & | imgRect, | ||
| double | maxLength = 180.0 |
||
| ) |
calculate the outline of the image
| src | description of source picture |
| dest | description of output picture (panorama) |
| imgRect | output: position of image in panorama. |
Definition at line 207 of file ComputeImageROI.cpp.
References estimateImageAlpha(), and threshold().
Referenced by estimateOutputROI().
| IMPEX vigra::Rect2D HuginBase::estimateOutputROI | ( | const PanoramaData & | pano, |
| const PanoramaOptions & | opts, | ||
| unsigned | i, | ||
| const double | maxLength | ||
| ) |
Definition at line 215 of file ComputeImageROI.cpp.
References HuginBase::PTools::Transform::createTransform(), estimateImageRect(), HuginBase::PanoramaData::getSrcImage(), and threshold().
Referenced by HuginBase::CalculateOptimalROIOutside::CalcOutsideCrop(), HuginBase::ComputeImageROI::computeROIS(), HuginBase::CalculateFitPanorama::fitPano(), getImagesinROI(), and HuginBase::SmallRemappedImageCache::getRemapped().
| IMPEX void HuginBase::fillLensVarMap | ( | LensVarMap & | variables | ) |
just lens variables
Definition at line 93 of file PanoramaVariable.cpp.
Referenced by HuginBase::Lens::Lens().
| IMPEX void HuginBase::fillVariableMap | ( | VariableMap & | vars | ) |
fill map with all image & lens variables
Definition at line 48 of file PanoramaVariable.cpp.
Referenced by HuginBase::PanoramaMemento::loadPTScript().
| int HuginBase::FindStackNumberForImage | ( | const std::vector< UIntSet > & | imageGroups, |
| const unsigned int | imgNr | ||
| ) |
Definition at line 1778 of file Panorama.cpp.
References set_contains(), and threshold().
Referenced by HuginBase::Panorama::getUnlinkedSubset().
| void HuginBase::generateArc | ( | VectorPolygon & | poly, |
| const hugin_utils::FDiff2D | s, | ||
| const hugin_utils::FDiff2D | center, | ||
| const double | radius, | ||
| const bool | clockwise | ||
| ) |
adds an arc with given radius at the end of the polygon, the point is not added to the arc
| poly | polygon to which the arc should added |
| s | point to which the arc should go |
| center | center of arc |
| radius | radius of arc |
| clockwise | true, if arc should go clockwise; else it goes anti-clockwise |
Definition at line 408 of file Mask.cpp.
References PI, hugin_utils::TDiff2D< T >::squareDistance(), threshold(), hugin_utils::TDiff2D< T >::x, and hugin_utils::TDiff2D< T >::y.
Referenced by HuginBase::MaskPolygon::clipPolygon().
| IMPEX UIntSet HuginBase::getCPinMasks | ( | HuginBase::Panorama | pano | ) |
returns these control points, which are in masks
Definition at line 186 of file CleanCP.cpp.
References HuginBase::Panorama::getCtrlPoints(), HuginBase::Panorama::getImage(), HuginBase::SrcPanoImage::isInside(), threshold(), and HuginBase::ControlPoint::X_Y.
| IMPEX UIntSet HuginBase::getCPoutsideLimit | ( | Panorama | pano, |
| double | n = 2.0, |
||
| bool | skipOptimisation = false, |
||
| bool | includeLineCp = false |
||
| ) |
optimises the whole panorama and removes all control points with error > mean+n*sigma
| pano | panorama which should be used |
| n | determines, how big the deviation from mean should be to determine wrong control points, default 2.0 |
| skipOptimisation | skips the optimisation step, the current position of the images is used |
| includeLineCp | include also line control points when calculating mean and check them also for limit |
Definition at line 123 of file CleanCP.cpp.
References HuginBase::CalculateCPStatisticsError::calcCtrlPntsErrorStats(), HuginBase::PTools::calcCtrlPointErrors(), HuginBase::Panorama::getCtrlPoints(), HuginBase::Panorama::setCtrlPoints(), HuginBase::SmartOptimise::smartOptimize(), threshold(), and HuginBase::ControlPoint::X_Y.
Referenced by GLPreviewFrame::OnCreateCP().
| IMPEX UIntSet HuginBase::getCPoutsideLimit_pair | ( | Panorama | pano, |
| AppBase::ProgressDisplay & | progress, | ||
| double | n = 2.0 |
||
| ) |
optimises images pairwise and removes for every image pair control points with error > mean+n*sigma
| pano | panorama which should be used |
| n | determines, how big the deviation from mean should be to determine wrong control points, default 2.0 |
Definition at line 37 of file CleanCP.cpp.
References HuginBase::CalculateCPStatisticsError::calcCtrlPntsErrorStats(), HuginBase::PanoramaOptions::EQUIRECTANGULAR, HuginBase::Panorama::getCtrlPoints(), HuginBase::Panorama::getImage(), HuginBase::Panorama::getNrOfCtrlPoints(), HuginBase::Panorama::getNrOfImages(), HuginBase::Panorama::getOptions(), HuginBase::Panorama::getSubset(), HuginBase::PTools::optimize(), HuginBase::Panorama::setCtrlPoints(), HuginBase::Panorama::setOptimizeVector(), HuginBase::Panorama::setOptions(), HuginBase::PanoramaOptions::setProjection(), threshold(), and HuginBase::ControlPoint::X_Y.
| IMPEX UIntVector HuginBase::getEstimatedBlendingOrder | ( | const PanoramaData & | pano, |
| const UIntSet & | images, | ||
| const unsigned int | referenceImage | ||
| ) |
returns vector of image numbers for blending in approbiate order
Definition at line 211 of file LayerStacks.cpp.
References HuginBase::PanoramaData::getNewSubset(), HuginBase::GraphVisitor::GetTranslatedImageNumbers(), set_contains(), and threshold().
Referenced by HuginQueue::detail::GetQuotedFilenamesStringForVerdandi(), and HuginBase::Nona::WeightedStitcher< ImageType, AlphaType >::stitch().
| IMPEX UIntSetVector HuginBase::getExposureLayers | ( | const PanoramaData & | pano, |
| UIntSet | allImgs, | ||
| const double | maxEVDiff | ||
| ) |
Definition at line 101 of file LayerStacks.cpp.
References HuginBase::PanoramaData::getImage(), and threshold().
| IMPEX UIntSetVector HuginBase::getExposureLayers | ( | const PanoramaData & | pano, |
| UIntSet | allImgs, | ||
| PanoramaOptions | opts | ||
| ) |
returns vector of set of output exposure layers
Definition at line 96 of file LayerStacks.cpp.
References getExposureLayers(), HuginBase::PanoramaOptions::outputLayersExposureDiff, and threshold().
Referenced by getExposureLayers(), HuginQueue::GetStitchingCommandQueueUserOutput(), HuginBase::Panorama::hasPossibleStacks(), HuginBase::Panorama::linkPossibleStacks(), and main().
| IMPEX UIntSetVector HuginBase::getHDRStacks | ( | const PanoramaData & | pano, |
| UIntSet | allImgs, | ||
| PanoramaOptions | opts | ||
| ) |
returns vector of set of output stacks
Definition at line 35 of file LayerStacks.cpp.
References HuginBase::PanoramaOptions::outputStacksMinOverlap, and threshold().
Referenced by HuginQueue::GetStitchingCommandQueueUserOutput(), main(), HuginBase::SmartOptimise::smartOptimize(), HuginBase::SmartPhotometricOptimizer::smartOptimizePhotometric(), and PanoPanel::StackCheck().
returns set of images which are visible in output ROI
Definition at line 140 of file LayerStacks.cpp.
References getImagesinROI(), HuginBase::PanoramaData::getOptions(), and HuginBase::PanoramaOptions::getROI().
Referenced by HuginBase::CalculateOptimalROI::calcOptimalROI(), getImagesinROI(), main(), main2(), and GLPreviewFrame::OnCreateCP().
| IMPEX UIntSet HuginBase::getImagesinROI | ( | const PanoramaData & | pano, |
| const UIntSet | activeImages, | ||
| vigra::Rect2D | panoROI | ||
| ) |
returns set of images which are visible in given ROI
Definition at line 145 of file LayerStacks.cpp.
References estimateOutputROI(), HuginBase::PanoramaData::getOptions(), HuginBase::PanoramaOptions::setROI(), and threshold().
| IMPEX std::vector< HuginBase::UIntVector > HuginBase::getSortedStacks | ( | const HuginBase::Panorama * | pano | ) |
returns vector of UIntVector with image numbers of each stack sorted by exposure
Definition at line 172 of file LayerStacks.cpp.
References HuginBase::Panorama::getNrOfImages(), and threshold().
Referenced by PanoDetector::buildMultiRowImageSets(), and GLPreviewFrame::OnShowAll().
| bool HuginBase::isFisheye | ( | const BaseSrcPanoImage::Projection & | proj | ) |
Definition at line 730 of file SrcPanoImage.cpp.
References HuginBase::BaseSrcPanoImage::CIRCULAR_FISHEYE, HuginBase::BaseSrcPanoImage::FISHEYE_EQUISOLID, HuginBase::BaseSrcPanoImage::FISHEYE_ORTHOGRAPHIC, HuginBase::BaseSrcPanoImage::FISHEYE_STEREOGRAPHIC, HuginBase::BaseSrcPanoImage::FISHEYE_THOBY, and HuginBase::BaseSrcPanoImage::FULL_FRAME_FISHEYE.
Referenced by HuginBase::SrcPanoImage::readProjectionFromDB().
Definition at line 368 of file PhotometricOptimizer.cpp.
References HuginBase::Photometric::ResponseTransform< VTIn >::calcVigFactor(), and threshold().
Referenced by HuginBase::SmartPhotometricOptimizer::smartOptimizePhotometric().
| IMPEX void HuginBase::LoadMaskFromStream | ( | std::istream & | stream, |
| vigra::Size2D & | imageSize, | ||
| MaskPolygonVector & | newMasks, | ||
| size_t | imgNr | ||
| ) |
load the mask from stream
Definition at line 662 of file Mask.cpp.
References HuginBase::PTScriptParsing::getIntParam(), HuginBase::PTScriptParsing::getPTParam(), HuginBase::MaskPolygon::setImgNr(), and threshold().
| vigra::Rect2D HuginBase::ModifyRect | ( | const vigra::Rect2D & | rect, |
| long | deltaLeft, | ||
| long | deltaTop, | ||
| long | deltaRight, | ||
| long | deltaBottom | ||
| ) |
Definition at line 220 of file CalculateOptimalROI.cpp.
References threshold().
Referenced by HuginBase::CalculateOptimalROI::nonreccheck().
| IMPEX void HuginBase::printVariableMap | ( | std::ostream & | o, |
| const VariableMap & | vars | ||
| ) |
print a variable map to o
Definition at line 126 of file PanoramaVariable.cpp.
References threshold().
| IMPEX void HuginBase::SaveMaskToStream | ( | std::ostream & | stream, |
| vigra::Size2D | imageSize, | ||
| MaskPolygon & | maskToWrite, | ||
| size_t | imgNr | ||
| ) |
| void HuginBase::UpdateOptVectorSet | ( | std::set< std::string > & | imgVar, |
| const std::string & | var, | ||
| const bool | opt | ||
| ) |
Definition at line 1223 of file Panorama.cpp.
References threshold().
Referenced by HuginBase::Panorama::updateOptimizeVector().
expects the abs(error) values
Definition at line 39 of file PhotometricOptimizer.cpp.
References sigma, and threshold().
Referenced by HuginBase::PhotometricOptimizer::photometricError().
| const ConstImageVariableGroup::ImageVariableEnum HuginBase::lens_variables_array[] |
The image variables that are specific to lenses.
These are by default linked across images in the same lens.
If you wish to change this, you'll need to set the ending offset in lens_variables_set below.
Definition at line 38 of file StandardImageVariableGroups.cpp.
| const std::set<ConstImageVariableGroup::ImageVariableEnum> HuginBase::lens_variables_set |
A set containing the lens image variables.
the offset on the second construtor argument is the size of the array.
Definition at line 60 of file StandardImageVariableGroups.cpp.
Referenced by HuginBase::ConstStandardImageVariableGroups::getLensVariables().
polygon can exceed the image maximal maskOffset pixels in each direction bigger polygons will be clipped after loading
Definition at line 44 of file Mask.h.
Referenced by MaskImageCtrl::invtransform(), MaskImageCtrl::invtransform(), HuginBase::PanoramaMemento::loadPTScript(), main(), MaskImageCtrl::OnPaint(), MaskLoadDialog::ProcessMask(), MaskImageCtrl::rescaleImage(), HuginBase::Panorama::transferMask(), MaskImageCtrl::transform(), and MaskImageCtrl::transform().
| const ConstImageVariableGroup::ImageVariableEnum HuginBase::stack_variables_array[] |
The image variables that are specific to stack.
These are by default linked across images in the same stack.
If you wish to change this, you'll need to set the ending offset in stack_variables_set below.
Definition at line 71 of file StandardImageVariableGroups.cpp.
| const std::set<ConstImageVariableGroup::ImageVariableEnum> HuginBase::stack_variables_set |
A set containing the stack image variables.
the offset on the second construtor argument is the size of the array.
Definition at line 87 of file StandardImageVariableGroups.cpp.
Referenced by HuginBase::ConstStandardImageVariableGroups::getStackVariables().