public interface AutoFocusJob extends Job, EditableJobContainer, ImageProducer, TableProducer
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getChannel()
Gets the channel.
|
java.lang.String |
getChannelGroup()
Gets the channel group.
|
double |
getExposure()
Gets the exposure.
|
int |
getFocusAdjustmentTime()
Returns the focus adjustment time (the time the microscope is paused after the new focus position was set) in ms.
|
java.lang.String |
getFocusDevice()
Returns the focus device name for which the position should be changed.
|
FocusScoreResource |
getFocusScoreAlgorithm()
Returns the focus algorithm with which it is detected if the focus of an image made at a give focus position is better than the other.
|
FocusSearchResource |
getFocusSearchAlgorithm()
Returns the algorithm with which it is determined at which focus positions images are made to determine the best focal plane.
|
boolean |
isRememberFocus()
Returns true if next focus search should be centered around the last iterations maximal focal plane.
|
boolean |
isResetFocusAfterSearch()
Defines if the focus should be reset to its original value after the job (and all sub-jobs) finished.
|
void |
setChannel(java.lang.String deviceGroup,
java.lang.String channel)
Sets the channel.
|
void |
setExposure(double exposure)
Sets the exposure.
|
void |
setFocusAdjustmentTime(int adjustmentTime)
Sets the focus adjustment time (the time the microscope is paused after the new focus position was set) in ms.
|
void |
setFocusDevice(java.lang.String focusDevice)
Sets the focus device name for which the position should be changed.
|
void |
setFocusScoreAlgorithm(FocusScoreResource focusScoreAlgorithm)
Sets the algorithm with which the score of an image is calculated (i.e.
|
void |
setFocusSearchAlgorithm(FocusSearchResource focusSearchAlgorithm)
Sets the algorithm with which it is determined at which focus positions images are made to determine the best focal plane.
|
void |
setImageDescription(java.lang.String description)
Sets a short string describing the images which are made by this job.
|
void |
setRememberFocus(boolean rememberFocus)
Set to true if next focus search should be centered around the last iterations maximal focal plane.
|
void |
setResetFocusAfterSearch(boolean resetFocusAfterSearch)
Defines if the focus should be reset to its original value after the job (and all sub-jobs) finished.
|
addJobListener, executeJob, initializeJob, removeJobListener, uninitializeJob
addMessageListener, getName, getPositionInformation, getUUID, removeMessageListener, setName
addJob, clearJobs, insertJob, removeJob
getJob, getJobs, getNumJobs
addImageListener, getImageDescription, getNumberOfImages, removeImageListener
addTableListener, getProducedTableDefinition, removeTableListener
void setChannel(java.lang.String deviceGroup, java.lang.String channel) throws java.rmi.RemoteException, MeasurementRunningException
deviceGroup
- The device group where the channel is defined.channel
- The channel.java.rmi.RemoteException
MeasurementRunningException
java.lang.String getChannel() throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String getChannelGroup() throws java.rmi.RemoteException
java.rmi.RemoteException
void setExposure(double exposure) throws java.rmi.RemoteException, MeasurementRunningException
exposure
- The exposure.java.rmi.RemoteException
MeasurementRunningException
double getExposure() throws java.rmi.RemoteException
java.rmi.RemoteException
void setResetFocusAfterSearch(boolean resetFocusAfterSearch) throws java.rmi.RemoteException, MeasurementRunningException
resetFocusAfterSearch
- Set to true to return to original value.java.rmi.RemoteException
MeasurementRunningException
void setRememberFocus(boolean rememberFocus) throws java.rmi.RemoteException, MeasurementRunningException
rememberFocus
- True if next focus search should be centered around last maximum.java.rmi.RemoteException
MeasurementRunningException
boolean isRememberFocus() throws java.rmi.RemoteException
java.rmi.RemoteException
boolean isResetFocusAfterSearch() throws java.rmi.RemoteException
java.rmi.RemoteException
int getFocusAdjustmentTime() throws java.rmi.RemoteException
java.rmi.RemoteException
void setFocusAdjustmentTime(int adjustmentTime) throws java.rmi.RemoteException, MeasurementRunningException
adjustmentTime
- Focus adjustment time.java.rmi.RemoteException
MeasurementRunningException
java.lang.String getFocusDevice() throws java.rmi.RemoteException
java.rmi.RemoteException
void setFocusDevice(java.lang.String focusDevice) throws java.rmi.RemoteException, MeasurementRunningException
focusDevice
- Focus device name, or null, if the currently active focus device should be changed.java.rmi.RemoteException
MeasurementRunningException
void setFocusScoreAlgorithm(FocusScoreResource focusScoreAlgorithm) throws java.rmi.RemoteException, MeasurementRunningException
focusScoreAlgorithm
- java.rmi.RemoteException
MeasurementRunningException
void setFocusSearchAlgorithm(FocusSearchResource focusSearchAlgorithm) throws java.rmi.RemoteException, MeasurementRunningException
focusSearchAlgorithm
- java.rmi.RemoteException
MeasurementRunningException
FocusScoreResource getFocusScoreAlgorithm() throws java.rmi.RemoteException
java.rmi.RemoteException
FocusSearchResource getFocusSearchAlgorithm() throws java.rmi.RemoteException
java.rmi.RemoteException
void setImageDescription(java.lang.String description) throws java.rmi.RemoteException, MeasurementRunningException
description
- The description which should be returned for the images produced by this job, or null, to switch to the default description.java.rmi.RemoteException
MeasurementRunningException