Stitcher3.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::stitchPanoRGB_8_16(const PanoramaData & pano,
00032                             const PanoramaOptions & opts,
00033                             AppBase::MultiProgressDisplay & progress,
00034                             const std::string & basename,
00035                             const UIntSet & usedImgs,
00036                             const char * pixelType)
00037 {
00038     if (strcmp(pixelType, "UINT8") == 0 ) {
00039         stitchPanoIntern<BRGBImage,BImage>(pano, opts, progress, basename, usedImgs);
00040     } else if (strcmp(pixelType, "INT16") == 0 ) {
00041         stitchPanoIntern<SRGBImage,BImage>(pano, opts, progress, basename, usedImgs);
00042     } else if (strcmp(pixelType, "UINT16") == 0 ) {
00043         stitchPanoIntern<UInt16RGBImage, BImage>(pano, opts, progress, basename, usedImgs);
00044     } else {
00045         UTILS_THROW(std::runtime_error, "Unsupported pixel type: " << pixelType );
00046         return;
00047     }
00048 }
00049 
00050 

Generated on Wed Jul 16 01:25:38 2014 for Hugintrunk by  doxygen 1.3.9.1