473,671 Members | 2,340 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

morphological image processing in Python

Hello,

I'm about to start a project which will involve some greyscale image
processing using morphological operators (erosion, dilation, distance
transforms...), and I was wondering if these operators were available in
Python through some open source libraries.

A quick google search returned pymorphpro[1], which is unfortunately not
free software, and there also seem to be something available in ITK [2].
Unless I'm mistaken, the PIL does not provide these operations, nore do
Numeric/numarray/scipy.

Have I missed the one true Python mathematical morphology toolbox?

Thanks in advance for any advice.

[1] http://www.mmorph.com/pymorphpro/index.html
[2] http://www.itk.org/

--
Alexandre Fayolle LOGILAB, Paris (France).
http://www.logilab.com http://www.logilab.fr http://www.logilab.org
Oct 3 '05 #1
4 4100
On Mon, 3 Oct 2005 14:23:11 +0000 (UTC), Alexandre Fayolle
<al*@merlin.fay auffre.org> wrote:
Hello,

I'm about to start a project which will involve some greyscale image
processing using morphological operators (erosion, dilation, distance
transforms...) , and I was wondering if these operators were available in
Python through some open source libraries.

A quick google search returned pymorphpro[1], which is unfortunately not
free software, and there also seem to be something available in ITK [2].
Unless I'm mistaken, the PIL does not provide these operations, nore do
Numeric/numarray/scipy.

Have I missed the one true Python mathematical morphology toolbox?

Thanks in advance for any advice.


Actually, numarray does support morphological array operations. See
the chapter on 'Multi-dimensional image processing' in the numarray
docs.
Matt Feinstein

--
There is no virtue in believing something that can be proved to be true.
Oct 3 '05 #2
Alexandre Fayolle wrote:
Hello,

I'm about to start a project which will involve some greyscale image
processing using morphological operators (erosion, dilation, distance
transforms...), and I was wondering if these operators were available in
Python through some open source libraries.

A quick google search returned pymorphpro[1], which is unfortunately not
free software, and there also seem to be something available in ITK [2].
Unless I'm mistaken, the PIL does not provide these operations, nore do
Numeric/numarray/scipy.

Have I missed the one true Python mathematical morphology toolbox?


numarray

http://stsdas.stsci.edu/numarray/num...y.ndimage.html

This will be ported to the new scipy shortly. We could use some help.

--
Robert Kern
rk***@ucsd.edu

"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter

Oct 3 '05 #3

Alexandre Fayolle 寫道:
http://www.mmorph.com/resources.html

check this page.
Pymorph is a free.
Hello,

I'm about to start a project which will involve some greyscale image
processing using morphological operators (erosion, dilation, distance
transforms...), and I was wondering if these operators were available in
Python through some open source libraries.

A quick google search returned pymorphpro[1], which is unfortunately not
free software, and there also seem to be something available in ITK [2].
Unless I'm mistaken, the PIL does not provide these operations, nore do
Numeric/numarray/scipy.

Have I missed the one true Python mathematical morphology toolbox?

Thanks in advance for any advice.

[1] http://www.mmorph.com/pymorphpro/index.html
[2] http://www.itk.org/

--
Alexandre Fayolle LOGILAB, Paris (France).
http://www.logilab.com http://www.logilab.fr http://www.logilab.org


Oct 3 '05 #4
Take a look at ADaM and it's python wrappers:

http://datamining.itsc.uah.edu/adam/documentation.html

Oct 3 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
9574
by: matthiasjanes | last post by:
Hi, Maybe someone of you can help me. I'm trying to display an image in memory(open file) with an cgi script - but it want work proberly: I'm running an Cgi webserver (CgiServerGui.py). both files are in the /cgi/ folder
17
10022
by: PyPK | last post by:
Hi I am looking for a simple tiff Image reader/writer in python.Can anyone point me to the right one.
4
8525
by: Dean Card | last post by:
Okay, so here is the situation. I have need to do some on-the-fly image creation. I have everything working great except for the last part of it, applying a perspective type transform to the image. The transform will take a rectangular 2D image and transform it to a 3D representation in 2D. Please see the link to see what I am trying to do: http://seanberry.com/transform.png I have PIL v1.15 installed which has a PERSPECTIVE...
5
2370
by: edurand | last post by:
Hi, We are are pleased to announce the version 3.0 of the image processing library 'Filters'. You can use it in Python, and we have provided tutorials and samples in Python, with for exemple conversion from/to PIL image format. Have a look at : http://filters.sourceforge.net/ it's open source of course
6
1987
by: Thomas Guettler | last post by:
Hi, I tried PIL for image batch processing. But somehow I don't like it - Font-Selection: You need to give the name of the font file. - Drawing on an image needs a different object that pasting and saving. - The handbook is from Dec. 2006. What image libraries do you suggest? I think there are these alternatives:
0
2015
by: tavares | last post by:
(Our apologies for cross-posting. We appreciate if you kindly distribute this information by your co- workers and colleagues.) *************************************************************************** Symposium Image Processing and Data Visualization 2nd South-East European Conference on Computational Mechanics (SEECCM 2009) Island of Rhodes, Greece, 22-24 June 2009
0
1396
by: fatality123 | last post by:
hi all I am new to both python and image processing. My task is to use python and tk to create a tool which can convert between the difft RGb color spaces like 565,888,444 etc and difft YCbCr color spaces like 444,422,420and 411. I read abt PIL and installed it.I am working in Windows XP environment. to do this task i am facing the following problems: 1.read and write image files in difft formats like ppm,pgm,bmp in both binary and ascii...
8
2618
by: brahmaforces | last post by:
Hi Folks, I am using cherrypy and python. I am trying to get a user profile image to resize on the client side before uploading to the server. PHP has a gd library that does it it seems. Has anyone done this in a python environment without uploading to the server?
20
2441
by: Mr.SpOOn | last post by:
Hi, I need a structure to represent a set of integers. I also need to perform on this set some basic set operations, such as adding or removing elements, joining with other sets and checking for the presence of specific elements. I think that using Python sets would be the best choice, but I also need integers to be ordered inside the set and I've just found out that, instead, Python sets are unordered collections.
0
8473
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
8911
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8597
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8667
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7428
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6222
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4222
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4402
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2808
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.