Hugin trunk 0.1
Loading...
Searching...
No Matches
Stitcher2.cpp
Go to the documentation of this file.
1// -*- c-basic-offset: 4 -*-
26#include "Stitcher.h"
27
29 const PanoramaOptions & opts,
31 const std::string & basename,
32 const UIntSet & usedImgs,
33 const char * pixelType,
35{
36 if (strcmp(pixelType, "UINT8") == 0 ) {
38 } else if (strcmp(pixelType, "INT16") == 0 ) {
40 } else if (strcmp(pixelType, "UINT16") == 0 ) {
42 } else {
43 UTILS_THROW(std::runtime_error, "Unsupported pixel type: " << pixelType );
44 return;
45 }
46}
47
48
Contains various routines used for stitching panoramas.
Model for a panorama.
Panorama image options.
#define UTILS_THROW(class, msg)
Definition utils.h:83
std::map< std::string, std::string > AdvancedOptions
void stitchPanoGray_8_16(const PanoramaData &pano, const PanoramaOptions &opts, AppBase::ProgressDisplay *progress, const std::string &basename, const UIntSet &usedImgs, const char *pixelType, const AdvancedOptions &advOptions)
Definition Stitcher2.cpp:28
std::set< unsigned int > UIntSet
std::vector< deghosting::BImagePtr > threshold(const std::vector< deghosting::FImagePtr > &inputImages, const double threshold, const uint16_t flags)
Threshold function used for creating alpha masks for images.
Definition threshold.h:41