]> Creatis software - clitk.git/blobdiff - vv/vv.cxx
add slider for temporal dim (not used)
[clitk.git] / vv / vv.cxx
index d06d05c74be2bec0cda5b8d7ab2a05f81e3f0dd5..f9c9d2abf110756df5efa84b2f6ba075374f5ec5 100644 (file)
--- a/vv/vv.cxx
+++ b/vv/vv.cxx
@@ -87,7 +87,12 @@ int main( int argc, char** argv )
             if (!n_image_loaded) load_image_first_error();
             window.AddROI(n_image_loaded-1,argv[i+1]);
             i++; //skip roi name
-          } 
+          }
+        else if (current=="--fusion") {
+            if (!n_image_loaded) load_image_first_error();
+            window.AddFusionImage(n_image_loaded-1,argv[i+1]);
+            i++; //skip fusion name
+          }
         else if (current == "--sequence") {
           n_image_loaded++; //count only one for the sequence
           parse_mode=P_SEQUENCE; }
@@ -95,7 +100,6 @@ int main( int argc, char** argv )
       else if (parse_mode == P_SEQUENCE)
         sequence_filenames.push_back(current);
       else {
-        DD(current);
         std::vector<std::string> image; image.push_back(current);
         window.LoadImages(image,IMAGE);
         n_image_loaded++;