Class PermuteFirstSecondOrder<T extends FeatureInputDictionary>
Object
AnchorBean<FeatureListProvider<T>>
InitializableBean<FeatureListProvider<T>,FeatureRelatedInitialization>
FeatureRelatedBean<FeatureListProvider<T>>
FeatureProviderBean<FeatureListProvider<T>,FeatureList<T>>
FeatureListProvider<T>
PermuteFeatureBase<T>
PermuteFeatureSequenceInteger<T>
PermuteFirstSecondOrder<T>
- Type Parameters:
T- the type of feature input
- All Implemented Interfaces:
Provider<FeatureList<T>>
- Direct Known Subclasses:
PermuteGaussianScore,PermuteZScore
public abstract class PermuteFirstSecondOrder<T extends FeatureInputDictionary>
extends PermuteFeatureSequenceInteger<T>
Permutes a feature by applying first and second order statistical operations.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceFunctional interface for creating first and second order statistical operations. -
Constructor Summary
ConstructorsConstructorDescriptionPermuteFirstSecondOrder(PermuteFirstSecondOrder.CreateFirstSecondOrder<T> factory, double minRange, double maxRange) Creates a newPermuteFirstSecondOrderinstance. -
Method Summary
Modifier and TypeMethodDescriptionprotected PermutePropertySequenceIntegerconfigurePermuteProperty(PermutePropertySequenceInteger permuteProperty) Configures thePermutePropertySequenceIntegerfor this permutation.protected PermuteFeature<Integer, T> createDelegate(Feature<T> feature) Creates a delegatePermuteFeaturefor the given feature.booleanIf true, the constant is appended to the param prefix (a dot and a number).voidsetParamPrefixAppendNumber(boolean paramPrefixAppendNumber) If true, the constant is appended to the param prefix (a dot and a number).Methods inherited from class org.anchoranalysis.plugin.image.feature.bean.list.permute.PermuteFeatureSequenceInteger
checkMisconfigured, createParam, createPermutedFeaturesFor, getParamPrefix, getPermuteProperty, setParamPrefix, setPermutePropertyMethods inherited from class org.anchoranalysis.plugin.image.feature.bean.list.permute.PermuteFeatureBase
get, getFeature, setFeatureMethods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitializationMethods inherited from class org.anchoranalysis.bean.AnchorBean
describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
PermuteFirstSecondOrder
public PermuteFirstSecondOrder(PermuteFirstSecondOrder.CreateFirstSecondOrder<T> factory, double minRange, double maxRange) Creates a newPermuteFirstSecondOrderinstance.- Parameters:
factory- Factory for creating first and second order statistical operations.minRange- Minimum value for the range.maxRange- Maximum value for the range.
-
-
Method Details
-
createDelegate
protected PermuteFeature<Integer,T> createDelegate(Feature<T> feature) throws ProvisionFailedException Description copied from class:PermuteFeatureSequenceIntegerCreates a delegatePermuteFeaturefor the given feature.- Specified by:
createDelegatein classPermuteFeatureSequenceInteger<T extends FeatureInputDictionary>- Parameters:
feature- the feature to permute- Returns:
- a new
PermuteFeatureinstance - Throws:
ProvisionFailedException- if the delegate cannot be created
-
configurePermuteProperty
protected PermutePropertySequenceInteger configurePermuteProperty(PermutePropertySequenceInteger permuteProperty) Description copied from class:PermuteFeatureSequenceIntegerConfigures thePermutePropertySequenceIntegerfor this permutation.- Specified by:
configurePermutePropertyin classPermuteFeatureSequenceInteger<T extends FeatureInputDictionary>- Parameters:
permuteProperty- the property to configure- Returns:
- the configured
PermutePropertySequenceInteger
-
isParamPrefixAppendNumber
public boolean isParamPrefixAppendNumber()If true, the constant is appended to the param prefix (a dot and a number). -
setParamPrefixAppendNumber
public void setParamPrefixAppendNumber(boolean paramPrefixAppendNumber) If true, the constant is appended to the param prefix (a dot and a number).
-