PlanetaryComputerModelFactory.BandStatistics Method

Definition

Statistical information about a data band.

public static Azure.Analytics.PlanetaryComputer.BandStatistics BandStatistics(float minimum = 0, float maximum = 0, float mean = 0, float count = 0, float sum = 0, float std = 0, float median = 0, float majority = 0, float minority = 0, float unique = 0, System.Collections.Generic.IEnumerable<System.Collections.Generic.IList<float>> histogram = default, float validPercent = 0, float maskedPixels = 0, float validPixels = 0, float percentile2 = 0, float percentile98 = 0);
static member BandStatistics : single * single * single * single * single * single * single * single * single * single * seq<System.Collections.Generic.IList<single>> * single * single * single * single * single -> Azure.Analytics.PlanetaryComputer.BandStatistics
Public Shared Function BandStatistics (Optional minimum As Single = 0, Optional maximum As Single = 0, Optional mean As Single = 0, Optional count As Single = 0, Optional sum As Single = 0, Optional std As Single = 0, Optional median As Single = 0, Optional majority As Single = 0, Optional minority As Single = 0, Optional unique As Single = 0, Optional histogram As IEnumerable(Of IList(Of Single)) = Nothing, Optional validPercent As Single = 0, Optional maskedPixels As Single = 0, Optional validPixels As Single = 0, Optional percentile2 As Single = 0, Optional percentile98 As Single = 0) As BandStatistics

Parameters

minimum
Single

Minimum value in the band.

maximum
Single

Maximum value in the band.

mean
Single

Mean value of the band.

count
Single

Count of pixels in the band.

sum
Single

Sum of all pixel values in the band.

std
Single

Standard deviation of pixel values in the band.

median
Single

Median value of the band.

majority
Single

Most common value in the band.

minority
Single

Least common value in the band.

unique
Single

Count of unique values in the band.

histogram
IEnumerable<IList<Single>>

Histogram of pixel values in the band.

validPercent
Single

Percentage of valid (non-masked) pixels.

maskedPixels
Single

Count of masked pixels in the band.

validPixels
Single

Count of valid (non-masked) pixels in the band.

percentile2
Single

Percentile 2 The 2nd percentile value.

percentile98
Single

Percentile 98 The 98th percentile value.

Returns

A new BandStatistics instance for mocking.

Applies to