Package | Description |
---|---|
org.anchoranalysis.core.cache |
Caching (memozing) calls to a method so an operation does not need to be repeated.
|
org.anchoranalysis.core.functional |
Utilities and interfaces for applying functional-programming.
|
org.anchoranalysis.core.time |
Recording the execution-time of operations for profiling.
|
org.anchoranalysis.image.io.stack.input |
Non-bean classes for reading a
Stack from the
filesystem. |
org.anchoranalysis.plugin.image.feature.bean.object.single |
Implementations of
FeatureSingleObject . |
org.anchoranalysis.plugin.image.feature.bean.object.single.border |
Implementations of
FeatureSingleObject that determine if an
object lies at the border of an image. |
org.anchoranalysis.plugin.image.feature.bean.object.single.energy |
Implementations of
FeatureSingleObject that reference a
particular Channel in the associated EnergyStack . |
org.anchoranalysis.plugin.image.task.feature |
Non-bean classes pertaining to
Feature s as used in tasks. |
org.anchoranalysis.plugin.image.task.slice |
Non-bean classes pertaining to combining stacks into a single stack.
|
org.anchoranalysis.plugin.points.calculate.ellipsoid |
CalculationPart related to fitting
ellipsoids to points by least-squares. |
Modifier and Type | Class and Description |
---|---|
class |
CachedSupplier<T,E extends Exception>
Memoizes (caches) a
CheckedSupplier . |
Modifier and Type | Method and Description |
---|---|
static <T,E extends Exception> |
CachedSupplier.cacheChecked(CheckedSupplier<T,E> suppplier)
Creates a cached-version of a
CheckedSupplier . |
protected <E extends Exception> |
CachedSupplierBase.call(CheckedSupplier<T,E> supplier)
Gets the value supplied by
supplier via the cache if it exists, or otherwise via the
supplier. |
Modifier and Type | Method and Description |
---|---|
static <T,E extends Exception> |
OptionalFactory.createChecked(boolean flag,
CheckedSupplier<T,E> supplier)
Like
OptionalFactory.create(boolean, T) but accepts a supplier that throws a checked/exception. |
static <T,E extends Exception> |
OptionalUtilities.orElseGet(Optional<T> optional,
CheckedSupplier<T,E> supplier)
Like
Optional.orElseGet(java.util.function.Supplier<? extends T>) but tolerates an exception in the supplier function, which is
immediately thrown. |
static <T,E extends Exception> |
OptionalUtilities.orElseGetFlat(Optional<T> optional,
CheckedSupplier<Optional<T>,E>... suppliers)
Like
OptionalUtilities.orElseGet(java.util.Optional<T>, org.anchoranalysis.core.functional.checked.CheckedSupplier<T, E>) but returns a Optional and can chain many alternatives. |
static <T,E extends Exception> |
OptionalUtilities.orFlatSupplier(CheckedSupplier<Optional<T>,E>... optional)
Like
OptionalUtilities.orFlatSupplier(Iterable) but allows Optional s to be specified as
variable-arguments. |
static <T,E extends Exception> |
FunctionalIterate.repeatAsStream(int numberTimes,
Class<? extends E> throwableClass,
CheckedSupplier<T,E> supplier)
Repeats an operation a number of times, to form a
Stream . |
Modifier and Type | Method and Description |
---|---|
static <T,E extends Exception> |
OptionalUtilities.orFlatSupplier(Iterable<CheckedSupplier<Optional<T>,E>> optionals)
The first optional if it's present, or the second, or the third etc.
|
Modifier and Type | Method and Description |
---|---|
<T,E extends Exception> |
ExecutionTimeRecorder.recordExecutionTime(String operationIdentifier,
CheckedSupplier<T,E> operation)
Executes an
operation while recording the execution-time - with a return type. |
Constructor and Description |
---|
ImageMetadataInput(NamedFile file,
CheckedSupplier<ImageMetadata,ImageIOException> metadata)
Create for a particular file and metadata.
|
Modifier and Type | Method and Description |
---|---|
protected abstract double |
OutlineKernelBase.calculateWithParameters(ObjectMask object,
KernelApplicationParameters parameters,
CheckedSupplier<EnergyStack,FeatureCalculationException> energyStack) |
Modifier and Type | Method and Description |
---|---|
protected double |
NumberVoxelsAtBorder.calculateWithParameters(ObjectMask object,
KernelApplicationParameters parameters,
CheckedSupplier<EnergyStack,FeatureCalculationException> energyStack) |
Modifier and Type | Method and Description |
---|---|
protected double |
NumberNeighboringVoxels.calculateWithParameters(ObjectMask object,
KernelApplicationParameters parameters,
CheckedSupplier<EnergyStack,FeatureCalculationException> energyStack) |
Modifier and Type | Method and Description |
---|---|
CheckedSupplier<ResultsVector,OperationFailedException> |
ResultsVectorWithThumbnail.getResultsVector() |
CheckedSupplier<Optional<DisplayStack>,OperationFailedException> |
ResultsVectorWithThumbnail.getThumbnail() |
Modifier and Type | Method and Description |
---|---|
void |
FeatureResultsAndThumbnails.add(CheckedSupplier<LabelledResultsVector,OperationFailedException> resultToAdd,
CheckedSupplier<Optional<DisplayStack>,OperationFailedException> thumbnail)
Adds results, together with a thumbnail.
|
void |
FeatureResultsAndThumbnails.add(CheckedSupplier<LabelledResultsVector,OperationFailedException> resultToAdd,
CheckedSupplier<Optional<DisplayStack>,OperationFailedException> thumbnail)
Adds results, together with a thumbnail.
|
Constructor and Description |
---|
ResultsVectorWithThumbnail(CheckedSupplier<ResultsVector,OperationFailedException> resultsVector) |
ResultsVectorWithThumbnail(CheckedSupplier<ResultsVector,OperationFailedException> resultsVector,
CheckedSupplier<Optional<DisplayStack>,OperationFailedException> thumbnail) |
ResultsVectorWithThumbnail(CheckedSupplier<ResultsVector,OperationFailedException> resultsVector,
CheckedSupplier<Optional<DisplayStack>,OperationFailedException> thumbnail) |
Modifier and Type | Method and Description |
---|---|
void |
MontageSharedState.copyStackInto(CheckedSupplier<RGBStack,InputReadFailedException> source,
String identifier,
Path path,
Optional<String> label)
Copies a
Stack into a BoundingBox in the combined image, resizing if
necessary. |
Modifier and Type | Method and Description |
---|---|
static Ellipsoid |
EllipsoidFactory.createMarkEllipsoidLeastSquares(CheckedSupplier<List<Point3i>,CreateException> opPoints,
Dimensions dimensions,
boolean suppressZCovariance,
double shell) |
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.