Matlab Instrument Control Camera Class. REQUIRES: mic.abstract.m
- Description: Name of the instrument.
- Default Value:
'SimulatedCamera'
- Description: Index to identify the camera instance.
- Default Value:
1
- Description: Resolution of the camera's images in pixels
[XPixels, YPixels]
. - Default Value:
[1024, 768]
- Description: Stores the last error message encountered.
- Description: Manufacturer name of the camera.
- Default Value:
'MyCam'
- Description: Model name of the camera.
- Default Value:
'CamModelX100'
- Description: Structure defining camera parameters such as
Gain
andFrameRate
. - Default Value:
struct('Gain', 1, 'FrameRate', 30)
- Description: Horizontal resolution of the camera image.
- Default Value:
1024
- Description: Vertical resolution of the camera image.
- Default Value:
768
- Description: Binning factor
[horizontal, vertical]
to reduce image resolution. - Default Value:
[1, 1]
- Description: Data acquired from the camera.
- Description: Exposure time for focus mode in seconds.
- Default Value:
0.01
- Description: Exposure time for capture mode in seconds.
- Default Value:
0.02
- Description: Exposure time for sequence acquisition in seconds.
- Default Value:
0.05
- Description: Region of interest for image acquisition
[xStart, xEnd, yStart, yEnd]
. - Default Value:
[1, 1024, 1, 768]
- Description: Number of images in a sequence acquisition.
- Default Value:
10
- Description: Time between consecutive images in a sequence in seconds.
- Default Value:
0.1
- Description: Specifies the trigger mode used by the camera.
- Default Value:
'internal'
Hidden Properties
- Description: Indicates whether the GUI starts automatically.
- Default Value:
false
- Description: Flag to indicate if an ongoing process should be aborted.
- Default Value:
false
- Description: Stores the position of the GUI figure.
- Description: Handle for the main GUI figure.
- Description: Handle for image display in GUI.
- Description: Indicates if the camera is ready for acquisition.
- Default Value:
false
- Description: Handle for text display in GUI.
- Description: Handle for a timer object used in GUI operations.
- Description: Constructor method for the
simulated_Camera
class. Initializes the object.
- Description: Exports the state of the camera, including parameters and settings.
- Description: Aborts an ongoing acquisition or operation.
- Description: Checks and displays any errors for the given function.
- Description: Retrieves the last acquired image.
- Returns: Simulated random image data.
- Description: Acquires and returns image data.
- Description: Initializes camera settings.
- Description: Sets up acquisition parameters.
- Description: Shuts down the camera and releases resources.
- Description: Starts capture mode.
- Returns: Simulated random image data.
- Description: Starts focus mode.
- Returns: Simulated random image data.
- Description: Starts sequence acquisition mode.
- Returns: Simulated random sequence data.
- Description: Fires a trigger for acquisition.
- Description: Sets up a GUI for controlling the camera.
- Description: Handles button clicks in the GUI.
- Description: Closes the GUI and releases associated resources.
- Description: Sets up a timer to periodically update temperature display.
- Description: Updates temperature displayed in GUI.
- Description: Stops and cleans up the timer.
- Description: Retrieves simulated temperature values.