public class Polygon2DToPolygonRoiConverter extends AbstractMaskPredicateToRoiConverter<net.imglib2.roi.geom.real.Polygon2D,ij.gui.PolygonRoi>
Polygon2D to a PolygonRoi of type POLYGON. This
converter is lossy, since PolygonRois store vertices as
floats and the boundary behavior of this Polygon2D is lost.| Constructor and Description |
|---|
Polygon2DToPolygonRoiConverter() |
| Modifier and Type | Method and Description |
|---|---|
ij.gui.PolygonRoi |
convert(net.imglib2.roi.geom.real.Polygon2D mask) |
Class<net.imglib2.roi.geom.real.Polygon2D> |
getInputType() |
Class<ij.gui.PolygonRoi> |
getOutputType() |
boolean |
isLossy() |
canConvert, canConvert, convertpopulateInputCandidates, supportsgetInfo, getPriority, setInfo, setPriority, toStringcontext, getContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanConvert, canConvert, canConvert, convert, convert, getTypegetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersionpublic Class<ij.gui.PolygonRoi> getOutputType()
public Class<net.imglib2.roi.geom.real.Polygon2D> getInputType()
public ij.gui.PolygonRoi convert(net.imglib2.roi.geom.real.Polygon2D mask)
convert in class AbstractMaskPredicateToRoiConverter<net.imglib2.roi.geom.real.Polygon2D,ij.gui.PolygonRoi>public boolean isLossy()
isLossy in class AbstractMaskPredicateToRoiConverter<net.imglib2.roi.geom.real.Polygon2D,ij.gui.PolygonRoi>Copyright © 2009–2025 ImageJ. All rights reserved.