public static class AlphaWeightedAccumulateProjectorARGB.Factory extends Object implements AccumulateProjectorFactory<net.imglib2.type.numeric.ARGBType>
| Constructor and Description |
|---|
Factory() |
| Modifier and Type | Method and Description |
|---|---|
VolatileProjector |
createProjector(List<VolatileProjector> sourceProjectors,
List<SourceAndConverter<?>> sources,
List<? extends net.imglib2.RandomAccessible<? extends net.imglib2.type.numeric.ARGBType>> sourceScreenImages,
net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.ARGBType> targetScreenImage,
int numThreads,
ExecutorService executorService) |
boolean |
requiresMaskedSources()
Returns
true if projectors created by this factory make use of
alpha masks. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateAccumulateProjectorpublic VolatileProjector createProjector(List<VolatileProjector> sourceProjectors, List<SourceAndConverter<?>> sources, List<? extends net.imglib2.RandomAccessible<? extends net.imglib2.type.numeric.ARGBType>> sourceScreenImages, net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.ARGBType> targetScreenImage, int numThreads, ExecutorService executorService)
createProjector in interface AccumulateProjectorFactory<net.imglib2.type.numeric.ARGBType>sourceProjectors - projectors that will be used to render sources.sources - sources to identify which channels are being renderedsourceScreenImages - rendered images that will be accumulated into
target.targetScreenImage - final image to render.numThreads - how many threads to use for rendering.executorService - ExecutorService to use for rendering. may be null.public boolean requiresMaskedSources()
AccumulateProjectorFactorytrue if projectors created by this factory make use of
alpha masks.
(In that case, individual sources should be rendered using
Source.getInterpolatedMaskedSource(int, int, bdv.viewer.Interpolation) instead of
Source.getInterpolatedSource(int, int, bdv.viewer.Interpolation).)
requiresMaskedSources in interface AccumulateProjectorFactory<net.imglib2.type.numeric.ARGBType>Copyright © 2012–2025 BigDataViewer. All rights reserved.