Images and resampling - SimpleITK

#if this is supposed to be a 2D color image [x=20,y=10] img = sitk.GetImageFromArray(nda, isVector=True) print(img.GetSize()) Reading and Writing SimpleITK can read and write images stored in a single file, or a set of files (e.g. DICOM series). The toolkit provides both an object oriented and a procedural interface. ................
................