back to Table of Contents


ExtractChannels (function)

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)

shan&, mask& (LONGs)

minX%, minY%, maxX%, maxY% (INTEGERs)


RESULT:

newImg& (LONG)


back to Table of Contents