Click or drag to resize

IMcHistogramSum Property

The calibrated (depending on Mode) Sum of all the bin counts where calibrated bin counts (Values) are multiplied by their x value (calibrated intensity), and accumulated.

Namespace:  MediaCy.IQL.Operations
Assembly:  MediaCy.IQL.Operations (in MediaCy.IQL.Operations.dll) Version: 10.0.6912.0
Syntax
VB
ReadOnly Property Sum ( 
	Optional Channel As Integer = -1
) As Object
	Get

Parameters

Channel (Optional)
Type: SystemInt32

Property Value

Type: Object
Remarks
The Compute method is called automatically (on the parent IMcImage) whenever it is necessary. In order to compute the Histogram on another image than the parent, one has to call Compute explicitly. This property returns an array of NumberOfChannels values if Channel=-1, or otherwise a single double precision floating point value for the specified channel. Note that since most property viewers (including the VBA Immediate window) will only display single (scalar) values, the channel must be specified when the property is used in this way, for instance, ? ThisApplication.ActiveImage.Histogram.Sum 0
See Also

Reference