@ALDAOperator(genericExecutionMode=SWING,
level=STANDARD,
allowBatchMode=false,
shortDescription="Extracts Haralick texture measures from co-occurrence matrices as features for the ActinAnalyzer2D.")
@ALDDerivedClass
public class CytoskeletonFeatureExtractorHaralickMeasures
extends CytoskeletonFeatureExtractorTiles
ActinAnalyzer2D.FeatureCalculatorHaralickMeasuresCytoskeletonFeatureExtractor.CellMaskFormat| Modifier and Type | Field and Description |
|---|---|
private static Vector<FeatureCalculatorHaralickMeasures.HaralickDirection> |
defaultDirections
Default directions for Haralick features.
|
protected Vector<FeatureCalculatorHaralickMeasures.HaralickDirection> |
directions
Directions for calculating cooccurrence matrices.
|
protected int |
distance
Distance.
|
protected boolean |
isotropicCalcs
Flag for isotropic calculations.
|
imageDir, imageHeight, imageWidth, iRead, maskDir, maskFormat, operatorID, outDir, tileShiftX, tileShiftY, tileSizeX, tileSizeY| Constructor and Description |
|---|
CytoskeletonFeatureExtractorHaralickMeasures()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDocumentation() |
protected Vector<FeatureCalculator> |
getFeatureOps()
Method to request operators for feature extraction to be applied.
|
void |
setDistance(int d)
Specify distance for calculating cooccurrence matrices.
|
void |
setFlagIsotropicCalculations(boolean flag)
Enable/disable isotropic calculations.
|
void |
setHaralickDirections(Vector<FeatureCalculatorHaralickMeasures.HaralickDirection> dirs)
Set directions for which to calculate cooccurence matrices.
|
calculateFeaturesoperate, readInputImageMaxProjectChannel, readMaskImage, setCytoskeletonChannel, setImageDir, setMaskDir, setMaskFormat, setOutputDir, setTileShiftX, setTileShiftY, setTileSizeX, setTileSizeYreadResolveaddOperatorExecutionProgressEventListener, addParameter, addParameter, addParameterUnconditioned, fieldContained, fireOperatorExecutionProgressEvent, getALDPortHashAccessKey, getConstructionMode, getHidingMode, getInactiveParameterNames, getInInoutNames, getInInoutNames, getInNames, getInOutNames, getMissingRequiredInputs, getName, getNumParameters, getOutInoutNames, getOutNames, getParameter, getParameterDescriptor, getParameterDescriptorUnconditioned, getParameterNames, getParameterUnconditioned, getSupplementalNames, getVerbose, getVersion, handleOperatorExecutionProgressEvent, hasInOutParameters, hasParameter, isAnnotatedParameter, isConfigured, print, print, print, printInterface, printInterface, readHistory, reinitializeParameterDescriptors, removeOperatorExecutionProgressEventListener, removeParameter, runOp, runOp, runOp, setConstructionMode, setConstructionMode, setConstructionMode, setHidingMode, setName, setParameter, setParameterUnconditioned, setVerbose, toStringVerbose, unconfiguredItems, validate, validateCustom, validateGeneric, writeHistory, writeHistory, writeHistoryprivate static Vector<FeatureCalculatorHaralickMeasures.HaralickDirection> defaultDirections
@Parameter(label="Haralick distance",
required=true,
direction=IN,
dataIOOrder=1,
mode=STANDARD,
description="Desired distance.")
protected int distance
@Parameter(label="Haralick directions",
required=true,
dataIOOrder=2,
direction=IN,
mode=STANDARD,
description="Directions for matrices.")
protected Vector<FeatureCalculatorHaralickMeasures.HaralickDirection> directions
@Parameter(label="Isotropic calculations",
required=true,
direction=IN,
dataIOOrder=3,
description="Flag to enable isotropic calculations.",
mode=ADVANCED)
protected boolean isotropicCalcs
If flag is true the average of each feature for the four directions EAST, NORTH_EAST, NORTH and NORTH_WEST is taken as result. But, note that this causes the computation time to be increased by a factor of four as well.
public CytoskeletonFeatureExtractorHaralickMeasures()
throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
de.unihalle.informatik.Alida.exceptions.ALDOperatorException - Thrown in case of failure.public void setDistance(int d)
d - Pixel distance to apply.public void setHaralickDirections(Vector<FeatureCalculatorHaralickMeasures.HaralickDirection> dirs)
dirs - List of directions.public void setFlagIsotropicCalculations(boolean flag)
flag - If true, isotropic calculations are enabled.protected Vector<FeatureCalculator> getFeatureOps() throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
CytoskeletonFeatureExtractorTilesgetFeatureOps in class CytoskeletonFeatureExtractorTilesde.unihalle.informatik.Alida.exceptions.ALDOperatorException - Thrown in case of failure.public String getDocumentation()
getDocumentation in class de.unihalle.informatik.Alida.operator.ALDOperatorCopyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.