public class MinMaxAnalyser extends Object implements ImageAnalyser<FImage>
Modifier and Type | Field and Description |
---|---|
FImage |
max
The max filtered image computed from the last call to
analyseImage(FImage) |
FImage |
min
The min filtered image computed from the last call to
analyseImage(FImage) |
Constructor and Description |
---|
MinMaxAnalyser(Set<Pixel> support)
Construct with the given support region for selecting pixels to take the
median from.
|
public FImage min
analyseImage(FImage)
public FImage max
analyseImage(FImage)
public MinMaxAnalyser(Set<Pixel> support)
n
relative x, y
offsets from the pixel currently being processed, and can be created
using the methods or constants in the FilterSupport
class.support
- the support coordinatespublic void analyseImage(FImage image)
ImageAnalyser
analyseImage
in interface ImageAnalyser<FImage>
image
- The image to process in place.