public abstract class SingleOperandPixelBasedAbstractFunction<T extends RealType<T>> extends org.nfunk.jep.function.PostfixMathCommand implements ImgLibFunction<T>
Constructor and Description |
---|
SingleOperandPixelBasedAbstractFunction() |
Modifier and Type | Method and Description |
---|---|
Img<FloatType> |
evaluate(Img<T> img)
|
abstract <R extends RealType<R>> |
evaluate(R alpha)
Evaluate this function a numeric types.
|
void |
run(Stack inStack) |
checkNumberOfParameters, checkStack, getNumberOfParameters, setCurNumberOfParameters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDocumentationString, getFunctionString, toString
public SingleOperandPixelBasedAbstractFunction()
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 final Img<FloatType> evaluate(Img<T> img) throws org.nfunk.jep.ParseException
Img
of FloatType
, where every pixel is
the function applied on the corresponding pixel of the source image.img
- The source imageorg.nfunk.jep.ParseException
public abstract <R extends RealType<R>> float evaluate(R alpha) throws org.nfunk.jep.ParseException
alpha
- The first number as a RealType
org.nfunk.jep.ParseException
Copyright © 2015–2021 Fiji. All rights reserved.