public class Converters extends Object
| Constructor and Description |
|---|
Converters() |
| Modifier and Type | Method and Description |
|---|---|
static WriteConvertedRandomAccessible<ARGBType,UnsignedByteType> |
argbChannel(RandomAccessible<ARGBType> source,
int channel)
Create a
WriteConvertedRandomAccessible to one of the four
channels encoded in a RandomAccessible of ARGBType. |
static WriteConvertedRandomAccessibleInterval<ARGBType,UnsignedByteType> |
argbChannel(RandomAccessibleInterval<ARGBType> source,
int channel)
Create a
WriteConvertedRandomAccessibleInterval to one of the
four channels encoded in a RandomAccessibleInterval of
ARGBType. |
static RandomAccessibleInterval<UnsignedByteType> |
argbChannels(RandomAccessibleInterval<ARGBType> source)
Create an (n+1)-dimensional
RandomAccessible of an
n-dimensional RandomAccessible that maps the four
channels encoded in ARGBType into a dimension. |
static RandomAccessibleInterval<UnsignedByteType> |
argbChannels(RandomAccessibleInterval<ARGBType> source,
int... channels)
Create an (n+1)-dimensional
RandomAccessible of an
n-dimensional RandomAccessible that maps the four
channels encoded in ARGBType into a dimension. |
static <A,B extends Type<B>> |
compose(List<RandomAccessibleInterval<A>> components,
Converter<Composite<A>,B> composer,
B targetType)
Compose a list of same
Interval and same Type A
RandomAccessibleIntervals into a
RandomAccessibleInterval of some target Type B using a
Converter from Composite of A to B. |
static <A,B extends Type<B>> |
compose2(List<RandomAccessibleInterval<A>> components,
Converter<Composite<A>,B> composer,
Supplier<B> targetSupplier)
Compose a list of same
Interval and same Type A
RandomAccessibleIntervals into a
RandomAccessibleInterval of some target Type B using a
Converter from Composite of A to B. |
static <A extends NumericType<A>,B extends Type<B>> |
composeNumeric(List<RandomAccessibleInterval<A>> components,
Converter<NumericComposite<A>,B> composer,
B targetType)
Compose a list of same
Interval and same NumericType A
RandomAccessibleIntervals into a
RandomAccessibleInterval of some target Type B using a
Converter from Composite of A to B. |
static <A extends NumericType<A>,B> |
composeNumeric2(List<RandomAccessibleInterval<A>> components,
Converter<NumericComposite<A>,B> composer,
Supplier<B> targetSupplier)
Compose a list of same
Interval and same NumericType A
RandomAccessibleIntervals into a
RandomAccessibleInterval of some target Type B using a
Converter from Composite of A to B. |
static <A extends RealType<A>,B extends Type<B>> |
composeReal(List<RandomAccessibleInterval<A>> components,
Converter<RealComposite<A>,B> composer,
B targetType)
Compose a list of same
Interval and same RealType A
RandomAccessibleIntervals into a
RandomAccessibleInterval of some target Type B using a
Converter from Composite of A to B. |
static <A extends RealType<A>,B> |
composeReal2(List<RandomAccessibleInterval<A>> components,
Converter<RealComposite<A>,B> composer,
Supplier<B> targetSupplier)
Compose a list of same
Interval and same RealType A
RandomAccessibleIntervals into a
RandomAccessibleInterval of some target Type B using a
Converter from Composite of A to B. |
static <A,B extends Type<B>> |
convert(IterableInterval<A> source,
Converter<? super A,? super B> converter,
B b)
|
static <A,B,C extends Type<C>> |
convert(IterableInterval<A> sourceA,
IterableInterval<B> sourceB,
BiConverter<? super A,? super B,? super C> converter,
C c)
|
static <A,B,C extends Type<C>> |
convert(IterableInterval<A> sourceA,
IterableInterval<B> sourceB,
Supplier<BiConverter<? super A,? super B,? super C>> converterSupplier,
C c)
|
static <A,B extends Type<B>> |
convert(IterableInterval<A> source,
SamplerConverter<? super A,B> converter)
|
static <A,B extends Type<B>> |
convert(IterableInterval<A> source,
Supplier<Converter<? super A,? super B>> converterSupplier,
B b)
|
static <A,B extends Type<B>> |
convert(IterableInterval<A> source,
Supplier<SamplerConverter<? super A,B>> converterSupplier)
|
static <A,B extends Type<B>> |
convert(IterableRealInterval<A> source,
Converter<? super A,? super B> converter,
B b)
|
static <A,B,C extends Type<C>> |
convert(IterableRealInterval<A> sourceA,
IterableRealInterval<B> sourceB,
BiConverter<? super A,? super B,? super C> converter,
C c)
|
static <A,B,C extends Type<C>> |
convert(IterableRealInterval<A> sourceA,
IterableRealInterval<B> sourceB,
Supplier<BiConverter<? super A,? super B,? super C>> converterSupplier,
C c)
|
static <A,B extends Type<B>> |
convert(IterableRealInterval<A> source,
SamplerConverter<? super A,B> converter)
|
static <A,B extends Type<B>> |
convert(IterableRealInterval<A> source,
Supplier<Converter<? super A,? super B>> converterSupplier,
B b)
|
static <A,B extends Type<B>> |
convert(RandomAccessible<A> source,
Converter<? super A,? super B> converter,
B b)
|
static <A,B,C extends Type<C>> |
convert(RandomAccessible<A> sourceA,
RandomAccessible<B> sourceB,
BiConverter<? super A,? super B,? super C> converter,
C c)
|
static <A,B,C extends Type<C>> |
convert(RandomAccessible<A> sourceA,
RandomAccessible<B> sourceB,
Supplier<BiConverter<? super A,? super B,? super C>> converterSupplier,
C c)
|
static <A,B extends Type<B>> |
convert(RandomAccessible<A> source,
SamplerConverter<? super A,B> converter)
|
static <A,B extends Type<B>> |
convert(RandomAccessible<A> source,
Supplier<Converter<? super A,? super B>> converterSupplier,
B b)
|
static <A,B extends Type<B>> |
convert(RandomAccessible<A> source,
Supplier<SamplerConverter<? super A,B>> converterSupplier)
|
static <A,B extends Type<B>> |
convert(RandomAccessibleInterval<A> source,
Converter<? super A,? super B> converter,
B b)
|
static <A,B,C extends Type<C>> |
convert(RandomAccessibleInterval<A> sourceA,
RandomAccessibleInterval<B> sourceB,
BiConverter<? super A,? super B,? super C> converter,
C c)
|
static <A,B,C extends Type<C>> |
convert(RandomAccessibleInterval<A> sourceA,
RandomAccessibleInterval<B> sourceB,
Supplier<BiConverter<? super A,? super B,? super C>> converterSupplier,
C c)
|
static <A,B extends Type<B>> |
convert(RandomAccessibleInterval<A> source,
SamplerConverter<? super A,B> converter)
|
static <A,B extends Type<B>> |
convert(RandomAccessibleInterval<A> source,
Supplier<Converter<? super A,? super B>> converterSupplier,
B b)
|
static <A,B extends Type<B>> |
convert(RandomAccessibleInterval<A> source,
Supplier<SamplerConverter<? super A,B>> converterSupplier)
|
static <A,B extends Type<B>> |
convert(RealRandomAccessible<A> source,
Converter<? super A,? super B> converter,
B b)
|
static <A,B,C extends Type<C>> |
convert(RealRandomAccessible<A> sourceA,
RealRandomAccessible<B> sourceB,
BiConverter<? super A,? super B,? super C> converter,
C c)
|
static <A,B,C extends Type<C>> |
convert(RealRandomAccessible<A> sourceA,
RealRandomAccessible<B> sourceB,
Supplier<BiConverter<? super A,? super B,? super C>> converterSupplier,
C c)
|
static <A,B extends Type<B>> |
convert(RealRandomAccessible<A> source,
Supplier<Converter<? super A,? super B>> converterSupplier,
B b)
|
static <A,B extends Type<B>> |
convert(RealRandomAccessibleRealInterval<A> source,
Converter<? super A,? super B> converter,
B b)
Create a
RealRandomAccessibleRealInterval whose RealRandomAccesses Sampler.get() you a converted sample. |
static <A,B,C extends Type<C>> |
convert(RealRandomAccessibleRealInterval<A> sourceA,
RealRandomAccessibleRealInterval<B> sourceB,
BiConverter<? super A,? super B,? super C> converter,
C c)
Create a
RealRandomAccessibleRealInterval whose RealRandomAccesses Sampler.get() you a converted sample. |
static <A,B,C extends Type<C>> |
convert(RealRandomAccessibleRealInterval<A> sourceA,
RealRandomAccessibleRealInterval<B> sourceB,
Supplier<BiConverter<? super A,? super B,? super C>> converterSupplier,
C c)
Create a
RealRandomAccessibleRealInterval whose RealRandomAccesses Sampler.get() you a converted sample. |
static <A,B extends Type<B>> |
convert(RealRandomAccessibleRealInterval<A> source,
Supplier<Converter<? super A,? super B>> converterSupplier,
B b)
Create a
RealRandomAccessibleRealInterval whose RealRandomAccesses Sampler.get() you a converted sample. |
static <A,B> IterableInterval<B> |
convert2(IterableInterval<A> source,
Converter<? super A,? super B> converter,
Supplier<B> targetSupplier)
|
static <A,B,C> IterableInterval<C> |
convert2(IterableInterval<A> sourceA,
IterableInterval<B> sourceB,
BiConverter<? super A,? super B,? super C> converter,
Supplier<C> targetSupplier)
|
static <A,B,C> IterableInterval<C> |
convert2(IterableInterval<A> sourceA,
IterableInterval<B> sourceB,
Supplier<BiConverter<? super A,? super B,? super C>> converterSupplier,
Supplier<C> targetSupplier)
|
static <A,B> IterableInterval<B> |
convert2(IterableInterval<A> source,
Supplier<Converter<? super A,? super B>> converterSupplier,
Supplier<B> targetSupplier)
|
static <A,B> IterableRealInterval<B> |
convert2(IterableRealInterval<A> source,
Converter<? super A,? super B> converter,
Supplier<B> targetSupplier)
|
static <A,B,C> IterableRealInterval<C> |
convert2(IterableRealInterval<A> sourceA,
IterableRealInterval<B> sourceB,
BiConverter<? super A,? super B,? super C> converter,
Supplier<C> targetSupplier)
|
static <A,B,C> IterableRealInterval<C> |
convert2(IterableRealInterval<A> sourceA,
IterableRealInterval<B> sourceB,
Supplier<BiConverter<? super A,? super B,? super C>> converterSupplier,
Supplier<C> targetSupplier)
|
static <A,B> IterableRealInterval<B> |
convert2(IterableRealInterval<A> source,
Supplier<Converter<? super A,? super B>> converterSupplier,
Supplier<B> targetSupplier)
|
static <A,B> RandomAccessible<B> |
convert2(RandomAccessible<A> source,
Converter<? super A,? super B> converter,
Supplier<B> targetSupplier)
|
static <A,B,C> RandomAccessible<C> |
convert2(RandomAccessible<A> sourceA,
RandomAccessible<B> sourceB,
BiConverter<? super A,? super B,? super C> converter,
Supplier<C> targetSupplier)
|
static <A,B,C> RandomAccessible<C> |
convert2(RandomAccessible<A> sourceA,
RandomAccessible<B> sourceB,
Supplier<BiConverter<? super A,? super B,? super C>> converterSupplier,
Supplier<C> targetSupplier)
|
static <A,B> RandomAccessible<B> |
convert2(RandomAccessible<A> source,
Supplier<Converter<? super A,? super B>> converterSupplier,
Supplier<B> targetSupplier)
|
static <A,B> RandomAccessibleInterval<B> |
convert2(RandomAccessibleInterval<A> source,
Converter<? super A,? super B> converter,
Supplier<B> targetSupplier)
|
static <A,B,C> RandomAccessibleInterval<C> |
convert2(RandomAccessibleInterval<A> sourceA,
RandomAccessibleInterval<B> sourceB,
BiConverter<? super A,? super B,? super C> converter,
Supplier<C> targetSupplier)
|
static <A,B,C> RandomAccessibleInterval<C> |
convert2(RandomAccessibleInterval<A> sourceA,
RandomAccessibleInterval<B> sourceB,
Supplier<BiConverter<? super A,? super B,? super C>> converterSupplier,
Supplier<C> targetSupplier)
|
static <A,B> RandomAccessibleInterval<B> |
convert2(RandomAccessibleInterval<A> source,
Supplier<Converter<? super A,? super B>> converterSupplier,
Supplier<B> targetSupplier)
|
static <A,B> RealRandomAccessible<B> |
convert2(RealRandomAccessible<A> source,
Converter<? super A,? super B> converter,
Supplier<B> targetSupplier)
|
static <A,B,C> RealRandomAccessible<C> |
convert2(RealRandomAccessible<A> sourceA,
RealRandomAccessible<B> sourceB,
BiConverter<? super A,? super B,? super C> converter,
Supplier<C> targetSupplier)
|
static <A,B,C> RealRandomAccessible<C> |
convert2(RealRandomAccessible<A> sourceA,
RealRandomAccessible<B> sourceB,
Supplier<BiConverter<? super A,? super B,? super C>> converterSupplier,
Supplier<C> targetSupplier)
|
static <A,B> RealRandomAccessible<B> |
convert2(RealRandomAccessible<A> source,
Supplier<Converter<? super A,? super B>> converterSupplier,
Supplier<B> targetSupplier)
|
static <A,B> RealRandomAccessibleRealInterval<B> |
convert2(RealRandomAccessibleRealInterval<A> source,
Converter<? super A,? super B> converter,
Supplier<B> targetSupplier)
Create a
RealRandomAccessibleRealInterval whose RealRandomAccesses Sampler.get() you a converted sample. |
static <A,B,C> RealRandomAccessibleRealInterval<C> |
convert2(RealRandomAccessibleRealInterval<A> sourceA,
RealRandomAccessibleRealInterval<B> sourceB,
BiConverter<? super A,? super B,? super C> converter,
Supplier<C> targetSupplier)
Create a
RealRandomAccessibleRealInterval whose RealRandomAccesses Sampler.get() you a converted sample. |
static <A,B,C> RealRandomAccessibleRealInterval<C> |
convert2(RealRandomAccessibleRealInterval<A> sourceA,
RealRandomAccessibleRealInterval<B> sourceB,
Supplier<BiConverter<? super A,? super B,? super C>> converterSupplier,
Supplier<C> targetSupplier)
Create a
RealRandomAccessibleRealInterval whose RealRandomAccesses Sampler.get() you a converted sample. |
static <A,B> RealRandomAccessibleRealInterval<B> |
convert2(RealRandomAccessibleRealInterval<A> source,
Supplier<Converter<? super A,? super B>> converterSupplier,
Supplier<B> targetSupplier)
Create a
RealRandomAccessibleRealInterval whose RealRandomAccesses Sampler.get() you a converted sample. |
static <A,B extends Type<B>> |
convertRAI(RandomAccessibleInterval<A> source,
Converter<? super A,? super B> converter,
B b)
|
static <A,B,C extends Type<C>> |
convertRAI(RandomAccessibleInterval<A> sourceA,
RandomAccessibleInterval<B> sourceB,
BiConverter<? super A,? super B,? super C> converter,
C c)
|
static <A,B,C extends Type<C>> |
convertRAI(RandomAccessibleInterval<A> sourceA,
RandomAccessibleInterval<B> sourceB,
Supplier<BiConverter<? super A,? super B,? super C>> converterSupplier,
C c)
|
static <A,B extends Type<B>> |
convertRAI(RandomAccessibleInterval<A> source,
SamplerConverter<? super A,B> converter)
|
static <A,B extends Type<B>> |
convertRAI(RandomAccessibleInterval<A> source,
Supplier<Converter<? super A,? super B>> converterSupplier,
B b)
|
static <A,B extends Type<B>> |
convertRAI(RandomAccessibleInterval<A> source,
Supplier<SamplerConverter<? super A,B>> converterSupplier)
|
static <A,B> RandomAccessibleInterval<B> |
convertRAI2(RandomAccessibleInterval<A> source,
Converter<? super A,? super B> converter,
Supplier<B> targetSupplier)
|
static <A,B,C> RandomAccessibleInterval<C> |
convertRAI2(RandomAccessibleInterval<A> sourceA,
RandomAccessibleInterval<B> sourceB,
BiConverter<? super A,? super B,? super C> converter,
Supplier<C> targetSupplier)
|
static <A,B,C> RandomAccessibleInterval<C> |
convertRAI2(RandomAccessibleInterval<A> sourceA,
RandomAccessibleInterval<B> sourceB,
Supplier<BiConverter<? super A,? super B,? super C>> converterSupplier,
Supplier<C> targetSupplier)
|
static <A,B> RandomAccessibleInterval<B> |
convertRAI2(RandomAccessibleInterval<A> source,
Supplier<Converter<? super A,? super B>> converterSupplier,
Supplier<B> targetSupplier)
|
static <A,B extends Type<B>,S extends RandomAccessible<A> & IterableInterval<A>> |
convertRandomAccessibleIterableInterval(S source,
SamplerConverter<? super A,B> converter)
Create an
WriteConvertedIterableRandomAccessibleInterval whose
RandomAccesses and Cursors
Sampler.get() you a converted sample. |
static <A,B extends Type<B>,S extends RandomAccessible<A> & IterableInterval<A>> |
convertRandomAccessibleIterableInterval(S source,
Supplier<SamplerConverter<? super A,B>> converterSupplier)
Create an
WriteConvertedIterableRandomAccessibleInterval whose
RandomAccesses and Cursors
Sampler.get() you a converted sample. |
static RandomAccessible<ARGBType> |
mergeARGB(RandomAccessible<UnsignedByteType> source,
ColorChannelOrder channelOrder)
Create an n-dimensional color image from an
(n+1)-dimensional image of
UnsignedByteType. |
static RandomAccessibleInterval<ARGBType> |
mergeARGB(RandomAccessibleInterval<UnsignedByteType> source,
ColorChannelOrder channelOrder)
Create an n-dimensional color image from an
(n+1)-dimensional image of
UnsignedByteType. |
public static final <A,B extends Type<B>> RandomAccessible<B> convert(RandomAccessible<A> source, Converter<? super A,? super B> converter, B b)
RandomAccessible whose RandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RandomAccessibleInterval has no effect.source - converter - must be stateless when multi-threadingb - RandomAccessible whose RandomAccesses perform on-the-fly value conversion using the
provided converter.public static final <A,B> RandomAccessible<B> convert2(RandomAccessible<A> source, Converter<? super A,? super B> converter, Supplier<B> targetSupplier)
RandomAccessible whose RandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RandomAccessibleInterval has no effect.
The method signature is convert2 because many Java
compilers cannot resolve the correct overload when the target
Supplier is passed as a lambda and cause spurious and
seemingly false ambiguous method errors.source - converter - must be stateless when multi-threadingtargetSupplier - RandomAccessible whose RandomAccesses perform on-the-fly value conversion using the
provided converter.public static final <A,B extends Type<B>> RandomAccessible<B> convert(RandomAccessible<A> source, Supplier<Converter<? super A,? super B>> converterSupplier, B b)
RandomAccessible whose RandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RandomAccessibleInterval has no effect.source - converterSupplier - b - RandomAccessible whose RandomAccesses perform on-the-fly value conversion using the
provided converter.public static final <A,B> RandomAccessible<B> convert2(RandomAccessible<A> source, Supplier<Converter<? super A,? super B>> converterSupplier, Supplier<B> targetSupplier)
RandomAccessible whose RandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RandomAccessibleInterval has no effect.
The method signature is convert2 because many Java
compilers cannot resolve the correct overload when the target
Supplier is passed as a lambda and cause spurious and
seemingly false ambiguous method errors.source - converterSupplier - targetSupplier - RandomAccessible whose RandomAccesses perform on-the-fly value conversion using the
provided converter.public static final <A,B extends Type<B>> WriteConvertedRandomAccessible<A,B> convert(RandomAccessible<A> source, SamplerConverter<? super A,B> converter)
RandomAccessible whose RandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly both when reading and writing values.source - converter - must be stateless when multi-threadingRandomAccessible whose RandomAccesses perform on-the-fly value conversion using the
provided converter.public static final <A,B extends Type<B>> WriteConvertedRandomAccessible<A,B> convert(RandomAccessible<A> source, Supplier<SamplerConverter<? super A,B>> converterSupplier)
RandomAccessible whose RandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly both when reading and writing values.source - converterSupplier - RandomAccessible whose RandomAccesses perform on-the-fly value conversion using the
provided converter.public static final <A,B extends Type<B>> RandomAccessibleInterval<B> convert(RandomAccessibleInterval<A> source, Converter<? super A,? super B> converter, B b)
RandomAccessibleInterval whose RandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RandomAccessibleInterval has no effect.source - converter - must be stateless when multi-threadingb - RandomAccessibleInterval whose
RandomAccesses perform on-the-fly value
conversion using the provided converter.public static final <A,B> RandomAccessibleInterval<B> convert2(RandomAccessibleInterval<A> source, Converter<? super A,? super B> converter, Supplier<B> targetSupplier)
RandomAccessibleInterval whose RandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RandomAccessibleInterval has no effect.
The method signature is convert2 because many Java
compilers cannot resolve the correct overload when the target
Supplier is passed as a lambda and cause spurious and
seemingly false ambiguous method errors.source - converter - must be stateless when multi-threadingtargetSupplier - RandomAccessibleInterval whose
RandomAccesses perform on-the-fly value
conversion using the provided converter.public static final <A,B extends Type<B>> RandomAccessibleInterval<B> convert(RandomAccessibleInterval<A> source, Supplier<Converter<? super A,? super B>> converterSupplier, B b)
RandomAccessibleInterval whose RandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RandomAccessibleInterval has no effect.source - converterSupplier - b - RandomAccessibleInterval whose
RandomAccesses perform on-the-fly value
conversion using the provided converter.public static final <A,B> RandomAccessibleInterval<B> convert2(RandomAccessibleInterval<A> source, Supplier<Converter<? super A,? super B>> converterSupplier, Supplier<B> targetSupplier)
RandomAccessibleInterval whose RandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RandomAccessibleInterval has no effect.
The method signature is convert2 because many Java
compilers cannot resolve the correct overload when the target
Supplier is passed as a lambda and cause spurious and
seemingly false ambiguous method errors.source - converterSupplier - targetSupplier - RandomAccessibleInterval whose
RandomAccesses perform on-the-fly value
conversion using the provided converter.public static final <A,B extends Type<B>> RandomAccessibleInterval<B> convertRAI(RandomAccessibleInterval<A> source, Converter<? super A,? super B> converter, B b)
RandomAccessibleInterval whose RandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RandomAccessibleInterval has no effect.
Delegates to convert(RandomAccessibleInterval, Converter, Type).
The different method name avoids situations where the compiler
or a scripting language interpreter picks the undesired method
for an object that implements both RandomAccessibleInterval
and IterableInterval.source - converter - must be stateless when multi-threadingb - RandomAccessibleInterval whose
RandomAccesses perform on-the-fly value
conversion using the provided converter.public static final <A,B> RandomAccessibleInterval<B> convertRAI2(RandomAccessibleInterval<A> source, Converter<? super A,? super B> converter, Supplier<B> targetSupplier)
RandomAccessibleInterval whose RandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RandomAccessibleInterval has no effect.
Delegates to convert2(RandomAccessibleInterval, Converter, Supplier).
The different method name avoids situations where the compiler
or a scripting language interpreter picks the undesired method
for an object that implements both RandomAccessibleInterval
and IterableInterval.
The method signature is convertRAI2 because many Java
compilers cannot resolve the correct overload when the target
Supplier is passed as a lambda and cause spurious and
seemingly false ambiguous method errors.source - converter - must be stateless when multi-threadingtargetSupplier - RandomAccessibleInterval whose
RandomAccesses perform on-the-fly value
conversion using the provided converter.public static final <A,B extends Type<B>> RandomAccessibleInterval<B> convertRAI(RandomAccessibleInterval<A> source, Supplier<Converter<? super A,? super B>> converterSupplier, B b)
RandomAccessibleInterval whose RandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RandomAccessibleInterval has no effect.
Delegates to convert(RandomAccessibleInterval, Converter, Type).
The different method name avoids situations where the compiler
or a scripting language interpreter picks the undesired method
for an object that implements both RandomAccessibleInterval
and IterableInterval.source - converterSupplier - b - RandomAccessibleInterval whose
RandomAccesses perform on-the-fly value
conversion using the provided converter.public static final <A,B> RandomAccessibleInterval<B> convertRAI2(RandomAccessibleInterval<A> source, Supplier<Converter<? super A,? super B>> converterSupplier, Supplier<B> targetSupplier)
RandomAccessibleInterval whose RandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RandomAccessibleInterval has no effect.
Delegates to convert2(RandomAccessibleInterval, Converter, Supplier).
The different method name avoids situations where the compiler
or a scripting language interpreter picks the undesired method
for an object that implements both RandomAccessibleInterval
and IterableInterval.
The method signature is convertRAI2 because many Java
compilers cannot resolve the correct overload when the target
Supplier is passed as a lambda and cause spurious and
seemingly false ambiguous method errors.source - converterSupplier - targetSupplier - RandomAccessibleInterval whose
RandomAccesses perform on-the-fly value
conversion using the provided converter.public static final <A,B extends Type<B>> WriteConvertedRandomAccessibleInterval<A,B> convert(RandomAccessibleInterval<A> source, SamplerConverter<? super A,B> converter)
RandomAccessibleInterval whose RandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly both when reading and writing values.source - converter - must be stateless when multi-threadingRandomAccessibleInterval whose
RandomAccesses perform on-the-fly value
conversion using the provided converter.public static final <A,B extends Type<B>> WriteConvertedRandomAccessibleInterval<A,B> convert(RandomAccessibleInterval<A> source, Supplier<SamplerConverter<? super A,B>> converterSupplier)
RandomAccessibleInterval whose RandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly both when reading and writing values.source - converterSupplier - RandomAccessibleInterval whose
RandomAccesses perform on-the-fly value
conversion using the provided converter.public static final <A,B extends Type<B>> WriteConvertedRandomAccessibleInterval<A,B> convertRAI(RandomAccessibleInterval<A> source, SamplerConverter<? super A,B> converter)
RandomAccessibleInterval whose RandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly both when reading and writing values.
Delegates to convert(RandomAccessibleInterval, SamplerConverter).
The different name avoids situations where the compiler
or a scripting language interpreter picks the undesired method
for an object that implements both RandomAccessibleInterval
and IterableInterval.source - converter - must be stateless when multi-threadingRandomAccessibleInterval whose
RandomAccesses perform on-the-fly value
conversion using the provided converter.public static final <A,B extends Type<B>> IterableRealInterval<B> convert(IterableRealInterval<A> source, Converter<? super A,? super B> converter, B b)
IterableRealInterval whose RealCursors
Sampler.get() you a converted sample. Conversion is done
on-the-fly when reading values. Writing to the converted
IterableRealInterval has no effect.source - converter - must be stateless when multi-threadingb - IterableRealInterval whose RealCursors
perform on-the-fly value conversion using the provided converter.public static final <A,B> IterableRealInterval<B> convert2(IterableRealInterval<A> source, Converter<? super A,? super B> converter, Supplier<B> targetSupplier)
IterableRealInterval whose RealCursors
Sampler.get() you a converted sample. Conversion is done
on-the-fly when reading values. Writing to the converted
IterableRealInterval has no effect.
The method signature is convert2 because many Java
compilers cannot resolve the correct overload when the target
Supplier is passed as a lambda and cause spurious and
seemingly false ambiguous method errors.source - converter - must be stateless when multi-threadingtargetSupplier - IterableRealInterval whose RealCursors
perform on-the-fly value conversion using the provided converter.public static final <A,B extends Type<B>> IterableRealInterval<B> convert(IterableRealInterval<A> source, Supplier<Converter<? super A,? super B>> converterSupplier, B b)
IterableRealInterval whose RealCursors
Sampler.get() you a converted sample. Conversion is done
on-the-fly when reading values. Writing to the converted
IterableRealInterval has no effect.source - converterSupplier - b - IterableRealInterval whose RealCursors
perform on-the-fly value conversion using the provided converter.public static final <A,B> IterableRealInterval<B> convert2(IterableRealInterval<A> source, Supplier<Converter<? super A,? super B>> converterSupplier, Supplier<B> targetSupplier)
IterableRealInterval whose RealCursors
Sampler.get() you a converted sample. Conversion is done
on-the-fly when reading values. Writing to the converted
IterableRealInterval has no effect.
The method signature is convert2 because many Java
compilers cannot resolve the correct overload when the target
Supplier is passed as a lambda and cause spurious and
seemingly false ambiguous method errors.source - converterSupplier - targetSupplier - IterableRealInterval whose RealCursors
perform on-the-fly value conversion using the provided converter.public static final <A,B extends Type<B>> WriteConvertedRandomAccessibleInterval<A,B> convertRAI(RandomAccessibleInterval<A> source, Supplier<SamplerConverter<? super A,B>> converterSupplier)
RandomAccessibleInterval whose RandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly both when reading and writing values.
Delegates to convert(RandomAccessibleInterval, SamplerConverter).
The different name avoids situations where the compiler
or a scripting language interpreter picks the undesired method
for an object that implements both RandomAccessibleInterval
and IterableInterval.source - converterSupplier - RandomAccessibleInterval whose
RandomAccesses perform on-the-fly value
conversion using the provided converter.public static final <A,B extends Type<B>> IterableInterval<B> convert(IterableInterval<A> source, Converter<? super A,? super B> converter, B b)
IterableInterval whose Cursors
Sampler.get() you a converted sample. Conversion is done
on-the-fly when reading values. Writing to the converted
IterableInterval has no effect.source - converter - must be stateless when multi-threadingb - IterableInterval whose Cursors
perform on-the-fly value conversion using the provided converter.public static final <A,B> IterableInterval<B> convert2(IterableInterval<A> source, Converter<? super A,? super B> converter, Supplier<B> targetSupplier)
IterableInterval whose Cursors
Sampler.get() you a converted sample. Conversion is done
on-the-fly when reading values. Writing to the converted
IterableInterval has no effect.
The method signature is convert2 because many Java
compilers cannot resolve the correct overload when the target
Supplier is passed as a lambda and cause spurious and
seemingly false ambiguous method errors.source - converter - must be stateless when multi-threadingtargetSupplier - IterableInterval whose Cursors
perform on-the-fly value conversion using the provided converter.public static final <A,B extends Type<B>> IterableInterval<B> convert(IterableInterval<A> source, Supplier<Converter<? super A,? super B>> converterSupplier, B b)
IterableInterval whose Cursors
Sampler.get() you a converted sample. Conversion is done
on-the-fly when reading values. Writing to the converted
IterableInterval has no effect.source - converterSupplier - b - IterableInterval whose Cursors
perform on-the-fly value conversion using the provided converter.public static final <A,B> IterableInterval<B> convert2(IterableInterval<A> source, Supplier<Converter<? super A,? super B>> converterSupplier, Supplier<B> targetSupplier)
IterableInterval whose Cursors
Sampler.get() you a converted sample. Conversion is done
on-the-fly when reading values. Writing to the converted
IterableInterval has no effect.
The method signature is convert2 because many Java
compilers cannot resolve the correct overload when the target
Supplier is passed as a lambda and cause spurious and
seemingly false ambiguous method errors.source - converterSupplier - targetSupplier - IterableInterval whose Cursors
perform on-the-fly value conversion using the provided converter.public static final <A,B extends Type<B>> WriteConvertedIterableInterval<A,B> convert(IterableInterval<A> source, SamplerConverter<? super A,B> converter)
IterableInterval whose Cursors
Sampler.get() you a converted sample. Conversion is done
on-the-fly both when reading and writing values.source - converter - must be stateless when multi-threadingIterableInterval whose Cursors
perform on-the-fly value conversion using the provided converter.public static final <A,B extends Type<B>> WriteConvertedIterableRealInterval<A,B> convert(IterableRealInterval<A> source, SamplerConverter<? super A,B> converter)
IterableRealInterval whose RealCursors
Sampler.get() you a converted sample. Conversion is done
on-the-fly both when reading and writing values.source - converter - must be stateless when multi-threadingIterableRealInterval whose RealCursors
perform on-the-fly value conversion using the provided converter.public static final <A,B extends Type<B>> WriteConvertedIterableInterval<A,B> convert(IterableInterval<A> source, Supplier<SamplerConverter<? super A,B>> converterSupplier)
IterableInterval whose Cursors
Sampler.get() you a converted sample. Conversion is done
on-the-fly both when reading and writing values.source - converterSupplier - IterableInterval whose Cursors
perform on-the-fly value conversion using the provided converter.public static final <A,B extends Type<B>,S extends RandomAccessible<A> & IterableInterval<A>> WriteConvertedIterableRandomAccessibleInterval<A,B,S> convertRandomAccessibleIterableInterval(S source, SamplerConverter<? super A,B> converter)
WriteConvertedIterableRandomAccessibleInterval whose
RandomAccesses and Cursors
Sampler.get() you a converted sample. Conversion is done
on-the-fly both when reading and writing values.source - converter - must be stateless when multi-threadingWriteConvertedIterableRandomAccessibleInterval whose
Samplers perform on-the-fly value conversion
using the provided converter.public static final <A,B extends Type<B>,S extends RandomAccessible<A> & IterableInterval<A>> WriteConvertedIterableRandomAccessibleInterval<A,B,S> convertRandomAccessibleIterableInterval(S source, Supplier<SamplerConverter<? super A,B>> converterSupplier)
WriteConvertedIterableRandomAccessibleInterval whose
RandomAccesses and Cursors
Sampler.get() you a converted sample. Conversion is done
on-the-fly both when reading and writing values.source - converterSupplier - WriteConvertedIterableRandomAccessibleInterval whose
Samplers perform on-the-fly value conversion
using the provided converter.public static final <A,B extends Type<B>> RealRandomAccessibleRealInterval<B> convert(RealRandomAccessibleRealInterval<A> source, Converter<? super A,? super B> converter, B b)
RealRandomAccessibleRealInterval whose RealRandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RealRandomAccessibleRealInterval has no effect.source - converter - must be stateless when multi-threadingb - RealRandomAccessibleRealInterval whose
RealRandomAccesses perform on-the-fly value
conversion using the provided converter.public static final <A,B> RealRandomAccessibleRealInterval<B> convert2(RealRandomAccessibleRealInterval<A> source, Converter<? super A,? super B> converter, Supplier<B> targetSupplier)
RealRandomAccessibleRealInterval whose RealRandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RealRandomAccessibleRealInterval has no effect.
The method signature is convert2 because many Java
compilers cannot resolve the correct overload when the target
Supplier is passed as a lambda and cause spurious and
seemingly false ambiguous method errors.source - converter - must be stateless when multi-threadingtargetSupplier - RealRandomAccessibleRealInterval whose
RealRandomAccesses perform on-the-fly value
conversion using the provided converter.public static final <A,B extends Type<B>> RealRandomAccessibleRealInterval<B> convert(RealRandomAccessibleRealInterval<A> source, Supplier<Converter<? super A,? super B>> converterSupplier, B b)
RealRandomAccessibleRealInterval whose RealRandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RealRandomAccessibleRealInterval has no effect.source - converterSupplier - b - RealRandomAccessibleRealInterval whose
RealRandomAccesses perform on-the-fly value
conversion using the provided converter.public static final <A,B> RealRandomAccessibleRealInterval<B> convert2(RealRandomAccessibleRealInterval<A> source, Supplier<Converter<? super A,? super B>> converterSupplier, Supplier<B> targetSupplier)
RealRandomAccessibleRealInterval whose RealRandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RealRandomAccessibleRealInterval has no effect.
The method signature is convert2 because many Java
compilers cannot resolve the correct overload when the target
Supplier is passed as a lambda and cause spurious and
seemingly false ambiguous method errors.source - converterSupplier - targetSupplier - RealRandomAccessibleRealInterval whose
RealRandomAccesses perform on-the-fly value
conversion using the provided converter.public static final <A,B extends Type<B>> RealRandomAccessible<B> convert(RealRandomAccessible<A> source, Converter<? super A,? super B> converter, B b)
RealRandomAccessible whose RealRandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RandomAccessibleInterval has no effect.source - converter - must be stateless when multi-threadingb - RealRandomAccessible whose RealRandomAccesses perform on-the-fly value conversion using the
provided converter.public static final <A,B> RealRandomAccessible<B> convert2(RealRandomAccessible<A> source, Converter<? super A,? super B> converter, Supplier<B> targetSupplier)
RealRandomAccessible whose RealRandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RandomAccessibleInterval has no effect.
The method signature is convert2 because many Java
compilers cannot resolve the correct overload when the target
Supplier is passed as a lambda and cause spurious and
seemingly false ambiguous method errors.source - converter - must be stateless when multi-threadingtargetSupplier - RealRandomAccessible whose RealRandomAccesses perform on-the-fly value conversion using the
provided converter.public static final <A,B extends Type<B>> RealRandomAccessible<B> convert(RealRandomAccessible<A> source, Supplier<Converter<? super A,? super B>> converterSupplier, B b)
RealRandomAccessible whose RealRandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RandomAccessibleInterval has no effect.source - converterSupplier - b - RealRandomAccessible whose RealRandomAccesses perform on-the-fly value conversion using the
provided converter.public static final <A,B> RealRandomAccessible<B> convert2(RealRandomAccessible<A> source, Supplier<Converter<? super A,? super B>> converterSupplier, Supplier<B> targetSupplier)
RealRandomAccessible whose RealRandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RandomAccessibleInterval has no effect.
The method signature is convert2 because many Java
compilers cannot resolve the correct overload when the target
Supplier is passed as a lambda and cause spurious and
seemingly false ambiguous method errors.source - converterSupplier - targetSupplier - RealRandomAccessible whose RealRandomAccesses perform on-the-fly value conversion using the
provided converter.public static final WriteConvertedRandomAccessibleInterval<ARGBType,UnsignedByteType> argbChannel(RandomAccessibleInterval<ARGBType> source, int channel)
WriteConvertedRandomAccessibleInterval to one of the
four channels encoded in a RandomAccessibleInterval of
ARGBType. The source is being modified as expected by writing
into the converted channels.source - channel - 0 = alpha, 1 = red, 2 = green, 3 = blueWriteConvertedRandomAccessibleInterval whose
Samplers perform on-the-fly value conversion
into and from one channel of the original ARGBType.public static final WriteConvertedRandomAccessible<ARGBType,UnsignedByteType> argbChannel(RandomAccessible<ARGBType> source, int channel)
WriteConvertedRandomAccessible to one of the four
channels encoded in a RandomAccessible of ARGBType.
The source is being modified as expected by writing into the converted
channels.source - channel - 0 = alpha, 1 = red, 2 = green, 3 = blueWriteConvertedRandomAccessible whose
Samplers perform on-the-fly value conversion
into and from one channel of the original ARGBType.public static final RandomAccessibleInterval<UnsignedByteType> argbChannels(RandomAccessibleInterval<ARGBType> source)
RandomAccessible of an
n-dimensional RandomAccessible that maps the four
channels encoded in ARGBType into a dimension. The source is
being modified as expected by writing into the converted channels.source - RandomAccessibleInterval whose
Samplers perform on-the-fly value conversion
into and from the corresponding channels of the original
ARGBType.public static final RandomAccessibleInterval<UnsignedByteType> argbChannels(RandomAccessibleInterval<ARGBType> source, int... channels)
RandomAccessible of an
n-dimensional RandomAccessible that maps the four
channels encoded in ARGBType into a dimension. The order
of the channels passed as arguments is preserved. The source is being
modified as expected by writing into the converted channels.source - channels - 0 = alpha, 1 = red, 2 = green, 3 = blueRandomAccessibleInterval whose
Samplers perform on-the-fly value conversion
into and from the corresponding channels of the original
ARGBType.public static final RandomAccessible<ARGBType> mergeARGB(RandomAccessible<UnsignedByteType> source, ColorChannelOrder channelOrder)
UnsignedByteType.source - The last dimension of the image must be the color channel.
Views.stack(java.util.List<? extends net.imglib2.RandomAccessibleInterval<T>>) could be used to create the source, if
there is a separate image for each color channel.channelOrder - Order of the color channels.public static final RandomAccessibleInterval<ARGBType> mergeARGB(RandomAccessibleInterval<UnsignedByteType> source, ColorChannelOrder channelOrder)
UnsignedByteType.source - The last dimension of the image must be the color channel.
Views.stack(java.util.List<? extends net.imglib2.RandomAccessibleInterval<T>>) could be used to create the source, if
there is a separate image for each color channel.channelOrder - Order of the color channels.public static final <A extends RealType<A>,B extends Type<B>> RandomAccessibleInterval<B> composeReal(List<RandomAccessibleInterval<A>> components, Converter<RealComposite<A>,B> composer, B targetType)
Interval and same RealType A
RandomAccessibleIntervals into a
RandomAccessibleInterval of some target Type B using a
Converter from Composite of A to B.components - composer - must be stateless when multi-threadingtargetType - public static final <A extends RealType<A>,B> RandomAccessibleInterval<B> composeReal2(List<RandomAccessibleInterval<A>> components, Converter<RealComposite<A>,B> composer, Supplier<B> targetSupplier)
Interval and same RealType A
RandomAccessibleIntervals into a
RandomAccessibleInterval of some target Type B using a
Converter from Composite of A to B.
The method signature is composeReal2 because many Java
compilers cannot resolve the correct overload when the target
Supplier is passed as a lambda and cause spurious and
seemingly false ambiguous method errors.components - composer - must be stateless when multi-threadingtargetSupplier - public static final <A extends NumericType<A>,B extends Type<B>> RandomAccessibleInterval<B> composeNumeric(List<RandomAccessibleInterval<A>> components, Converter<NumericComposite<A>,B> composer, B targetType)
Interval and same NumericType A
RandomAccessibleIntervals into a
RandomAccessibleInterval of some target Type B using a
Converter from Composite of A to B.components - composer - must be stateless when multi-threadingtargetType - public static final <A extends NumericType<A>,B> RandomAccessibleInterval<B> composeNumeric2(List<RandomAccessibleInterval<A>> components, Converter<NumericComposite<A>,B> composer, Supplier<B> targetSupplier)
Interval and same NumericType A
RandomAccessibleIntervals into a
RandomAccessibleInterval of some target Type B using a
Converter from Composite of A to B.
The method signature is composeNumeric2 because many Java
compilers cannot resolve the correct overload when the target
Supplier is passed as a lambda and cause spurious and
seemingly false ambiguous method errors.components - composer - must be stateless when multi-threadingtargetSupplier - public static final <A,B extends Type<B>> RandomAccessibleInterval<B> compose(List<RandomAccessibleInterval<A>> components, Converter<Composite<A>,B> composer, B targetType)
Interval and same Type A
RandomAccessibleIntervals into a
RandomAccessibleInterval of some target Type B using a
Converter from Composite of A to B.components - composer - must be stateless when multi-threadingtargetType - public static final <A,B extends Type<B>> RandomAccessibleInterval<B> compose2(List<RandomAccessibleInterval<A>> components, Converter<Composite<A>,B> composer, Supplier<B> targetSupplier)
Interval and same Type A
RandomAccessibleIntervals into a
RandomAccessibleInterval of some target Type B using a
Converter from Composite of A to B.
The method signature is compose2 because many Java
compilers cannot resolve the correct overload when the target
Supplier is passed as a lambda and cause spurious and
seemingly false ambiguous method errors.components - composer - must be stateless when multi-threadingtargetSupplier - public static final <A,B,C extends Type<C>> RandomAccessible<C> convert(RandomAccessible<A> sourceA, RandomAccessible<B> sourceB, BiConverter<? super A,? super B,? super C> converter, C c)
RandomAccessible whose RandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RandomAccessibleInterval has no effect.sourceA - sourceB - converter - a two variable function into a preallocated output,
e.g. (a, b, c) -> c.set(a.get() + b.get()) must be
stateless when multi-threadingc - RandomAccessible whose RandomAccesses perform on-the-fly value conversion using the
provided converter.public static final <A,B,C> RandomAccessible<C> convert2(RandomAccessible<A> sourceA, RandomAccessible<B> sourceB, BiConverter<? super A,? super B,? super C> converter, Supplier<C> targetSupplier)
RandomAccessible whose RandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RandomAccessibleInterval has no effect.
The method signature is convert2 because many Java
compilers cannot resolve the correct overload when the target
Supplier is passed as a lambda and cause spurious and
seemingly false ambiguous method errors.sourceA - sourceB - converter - a two variable function into a preallocated output,
e.g. (a, b, c) -> c.set(a.get() + b.get()) must be
stateless when multi-threadingtargetSupplier - RandomAccessible whose RandomAccesses perform on-the-fly value conversion using the
provided converter.public static final <A,B,C extends Type<C>> RandomAccessible<C> convert(RandomAccessible<A> sourceA, RandomAccessible<B> sourceB, Supplier<BiConverter<? super A,? super B,? super C>> converterSupplier, C c)
RandomAccessible whose RandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RandomAccessibleInterval has no effect.sourceA - sourceB - converterSupplier - a supplier of a two variable function into a
preallocated output, e.g.
() -> (a, b, c) -> c.set(a.get() + b.get())c - RandomAccessible whose RandomAccesses perform on-the-fly value conversion using the
provided converter.public static final <A,B,C> RandomAccessible<C> convert2(RandomAccessible<A> sourceA, RandomAccessible<B> sourceB, Supplier<BiConverter<? super A,? super B,? super C>> converterSupplier, Supplier<C> targetSupplier)
RandomAccessible whose RandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RandomAccessibleInterval has no effect.
The method signature is convert2 because many Java
compilers cannot resolve the correct overload when the target
Supplier is passed as a lambda and cause spurious and
seemingly false ambiguous method errors.sourceA - sourceB - converterSupplier - a supplier of a two variable function into a
preallocated output, e.g.
() -> (a, b, c) -> c.set(a.get() + b.get())targetSupplier - RandomAccessible whose RandomAccesses perform on-the-fly value conversion using the
provided converter.public static final <A,B,C extends Type<C>> RandomAccessibleInterval<C> convert(RandomAccessibleInterval<A> sourceA, RandomAccessibleInterval<B> sourceB, BiConverter<? super A,? super B,? super C> converter, C c)
RandomAccessibleInterval whose RandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RandomAccessibleInterval has no effect.sourceA - sourceB - converter - a two variable function into a preallocated output,
e.g. (a, b, c) -> c.set(a.get() + b.get()) must be
stateless when multi-threadingc - RandomAccessibleInterval whose
RandomAccesses perform on-the-fly value
conversion using the provided BiConverter.public static final <A,B,C> RandomAccessibleInterval<C> convert2(RandomAccessibleInterval<A> sourceA, RandomAccessibleInterval<B> sourceB, BiConverter<? super A,? super B,? super C> converter, Supplier<C> targetSupplier)
RandomAccessibleInterval whose RandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RandomAccessibleInterval has no effect.
The method signature is convert2 because many Java
compilers cannot resolve the correct overload when the target
Supplier is passed as a lambda and cause spurious and
seemingly false ambiguous method errors.sourceA - sourceB - converter - a two variable function into a preallocated output,
e.g. (a, b, c) -> c.set(a.get() + b.get()) must be
stateless when multi-threadingtargetSupplier - RandomAccessibleInterval whose
RandomAccesses perform on-the-fly value
conversion using the provided BiConverter.public static final <A,B,C extends Type<C>> RandomAccessibleInterval<C> convert(RandomAccessibleInterval<A> sourceA, RandomAccessibleInterval<B> sourceB, Supplier<BiConverter<? super A,? super B,? super C>> converterSupplier, C c)
RandomAccessibleInterval whose RandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RandomAccessibleInterval has no effect.sourceA - sourceB - converterSupplier - a supplier of a two variable function into a
preallocated output, e.g.
() -> (a, b, c) -> c.set(a.get() + b.get())c - RandomAccessibleInterval whose
RandomAccesses perform on-the-fly value
conversion using the provided BiConverter.public static final <A,B,C> RandomAccessibleInterval<C> convert2(RandomAccessibleInterval<A> sourceA, RandomAccessibleInterval<B> sourceB, Supplier<BiConverter<? super A,? super B,? super C>> converterSupplier, Supplier<C> targetSupplier)
RandomAccessibleInterval whose RandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RandomAccessibleInterval has no effect.
The method signature is convert2 because many Java
compilers cannot resolve the correct overload when the target
Supplier is passed as a lambda and cause spurious and
seemingly false ambiguous method errors.sourceA - sourceB - converterSupplier - a supplier of a two variable function into a
preallocated output, e.g.
() -> (a, b, c) -> c.set(a.get() + b.get())targetSupplier - RandomAccessibleInterval whose
RandomAccesses perform on-the-fly value
conversion using the provided BiConverter.public static final <A,B,C extends Type<C>> RandomAccessibleInterval<C> convertRAI(RandomAccessibleInterval<A> sourceA, RandomAccessibleInterval<B> sourceB, BiConverter<? super A,? super B,? super C> converter, C c)
RandomAccessibleInterval whose RandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RandomAccessibleInterval has no effect.
Delegates to convert(RandomAccessibleInterval, Converter, Type).
The different method name avoids situations where the compiler
or a scripting language interpreter picks the undesired method
for an object that implements both RandomAccessibleInterval
and IterableInterval.sourceA - sourceB - converter - a two variable function into a preallocated output,
e.g. (a, b, c) -> c.set(a.get() + b.get()) must be
stateless when multi-threadingc - RandomAccessibleInterval whose
RandomAccesses perform on-the-fly value
conversion using the provided converter.public static final <A,B,C> RandomAccessibleInterval<C> convertRAI2(RandomAccessibleInterval<A> sourceA, RandomAccessibleInterval<B> sourceB, BiConverter<? super A,? super B,? super C> converter, Supplier<C> targetSupplier)
RandomAccessibleInterval whose RandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RandomAccessibleInterval has no effect.
Delegates to convert(RandomAccessibleInterval, Converter, Type).
The different method name avoids situations where the compiler
or a scripting language interpreter picks the undesired method
for an object that implements both RandomAccessibleInterval
and IterableInterval.
The method signature is convertRAI2 because many Java
compilers cannot resolve the correct overload when the target
Supplier is passed as a lambda and cause spurious and
seemingly false ambiguous method errors.sourceA - sourceB - converter - a two variable function into a preallocated output,
e.g. (a, b, c) -> c.set(a.get() + b.get()) must be
stateless when multi-threadingtargetSupplier - RandomAccessibleInterval whose
RandomAccesses perform on-the-fly value
conversion using the provided converter.public static final <A,B,C extends Type<C>> RandomAccessibleInterval<C> convertRAI(RandomAccessibleInterval<A> sourceA, RandomAccessibleInterval<B> sourceB, Supplier<BiConverter<? super A,? super B,? super C>> converterSupplier, C c)
RandomAccessibleInterval whose RandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RandomAccessibleInterval has no effect.
Delegates to convert(RandomAccessibleInterval, Converter, Type).
The different method name avoids situations where the compiler
or a scripting language interpreter picks the undesired method
for an object that implements both RandomAccessibleInterval
and IterableInterval.sourceA - sourceB - converterSupplier - s aupplier of a two variable function into a
preallocated output, e.g.
() -> (a, b, c) -> c.set(a.get() + b.get())c - RandomAccessibleInterval whose
RandomAccesses perform on-the-fly value
conversion using the provided converter.public static final <A,B,C> RandomAccessibleInterval<C> convertRAI2(RandomAccessibleInterval<A> sourceA, RandomAccessibleInterval<B> sourceB, Supplier<BiConverter<? super A,? super B,? super C>> converterSupplier, Supplier<C> targetSupplier)
RandomAccessibleInterval whose RandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RandomAccessibleInterval has no effect.
Delegates to convert(RandomAccessibleInterval, Converter, Type).
The different method name avoids situations where the compiler
or a scripting language interpreter picks the undesired method
for an object that implements both RandomAccessibleInterval
and IterableInterval.
The method signature is convertRAI2 because many Java
compilers cannot resolve the correct overload when the target
Supplier is passed as a lambda and cause spurious and
seemingly false ambiguous method errors.sourceA - sourceB - converterSupplier - s aupplier of a two variable function into a
preallocated output, e.g.
() -> (a, b, c) -> c.set(a.get() + b.get())targetSupplier - RandomAccessibleInterval whose
RandomAccesses perform on-the-fly value
conversion using the provided converter.public static final <A,B,C extends Type<C>> IterableInterval<C> convert(IterableInterval<A> sourceA, IterableInterval<B> sourceB, BiConverter<? super A,? super B,? super C> converter, C c)
IterableInterval whose Cursors
Sampler.get() you a converted sample. Conversion is done
on-the-fly when reading values. Writing to the converted
IterableInterval has no effect.sourceA - sourceB - converter - a two variable function into a preallocated output,
e.g. (a, b, c) -> c.set(a.get() + b.get()) must be
stateless when multi-threadingc - IterableInterval whose Cursors
perform on-the-fly value conversion using the provided converter.public static final <A,B,C> IterableInterval<C> convert2(IterableInterval<A> sourceA, IterableInterval<B> sourceB, BiConverter<? super A,? super B,? super C> converter, Supplier<C> targetSupplier)
IterableInterval whose Cursors
Sampler.get() you a converted sample. Conversion is done
on-the-fly when reading values. Writing to the converted
IterableInterval has no effect.
The method signature is convert2 because many Java
compilers cannot resolve the correct overload when the target
Supplier is passed as a lambda and cause spurious and
seemingly false ambiguous method errors.sourceA - sourceB - converter - a two variable function into a preallocated output,
e.g. (a, b, c) -> c.set(a.get() + b.get()) must be
stateless when multi-threadingtargetSupplier - IterableInterval whose Cursors
perform on-the-fly value conversion using the provided converter.public static final <A,B,C extends Type<C>> IterableInterval<C> convert(IterableInterval<A> sourceA, IterableInterval<B> sourceB, Supplier<BiConverter<? super A,? super B,? super C>> converterSupplier, C c)
IterableInterval whose Cursors
Sampler.get() you a converted sample. Conversion is done
on-the-fly when reading values. Writing to the converted
IterableInterval has no effect.sourceA - sourceB - converterSupplier - supplies a two variable function into a
preallocated output, e.g.
() -> (a, b, c) -> c.set(a.get() + b.get())c - IterableInterval whose Cursors
perform on-the-fly value conversion using the provided converter.public static final <A,B,C> IterableInterval<C> convert2(IterableInterval<A> sourceA, IterableInterval<B> sourceB, Supplier<BiConverter<? super A,? super B,? super C>> converterSupplier, Supplier<C> targetSupplier)
IterableInterval whose Cursors
Sampler.get() you a converted sample. Conversion is done
on-the-fly when reading values. Writing to the converted
IterableInterval has no effect.
The method signature is convert2 because many Java
compilers cannot resolve the correct overload when the target
Supplier is passed as a lambda and cause spurious and
seemingly false ambiguous method errors.sourceA - sourceB - converterSupplier - supplies a two variable function into a
preallocated output, e.g.
() -> (a, b, c) -> c.set(a.get() + b.get())targetSupplier - IterableInterval whose Cursors
perform on-the-fly value conversion using the provided converter.public static final <A,B,C extends Type<C>> IterableRealInterval<C> convert(IterableRealInterval<A> sourceA, IterableRealInterval<B> sourceB, BiConverter<? super A,? super B,? super C> converter, C c)
IterableRealInterval whose RealCursors
Sampler.get() you a converted sample. Conversion is done
on-the-fly when reading values. Writing to the converted
IterableRealInterval has no effect.sourceA - sourceB - converter - a two variable function into a preallocated output,
e.g. (a, b, c) -> c.set(a.get() + b.get()) must be
stateless when multi-threadingc - IterableRealInterval whose RealCursors
perform on-the-fly value conversion using the provided converter.public static final <A,B,C> IterableRealInterval<C> convert2(IterableRealInterval<A> sourceA, IterableRealInterval<B> sourceB, BiConverter<? super A,? super B,? super C> converter, Supplier<C> targetSupplier)
IterableRealInterval whose RealCursors
Sampler.get() you a converted sample. Conversion is done
on-the-fly when reading values. Writing to the converted
IterableRealInterval has no effect.
The method signature is convert2 because many Java
compilers cannot resolve the correct overload when the target
Supplier is passed as a lambda and cause spurious and
seemingly false ambiguous method errors.sourceA - sourceB - converter - a two variable function into a preallocated output,
e.g. (a, b, c) -> c.set(a.get() + b.get()) must be
stateless when multi-threadingtargetSupplier - IterableRealInterval whose RealCursors
perform on-the-fly value conversion using the provided converter.public static final <A,B,C extends Type<C>> IterableRealInterval<C> convert(IterableRealInterval<A> sourceA, IterableRealInterval<B> sourceB, Supplier<BiConverter<? super A,? super B,? super C>> converterSupplier, C c)
IterableRealInterval whose RealCursors
Sampler.get() you a converted sample. Conversion is done
on-the-fly when reading values. Writing to the converted
IterableInterval has no effect.sourceA - sourceB - converterSupplier - supplies a two variable function into a
preallocated output, e.g.
() -> (a, b, c) -> c.set(a.get() + b.get())c - IterableRealInterval whose RealCursors
perform on-the-fly value conversion using the provided converter.public static final <A,B,C> IterableRealInterval<C> convert2(IterableRealInterval<A> sourceA, IterableRealInterval<B> sourceB, Supplier<BiConverter<? super A,? super B,? super C>> converterSupplier, Supplier<C> targetSupplier)
IterableRealInterval whose RealCursors
Sampler.get() you a converted sample. Conversion is done
on-the-fly when reading values. Writing to the converted
IterableInterval has no effect.
The method signature is convert2 because many Java
compilers cannot resolve the correct overload when the target
Supplier is passed as a lambda and cause spurious and
seemingly false ambiguous method errors.sourceA - sourceB - converterSupplier - supplies a two variable function into a
preallocated output, e.g.
() -> (a, b, c) -> c.set(a.get() + b.get())targetSupplier - IterableRealInterval whose RealCursors
perform on-the-fly value conversion using the provided converter.public static final <A,B,C extends Type<C>> RealRandomAccessibleRealInterval<C> convert(RealRandomAccessibleRealInterval<A> sourceA, RealRandomAccessibleRealInterval<B> sourceB, BiConverter<? super A,? super B,? super C> converter, C c)
RealRandomAccessibleRealInterval whose RealRandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RealRandomAccessibleRealInterval has no effect.sourceA - sourceB - converter - a two variable function into a preallocated output,
e.g. (a, b, c) -> c.set(a.get() + b.get()) must be
stateless when multi-threadingc - RealRandomAccessibleRealInterval whose
RealRandomAccesses perform on-the-fly value
conversion using the provided converter.public static final <A,B,C> RealRandomAccessibleRealInterval<C> convert2(RealRandomAccessibleRealInterval<A> sourceA, RealRandomAccessibleRealInterval<B> sourceB, BiConverter<? super A,? super B,? super C> converter, Supplier<C> targetSupplier)
RealRandomAccessibleRealInterval whose RealRandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RealRandomAccessibleRealInterval has no effect.
The method signature is convert2 because many Java
compilers cannot resolve the correct overload when the target
Supplier is passed as a lambda and cause spurious and
seemingly false ambiguous method errors.sourceA - sourceB - converter - a two variable function into a preallocated output,
e.g. (a, b, c) -> c.set(a.get() + b.get()) must be
stateless when multi-threadingtargetSupplier - RealRandomAccessibleRealInterval whose
RealRandomAccesses perform on-the-fly value
conversion using the provided converter.public static final <A,B,C extends Type<C>> RealRandomAccessibleRealInterval<C> convert(RealRandomAccessibleRealInterval<A> sourceA, RealRandomAccessibleRealInterval<B> sourceB, Supplier<BiConverter<? super A,? super B,? super C>> converterSupplier, C c)
RealRandomAccessibleRealInterval whose RealRandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RealRandomAccessibleRealInterval has no effect.sourceA - sourceB - converterSupplier - a supplier of a two variable function into a
preallocated output, e.g.
() -> (a, b, c) -> c.set(a.get() + b.get())c - RealRandomAccessibleRealInterval whose
RealRandomAccesses perform on-the-fly value
conversion using the provided converter.public static final <A,B,C> RealRandomAccessibleRealInterval<C> convert2(RealRandomAccessibleRealInterval<A> sourceA, RealRandomAccessibleRealInterval<B> sourceB, Supplier<BiConverter<? super A,? super B,? super C>> converterSupplier, Supplier<C> targetSupplier)
RealRandomAccessibleRealInterval whose RealRandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RealRandomAccessibleRealInterval has no effect.
The method signature is convert2 because many Java
compilers cannot resolve the correct overload when the target
Supplier is passed as a lambda and cause spurious and
seemingly false ambiguous method errors.sourceA - sourceB - converterSupplier - a supplier of a two variable function into a
preallocated output, e.g.
() -> (a, b, c) -> c.set(a.get() + b.get())targetSupplier - RealRandomAccessibleRealInterval whose
RealRandomAccesses perform on-the-fly value
conversion using the provided converter.public static final <A,B,C extends Type<C>> RealRandomAccessible<C> convert(RealRandomAccessible<A> sourceA, RealRandomAccessible<B> sourceB, BiConverter<? super A,? super B,? super C> converter, C c)
RealRandomAccessible whose RealRandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RandomAccessibleInterval has no effect.sourceA - sourceB - converter - a two variable function into a preallocated output,
e.g. (a, b, c) -> c.set(a.get() + b.get()) must be
stateless when multi-threadingc - RealRandomAccessible whose RealRandomAccesses perform on-the-fly value conversion using the
provided converter.public static final <A,B,C> RealRandomAccessible<C> convert2(RealRandomAccessible<A> sourceA, RealRandomAccessible<B> sourceB, BiConverter<? super A,? super B,? super C> converter, Supplier<C> targetSupplier)
RealRandomAccessible whose RealRandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RandomAccessibleInterval has no effect.
The method signature is convert2 because many Java
compilers cannot resolve the correct overload when the target
Supplier is passed as a lambda and cause spurious and
seemingly false ambiguous method errors.sourceA - sourceB - converter - a two variable function into a preallocated output,
e.g. (a, b, c) -> c.set(a.get() + b.get()) must be
stateless when multi-threadingtargetSupplier - RealRandomAccessible whose RealRandomAccesses perform on-the-fly value conversion using the
provided converter.public static final <A,B,C extends Type<C>> RealRandomAccessible<C> convert(RealRandomAccessible<A> sourceA, RealRandomAccessible<B> sourceB, Supplier<BiConverter<? super A,? super B,? super C>> converterSupplier, C c)
RealRandomAccessible whose RealRandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RandomAccessibleInterval has no effect.sourceA - sourceB - converterSupplier - a supplier of a two variable function into a
preallocated output, e.g.
() -> (a, b, c) -> c.set(a.get() + b.get())c - RealRandomAccessible whose RealRandomAccesses perform on-the-fly value conversion using the
provided converter.public static final <A,B,C> RealRandomAccessible<C> convert2(RealRandomAccessible<A> sourceA, RealRandomAccessible<B> sourceB, Supplier<BiConverter<? super A,? super B,? super C>> converterSupplier, Supplier<C> targetSupplier)
RealRandomAccessible whose RealRandomAccesses Sampler.get() you a converted sample.
Conversion is done on-the-fly when reading values. Writing to the
converted RandomAccessibleInterval has no effect.
The method signature is convert2 because many Java
compilers cannot resolve the correct overload when the target
Supplier is passed as a lambda and cause spurious and
seemingly false ambiguous method errors.sourceA - sourceB - converterSupplier - a supplier of a two variable function into a
preallocated output, e.g.
() -> (a, b, c) -> c.set(a.get() + b.get())targetSupplier - RealRandomAccessible whose RealRandomAccesses perform on-the-fly value conversion using the
provided converter.Copyright © 2009–2023 ImgLib2. All rights reserved.