Interface AnnotationWithMarks
- All Superinterfaces:
Annotation
- All Known Implementing Classes:
DualMarksAnnotation
An image-annotation that involves a mark-collection.
- Author:
- Owen Feehan
-
Method Summary
Modifier and TypeMethodDescriptiondefault ObjectCollection
convertToObjects
(Dimensions dimensions) Creates an object-collection that is a voxelized representation of the marks in the annotation.marks()
The marks associated with the annotationregion()
The region(s) of the marks that specifies the annotation.
-
Method Details
-
marks
MarkCollection marks()The marks associated with the annotation- Returns:
- the marks
-
region
RegionMembershipWithFlags region()The region(s) of the marks that specifies the annotation.As marks have multiple regions, this identifies which regions are included in the annotation.
- Returns:
- the identifier
-
convertToObjects
Creates an object-collection that is a voxelized representation of the marks in the annotation.- Parameters:
dimensions
- size of image the annotations pertain to.- Returns:
- newly created objects
-