T
- pixel type.public static class LocalExtrema.MaximumCheck<T extends Comparable<T>> extends Object implements LocalExtrema.LocalNeighborhoodCheck<Point,T>
LocalExtrema.LocalNeighborhoodCheck
to test whether a pixel is a local
maximum. A pixel is considered a maximum if its value is greater than or
equal to a specified minimum allowed value, and no pixel in the
neighborhood has a greater value. That means that maxima are non-strict.
Intensity plateaus may result in multiple maxima.Constructor and Description |
---|
MaximumCheck(T minPeakValue) |
Modifier and Type | Method and Description |
---|---|
<C extends Localizable & Sampler<T>> |
check(C center,
Neighborhood<T> neighborhood)
Determine whether a pixel is a local extremum.
|
public MaximumCheck(T minPeakValue)
public <C extends Localizable & Sampler<T>> Point check(C center, Neighborhood<T> neighborhood)
LocalExtrema.LocalNeighborhoodCheck
P
that represents the maximum. Otherwise return
null
.check
in interface LocalExtrema.LocalNeighborhoodCheck<Point,T extends Comparable<T>>
center
- an access located on the pixel to testneighborhood
- iterable neighborhood of the pixel, not containing the
pixel itself.Copyright © 2015–2022 ImgLib2. All rights reserved.