Function:GetChannel
From CUVI Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Extracts the specified channel from a multichannel image.
Function
|
Parameters
Name | Type | Description |
---|---|---|
src | const CuviImage& | Input Image |
dst | CuviImage& | Destination Image |
channel | Cuvi32s | Channel number from 0 to (src.channels() - 1) |
stream | const CuviStream& | GPU stream ID for execution |
Image Type Support
Input | Output |
---|---|
8uC3 | 8uC1 |
8uC4 | 8uC1 |
16uC3 | 16uC1 |
16uC4 | 16uC1 |
32fC3 | 32fC1 |
32fC4 | 32fC1 |
Example
|