|
||||||||||
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.MeanFilter
@ALDMetaInfo(export=ALLOWED) @ALDAOperator(genericExecutionMode=ALL) public class MeanFilter
Multidimensional mean filter. *
Nested Class Summary |
---|
Nested classes/interfaces inherited from class de.unihalle.informatik.Alida.operator.ALDOperator |
---|
de.unihalle.informatik.Alida.operator.ALDOperator.HidingMode |
Field Summary |
---|
Fields inherited from class de.unihalle.informatik.Alida.operator.ALDOperator |
---|
completeDAG, name, operatorExecutionEventlistenerList, portHashAccess, verbose, versionProvider |
Constructor Summary | |
---|---|
MeanFilter()
Constructor with default parameters sizeX=1, sizeY=1, sizeZ=0, sizeT=0, sizeC=0, kernelTruncation=3, sizeInterpretation=PHYSICALSIZE. |
|
MeanFilter(MTBImage img,
Integer sizeX,
Integer sizeY)
Constructor for mean filtering in x- and y-dimension. |
|
MeanFilter(MTBImage img,
Integer sizeX,
Integer sizeY,
Integer sizeZ)
Constructor for mean filtering in x-, y- and z-dimension. |
|
MeanFilter(MTBImage img,
Integer sizeX,
Integer sizeY,
Integer sizeZ,
Integer sizeT,
Integer sizeC,
MTBImageWindow.BoundaryPadding boundaryPadding)
Constructor for mean filtering. |
Method Summary | |
---|---|
void |
addStatusListener(loci.common.StatusListener statuslistener)
|
MTBImageWindow.BoundaryPadding |
getBoundaryPadding()
Get value of Parameter argument boundaryPadding. |
MTBImage |
getInputImg()
Get input image. |
MTBImage |
getMeanKernelC()
Get mean kernel image (non-normalized) in c-dimension for given parameters, null if size is zero in c-dimension |
MTBImage |
getMeanKernelT()
Get mean kernel image (non-normalized) in t-dimension for given parameters, null if size is zero in t-dimension |
MTBImage |
getMeanKernelX()
Get mean kernel image (non-normalized) in x-dimension for given parameters, null if size is zero in x-dimension |
MTBImage |
getMeanKernelY()
Get mean kernel image (non-normalized) in y-dimension for given parameters, null if size is zero in y-dimension |
MTBImage |
getMeanKernelZ()
Get mean kernel image (non-normalized) in z-dimension for given parameters, null if size is zero in z-dimension |
MTBImage.MTBImageType |
getResultImageType()
|
MTBImage |
getResultImg()
Get resulting image. |
Integer |
getSizeC()
Get standard deviation (size) in c-dimension. |
Integer |
getSizeT()
Get standard deviation (size) in t-dimension. |
Integer |
getSizeX()
Get standard deviation (size) in x-dimension. |
Integer |
getSizeY()
Get standard deviation (size) in y-dimension. |
Integer |
getSizeZ()
Get standard deviation (size) in z-dimension. |
protected MTBImage |
meanFilter()
compute the mean filter |
void |
notifyListeners(loci.common.StatusEvent e)
|
protected void |
operate()
This function calls the actual mean filtering method. |
protected Object |
readResolve()
Init function for deserialized objects. |
void |
removeStatusListener(loci.common.StatusListener statuslistener)
|
void |
setBoundaryPadding(MTBImageWindow.BoundaryPadding boundaryPadding)
Set value of Parameter argument boundaryPadding. |
void |
setInputImg(MTBImage img)
Set input image. |
void |
setSizeC(Integer sizeC)
Set standard deviation (size) in c-dimension. |
void |
setSizeT(Integer sizeT)
Set standard deviation (size) in t-dimension. |
void |
setSizeX(Integer sizeX)
Set standard deviation (size) in x-dimension. |
void |
setSizeY(Integer sizeY)
Set standard deviation (size) in y-dimension. |
void |
setSizeZ(Integer sizeZ)
Set standard deviation (size) in z-dimension. |
void |
validateCustom()
The validation of parameters and inputs. |
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, validateGeneric, writeHistory, writeHistory, writeHistory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MeanFilter() throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
public MeanFilter(MTBImage img, Integer sizeX, Integer sizeY) throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
img
- input imagesizeX
- standard deviation in x-dimensionsizeY
- standard deviation in y-dimension
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
public MeanFilter(MTBImage img, Integer sizeX, Integer sizeY, Integer sizeZ) throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
img
- input imagesizeX
- standard deviation in x-dimensionsizeY
- standard deviation in y-dimensionsizeZ
- standard deviation in z-dimension
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
public MeanFilter(MTBImage img, Integer sizeX, Integer sizeY, Integer sizeZ, Integer sizeT, Integer sizeC, MTBImageWindow.BoundaryPadding boundaryPadding) throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
img
- input imagesizeX
- standard deviation in x-dimensionsizeY
- standard deviation in y-dimensionsizeZ
- standard deviation in z-dimensionsizeT
- standard deviation in t-dimensionsizeC
- standard deviation in c-dimensionboundaryPadding
- determines how pixel values outside the image domain are treated (see LinearFilter
)
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 validateCustom() throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
validateCustom
in class de.unihalle.informatik.Alida.operator.ALDOperator
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
protected MTBImage meanFilter() throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException, de.unihalle.informatik.Alida.exceptions.ALDProcessingDAGException
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
de.unihalle.informatik.Alida.exceptions.ALDProcessingDAGException
public MTBImage getInputImg()
public void setInputImg(MTBImage img)
public MTBImage getResultImg()
public MTBImageWindow.BoundaryPadding getBoundaryPadding()
public void setBoundaryPadding(MTBImageWindow.BoundaryPadding boundaryPadding)
value
- of boundaryPaddingpublic Integer getSizeC()
public void setSizeC(Integer sizeC)
public Integer getSizeZ()
public void setSizeZ(Integer sizeZ)
public Integer getSizeY()
public void setSizeY(Integer sizeY)
public Integer getSizeX()
public void setSizeX(Integer sizeX)
public Integer getSizeT()
public void setSizeT(Integer sizeT)
public MTBImage getMeanKernelX()
public MTBImage getMeanKernelY()
public MTBImage getMeanKernelC()
public MTBImage getMeanKernelT()
public MTBImage getMeanKernelZ()
public MTBImage.MTBImageType getResultImageType()
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 |