X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=vv%2Fvv.cxx;h=f9c9d2abf110756df5efa84b2f6ba075374f5ec5;hb=dad240d633996ba10087d96ece317415086f5a59;hp=d06d05c74be2bec0cda5b8d7ab2a05f81e3f0dd5;hpb=fa16a72aba05d2d5ac4d96a7a42627ef6d2b1df2;p=clitk.git diff --git a/vv/vv.cxx b/vv/vv.cxx index d06d05c..f9c9d2a 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; } @@ -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 image; image.push_back(current); window.LoadImages(image,IMAGE); n_image_loaded++;