mic.camera.Imaq
is a MATLAB class designed for camera control using the Image Acquisition Toolbox. It extends the mic.camera.abstract
class and includes methods for initializing the camera, managing acquisitions, and retrieving images.
Stop acquisition flag.
Position of the figure window.
Handle for the figure window.
Handle for the image display.
Indicates if the camera is ready for acquisition. If not, setup_acquisition
should be called.
Handle for text display.
Handle for the camera object.
Camera capabilities.
Index used when more than one camera is present.
Size of the current ROI (Region of Interest).
Last error code encountered.
Camera manufacturer.
Camera model.
Camera-specific parameters.
Camera-specific settings.
Number of pixels in the first dimension.
Number of pixels in the second dimension.
Name of the instrument.
Default: ''
(empty string).
Field for experiment settings.
Binning settings in the format [binX binY]
.
Last acquired data.
Exposure time for focus mode.
Exposure time for capture mode.
Exposure time for sequence mode.
Region of interest in the format [Xstart Xend Ystart Yend]
.
Length of the kinetic series.
Cycle time for the kinetic series (equivalent to 1/frame rate
).
GUI dialog object.
Hidden Properties
Defines whether the GUI starts automatically on object creation.
Default: false
.
- Constructor: Initializes the camera with optional parameters for adaptor name, format, and device ID.
abort()
: Aborts the ongoing acquisition.shutdown()
: Stops the camera and cleans up the handle.initializeImaq(AdaptorName, Format, DevID)
: Initializes the camera with specific settings.setup_acquisition()
: Configures the camera for the current acquisition mode.setup_softwareTrigger(TriggerN)
: Prepares the camera for software triggered acquisition.start_softwareTrigger()
: Starts acquisition using software triggers.getlastimage()
: Retrieves the last captured image.getdata()
: Retrieves data based on the current acquisition type.start_focus()
: Starts acquisition in focus mode.start_capture()
: Starts acquisition in capture mode.start_sequence()
: Starts acquisition in sequence mode.setCamProperties(Infield)
: Applies camera settings from a structured input.build_guiDialog(GuiCurSel)
: Constructs the GUI dialog based on current settings.apply_camSetting()
: Applies GUI changes to the camera settings.getExpfield()
: Determines the appropriate exposure field from camera settings.valuecheck(prop, val)
: Checks and adjusts the value based on camera constraints.
funcTest()
: Tests the functionality of the class.camSet2GuiSel(CameraSetting)
: Converts camera settings into GUI selections.
To utilize mic.camera.Imaq
, create an instance of the class specifying the adaptor name, format, and device ID as needed. Use the class methods to control the camera and manage image acquisition within MATLAB.