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
SyntaxPublic 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.
ExamplesDim OutStats(8) As Double
ThisApplication.ActiveImage.MeasurementsData.CalcStatistics "mLnLength", OutStats
Debug.Print "Mean Line.Length= " + OutStats(0)
See Also