public class RealMaskRealIntervalToImageRoiConverter extends AbstractMaskPredicateToRoiConverter<RealMaskRealInterval,ImageRoi>
RealMaskRealInterval
to an ImageRoi
. This
conversion is lossy, since the MaskRealInterval must be rasterized.Constructor and Description |
---|
RealMaskRealIntervalToImageRoiConverter() |
Modifier and Type | Method and Description |
---|---|
boolean |
canConvert(Class<?> src,
Class<?> dest) |
boolean |
canConvert(ConversionRequest request) |
boolean |
canConvert(Object src,
Class<?> dest) |
boolean |
canConvert(Object src,
Type dest) |
ImageRoi |
convert(RealMaskRealInterval mask) |
Class<RealMaskRealInterval> |
getInputType() |
Class<ImageRoi> |
getOutputType() |
boolean |
isLossy() |
convert
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 RealMaskRealIntervalToImageRoiConverter()
public boolean canConvert(ConversionRequest request)
canConvert
in interface Converter<RealMaskRealInterval,ImageRoi>
canConvert
in class AbstractConverter<RealMaskRealInterval,ImageRoi>
public boolean canConvert(Object src, Type dest)
canConvert
in interface Converter<RealMaskRealInterval,ImageRoi>
canConvert
in class AbstractMaskPredicateToRoiConverter<RealMaskRealInterval,ImageRoi>
public boolean canConvert(Object src, Class<?> dest)
canConvert
in interface Converter<RealMaskRealInterval,ImageRoi>
canConvert
in class AbstractMaskPredicateToRoiConverter<RealMaskRealInterval,ImageRoi>
public boolean canConvert(Class<?> src, Class<?> dest)
canConvert
in interface Converter<RealMaskRealInterval,ImageRoi>
canConvert
in class AbstractConverter<RealMaskRealInterval,ImageRoi>
public Class<RealMaskRealInterval> getInputType()
public ImageRoi convert(RealMaskRealInterval mask)
convert
in class AbstractMaskPredicateToRoiConverter<RealMaskRealInterval,ImageRoi>
public boolean isLossy()
isLossy
in class AbstractMaskPredicateToRoiConverter<RealMaskRealInterval,ImageRoi>
Copyright © 2014–2022 ImageJ. All rights reserved.