Segmentation and Granulometry with scikit-image

Dan dkin at walla.co.il
Sun Dec 16 10:36:13 EST 2012


Hi,

The output:
Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] 
on win32
Type "copyright", "credits" or "license()" for more information.
>>> import skimage
>>> print skimage.__version__
0.7.2
>>> print skimage.__file__
C:\Python27\lib\site-packages\skimage\__init__.pyc
>>> 

Thanks

El domingo, 16 de diciembre de 2012 09:41:35 UTC-5, Tony S Yu escribió:
>
> On Sat, Dec 15, 2012 at 6:45 PM, Dan <dk... at walla.co.il <javascript:>>wrote:
>
>> Hi,
>>
>> Thanks for the rapid respnse, I am using 0.7.2 on windows.
>>
>> The error is now:
>>
>>  Traceback (most recent call last):
>>   File "C:/Users/DK/PProjects/skimage_seg/scikit_seg.py", line 3, in 
>> <module>
>>     import skimage.morphology as morph
>>   File "C:\Python27\lib\site-packages\skimage\morphology\__init__.py", 
>> line 7, in <module>
>>     from ._skeletonize import skeletonize, medial_axis
>> ImportError: cannot import name skeletonize
>>
>> Any idea why?.
>>
>> Thanks
>>
>
>
> Hi Dan,
>
> How did you install scikit-image? Also, what's the output of the following?
>
>
> import skimage
> print skimage.__version__
> print skimage.__file__
>
>
> -Tony
>
>
>
>> El sábado, 15 de diciembre de 2012 16:24:31 UTC-5, Tony S Yu escribió:
>>
>>> On Sat, Dec 15, 2012 at 1:58 PM, Dan <dk... at walla.co.il> wrote:
>>>
>>>> Dear Tony,
>>>>
>>>> Thanks for the script.
>>>>
>>>> I was running the script and I got this error:
>>>> Traceback (most recent call last):
>>>>   File "C:/Users/DK/PProjects/**skimage_seg/scikit_seg.py", line 18, 
>>>> in <module>
>>>>     img_background = morph.reconstruction(img-h, img)
>>>> AttributeError: 'module' object has no attribute 'reconstruction'
>>>>
>>>> Process finished with exit code 1
>>>>
>>>> Any reason why?
>>>>
>>>> Thanks a lot,
>>>> Dan
>>>>
>>>
>>> Hi Dan,
>>>
>>> Which version of scikit-image are you running? You'll need at least 0.7 
>>> (the latest stable release). You can check the version with the following 
>>> shell command:
>>>
>>>     $ python -c "import skimage; print skimage.__version__"
>>>
>>> -Tony 
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20121216/9ccf9342/attachment.html>


More information about the scikit-image mailing list