public class WritablePolylineToPolylineRoiConverter extends AbstractMaskPredicateToRoiConverter<WritablePolyline,PolygonRoi>
WritablePolyline
to an PolygonRoi
of type
POLYLINE. This converter may be lossy, since PolygonRoi
s store
vertices as float
s.Constructor and Description |
---|
WritablePolylineToPolylineRoiConverter() |
Modifier and Type | Method and Description |
---|---|
PolygonRoi |
convert(WritablePolyline mask) |
Class<WritablePolyline> |
getInputType() |
Class<PolygonRoi> |
getOutputType() |
boolean |
isLossy() |
canConvert, canConvert, convert
canConvert, canConvert, canConvert, convert, convert, getType, populateInputCandidates, supports
getInfo, getPriority, setInfo, setPriority, toString
context, getContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
public WritablePolylineToPolylineRoiConverter()
public Class<PolygonRoi> getOutputType()
public Class<WritablePolyline> getInputType()
public PolygonRoi convert(WritablePolyline mask)
convert
in class AbstractMaskPredicateToRoiConverter<WritablePolyline,PolygonRoi>
public boolean isLossy()
isLossy
in class AbstractMaskPredicateToRoiConverter<WritablePolyline,PolygonRoi>
Copyright © 2014–2022 ImageJ. All rights reserved.