Steffi,<div><br></div><div>Maybe I'm misunderstanding your description. If you are going to pull values out of these intervals then I think of them as functions. If you are going to change underlying values within the intervals I do not think of them as functions. Can we think of an alternate package name?<br>
<br><div class="gmail_quote">On Tue, Mar 13, 2012 at 12:46 PM, Stephan Preibisch <span dir="ltr"><<a href="mailto:preibisch@mpi-cbg.de">preibisch@mpi-cbg.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
Tobias and me have been thinking we could establish a new package<br>
<br>
net.imglib2.function<br>
<br>
in which (image) data classes are located that are not Img. This includes RealRandomAccessibles, RandomAccessibles, Iterables, IterableIntervals or InterableRealIntervals.<br>
<br>
The first example would be indeed the Constant ... anything including its Cursors/RandomAcesses.<br>
<br>
What do you think?<br>
<br>
Bye bye,<br>
Steffi<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On Mar 13, 2012, at 12:32 , Stephan Preibisch wrote:<br>
<br>
> Hi Lee,<br>
><br>
> this was exactly the course of our discussion. It is not an Img, so we need to find a place where this stuff will end up. Actually it is a specialization of any "Function" that can assign a value to any position in space. It should therefore also be RealRandomAccessible ...<br>
><br>
> I would think about it a bit more before we start ...<br>
><br>
> Nice greetings,<br>
> Steffi<br>
><br>
> On Mar 13, 2012, at 11:45 , Lee Kamentsky wrote:<br>
><br>
>> Hmmm... mine is certainly a candidate for removal. It looks like it is used in a couple of places and one is pretty pedantic. It's nice to have the ConstantRandomAccessible for places that take that instead of a ConstantRandomAccess.<br>
>><br>
>> I have a ConstantRealRandomAccess too, in the net.imglib2.sampler.special package. That doesn't fit into net.imglib2.img.constant. What happens to it?<br>
>><br>
>> If someone else wants to make the modifications, it's fine with me. If I were to do it, I'd add ConstantRandomAccessible to net.imglib2.img.constant, remove ConstantRandomAccessible and fix the two places where it's used. Any volunteers? If not, I'll mod.<br>
>><br>
>> --Lee<br>
>><br>
>> On 3/13/2012 11:04 AM, Tobias Pietzsch wrote:<br>
>>> Hi,<br>
>>><br>
>>> I just noticed that currently there are 3 (three!) ConstantRandomAccess implementations in ImgLib2<br>
>>><br>
>>> One by Albert in<br>
>>> net.imglib2.script.img.fn<br>
>>><br>
>>> One by Steffi in<br>
>>> net.imglib2.img.constant<br>
>>><br>
>>> And one by Lee (as an inner class) in<br>
>>> net.imglib2.sampler.special.ConstantRandomAccess<br>
>>><br>
>>> I didn't look in detail, but essentially all of those are doing the same thing. Could we maybe get rid of two of those?<br>
>>><br>
>>> best regards,<br>
>>> Tobias<br>
>><br>
><br>
><br>
> _______________________________________________<br>
> ImageJ-devel mailing list<br>
> <a href="mailto:ImageJ-devel@imagej.net">ImageJ-devel@imagej.net</a><br>
> <a href="http://imagej.net/mailman/listinfo/imagej-devel" target="_blank">http://imagej.net/mailman/listinfo/imagej-devel</a><br>
<br>
<br>
_______________________________________________<br>
ImageJ-devel mailing list<br>
<a href="mailto:ImageJ-devel@imagej.net">ImageJ-devel@imagej.net</a><br>
<a href="http://imagej.net/mailman/listinfo/imagej-devel" target="_blank">http://imagej.net/mailman/listinfo/imagej-devel</a><br>
</div></div></blockquote></div><br></div>