Core Optical, Inc.
CosineWindowFunction GetWindowWeight Method Industrial Strength, Scientific Grade
Retrieves the value associated with a particular location within a window function.

Namespace: PrecisionImage.WindowFunctions
Assembly: PrecisionImage (in PrecisionImage.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax

public override float GetWindowWeight(
	float row,
	float column,
	int totalRows,
	int totalColumns
)

Parameters

row
Type: OnlineSystem Single
A OnlineSingle specifying the zero-indexed row number. Does not need to be a whole number.
column
Type: OnlineSystem Single
A OnlineSingle specifying the zero-based index column number. Does not need to be a whole number.
totalRows
Type: OnlineSystem Int32
An OnlineInt32 specifying the total number of rows in a window.
totalColumns
Type: OnlineSystem Int32
An OnlineInt32 specifying the total number of columns in a window.

Return Value

A OnlineSingle between 0.0 - 1.0 corresponding to a weighting value.
See Also