CImageView:GetPlotAvgMode


The GetPlotAvgMode method returns the Plot Averaging Mode setting for the CImageView. This parameter controls the way that adjacent rows or columns are combined when plotting an "averaged" plot

Syntax

nMode = CImageView:GetPlotAvgMode()

bullet.gif    nMode is the plot averaging mode, a number in the range 1 to 4.

Remarks

Commands such as PlotRowAvg merge adjacent horizontal lines (rows) into a single plotted vector. The available modes are Mean, Median, Sum, and Standard Deviation, as described in the table below.

Plot Averaging Modes

nMode

Description

1

Combines adjacent lines as the mean value at each pixel position.

2

Combines adjacent lines as the median value at each pixel position.

3

Combines adjacent lines as the sum over all lines at each pixel position.

4

Combines adjacent lines as the standard deviation at each pixel location.

Related Topics

CImageView, SetPlotAvgMode, PlotCursorRowAvg. PlotCursorColAbg


Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics, Inc. All Rights Reserved.