public abstract class TouchingVoxels extends FeaturePairObjects
Constructor and Description |
---|
TouchingVoxels() |
Modifier and Type | Method and Description |
---|---|
double |
calculate(FeatureCalculationInput<FeatureInputPairObjects> input)
Calculates a value for some input.
|
protected abstract double |
calculateWithIntersection(ObjectMask object1,
ObjectMask object2,
BoundingBox boxIntersect) |
protected CountKernel |
createCountKernelMask(ObjectMask object2Relative) |
protected KernelApplicationParameters |
createParameters() |
boolean |
isDo3D() |
void |
setDo3D(boolean do3D) |
inputType
assignTo, beforeCalc, calculateCheckInitialized, castAs, createListChildFeatures, describeBean, describeParameters, descriptionLong, duplicateChangeName, getCustomName, getFriendlyName, onInitialization, setCustomName, toString
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized
checkMisconfigured, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise
public double calculate(FeatureCalculationInput<FeatureInputPairObjects> input) throws FeatureCalculationException
Feature
calculate
in class Feature<FeatureInputPairObjects>
input
- the input to the calculation.FeatureCalculationException
- if the calculation cannot successfully complete.protected abstract double calculateWithIntersection(ObjectMask object1, ObjectMask object2, BoundingBox boxIntersect) throws FeatureCalculationException
FeatureCalculationException
protected CountKernel createCountKernelMask(ObjectMask object2Relative)
protected KernelApplicationParameters createParameters()
public boolean isDo3D()
public void setDo3D(boolean do3D)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.