Commit ae27c04
committed
Use Interlocked.Increment(ref Unsafe.Add(ref histogramBase, luminance));
1 parent 5c8f66c commit ae27c04
File tree
1 file changed
+2
-2
lines changed- src/ImageSharp/Processing/Processors/Normalization
1 file changed
+2
-2
lines changedsrc/ImageSharp/Processing/Processors/Normalization/GlobalHistogramEqualizationProcessor{TPixel}.cs
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| 118 | + | |
118 | 119 | | |
119 | 120 | | |
120 | 121 | | |
| |||
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
126 | | - | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| |||
0 commit comments