Click or drag to resize
SbChannelList Constructor (UInt64, UInt32)

OIV.ImageViz.SbChannelList(1, {0}) means extract only the 1st channel.

Namespace: OIV.ImageViz
Assembly: OIV.ImageViz (in OIV.ImageViz.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public SbChannelList(
	ulong n,
	uint[] channels
)

Parameters

n
Type: SystemUInt64

number of elements in channels array.

channels
Type: SystemUInt32

and ordered set of int listing channel indices.

Remarks

OIV.ImageViz.SbChannelList(3, {0, 1, 2}) means extract the 3 first channels. For performances reasons, the given list must be an ordered set. Each element must appears only 1 time and must be in order. If it is not the case, an exception error will be thrown.

example of invalid arguments: OIV.ImageViz.SbChannelList(3, {1, 1, 2}) OIV.ImageViz.SbChannelList(3, {3, 2, 1})

See Also