This simple effect will keep those component channels you specify in the image and discard all the rest. Naturally, the resulting image will be black if you discard all of the channels.
SYNTAX:
newImg& = ExtractChannels& (shan&, channels$, minX%, minY%, maxX%, maxY%, mask&)
INPUTS:
channels$ (STRING)
- None, one or more of the letters "A", "R", "G" and "B", which specify the channels you wanna keep in the image, the case and order of the letters doesn't matter.
shan&, mask& (LONGs)
minX%, minY%, maxX%, maxY% (INTEGERs)
- See page Common Info.
RESULT:
newImg& (LONG)
- See page Common Info.