Class ColorPartsSegmentationFunction<T,R>
- java.lang.Object
-
- science.aist.imaging.core.imageprocessing.segmentation.ColorPartsSegmentationFunction<T,R>
-
- All Implemented Interfaces:
Function<ImageWrapper<T>,ImageWrapper<R>>
,ImageFunction<T,R>
public class ColorPartsSegmentationFunction<T,R> extends Object implements ImageFunction<T,R>
This function segments color parts in a given image. It returns a greyscale value as a result. Or if maxDiff is not set then with: value >= minDiff --> foreground && value < minDiff --> background With greyscale values: minDiff = background, maxDiff = foreground, between minDiff and maxDiff something between background and foreground
- Since:
- 1.0
- Author:
- Andreas Pointner
-
-
Constructor Summary
Constructors Constructor Description ColorPartsSegmentationFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageWrapper<R>
apply(ImageWrapper<T> imageWrapper)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface science.aist.imaging.api.ImageFunction
andThen, andThenCloseInput, andThenConsumeInput
-
-
-
-
Method Detail
-
apply
public ImageWrapper<R> apply(ImageWrapper<T> imageWrapper)
-
-