Home > B: Operation > Installed uEye Programs > uEye Demo > | History back Previous chapter Next chapter Print |
Creating Profiles |
uEye Camera Manual Version 3.80
Creating Profiles
Profiles for setting camera parameters in uEye Demo
Profile files for uEye Demo 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 Demo, 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.
|
|
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) 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_SetPixelClock() |
FRAMERATE |
Frame rate 0-100% see also is_SetFrameRate() |
EXPOSURE |
Exposure time 0-100% see also Is_SetExposureTime() |
|
|
[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_SetEdgeEnhancement() |
GAMMA |
Gamma correction see also is_SetGamma() |
|
|
[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: |