diff --git a/src/main/java/fiji/plugin/trackmate/gui/editor/LabkitLauncher.java b/src/main/java/fiji/plugin/trackmate/gui/editor/LabkitLauncher.java index a4ef250d5..c1654465b 100644 --- a/src/main/java/fiji/plugin/trackmate/gui/editor/LabkitLauncher.java +++ b/src/main/java/fiji/plugin/trackmate/gui/editor/LabkitLauncher.java @@ -273,10 +273,10 @@ private final DatasetInputImage makeInput( final ImagePlus imp, final boolean si final long[] max = src.maxAsLongArray(); min[ 0 ] = roi.getBounds().x; min[ 1 ] = roi.getBounds().y; - max[ 0 ] = roi.getBounds().x + roi.getBounds().width; - max[ 1 ] = roi.getBounds().y + roi.getBounds().height; -// max[ 0 ] = roi.getBounds().x + roi.getBounds().width - 1; -// max[ 1 ] = roi.getBounds().y + roi.getBounds().height - 1; +// max[ 0 ] = roi.getBounds().x + roi.getBounds().width; +// max[ 1 ] = roi.getBounds().y + roi.getBounds().height; + max[ 0 ] = roi.getBounds().x + roi.getBounds().width - 1; + max[ 1 ] = roi.getBounds().y + roi.getBounds().height - 1; crop = Views.interval( src, min, max ); } else