edu.jhu.tmaj.beans.masks.lasso
Class LassoMask
java.lang.Object
edu.jhu.tmaj.beans.masks.AbstractMask
edu.jhu.tmaj.beans.masks.lasso.LassoMask
- All Implemented Interfaces:
- Mask, java.io.Serializable, java.lang.Comparable<Mask>
public final class LassoMask
- extends AbstractMask
- implements Mask, java.io.Serializable
Represents a mask that the user draws with the free-hand (circle) tool on an image to select
a region of interest.
- See Also:
- Serialized Form
Constructor Summary |
LassoMask(java.lang.String maskName,
boolean isAllIncludedInDefault)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.lang.Comparable |
compareTo |
LassoMask
public LassoMask(java.lang.String maskName,
boolean isAllIncludedInDefault)
updateMaskSpecifics
public void updateMaskSpecifics(Mask mask)
- Specified by:
updateMaskSpecifics
in class AbstractMask
setIsAllIncludedInDefault
public void setIsAllIncludedInDefault(boolean isAllIncludedInDefault)
isAllIncludedInDefault
public boolean isAllIncludedInDefault()
addLassoedFile
public void addLassoedFile(LassoedFile lassoedFile)
addLasso
public void addLasso(ExternalFile externalFile,
Lasso lasso)
getLasso
public Lasso getLasso(ExternalFile file)
getLassoForFileName
public Lasso getLassoForFileName(ExternalFile file)
getAllFiles
public java.util.Set<ExternalFile> getAllFiles()
getLassoedFile
public LassoedFile getLassoedFile(ExternalFile externalFile)
getMask
public boolean[] getMask(ij.ImagePlus imagePlus,
ExternalFile file)
- Specified by:
getMask
in interface Mask
computeMask
public boolean[] computeMask(ij.ImagePlus imagePlus,
ExternalFile file)
getLassoMaskID
public java.lang.Integer getLassoMaskID()
setLassoMaskID
public void setLassoMaskID(java.lang.Integer lassoMaskID)