Stitcher1.cpp

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

Generated on 3 Aug 2015 for Hugintrunk by  doxygen 1.4.7