Stitcher4.cpp

Go to the documentation of this file.
00001 // -*- c-basic-offset: 4 -*-
00026 #include "Stitcher.h"
00027 // somehow these are still set after panorama.h has been included
00028 #undef DIFFERENCE
00029 #undef min
00030 #undef max
00031 #undef MIN
00032 #undef MAX
00033 
00034 
00035 using namespace std;
00036 using namespace vigra;
00037 
00038 void HuginBase::Nona::stitchPanoRGB_32_float(const PanoramaData & pano,
00039                                   const PanoramaOptions & opts,
00040                                   AppBase::MultiProgressDisplay & progress,
00041                                   const std::string & basename,
00042                                   const UIntSet & usedImgs,
00043                                   const char * pixelType)
00044 {
00045     if (strcmp(pixelType, "INT32") == 0 ) {
00046         stitchPanoIntern<IRGBImage,BImage>(pano, opts, progress, basename, usedImgs);
00047     } else if (strcmp(pixelType, "UINT32") == 0 ) {
00048         stitchPanoIntern<UInt32RGBImage,BImage>(pano, opts, progress, basename, usedImgs);
00049     } else if (strcmp(pixelType, "FLOAT") == 0 ) {
00050         stitchPanoIntern<FRGBImage,BImage>(pano, opts, progress, basename, usedImgs);
00051     } else if (strcmp(pixelType, "DOUBLE") == 0 ) {
00052         stitchPanoIntern<DRGBImage,BImage>(pano, opts, progress, basename, usedImgs);
00053     } else {
00054         UTILS_THROW(std::runtime_error, "Unsupported pixel type: " << pixelType );
00055         return;
00056     }
00057 }
00058 
00059 

Generated on Mon Sep 22 01:25:41 2014 for Hugintrunk by  doxygen 1.3.9.1