Get the number of colour
planes in the input image.
function call:
[num1]=vsg('GetChannels',in_img1);
Arguments:
in_img1
input image, 3 channel RGB, 1 channel greyscale or binary image, or
DICOM image.
Description:
[num1]=vsg('GetChannels',in_img1) – num1 is an integer
representing the number of colour planes of the input image.
Example:
img1 =
openimage('lake.jpg');