BaslerCamera
<basler/BaslerCamera.h>
API Interface implementation of a GuiCamera for Basler USB cameras. This follows the interface device by GuiCamera.h.
Member Fields
Field | Type | Notes |
---|---|---|
staticMetaObject | const QMetaObject |
Member Functions
(constructor) | |
Returns the index of the camera in the list of cameras. This is unique to each camera. |
|
This function checks to see if an image is waiting to be grabbed from the saving buffer. Returns false on timeout. |
|
This function closes the camera. |
|
Return a string with the firmware level of the firware currently running on the camera. |
|
Function called by GrabAndSaveImageTask when it has finished its work. It checks to see if all the threads are done processing, and if so, cleans up file writes and then signals that the camera is done capturing. |
|
Return the height of the images that the current configuration of the camera uses. |
|
Return the current frame rate of the camera. |
|
Increase the counter for the current image index value. Each image grabbed should have a unique number that represents where it should be placed in the sequence of images captured. If the user wants to capture 3000 images, then the images will have indexes from 0-2999 inclusive, and this function keeps track of that. When running in a multi-threaded environment this function needs the correct guards to ensure atomicity. |
|
Increase the counter that keeps track of the number of images dropped. |
|
Is the camera connected. This is checking if the camera has been associated with a device in the kernel. |
|
Is the camera currently set up to be triggered by a hardware trigger ( i.e. a TTL pulse )? |
|
Is the camera connected and open? When a camera is open it is in a state that settings can be set and retrieved on it. |
|
Is the camera currently in a waiting state where it is only waiting for the trigger before it immediately starts capturing images? |
|
Have the camera connect to the software. Getting a camera to be usable usually requires a two step process of opening the camera device, and then connecting the device. |
|
What is the maximum size of the image buffer used to hold images. If the image buffer is too small and the camera is taking images fast enough, there will be images that are dropped. |
|
Return the name of the camera. This is usually just the model name with the serial number or something else uniquely identifiable included. |
|
No details given |
|
Open the camera device for use. This is usually the first step of two to allow software to use a camera. First the camera device is opened, and then the camera device is connected. |
|
Retrieve an image that is currently in the image buffer. Or, if not currently there, will be there in less than the value for the Retrieval Timeout. |
|
Configure the camera so that it can use a hardware trigger. Note, when this is configured an external source for a TTL pulse is required. |
|
Configures the camera to use a software trigger instead of a hardware trigger. A software trigger doesn’t require an external source for a TTL pulse, but has the downside that there is no guarantee that images from multiple cameras will be taken at the same time. |
|
Instruct the camera to start grabbing images, but these images can be lossy as we are going to use them for a preview and not a strict image collection. If your camera has the ability to grab from the top of the image buffer and discard the rest, this is where that functionality should be used as we don’t care about dropped images since the human eye only see ~30 frames a second anyways. |
|
Start grabbing images that will be used for a capture. This tries not to drop any images. |
|
Ask the camera to stop capturing images into the image buffer. It can be the case that a few more images will be captured before the stop command will be processed. |
|
Update the configuration of the camera using an already saved GenApi configuration file. |
|
Return the width of the images that the currently configured camera can capture. |
|
MISSING |
|
No details given |
|
This a QT generated function. No need to manually create or even call. |
|
This a QT generated function. No need to manually create or even call. |
|
This a QT generated function. No need to manually create or even call. |
|
MISSING |
|
MISSING |