Class ValueTransformationFunction<P,T>
- java.lang.Object
-
- science.aist.imaging.core.imageprocessing.transformation.ValueTransformationFunction<P,T>
-
- All Implemented Interfaces:
BiFunction<ImageWrapper<P>,int[],ImageWrapper<T>>
public class ValueTransformationFunction<P,T> extends Object implements BiFunction<ImageWrapper<P>,int[],ImageWrapper<T>>
Allows to apply a transformation function to a given image. Please make sure, that every possible value of the image is set as an index of the transformation function. This wont be checked, and will lead to a exception otherwise!
- Since:
- 1.0
- Author:
- Andreas Pointner
-
-
Constructor Summary
Constructors Constructor Description ValueTransformationFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageWrapper<T>
apply(ImageWrapper<P> input, int[] transformationFunction)
-
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
-
apply
public ImageWrapper<T> apply(ImageWrapper<P> input, int[] transformationFunction)
- Specified by:
apply
in interfaceBiFunction<ImageWrapper<P>,int[],ImageWrapper<T>>
-
-