Skip to content

Commit

Permalink
Adapt API changes introduced by imglib/imglib2-roi#71
Browse files Browse the repository at this point in the history
  • Loading branch information
tpietzsch committed Aug 28, 2024
1 parent 40c94ff commit 548ed74
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public <L> void trainLabeledFeatures(
if (label == null)
continue;
LabelRegion<L> region = regions.getLabelRegion(label);
Cursor<Void> cursor = region.cursor();
Cursor<Void> cursor = region.inside().cursor();
while (cursor.hasNext()) {
cursor.next();
ra.setPosition(cursor);
Expand Down

0 comments on commit 548ed74

Please sign in to comment.