Click or drag to resize

BasePluginCameraAdjustNumberOfChannels Method

Converts the number of channels of sourceMat to the wanted number of channels.

Namespace: RAYLASE.Marker.CamerasPlugin
Assembly: RAYLASE.Marker.CamerasPlugin (in RAYLASE.Marker.CamerasPlugin.dll) Version: 2.19.0
Syntax
C#
public static Mat AdjustNumberOfChannels(
	Mat sourceMat,
	int wantedNumberOfChannels
)

Parameters

sourceMat  Mat
The Mat object to be adjusted.
wantedNumberOfChannels  Int32
The number of channels the returned Mat object will have.

Return Value

Mat
A Mat object containing the same data as source mat but with the given wanted number of channels.
See Also