Create a quadratic Matrix of all DICOM images in the specified folder
The files are neither cropped, nor are the images stretched, only the
Matrixsize is changed (all pixels without image data are then filled up with
Please keep in mind:
The change is only useful, when ALL images in the folder have the same unequal number of rows and columns (as the size is only determined of the first image!)
If one dimension is odd numbered, the padarray function does not work (I don´t know if that could be the case, personally, I never had an uneven Matrix size). If this happens to someone, please message me.
changed the Description