SbChannelList Class |
List of channel to extract.
Namespace: OIV.ImageViz
The SbChannelList type exposes the following members.
Name | Description | |
---|---|---|
SbChannelList(UInt64) | Construct channelList corresponding to all channel from 0 to n-1: {0, 1, 2, ..., n-1}. | |
SbChannelList(UInt64, UInt32) | OIV.ImageViz.SbChannelList(1, {0}) means extract only the 1st channel. |
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
GetNumChannel | Return number of channel to extract. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Specify a list of channel to extract. For instance: {0, 1, 2} represent 3 first channels. OIV.ImageViz.SbChannelList is an ordered set. Channels are present only one time and are sorted by order.
Channels can be accessed with operator[]. Number of channel can be accessed with OIV.ImageViz.SbChannelList.GetNumChannel().
Note: Because it is an ordered set, for a given OIV.ImageViz.Nodes.Images.SoImageDataAdapter if channelList.getNumChannel() == image.getNumChannel(), this imply that channelList contains all the channels of image.