Interface IHistogramData
- Namespace
- PaintDotNet.Direct2D1.Effects
- Assembly
- PaintDotNet.Windows.Framework.dll
Contains the output data for HistogramEffect2.
public interface IHistogramData : IObjectRef, IIsDisposed, IDisposable, IInternalImpl
- Inherited Members
- Extension Methods
Properties
- MaxBinValue
For each channel, gets the the maximum value in the histogram.
- MeanColor
Gets the average of the binned colors, weighted by count.
- SumBinValues
The per-channel sum of all elements in the Bins array.
Methods
- GetBinIntensity(int)
Gets the intensity of the bin. This is equal to (bin / Bins.Count - 1). The first bin (bin=0) has intensity 0, while the last bin (bin=Bins.Count-1) has intensity 1.
- GetPercentileColor(float)
Gets the color at the specified percentile of the histogram. For each channel independently, finds the intensity bin at which the cumulative sum of histogram values first exceeds the given fraction of the total sum.