BasePluginCameraAdjustNumberOfChannels Method |
Converts the number of channels of sourceMat to the wanted number
of channels.
Namespace: RAYLASE.Marker.CamerasPluginAssembly: RAYLASE.Marker.CamerasPlugin (in RAYLASE.Marker.CamerasPlugin.dll) Version: 2.19.0
Syntaxpublic 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
MatA Mat object containing the same data as source mat but
with the given wanted number of channels.
See Also