public class PeakFitter<T extends RealType<T>> extends Object implements MultiThreaded, OutputAlgorithm<Map<Localizable,double[]>>, Benchmark
| Constructor and Description |
|---|
PeakFitter(RandomAccessibleInterval<T> image,
Collection<Localizable> peaks,
FunctionFitter fitter,
FitFunction peakFunction,
StartPointEstimator estimator) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkInput() |
String |
getErrorMessage() |
int |
getNumThreads() |
long |
getProcessingTime() |
Map<Localizable,double[]> |
getResult() |
boolean |
process() |
void |
setNumThreads() |
void |
setNumThreads(int numThreads) |
String |
toString() |
public PeakFitter(RandomAccessibleInterval<T> image, Collection<Localizable> peaks, FunctionFitter fitter, FitFunction peakFunction, StartPointEstimator estimator)
image - the image to operate on.public boolean checkInput()
checkInput in interface Algorithmpublic String getErrorMessage()
getErrorMessage in interface Algorithmpublic Map<Localizable,double[]> getResult()
getResult in interface OutputAlgorithm<Map<Localizable,double[]>>public void setNumThreads()
setNumThreads in interface MultiThreadedpublic void setNumThreads(int numThreads)
setNumThreads in interface MultiThreadedpublic int getNumThreads()
getNumThreads in interface MultiThreadedpublic long getProcessingTime()
getProcessingTime in interface BenchmarkCopyright © 2009–2020 ImgLib2. All rights reserved.