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, setCurNumberOfParameters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDocumentationString, getFunctionString, toString
public final void run(Stack inStack) throws org.nfunk.jep.ParseException
run
in interface org.nfunk.jep.function.PostfixMathCommandI
run
in class org.nfunk.jep.function.PostfixMathCommand
org.nfunk.jep.ParseException
public 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.ParseException
public 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.ParseException
Copyright © 2015–2021 Fiji. All rights reserved.