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
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
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
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:
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
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]: