public class LabelImageDetector<T extends RealType<T> & NativeType<T>> extends Object implements SpotDetector<T>
Modifier and Type | Field and Description |
---|---|
protected String |
baseErrorMessage |
protected double[] |
calibration |
protected String |
errorMessage |
protected RandomAccessible<T> |
input
The mask.
|
protected Interval |
interval |
protected int |
numThreads |
protected long |
processingTime
The processing time in ms.
|
protected boolean |
simplify
If
true , the contours will be smoothed and simplified. |
protected List<Spot> |
spots
The list of
Spot that will be populated by this detector. |
Constructor and Description |
---|
LabelImageDetector(RandomAccessible<T> input,
Interval interval,
double[] calibration,
boolean simplify) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkInput() |
String |
getErrorMessage() |
long |
getProcessingTime() |
List<Spot> |
getResult() |
boolean |
process() |
protected RandomAccessible<T extends RealType<T> & NativeType<T>> input
protected String baseErrorMessage
protected String errorMessage
protected long processingTime
protected int numThreads
protected final Interval interval
protected final double[] calibration
protected final boolean simplify
true
, the contours will be smoothed and simplified.public LabelImageDetector(RandomAccessible<T> input, Interval interval, double[] calibration, boolean simplify)
public boolean checkInput()
checkInput
in interface Algorithm
public List<Spot> getResult()
getResult
in interface OutputAlgorithm<List<Spot>>
public String getErrorMessage()
getErrorMessage
in interface Algorithm
public long getProcessingTime()
getProcessingTime
in interface Benchmark
Copyright © 2015–2021 Fiji. All rights reserved.