public class Intensity extends FeatureEnergyChannel
Specifically, a histogram of intensity-values is constructed for the region covered by the object in one specific channnel in the energy-stack (specified by energyIndex).
Then a customizable FeatureHistogram
(specified
by item) extracts a statistic from the histogram. By default, the mean is
calculated.
Constructor and Description |
---|
Intensity() |
Modifier and Type | Method and Description |
---|---|
protected double |
calculateForChannel(FeatureCalculationInput<FeatureInputSingleObject> input,
Channel channel) |
Feature<FeatureInputHistogram> |
getItem()
Feature to apply to the histogram
|
boolean |
isExcludeZero()
Iff true, zero-valued voxels are excluded from the histogram
|
void |
setExcludeZero(boolean excludeZero)
Iff true, zero-valued voxels are excluded from the histogram
|
void |
setItem(Feature<FeatureInputHistogram> item)
Feature to apply to the histogram
|
calculate, getEnergyIndex, setEnergyIndex
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
protected double calculateForChannel(FeatureCalculationInput<FeatureInputSingleObject> input, Channel channel) throws FeatureCalculationException
calculateForChannel
in class FeatureEnergyChannel
FeatureCalculationException
public Feature<FeatureInputHistogram> getItem()
public void setItem(Feature<FeatureInputHistogram> item)
public boolean isExcludeZero()
public void setExcludeZero(boolean excludeZero)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.