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, setCurNumberOfParametersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDocumentationString, getFunctionString, toStringpublic SingleOperandPixelBasedAbstractFunction()
public 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 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.ParseExceptionpublic abstract <R extends RealType<R>> float evaluate(R alpha) throws org.nfunk.jep.ParseException
alpha - The first number as a RealTypeorg.nfunk.jep.ParseExceptionCopyright © 2015–2021 Fiji. All rights reserved.