Uses of Interface
org.anchoranalysis.feature.input.FeatureInput
| Package | Description |
|---|---|
| org.anchoranalysis.feature.bean |
Beans pertaining to feature-calculation.
|
| org.anchoranalysis.feature.bean.list |
A feature-list (custom list type for features) and associated providers.
|
| org.anchoranalysis.feature.bean.operator |
Features that are sufficiently generic to work on any input-type.
|
| org.anchoranalysis.feature.bean.provider |
Provider of a single feature.
|
| org.anchoranalysis.feature.bean.results |
Defines base class
FeatureResults together with
some implementations. |
| org.anchoranalysis.feature.calculate |
Sub-feature units of calculation that can be cached.
|
| org.anchoranalysis.feature.calculate.bound |
Interfaces like
FeatureCalculator but bound to
particular features. |
| org.anchoranalysis.feature.calculate.cache |
Classes to cache feature-results or parts of feature-results that occur repeatedly among features
or across calculations of the same feature.
|
| org.anchoranalysis.feature.calculate.cache.part |
Equivalent classes to
org.anchoranalysis.feature.calculate.part after having been
resolved against a cache. |
| org.anchoranalysis.feature.calculate.part |
A sub-part of the calculation of a feature, that can be cached, and reused by other features.
|
| org.anchoranalysis.feature.initialization |
Initialization parameters used for beans in
org.anchoranalysis.feature.bean. |
| org.anchoranalysis.feature.input |
Base classes providing inputs to feature calculations.
|
| org.anchoranalysis.feature.name |
Data objects for the names of features.
|
| org.anchoranalysis.feature.shared |
Features shared for referencing among calculations.
|
| org.anchoranalysis.feature.store |
A collection of named-
Features. |
-
Uses of FeatureInput in org.anchoranalysis.feature.bean
Classes in org.anchoranalysis.feature.bean with type parameters of type FeatureInput Modifier and Type Class Description classFeature<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 FeatureInput Modifier and Type Method Description 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 FeatureInput Modifier and Type Method Description protected voidFeature. 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 FeatureInput Modifier and Type Class Description classDefine<T extends FeatureInput>Specifies a list of features directly without assigning any custom-naming.classDefinedNamed<T extends FeatureInput>Specifies features via a list of names and associated with features.classDefineSingle<T extends FeatureInput>Specifies a single feature directly without assigning any custom-naming.classFeatureList<T extends FeatureInput>A list of features with the same input-type.classFeatureListProvider<T extends FeatureInput>Provides a list ofFeatures with identical input-type.classReferencingFeatureListProvider<T extends FeatureInput>A base class for implementations ofFeatureListProviderthat may reference features created elsewhere.Methods in org.anchoranalysis.feature.bean.list with type parameters of type FeatureInput Modifier and Type Method Description static <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>FeatureListFactory. from(Feature<T>... feature)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 theFeatureListi.e.static <T extends FeatureInput>
FeatureList<T>FeatureListFactory. wrapReuse(List<Feature<T>> list)Wraps an existing list, reusing the list in the internals of theFeatureListMethods in org.anchoranalysis.feature.bean.list that return types with arguments of type FeatureInput Modifier and Type Method Description FeatureList<FeatureInput>PrependName. get()FeatureListProvider<FeatureInput>PrependName. getItem()Provides the features and names before any prepending.Method parameters in org.anchoranalysis.feature.bean.list with type arguments of type FeatureInput Modifier and Type Method Description voidPrependName. 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 FeatureInput Modifier and Type Class Description classConstant<T extends FeatureInput>A constant value that is entirely invariant to the feature-input.classFeatureBinary<T extends FeatureInput>A base class for aFeaturethat is a binary-function of the results from two other features.classFeatureFromList<T extends FeatureInput>A base class for aFeaturethat is a function of the results from a list of other features.classFeatureGeneric<T extends FeatureInput>Base class for features that broadly accept any type of feature-input.classFeatureUnary<T extends FeatureInput,S extends FeatureInput>A feature that contains another feature as a bean-parameter.classFeatureUnary<T extends FeatureInput,S extends FeatureInput>A feature that contains another feature as a bean-parameter.classFeatureUnaryGeneric<T extends FeatureInput>AFeatureUnarythat accepts anyFeatureInputirrespective of type.classReference<T extends FeatureInput>Uses another feature to calculate the value.classSum<T extends FeatureInput>Sums the results after calculating a list ofFeatures.Methods in org.anchoranalysis.feature.bean.operator that return types with arguments of type FeatureInput Modifier and Type Method Description Class<? 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 FeatureInput Modifier and Type Class Description classFeatureProvider<T extends FeatureInput>Provides a singleFeature.classFeatureProviderDefine<T extends FeatureInput>Defines a singleFeatureto provide via a bean property.Methods in org.anchoranalysis.feature.bean.provider that return types with arguments of type FeatureInput Modifier and Type Method Description Feature<FeatureInput>FeatureProviderReference. get() -
Uses of FeatureInput in org.anchoranalysis.feature.bean.results
Methods in org.anchoranalysis.feature.bean.results that return types with arguments of type FeatureInput Modifier and Type Method Description Class<? extends FeatureInput>FeatureResults. inputType() -
Uses of FeatureInput in org.anchoranalysis.feature.calculate
Classes in org.anchoranalysis.feature.calculate with type parameters of type FeatureInput Modifier and Type Interface Description interfaceFeatureCalculationInput<T extends FeatureInput>Gives aFeatureInputthe necessary context for feature-calculation, including associating it with a cache.interfaceFeatureCalculator<T extends FeatureInput>CalculatesFeatureCalculationInputwhen passed a particularFeatureand correspondingFeatureCalculationInput. -
Uses of FeatureInput in org.anchoranalysis.feature.calculate.bound
Classes in org.anchoranalysis.feature.calculate.bound with type parameters of type FeatureInput Modifier and Type Interface Description interfaceFeatureCalculatorMulti<T extends FeatureInput>Like aFeatureCalculatorbut is permanently associated with one or moreFeatures.classFeatureCalculatorMultiChangeInput<T extends FeatureInput>AFeatureCalculatorMultibut changes the input before calculation.interfaceFeatureCalculatorSingle<T extends FeatureInput>Like aFeatureCalculatorbut is permanently associated with a singleFeature.classFeatureCalculatorSingleChangeInput<T extends FeatureInput>AFeatureCalculatorSinglebut changes the input before calculation.classFeatureCalculatorSingleFromMulti<T extends FeatureInput>Exposes aFeatureCalculatorMultias aFeatureCalculatorSingle. -
Uses of FeatureInput in org.anchoranalysis.feature.calculate.cache
Classes in org.anchoranalysis.feature.calculate.cache with type parameters of type FeatureInput Modifier and Type Interface Description interfaceCalculateForChild<T extends FeatureInput>Performs calculations using child-caches instead of the main cacheinterfaceFeatureCalculationCache<T extends FeatureInput>A context in which to calculate features while caching certain duplicated internal calculations among the features.interfaceFeatureSymbolCalculator<T extends FeatureInput>Resolves and calculates a feature by a symbol.Methods in org.anchoranalysis.feature.calculate.cache with type parameters of type FeatureInput Modifier and Type Method Description <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 aCalculationPartin 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 aFeatureCalculationCachethat accepts a particular input type.Method parameters in org.anchoranalysis.feature.calculate.cache with type arguments of type FeatureInput Modifier and Type Method Description <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 aFeatureCalculationCachethat 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 FeatureInput Modifier and Type Class Description classResolvedPart<S,T extends FeatureInput>Like aCalculationPartbut has been resolved against a cache to reuse any existing identical instance.classResolvedPartMap<S,T extends FeatureInput,U>ACalculationPartMapthat 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 FeatureInput Modifier and Type Class Description classCalculationPart<S,T extends FeatureInput>A sub-part of the calculation of a feature, that can be cached, and reused by other features.classCalculationPartMap<S,T extends FeatureInput,U,E extends Exception>Similar to aCalculationPartbut stores several evaluation results, differentiated by a key.interfaceCalculationPartResolver<T extends FeatureInput>Searches a cache to reuses aCalculationPartif it already exists. -
Uses of FeatureInput in org.anchoranalysis.feature.initialization
Methods in org.anchoranalysis.feature.initialization that return types with arguments of type FeatureInput Modifier and Type Method Description NamedProviderStore<FeatureList<FeatureInput>>FeatureRelatedInitialization. getFeatureLists()Gets the underlyingNamedProviderStorethat provides shared-features.Method parameters in org.anchoranalysis.feature.initialization with type arguments of type FeatureInput Modifier and Type Method Description voidFeatureRelatedInitialization. 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.input Modifier and Type Interface Description interfaceFeatureInputDictionaryAFeatureInputWithResolutionthat has an optional associatedDictionary.interfaceFeatureInputWithResolutionAFeatureInputthat exposes theResolutionof an image or scene.Classes in org.anchoranalysis.feature.input that implement FeatureInput Modifier and Type Class Description classFeatureInputDimensionsAFeatureInputthat exposes theDimensionsof an image or scene.classFeatureInputEnergyAFeatureInputDimensionsthat has an optionalEnergyStackassociated with it.classFeatureInputNullAFeatureInputwith no associated parameterization.classFeatureInputResultsAFeatureInputwith the stored results from a prior feature-calculation.Methods in org.anchoranalysis.feature.input with type parameters of type FeatureInput Modifier and Type Method Description 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.Methods in org.anchoranalysis.feature.input that return types with arguments of type FeatureInput Modifier and Type Method Description static 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>FeatureInputType. prefer(Feature<?> feature1, Feature<?> feature2)LikeFeatureInputType.prefer(Class, Class)but accepts features directly as input.Method parameters in org.anchoranalysis.feature.input with type arguments of type FeatureInput Modifier and Type Method Description static 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 booleanFeatureInputType. 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 FeatureInput Modifier and Type Method Description static voidAssignFeatureNameUtilities. 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.shared
Classes in org.anchoranalysis.feature.shared with type parameters of type FeatureInput Modifier and Type Class Description classSharedFeaturesSubset<T extends FeatureInput>A subset of features fromSharedFeaturesthat share a common feature input-type.Methods in org.anchoranalysis.feature.shared with type parameters of type FeatureInput Modifier and Type Method Description <S extends FeatureInput>
SharedFeaturesSubset<S>SharedFeatures. subsetCompatibleWith(Class<? extends FeatureInput> inputType)Extracts the subset of inputs that are compatible with a particular input-type.Methods in org.anchoranalysis.feature.shared that return types with arguments of type FeatureInput Modifier and Type Method Description Optional<Feature<FeatureInput>>SharedFeatures. getOptional(String key)Iterator<NameValue<Feature<FeatureInput>>>SharedFeatures. iterator()Method parameters in org.anchoranalysis.feature.shared with type arguments of type FeatureInput Modifier and Type Method Description voidSharedFeatures. addFromList(FeatureList<FeatureInput> list)Add features from a feature-list.voidSharedFeatures. addFromProviders(NamedProvider<FeatureList<FeatureInput>> provider)Add features from aNamedProviderof feature-lists.booleanSharedFeatures. contains(Feature<FeatureInput> feature)Whether a particular feature is contained in this instance.voidSharedFeatures. removeIfExists(FeatureList<FeatureInput> featuresToRemove)Remove all features, if they currently exist, fromfeatures.<S extends FeatureInput>
SharedFeaturesSubset<S>SharedFeatures. subsetCompatibleWith(Class<? extends FeatureInput> inputType)Extracts the subset of inputs that are compatible with a particular input-type. -
Uses of FeatureInput in org.anchoranalysis.feature.store
Classes in org.anchoranalysis.feature.store with type parameters of type FeatureInput Modifier and Type Class Description classNamedFeatureStore<T extends FeatureInput>StoresFeatures, each with an associated name, with list-like access and map-like access.Methods in org.anchoranalysis.feature.store with type parameters of type FeatureInput Modifier and Type Method Description <T extends FeatureInput>
NamedFeatureStore<T>NamedFeatureStoreFactory. createNamedFeatureList(List<NamedBean<FeatureListProvider<T>>> namedFeatures)Create aNamedFeatureStorefrom a list of beans.