[SciPy-user] image processing

Gary Ruben gruben at bigpond.net.au
Tue Oct 24 06:41:13 CDT 2006


I haven't actually tried this, but I think you should take a look at
scipy.ndimage.measurements.label
followed by
scipy.ndimage.measurements.find_objects
and
scipy.ndimage.measurements.maximum

These sound like they will do what you want.

Gary R.

Carlos Medrano wrote:
> Vicent Mas (V+ <vmas <at> carabos.com> writes:
> 
>> Hello,
>>
>> I'm a newcomer to process image and scipy. I'm trying to process a 
>> binary image in order to get the biggest connected component. In matlab 
>> one can use the bwareaopen to achieve this goal but I don't know how to 
>> do it with scipy.  I've been looking at scipy.ndimage module with no 
>> luck. Could you help me, please?
>>
>> Thanks in advance.
> 
> I dont' know if this can help you, but check:
> 
> OpenCV library (supposed to have a python interface)
> 
> http://opencvlibrary.sourceforge.net/Welcome?highlight=%28%28Welcome%29%29
> 
> and PIL (Python Imaging library)
> 
> http://www.pythonware.com/products/index.htm
> 
> 
> Carlos Medrano



More information about the SciPy-user mailing list