[ImageJ-devel] [fiji-devel] [Fwd: bug in IntervalIndexer.indexToPositionWithOffset with solution] (fwd)

Johannes Schindelin schindelin at wisc.edu
Fri Nov 4 09:26:50 CDT 2011


FYI

---------- Forwarded message ----------
Date: Fri, 04 Nov 2011 10:39:52 +0100
From: Stephan Saalfeld <saalfeld at mpi-cbg.de>
To: Christian Dietz <christian.dietz at uni-konstanz.de>,
    Martin Horn <Martin.Horn at uni-konstanz.de>,
    fiji-devel <fiji-devel at googlegroups.com>
Cc: Albert Cardona <acardona at ini.phys.ethz.ch>,
    Tobias Pietzsch <pietzsch at mpi-cbg.de>,
    Stephan Preibisch <preibisch at mpi-cbg.de>
Subject: [fiji-devel] [Fwd: bug in IntervalIndexer.indexToPositionWithOffset
    with solution]

Hi ImgLib2ers,

in the last master commit Albert has found and fixed the first half of
the long standing quirk in IntervalIndexer at calculating indices and
positions with offsets (identified and reported a few weeks ago by
Christion and Martin).  IntervalIndexer was consistently(!) treating
offsets as negative offsets which was correct but unhandy using the
positive min property in Intervals.  It is clear that inverting the
logic in IntervalIndexer is a good idea.   To (hopefully) complete the
process and get consistency back, I pushed the second half of the
inversion now.  Either of both commits will break the KNIME code!  May
be it will break other code too that is using IntervalIndexer.  I beg
your pardon for being short in time and therefore not able to do
extensive testings.  Please check your code and sorry for the
inconvenience.  It's a short inconvenience for a better solution.

Best regards,
Stephan





-- 
You received this message because you are subscribed to the Google Groups "Fiji-devel" group.
To post to this group, send email to fiji-devel at googlegroups.com.
To unsubscribe from this group, send email to fiji-devel+unsubscribe at googlegroups.com.
For more options, visit this group at http://groups.google.com/group/fiji-devel?hl=en.
-------------- next part --------------
An embedded message was scrubbed...
From: Albert Cardona <acardona at ini.phys.ethz.ch>
Subject: bug in IntervalIndexer.indexToPositionWithOffset with solution
Date: Thu, 03 Nov 2011 09:56:13 -0400
Size: 2188
URL: <http://imagej.net/pipermail/imagej-devel/attachments/20111104/6188a616/attachment.mht>


More information about the ImageJ-devel mailing list