MedianFilter Class

Measurement Studio 2019 Help

Edition Date: May 2019

Part Number: 375857B-01

»View Product Info
Download Help (Windows Only)

Members See Also


Note: This topic applies to the following Measurement Studio editions: Enterprise, Professional.

Implements a median filter.

Namespace: NationalInstruments.Analysis.Dsp.Filters

Assembly: NationalInstruments.Analysis.Enterprise (in NationalInstruments.Analysis.Enterprise.dll) Version: 19.0.45.49153 (19.0.45.49153)

Syntax

Visual Basic (Declaration)
<SecurityPermissionAttribute(SecurityAction.Demand, Flags := SecurityPermissionFlag.UnmanagedCode)> _
Public NotInheritable Class MedianFilter

C#
[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
public sealed class MedianFilter

Remarks

Filter the input array using the following equation:

Yi = Median(Ji) for i = 0, 1, 2, ..., n - 1

Where Y represents the ouput sequence of the filtered data; n , is the number of elements in the input array; Ji, is a subset of the input array centered about the ith element of the array. The following equation describes Ji:

Ji = {Xi-rl, Xi-rl+1, , Xi-1, Xi, Xi+1, , Xi+rr-1, Xi+rr},

Where rl is the left rank and rr is the right rank.

The following illustration shows the computation of Yi:

Inheritance Hierarchy

System.Object
  NationalInstruments.Analysis.Dsp.Filters.MedianFilter

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

See Also

Reference

MedianFilter Members

NationalInstruments.Analysis.Dsp.Filters Namespace

WAS THIS ARTICLE HELPFUL?

Not Helpful