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, setCurNumberOfParameters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDocumentationString, getFunctionString, toString
public TwoOperandsPixelBasedAbstractFunction()
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 <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.ParseException
public 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.ParseException
public 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.ParseException
public 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.ParseException
Copyright © 2015–2021 Fiji. All rights reserved.