public class SpotFeatureCalculator extends MultiThreadedBenchmarkAlgorithm implements Cancelable
SpotAnalyzer
s.processingTime
errorMessage, numThreads
Constructor and Description |
---|
SpotFeatureCalculator(Model model,
Settings settings) |
Modifier and Type | Method and Description |
---|---|
void |
cancel(String reason) |
boolean |
checkInput() |
void |
computeSpotFeatures(SpotCollection toCompute,
boolean doLogIt)
Calculates all the spot features configured in the
Settings
object, but only for the spots in the specified collection. |
String |
getCancelReason() |
boolean |
isCanceled() |
boolean |
process()
Calculates the spot features configured in the
Settings for all
the spots of this model, |
getProcessingTime
getErrorMessage, getNumThreads, setNumThreads, setNumThreads
public boolean checkInput()
checkInput
in interface Algorithm
public boolean process()
Settings
for all
the spots of this model,
Features are calculated for each spot, using their location, and the raw
image. Since a SpotAnalyzer
can compute more than a feature at
once, spots might received more data than required.
public void computeSpotFeatures(SpotCollection toCompute, boolean doLogIt)
Settings
object, but only for the spots in the specified collection. Features are
calculated for each spot, using their location, and the raw image.public boolean isCanceled()
isCanceled
in interface Cancelable
public void cancel(String reason)
cancel
in interface Cancelable
public String getCancelReason()
getCancelReason
in interface Cancelable
Copyright © 2015–2021 Fiji. All rights reserved.