Type


Definitions declared in PixeLINKTypes.h.


Description


The following features can be accessed through the Pixelink API, although not all cameras have all features. Most of the features have flags that can be read and modified. See the Programmable Features section for a description of the parameters for each feature and the units.


FeatureNumber of ParamsParametersUnitsRestrictions
FEATURE_BRIGHTNESS
Black level of the image
1fValuePercentageN/A
FEATURE_SHARPNESS
Sharpness of the picture
1fValuePercentageN/A
FEATURE_COLOR_TEMP
Color temperature of light source
1fValueDegrees KelvinN/A
FEATURE_HUE
Color phase
1fValueDegrees
N/A
FEATURE_SATURATION
Color saturation
1fValuePercentage
N/A
FEATURE_GAMMA
Gamma correction
1fValueN/AN/A
FEATURE_SHUTTER
Integration time
1 or 3fValueSecondsN/A
FEATURE_GAIN
Camera circuit gain
1fValueDecibels (dB)
N/A
FEATURE_IRIS
Mechanical lens iris control
1fValueF number
N/A
FEATURE_FOCUS
Lens focus control
1 or 2fValueLens dependantN/A
FEATURE_SENSOR_TEMPERATURE
Temperature of the camera's sensor head
1fValueDegrees CelsiusRead only
FEATURE_TRIGGER *
Trigger delay and mode control
5fModeN/AInteger only
fTypeN/AInteger only (see Trigger Type)
fPolarityN/A0 for negative polarity (Active Low)

1 for positive polarity (Active High)
fDelaySecondsN/A
fParameterDepends on modeN/A
FEATURE_ZOOM
Lens zoom control
1fValueN/AN/A
FEATURE_PAN
Camera pan control
1fValueDegrees
N/A
FEATURE_TILT
Camera tilt control
1fValueDegrees
N/A
FEATURE_OPT_FILTER
Optical filter of the camera lens control
1fValueN/AInteger only
FEATURE_GPIO
General Purpose Input/Output control
6fGPION/AInteger only
fModeN/AInteger only (see GPIO Mode)
fPolarityN/A0 for negative polarity (Active Low)

1 for positive polarity (Active High)
fParameter1Depends on modeN/A
fParameter2Depends on modeN/A
fParameter3Depends on modeN/A
FEATURE_FRAME_RATE *
Frame rate of the video stream
1fValueFrames/secondN/A
FEATURE_ROI *
Region of interest of the image array
4fLeftPixelsInteger only
fTopPixelsInteger only
fWidthPixelsInteger only
fHeightPixelsInteger only
FEATURE_FLIP
Vertical and horizontal flip of the image

Note: Changing this feature can change FEATURE_PIXEL_FORMAT in returned frames when using FORMAT_BAYERXXX.

Flip may be supported on camera, or by the API. Users can determine which cameras support on camera flipping programmatically via the FEATURE_FLAG_EMULATION flag returned by PxLGetCameraFeatures.
2
fHorizontalN/A
(1 = ON, 0 = OFF)
1 or 0 
fVerticalN/A
(1 = ON, 0 = OFF)
1 or 0
FEATURE_PIXEL_ADDRESSING *
Reduction in the number of pixels in the image data
2 or 4fValueN/AInteger only
fMode
N/A
Integer only
fHorizontalValueN/AInteger only
fVerticalValueN/AInteger only
FEATURE_PIXEL_FORMAT *
Format of the pixel data
1fValueN/AInteger only (see Pixel Format)
FEATURE_EXTENDED_SHUTTER
Extended shutter control, allows multiple knee points
5fNumberKneesN/AInteger only
fKnee1SecondsN/A
fKnee2SecondsN/A
fKnee3SecondsN/A
fKnee4SecondsN/A
FEATURE_AUTO_ROI
Region of interest for application of AUTO or ONE_SHOT commands
4fLeftPixelsInteger only
fTopPixelsInteger only
fWidthPixelsInteger only
fHeightPixelsInteger only
FEATURE_LOOKUP_TABLE *
Lookup table control

FEATURE_LOOKUP_TABLE behaves differently with PxLGetCameraFeatures.
1fValue[MAX]N/AInteger only
FEATURE_MEMORY_CHANNEL
The memory channel to which the settings can be saved.
(Read with PxLGetCameraFeatures to determine MAX_MEMORY_CHANNEL)
1fValueN/AInteger only
FEATURE_WHITE_SHADING
Camera color channel gains
3fRedGainDecibels (dB)N/A
fGreenGainDecibels (dB)N/A
fBlueGainDecibels (dB)N/A
FEATURE_ROTATE
Rotation of the image (in 90 degree steps)
 

Note: Changing this feature can change FEATURE_PIXEL_FORMAT when using FORMAT_BAYERXXX.

Rotate may be supported on camera, or by the API. Users can determine which cameras support on camera rotating programmatically via the FEATURE_FLAG_EMULATION flag returned by PxLGetCameraFeatures.
1fValueDegrees ClockwiseN/A
FEATURE_IMAGER_CLOCK_DIVISOR *
Used to slow down the camera's imaging rate
1fValueN/AInteger only (must be power 2)
FEATURE_TRIGGER_WITH_CONTROLLED_LIGHTING *
Allows optimization of triggered image capture with rolling shutter cameras when in controlled or non-controlled lighting.
1fValueN/A1 or 0
FEATURE_MAX_PIXEL_SIZE
Indicates the maximum number of bits used to represent a pixel.
Note that this is representative of the digital pixel value before any pixel formatting is applied. (i.e., the 'raw' pixel data)
1fValueNumber of bitsRead only
FEATURE_BODY_TEMPERATURE
Indicates the current temperature (in degrees Celsius) of the body of the camera
1fValueDegrees CelsiusRead only
FEATURE_MAX_PACKET_SIZE
Controls maximum size of the packets used for image data
1fValueNumberNon-persistable; is auto determined each time a GigE camera is initialized.
FEATURE_BANDWIDTH_LIMIT
Limits the amount of link bandwidth the camera may use for video data
1fValueMillions of bits per secondNone
FEATURE_ACTUAL_FRAME_RATE
If supported, reports the frame rate the camera will actually use when streaming images.
1
fValue
Frames per second
Read only
FEATURE_SHARPNESS_SCORE *
If supported, provides information the camera uses to calculate the 'SharpnessScore' of an image. Sharpness Score is a measure of how many crisp edges there are in an image.
5fLeftPixelsInteger only
fTopPixelsInteger only
fWidthPixelsInteger only
fHeightPixelsInteger only
fMaxValueN/AInteger only
FEATURE_SPECIAL_CAMERA_MODE *

Places the camera in a special mode of operation

1fValueMode

(enumeration)

Integer only
FEATURE_GAIN_HDR *
If supported, puts the camera in a High Dynamic Range (HDR) mode of operation, whereby images can be produced that have enhanced detail discernment in dark areas of the image, without compromising brighter areas of the image.
1fValueN/AInteger only
FEATURE_POLAR_WEIGHTINGS
Specifies the weighting factor to be used for each of the polar-subchannels, when determining pixel values.
4f0ValuePercentLimited to 100 percent
f45ValuePercentLimited to 100 percent
f90ValuePercentLimited to 100 percent
f135ValuePercentLimited to 100 percent
FEATURE_POLAR_HSV_INTERPRETATION *
Defines how the API should interpret the pixel format PIXEL_FORMAT_HSV4_12.
1fInterpretationN/AInteger only
(see HSV Interpretation)
FEATURE_PTP *
4FEATURE_PTP_PARAM_MODEN/AInteger only
FEATURE_PTP_PARAM_STATUSN/AInteger only
FEATURE_PTP_PARAM_
ACCURACY
SecondsRead only
FEATURE_PTP_
PARAM_OFFSET_
FROM_MASTER
SecondsRead only
FEATURE_LIGHTING
4fBrightnessBrightness levelFrom 0 (no light) to 99
fCurrentAmpsRead only
fVoltageVoltsRead only
fTemperatureDegrees CelsiusRead only


Notes 


Most features are used with the following functions:



FEATURE_MEMORY_CHANNEL is an exception. It is used with:



* Changing Camera Features While Streaming


Some features can only be set if the stream state is turned off (STOP_STREAM). Changes to these features can require the camera to renegotiate bandwidth required on the bus, or may require significant changes to the imaging sensor setup, something that can only be done with the stream stopped. 



Note: This is not an exhaustive list.  Which features can be set while streaming, can be determined at runtime (with Pixelink SDK release 7.14 or later) by calling PxLGetCameraFeatures to get information about a feature, and examining the state of the feature flag FEATURE_FLAG_SETTABLE_WHILE_STREAMING.


More information can also be found in the documentation for each feature.