public class DefaultROIService extends AbstractService implements ROIService
ROIService.ROI_PROPERTY| Constructor and Description |
|---|
DefaultROIService() |
| Modifier and Type | Method and Description |
|---|---|
Mask |
toMask(Object o)
Attempts to convert the given
Object to a Mask |
MaskInterval |
toMaskInterval(Object o)
Attempts to convert the given
Object to a MaskInterval |
MaskPredicate<?> |
toMaskPredicate(Object o)
Attempts to convert the given
Object to a MaskPredicate. |
RandomAccessibleInterval<BoolType> |
toRandomAccessibleInterval(Object o)
Attempts to convert the given
Object to a
RandomAccessibleInterval<BoolType>; otherwise, an exception is
thrown. |
RandomAccessible<BoolType> |
toRandomAcessible(Object o)
Attempts to convert the given
Object to a
RandomAccessible<BoolType>; otherwise, an exception is thrown. |
RealMask |
toRealMask(Object o)
Attempts to convert the given
Object to a RealMask |
RealMaskRealInterval |
toRealMaskRealInterval(Object o)
Attempts to convert the given
Object to a
RealMaskRealInterval |
RealRandomAccessible<BoolType> |
toRealRandomAccessible(Object o)
Attempts to convert the given
Object to a
RealRandomAccessible. |
RealRandomAccessibleRealInterval<BoolType> |
toRealRandomAccessibleRealInterval(Object o)
Attempts to convert the given
Object to a
RealRandomAccessibleRealInterval. |
getContext, setContext, toStringgetInfo, getPriority, setInfo, setPrioritycontextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitadd, clear, closedBox, closedEllipsoid, closedPolygon2D, closedPolygon2D, closedSphere, closedSuperEllipsoid, getROIs, hasROIs, kDTreeRealPointCollection, kDTreeRealPointCollection, line, line, openBox, openEllipsoid, openPolygon2D, openPolygon2D, openSphere, openSuperEllipsoid, pointMask, pointMask, polygon2D, polygon2D, polyline, realPointCollection, realPointCollection, realPointSampleListRealPointCollection, realPointSampleListRealPointCollectioninitialize, registerEventHandlersgetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersiondisposepublic Mask toMask(Object o)
ROIServiceObject to a MasktoMask in interface ROIServiceo - the Object to be converted. This object should be something like
an ImageJ 1.x Roi, RandomAccessible, etc.Mask representation of the given object, if possiblepublic MaskInterval toMaskInterval(Object o)
ROIServiceObject to a MaskIntervaltoMaskInterval in interface ROIServiceo - the Object to be converted. This object should be something like
an ImageJ 1.x Roi, RandomAccessibleInterval, etc.MaskInterval representation of the given object, if
possiblepublic RealMask toRealMask(Object o)
ROIServiceObject to a RealMasktoRealMask in interface ROIServiceo - the Object to be converted. This object should be something like
an ImageJ 1.x Roi, RealRandomAccessible, etc.RealMask representation of the given object, if possiblepublic RealMaskRealInterval toRealMaskRealInterval(Object o)
ROIServiceObject to a
RealMaskRealIntervaltoRealMaskRealInterval in interface ROIServiceo - the Object to be converted. This object should be something like
an ImageJ 1.x Roi, RealRandomAccessibleRealInterval, etc.RealMaskRealInterval representation of the given object,
if possiblepublic MaskPredicate<?> toMaskPredicate(Object o)
ROIServiceObject to a MaskPredicate.toMaskPredicate in interface ROIServiceo - the Object to be converted. This object should be something like
an ImageJ 1.x Roi, (Real)RandomAccessible, etc.MaskPredicate representation of the given Object, if
possiblepublic RandomAccessible<BoolType> toRandomAcessible(Object o)
ROIServiceObject to a
RandomAccessible<BoolType>; otherwise, an exception is thrown.toRandomAcessible in interface ROIServiceo - the Object to be converted. In general, this should be an ImageJ
1.x Roi or an Imglib2 MaskPredicate.public RandomAccessibleInterval<BoolType> toRandomAccessibleInterval(Object o)
ROIServiceObject to a
RandomAccessibleInterval<BoolType>; otherwise, an exception is
thrown.toRandomAccessibleInterval in interface ROIServiceo - the Object to be converted. In general, this should be an ImageJ
1.x Roi or an ImgLib2 MaskPredicate.public RealRandomAccessible<BoolType> toRealRandomAccessible(Object o)
ROIServiceObject to a
RealRandomAccessible.toRealRandomAccessible in interface ROIServiceo - the Object to be converted. In general, this should be an ImageJ
1.x Roi or an ImgLib2 MaskPredicate.public RealRandomAccessibleRealInterval<BoolType> toRealRandomAccessibleRealInterval(Object o)
ROIServiceObject to a
RealRandomAccessibleRealInterval.toRealRandomAccessibleRealInterval in interface ROIServiceo - the Object to be converted. In general, this should be an ImageJ
1.x Roi or an ImgLib2 MaskPredicate.Copyright © 2014–2022 ImageJ. All rights reserved.