[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct2D.Effects.Histogram

Class Histogram

Namespace
GrapeCity.Documents.DX.Direct2D.Effects
Assembly
GcDocs.DX.Windows.dll

Builtin Histogram effect.

public class Histogram : Effect, IDisposable, IUnknown
Inheritance
object
Histogram
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

Histogram(IntPtr)

Initializes a new instance of the Histogram class.

public Histogram(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Properties

ChannelSelect

Specifies the channel used to generate the histogram. This effect has a single data output corresponding to the specified channel. See Channel selectors for more info.

public ChannelSelector ChannelSelect { get; set; }

Property Value

ChannelSelector

HistogramOutput

The output array.

public float[] HistogramOutput { get; }

Property Value

float[]

NumBins

Specifies the number of bins used for the histogram. The range of intensity values that fall into a particular bucket depend on the number of specified buckets.

public int NumBins { get; set; }

Property Value

int

Methods

Create(DeviceContext)

Initializes a new instance of Histogram effect.

public static Histogram Create(DeviceContext context)

Parameters

context DeviceContext

Returns

Histogram