Package | Description |
---|---|
org.anchoranalysis.feature.session |
A defined context in which one or more features are provided inputs and produce results.
|
org.anchoranalysis.feature.session.replace |
Strategies on whether to reuse or invalidate a feature-input's cache.
|
org.anchoranalysis.image.feature.calculator.merged |
A particular implementation of
FeatureCalculatorMulti for feature-calculations based
upon pairs of image-objects. |
Modifier and Type | Method and Description |
---|---|
static <T extends FeatureInput> |
FeatureSession.with(FeatureList<T> features,
FeatureInitialization initialization,
Optional<SharedFeatures> sharedFeatures,
Logger logger,
BoundReplaceStrategy<T,? extends ReplaceStrategy<T>> replaceStrategy)
Starts a feature-session for a list of features, with particular initialization, and a
replaceStrategy . |
Modifier and Type | Class and Description |
---|---|
class |
BoundReplaceStrategy<T extends FeatureInput,S extends ReplaceStrategy<T>>
Attaches a replacement-strategy to a session lazily.
|
Modifier and Type | Class and Description |
---|---|
class |
AlwaysNew<T extends FeatureInput>
Always create a new
SessionInputSequential with no reuse or caching between calls. |
class |
CacheAndReuseStrategy<T extends FeatureInput>
Reuse an existing
FeatureCalculationInput , as stored in a least-recently used cache, and
without invalidating it. |
class |
ReuseSingletonStrategy<T extends FeatureInput>
Always re-use an existing
SessionInputSequential , invalidating it each time a new call
occurs. |
Modifier and Type | Method and Description |
---|---|
ReplaceStrategy<T> |
BoundReplaceStrategy.createOrReuse(FeatureList<T> features,
FeatureInitialization initialization,
SharedFeatures sharedFeatures,
Logger logger)
Creates a
ReplaceStrategy for a particular CacheCreator , or reuses any
previously-created ReplaceStrategy if it exists. |
Modifier and Type | Method and Description |
---|---|
FeatureCalculatorMulti<FeatureInputStack> |
MergedPairsFeatures.createCalculator(CreateCalculatorHelper calculatorCreator,
ImageInitialization initialization,
BoundReplaceStrategy<FeatureInputStack,? extends ReplaceStrategy<FeatureInputStack>> cachingStrategy) |
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.