|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unihalle.informatik.Alida.operator.ALDOperator
de.unihalle.informatik.MiToBo.core.operator.MTBOperator
de.unihalle.informatik.MiToBo.filters.linear.anisotropic.OrientedFilter2DBatchAnalyzer
@ALDAOperator(genericExecutionMode=ALL, level=APPLICATION) public class OrientedFilter2DBatchAnalyzer
Base class for applying oriented filters in different orientations.
The operator applies a given oriented filter in different orientations to the given image. Subsequently all filter responses are merged into a final result using the specified mode for joining.
Nested Class Summary | |
---|---|
static class |
OrientedFilter2DBatchAnalyzer.JoinMode
Method for joining the results from the various orientations. |
Nested classes/interfaces inherited from class de.unihalle.informatik.Alida.operator.ALDOperator |
---|
de.unihalle.informatik.Alida.operator.ALDOperator.HidingMode |
Field Summary | |
---|---|
protected int |
angleSampling
Angular sampling step size. |
protected MTBImage |
inputImg
Input image to process. |
protected OrientedFilter2DBatchAnalyzer.JoinMode |
jMode
Mode for joining results from different orientations. |
protected int |
maxAngle
Maximal orientation where to end. |
protected int |
minAngle
Minimal orientation from where to start. |
protected OrientedFilter2D |
oFilter
Oriented filter to apply. |
protected MTBImageDouble |
responseStack
Stack with filter responses of all orientations. |
protected MTBImageDouble |
resultImg
Result image. |
protected Vector<loci.common.StatusListener> |
statusListeners
Vector of installed StatusListeners. |
Fields inherited from class de.unihalle.informatik.Alida.operator.ALDOperator |
---|
completeDAG, name, operatorExecutionEventlistenerList, portHashAccess, verbose, versionProvider |
Constructor Summary | |
---|---|
OrientedFilter2DBatchAnalyzer()
Default constructor. |
Method Summary | |
---|---|
void |
addStatusListener(loci.common.StatusListener statuslistener)
|
MTBImageDouble |
getFilterResponseStack()
Get individual filter responses. |
MTBImageByte |
getIndexMap()
Get map of indices of maximal responses. |
MTBImageDouble |
getResultImage()
Get result image. |
void |
notifyListeners(loci.common.StatusEvent e)
|
protected void |
operate()
|
protected Object |
readResolve()
Init function for deserialized objects. |
void |
removeStatusListener(loci.common.StatusListener statuslistener)
|
void |
setAngleSampling(int s)
Set angular sampling interval. |
void |
setInputImage(MTBImage img)
Specify the input image. |
void |
setMaxAngle(int max)
Specify maximal angle to apply. |
void |
setMinAngle(int min)
Specify minimal angle to apply. |
void |
setOrientedFilter(OrientedFilter2D filter)
Specify the oriented filter to apply. |
Methods inherited from class de.unihalle.informatik.Alida.operator.ALDOperator |
---|
addOperatorExecutionProgressEventListener, fieldContained, fireOperatorExecutionProgressEvent, getALDPortHashAccessKey, getConstructionMode, getHidingMode, getInInoutNames, getInInoutNames, getInNames, getInOutNames, getMissingRequiredInputs, getName, getNumParameters, getOutInoutNames, getOutNames, getParameter, getParameterDescriptor, getParameterNames, getSupplementalNames, getVerbose, getVersion, handleOperatorExecutionProgressEvent, isConfigured, print, print, print, printInterface, printInterface, readHistory, reinitializeParameterDescriptors, removeOperatorExecutionProgressEventListener, runOp, runOp, runOp, setConstructionMode, setHidingMode, setName, setParameter, setVerbose, toStringVerbose, unconfiguredItems, validate, validateCustom, validateGeneric, writeHistory, writeHistory, writeHistory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected transient Vector<loci.common.StatusListener> statusListeners
@Parameter(label="Input Image", required=true, direction=IN, mode=STANDARD, description="Input image.", dataIOOrder=0) protected transient MTBImage inputImg
@Parameter(label="Oriented Filter", required=true, direction=IN, mode=STANDARD, description="Oriented Filter to Apply.", dataIOOrder=1) protected OrientedFilter2D oFilter
@Parameter(label="Minimal Orientation", required=true, dataIOOrder=2, direction=IN, mode=ADVANCED, description="Minimal orientation to consider (in degrees).") protected int minAngle
@Parameter(label="Maximal Orientation", required=true, dataIOOrder=3, direction=IN, mode=ADVANCED, description="Maximal orientation to consider (in degrees).") protected int maxAngle
@Parameter(label="Angular Sampling Steps", required=true, direction=IN, mode=ADVANCED, description="Angular sampling step size (in degrees).", dataIOOrder=4) protected int angleSampling
@Parameter(label="Join Mode", required=true, dataIOOrder=5, direction=IN, mode=ADVANCED, description="Mode for joining different orientation responses.") protected OrientedFilter2DBatchAnalyzer.JoinMode jMode
@Parameter(label="Result Image", dataIOOrder=0, direction=OUT, description="Result image.") protected transient MTBImageDouble resultImg
@Parameter(label="Filter Response Stack", dataIOOrder=1, direction=OUT, description="Filter response stack.") protected transient MTBImageDouble responseStack
Constructor Detail |
---|
public OrientedFilter2DBatchAnalyzer() throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
Method Detail |
---|
protected Object readResolve()
MTBOperator
This function is called on an instance of this class being deserialized from file, prior to handing the instance over to the user. It takes care of a proper initialization of transient member variables as they are not initialized to the default values during deserialization.
readResolve
in class MTBOperator
protected void operate() throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException, de.unihalle.informatik.Alida.exceptions.ALDProcessingDAGException
operate
in class de.unihalle.informatik.Alida.operator.ALDOperator
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
de.unihalle.informatik.Alida.exceptions.ALDProcessingDAGException
public void setInputImage(MTBImage img)
img
- Image to process.public void setOrientedFilter(OrientedFilter2D filter)
filter
- Pre-configured filter object.public void setMinAngle(int min)
min
- Value of angle in degrees.public void setMaxAngle(int max)
max
- Maximal value of angle in degrees.public void setAngleSampling(int s)
s
- Sampling interval in degrees.public MTBImageDouble getResultImage()
public MTBImageDouble getFilterResponseStack()
public MTBImageByte getIndexMap()
public void addStatusListener(loci.common.StatusListener statuslistener)
addStatusListener
in interface loci.common.StatusReporter
public void notifyListeners(loci.common.StatusEvent e)
notifyListeners
in interface loci.common.StatusReporter
public void removeStatusListener(loci.common.StatusListener statuslistener)
removeStatusListener
in interface loci.common.StatusReporter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |