public class MorphologicalOperation extends MaskProviderUnary
Note that the slices are processed independently of each other, as the procedure only supports 2D morphological operations.
Constructor and Description |
---|
MorphologicalOperation() |
Modifier and Type | Method and Description |
---|---|
Mask |
createFromMask(Mask mask)
Creates a
Mask given the entity provided by the delegate. |
String |
getCommand()
One of: open, close, fill, erode, dilate, skel, outline
|
int |
getIterations()
iterations for erode, dilate, open, close
|
void |
setCommand(String command)
One of: open, close, fill, erode, dilate, skel, outline
|
void |
setIterations(int iterations)
iterations for erode, dilate, open, close
|
get, getMask, setMask
getAsStack
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public Mask createFromMask(Mask mask) throws ProvisionFailedException
MaskProviderUnary
Mask
given the entity provided by the delegate.createFromMask
in class MaskProviderUnary
mask
- the entity provided by the delegate.Mask
that is returned by the provider.ProvisionFailedException
- if the provider cannot complete successfully.public String getCommand()
public void setCommand(String command)
public int getIterations()
public void setIterations(int iterations)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.