forked from dlemstra/Magick.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIMoments.cs
More file actions
23 lines (20 loc) · 734 Bytes
/
Copy pathIMoments.cs
File metadata and controls
23 lines (20 loc) · 734 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET.
// Licensed under the Apache License, Version 2.0.
namespace ImageMagick;
/// <summary>
/// The normalized moments of one or more image channels.
/// </summary>
public interface IMoments
{
/// <summary>
/// Gets the moments for the all the channels.
/// </summary>
/// <returns>The moments for the all the channels.</returns>
IChannelMoments? Composite();
/// <summary>
/// Gets the moments for the specified channel.
/// </summary>
/// <param name="channel">The channel to get the moments for.</param>
/// <returns>The moments for the specified channel.</returns>
IChannelMoments? GetChannel(PixelChannel channel);
}