# connect openFileDialog.Out reader.In
# uncomment the following lines to read a 3D images stack
+# (only if file name order is meaningfull)
# -------------------------------------------------------
+/*
// To choose the directory
-#new DirectorySelector ds
+new DirectorySelector ds
// To get the image names into a vector
-#new FilesFromDirectory fd
+new FilesFromDirectory fd
// To read all the files, as a bbitk::ImagePointer
-#new ImageSeriesReader reader
+new ImageSeriesReader reader
// user choosen directory as input
-#connect ds.Out fd.In
-#set fd.Recursive false
+connect ds.Out fd.In
+set fd.Recursive false
// list of files as imput
-#connect fd.Out reader.FileNames
-
+connect fd.Out reader.FileNames
+*/
#Get image dimensions, ...
new ImageProperties mc