Class And

Object
AnchorBean<MaskProvider>
InitializableBean<MaskProvider, ImageInitialization>
ImageBean<MaskProvider>
BeanProviderAsStackBase<MaskProvider, Mask>
MaskProvider
MaskProviderUnary
All Implemented Interfaces:
Provider<Mask>, ProviderAsStack

public class And extends CombineBase
Outputs the logical operation and voxelwise on both masks, modifying {mask} with the result.
Author:
Owen Feehan
  • Constructor Summary

    Constructors
    Constructor
    Description
    And()
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Mask
    createFromTwoMasks(Mask maskToModify, Mask maskOther)
    Creates a mask from some combination of two masks.

    Methods inherited from class org.anchoranalysis.plugin.image.bean.mask.provider.combine.CombineBase

    createFromMask, getReceive, setReceive

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

    get, getMask, setMask

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

    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

    • And

      public And()
  • Method Details

    • createFromTwoMasks

      protected Mask createFromTwoMasks(Mask maskToModify, Mask maskOther)
      Description copied from class: CombineBase
      Creates a mask from some combination of two masks.
      Specified by:
      createFromTwoMasks in class CombineBase
      Parameters:
      maskToModify - first mask (which is also the mask modified with the result)
      maskOther - second mask (which is not modified)
      Returns:
      either maskToModify or maskOther depending on implementation