<div dir="ltr">+1</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 11, 2013 at 3:07 AM, Juan Nunez-Iglesias <span dir="ltr"><<a href="mailto:jni.soma@gmail.com" target="_blank">jni.soma@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Mon, Mar 11, 2013 at 5:52 PM, Ronnie Ghose <span dir="ltr"><<a href="mailto:ronnie.ghose@gmail.com" target="_blank">ronnie.ghose@gmail.com</a>></span> wrote:<br>

</div><div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">assuming you're modifying the 2d code, </div></blockquote><div><br></div></div><div>My intention is to reduce the 2D case to 3D with Z = 1. This would be ~20% slower for 2D, but</div><div>1) SLIC is lightning fast in the first place, so a 20% bump is not a huge deal, and</div>



<div>2) the benefit is a vastly simplified code base relative to duplicating a whole lot of code specifically for 3D.</div><div><br></div><div>I definitely have no problems with defaulting has_channels to True. Plus a user could do:</div>



<div><br></div><div>slic_bw = functools.partial(slic, has_channels=False)</div><div><br></div><div>and be done with it. ;)</div></div><div class="HOEnZb"><div class="h5">

<p></p>

-- <br>
You received this message because you are subscribed to the Google Groups "scikit-image" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:scikit-image%2Bunsubscribe@googlegroups.com" target="_blank">scikit-image+unsubscribe@googlegroups.com</a>.<br>
For more options, visit <a href="https://groups.google.com/groups/opt_out" target="_blank">https://groups.google.com/groups/opt_out</a>.<br>
 <br>
 <br>
</div></div></blockquote></div><br></div>