You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/ImageSharp/Processing/Processors/Normalization/GlobalHistogramEqualizationProcessor.cs
+47-21Lines changed: 47 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,11 @@
4
4
usingSystem;
5
5
usingSystem.Buffers;
6
6
usingSystem.Numerics;
7
+
usingSystem.Runtime.CompilerServices;
7
8
usingSystem.Runtime.InteropServices;
8
9
usingSixLabors.ImageSharp.Advanced;
9
10
usingSixLabors.ImageSharp.Memory;
11
+
usingSixLabors.ImageSharp.ParallelUtils;
10
12
usingSixLabors.ImageSharp.PixelFormats;
11
13
usingSixLabors.Memory;
12
14
usingSixLabors.Primitives;
@@ -23,8 +25,10 @@ internal class GlobalHistogramEqualizationProcessor<TPixel> : HistogramEqualizat
23
25
/// <summary>
24
26
/// Initializes a new instance of the <see cref="GlobalHistogramEqualizationProcessor{TPixel}"/> class.
25
27
/// </summary>
26
-
/// <param name="luminanceLevels">The number of different luminance levels. Typical values are 256 for 8-bit grayscale images
27
-
/// or 65536 for 16-bit grayscale images.</param>
28
+
/// <param name="luminanceLevels">
29
+
/// The number of different luminance levels. Typical values are 256 for 8-bit grayscale images
30
+
/// or 65536 for 16-bit grayscale images.
31
+
/// </param>
28
32
/// <param name="clipHistogram">Indicating whether to clip the histogram bins at a specific value.</param>
29
33
/// <param name="clipLimitPercentage">Histogram clip limit in percent of the total pixels. Histogram bins which exceed this limit, will be capped at this value.</param>
0 commit comments