Click or drag to resize

VideoCaptureProperties Enumeration

Property identifiers for CvCapture

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public enum VideoCaptureProperties
Members
  Member nameValueDescription
PosMsec0 Position in milliseconds from the file beginning
PosFrames1 Position in frames (only for video files)
PosAviRatio2 Position in relative units (0 - start of the file, 1 - end of the file)
FrameWidth3 Width of frames in the video stream (only for cameras)
FrameHeight4 Height of frames in the video stream (only for cameras)
Fps5 Frame rate (only for cameras)
FourCC6 4-character code of codec (only for cameras).
FrameCount7 Number of frames in the video stream
Format8 The format of the Mat objects returned by retrieve()
Mode9 A backend-specific value indicating the current capture mode
Brightness10 Brightness of image (only for cameras)
Contrast11 contrast of image (only for cameras)
Saturation12 Saturation of image (only for cameras)
Hue13 hue of image (only for cameras)
Gain14 Gain of the image (only for cameras)
Exposure15 Exposure (only for cameras)
ConvertRgb16 Boolean flags indicating whether images should be converted to RGB
WhiteBalanceBlueU17
Rectification18 TOWRITE (note: only supported by DC1394 v 2.x backend currently)
Monocrome19
Sharpness20
AutoExposure21 exposure control done by camera, user can adjust refernce level using this feature
Gamma22
Temperature23
Trigger24
TriggerDelay25
WhiteBalanceRedV26
Zoom27
Focus28
Guid29
IsoSpeed30
BackLight32
Pan33
Tilt34
Roll35
Iris36
Settings37 Pop up video/camera filter dialog (note: only supported by DSHOW backend currently. Property value is ignored)
BufferSize38
AutoFocus39
SARNum40 Sample aspect ratio: num/den (num)
SARDen41 Sample aspect ratio: num/den (den)
Backend42 Current backend (enum VideoCaptureAPIs). Read-only property
Channel43 Video input or Channel Number (only for those cameras that support)
AutoWB44 enable/ disable auto white-balance
WBTemperature45 white-balance color temperature
OpenNI_OutputMode100
OpenNI_FrameMaxDepth101 in mm
OpenNI_Baseline102 in mm
OpenNI_FocalLength103 in pixels
OpenNI_Registration104 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_ApproxFrameSync105
OPENNI_MaxBufferSize106
OPENNI_CircleBuffer107
OPENNI_MaxTimeDuration108
OPENNI_GeneratorPresent109
OPENNI2_Sync110
OPENNI2_Mirror111
OpenNI_DepthGenerator-2147483648
OpenNI_ImageGenerator1073741824
OpenNI_ImageGeneratorPresent1073741933
OpenNI_ImageGeneratorOutputMode1073741924
OpenNI_DepthGeneratorBaseline1073741926
OpenNI_DepthGeneratorFocalLength1073741927
OpenNI_DepthGeneratorRegistrationON1073741928
GStreamerQueueLength200 default is 1
PvAPIMulticastIP300 ip for anable multicast master mode. 0 for disable multicast
PVAPI_FrameStartTriggerMode301 Determines how a frame is initiated
PVAPI_DecimationHorizontal302 Horizontal sub-sampling of the image
PVAPI_DecimationVertical303 Vertical sub-sampling of the image
PVAPI_BinningX304 Horizontal binning factor
PVAPI_BinningY305 Vertical binning factor
PVAPI_PixelFormat306 Pixel format
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
IOS_DeviceFocus9001
IOS_DeviceExposure9002
IOS_DeviceFlash9003
IOS_DeviceWhiteBalance9004
IOS_DeviceTorch9005
GIGA_FrameOffsetX10001
GIGA_FrameOffsetY10002
GIGA_FrameWidthMax10003
GIGA_FrameHeightMax10004
GIGA_FrameSensWidth10005
GIGA_FrameSensHeight10006
INTELPERC_ProfileCount11001
INTELPERC_ProfileIdx11002
INTELPERC_DepthLowConfidenceValue11003
INTELPERC_DepthSaturationValue11004
INTELPERC_DepthConfidenceThreshold11005
INTELPERC_DepthFocalLengthHorz11006
INTELPERC_DepthFocalLengthVert11007
GPhoto2_Preview17001 Capture only preview from liveview mode.
GPhoto2_WidgetEnumerate17002 Readonly, returns (const char *).
GPhoto2_ReloadConfig17003 Trigger, only by set. Reload camera settings.
GPhoto2_ReloadOnChange17004 Reload all settings on set.
GPhoto2_CollectMsgs17005 Collect messages with details.
GPhoto2_FlushMsgs17006 Readonly, returns (const char *).
Speed17007 Exposure speed. Can be readonly, depends on camera program.
Aperture17008 Aperture. Can be readonly, depends on camera program.
ExposureProgram17009 Camera exposure program.
ViewFinder17010 Enter liveview mode.
See Also