made CHOOSE() macro work with Visual Studio, introduced namespace imglib2