CaptureProperty Enumeration OpenCvSharp Class Library
Property identifiers for CvCapture

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public enum CaptureProperty
Members

  Member nameValueDescription
PosMsec0 Position in milliseconds from the file beginning [CV_CAP_PROP_POS_MSEC]
PosFrames1 Position in frames (only for video files) [CV_CAP_PROP_POS_FRAMES]
PosAviRatio2 Position in relative units (0 - start of the file, 1 - end of the file) [CV_CAP_PROP_POS_AVI_RATIO]
FrameWidth3 Width of frames in the video stream (only for cameras) [CV_CAP_PROP_FRAME_WIDTH]
FrameHeight4 Height of frames in the video stream (only for cameras) [CV_CAP_PROP_FRAME_HEIGHT]
Fps5 Frame rate (only for cameras) [CV_CAP_PROP_FPS]
FourCC6 4-character code of codec (only for cameras). [CV_CAP_PROP_FOURCC]
FrameCount7 Number of frames in the video stream [CV_CAP_PROP_FRAME_COUNT]
Format8 The format of the Mat objects returned by retrieve() [CV_CAP_PROP_FORMAT]
Mode9 A backend-specific value indicating the current capture mode [CV_CAP_PROP_MODE]
Brightness10 Brightness of image (only for cameras) [CV_CAP_PROP_BRIGHTNESS]
Contrast11 contrast of image (only for cameras) [CV_CAP_PROP_CONTRAST]
Saturation12 Saturation of image (only for cameras) [CV_CAP_PROP_SATURATION]
Hue13 hue of image (only for cameras) [CV_CAP_PROP_HUE]
Gain14 Gain of the image (only for cameras) [CV_CAP_PROP_GAIN]
Exposure15 Exposure (only for cameras) [CV_CAP_PROP_EXPOSURE]
ConvertRgb16 Boolean flags indicating whether images should be converted to RGB [CV_CAP_PROP_CONVERT_RGB]
WhiteBalance17 [CV_CAP_PROP_WHITE_BALANCE]
Rectification18 TOWRITE (note: only supported by DC1394 v 2.x backend currently) [CV_CAP_PROP_RECTIFICATION]
Monocrome19 [CV_CAP_PROP_MONOCROME]
Sharpness20 [CV_CAP_PROP_SHARPNESS]
AutoExposure21 exposure control done by camera, user can adjust refernce level using this feature [CV_CAP_PROP_AUTO_EXPOSURE]
Gamma22 [CV_CAP_PROP_GAMMA]
Temperature23 [CV_CAP_PROP_TEMPERATURE]
Trigger24 [CV_CAP_PROP_TRIGGER]
TriggerDelay25 [CV_CAP_PROP_TRIGGER_DELAY]
WhiteBalanceRedV26 [CV_CAP_PROP_WHITE_BALANCE_RED_V]
MaxDC139427 [CV_CAP_PROP_MAX_DC1394]
AutoGrab1024 property for highgui class CvCapture_Android only [CV_CAP_PROP_AUTOGRAB]
SupportedPreviewSizesString1025 readonly, tricky property, returns cpnst char* indeed [CV_CAP_PROP_SUPPORTED_PREVIEW_SIZES_STRING]
PreviewFormat1026 readonly, tricky property, returns cpnst char* indeed [CV_CAP_PROP_PREVIEW_FORMAT]
OpenNI_OutputMode100
OpenNI_FrameMaxDepth101
OpenNI_Baseline102
OpenNI_FocalLength103
OpenNI_RegistrationON104
OpenNI_Registratiob104 flag that synchronizes the remapping depth map to image map by changing depth generator's view point (if the flag is "on") or sets this view point to its normal one (if the flag is "off").
OpenNI_ImageGeneratorOutputMode-2147483548
OpenNI_DepthGeneratorBaseline102
OpenNI_DepthGeneratorFocalLength103
OpenNI_DepthGeneratorRegistrationON104
GStreamerQueueLength200 default is 1
PvAPIMulticastIP300 ip for anable multicast master mode. 0 for disable multicast
XI_Downsampling400 Change image resolution by binning or skipping.
XI_DataFormat401 Output data format.
XI_OffsetX402 Horizontal offset from the origin to the area of interest (in pixels).
XI_OffsetY403 Vertical offset from the origin to the area of interest (in pixels).
XI_TrgSource404 Defines source of trigger.
XI_TrgSoftware405 Generates an internal trigger. PRM_TRG_SOURCE must be set to TRG_SOFTWARE.
XI_GpiSelector406 Selects general purpose input
XI_GpiMode407 Set general purpose input mode
XI_GpiLevel408 Get general purpose level
XI_GpoSelector409 Selects general purpose output
XI_GpoMode410 Set general purpose output mode
XI_LedSelector411 Selects camera signalling LED
XI_LedMode412 Define camera signalling LED functionality
XI_ManualWB413 Calculates White Balance(must be called during acquisition)
XI_AutoWB414 Automatic white balance
XI_AEAG415 Automatic exposure/gain
XI_ExpPriority416 Exposure priority (0.5 - exposure 50%, gain 50%).
XI_AEMaxLimit417 Maximum limit of exposure in AEAG procedure
XI_AGMaxLimit418 Maximum limit of gain in AEAG procedure
XI_AEAGLevel419 Average intensity of output signal AEAG should achieve(in %)
XI_Timeout420 Image capture timeout in milliseconds
See Also

Reference