R
- type converting from, probably RandomAccessible or
RandomAccessibleIntervalM
- type converting to, probably Mask or MaskIntervalpublic abstract class AbstractRAToMaskConverter<R extends RandomAccessible<BoolType>,M extends Mask> extends AbstractConverter<R,M>
RandomAccessible
to Mask
.
This is specifically for RandomAccessible<BoolType>
and should not be
used for other types.Constructor and Description |
---|
AbstractRAToMaskConverter() |
Modifier and Type | Method and Description |
---|---|
boolean |
canConvert(Object src,
Class<?> dest) |
boolean |
canConvert(Object src,
Type dest) |
<T> T |
convert(Object src,
Class<T> dest) |
abstract M |
convert(R src) |
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
getInputType, getOutputType
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
public boolean canConvert(Object src, Type dest)
canConvert
in interface Converter<R extends RandomAccessible<BoolType>,M extends Mask>
canConvert
in class AbstractConverter<R extends RandomAccessible<BoolType>,M extends Mask>
public boolean canConvert(Object src, Class<?> dest)
canConvert
in interface Converter<R extends RandomAccessible<BoolType>,M extends Mask>
canConvert
in class AbstractConverter<R extends RandomAccessible<BoolType>,M extends Mask>
Copyright © 2014–2022 ImageJ. All rights reserved.