X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2Fvv.cxx;h=71974f1e6124dea74f279b35825a76edf7b369c2;hb=0d42b6962669e20d31f6f7b566eefb2aecefa050;hp=d06d05c74be2bec0cda5b8d7ab2a05f81e3f0dd5;hpb=fa16a72aba05d2d5ac4d96a7a42627ef6d2b1df2;p=clitk.git diff --git a/vv/vv.cxx b/vv/vv.cxx index d06d05c..71974f1 100644 --- 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; }