SMIL 1.1.2
|
Functions | |
template<class MCT1 , class T2 > | |
RES_T | copyChannel (const Image< MCT1 > &imIn, const UINT &chanNum, Image< T2 > &imOut) |
copyChannel() - Copy a channel of multichannel image into a single channel image | |
template<class T1 , class MCT2 > | |
RES_T | copyToChannel (const Image< T1 > &imIn, const UINT &chanNum, Image< MCT2 > &imOut) |
copyToChannel() - Copy a single channel image into a channel of multichannel image | |
template<class MCT1 , class T2 > | |
RES_T | splitChannels (const Image< MCT1 > &imIn, Image< T2 > &im3DOut) |
splitChannels() - Split channels of multichannel image to a 3D image with each channel on a Z slice | |
template<class T1 , class MCT2 > | |
RES_T | mergeChannels (const Image< T1 > &imIn, Image< MCT2 > &imOut) |
mergeChannels() - Merge slices of a 3D image into a multichannel image | |
RES_T copyChannel | ( | const Image< MCT1 > & | imIn, |
const UINT & | chanNum, | ||
Image< T2 > & | imOut | ||
) |
copyChannel() - Copy a channel of multichannel image into a single channel image
[in] | imIn | : input image |
[in] | chanNum | : channel in the input image to copy |
[out] | imOut | : output image |
Example
RES_T copyToChannel | ( | const Image< T1 > & | imIn, |
const UINT & | chanNum, | ||
Image< MCT2 > & | imOut | ||
) |
copyToChannel() - Copy a single channel image into a channel of multichannel image
[in] | imIn | : input image |
[in] | chanNum | : channel in the output image to copy |
[out] | imOut | : output image |
Example
RES_T splitChannels | ( | const Image< MCT1 > & | imIn, |
Image< T2 > & | im3DOut | ||
) |
splitChannels() - Split channels of multichannel image to a 3D image with each channel on a Z slice
[in] | imIn | : input image |
[out] | im3DOut | : output image |
Example
RES_T mergeChannels | ( | const Image< T1 > & | imIn, |
Image< MCT2 > & | imOut | ||
) |
mergeChannels() - Merge slices of a 3D image into a multichannel image
This function has the inverse behaviour of function splitChannels()
[in] | imIn | : input image |
[out] | imOut | : output image |
Example