Re: [Image-SIG] some picture manipulations I want to do

2005-08-20 Thread Nadav Horesh
You can get maximum flexibility by converting the image to Numeric/numarray arrays, do whatever you plan and convert the arrays back. The most efficient way is to use the fromstring/tostring methods of Image and numerray/Numeric modules to convey data between them. Nadav. -Original

Re: [Image-SIG] modes in Image package

2005-08-24 Thread Nadav Horesh
1. 16 bits manipulation: PIL supports (unlike most image processing programs) 16 bits TIF. But I do not know if there is a 16x3 colour format. 2. For a quick image enhancement look at enhacer.py that comes with the package. It may be instructive to look at the other scripts in the same

Re: [Image-SIG] Array to Image to Array

2006-11-06 Thread Nadav Horesh
1. You probably have to install tk/tcl development package (I was a redhat user few years ago, so that is what I can recall) 2. Blurring is carried via a convolution, so probably a faster and more flexible method is to use ndimage (numpy.numarray.nd_image), or scipy. Nadav -Original

Re: [Image-SIG] [Numpy-discussion] Python equivalent of bwboundaries, bwlabel

2007-06-29 Thread Nadav Horesh
There are several image processing function (including labeling) in numpy.numarray.nd_image package. You can find nd_image documentation in numarray-1.5.pdf (http://downloads.sourceforge.net/numpy/numarray-1.5.pdf?modtime=1133880381big_mirror=0) Nadav. -Original Message- From:

Re: [Image-SIG] how to read tif image

2007-10-22 Thread Nadav Horesh
I did use PIL to read/write 16 bit images (could be also 32 bits, but I am not sure) Nadav. -Original Message- From: [EMAIL PROTECTED] on behalf of W. Bryan Smith Sent: Wed 17-Oct-07 16:45 To: [EMAIL PROTECTED] Cc: Image-SIG@python.org Subject: Re: [Image-SIG] how to read tif image

[Image-SIG] Can not read a special type of tif images

2008-02-13 Thread Nadav Horesh
I have a set of tif images that generated for a dicom images using ImageMagic convert utility. The Image module does not identify them (even identify utility seems to be inconsistent about them, as shown below): Try to read image via Image module === In [2]: