Uses of Interface
org.anchoranalysis.feature.input.FeatureInput
Packages that use FeatureInput
Package
Description
Beans pertaining to feature-calculation.
A feature-list (custom list type for features) and associated providers.
Features that are sufficiently generic to work on any input-type.
Provider of a single feature.
Defines base class
FeatureResults
together with
some implementations.Sub-feature units of calculation that can be cached.
Interfaces like
FeatureCalculator
but bound to
particular features.Classes to cache feature-results or parts of feature-results that occur repeatedly among features
or across calculations of the same feature.
Equivalent classes to
org.anchoranalysis.feature.calculate.part
after having been
resolved against a cache.A sub-part of the calculation of a feature, that can be cached, and reused by other features.
Initialization parameters used for beans in
org.anchoranalysis.feature.bean
.Base classes providing inputs to feature calculations.
Data objects for the names of features.
A defined context in which one or more features are provided inputs and produce results.
Creates a
FeatureCalculationCache
to use
during feature-calculations.Strategies to determine which child-cache (among hierarchy) to employ for a particular feature
calculation.
Base classes for methods to calculate results from features.
Strategies on whether to reuse or invalidate a feature-input's cache.
Features shared for referencing among calculations.
A collection of named-
Feature
s.Beans pertaining to feature definition and calculation.
Beans that define context (which feature, which energy-stack) for evaluating feature-inputs.
Features that operate on a
ObjectCollection
.Features that operate on a pair of
ObjectMask
s.Features that operate on a single
ObjectMask
.Implementations of
FeatureCalculatorMulti
related to images, especially to create tables of feature-calculations.Image-related implementations of
FeatureInput
.Criteria for adding edges during optimization of marked-point-processes.
Implementations and helper classes for calculating energy during an energy-minimization
optimization scheme.
Features calculated on a
Mark
.Features calculated on a
org.anchoranalysis.mpp.feature.bean.mark.collection
.Factorized form of storing the energy during an energy-minimization optimization scheme.
Inputs to mark-point-processes related
Feature
s.Features that are calculated from
Dimensions
.Implementations of
FeatureListProvider
that derive
new features with permuted property-values.Features from combinations of
ObjectMask
s.Beans involving
SharedObjects
.Beans involving
SharedObjects
and
ObjectCollection
.Implementations of
CalculationPart
as used by
features elsewhere in this package.Tasks pertaining to
Feature
s.Source of rows in feature-tables with
FeatureSource
and derived classes.Non-bean classes pertaining to
Feature
s as used in tasks.Non-beans for calculating
Feature
s.Features that combine or convert other features in a generic way.
Arithmetic involving features.
Conditional operations involving features.
Operations that extract a single value from a list of features.
Features that compare against a range of values.
Replaces particular values if they are returned from a feature.
Converts feature values based upon a statistical measure of distribution.
Converting to/from physical units.
Testing utilities and fixtures with no greater downstream dependency than anchor-feature.
Testing utilities and fixtures with no greater downstream dependency than
anchor-image-feature or anchor-mpp.
A mocked feature internally using a feature-calculation.
-
Uses of FeatureInput in org.anchoranalysis.feature.bean
Classes in org.anchoranalysis.feature.bean with type parameters of type FeatureInputModifier and TypeClassDescriptionclass
Feature<T extends FeatureInput>
Base class for a measurement that calculates a result (double) given input parameters.Methods in org.anchoranalysis.feature.bean that return types with arguments of type FeatureInputModifier and TypeMethodDescriptionfinal FeatureList
<FeatureInput> Feature.createListChildFeatures()
Returns a list of Features that exist as bean-properties of this feature, either directly or in lists.abstract Class
<? extends FeatureInput> Feature.inputType()
The class corresponding to feature input-type.Method parameters in org.anchoranalysis.feature.bean with type arguments of type FeatureInputModifier and TypeMethodDescriptionprotected void
Feature.assignTo
(Feature<FeatureInput> target) Copies fields in this (base) class totarget
. -
Uses of FeatureInput in org.anchoranalysis.feature.bean.list
Classes in org.anchoranalysis.feature.bean.list with type parameters of type FeatureInputModifier and TypeClassDescriptionclass
Define<T extends FeatureInput>
Specifies a list of features directly without assigning any custom-naming.class
DefinedNamed<T extends FeatureInput>
Specifies features via a list of names and associated with features.class
DefineSingle<T extends FeatureInput>
Specifies a single feature directly without assigning any custom-naming.class
FeatureList<T extends FeatureInput>
A list of features with the same input-type.class
FeatureListProvider<T extends FeatureInput>
Provides a list ofFeature
s with identical input-type.class
ReferencingFeatureListProvider<T extends FeatureInput>
A base class for implementations ofFeatureListProvider
that may reference features created elsewhere.Methods in org.anchoranalysis.feature.bean.list with type parameters of type FeatureInputModifier and TypeMethodDescriptionstatic <T extends FeatureInput>
FeatureList<T> FeatureListFactory.empty()
Creates an empty list of features<S extends FeatureInput,
E extends Exception>
FeatureList<S> FeatureList.filterAndMap
(Predicate<Feature<T>> predicate, CheckedFunction<Feature<T>, Feature<S>, E> mappingFunction) static <S,
T extends FeatureInput, E extends Exception>
FeatureList<T> FeatureListFactory.flatMapFromOptional
(Iterable<S> iterable, CheckedFunction<S, Optional<FeatureList<T>>, E> flatMapFunc) Creates a new feature-list by flat-mapping an iterable to an optional featurestatic <T extends FeatureInput>
FeatureList<T> Creates a list for one or more featuresstatic <T extends FeatureInput>
FeatureList<T> FeatureListFactory.fromIterable
(Iterable<Feature<T>> iterable) Creates a list of features from an iterablestatic <T extends FeatureInput>
FeatureList<T> FeatureListFactory.fromProvider
(Provider<Feature<T>> featureProvider) Creates a list for a single-feature created from a providerstatic <T extends FeatureInput>
FeatureList<T> FeatureListFactory.fromProviders
(Collection<FeatureProvider<T>> providers) Creates a list of features from a collection of feature-providersstatic <T extends FeatureInput>
FeatureList<T> FeatureListFactory.fromStream
(Stream<Feature<T>> stream) Creates a list of features from a stream<S extends FeatureInput,
E extends Exception>
FeatureList<S> FeatureList.map
(CheckedFunction<Feature<T>, Feature<S>, E> mapFunc) Creates a new feature-list where each feature is the result of applying a map-function to an existing feature.static <S,
T extends FeatureInput, E extends Exception>
FeatureList<T> FeatureListFactory.mapFrom
(Iterable<S> iterable, CheckedFunction<S, Feature<T>, E> mapFunc) static <S,
T extends FeatureInput, E extends Exception>
FeatureList<T> FeatureListFactory.mapFromFiltered
(Iterable<S> iterable, Predicate<S> predicate, CheckedFunction<S, Feature<T>, E> mapFunc) Creates a new feature-list by filtering an iterable and then mapping it to a featurestatic <T extends FeatureInput>
FeatureList<T> FeatureListFactory.mapFromRange
(int startInclusive, int endExclusive, IntFunction<Feature<T>> mapFunc) Creates a new feature-list by mapping integers (from a range) each to a featurestatic <T extends FeatureInput,
E extends Exception>
FeatureList<T> FeatureListFactory.mapFromRangeOptional
(int startInclusive, int endExclusive, Class<? extends Exception> throwableClass, CheckedIntFunction<Optional<Feature<T>>, E> mapFunc) Creates a new feature-list by mapping integers (from a range) each to an optional featurestatic <T extends FeatureInput>
FeatureList<T> FeatureListFactory.wrapDuplicate
(List<Feature<T>> list) Wraps an existing list, WITHOUT reusing the list in the internals of theFeatureList
i.e. create a new list internallystatic <T extends FeatureInput>
FeatureList<T> Wraps an existing list, reusing the list in the internals of theFeatureList
Methods in org.anchoranalysis.feature.bean.list that return types with arguments of type FeatureInputModifier and TypeMethodDescriptionPrependName.get()
PrependName.getItem()
Provides the features and names before any prepending.Method parameters in org.anchoranalysis.feature.bean.list with type arguments of type FeatureInputModifier and TypeMethodDescriptionvoid
PrependName.setItem
(FeatureListProvider<FeatureInput> item) Provides the features and names before any prepending. -
Uses of FeatureInput in org.anchoranalysis.feature.bean.operator
Classes in org.anchoranalysis.feature.bean.operator with type parameters of type FeatureInputModifier and TypeClassDescriptionclass
Constant<T extends FeatureInput>
A constant value that is entirely invariant to the feature-input.class
FeatureBinary<T extends FeatureInput>
A base class for aFeature
that is a binary-function of the results from two other features.class
FeatureFromList<T extends FeatureInput>
A base class for aFeature
that is a function of the results from a list of other features.class
FeatureGeneric<T extends FeatureInput>
Base class for features that broadly accept any type of feature-input.class
FeatureUnary<T extends FeatureInput,
S extends FeatureInput> A feature that contains another feature as a bean-parameter.class
FeatureUnary<T extends FeatureInput,
S extends FeatureInput> A feature that contains another feature as a bean-parameter.class
FeatureUnaryGeneric<T extends FeatureInput>
AFeatureUnary
that accepts anyFeatureInput
irrespective of type.class
Reference<T extends FeatureInput>
Uses another feature to calculate the value.class
Sum<T extends FeatureInput>
Sums the results after calculating a list ofFeature
s.Methods in org.anchoranalysis.feature.bean.operator that return types with arguments of type FeatureInputModifier and TypeMethodDescriptionClass
<? extends FeatureInput> FeatureBinary.inputType()
Class
<? extends FeatureInput> FeatureFromList.inputType()
Class
<? extends FeatureInput> FeatureGeneric.inputType()
Class
<? extends FeatureInput> FeatureUnary.inputType()
-
Uses of FeatureInput in org.anchoranalysis.feature.bean.provider
Classes in org.anchoranalysis.feature.bean.provider with type parameters of type FeatureInputModifier and TypeClassDescriptionclass
FeatureProvider<T extends FeatureInput>
Provides a singleFeature
.class
FeatureProviderDefine<T extends FeatureInput>
Defines a singleFeature
to provide via a bean property.Methods in org.anchoranalysis.feature.bean.provider that return types with arguments of type FeatureInput -
Uses of FeatureInput in org.anchoranalysis.feature.bean.results
Methods in org.anchoranalysis.feature.bean.results that return types with arguments of type FeatureInput -
Uses of FeatureInput in org.anchoranalysis.feature.calculate
Classes in org.anchoranalysis.feature.calculate with type parameters of type FeatureInputModifier and TypeInterfaceDescriptioninterface
FeatureCalculationInput<T extends FeatureInput>
Gives aFeatureInput
the necessary context for feature-calculation, including associating it with a cache.interface
FeatureCalculator<T extends FeatureInput>
CalculatesFeatureCalculationInput
when passed a particularFeature
and correspondingFeatureCalculationInput
. -
Uses of FeatureInput in org.anchoranalysis.feature.calculate.bound
Classes in org.anchoranalysis.feature.calculate.bound with type parameters of type FeatureInputModifier and TypeInterfaceDescriptioninterface
FeatureCalculatorMulti<T extends FeatureInput>
Like aFeatureCalculator
but is permanently associated with one or moreFeature
s.class
FeatureCalculatorMultiChangeInput<T extends FeatureInput>
AFeatureCalculatorMulti
but changes the input before calculation.interface
FeatureCalculatorSingle<T extends FeatureInput>
Like aFeatureCalculator
but is permanently associated with a singleFeature
.class
FeatureCalculatorSingleChangeInput<T extends FeatureInput>
AFeatureCalculatorSingle
but changes the input before calculation.class
FeatureCalculatorSingleFromMulti<T extends FeatureInput>
Exposes aFeatureCalculatorMulti
as aFeatureCalculatorSingle
. -
Uses of FeatureInput in org.anchoranalysis.feature.calculate.cache
Classes in org.anchoranalysis.feature.calculate.cache with type parameters of type FeatureInputModifier and TypeInterfaceDescriptioninterface
CalculateForChild<T extends FeatureInput>
Performs calculations using child-caches instead of the main cacheinterface
FeatureCalculationCache<T extends FeatureInput>
A context in which to calculate features while caching certain duplicated internal calculations among the features.interface
FeatureSymbolCalculator<T extends FeatureInput>
Resolves and calculates a feature by a symbol.Methods in org.anchoranalysis.feature.calculate.cache with type parameters of type FeatureInputModifier and TypeMethodDescription<S extends FeatureInput>
doubleCalculateForChild.calculate
(Feature<S> feature, CalculationPart<S, T> calculation, ChildCacheName childCacheName) Calculates a feature in a child-cache using a new input created from aCalculationPart
.<S extends FeatureInput>
doubleCalculateForChild.calculate
(Feature<S> feature, S input, ChildCacheName childCacheName) Calculates a feature in a child-cache.<S extends FeatureInput,
U>
UCalculateForChild.calculate
(ChildCacheName childCacheName, S input, Function<CalculationPartResolver<S>, ResolvedPart<U, S>> resolver) Calculates aCalculationPart
in a child-cache.<V extends FeatureInput>
FeatureCalculationCache<V> FeatureCalculationCache.childCacheFor
(ChildCacheName childName, Class<? extends FeatureInput> inputType, CacheCreator cacheCreator) Gets/creates a child-cache for a given name.<T extends FeatureInput>
FeatureCalculationCache<T> CacheCreator.create
(Class<? extends FeatureInput> inputType) Creates aFeatureCalculationCache
that accepts a particular input type.Method parameters in org.anchoranalysis.feature.calculate.cache with type arguments of type FeatureInputModifier and TypeMethodDescription<V extends FeatureInput>
FeatureCalculationCache<V> FeatureCalculationCache.childCacheFor
(ChildCacheName childName, Class<? extends FeatureInput> inputType, CacheCreator cacheCreator) Gets/creates a child-cache for a given name.<T extends FeatureInput>
FeatureCalculationCache<T> CacheCreator.create
(Class<? extends FeatureInput> inputType) Creates aFeatureCalculationCache
that accepts a particular input type. -
Uses of FeatureInput in org.anchoranalysis.feature.calculate.cache.part
Classes in org.anchoranalysis.feature.calculate.cache.part with type parameters of type FeatureInputModifier and TypeClassDescriptionclass
ResolvedPart<S,
T extends FeatureInput> Like aCalculationPart
but has been resolved against a cache to reuse any existing identical instance.class
ResolvedPartMap<S,
T extends FeatureInput, U> ACalculationPartMap
that has been resolved against a cache. -
Uses of FeatureInput in org.anchoranalysis.feature.calculate.part
Classes in org.anchoranalysis.feature.calculate.part with type parameters of type FeatureInputModifier and TypeClassDescriptionclass
CalculationPart<S,
T extends FeatureInput> A sub-part of the calculation of a feature, that can be cached, and reused by other features.class
CalculationPartMap<S,
T extends FeatureInput, U, E extends Exception> Similar to aCalculationPart
but stores several evaluation results, differentiated by a key.interface
CalculationPartResolver<T extends FeatureInput>
Searches a cache to reuses aCalculationPart
if it already exists. -
Uses of FeatureInput in org.anchoranalysis.feature.initialization
Methods in org.anchoranalysis.feature.initialization that return types with arguments of type FeatureInputModifier and TypeMethodDescriptionFeatureRelatedInitialization.getFeatureLists()
Gets the underlyingNamedProviderStore
that provides shared-features.Method parameters in org.anchoranalysis.feature.initialization with type arguments of type FeatureInputModifier and TypeMethodDescriptionvoid
FeatureRelatedInitialization.populate
(List<NamedBean<FeatureListProvider<FeatureInput>>> namedProviders, Logger logger) Adds features into the shared-feature storage from a list of named-beans. -
Uses of FeatureInput in org.anchoranalysis.feature.input
Subinterfaces of FeatureInput in org.anchoranalysis.feature.inputModifier and TypeInterfaceDescriptioninterface
AFeatureInputWithResolution
that has an optional associatedDictionary
.interface
AFeatureInput
that exposes theResolution
of an image or scene.Classes in org.anchoranalysis.feature.input that implement FeatureInputModifier and TypeClassDescriptionclass
AFeatureInput
that exposes theDimensions
of an image or scene.class
AFeatureInputDimensions
that has an optionalEnergyStack
associated with it.class
AFeatureInput
with no associated parameterization.final class
AFeatureInput
with the stored results from a prior feature-calculation.Methods in org.anchoranalysis.feature.input with type parameters of type FeatureInputModifier and TypeMethodDescriptionstatic <T extends FeatureInput>
Class<? extends FeatureInput> FeatureInputType.determineInputType
(List<Feature<T>> list) Finds a common input-type for classes in the list, throwing an exception if any two types aren't compatible.Methods in org.anchoranalysis.feature.input that return types with arguments of type FeatureInputModifier and TypeMethodDescriptionstatic Class
<? extends FeatureInput> FeatureInputType.determineInputType
(Class<? extends FeatureInput> inputType1, Class<? extends FeatureInput> inputType2) Finds a common input-type for two classes, throwing an exception if the two types aren't compatible.static <T extends FeatureInput>
Class<? extends FeatureInput> FeatureInputType.determineInputType
(List<Feature<T>> list) Finds a common input-type for classes in the list, throwing an exception if any two types aren't compatible.static Optional
<Class<? extends FeatureInput>> FeatureInputType.prefer
(Class<? extends FeatureInput> inputType1, Class<? extends FeatureInput> inputType2) Prefer to keep descriptor whose input-class is a sub-class rather than a super-class.static Class
<? extends FeatureInput> LikeFeatureInputType.prefer(Class, Class)
but accepts features directly as input.Method parameters in org.anchoranalysis.feature.input with type arguments of type FeatureInputModifier and TypeMethodDescriptionstatic Class
<? extends FeatureInput> FeatureInputType.determineInputType
(Class<? extends FeatureInput> inputType1, Class<? extends FeatureInput> inputType2) Finds a common input-type for two classes, throwing an exception if the two types aren't compatible.static boolean
FeatureInputType.isCompatibleWith
(Class<? extends FeatureInput> sourceType, Class<? extends FeatureInput> otherType) Can these parameters be used with a particular feature?static Optional
<Class<? extends FeatureInput>> FeatureInputType.prefer
(Class<? extends FeatureInput> inputType1, Class<? extends FeatureInput> inputType2) Prefer to keep descriptor whose input-class is a sub-class rather than a super-class. -
Uses of FeatureInput in org.anchoranalysis.feature.name
Method parameters in org.anchoranalysis.feature.name with type arguments of type FeatureInputModifier and TypeMethodDescriptionstatic void
AssignFeatureNameUtilities.assignWithPrefix
(Feature<? extends FeatureInput> feature, String existingName, String prefix) Assigns a new custom-name to a feature, by combining an existing-name with a prefix. -
Uses of FeatureInput in org.anchoranalysis.feature.session
Classes in org.anchoranalysis.feature.session with type parameters of type FeatureInputModifier and TypeClassDescriptionclass
SequentialSession<T extends FeatureInput>
Calculates features with successively different inputs, without caching any results from one input to the next.class
SessionInputSequential<T extends FeatureInput>
A feature-input that will be used in aSequentialSession
Methods in org.anchoranalysis.feature.session with type parameters of type FeatureInputModifier and TypeMethodDescriptionstatic <T extends FeatureInput>
doubleFeatureSession.calculateWith
(Feature<T> feature, T input, Logger logger) Starts a feature-session for a single feature - and performs a calculation.static <T extends FeatureInput>
FeatureCalculatorSingle<T> Starts a feature-session for a single feature.static <T extends FeatureInput>
FeatureCalculatorSingle<T> FeatureSession.with
(Feature<T> feature, FeatureInitialization initialization, SharedFeatures sharedFeatures, Logger logger) Starts a feature-session for a single feature, with specific initialization.static <T extends FeatureInput>
FeatureCalculatorSingle<T> FeatureSession.with
(Feature<T> feature, SharedFeatures sharedFeatures, Logger logger) Starts a feature-session for a single feature, with default initialization.static <T extends FeatureInput>
FeatureCalculatorMulti<T> FeatureSession.with
(FeatureList<T> features, Logger logger) Starts a feature-session for a list of features, with default initialization.static <T extends FeatureInput>
FeatureCalculatorMulti<T> 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 areplaceStrategy
.static <T extends FeatureInput>
FeatureCalculatorMulti<T> FeatureSession.with
(FeatureList<T> features, FeatureInitialization initialization, SharedFeatures sharedFeatures, Logger logger) Starts a feature-session for a list of features, with particular initialization. -
Uses of FeatureInput in org.anchoranalysis.feature.session.cache
Methods in org.anchoranalysis.feature.session.cache with type parameters of type FeatureInputModifier and TypeMethodDescription<T extends FeatureInput>
FeatureCalculationCache<T> HorizontalCacheCreator.create
(Class<? extends FeatureInput> inputType) Method parameters in org.anchoranalysis.feature.session.cache with type arguments of type FeatureInputModifier and TypeMethodDescription<T extends FeatureInput>
FeatureCalculationCache<T> HorizontalCacheCreator.create
(Class<? extends FeatureInput> inputType) Constructor parameters in org.anchoranalysis.feature.session.cache with type arguments of type FeatureInputModifierConstructorDescriptionHorizontalCacheCreator
(FeatureList<? extends FeatureInput> namedFeatures, SharedFeatures sharedFeatures, FeatureInitialization initialization, Logger logger) Creates a newHorizontalCacheCreator
instance. -
Uses of FeatureInput in org.anchoranalysis.feature.session.cache.finder
Classes in org.anchoranalysis.feature.session.cache.finder with type parameters of type FeatureInputModifier and TypeInterfaceDescriptioninterface
CacheSupplier<T extends FeatureInput,
E extends Exception> Supplies aLRUCache
that maps a feature input-type to a corresponding toFeatureCalculationInput
.class
CacheTransferSource<T extends FeatureInput>
An existing cache that can be used as a source for child-caches elsewhere.Methods in org.anchoranalysis.feature.session.cache.finder with type parameters of type FeatureInputModifier and TypeMethodDescription<V extends FeatureInput>
FeatureCalculationCache<V> CheckCacheForSpecificChildren.childCacheFor
(FeatureCalculationCache<?> parentCache, CacheCreator factory, ChildCacheName childName, V input) <V extends FeatureInput>
FeatureCalculationCache<V> ChildCacheFinder.childCacheFor
(FeatureCalculationCache<?> parentCache, CacheCreator factory, ChildCacheName childCacheName, V input) Selects a child-cache given a parent and a child-name.<V extends FeatureInput>
FeatureCalculationCache<V> DefaultChildCacheFinder.childCacheFor
(FeatureCalculationCache<?> parentCache, CacheCreator factory, ChildCacheName childName, V input) Methods in org.anchoranalysis.feature.session.cache.finder that return types with arguments of type FeatureInputModifier and TypeMethodDescriptionIterator
<CacheTransferSource<? extends FeatureInput>> CacheTransferSourceCollection.iterator()
Method parameters in org.anchoranalysis.feature.session.cache.finder with type arguments of type FeatureInputModifier and TypeMethodDescriptionvoid
CacheTransferSourceCollection.add
(CacheTransferSource<? extends FeatureInput> source) Adds a source. -
Uses of FeatureInput in org.anchoranalysis.feature.session.calculator
Methods in org.anchoranalysis.feature.session.calculator with type parameters of type FeatureInputModifier and TypeMethodDescriptionstatic <T extends FeatureInput>
FeatureCalculatorMulti<T> FeatureCalculatorCache.cache
(FeatureCalculatorMulti<T> calculator) Creates a cached version of aFeatureCalculatorMulti
with a default cache-size.static <T extends FeatureInput>
FeatureCalculatorMulti<T> FeatureCalculatorCache.cache
(FeatureCalculatorMulti<T> calculator, int cacheSize) Creates a cached version of aFeatureCalculatorMulti
with a particular cache-size.static <T extends FeatureInput>
FeatureCalculatorSingle<T> FeatureCalculatorCache.cache
(FeatureCalculatorSingle<T> calculator) Creates a cached version of aFeatureCalculatorSingle
with a default cache-size.static <T extends FeatureInput>
FeatureCalculatorSingle<T> FeatureCalculatorCache.cache
(FeatureCalculatorSingle<T> calculator, int cacheSize) Creates a cached version of aFeatureCalculatorSingle
with a particular cache-size. -
Uses of FeatureInput in org.anchoranalysis.feature.session.replace
Classes in org.anchoranalysis.feature.session.replace with type parameters of type FeatureInputModifier and TypeClassDescriptionclass
AlwaysNew<T extends FeatureInput>
Always create a newSessionInputSequential
with no reuse or caching between calls.class
BoundReplaceStrategy<T extends FeatureInput,
S extends ReplaceStrategy<T>> Attaches a replacement-strategy to a session lazily.class
CacheAndReuseStrategy<T extends FeatureInput>
Reuse an existingFeatureCalculationInput
, as stored in a least-recently used cache, and without invalidating it.interface
ReplaceStrategy<T extends FeatureInput>
Different strategies on associating aFeatureCalculationInput
with a particularinput
.class
ReuseSingletonStrategy<T extends FeatureInput>
Always re-use an existingSessionInputSequential
, invalidating it each time a new call occurs. -
Uses of FeatureInput in org.anchoranalysis.feature.store
Classes in org.anchoranalysis.feature.store with type parameters of type FeatureInputModifier and TypeClassDescriptionclass
NamedFeatureStore<T extends FeatureInput>
StoresFeature
s, each with an associated name, with list-like access and map-like access.Methods in org.anchoranalysis.feature.store with type parameters of type FeatureInputModifier and TypeMethodDescription<T extends FeatureInput>
NamedFeatureStore<T> NamedFeatureStoreFactory.createNamedFeatureList
(List<NamedBean<FeatureListProvider<T>>> namedFeatures) Create aNamedFeatureStore
from a list of beans. -
Uses of FeatureInput in org.anchoranalysis.image.feature.bean
Methods in org.anchoranalysis.image.feature.bean that return types with arguments of type FeatureInputModifier and TypeMethodDescriptionClass
<? extends FeatureInput> FeatureEnergy.inputType()
Class
<? extends FeatureInput> FeatureHistogram.inputType()
Class
<? extends FeatureInput> FeatureImageMetadata.inputType()
Class
<? extends FeatureInput> FeatureStack.inputType()
-
Uses of FeatureInput in org.anchoranalysis.image.feature.bean.evaluator
Classes in org.anchoranalysis.image.feature.bean.evaluator with type parameters of type FeatureInputModifier and TypeClassDescriptionclass
FeatureEvaluator<T extends FeatureInput>
Defines a feature and provides a means to calculate inputs for it, a session.class
FeatureListEvaluator<T extends FeatureInput>
Defines a list of features and provides a means to calculate inputs for it, a session. -
Uses of FeatureInput in org.anchoranalysis.image.feature.bean.object.collection
Methods in org.anchoranalysis.image.feature.bean.object.collection that return types with arguments of type FeatureInputModifier and TypeMethodDescriptionClass
<? extends FeatureInput> FeatureObjectCollection.inputType()
-
Uses of FeatureInput in org.anchoranalysis.image.feature.bean.object.pair
Methods in org.anchoranalysis.image.feature.bean.object.pair that return types with arguments of type FeatureInput -
Uses of FeatureInput in org.anchoranalysis.image.feature.bean.object.single
Methods in org.anchoranalysis.image.feature.bean.object.single that return types with arguments of type FeatureInput -
Uses of FeatureInput in org.anchoranalysis.image.feature.calculator
Classes in org.anchoranalysis.image.feature.calculator with type parameters of type FeatureInputModifier and TypeInterfaceDescriptioninterface
FeatureTableCalculator<T extends FeatureInput>
A feature-calculator with additional functions for encoding the output in a tabular format with column names.final class
NamedFeatureCalculatorMulti<T extends FeatureInput>
AFeatureCalculatorMulti
with associated feature-names. -
Uses of FeatureInput in org.anchoranalysis.image.feature.input
Classes in org.anchoranalysis.image.feature.input that implement FeatureInputModifier and TypeClassDescriptionclass
A feature input that contains a histogram and optional resolution information.class
AFeatureInput
that providesImageMetadata
.class
A feature input representing a collection of objects, optionally associated with an energy stack.class
A pair of objects (first and second) and optionally a merged version of both.class
An input representing a single object-mask (with maybe an energy-stack associated).class
A feature input that represents an energy stack. -
Uses of FeatureInput in org.anchoranalysis.mpp.feature.addcriteria
Classes in org.anchoranalysis.mpp.feature.addcriteria with type parameters of type FeatureInputModifier and TypeInterfaceDescriptioninterface
OrderedFeatureList<T extends FeatureInput>
An interface for providing an ordered list of features. -
Uses of FeatureInput in org.anchoranalysis.mpp.feature.bean.energy.element
Methods in org.anchoranalysis.mpp.feature.bean.energy.element that return types with arguments of type FeatureInputModifier and TypeMethodDescriptionClass
<? extends FeatureInput> AsSingle.inputType()
Class
<? extends FeatureInput> FeatureAllMemo.inputType()
Class
<? extends FeatureInput> FeaturePairMemo.inputType()
Class
<? extends FeatureInput> FeatureSingleMemo.inputType()
-
Uses of FeatureInput in org.anchoranalysis.mpp.feature.bean.mark
Classes in org.anchoranalysis.mpp.feature.bean.mark that implement FeatureInputModifier and TypeClassDescriptionclass
A feature input that wraps aMark
along with optional dimensions and dictionary. -
Uses of FeatureInput in org.anchoranalysis.mpp.feature.bean.mark.collection
Classes in org.anchoranalysis.mpp.feature.bean.mark.collection that implement FeatureInputModifier and TypeClassDescriptionclass
Feature input that contains a collection of marks and optional dimensions. -
Uses of FeatureInput in org.anchoranalysis.mpp.feature.energy.scheme
Methods in org.anchoranalysis.mpp.feature.energy.scheme with type parameters of type FeatureInputModifier and TypeMethodDescription<T extends FeatureInput>
FeatureList<T> EnergyScheme.getElemByCliqueSize
(int cliqueSize) Gets the feature list for a specific clique size. -
Uses of FeatureInput in org.anchoranalysis.mpp.feature.input
Classes in org.anchoranalysis.mpp.feature.input that implement FeatureInputModifier and TypeClassDescriptionclass
Feature input that contains a list of memoized energy calculations for all marks.final class
Feature input that contains a pair of memoized voxelized marks and an energy stack.class
Feature input that contains a single memoized voxelized mark and an optional energy stack. -
Uses of FeatureInput in org.anchoranalysis.plugin.image.feature.bean.dimensions
Methods in org.anchoranalysis.plugin.image.feature.bean.dimensions that return types with arguments of type FeatureInput -
Uses of FeatureInput in org.anchoranalysis.plugin.image.feature.bean.list.permute
Classes in org.anchoranalysis.plugin.image.feature.bean.list.permute with type parameters of type FeatureInputModifier and TypeClassDescriptionclass
PermuteFeature<S,
T extends FeatureInput> Permutes one or more properties of a Feature, so as to create a set of Featuresclass
PermuteFeatureBase<T extends FeatureInput>
Creates permutations of a feature by modifying a particular property of it in different ways.static interface
Functional interface for creating first and second order statistical operations. -
Uses of FeatureInput in org.anchoranalysis.plugin.image.feature.bean.object.combine
Classes in org.anchoranalysis.plugin.image.feature.bean.object.combine with type parameters of type FeatureInputModifier and TypeClassDescriptionclass
CombineObjectsForFeatures<T extends FeatureInput>
A way to combine (or not combine) objects so that they provide a feature-table. -
Uses of FeatureInput in org.anchoranalysis.plugin.image.feature.object.calculation.delegate
Classes in org.anchoranalysis.plugin.image.feature.object.calculation.delegate with type parameters of type FeatureInputModifier and TypeClassDescriptionclass
CalculateInputFromDelegate<S,
T extends FeatureInput, U> A base class forCalculationPart
s that derive from an existing "delegate" calculation.class
CalculateInputFromDelegateOption<S extends FeatureInput,
T extends FeatureInput, U> LikeCalculateInputFromDelegate
except assumes optional return value and no parameters.class
CalculateInputFromDelegateOption<S extends FeatureInput,
T extends FeatureInput, U> LikeCalculateInputFromDelegate
except assumes optional return value and no parameters.Methods in org.anchoranalysis.plugin.image.feature.object.calculation.delegate with type parameters of type FeatureInputModifier and TypeMethodDescriptionstatic <S extends FeatureInput,
T extends FeatureInput, U>
doubleCalculateInputFromDelegateOption.calc
(FeatureCalculationInput<T> input, CalculationPart<U, T> delegate, Function<ResolvedPart<U, T>, CalculateInputFromDelegateOption<S, T, U>> createFromDelegate, Feature<S> feature, ChildCacheName cacheName, double emptyValue) Calculates a feature using a cached-calculation as delegate.static <S extends FeatureInput,
T extends FeatureInput, U>
doubleCalculateInputFromDelegateOption.calc
(FeatureCalculationInput<T> input, CalculationPart<U, T> delegate, Function<ResolvedPart<U, T>, CalculateInputFromDelegateOption<S, T, U>> createFromDelegate, Feature<S> feature, ChildCacheName cacheName, double emptyValue) Calculates a feature using a cached-calculation as delegate. -
Uses of FeatureInput in org.anchoranalysis.plugin.image.task.bean.feature
Classes in org.anchoranalysis.plugin.image.task.bean.feature with type parameters of type FeatureInputModifier and TypeClassDescriptionclass
ExportFeatures<T extends InputFromManager,
S, U extends FeatureInput> Calculates features and exports them as a CSV file. -
Uses of FeatureInput in org.anchoranalysis.plugin.image.task.bean.feature.source
Classes in org.anchoranalysis.plugin.image.task.bean.feature.source with type parameters of type FeatureInputModifier and TypeClassDescriptionclass
FeatureSource<T extends InputFromManager,
S, U extends FeatureInput> Extracts features from some kind of inputs to produce one or more rows in a feature-table.class
SingleRowPerInput<T extends InputFromManager,
S extends FeatureInput> Base class for exporting features, where features are calculated per-image using aNamedFeatureStore
. -
Uses of FeatureInput in org.anchoranalysis.plugin.image.task.feature
Methods in org.anchoranalysis.plugin.image.task.feature with type parameters of type FeatureInputModifier and TypeMethodDescriptionstatic <T extends FeatureInput>
FeatureExporter<FeatureList<T>> FeatureExporter.create
(List<NamedBean<FeatureListProvider<T>>> features, LabelHeaders metadataHeaders, FeatureOutputNames outputNames, Optional<InputGrouper> grouper, FeatureExporterContext context) Alternative static constructor that creates a shared-state from a list of namedFeatureListProvider
s.static <T extends FeatureInput>
FeatureExporter<FeatureTableCalculator<T>> FeatureExporter.create
(FeatureOutputNames outputNames, FeatureTableCalculator<T> features, LabelHeaders identifierHeaders, Optional<InputGrouper> grouper, FeatureExporterContext context) Alternative static constructor that creates a shared-state from aNamedFeatureStore
.static <T extends FeatureInput>
FeatureExporter<FeatureList<T>> FeatureExporter.create
(NamedFeatureStore<T> featureStore, LabelHeaders metadataHeaders, FeatureOutputNames outputNames, Optional<InputGrouper> grouper, FeatureExporterContext context) Alternative static constructor that creates a shared-state from aNamedFeatureStore
. -
Uses of FeatureInput in org.anchoranalysis.plugin.image.task.feature.calculator
Classes in org.anchoranalysis.plugin.image.task.feature.calculator with type parameters of type FeatureInputModifier and TypeClassDescriptionclass
CalculateFeaturesForObjects<T extends FeatureInput>
Calculates features for objects and stores the results. -
Uses of FeatureInput in org.anchoranalysis.plugin.operator.feature.bean
Classes in org.anchoranalysis.plugin.operator.feature.bean with type parameters of type FeatureInputModifier and TypeClassDescriptionclass
WithValueBase<T extends FeatureInput>
A base class for operations that use a specified constant value in combination with a feature. -
Uses of FeatureInput in org.anchoranalysis.plugin.operator.feature.bean.arithmetic
Classes in org.anchoranalysis.plugin.operator.feature.bean.arithmetic with type parameters of type FeatureInputModifier and TypeClassDescriptionclass
AbsoluteValue<T extends FeatureInput>
A feature that calculates the absolute value of another feature's result.class
AddConstantTo<T extends FeatureInput>
A feature that adds a constant value to the result of another feature.class
ConstantToThePowerOf<T extends FeatureInput>
A feature that raises a constant value to the power of another feature's result.class
Divide<T extends FeatureInput>
A feature that divides the results of multiple features sequentially.class
DivideByConstant<T extends FeatureInput>
A feature that divides the result of another feature by a constant value.class
InvertedMax<T extends FeatureInput>
Finds the repciprocal (multiplicate inverse), but imposes a maximum ceiling via a constant.class
Multiply<T extends FeatureInput>
A feature that multiplies the results of multiple features together.class
MultiplyByConstant<T extends FeatureInput>
A feature that multiplies the result of another feature by a constant value.class
SubtractFrom<T extends FeatureInput>
A feature that subtracts the result of another feature from a constant value.class
ToThePowerOfConstant<T extends FeatureInput>
A feature that raises the result of another feature to the power of a constant value. -
Uses of FeatureInput in org.anchoranalysis.plugin.operator.feature.bean.conditional
Classes in org.anchoranalysis.plugin.operator.feature.bean.conditional with type parameters of type FeatureInputModifier and TypeClassDescriptionclass
IfCondition<T extends FeatureInput>
The result of featureCondition is compared to a threshold, and then either the underlying feature is calculated (positive case), or featureElse is (negative case) -
Uses of FeatureInput in org.anchoranalysis.plugin.operator.feature.bean.list
Classes in org.anchoranalysis.plugin.operator.feature.bean.list with type parameters of type FeatureInputModifier and TypeClassDescriptionclass
Maximum<T extends FeatureInput>
A feature that calculates the maximum value from a list of features.class
Mean<T extends FeatureInput>
Arithmetic mean of a list of featuresclass
MeanGeometric<T extends FeatureInput>
A feature that calculates the geometric mean of a list of features.class
Minimum<T extends FeatureInput>
A feature that calculates the minimum value from a list of features. -
Uses of FeatureInput in org.anchoranalysis.plugin.operator.feature.bean.range
Classes in org.anchoranalysis.plugin.operator.feature.bean.range with type parameters of type FeatureInputModifier and TypeClassDescriptionclass
CompareWithRange<T extends FeatureInput>
Compares a value with a range, returning specified constants if its inside the range, below it or above itclass
CompareWithRangeFeature<T extends FeatureInput>
LikeCompareWithRange
but uses features to calculate boundary valuesclass
IfConditionWithinRange<T extends FeatureInput>
Calculates a value if a condition lies within a certain range, otherwise returns constantsclass
IfOutsideRange<T extends FeatureInput>
Clamps a feature value if it lies outside a specified range.class
NormalizedRange<T extends FeatureInput>
The range of two feature values (i.e. max - min), divided by their mean.class
Range<T extends FeatureInput>
Calculates the statistical range between two feature values, with optional weighting.class
RangeCompareBase<T extends FeatureInput>
A base class for features that compare a value against a range and return different results based on the comparison.class
RangeCompareFromScalars<T extends FeatureInput>
A base class for setting the boundaries of a range using constant scalar values. -
Uses of FeatureInput in org.anchoranalysis.plugin.operator.feature.bean.replace
Classes in org.anchoranalysis.plugin.operator.feature.bean.replace with type parameters of type FeatureInputModifier and TypeClassDescriptionclass
ReplaceInfinity<T extends FeatureInput>
Replaces infinite values in a feature's result with a specified replacement value.class
ReplaceNaN<T extends FeatureInput>
Replaces NaN (Not a Number) values in a feature's result with a specified replacement value.class
ReplaceUnusualValue<T extends FeatureInput>
Calculates the underlying feature, but replaces the result with a constant if it is an "unusual" value. -
Uses of FeatureInput in org.anchoranalysis.plugin.operator.feature.bean.statistics
Classes in org.anchoranalysis.plugin.operator.feature.bean.statistics with type parameters of type FeatureInputModifier and TypeClassDescriptionclass
GaussianCumulative<T extends FeatureInput>
Calculates a score between 0 and 1 based on the Cumulative Distribution Function (CDF) of a Gaussian distribution.class
StatisticalBase<T extends FeatureInput>
Calculates a score based upon the statistical mean and standard deviation.class
ZScore<T extends FeatureInput>
Calculates the Z-score of a value based on the mean and standard deviation. -
Uses of FeatureInput in org.anchoranalysis.plugin.operator.feature.physical
Classes in org.anchoranalysis.plugin.operator.feature.physical with type parameters of type FeatureInputModifier and TypeClassDescriptionclass
ConvertUnits<T extends FeatureInput>
Converts a feature value from one unit type to another. -
Uses of FeatureInput in org.anchoranalysis.test.feature
Methods in org.anchoranalysis.test.feature with type parameters of type FeatureInputModifier and TypeMethodDescriptionstatic <T extends FeatureInput>
FeatureList<T> ConstantsInListFixture.create()
Creates a feature-list associated with the fixture. -
Uses of FeatureInput in org.anchoranalysis.test.feature.plugins
Methods in org.anchoranalysis.test.feature.plugins with type parameters of type FeatureInputModifier and TypeMethodDescriptionstatic <T extends FeatureInput>
voidFeatureTestCalculator.assertDoubleResult
(String message, Feature<T> feature, T input, double expectedResult) Asserts that a feature calculation results in an expected double value.static <T extends FeatureInput>
voidFeatureTestCalculator.assertDoubleResult
(String message, Feature<T> feature, T input, Optional<SharedObjects> sharedObjects, double expectedResult) Asserts that a feature calculation results in an expected double value, with shared objects.static <T extends FeatureInput>
voidFeatureTestCalculatorDuo.assertDoubleResult
(String message, Feature<T> feature, T inputPositive, T inputNegative, double expectedResultPositive, double expectedResultNegative) Asserts that a feature calculation results in expected double values for both positive and negative inputs.static <T extends FeatureInput>
voidFeatureTestCalculator.assertIntResult
(String message, Feature<T> feature, T input, int expectedResult) Asserts that a feature calculation results in an expected integer value.static <T extends FeatureInput>
voidFeatureTestCalculator.assertIntResult
(String message, Feature<T> feature, T input, Optional<SharedObjects> sharedObjects, int expectedResult) Asserts that a feature calculation results in an expected integer value, with shared objects.static <T extends FeatureInput>
voidFeatureTestCalculatorDuo.assertIntResult
(String message, Feature<T> feature, T inputPositive, T inputNegative, int expectedResultPositive, int expectedResultNegative) Asserts that a feature calculation results in expected integer values for both positive and negative inputs.static <T extends FeatureInput>
FeatureList<T> FeaturesFromXMLFixture.createFeatureList
(String xmlPath, TestLoader loader) Creates a feature list from an XML file.static <T extends FeatureInput>
List<NamedBean<FeatureListProvider<T>>> FeaturesFromXMLFixture.createNamedFeatureProviders
(String xmlPath, TestLoader loader) Creates a list of named feature list providers from an XML file. -
Uses of FeatureInput in org.anchoranalysis.test.feature.plugins.mockfeature
Methods in org.anchoranalysis.test.feature.plugins.mockfeature with type parameters of type FeatureInputModifier and TypeMethodDescriptionstatic <T extends FeatureInput>
Feature<T> MockFeatureWithCalculationFixture.createMockFeatureWithCalculation
(ToDoubleFunction<T> funcCalculation) Creates a mock feature with a custom calculation function.Method parameters in org.anchoranalysis.test.feature.plugins.mockfeature with type arguments of type FeatureInputModifier and TypeMethodDescriptionprotected double
MockFeatureWithCalculation.calculate
(FeatureCalculationInput<FeatureInput> input)