35 const PanoramaOptions & opts,
37 const std::string & basename,
39 const char * pixelType,
42 if (strcmp(pixelType,
"INT32") == 0 ) {
43 stitchPanoIntern<vigra::IRGBImage, vigra::BImage>(pano, opts, progress, basename, usedImgs, advOptions);
44 }
else if (strcmp(pixelType,
"UINT32") == 0 ) {
45 stitchPanoIntern<vigra::UInt32RGBImage, vigra::BImage>(pano, opts, progress, basename, usedImgs, advOptions);
46 }
else if (strcmp(pixelType,
"FLOAT") == 0 ) {
47 stitchPanoIntern<vigra::FRGBImage, vigra::BImage>(pano, opts, progress, basename, usedImgs, advOptions);
48 }
else if (strcmp(pixelType,
"DOUBLE") == 0 ) {
49 stitchPanoIntern<vigra::DRGBImage, vigra::BImage>(pano, opts, progress, basename, usedImgs, advOptions);
51 UTILS_THROW(std::runtime_error,
"Unsupported pixel type: " << pixelType );
std::set< unsigned int > UIntSet
#define UTILS_THROW(class, msg)
Contains various routines used for stitching panoramas.
void stitchPanoRGB_32_float(const PanoramaData &pano, const PanoramaOptions &opts, AppBase::ProgressDisplay *progress, const std::string &basename, const UIntSet &usedImgs, const char *pixelType, const AdvancedOptions &advOptions)
std::map< std::string, std::string > AdvancedOptions