--- a/src/Panorama/Stitcher2.cpp
+++ b/src/Panorama/Stitcher2.cpp
@@ -48,7 +48,7 @@
     } else if (strcmp(pixelType, "INT16") == 0 ) {
         stitchPanoIntern<SImage,BImage>(pano, opts, progress, basename, usedImgs);
     } else if (strcmp(pixelType, "UINT16") == 0 ) {
-        stitchPanoIntern<USImage,BImage>(pano, opts, progress, basename, usedImgs);
+        stitchPanoIntern<UInt16Image,BImage>(pano, opts, progress, basename, usedImgs);
     } else {
         UTILS_THROW(std::runtime_error, "Unsupported pixel type: " << pixelType );
         return;