[SciPy-user] Bug in find_objects? (Was: Re: image processing)
Vicent Mas (V+)
vmas at carabos.com
Mon Oct 30 14:59:17 CST 2006
El Tuesday, 24 de October de 2006 13:41, Gary Ruben escribió:
> I haven't actually tried this, but I think you should take a look at
> followed by
> 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'm trying to use Gary's receipt (thanks Gary, and sorry for answering
so slowly :-( but I get the following error (as can be seen running the
Traceback (most recent call last):
File "finder.py", line 13, in ?
line 89, in find_objects
return _nd_image.find_objects(input, max_label)
RuntimeError: data type not supported
It seems to be a bug. Am I right? Or am I doing something stupid?
Thanks in advance for your help.
\ / Vicent Mas http://www.carabos.com
/ \ Cárabos Coop. Enjoy Data
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 340 bytes
Desc: not available
Url : http://projects.scipy.org/pipermail/scipy-user/attachments/20061030/6b3370ba/attachment.bin
More information about the SciPy-user