public final class ImgLibGaussConv<T extends RealType<T>> extends TwoOperandsAbstractFunction<T>
Constructor and Description |
---|
ImgLibGaussConv() |
Modifier and Type | Method and Description |
---|---|
<R extends RealType<R>> |
evaluate(Img<R> img1,
Img<R> img2)
Evaluate this function on two ImgLib images.
|
<R extends RealType<R>> |
evaluate(Img<R> img,
R alpha)
Evaluate this function on an ImgLib images and a numeric
RealType
type, right singleton expansion. |
<R extends RealType<R>> |
evaluate(R alpha,
Img<R> img)
Evaluate this function on an ImgLib images and a numeric
RealType
type, left singleton expansion. |
<R extends RealType<R>> |
evaluate(R t1,
R t2)
Evaluate this function on two numeric types.
|
String |
getDocumentationString()
Returns a documentation string that documents in enough details what the
function does, and how.
|
String |
getFunctionString()
Return a String containing the function name, that is, how this function
must be represented in an expression to be called.
|
String |
toString()
Return a String describing this operator.
|
run
checkNumberOfParameters, checkStack, getNumberOfParameters, setCurNumberOfParameters
public String toString()
ImgLibFunction
public String getDocumentationString()
ImgLibFunction
Example:
>> gauss(A, sigma)
public String getFunctionString()
ImgLibFunction
public final <R extends RealType<R>> Img<FloatType> evaluate(Img<R> img, R alpha) throws org.nfunk.jep.ParseException
TwoOperandsAbstractFunction
RealType
type, right singleton expansion. A new Img
of FloatType
is returned, so as to avoid underflow and overflow problems on bounded
types (e.g. ByeType). This method should implement a singleton expansion
of the method TwoOperandsAbstractFunction.evaluate(Img, Img)
, as meant by the implement
function.evaluate
in class TwoOperandsAbstractFunction<T extends RealType<T>>
img
- the imagealpha
- the numeric typeorg.nfunk.jep.ParseException
public final <R extends RealType<R>> float evaluate(R t1, R t2) throws org.nfunk.jep.ParseException
TwoOperandsAbstractFunction
evaluate
in class TwoOperandsAbstractFunction<T extends RealType<T>>
t1
- The first numbert2
- The second numberorg.nfunk.jep.ParseException
public final <R extends RealType<R>> Img<FloatType> evaluate(Img<R> img1, Img<R> img2) throws org.nfunk.jep.ParseException
TwoOperandsAbstractFunction
Img
of
FloatType
is returned, so as to avoid underflow and overflow
problems on bounded types (e.g. ByeType).evaluate
in class TwoOperandsAbstractFunction<T extends RealType<T>>
img1
- the first imageimg2
- the second imageorg.nfunk.jep.ParseException
public final <R extends RealType<R>> Img<FloatType> evaluate(R alpha, Img<R> img) throws org.nfunk.jep.ParseException
TwoOperandsAbstractFunction
RealType
type, left singleton expansion. A new Img
of FloatType
is
returned, so as to avoid underflow and overflow problems on bounded types
(e.g. ByeType). This method should implement a singleton expansion of the
method TwoOperandsAbstractFunction.evaluate(Img, Img)
, as meant by the implement function.evaluate
in class TwoOperandsAbstractFunction<T extends RealType<T>>
alpha
- the numeric typeimg
- the imageorg.nfunk.jep.ParseException
Copyright © 2015–2021 Fiji. All rights reserved.