I think line 4. is redundant and not required for mark_boundary?!
label_bound=segmentation.find_boundaries(props,connectivity=1,mode='thick',background=0)
File "/usr/local/lib/python3.4/dist-packages/skimage/segmentation/boundaries.py", line 148, in find_boundaries
ndim = label_img.ndim
AttributeError: 'list' object has no attribute 'ndim'
--
You received this message because you are subscribed to a topic in the Google Groups "scikit-image" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/scikit-image/PwmizxFahYE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to scikit-image...@googlegroups.com.
To post to this group, send an email to scikit...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/scikit-image/87zixt8mie.fsf%40berkeley.edu.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "scikit-image" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scikit-image...@googlegroups.com.
To post to this group, send email to scikit...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/scikit-image/CA%2BysReAKgzF%3DJXEjz7hti8sz0EBS_Hr%3DPaFWTxN6FV-GtROB0w%40mail.gmail.com.
Traceback (most recent call last):
File attributes_thrash.py", line 127, in <module>
boundaries=segmentation.mark_boundaries(g_median,label_bound)#,color=(1,0,0), outline_color=None, mode='outer', background_label=0)
File "/usr/local/lib/python3.4/dist-packages/skimage/segmentation/boundaries.py", line 213, in mark_boundaries
background=background_label)
File "/usr/local/lib/python3.4/dist-packages/skimage/segmentation/boundaries.py", line 156, in find_boundaries
max_label = np.iinfo(label_img.dtype).max
File "/usr/local/lib/python3.4/dist-packages/numpy/core/getlimits.py", line 254, in __init__
raise ValueError("Invalid integer data type.")
ValueError: Invalid integer data type.
Process finished with exit code 1
To post to this group, send email to scikit...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/scikit-image/CA%2BJHcKT5TijcW_Xa%3DEJt%2Bdi-o_3Hn5PmuHJzXc0YyM44vFr%2BDA%40mail.gmail.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/scikit-image/CA%2BysReD7NpvQdJgNfk_0h9b43wSEJ1TobPG0jf_MsKj6CGxDcg%40mail.gmail.com.