public class LogDetector<T extends RealType<T> & NativeType<T>> extends Object implements SpotDetector<T>, MultiThreaded
| Modifier and Type | Field and Description |
|---|---|
protected String |
baseErrorMessage |
protected double[] |
calibration |
protected boolean |
doMedianFilter |
protected boolean |
doSubPixelLocalization |
protected String |
errorMessage |
protected RandomAccessible<T> |
img
The image to segment.
|
protected Interval |
interval |
protected int |
numThreads |
protected long |
processingTime
The processing time in ms.
|
protected double |
radius |
protected List<Spot> |
spots
The list of
Spot that will be populated by this detector. |
protected double |
threshold |
| Constructor and Description |
|---|
LogDetector(RandomAccessible<T> img,
Interval interval,
double[] calibration,
double radius,
double threshold,
boolean doSubPixelLocalization,
boolean doMedianFilter) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkInput() |
String |
getErrorMessage() |
int |
getNumThreads() |
long |
getProcessingTime() |
List<Spot> |
getResult() |
boolean |
process() |
void |
setNumThreads() |
void |
setNumThreads(int numThreads) |
protected RandomAccessible<T extends RealType<T> & NativeType<T>> img
protected double radius
protected double threshold
protected boolean doSubPixelLocalization
protected boolean doMedianFilter
protected String baseErrorMessage
protected String errorMessage
protected long processingTime
protected int numThreads
protected final Interval interval
protected final double[] calibration
public LogDetector(RandomAccessible<T> img, Interval interval, double[] calibration, double radius, double threshold, boolean doSubPixelLocalization, boolean doMedianFilter)
public boolean checkInput()
checkInput in interface Algorithmpublic List<Spot> getResult()
getResult in interface OutputAlgorithm<List<Spot>>public String getErrorMessage()
getErrorMessage in interface Algorithmpublic long getProcessingTime()
getProcessingTime in interface Benchmarkpublic void setNumThreads()
setNumThreads in interface MultiThreadedpublic void setNumThreads(int numThreads)
setNumThreads in interface MultiThreadedpublic int getNumThreads()
getNumThreads in interface MultiThreadedCopyright © 2015–2021 Fiji. All rights reserved.