public abstract class TwoOperandsPixelBasedAbstractFunction<T extends RealType<T>> extends org.nfunk.jep.function.PostfixMathCommand implements ImgLibFunction<T>
| Constructor and Description |
|---|
TwoOperandsPixelBasedAbstractFunction() |
| Modifier and Type | Method and Description |
|---|---|
<R extends RealType<R>> |
evaluate(Img<R> img1,
Img<R> img2)
Evaluate this function on two images, and return result as an image.
|
<R extends RealType<R>> |
evaluate(Img<R> img,
R alpha)
Right-singleton expansion.
|
<R extends RealType<R>> |
evaluate(R alpha,
Img<R> img)
Left-singleton expansion.
|
abstract <R extends RealType<R>> |
evaluate(R t1,
R t2)
Evaluate this function on two numeric types.
|
void |
run(Stack inStack) |
checkNumberOfParameters, checkStack, getNumberOfParameters, setCurNumberOfParametersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDocumentationString, getFunctionString, toStringpublic TwoOperandsPixelBasedAbstractFunction()
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 <R extends RealType<R>> Img<FloatType> evaluate(Img<R> img1, Img<R> img2) throws org.nfunk.jep.ParseException
img1 - The first imageimg2 - The second imageorg.nfunk.jep.ParseExceptionpublic final <R extends RealType<R>> Img<FloatType> evaluate(Img<R> img, R alpha) throws org.nfunk.jep.ParseException
img - The imagealpha - The number to do singleton expansion onorg.nfunk.jep.ParseExceptionpublic final <R extends RealType<R>> Img<FloatType> evaluate(R alpha, Img<R> img) throws org.nfunk.jep.ParseException
img - The imagealpha - The number to do singleton expansion onorg.nfunk.jep.ParseExceptionpublic abstract <R extends RealType<R>> float evaluate(R t1, R t2) throws org.nfunk.jep.ParseException
t1 - The first numbert2 - The second numberorg.nfunk.jep.ParseExceptionCopyright © 2015–2021 Fiji. All rights reserved.