public interface CameraDeviceInternal extends DeviceInternal
Modifier and Type | Method and Description |
---|---|
java.awt.Dimension |
getImageSize(int accessID)
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(ChannelInternal channel,
double exposure,
int accessID)
Makes an image with the given settings.
|
ImageEvent<?>[] |
makeParallelImages(ChannelInternal channel,
java.lang.String[] cameraIDs,
double[] exposures,
int accessID)
Deprecated.
|
void |
setExposure(double exposure,
int accessID)
Sets the exposure for imaging.
|
void |
setSwitchXY(boolean switchXY,
int accessID)
Sets if the x and the y direction should be switched for images made by this camera.
|
void |
setTransposeX(boolean transpose,
int accessID)
Sets if the x-direction of images made by this camera should be transposed.
|
void |
setTransposeY(boolean transpose,
int accessID)
Sets if the y-direction of images made by this camera should be transposed.
|
void |
startContinuousSequenceAcquisition(ChannelInternal channel,
double exposure,
ImageListener listener,
int accessID)
Starts a continuous sequence acquisition.
|
void |
stopContinuousSequenceAcquisition(int accessID)
Stops the previously started continuous acquisition.
|
getDeviceID, getDriverID, getEditableProperties, getExplicitDelay, getInitializationTime, getLibraryID, getProperties, getProperty, getType, setExplicitDelay, waitForDevice
void setExposure(double exposure, int accessID) throws MicroscopeLockedException, MicroscopeException, java.lang.InterruptedException
exposure
- The exposure in ms.accessID
- The access ID of the current microscope object. If the microscope is locked with a different accessID, a MicroscopeLockedException is thrown.MicroscopeLockedException
MicroscopeException
java.lang.InterruptedException
ImageEvent<?> makeImage(ChannelInternal channel, double exposure, int accessID) throws MicroscopeException, MicroscopeLockedException, java.lang.InterruptedException, SettingException
channel
- The channel in which it should be imaged, or null.exposure
- The exposure time 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
void startContinuousSequenceAcquisition(ChannelInternal channel, double exposure, ImageListener listener, int accessID) throws MicroscopeException, MicroscopeLockedException, java.lang.InterruptedException, SettingException, DeviceException
channel
- The channel in which it should be imaged, or null.exposure
- The exposure time in ms.listener
- Listener which receives all new images.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
void stopContinuousSequenceAcquisition(int accessID) throws MicroscopeException, MicroscopeLockedException, java.lang.InterruptedException, SettingException, DeviceException
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
void setTransposeX(boolean transpose, int accessID) throws MicroscopeLockedException
transpose
- True, if the x-direction should be transposed.accessID
- The access ID of the current microscope object. If the microscope is locked with a different accessID, a MicroscopeLockedException is thrown.MicroscopeLockedException
void setTransposeY(boolean transpose, int accessID) throws MicroscopeLockedException
transpose
- True, if the y-direction should be transposed.accessID
- The access ID of the current microscope object. If the microscope is locked with a different accessID, a MicroscopeLockedException is thrown.MicroscopeLockedException
void setSwitchXY(boolean switchXY, int accessID) throws MicroscopeLockedException
switchXY
- True, if the x and y direction should be switched.accessID
- The access ID of the current microscope object. If the microscope is locked with a different accessID, a MicroscopeLockedException is thrown.MicroscopeLockedException
boolean isTransposeX()
boolean isTransposeY()
boolean isSwitchXY()
java.awt.Dimension getImageSize(int accessID) throws MicroscopeLockedException, MicroscopeException
accessID
- The access ID of the current microscope object. If the microscope is locked with a different accessID, a MicroscopeLockedException is thrown.MicroscopeLockedException
MicroscopeException
@Deprecated ImageEvent<?>[] makeParallelImages(ChannelInternal channel, java.lang.String[] cameraIDs, double[] exposures, int accessID) throws MicroscopeException, MicroscopeLockedException, java.lang.InterruptedException, SettingException, DeviceException
channel
- The channel in which it should be imaged, or null.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