T
- public interface RegionalExtremaFinder<T extends RealType<T>> extends Algorithm, Benchmark
Modifier and Type | Method and Description |
---|---|
void |
allowEdgeExtrema(boolean flag)
If set to true before the
Algorithm.process() method is called, then extrema found
at the edges of the image bounds (including time edges) will not be pruned, and will
be included in the result array. |
ArrayList<ArrayList<int[]>> |
getRegionalExtrema()
Returns the ArrayList containing the coordinates of the local extrema found.
|
ArrayList<float[]> |
getRegionalExtremaCenters()
Computes the average coordinate of the extrema locations.
|
void |
setOutOfBoundsStrategyFactory(OutOfBoundsStrategyFactory<T> strategy)
Set the strategy used by this extrema finder to deal with edge pixels.
|
void |
setThreshold(T threshold)
Set the threshold value under which (or over which, in the case of a minima finder) pixels are ignored.
|
checkInput, getErrorMessage, process
getProcessingTime
void setThreshold(T threshold)
null
, then all pixels are taken into account.ArrayList<ArrayList<int[]>> getRegionalExtrema()
Image
.ArrayList<float[]> getRegionalExtremaCenters()
null
if the Algorithm.process()
method
has not bee called.void allowEdgeExtrema(boolean flag)
Algorithm.process()
method is called, then extrema found
at the edges of the image bounds (including time edges) will not be pruned, and will
be included in the result array.flag
- void setOutOfBoundsStrategyFactory(OutOfBoundsStrategyFactory<T> strategy)
OutOfBoundsStrategyValueFactory
set with the value
0 to avoid nasty edge effects.strategy
- the strategy to setCopyright © 2015–2021 Fiji. All rights reserved.