Closed IdealOutage closed 8 years ago
Regions.sample expects an IterableInterval of type < B extends BooleanType< B >> but a LabelRegion is of type IterableInterval< Void >, therefor you can't use Regions stuff with LabelRegions.
Thanks @seebacherd Good catch. Looks like we missed Regions.sample in the recent change to Void. I'll fix it.
it should work now.
I released imglib2-roi 0.4.1, which contains the fix
Regions.sample expects an IterableInterval of type < B extends BooleanType< B >> but a LabelRegion is of type IterableInterval< Void >, therefor you can't use Regions stuff with LabelRegions.