IRasterHistogram Interface

Provides access to members that control a raster histogram.

Description

IRasterHistogram is used to obtain the histogram of pixel values in a raster band.

Members

Name Description
Method Bin Translates pixel values to integer Bin index.
Read-only property BinFunction The Bin function that maps pixel value into histogram index.
Read/write property Counts Count array in doubles.

IRasterHistogram.Bin Method

Translates pixel values to integer Bin index.

Public Function Bin ( _
    ByVal pixval As Double _
) As Integer
public int Bin (
    double pixval
);

IRasterHistogram.BinFunction Property

The Bin function that maps pixel value into histogram index.

Public ReadOnly Property BinFunction As IBinFunction
public IBinFunction BinFunction {get;}

IRasterHistogram.Counts Property

Count array in doubles.

Public Property Counts As Object
public object Counts {get; set;}

Remarks

This property returns the histogram of the binned pixel values in range 0-255. e.g. an array of 256 and each element is the count.

The pixel values in the raster band will be binned to 0-255 if they are beyond this range.

Classes that implement IRasterHistogram

Classes Description
RasterHistogram A raster histogram class.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close