Image class

Johannes Schönberger jsch at demuc.de
Wed Sep 3 20:47:27 EDT 2014


> Johannes, slic(image, **metadata) won't work if the metadata dictionary contains keys that are not found in the function signature, which would be in basically all real-world scenarios. In order to support this syntax, we would need to append a **kwargs to the end of every function that supports metadata. 
> 
> Additionally, what I was suggesting would also require writing up a metadata specification and ensuring that all our kwargs are consistently named with that spec. We've made some efforts in the past to do so (spacing), but nothing comprehensive.

As mentioned, when metadata does not match your expected naming scheme, you are screwed anyways…



More information about the scikit-image mailing list