glmdenoise.utils.make_image_stack module¶
-
glmdenoise.utils.make_image_stack.make_image_stack(m)[source]¶ make image stack from 3D volume <m> is a 3D matrix. if more than 3D, we reshape to be 3D. we try to make the imagestack as square as possible (e.g. for 16 images, we would use [4 4]). find the minimum possible to fit all the images in. :param m: this can be a 3D volume of any sort. :type m: [3D volume]
Returns: 2D stack of slices Return type: [2D stack]