Class MaxPoolingFunction<T,R>
- java.lang.Object
-
- science.aist.imaging.core.imageprocessing.filter.AbstractPoolingFunction<T,R>
-
- science.aist.imaging.core.imageprocessing.filter.pooling.MaxPoolingFunction<T,R>
-
- All Implemented Interfaces:
Function<ImageWrapper<T>,ImageWrapper<R>>
public class MaxPoolingFunction<T,R> extends AbstractPoolingFunction<T,R>
Implementation of a max pooling filter
- Since:
- 1.0
- Author:
- Christoph Praschl
-
-
Field Summary
-
Fields inherited from class science.aist.imaging.core.imageprocessing.filter.AbstractPoolingFunction
provider
-
-
Constructor Summary
Constructors Constructor Description MaxPoolingFunction(@NonNull ImageFactory<R> provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected double
pooling(List<Double> values)
Inner Function that is applied for all values in neighborhood-
Methods inherited from class science.aist.imaging.core.imageprocessing.filter.AbstractPoolingFunction
apply, setNeighborhoodHeight, setNeighborhoodWidth, setXStride, setYStride
-
-
-
-
Constructor Detail
-
MaxPoolingFunction
public MaxPoolingFunction(@NonNull @NonNull ImageFactory<R> provider)
-
-
Method Detail
-
pooling
protected double pooling(List<Double> values)
Description copied from class:AbstractPoolingFunction
Inner Function that is applied for all values in neighborhood- Specified by:
pooling
in classAbstractPoolingFunction<T,R>
- Parameters:
values
- used for pooling- Returns:
- pooling result
-
-