Re: Making algorithms at least 3D, preferably nD
@Ankit On Sunday, April 28, 2013 5:58:26 PM UTC+2, Juan Nunez-Iglesias wrote:
On Sat, Apr 27, 2013 at 11:58 AM, Ankit Agrawal <aaaag...@gmail.com<javascript:>
wrote:
@Marianne Can you point out to the category that you meant with your images of the dimensions (512, 1536, 21)?
I'm not Marianne but I would bet a nonzero sum that those are (m x n x p) images. =)
Yes, exactly! Just confirming what Juan and others have made clear. It goes like: In [1]: import skimage.io as io In [2]: coll = io.ImageCollection('Movie2/movie2_t005_z*_c001.png') In [3]: len(coll) Out[3]: 21 In [4]: coll[0].shape Out[4]: (512, 1536) But this collection of image files is for one given time, there are many times (making a movie) so I guess I'm dealing with nD as well.
#shamelessselfpromotion @Marianne: On Sun, Apr 28, 2013 at 9:52 PM, Marianne Corvellec < marianne.corvellec@ens-lyon.org> wrote:
In [1]: import skimage.io as io
In [2]: coll = io.ImageCollection('Movie2/movie2_t005_z*_c001.png')
In [3]: len(coll) Out[3]: 21
In [4]: coll[0].shape Out[4]: (512, 1536)
You might find my very first PR to scikit-image useful: =) In [5]: im3d = io.concatenate_images(coll) In [6]: im3d.shape Out[6]: (21, 512, 1536)
participants (2)
-
Juan Nunez-Iglesias
-
Marianne Corvellec