message: Adjust the n_modes of the image for input with different number of modes
diff: @@ -305,6 +305,10 @@ namespace IO
  iFile_OVF ifile_ovf( filename, format );
  ifile_ovf.read_eigenmodes( image->modes, geometry );
  +
  + // if the modes vector was reseized adjust the n_modes value
  + if ( image->modes.size() != image->ema_parameters->n_modes )
  + image->ema_parameters->n_modes = image->modes.size();
  }
  else
  {
  