Package org.anchoranalysis.mpp.overlay
Class OverlayMark
- Author:
- Owen Feehan
-
Constructor Summary
ConstructorsConstructorDescriptionOverlayMark(Mark mark, RegionMembershipWithFlags regionMembership) Creates a newOverlayMarkinstance. -
Method Summary
Modifier and TypeMethodDescriptionbox(DrawOverlay overlayWriter, Dimensions dim) A bounding-box around the overlay.protected booleancreateObject(Dimensions dimensionsEntireImage, BinaryValuesByte binaryValuesOut) Derives an object-mask representation of the overlay to be drawn withoverlayWriter.booleanintGets the identifier of the mark.getMark()TheMarkto overlay.inthashCode()
-
Constructor Details
-
OverlayMark
Creates a newOverlayMarkinstance.- Parameters:
mark- TheMarkto overlay.regionMembership- The region-membership associated withmark.
-
-
Method Details
-
box
Description copied from class:OverlayA bounding-box around the overlay. -
createObject
public ObjectWithProperties createObject(Dimensions dimensionsEntireImage, BinaryValuesByte binaryValuesOut) throws CreateException Description copied from class:OverlayDerives an object-mask representation of the overlay to be drawn withoverlayWriter.- Specified by:
createObjectin classOverlay- Parameters:
dimensionsEntireImage- how large the image is onto which the overlay will be drawn.binaryValuesOut- what constitutes on and off pixels in the produced object-mask.- Returns:
- the created object-mask with associated properties.
- Throws:
CreateException- if the object cannot be created successfully.
-
getIdentifier
public int getIdentifier()Gets the identifier of the mark.- Returns:
- the identifier of the
Mark
-
equals
-
canEqual
-
hashCode
public int hashCode() -
getMark
TheMarkto overlay.
-