Hi guys,<div><br></div><div>I've been too busy to dig very deeply into this. I just wanted to let you know I dealt with some similar issues when writing the net.imglib2.ops.pointset package. Giving it a look might be informative.</div>
<div><br></div><div>One thing that jumps out at me is the reliance on a span for an abstract neighborhood. I think there should be bounds but that neighborhoods might be sparse and possibly nonsymmetric. Imagine a 2d neighborhood like this:</div>
<div><br></div><div>X  X  X  X<br>    X</div><div>X  X</div><div><br></div><div>And let any point could be the "center" (or anchor) depending upon the API user's wishes. This is the idea behind GeneralPointSet. If span means bound then no problem but if span means "all the points within this n-d space" then the above is not supportable.</div>
<div><br></div><div>Anyhow I hope this adds to the discussion. If there are any questions in regard to the PointSet package let me know.</div><div><br><div class="gmail_quote">On Fri, Jul 27, 2012 at 10:35 AM, Jean-Yves Tinevez <span dir="ltr"><<a href="mailto:jeanyves.tinevez@gmail.com" target="_blank">jeanyves.tinevez@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><div class="gmail_quote"><br><div class="gmail_quote"><div>Hi all<br><br>I pushed some changes to the test branch: I removed the realpositionable stuff, and tried to draft the mother interface from our discussions.<br>

<br>But I got stuck at the copyOn method. If I try to make it as generic as I can (copy on a different RandomAccessible type and on a different type), concrete implementations that are more specific (like the buffered rectangle) fail on bad type bounds. I could use some help there.<br>


<br>Best<span class="HOEnZb"><font color="#888888"><span><font color="#888888"><br>jy<br> <br></font></span></font></span></div></div><span class="HOEnZb"><font color="#888888"><br>
</font></span></div><span class="HOEnZb"><font color="#888888"><br>

<p></p>

-- <br>
Please avoid top-posting, and please make sure to reply-to-all!<br>
 <br>
Mailing list web interface: <a href="http://groups.google.com/group/fiji-devel" target="_blank">http://groups.google.com/group/fiji-devel</a><br>
</font></span></blockquote></div><br></div>