29 const PanoramaOptions & opts,
31 const std::string & basename,
33 const char * pixelType,
36 if (strcmp(pixelType,
"UINT32") == 0 ) {
37 stitchPanoIntern<vigra::UInt32Image, vigra::BImage>(pano, opts, progress, basename, usedImgs, advOptions);
38 }
else if (strcmp(pixelType,
"INT32") == 0 ) {
39 stitchPanoIntern<vigra::IImage, vigra::BImage>(pano, opts, progress, basename, usedImgs, advOptions);
40 }
else if (strcmp(pixelType,
"FLOAT") == 0 ) {
41 stitchPanoIntern<vigra::FImage, vigra::BImage>(pano, opts, progress, basename, usedImgs, advOptions);
42 }
else if (strcmp(pixelType,
"DOUBLE") == 0 ) {
43 stitchPanoIntern<vigra::DImage, vigra::BImage>(pano, opts, progress, basename, usedImgs, advOptions);
45 UTILS_THROW(std::runtime_error,
"Unsupported pixel type: " << pixelType );
std::set< unsigned int > UIntSet
#define UTILS_THROW(class, msg)
void stitchPanoGray_32_float(const PanoramaData &pano, const PanoramaOptions &opts, AppBase::ProgressDisplay *progress, const std::string &basename, const UIntSet &usedImgs, const char *pixelType, const AdvancedOptions &advOptions)
Contains various routines used for stitching panoramas.
std::map< std::string, std::string > AdvancedOptions