Morphological techniques

Stéfan van der Walt stefan at sun.ac.za
Mon Apr 22 05:04:48 EDT 2013


On Mon, Apr 22, 2013 at 7:22 AM, Chintak Sheth <chintaksheth at gmail.com> wrote:
> I was also thinking about having just the current convex_hull_image() with
> an additional parameter, method. When method='union', i get the convex hull
> of the entire image, and if method='object', i get the convex hull of
> individual objects. Though this approach of defining an another function and
> giving an additional option of returning convex hull of individual segmented
> objects, seemed interesting. Also helps keep the code clean.

In general, we prefer to use keywords as parameters that tweak the
algorithm (not to switch out an entirely different algorithm).  In
this case, I think the preference will be for separate functions.

Thanks
Stéfan



More information about the scikit-image mailing list