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.DerivePathgetDerivePath()Where to find theMaskto compare, as a function of the source file-path.org.anchoranalysis.image.io.bean.stack.reader.StackReadergetStackReader()How to read theMaskfrom the file-system.booleanisInvert()If true theMaskis inverted before conversion into anObjectCollection.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)voidsetDerivePath(org.anchoranalysis.io.input.bean.path.DerivePath derivePath)Where to find theMaskto compare, as a function of the source file-path.voidsetInvert(boolean invert)If true theMaskis inverted before conversion into anObjectCollection.voidsetStackReader(org.anchoranalysis.image.io.bean.stack.reader.StackReader stackReader)How to read theMaskfrom the file-system.
-
Constructor Details
-
MaskAsObject
public MaskAsObject()
-
-
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:
loadAsObjectsin classorg.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 theMaskto compare, as a function of the source file-path. -
setDerivePath
public void setDerivePath(org.anchoranalysis.io.input.bean.path.DerivePath derivePath)Where to find theMaskto compare, as a function of the source file-path. -
getStackReader
public org.anchoranalysis.image.io.bean.stack.reader.StackReader getStackReader()How to read theMaskfrom the file-system. -
setStackReader
public void setStackReader(org.anchoranalysis.image.io.bean.stack.reader.StackReader stackReader)How to read theMaskfrom the file-system. -
isInvert
public boolean isInvert()If true theMaskis inverted before conversion into anObjectCollection. -
setInvert
public void setInvert(boolean invert)If true theMaskis inverted before conversion into anObjectCollection.
-