Stitcher1.cpp

Go to the documentation of this file.
00001 // -*- c-basic-offset: 4 -*-
00026 #include "Stitcher.h"
00027 
00028 void HuginBase::Nona::stitchPanoGray_32_float(const PanoramaData & pano,
00029                                  const PanoramaOptions & opts,
00030                                  AppBase::ProgressDisplay* progress,
00031                                  const std::string & basename,
00032                                  const UIntSet & usedImgs,
00033                                  const char * pixelType, 
00034                                  const AdvancedOptions& advOptions)
00035 {
00036     if (strcmp(pixelType, "UINT32") == 0 ) {
00037         stitchPanoIntern<vigra::UInt32Image, vigra::BImage>(pano, opts, progress, basename, usedImgs, advOptions);
00038     } else if (strcmp(pixelType, "INT32") == 0 ) {
00039         stitchPanoIntern<vigra::IImage, vigra::BImage>(pano, opts, progress, basename, usedImgs, advOptions);
00040     } else if (strcmp(pixelType, "FLOAT") == 0 ) {
00041         stitchPanoIntern<vigra::FImage, vigra::BImage>(pano, opts, progress, basename, usedImgs, advOptions);
00042     } else if (strcmp(pixelType, "DOUBLE") == 0 ) {
00043         stitchPanoIntern<vigra::DImage, vigra::BImage>(pano, opts, progress, basename, usedImgs, advOptions);
00044     } else {
00045         UTILS_THROW(std::runtime_error, "Unsupported pixel type: " << pixelType );
00046         return;
00047     }
00048 }
00049 

Generated on 26 Aug 2016 for Hugintrunk by  doxygen 1.4.7