diff --git a/src/main/java/bdv/viewer/render/AccumulateProjector.java b/src/main/java/bdv/viewer/render/AccumulateProjector.java index 96b2e5aef3a678746850797084cd5f8716ef546c..fea628c269895fd3b79e424ee2220a6dee0aa702 100644 --- a/src/main/java/bdv/viewer/render/AccumulateProjector.java +++ b/src/main/java/bdv/viewer/render/AccumulateProjector.java @@ -10,7 +10,6 @@ import net.imglib2.Cursor; import net.imglib2.IterableInterval; import net.imglib2.RandomAccessible; import net.imglib2.RandomAccessibleInterval; -import net.imglib2.converter.Converter; import net.imglib2.ui.InterruptibleProjector; import net.imglib2.ui.util.StopWatch; import net.imglib2.view.Views; @@ -21,11 +20,6 @@ public abstract class AccumulateProjector< A, B > implements VolatileProjector protected final ArrayList< IterableInterval< A > > sources; - /** - * A converter from the source pixel type to the target pixel type. - */ - protected final Converter< ? super A, B > converter; - /** * The target interval. Pixels of the target interval should be set by * {@link InterruptibleProjector#map()} @@ -57,7 +51,6 @@ public abstract class AccumulateProjector< A, B > implements VolatileProjector public AccumulateProjector( final ArrayList< VolatileProjector > sourceProjectors, final ArrayList< ? extends RandomAccessible< A > > sources, - final Converter< ? super A, B > converter, final RandomAccessibleInterval< B > target, final int numThreads, final ExecutorService executorService ) @@ -66,7 +59,6 @@ public abstract class AccumulateProjector< A, B > implements VolatileProjector this.sources = new ArrayList< IterableInterval< A > >(); for ( final RandomAccessible< A > source : sources ) this.sources.add( Views.flatIterable( Views.interval( source, target ) ) ); - this.converter = converter; this.target = target; this.iterableTarget = Views.flatIterable( target ); this.numThreads = numThreads; diff --git a/src/main/java/bdv/viewer/render/AccumulateProjectorARGB.java b/src/main/java/bdv/viewer/render/AccumulateProjectorARGB.java index dcd53fb6a132bbeeb05a679e032680aceeac696b..38a0cca9d5cd4b3f9197fe93a32253d894824bc3 100644 --- a/src/main/java/bdv/viewer/render/AccumulateProjectorARGB.java +++ b/src/main/java/bdv/viewer/render/AccumulateProjectorARGB.java @@ -31,7 +31,7 @@ public class AccumulateProjectorARGB extends AccumulateProjector< ARGBType, ARGB final int numThreads, final ExecutorService executorService ) { - super( sourceProjectors, sources, null, target, numThreads, executorService ); + super( sourceProjectors, sources, target, numThreads, executorService ); } @Override