public class PolylineToPolylineRoiConverter extends AbstractMaskPredicateToRoiConverter<Polyline,PolygonRoi>
Polyline
to an PolygonRoi
of type POLYLINE. This
converter may be lossy, since PolygonRoi
s store vertices as
float
s.Constructor and Description |
---|
PolylineToPolylineRoiConverter() |
Modifier and Type | Method and Description |
---|---|
PolygonRoi |
convert(Polyline mask) |
Class<Polyline> |
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 Class<PolygonRoi> getOutputType()
public PolygonRoi convert(Polyline mask)
convert
in class AbstractMaskPredicateToRoiConverter<Polyline,PolygonRoi>
public boolean isLossy()
isLossy
in class AbstractMaskPredicateToRoiConverter<Polyline,PolygonRoi>
Copyright © 2014–2022 ImageJ. All rights reserved.