3D SLIC code

Ronnie Ghose ronnie.ghose at gmail.com
Mon Mar 11 03:19:09 EDT 2013


+1


On Mon, Mar 11, 2013 at 3:07 AM, Juan Nunez-Iglesias <jni.soma at gmail.com>wrote:

> On Mon, Mar 11, 2013 at 5:52 PM, Ronnie Ghose <ronnie.ghose at gmail.com>wrote:
>
>> assuming you're modifying the 2d code,
>>
>
> My intention is to reduce the 2D case to 3D with Z = 1. This would be ~20%
> slower for 2D, but
> 1) SLIC is lightning fast in the first place, so a 20% bump is not a huge
> deal, and
> 2) the benefit is a vastly simplified code base relative to duplicating a
> whole lot of code specifically for 3D.
>
> I definitely have no problems with defaulting has_channels to True. Plus a
> user could do:
>
> slic_bw = functools.partial(slic, has_channels=False)
>
> and be done with it. ;)
>
> --
> 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+unsubscribe at googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20130311/ad7e6301/attachment.html>


More information about the scikit-image mailing list