Class GradientXY

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

public class GradientXY extends GradientBaseAddSum
Calculates a Channel's gradient along the x and y axes.

Note the z-dimension is not considered.

Author:
Owen Feehan
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean[]
    Creates an array of booleans indicating which axes to calculate the gradient for.

    Methods inherited from class org.anchoranalysis.plugin.image.bean.channel.provider.gradient.GradientBaseAddSum

    createFromChannel, getAddSum, setAddSum

    Methods inherited from class org.anchoranalysis.plugin.image.bean.channel.provider.gradient.GradientBase

    convertToOutputType, getScaleFactor, isOutputShort, setOutputShort, setScaleFactor

    Methods inherited from class org.anchoranalysis.image.bean.provider.ChannelProviderUnary

    get, getChannel, setChannel

    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

    • GradientXY

      public GradientXY()
  • Method Details

    • createAxisArray

      protected boolean[] createAxisArray()
      Description copied from class: GradientBaseAddSum
      Creates an array of booleans indicating which axes to calculate the gradient for.
      Specified by:
      createAxisArray in class GradientBaseAddSum
      Returns:
      a boolean array where true indicates the gradient should be calculated for that axis