Defcon¶
-
public class
Defcon
implements Analyzer¶ A fluorescent spot counter derived from the DEFCoN package.
Author: Kyle M. Douglass See also: DEFCoN-ImageJ
Constructors¶
Methods¶
finalize¶
-
protected void
finalize
()¶ Failsafe in case the predictor has not been closed at the point of garbage collection.
Throws:
getBatchOutput¶
-
public double
getBatchOutput
()¶ Returns the averaged DEFCoN count value since the last call. Double.NaN is returned if there is no new count since the previous call.
Returns: The averaged DEFCoN count.
getBoxSize¶
-
public int
getBoxSize
()¶ Returns the current square kernel size for maximum local counts.
Returns: The kernel size for computing the maximum local count.
getIntermittentOutput¶
-
public double
getIntermittentOutput
()¶ Returns the intermittent output of the analyzer.
Returns: The analyzer’s current output value.
getName¶
getShortReturnDescription¶
getStatusPanel¶
-
public AnalyzerStatusPanel
getStatusPanel
()¶ Returns the analyzer’s status panel that will be displayed in the GUI. If no panel is implemented, this method should return null. In this case, the corresponding space in the MonitorGUI will appear blank.
Returns: The status panel of the DEFCoN analyzer or null.
isLiveModeOn¶
-
public boolean
isLiveModeOn
()¶ True if live mode is on, false otherwise.
Returns: True if live mode is on, false otherwise
isMaxLocalCount¶
-
public boolean
isMaxLocalCount
()¶ True if the analyzer is computing the maximum local count.
Returns: True if the analyzer is computing the maximum local count.
processImage¶
-
public void
processImage
(Object image, int width, int height, double pixelSizeUm, long timeMs)¶ Processes an image and adjusts the analyzer’s internal state to reflect the results of the calculation. This method is called after each new image acquisition by the AnalysisWorker. You can use the synchronized(this) statement within the body of an implementation of an Analyzer to ensure that no output readout happens during code execution.
Parameters: - image – The image to be processed as 1D raw pixel data.
- width – Image width in pixels.
- height – Image height in pixels.
- pixelSizeUm – Length of a side of a square pixel in micrometers.
- timeMs – Image acquisition time in milliseconds.