Package | Description |
---|---|
org.anchoranalysis.core.functional |
Utilities and interfaces for applying functional-programming.
|
org.anchoranalysis.image.core.stack |
Defines the key data object,
Stack , and related
classes. |
org.anchoranalysis.image.voxel.object |
The fundamental data class that is an
ObjectMask
and related structures. |
Modifier and Type | Method and Description |
---|---|
static <T,U,V,E extends Exception> |
OptionalUtilities.mapBoth(Optional<U> optional1,
Optional<V> optional2,
CheckedBiFunction<U,V,T,E> mapFunction)
Mapping only occurs if both
Optional s are non-empty (equivalent to a logical
and on the optionals) |
Modifier and Type | Method and Description |
---|---|
Stack |
Stack.mapChannelWithIndex(CheckedBiFunction<Channel,Integer,Channel,OperationFailedException> mapping)
Produces a new stack with a particular mapping applied to each channel (with an index of the
channel also available).
|
Modifier and Type | Method and Description |
---|---|
static <T,E extends Exception> |
ObjectCollectionFactory.filterAndMapWithIndexFrom(List<T> list,
java.util.function.Predicate<T> predicate,
Class<? extends E> throwableClass,
CheckedBiFunction<T,Integer,ObjectMask,E> mapFunctionWithIndex)
Creates a new collection by filtering a list and then mapping from it to
ObjectMask . |
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.