
Hi Stefanie, and happy now year to you too!
On 2 Jan 2019, at 6:48 am, Stefanie Lück <luecks@gmail.com> wrote: I have a problem with the Shape Index <http://scikit-image.org/docs/dev/auto_examples/features_detection/plot_shape_index.html#sphx-glr-auto-examples-features-detection-plot-shape-index-py>example. When I try with my image (shape (778, 1802, 3)) I am getting the following error message:
Ah! So it turns out, despite our documentation <http://scikit-image.org/docs/dev/api/skimage.feature.html#skimage.feature.sh...> being unclear about this, that this function can only take 2D arrays. So you need to somehow convert your colour image to a grayscale one. The easiest way is with color.rgb2gray, but a different method might be appropriate for your data (e.g. computing the index separately for each channel). Juan.