]> Creatis software - clitk.git/blobdiff - vv/vv.cxx
Parsing fusion image from command line
[clitk.git] / vv / vv.cxx
index d06d05c74be2bec0cda5b8d7ab2a05f81e3f0dd5..71974f1e6124dea74f279b35825a76edf7b369c2 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; }