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()

where

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

 

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

SetPlotAvgMode

PlotCursorRowAvg

PlotCursorColAbg

CImageView class