Class MaskAsObject

Object
org.anchoranalysis.bean.AnchorBean<org.anchoranalysis.annotation.io.bean.comparer.ComparableSource>
org.anchoranalysis.annotation.io.bean.comparer.ComparableSource
org.anchoranalysis.plugin.annotation.bean.comparer.MaskAsObject

public class MaskAsObject
extends org.anchoranalysis.annotation.io.bean.comparer.ComparableSource
Loads Mask to compared, converting it into an ObjectMask.
Author:
Owen Feehan
  • Constructor Summary

    Constructors 
    Constructor Description
    MaskAsObject()  
  • Method Summary

    Modifier and Type Method Description
    org.anchoranalysis.io.input.bean.path.DerivePath getDerivePath()
    Where to find the Mask to compare, as a function of the source file-path.
    org.anchoranalysis.image.io.bean.stack.reader.StackReader getStackReader()
    How to read the Mask from the file-system.
    boolean isInvert()
    If true the Mask is inverted before conversion into an ObjectCollection.
    org.anchoranalysis.annotation.io.image.findable.Findable<org.anchoranalysis.image.voxel.object.ObjectCollection> loadAsObjects​(Path reference, org.anchoranalysis.image.core.dimensions.Dimensions dimensions, boolean debugMode, org.anchoranalysis.core.time.OperationContext context)  
    void setDerivePath​(org.anchoranalysis.io.input.bean.path.DerivePath derivePath)
    Where to find the Mask to compare, as a function of the source file-path.
    void setInvert​(boolean invert)
    If true the Mask is inverted before conversion into an ObjectCollection.
    void setStackReader​(org.anchoranalysis.image.io.bean.stack.reader.StackReader stackReader)
    How to read the Mask from the file-system.

    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

  • Method Details

    • loadAsObjects

      public org.anchoranalysis.annotation.io.image.findable.Findable<org.anchoranalysis.image.voxel.object.ObjectCollection> loadAsObjects​(Path reference, org.anchoranalysis.image.core.dimensions.Dimensions dimensions, boolean debugMode, org.anchoranalysis.core.time.OperationContext context) throws org.anchoranalysis.io.input.InputReadFailedException
      Specified by:
      loadAsObjects in class org.anchoranalysis.annotation.io.bean.comparer.ComparableSource
      Throws:
      org.anchoranalysis.io.input.InputReadFailedException
    • getDerivePath

      public org.anchoranalysis.io.input.bean.path.DerivePath getDerivePath()
      Where to find the Mask to compare, as a function of the source file-path.
    • setDerivePath

      public void setDerivePath​(org.anchoranalysis.io.input.bean.path.DerivePath derivePath)
      Where to find the Mask to compare, as a function of the source file-path.
    • getStackReader

      public org.anchoranalysis.image.io.bean.stack.reader.StackReader getStackReader()
      How to read the Mask from the file-system.
    • setStackReader

      public void setStackReader​(org.anchoranalysis.image.io.bean.stack.reader.StackReader stackReader)
      How to read the Mask from the file-system.
    • isInvert

      public boolean isInvert()
      If true the Mask is inverted before conversion into an ObjectCollection.
    • setInvert

      public void setInvert​(boolean invert)
      If true the Mask is inverted before conversion into an ObjectCollection.