public class MaxOverlapRatio extends FeaturePairMemoSingleRegion
Constructor and Description |
---|
MaxOverlapRatio() |
MaxOverlapRatio(double max) |
Modifier and Type | Method and Description |
---|---|
double |
calculate(FeatureCalculationInput<FeatureInputPairMemo> input)
Calculates a value for some input.
|
String |
describeParameters()
A human-readable description of the parameterization of the bean.
|
double |
getMax() |
double |
getPenaltyValue() |
boolean |
isIncludeShell() |
void |
setIncludeShell(boolean includeShell) |
void |
setMax(double max) |
void |
setPenaltyValue(double penaltyValue) |
box, getRegionID, overlappingNumVoxels, setRegionID
inputType
assignTo, beforeCalc, calculateCheckInitialized, castAs, createListChildFeatures, describeBean, descriptionLong, duplicateChangeName, getCustomName, getFriendlyName, onInitialization, setCustomName, toString
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized
checkMisconfigured, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise
public MaxOverlapRatio(double max)
public MaxOverlapRatio()
public String describeParameters()
Feature
describeParameters
in class Feature<FeatureInputPairMemo>
public double calculate(FeatureCalculationInput<FeatureInputPairMemo> input) throws FeatureCalculationException
Feature
calculate
in class Feature<FeatureInputPairMemo>
input
- the input to the calculation.FeatureCalculationException
- if the calculation cannot successfully complete.public double getMax()
public void setMax(double max)
public double getPenaltyValue()
public void setPenaltyValue(double penaltyValue)
public boolean isIncludeShell()
public void setIncludeShell(boolean includeShell)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.