ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sun, 23 Sep 2012 02:22:06 -0500Mathematical Morphology?http://ask.sagemath.org/question/9321/mathematical-morphology/Is there a recommended package for Sage (or simply for Python) to do morphological image processing -- for instance, dilation, erosion, thinning, opening, closing, skeleton generation -- and related transformations?Sat, 15 Sep 2012 14:34:07 -0500http://ask.sagemath.org/question/9321/mathematical-morphology/Answer by calc314 for <p>Is there a recommended package for Sage (or simply for Python) to do morphological image processing -- for instance, dilation, erosion, thinning, opening, closing, skeleton generation -- and related transformations?</p>
http://ask.sagemath.org/question/9321/mathematical-morphology/?answer=14037#post-id-14037The Image module in python might have some of what you want.
See: http://www.pythonware.com/library/pil/handbook/image.htm
There are also facilities in numpy and scipy that you can use within Sage.
See: http://scipy-lectures.github.com/advanced/image_processing/index.htmlSat, 15 Sep 2012 15:35:44 -0500http://ask.sagemath.org/question/9321/mathematical-morphology/?answer=14037#post-id-14037Answer by jeanpat for <p>Is there a recommended package for Sage (or simply for Python) to do morphological image processing -- for instance, dilation, erosion, thinning, opening, closing, skeleton generation -- and related transformations?</p>
http://ask.sagemath.org/question/9321/mathematical-morphology/?answer=14062#post-id-14062For python you can use [mahotas](http://luispedro.org/software/mahotas), [pymorph](http://luispedro.org/software/pymorph), [scikits-image](http://scikits-image.org/), [mamba](http://www.mamba-image.org/). There's also things in [scipy](http://docs.scipy.org/doc/scipy/reference/tutorial/ndimage.html#morphology)Sun, 23 Sep 2012 02:22:06 -0500http://ask.sagemath.org/question/9321/mathematical-morphology/?answer=14062#post-id-14062