1 from smilPython
import *
4 im1 = Image(
"https://smil.cmm.minesparis.psl.eu/images/arearea.png")
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
Definition: DImageArith.hpp:1827
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
Definition: DImageArith.hpp:1892
RES_T mergeChannels(const Image< T1 > &imIn, Image< MCT2 > &imOut)
mergeChannels() - Merge slices of a 3D image into a multichannel image
Definition: DImageArith.hpp:1925
RES_T dilate(const Image< T > &imIn, Image< T > &imOut, const StrElt &se=DEFAULT_SE, const T borderVal=ImDtTypes< T >::min())
dilate() - Morphological grayscale dilation
Definition: DMorphoBase.hpp:65