Modifier and Type | Method and Description |
---|---|
java.awt.Dimension |
getImageSize()
Returns the size (in pixels) of the images this camera produces.
|
boolean |
isSwitchXY()
Returns if the x and the y direction should be switched for images made by this camera.
|
boolean |
isTransposeX()
Returns if the x-direction of images made by this camera should be transposed.
|
boolean |
isTransposeY()
Returns if the if the y-direction of images made by this camera should be transposed.
|
ImageEvent<?> |
makeImage(java.lang.String channelGroupID,
java.lang.String channelID,
double exposure)
Makes an image with the given settings.
|
ImageEvent<?>[] |
makeParallelImages(java.lang.String channelGroupID,
java.lang.String channelID,
java.lang.String[] cameraIDs,
double[] exposures)
Deprecated.
|
void |
setExposure(double exposure)
Sets the exposure for imaging.
|
void |
setSwitchXY(boolean switchXY)
Sets if the x and the y direction should be switched for images made by this camera.
|
void |
setTransposeX(boolean transpose)
Sets if the x-direction of images made by this camera should be transposed.
|
void |
setTransposeY(boolean transpose)
Sets if the y-direction of images made by this camera should be transposed.
|
void |
startContinuousSequenceAcquisition(java.lang.String channelGroupID,
java.lang.String channelID,
double exposure,
ImageListener listener)
Starts a continuous sequence acquisition.
|
void |
stopContinuousSequenceAcquisition()
Stops the previously started continuous acquisition.
|
getDeviceID, getDriverID, getEditableProperties, getExplicitDelay, getLibraryID, getProperties, getProperty, getType, setExplicitDelay, waitForDevice
void setExposure(double exposure) throws MicroscopeLockedException, MicroscopeException, java.lang.InterruptedException, java.rmi.RemoteException
exposure
- The exposure in ms.MicroscopeLockedException
MicroscopeException
java.lang.InterruptedException
java.rmi.RemoteException
ImageEvent<?> makeImage(java.lang.String channelGroupID, java.lang.String channelID, double exposure) throws MicroscopeException, java.rmi.RemoteException, MicroscopeLockedException, java.lang.InterruptedException, SettingException
channelGroupID
- The ID of the channel group the channel is in.channelID
- The ID of the channel.exposure
- The exposure time in ms.MicroscopeException
java.rmi.RemoteException
MicroscopeLockedException
java.lang.InterruptedException
SettingException
void startContinuousSequenceAcquisition(java.lang.String channelGroupID, java.lang.String channelID, double exposure, ImageListener listener) throws MicroscopeException, java.rmi.RemoteException, MicroscopeLockedException, java.lang.InterruptedException, SettingException, DeviceException
channelGroupID
- The ID of the channel group the channel is in.channelID
- The ID of the channel.exposure
- The exposure time in ms.listener
- Listener which gets notified if a new image is made.MicroscopeException
java.rmi.RemoteException
MicroscopeLockedException
java.lang.InterruptedException
SettingException
DeviceException
@Deprecated ImageEvent<?>[] makeParallelImages(java.lang.String channelGroupID, java.lang.String channelID, java.lang.String[] cameraIDs, double[] exposures) throws MicroscopeException, MicroscopeLockedException, java.lang.InterruptedException, SettingException, DeviceException, java.rmi.RemoteException
channelGroupID
- The ID of the channel group the channel is in.channelID
- The ID of the channel.cameraIDs
- Array of IDs of the cameras.exposures
- The exposure times of the cameras in ms.accessID
- The access ID of the current microscope object. If the microscope is locked with a different accessID, a MicroscopeLockedException is thrown.MicroscopeException
MicroscopeLockedException
java.lang.InterruptedException
SettingException
DeviceException
java.rmi.RemoteException
void stopContinuousSequenceAcquisition() throws MicroscopeException, MicroscopeLockedException, java.rmi.RemoteException, java.lang.InterruptedException, SettingException, DeviceException
MicroscopeException
MicroscopeLockedException
java.rmi.RemoteException
java.lang.InterruptedException
SettingException
DeviceException
void setTransposeX(boolean transpose) throws MicroscopeLockedException, java.rmi.RemoteException
transpose
- True, if the x-direction should be transposed.MicroscopeLockedException
java.rmi.RemoteException
void setTransposeY(boolean transpose) throws MicroscopeLockedException, java.rmi.RemoteException
transpose
- True, if the y-direction should be transposed.MicroscopeLockedException
java.rmi.RemoteException
void setSwitchXY(boolean switchXY) throws MicroscopeLockedException, java.rmi.RemoteException
switchXY
- True, if the x and y direction should be switched.MicroscopeLockedException
java.rmi.RemoteException
boolean isTransposeX() throws java.rmi.RemoteException
java.rmi.RemoteException
boolean isTransposeY() throws java.rmi.RemoteException
java.rmi.RemoteException
boolean isSwitchXY() throws java.rmi.RemoteException
java.rmi.RemoteException
java.awt.Dimension getImageSize() throws java.rmi.RemoteException, MicroscopeLockedException, MicroscopeException
java.rmi.RemoteException
MicroscopeLockedException
MicroscopeException