public class FillHoles extends MaskProviderUnary
Constructor and Description |
---|
FillHoles() |
Modifier and Type | Method and Description |
---|---|
Mask |
createFromMask(Mask mask)
Creates a
Mask given the entity provided by the delegate. |
UnitValueExtent |
getMaxVolume() |
boolean |
isSkipAtBorder()
If true we do not fill any objects that touch the border
|
void |
setMaxVolume(UnitValueExtent maxVolume) |
void |
setSkipAtBorder(boolean skipAtBorder)
If true we do not fill any objects that touch the border
|
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 UnitValueExtent getMaxVolume()
public void setMaxVolume(UnitValueExtent maxVolume)
public boolean isSkipAtBorder()
public void setSkipAtBorder(boolean skipAtBorder)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.