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

Mark Asbach asbach at ient.rwth-aachen.de
Fri Jun 29 06:05:05 EDT 2007

Hi Nadav,

> 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=1133880381&big_mirror=0)

>> I'm trying to do object segmentation from image slices, and have  
>> found the
>> matlab functions bwlabel and bwboundaries.  I haven't been able to  
>> find a
>> python equivalent in the pylab, scipy, numpy, or Image modules,  
>> nor has
>> google been fruitful.  Could somebody point me in the right  
>> direction to
>> find equivalent functions if they exist?

Since I'm one of the maintainers, I'd like to point you to OpenCV,  
the Open Computer Vision Library, that has a python wrapper  
(including PIL and numpy adaptors). For object segmentation, you  
might be better off to take a library that features a large set of  
building blocks for issues like these.


Yours, Mark

Mark Asbach
Institut für Nachrichtentechnik, RWTH Aachen University

More information about the NumPy-Discussion mailing list