layout: default title: RasterHistogram parent: Core Classes —

dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components.Layers

RasterHistogram Class

Raster histogram information returned that meets the specified ImageHistogramParameters from the computeHistograms() or computeStatisticsHistograms() method.

public class RasterHistogram :
System.IEquatable<dymaptic.GeoBlazor.Core.Components.Layers.RasterHistogram>

Inheritance System.Object 🡒 RasterHistogram

Implements System.IEquatable<RasterHistogram>

Constructors

RasterHistogram(int, double, double, int[]) Constructor

Raster histogram information returned that meets the specified ImageHistogramParameters from the computeHistograms() or computeStatisticsHistograms() method.

public RasterHistogram(int Size, double Min, double Max, int[] Counts);

Parameters

Size System.Int32

Number of bins.

Min System.Double

The minimum pixel value of the histogram. Matches the minimum bound of the first bin.

Max System.Double

The maximum pixel value of the histogram. Matches the maximum bound of the last bin.

Counts System.Int32[]

Count of pixels that fall into each bin.

Properties

RasterHistogram.Counts Property

Count of pixels that fall into each bin.

public int[] Counts { get; set; }

Property Value

System.Int32[]

RasterHistogram.Max Property

The maximum pixel value of the histogram. Matches the maximum bound of the last bin.

public double Max { get; set; }

Property Value

System.Double

RasterHistogram.Min Property

The minimum pixel value of the histogram. Matches the minimum bound of the first bin.

public double Min { get; set; }

Property Value

System.Double

RasterHistogram.Size Property

Number of bins.

public int Size { get; set; }

Property Value

System.Int32