org.micromanager.api
Interface Autofocus


public interface Autofocus


Method Summary
 void applySettings()
           
 double computeScore(ij.process.ImageProcessor impro)
          Computes a focus score for the given image
 void enableContinuousFocus(boolean enable)
           
 void focus(double coarseStep, int numCoarse, double fineStep, int numFine)
          OBSOLETE - do not use this method.
 double fullFocus()
           
 double getCurrentFocusScore()
           
 java.lang.String getDeviceName()
           
 int getNumberOfImages()
           
 org.micromanager.utils.PropertyItem[] getProperties()
           
 org.micromanager.utils.PropertyItem getProperty(java.lang.String key)
           
 java.lang.String[] getPropertyNames()
           
 java.lang.String getPropertyValue(java.lang.String name)
           
 java.lang.String getVerboseStatus()
           
 double incrementalFocus()
           
 boolean isContinuousFocusEnabled()
           
 boolean isContinuousFocusLocked()
           
 void saveSettings()
           
 void setApp(ScriptInterface app)
           
 void setProperty(org.micromanager.utils.PropertyItem p)
           
 void setPropertyValue(java.lang.String name, java.lang.String value)
           
 

Method Detail

applySettings

void applySettings()

saveSettings

void saveSettings()

setApp

void setApp(ScriptInterface app)

fullFocus

double fullFocus()
                 throws org.micromanager.utils.MMException
Throws:
org.micromanager.utils.MMException

incrementalFocus

double incrementalFocus()
                        throws org.micromanager.utils.MMException
Throws:
org.micromanager.utils.MMException

getNumberOfImages

int getNumberOfImages()

getVerboseStatus

java.lang.String getVerboseStatus()

getProperties

org.micromanager.utils.PropertyItem[] getProperties()

getPropertyNames

java.lang.String[] getPropertyNames()

getProperty

org.micromanager.utils.PropertyItem getProperty(java.lang.String key)
                                                throws org.micromanager.utils.MMException
Throws:
org.micromanager.utils.MMException

setProperty

void setProperty(org.micromanager.utils.PropertyItem p)
                 throws org.micromanager.utils.MMException
Throws:
org.micromanager.utils.MMException

getPropertyValue

java.lang.String getPropertyValue(java.lang.String name)
                                  throws org.micromanager.utils.MMException
Throws:
org.micromanager.utils.MMException

setPropertyValue

void setPropertyValue(java.lang.String name,
                      java.lang.String value)
                      throws org.micromanager.utils.MMException
Throws:
org.micromanager.utils.MMException

getCurrentFocusScore

double getCurrentFocusScore()

getDeviceName

java.lang.String getDeviceName()

enableContinuousFocus

void enableContinuousFocus(boolean enable)
                           throws org.micromanager.utils.MMException
Throws:
org.micromanager.utils.MMException

isContinuousFocusEnabled

boolean isContinuousFocusEnabled()
                                 throws org.micromanager.utils.MMException
Throws:
org.micromanager.utils.MMException

isContinuousFocusLocked

boolean isContinuousFocusLocked()
                                throws org.micromanager.utils.MMException
Throws:
org.micromanager.utils.MMException

computeScore

double computeScore(ij.process.ImageProcessor impro)
Computes a focus score for the given image

Parameters:
impro -
Returns:
calculated score

focus

void focus(double coarseStep,
           int numCoarse,
           double fineStep,
           int numFine)
           throws org.micromanager.utils.MMException
OBSOLETE - do not use this method.

Throws:
org.micromanager.utils.MMException