Hello,
I need to specify an N-D data cube in an image.
I found the FinalInterval class in imglib2 to do this. However for some parts of my code I need get the width of the interval along a certain dimension, thus something like a getWidth( d ) would be good.
Right now I have to do
interval.max(d) - interval.min(d) + 1
which is a bit cumbersome. Is there another implementation of Interval that does give the width directly?