Class DivFunction<I>
- java.lang.Object
-
- science.aist.imaging.service.core.imageprocessing.operator.AbstractOperator<I>
-
- science.aist.imaging.service.core.imageprocessing.operator.DivFunction<I>
-
- All Implemented Interfaces:
BiFunction<ImageWrapper<I>,ImageWrapper<I>,ImageWrapper<I>>
,BinaryOperator<ImageWrapper<I>>
public class DivFunction<I> extends AbstractOperator<I>
Function that divides two images or a scalar value and an image
- Since:
- 1.0
- Author:
- Christoph Praschl
-
-
Field Summary
-
Fields inherited from class science.aist.imaging.service.core.imageprocessing.operator.AbstractOperator
provider
-
-
Constructor Summary
Constructors Constructor Description DivFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected double
execute(double val1, double val2)
Method that calculates the new value based on the two source values-
Methods inherited from class science.aist.imaging.service.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:AbstractOperator
Method that calculates the new value based on the two source values- Specified by:
execute
in classAbstractOperator<I>
- Parameters:
val1
- source value of image 1val2
- source value of image 2- Returns:
- combined values
-
-