Encapsulation of the ImageMagick ChannelMoments object.
Пример #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);
            }
        }