106 DCx camera
© 2010 Thorlabs
7.2.4.2
Capturing AVIs
The functions of the uc480_tools.dll enable you to save images captured with the DCx camera as
sequences to an AVI file. In order to reduce the file size, the single frames are stored in the AVI
container using an adjustable JPEG compression. It is possible to extract single frames from the
AVI file.
AVI Capture Workflow
Initialises the DCx camera AVI interface.
Terminates and closes the DCx camera AVI interface.
Opens an AVI file for capturing.
Returns the name of the current AVI file.
The following settings should also be done prior to starting the recording.
Sets the frame rate of the AVI video.
Sets the compression level / image quality of the AVI
video.
Sets the size and offset of the input image memory.
Once the AVI file has been created, captured images are placed in a buffer. Then, the images are
compressed and added to the AVI file which is stored on the hard disk. These operations are not
performed in the same thread as the capturing process. If you capture more images while a
compression or write operation is in progress, the new images will be discarded.
Adds a compressed image to the AVI file.
With these functions, you can query additional information on the ongoing recording.
Returns the size of the current AVI file.
isavi_GetnCompressedFrames()
Returns the number of frames in the current AVI file.
Returns the number of frames that have been discarded
so far.
isavi_ResetFrameCounters()
Resets the counters for discarded and saved frames to 0.
Events can be used to get signalled when a frame was added.
Disables a DCx camera AVI event.
Enables a DCx camera AVI-Event.
Turns off DCx camera AVI event handling.
Turns on DCx camera AVI event handling.
305
299
308
296
301
310
311
312
314
295
315
302
303
304
309
297
298
300
306