ImageMagick.Moments.GetChannel C# (CSharp) Method

GetChannel() public method

Gets the moments for the specified channel.
public GetChannel ( PixelChannel channel ) : ChannelMoments
channel PixelChannel The channel to get the moments for.
return ChannelMoments
    public ChannelMoments GetChannel(PixelChannel channel)
    {
      ChannelMoments moments;
      _Channels.TryGetValue(channel, out moments);
      return moments;
    }
  }