public abstract class SingleOperandAbstractFunction<T extends RealType<T>> extends org.nfunk.jep.function.PostfixMathCommand implements ImgLibFunction<T>
| Constructor and Description |
|---|
SingleOperandAbstractFunction() |
| Modifier and Type | Method and Description |
|---|---|
abstract <R extends RealType<R>> |
evaluate(Img<R> img)
Evaluate this function on one ImgLib images.
|
abstract <R extends RealType<R>> |
evaluate(R alpha)
Evaluate this function on a numeric
RealType type. |
void |
run(Stack inStack) |
checkNumberOfParameters, checkStack, getNumberOfParameters, setCurNumberOfParametersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDocumentationString, getFunctionString, toStringpublic final void run(Stack inStack) throws org.nfunk.jep.ParseException
run in interface org.nfunk.jep.function.PostfixMathCommandIrun in class org.nfunk.jep.function.PostfixMathCommandorg.nfunk.jep.ParseExceptionpublic abstract <R extends RealType<R>> Img<FloatType> evaluate(Img<R> img) throws org.nfunk.jep.ParseException
Img of
FloatType is returned, so as to avoid underflow and overflow
problems on bounded types (e.g. ByeType).img - the imageorg.nfunk.jep.ParseExceptionpublic abstract <R extends RealType<R>> Img<FloatType> evaluate(R alpha) throws org.nfunk.jep.ParseException
RealType type. A new
Img of FloatType is returned, so as to avoid underflow
and overflow problems on bounded types (e.g. ByeType).alpha - the numeric typeorg.nfunk.jep.ParseExceptionCopyright © 2015–2021 Fiji. All rights reserved.