Click or drag to resize

McMMDataCalcStatistics Method

Returns array of statistical parameters for the given measurement.

Namespace:  MediaCy.Addins.Measurements
Assembly:  MediaCy.Addins.Measurements (in MediaCy.Addins.Measurements.dll) Version: 3.1.0.0
Syntax
VB
Public Sub CalcStatistics ( 
	MeasName As MeasEntry,
	ByRef OutStats As Double(),
	Optional Percentile As Double = -1
)

Parameters

MeasName
Type: MediaCy.Addins.MeasurementsMeasEntry
MeasName - name of the measurement (localized version). OutStats array of doubles to receive statistical values. The values are in order of mcStatsTypes enumeration.
OutStats
Type: SystemDouble
Percentile (Optional)
Type: SystemDouble
Remarks
Statistics is calculated only for visible measurements.
Examples
VB
Dim OutStats(8) As Double
ThisApplication.ActiveImage.MeasurementsData.CalcStatistics "mLnLength", OutStats
Debug.Print "Mean Line.Length= " + OutStats(0)
See Also