29 const PanoramaOptions & opts,
31 const std::string & basename,
33 const char * pixelType,
36 if (strcmp(pixelType,
"UINT8") == 0 ) {
37 stitchPanoIntern<vigra::BImage, vigra::BImage>(pano, opts, progress, basename, usedImgs, advOptions);
38 }
else if (strcmp(pixelType,
"INT16") == 0 ) {
39 stitchPanoIntern<vigra::SImage, vigra::BImage>(pano, opts, progress, basename, usedImgs, advOptions);
40 }
else if (strcmp(pixelType,
"UINT16") == 0 ) {
41 stitchPanoIntern<vigra::UInt16Image, vigra::BImage>(pano, opts, progress, basename, usedImgs, advOptions);
43 UTILS_THROW(std::runtime_error,
"Unsupported pixel type: " << pixelType );
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)
std::set< unsigned int > UIntSet
#define UTILS_THROW(class, msg)
Contains various routines used for stitching panoramas.
std::map< std::string, std::string > AdvancedOptions