bool Imagick::separateImageChannel    ( int $channel   )

Imagick::separateImageChannelSeparates a channel from the image

channel

Which 'channel' to return. For colorspaces other than RGB, you can still use the CHANNEL_RED, CHANNEL_GREEN, CHANNEL_BLUE constants to indicate the 1st, 2nd and 3rd channels.