diff --git a/pom.xml b/pom.xml index d2580a11..10df83b3 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ org.scijava pom-scijava - 34.1.0 + 38.0.1 sc.fiji @@ -85,24 +85,16 @@ bsd_2 Matthias Arzt - 6.1.0 - 1.0.0-beta-17 - 10.4.6 - 1.0.0-beta-32 - sign,deploy-to-scijava - 10.4.6 - 0.2.0 - 2.0.0 - 6.1.0 - 0.13.2 - 0.3.1 - 1.0.0-beta-17 - 4.0.1 - 0.14.0 - 0.45.0 + 7.1.0 + 4.0.3 + 0.15.0 + 1.0.0-beta-18 + 0.15.3 + 10.6.0 + 0.1.18 @@ -198,10 +190,6 @@ sc.fiji bigdataviewer-core - - sc.fiji - bigdataviewer-vistools - net.imglib2 imglib2-realtransform diff --git a/src/main/java/sc/fiji/labkit/ui/actions/AddLabelingIoAction.java b/src/main/java/sc/fiji/labkit/ui/actions/AddLabelingIoAction.java index d74bbbee..31b4f0f5 100644 --- a/src/main/java/sc/fiji/labkit/ui/actions/AddLabelingIoAction.java +++ b/src/main/java/sc/fiji/labkit/ui/actions/AddLabelingIoAction.java @@ -84,7 +84,7 @@ private void addLabel(Labeling labeling, Label label, .stream().map(Label::name).collect(Collectors.toList())); if (newLabelName == null) return; Label newLabel = labeling.addLabel(newLabelName); - Cursor cursor = region.cursor(); + Cursor cursor = region.inside().cursor(); RandomAccess> ra = labeling.randomAccess(); while (cursor.hasNext()) { cursor.fwd(); diff --git a/src/main/java/sc/fiji/labkit/ui/brush/LabelBrushController.java b/src/main/java/sc/fiji/labkit/ui/brush/LabelBrushController.java index d4d13bd3..cba411de 100644 --- a/src/main/java/sc/fiji/labkit/ui/brush/LabelBrushController.java +++ b/src/main/java/sc/fiji/labkit/ui/brush/LabelBrushController.java @@ -40,6 +40,7 @@ import net.imglib2.roi.IterableRegion; import net.imglib2.roi.Regions; import net.imglib2.type.logic.BitType; +import net.imglib2.util.Intervals; import org.scijava.ui.behaviour.*; import sc.fiji.labkit.ui.ActionsAndBehaviours; import sc.fiji.labkit.ui.brush.neighborhood.Ellipsoid; @@ -248,8 +249,8 @@ private List