public class BinaryCompositeMaskPredicateToShapeRoiConverter extends AbstractMaskPredicateToRoiConverter<BinaryCompositeMaskPredicate<RealLocalizable>,ShapeRoi>
BinaryCompositeMaskPredicate
to ShapeRoi
. This
converter does not support Operators.NEGATE
or
Operators.RealTransformMaskOperator
. Note,
ShapeRoi.not(ShapeRoi)
is equivalent to Operators.MINUS
.Constructor and Description |
---|
BinaryCompositeMaskPredicateToShapeRoiConverter() |
Modifier and Type | Method and Description |
---|---|
boolean |
canConvert(Object src,
Class<?> dest) |
boolean |
canConvert(Object src,
Type dest) |
ShapeRoi |
convert(BinaryCompositeMaskPredicate<RealLocalizable> mask) |
Class<BinaryCompositeMaskPredicate<RealLocalizable>> |
getInputType() |
Class<ShapeRoi> |
getOutputType() |
boolean |
isLossy() |
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 BinaryCompositeMaskPredicateToShapeRoiConverter()
public boolean canConvert(Object src, Type dest)
canConvert
in interface Converter<BinaryCompositeMaskPredicate<RealLocalizable>,ShapeRoi>
canConvert
in class AbstractMaskPredicateToRoiConverter<BinaryCompositeMaskPredicate<RealLocalizable>,ShapeRoi>
public boolean canConvert(Object src, Class<?> dest)
canConvert
in interface Converter<BinaryCompositeMaskPredicate<RealLocalizable>,ShapeRoi>
canConvert
in class AbstractMaskPredicateToRoiConverter<BinaryCompositeMaskPredicate<RealLocalizable>,ShapeRoi>
public Class<BinaryCompositeMaskPredicate<RealLocalizable>> getInputType()
public ShapeRoi convert(BinaryCompositeMaskPredicate<RealLocalizable> mask)
convert
in class AbstractMaskPredicateToRoiConverter<BinaryCompositeMaskPredicate<RealLocalizable>,ShapeRoi>
public boolean isLossy()
isLossy
in class AbstractMaskPredicateToRoiConverter<BinaryCompositeMaskPredicate<RealLocalizable>,ShapeRoi>
Copyright © 2014–2022 ImageJ. All rights reserved.