public class LegacyOMEROROIService extends DefaultROIService
ROIService
for working with ROIs in OMERO and imagej-legacy.Modifier and Type | Field and Description |
---|---|
static String |
LEGACY_OMERO_ROI |
static String |
OMERO_ROI_C |
static String |
OMERO_ROI_T |
static String |
OMERO_ROI_Z |
ROI_PROPERTY
Constructor and Description |
---|
LegacyOMEROROIService() |
Modifier and Type | Method and Description |
---|---|
void |
add(Object roi,
Object img)
Attaches the given ROI to the given image
|
long |
getLegacyRoiId()
Return a unique ID for identify
Roi s. |
boolean |
hasROIs(Object o)
Check if the given
Object is or has ROIs |
toMask, toMaskInterval, toMaskPredicate, toRandomAccessibleInterval, toRandomAcessible, toRealMask, toRealMaskRealInterval, toRealRandomAccessible, toRealRandomAccessibleRealInterval
getContext, setContext, toString
getInfo, getPriority, setInfo, setPriority
context
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clear, closedBox, closedEllipsoid, closedPolygon2D, closedPolygon2D, closedSphere, closedSuperEllipsoid, getROIs, kDTreeRealPointCollection, kDTreeRealPointCollection, line, line, openBox, openEllipsoid, openPolygon2D, openPolygon2D, openSphere, openSuperEllipsoid, pointMask, pointMask, polygon2D, polygon2D, polyline, realPointCollection, realPointCollection, realPointSampleListRealPointCollection, realPointSampleListRealPointCollection
initialize, registerEventHandlers
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
dispose
public static final String LEGACY_OMERO_ROI
public static final String OMERO_ROI_Z
public static final String OMERO_ROI_T
public static final String OMERO_ROI_C
public void add(Object roi, Object img)
ROIService
roi
- ROI (most likely MaskPredicate
) to be attachedimg
- image to attach ROI topublic boolean hasROIs(Object o)
ROIService
Object
is or has ROIso
- Object
to checkpublic long getLegacyRoiId()
Roi
s.Copyright © 2014–2022 ImageJ. All rights reserved.