EasyManuals Logo

THORLABS DCU22 Series Description And Sdk Manual

THORLABS DCU22 Series
513 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #112 background imageLoading...
Page #112 background image
© 2016 Thorlabs Scientific Imaging110
DCx Camera Functional Description and SDK Manual
4.2.5 Saving Images and Videos
Using the uc480 API, you can
Save and load single frames
Capture an AVI frame sequence
4.2.5.1 Saving and Loading Single Frames
With the is_ImageFile() function you can save the image data of the current image memory to a
BMP, PNG or JPG file, and load saved image data into an image memory.
4.2.5.2 Capturing AVIs
The functions of the uc480_tools.dll enable you to save images captured with the DCxCamera
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
First initialize the AVI interface and then create a empty AVI file.
isavi_InitAVI()
Initializes the AVI interface.
isavi_ExitAVI()
Terminates and closes the AVI interface.
isavi_OpenAVI()
Opens an AVI file for capturing.
isavi_CloseAVI()
Closes an AVI file.
isavi_GetAVIFileName()
Returns the name of the current AVI file.
The following settings should also be done prior to starting the recording.
isavi_SetFrameRate()
Sets the frame rate of the AVI video.
isavi_SetImageQuality()
Sets the compression level/image quality of the AVI video.
isavi_SetImageSize()
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.
isavi_StartAVI()
Starts AVI recording.
isavi_AddFrame()
Adds a compressed image to the AVI file.
isavi_StopAVI()
Stops AVI recording.
With these functions, you can query additional information on the ongoing recording.
isavi_GetAVISize()
Returns the size of the current AVI file.
isavi_GetnCompressedFrames()
Returns the number of frames in the current AVI file.
isavi_GetnLostFrames()
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.
isavi_DisableEvent()
Disables a AVI event.
isavi_EnableEvent()
Enables a AVI-Event.

Table of Contents

Other manuals for THORLABS DCU22 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the THORLABS DCU22 Series and is the answer not in the manual?

THORLABS DCU22 Series Specifications

General IconGeneral
BrandTHORLABS
ModelDCU22 Series
CategorySecurity Camera
LanguageEnglish

Related product manuals