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 ChannelcreateFromDimensions(Dimensions dimensions) Creates a channel from the given dimensions.booleanbooleanvoidsetCreateShort(boolean createShort) voidsetObjects(ObjectCollectionProvider objects) voidsetSuppressZ(boolean suppressZ) Methods inherited from class org.anchoranalysis.plugin.image.bean.channel.provider.FromDimensionsBase
get, getDimensions, setDimensionsMethods inherited from class org.anchoranalysis.image.bean.provider.ChannelProvider
getAsStackMethods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitializationMethods 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:FromDimensionsBaseCreates a channel from the given dimensions.- Specified by:
createFromDimensionsin classFromDimensionsBase- Parameters:
dimensions- theDimensionsto use for creating the channel- Returns:
- a new
Channelwith 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)
-