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.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.initialization |
Initialization parameters used for beans in
org.anchoranalysis.feature.bean . |
org.anchoranalysis.feature.session |
A defined context in which one or more features are provided inputs and produce results.
|
org.anchoranalysis.feature.session.cache |
Creates a
FeatureCalculationCache to use
during feature-calculations. |
org.anchoranalysis.feature.session.replace |
Strategies on whether to reuse or invalidate a feature-input's cache.
|
org.anchoranalysis.feature.shared |
Features shared for referencing among calculations.
|
org.anchoranalysis.feature.store |
A collection of named-
Feature s. |
org.anchoranalysis.image.feature.bean.evaluator |
Beans that define context (which feature, which energy-stack) for evaluating feature-inputs.
|
org.anchoranalysis.image.feature.calculator |
Implementations of
FeatureCalculatorMulti
related to images, especially to create tables of feature-calculations. |
org.anchoranalysis.image.feature.calculator.merged |
A particular implementation of
FeatureCalculatorMulti for feature-calculations based
upon pairs of image-objects. |
org.anchoranalysis.mpp.feature.addcriteria |
Criteria for adding edges during optimization of marked-point-processes.
|
org.anchoranalysis.mpp.feature.energy.scheme |
Factorized form of storing the energy during an energy-minimization optimization scheme.
|
org.anchoranalysis.plugin.image.feature.bean.list |
Implementations of
FeatureListProvider . |
org.anchoranalysis.plugin.image.feature.bean.list.pair |
Implementations of
FeatureListProvider with
input-type FeatureInputPairObjects . |
org.anchoranalysis.plugin.image.feature.bean.list.permute |
Implementations of
FeatureListProvider that derive
new features with permuted property-values. |
org.anchoranalysis.plugin.image.task.bean.feature.source |
Source of rows in feature-tables with
FeatureSource and derived classes. |
org.anchoranalysis.plugin.image.task.feature |
Non-bean classes pertaining to
Feature s as used in tasks. |
org.anchoranalysis.plugin.image.task.feature.calculator |
Non-beans for calculating
Feature s. |
org.anchoranalysis.plugin.ml.bean.classifier |
Beans that perform classification in some way.
|
org.anchoranalysis.plugin.mpp.bean.addcriteria |
Implementations of
AddCriteriaPair involving
Mark or related classes. |
org.anchoranalysis.plugin.opencv.bean.feature |
Extracting features using OpenCV.
|
org.anchoranalysis.test.feature |
Testing utilities and fixtures with no greater downstream dependency than anchor-feature.
|
org.anchoranalysis.test.feature.plugins |
Testing utilities and fixtures with no greater downstream dependency than
anchor-image-feature or anchor-mpp.
|
Modifier and Type | Method and Description |
---|---|
FeatureList<FeatureInput> |
Feature.createListChildFeatures()
Returns a list of Features that exist as bean-properties of this feature, either directly or
in lists.
|
Modifier and Type | Method and Description |
---|---|
FeatureList<T> |
FeatureList.append(Optional<FeatureList<T>> featureList)
Appends the features one or more (optional) feature-lists to the existing list.
|
static <T extends FeatureInput> |
FeatureListFactory.empty()
Creates an empty list of features
|
<S extends FeatureInput,E extends Exception> |
FeatureList.filterAndMap(java.util.function.Predicate<Feature<T>> predicate,
CheckedFunction<Feature<T>,Feature<S>,E> mappingFunction)
|
static <S,T extends FeatureInput,E extends Exception> |
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 feature
|
static <T extends FeatureInput> |
FeatureListFactory.from(Feature<T>... feature)
Creates a list for one or more features
|
static <T extends FeatureInput> |
FeatureListFactory.fromIterable(Iterable<Feature<T>> iterable)
Creates a list of features from an iterable
|
static <T extends FeatureInput> |
FeatureListFactory.fromProvider(Provider<Feature<T>> featureProvider)
Creates a list for a single-feature created from a provider
|
static <T extends FeatureInput> |
FeatureListFactory.fromProviders(Collection<FeatureProvider<T>> providers)
Creates a list of features from a collection of feature-providers
|
static <T extends FeatureInput> |
FeatureListFactory.fromStream(java.util.stream.Stream<Feature<T>> stream)
Creates a list of features from a stream
|
FeatureList<T> |
DefinedNamed.get() |
FeatureList<FeatureInput> |
PrependName.get() |
FeatureList<T> |
DefineSingle.get() |
FeatureList<T> |
Define.get() |
<S extends FeatureInput,E extends Exception> |
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> |
FeatureListFactory.mapFrom(Iterable<S> iterable,
CheckedFunction<S,Feature<T>,E> mapFunc)
|
static <S,T extends FeatureInput,E extends Exception> |
FeatureListFactory.mapFromFiltered(Iterable<S> iterable,
java.util.function.Predicate<S> predicate,
CheckedFunction<S,Feature<T>,E> mapFunc)
Creates a new feature-list by filtering an iterable and then mapping it to a feature
|
static <T extends FeatureInput> |
FeatureListFactory.mapFromRange(int startInclusive,
int endExclusive,
java.util.function.IntFunction<Feature<T>> mapFunc)
Creates a new feature-list by mapping integers (from a range) each to a feature
|
static <T extends FeatureInput,E extends Exception> |
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 feature
|
FeatureList<T> |
FeatureList.shallowDuplicate()
Creates a new feature-list which contains identical elements.
|
FeatureList<T> |
FeatureList.sort(Comparator<Feature<T>> comparator)
Creates a new feature-list sorted in a particular order.
|
static <T extends FeatureInput> |
FeatureListFactory.wrapDuplicate(List<Feature<T>> list)
Wraps an existing list, WITHOUT reusing the list in the internals of the
FeatureList
i.e. |
static <T extends FeatureInput> |
FeatureListFactory.wrapReuse(List<Feature<T>> list)
Wraps an existing list, reusing the list in the internals of the
FeatureList |
Modifier and Type | Method and Description |
---|---|
void |
FeatureList.addAll(FeatureList<? extends T> toAdd)
Add all the features in
other to the current list. |
Modifier and Type | Method and Description |
---|---|
FeatureList<T> |
FeatureList.append(Optional<FeatureList<T>> featureList)
Appends the features one or more (optional) feature-lists to the existing list.
|
static <S,T extends FeatureInput,E extends Exception> |
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 feature
|
Modifier and Type | Method and Description |
---|---|
void |
FeatureFromList.setList(FeatureList<T> list)
Assigns the list of features to use.
|
Constructor and Description |
---|
FeatureFromList(FeatureList<T> featureList)
Create from a list of features.
|
Sum(FeatureList<T> features)
Create with a list of
Feature s which become summed. |
Modifier and Type | Method and Description |
---|---|
ResultsVector |
FeatureCalculationInput.calculate(FeatureList<T> features)
Calculates the results of several features using this input.
|
default ResultsVector |
FeatureCalculator.calculate(FeatureList<T> features,
FeatureCalculationInput<T> input)
Calculates results for a list of features with a particular input, throwing an exception if a
calculation fails.
|
Modifier and Type | Method and Description |
---|---|
ResultsVector |
FeatureCalculatorMulti.calculate(T input,
FeatureList<T> featuresSubset)
Calculates the results of a subset of the features with a particular input.
|
ResultsVector |
FeatureCalculatorMultiChangeInput.calculate(T input,
FeatureList<T> featuresSubset) |
Modifier and Type | Method and Description |
---|---|
NamedProviderStore<FeatureList<FeatureInput>> |
FeatureRelatedInitialization.getFeatureLists()
Gets the underlying
NamedProviderStore that provides shared-features. |
Modifier and Type | Method and Description |
---|---|
ResultsVector |
SessionInputSequential.calculate(FeatureList<T> features) |
ResultsVector |
SequentialSession.calculate(T input,
FeatureList<T> featuresSubset) |
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 . |
static <T extends FeatureInput> |
FeatureSession.with(FeatureList<T> features,
FeatureInitialization initialization,
SharedFeatures sharedFeatures,
Logger logger)
Starts a feature-session for a list of features, with particular initialization.
|
static <T extends FeatureInput> |
FeatureSession.with(FeatureList<T> features,
Logger logger)
Starts a feature-session for a list of features, with default initialization.
|
Constructor and Description |
---|
HorizontalCacheCreator(FeatureList<? extends FeatureInput> namedFeatures,
SharedFeatures sharedFeatures,
FeatureInitialization initialization,
Logger logger) |
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 |
---|---|
void |
SharedFeatures.addFromList(FeatureList<FeatureInput> list)
Add features from a feature-list.
|
void |
SharedFeatures.removeIfExists(FeatureList<FeatureInput> featuresToRemove)
Remove all features, if they currently exist, from
features . |
Modifier and Type | Method and Description |
---|---|
void |
SharedFeatures.addFromProviders(NamedProvider<FeatureList<FeatureInput>> provider)
Add features from a
NamedProvider of feature-lists. |
Modifier and Type | Method and Description |
---|---|
FeatureList<T> |
NamedFeatureStore.features()
All
Feature s in the store, in identical order. |
Modifier and Type | Method and Description |
---|---|
NamedFeatureCalculatorMulti<T> |
FeatureListEvaluator.createFeatureSession(java.util.function.UnaryOperator<FeatureList<T>> addFeatures,
SharedObjects sharedObjects)
Creates session for evaluating
features . |
Modifier and Type | Method and Description |
---|---|
ResultsVector |
SingleTableCalculator.calculate(FeatureInputSingleObject input,
FeatureList<FeatureInputSingleObject> featuresSubset) |
Modifier and Type | Method and Description |
---|---|
FeatureList<FeatureInputStack> |
MergedPairsFeatures.getImage() |
FeatureList<FeatureInputPairObjects> |
MergedPairsFeatures.getPair() |
FeatureList<FeatureInputSingleObject> |
MergedPairsFeatures.getSingle() |
Modifier and Type | Method and Description |
---|---|
ResultsVector |
PairsTableCalculator.calculate(FeatureInputPairObjects input,
FeatureList<FeatureInputPairObjects> featuresSubset) |
Constructor and Description |
---|
MergedPairsFeatures(FeatureList<FeatureInputPairObjects> pair)
Creates to only calculate pair features.
|
MergedPairsFeatures(FeatureList<FeatureInputStack> image,
FeatureList<FeatureInputSingleObject> single,
FeatureList<FeatureInputPairObjects> pair)
Creates with features for single, pair and image as a whole.
|
MergedPairsFeatures(FeatureList<FeatureInputStack> image,
FeatureList<FeatureInputSingleObject> single,
FeatureList<FeatureInputPairObjects> pair)
Creates with features for single, pair and image as a whole.
|
MergedPairsFeatures(FeatureList<FeatureInputStack> image,
FeatureList<FeatureInputSingleObject> single,
FeatureList<FeatureInputPairObjects> pair)
Creates with features for single, pair and image as a whole.
|
Modifier and Type | Method and Description |
---|---|
Optional<FeatureList<FeatureInputPairMemo>> |
AddCriteriaOr.orderedListOfFeatures() |
Optional<FeatureList<FeatureInputPairMemo>> |
ArbitraryPointCommon.orderedListOfFeatures() |
Optional<FeatureList<FeatureInputPairMemo>> |
AddCriteriaNever.orderedListOfFeatures() |
Optional<FeatureList<T>> |
OrderedFeatureList.orderedListOfFeatures()
A list of features used to determine the
AddCriteria , or Optional.empty() if
irrelvant. |
Optional<FeatureList<FeatureInputPairMemo>> |
AddCriteriaEnergyPair.orderedListOfFeatures() |
Optional<FeatureList<FeatureInputPairMemo>> |
BoundingBoxIntersection.orderedListOfFeatures() |
Constructor and Description |
---|
AddCriteriaEnergyPair(FeatureList<FeatureInputPairMemo> energyPairs,
AddCriteriaPair pairAddCriteria) |
Modifier and Type | Method and Description |
---|---|
FeatureList<FeatureInputAllMemo> |
EnergyScheme.getElemAllAsFeatureList() |
<T extends FeatureInput> |
EnergyScheme.getElemByCliqueSize(int cliqueSize) |
FeatureList<FeatureInputSingleMemo> |
EnergyScheme.getElemIndAsFeatureList() |
FeatureList<FeatureInputPairMemo> |
EnergyScheme.getElemPairAsFeatureList() |
Modifier and Type | Method and Description |
---|---|
FeatureList<FeatureInputStack> |
IntensityMoments.get() |
Modifier and Type | Method and Description |
---|---|
FeatureList<FeatureInputPairObjects> |
DeriveFromPair.get() |
FeatureList<FeatureInputPairObjects> |
FeatureListProviderAggregatePair.get() |
Modifier and Type | Method and Description |
---|---|
protected abstract FeatureList<T> |
PermuteFeatureBase.createPermutedFeaturesFor(Feature<T> feature) |
protected FeatureList<T> |
PermuteFeatureSequenceInteger.createPermutedFeaturesFor(Feature<T> feature) |
protected FeatureList<T> |
PermuteFeature.createPermutedFeaturesFor(Feature<T> feature) |
FeatureList<T> |
PermuteFeatureBase.get() |
Modifier and Type | Method and Description |
---|---|
FeatureExporter<FeatureList<S>> |
SingleRowPerInput.createExporter(LabelHeaders metadataHeaders,
List<NamedBean<FeatureListProvider<S>>> features,
FeatureOutputNames outputNames,
Optional<InputGrouper> grouper,
FeatureExporterContext context) |
Modifier and Type | Method and Description |
---|---|
void |
SingleRowPerInput.calculateAndOutput(T input,
FeatureCalculationContext<FeatureList<S>> context) |
protected ResultsVectorWithThumbnail |
FromHistogram.calculateResultsForInput(FileInput input,
FeatureCalculationContext<FeatureList<FeatureInputHistogram>> context) |
protected ResultsVectorWithThumbnail |
FromImageMetadata.calculateResultsForInput(ImageMetadataInput input,
FeatureCalculationContext<FeatureList<FeatureInputImageMetadata>> context) |
protected ResultsVectorWithThumbnail |
FromImage.calculateResultsForInput(ProvidesStackInput input,
FeatureCalculationContext<FeatureList<FeatureInputStack>> context) |
protected abstract ResultsVectorWithThumbnail |
SingleRowPerInput.calculateResultsForInput(T input,
FeatureCalculationContext<FeatureList<S>> context)
Calculates feature-results for a particular input.
|
Modifier and Type | Method and Description |
---|---|
static <T extends FeatureInput> |
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 named
FeatureListProvider s. |
static <T extends FeatureInput> |
FeatureExporter.create(NamedFeatureStore<T> featureStore,
LabelHeaders metadataHeaders,
FeatureOutputNames outputNames,
Optional<InputGrouper> grouper,
FeatureExporterContext context)
Alternative static constructor that creates a shared-state from a
NamedFeatureStore . |
Modifier and Type | Method and Description |
---|---|
FeatureCalculatorMulti<T> |
FeatureCalculatorFromProvider.calculatorForAll(FeatureList<T> features)
Calculates all image-features in the feature-store
|
Modifier and Type | Method and Description |
---|---|
FeatureList<FeatureInput> |
FeatureListProviderSVMClassifier.get() |
FeatureList<T> |
FeatureListProviderLDAClassifier.get() |
Modifier and Type | Method and Description |
---|---|
Optional<FeatureList<FeatureInputPairMemo>> |
AddCriteriaFeatureRelationThreshold.orderedListOfFeatures() |
Modifier and Type | Method and Description |
---|---|
FeatureList<FeatureInputStack> |
HOGDescriptor.get() |
Modifier and Type | Method and Description |
---|---|
static <T extends FeatureInput> |
ConstantsInListFixture.create()
Creates a feature-list associated with the fixture.
|
Modifier and Type | Method and Description |
---|---|
static <T extends FeatureInput> |
FeaturesFromXmlFixture.createFeatureList(String xmlPath,
TestLoader loader) |
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.