Profiles for setting camera parameters in uEye Cockpit
Profile files for uEye Cockpit are text files with the file name extension *.ucp. As opposed to uEye parameter files (ini files), profiles are not tied to a specific camera model and do not contain all the camera settings. Some parameters in profiles are relative settings (e.g. exposure 0-100 %) to ensure compatibility with all camera models.
You can create new profiles and load them from the start dialog. When you start uEye Cockpit, the application searches the C:\Program Files\IDS\uEye\Program\ folder for profile files and lists them in the Profiles menu. The profile names shown in the menu are named after the files.
Do not remove or rename the profile files created in the C:\Program Files\IDS\uEye\Program\ folder when you install the application. Otherwise program functions in uEye Cockpit may not work correctly. |
The profiles are a feature of uEye Cockpit. They cannot be used through the uEye API. Note that AOI settings cannot be saved in profiles. If you want to save AOI settings, use the uEye parameter file (ini file). |
Structure of a profile file for setting camera parameters
Profile files have the structure described below. They do not have to contain all the parameters listed here.
Parameter |
Description |
---|---|
[DISPLAY] |
|
PIXEL_FORMAT |
Color format see also is_SetColorMode() |
RENDER_MODE |
Render mode (DIB, Direct3D, OpenGL) see also Image display modes and is_SetDisplayMode() |
FIT_TO_WINDOW |
Fits the image to the window |
[TIMING] |
|
PIXELCLOCK |
Pixel clock in MHz see also Pixel clock, frame rate, exposure time and is_PixelClock() |
FRAMERATE |
Frame rate 0-100 % see also is_SetFrameRate() |
EXPOSURE |
Exposure time 0-100 % see also is_Exposure() |
[COLOR] |
|
CORRECTION_FACTOR |
Color correction factor 0-100 % see also is_SetColorCorrection() |
SATURATION_U |
Color saturation 0-2x see also is_SetSaturation() |
SATURATION_V |
Color saturation 0-2x see also is_SetSaturation() |
[IMAGE_PARAMETERS] |
|
EDGE_ENHANCEMENT |
Edge enhancement see also is_EdgeEnhancement() |
GAMMA |
Gamma correction see also is_Gamma() |
[AES_AGC_AFR] |
|
EXPOSURE |
Auto exposure shutter see also is_SetAutoParameter() |
GAIN |
Auto gain control see also is_SetAutoParameter() |
FRAMERATE |
Auto frame rate setting for auto exposure shutter see also is_SetAutoParameter() |
[AWB] |
|
WHITEBALANCE |
Auto white balance see also is_SetAutoParameter() |
Example of a profile file
[DISPLAY]
PIXEL_FORMAT = 0 // 0 = RGB32, see ueye.h for defined formats
RENDER_MODE = 1 // 1 = IS_SET_DM_DIB, 4 = IS_SET_DM_DIRECT3D, see ueye.h for defined render modes
FIT_TO_WINDOW = 1 // 0 = No scaling, 1 = Scale image to window
[TIMING]
PIXELCLOCK = 30 // MHZ
FRAMERATE = 100 // 0 = min, 100 = max
EXPOSURE = 50 // 0 = min, 100 = max
[COLOR]
CORRECTION_FACTOR = 100 // 0 = 0.0, 100 = 1.0
SATURATION_U = 120 // 0 = 0.0, 200 = 2.0
SATURATION_V = 120 // 0 = 0.0, 200 = 2.0
[IMAGE_PARAMETERS]
EDGE_ENHANCEMENT = 0 // 0 = disable, 1 = weak, 2 = strong
GAMMA = 160 // 100 = 1.0, 220 = 2.2
[AES_AGC_AFR]
EXPOSURE = 1 // 1 = on, 0 = off
GAIN = 1 // 1 = on, 0 = off
FRAMERATE = 0 // 1 = on, 0 = off
SPEED = 50 // 0 = min, 100 = max
SKIPFRAMES = 0 // 0 = min, 100 = max
[AWB]
WHITEBALANCE = 1 // 1 = on, 0 = off
SPEED = 50 // 0 = min, 100 = max
SKIPFRAMES = 0 // 0 = min, 100 = max
See also: |