Operates key adjustment.
Methods
KeyAddPoint
Adds a point to a key.
Syntax
KeyAddPoint(
int _nXPosPixels,
int _nYPosPixels,
string _bsProps,
out object _ppMFrameRes
)
Parameters
_nXPosPixels - a horizontal position of a pixel
_nYPosPixels - a vertical position of a pixel
_bsProps - additional properties
_ppMFrameRes - the output frame
KeyAddRect
Adds a rectangle to a key.
Syntax
KeyAddRect(
int _nX1PosPixels,
int _nY1PosPixels,
int _nX2PosPixels,
int _nY2PosPixels,
string _bsProps,
out object _ppMFrameRes
)
Parameters
_nX1PosPixels - a horizontal position of the 1st point
_nY1PosPixels - a vertical position of the 1st point
_nX2PosPixels - a horizontal position of the 2nd point
_nY2PosPixels - a vertical position of the 2nd point
_bsProps - additional properties
_ppMFrameRes - the output frame
KeyAdjustGet
Gets keying adjustment properties.
Syntax
KeyAdjustGet(
eCK_Adjust _eAdjust,
out double _pdblValue
)
Parameters
_eAdjust - adjust type
_pdblValue - value of selected parameter
KeyAdjustSet
Sets keying adjustment properties.
Syntax
KeyAdjustSet(
eCK_Adjust _eAdjust,
double _dblValue,
out object _ppMFrameRes
)
Parameters
_eAdjust - adjust type
_dblValue - value of selected parameter
_ppMFrameRes - the output frame
KeyDetect
Detects key automatically.
Syntax
KeyDetect(
string _bsProps,
out object _ppMFrameRes
)
Parameters
_bsProps - additional properties ("type", "max_keys" etc.)
_ppMFrameRes - the output frame
KeyExcludePoint
Excludes a point from the keying configuration.
Syntax
KeyExcludePoint(
int _nXPosPixels,
int _nYPosPixels,
string _bsProps,
out object _ppMFrameRes
)
Parameters
_nXPosPixels - a horizontal position of a point
_nYPosPixels - a vertical position of a point
_bsProps - additional properties
_ppMFrameRes - the output frame
KeyFrameGet
Gets a frame for keying detection and a background frame.
Syntax
KeyFrameGet(
out object _ppMFrameRes,
out object _ppMFrameBG
)
Parameters
_ppMFrameRes - the output frame
_ppMFrameBG - the background frame
KeyFrameSet
Sets a frame for keying detection and a background frame.
Syntax
KeyFrameSet(
object _pMFrameKeyingOrNull,
object _pMFrameBGOrNull
)
Parameters
_ppMFrameRes - the input frame for keying detection
_ppMFrameBG - the background frame
KeyRawGet
Gets the current chroma key structure.
Syntax
KeyRawGet(
out CHROMA_KEY_RAW _pvmKey,
out CK_ADJUST _pKeyAdjust
)
Parameters
_pvmKey - the current chroma key structure
_pKeyAdjust - the current chroma key adjustment parameters
KeyRawSet
Sets the current chroma key structure.
Syntax
KeyRawSet(
ref CHROMA_KEY_RAW _pvmKey,
ref CK_ADJUST _pKeyAdjust
)
Parameters
_pvmKey - the current chroma key structure
_pKeyAdjust - the current chroma key adjustment parameters
KeyReset
Resets the chroma keying configuration.
Syntax
KeyReset(
out object _ppMFrameRes
)
Parameters
_ppMFrameRes - output frame
KeyStepBack
Undo previous adjustment steps.
Syntax
KeyStepBack(
int _nSteps,
out object _ppMFrameRes
)
Parameters
_nSteps - number of steps to undo
_ppMFrameRes - the output frame
KeyStepFwd
Redo previous adjustment steps.
Syntax
KeyStepFwd(
int _nSteps,
out object _ppMFrameRes
)
Parameters
_nSteps - number of steps to redo
_ppMFrameRes - the output frame