calculates the gray level variance in a multi channel image
ChannelVariance = ComputeChannelVariance(MultiChannelImage, FilterSize);
3D matrix of type double
vector of type double with two elements, the first one specifies the height, the second one the width of the filter
3D matrix of the same type and size as MultiChannelImage
This function calculates the gray level variance in a neighborhood for each pixel of a multi channel image.