X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2Fexamples%2Fexample_MPR.cxx;h=f3dbffb7599e0581c058cf7d152086cb08b58510;hb=cb38f7928cd818697312a23a37c2ed1929da464d;hp=6b37e2a181f5aceaed54bebe8a5730a2d16664ea;hpb=cf01030f78d919f66b53a80831e1e89b0cb13397;p=cpPlugins.git diff --git a/appli/examples/example_MPR.cxx b/appli/examples/example_MPR.cxx index 6b37e2a..f3dbffb 100644 --- a/appli/examples/example_MPR.cxx +++ b/appli/examples/example_MPR.cxx @@ -53,7 +53,7 @@ int main( int argc, char* argv[] ) // Configure reader TParameters reader_params = reader->GetDefaultParameters( ); - reader_params.SetValueAsString( "FileName", input_image_file ); + reader_params.AddValueToStringList( "FileNames", input_image_file ); reader_params.SetValueAsString( "PixelType", pixel_type ); reader_params.SetValueAsUint( "ImageDimension", 3 ); reader_params.SetValueAsUint( "IsColorImage", 0 );