imglib/imglib — pull request #55 by dietzc (2014-02-22 10:47:25+00:00)
Title: Subinterval Cursors

Hi,

this PR depends on: https://github.com/imglib/imglib/pull/54.

At the octobre Hackathon 2012 in Konstanz Tobias/Me started to work on optimized cursors on RandomAccessibleIntervals which work under certrain conditions. For example, if you hyperlice a X,Y,Time ArrayImg at Time = 15 this plane still can be iterated in an efficient way using the original ArrayImgCursor implementation starting with X*Y*Time offset. Since now, we would use a RandomAccessible to iterate over the pixels which is way more expensive.

The code is running in KNIME Image Processing since January 2013 and we didn't face any problems. I cleaned up the branch and thought it might be a good idea to merge it to master now.

@tpietzsch with https://github.com/imglib/imglib/pull/54 the bug is told you about will be fixed. tests all pass.

Best,

Christian