Encapsulation of the ImageMagick ChannelMoments object.
Exemple #1
0
        private void AddChannel(IntPtr list, PixelChannel channel)
        {
            IntPtr instance = NativeMoments.GetInstance(list, channel);

            ChannelMoments result = ChannelMoments.Create(channel, instance);

            if (result != null)
            {
                _channels.Add(result.Channel, result);
            }
        }