create a numpy zeros array of the required size... for example:
imgArray = numpy.zeros( ( yourImageSize[0], yourImageSize[1], numImages ), dType ) where dType is the bit depth of your images. so, for example, with 8-bit unsigned data, dType would be: numpy.uint8 then you just have to loop through, reading your images and dropping them into your numpy array. maybe there is a better way to do this, but this is what i have used and it works so far! bryan On 7/18/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi there, I am looking for a way to convert a group of images (.tif in my case) into one stack, using python. can anyone give a hint ? thanks, t. _______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig
_______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig