[ImageJ-devel] Code duplication...

Stephan Preibisch preibisch at mpi-cbg.de
Tue Mar 13 10:12:13 CDT 2012


Hi,

we talked about it already with Tobias. At then end, the ConstantImg extends the ConstantRandomAccess and should be treated that way. I guess Albert might not need its implementation anymore then? ... We just stopped as we did not agree where such a structure should live.

Nice greetings,
Steffi

On Mar 13, 2012, at 11:04 , Tobias Pietzsch wrote:

> Hi,
> 
> I just noticed that currently there are 3 (three!) ConstantRandomAccess implementations in ImgLib2
> 
> One by Albert in
> net.imglib2.script.img.fn
> 
> One by Steffi in
> net.imglib2.img.constant
> 
> And one by Lee (as an inner class) in
> net.imglib2.sampler.special.ConstantRandomAccess
> 
> 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?
> 
> best regards,
> Tobias




More information about the ImageJ-devel mailing list