Class AbsSubFunction<I>
- java.lang.Object
-
- science.aist.imaging.core.imageprocessing.operator.AbstractOperator<I>
-
- science.aist.imaging.core.imageprocessing.operator.SubFunction<I>
-
- science.aist.imaging.core.imageprocessing.operator.AbsSubFunction<I>
-
- All Implemented Interfaces:
BiFunction<ImageWrapper<I>,ImageWrapper<I>,ImageWrapper<I>>,BinaryOperator<ImageWrapper<I>>
public class AbsSubFunction<I> extends SubFunction<I>
Function that subtracts two images and returns the absolute values
- Since:
- 1.0
- Author:
- Christoph Praschl
-
-
Field Summary
-
Fields inherited from class science.aist.imaging.core.imageprocessing.operator.AbstractOperator
provider
-
-
Constructor Summary
Constructors Constructor Description AbsSubFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected doubleexecute(double val1, double val2)Method that calculates the new value based on the two source values-
Methods inherited from class science.aist.imaging.core.imageprocessing.operator.AbstractOperator
apply, apply, apply, apply, checkMask, prepareResult
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.function.BiFunction
andThen
-
-
-
-
Method Detail
-
execute
protected double execute(double val1, double val2)Description copied from class:AbstractOperatorMethod that calculates the new value based on the two source values- Overrides:
executein classSubFunction<I>- Parameters:
val1- source value of image 1val2- source value of image 2- Returns:
- combined values
-
-