Class DistanceTransformForEachObject3D

Object
AnchorBean<ChannelProvider>
InitializableBean<ChannelProvider, ImageInitialization>
ImageBean<ChannelProvider>
BeanProviderAsStackBase<ChannelProvider, Channel>
ChannelProvider
FromDimensionsBase
DistanceTransformForEachObject3D
All Implemented Interfaces:
Provider<Channel>, ProviderAsStack

public class DistanceTransformForEachObject3D extends FromDimensionsBase
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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Channel
    createFromDimensions(Dimensions dimensions)
     
    ObjectCollectionProvider
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • DistanceTransformForEachObject3D

      public DistanceTransformForEachObject3D()
  • Method Details

    • createFromDimensions

      protected Channel createFromDimensions(Dimensions dimensions) throws ProvisionFailedException
      Specified by:
      createFromDimensions in class FromDimensionsBase
      Throws:
      ProvisionFailedException
    • getObjects

      public ObjectCollectionProvider getObjects()
    • setObjects

      public void setObjects(ObjectCollectionProvider objects)
    • isSuppressZ

      public boolean isSuppressZ()
    • setSuppressZ

      public void setSuppressZ(boolean suppressZ)
    • isCreateShort

      public boolean isCreateShort()
    • setCreateShort

      public void setCreateShort(boolean createShort)