Class DistanceTransformForEachObject3D
Object
AnchorBean<ChannelProvider>
InitializableBean<ChannelProvider,ImageInitialization>
ImageBean<ChannelProvider>
BeanProviderAsStackBase<ChannelProvider,Channel>
ChannelProvider
FromDimensionsBase
DistanceTransformForEachObject3D
- All Implemented Interfaces:
Provider<Channel>
,ProviderAsStack
Like
DistanceTransform3D
but applies the distance transform separately for each object in
a collection.
A new channel is always created i.e. the input channel is unchanged.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Channel
createFromDimensions
(Dimensions dimensions) Creates a channel from the given dimensions.boolean
boolean
void
setCreateShort
(boolean createShort) void
setObjects
(ObjectCollectionProvider objects) void
setSuppressZ
(boolean suppressZ) Methods inherited from class org.anchoranalysis.plugin.image.bean.channel.provider.FromDimensionsBase
get, getDimensions, setDimensions
Methods inherited from class org.anchoranalysis.image.bean.provider.ChannelProvider
getAsStack
Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
DistanceTransformForEachObject3D
public DistanceTransformForEachObject3D()
-
-
Method Details
-
createFromDimensions
Description copied from class:FromDimensionsBase
Creates a channel from the given dimensions.- Specified by:
createFromDimensions
in classFromDimensionsBase
- Parameters:
dimensions
- theDimensions
to use for creating the channel- Returns:
- a new
Channel
with the specified dimensions - Throws:
ProvisionFailedException
- if the channel creation fails
-
getObjects
-
setObjects
-
isSuppressZ
public boolean isSuppressZ() -
setSuppressZ
public void setSuppressZ(boolean suppressZ) -
isCreateShort
public boolean isCreateShort() -
setCreateShort
public void setCreateShort(boolean createShort)
-