bug in `isPositionWithinSourceInterval`
Closed this issue · 1 comments
tischi commented
public static boolean isPositionWithinSourceInterval( SourceAndConverter< ? > source, RealPoint globalPosition, int timepoint, boolean sourceIs2d )
{
Source< ? > spimSource = source.getSpimSource();
final long[] voxelPositionInSource = getVoxelPositionInSource( spimSource, globalPosition, timepoint, 0 );
Interval sourceInterval = spimSource.getSource( 0, 0 );
the last line should be:
spimSource.getSource( timepoint, 0 );
NicoKiaru commented
Damned! Good catch