C# Class Trigrad.DataTypes.FrequencyTable

A frequency table defining how likely a sample will be formed during a TrigradCompression.
Show file Open project: ruarai/Trigrad Class Usage Examples

Public Properties

Property Type Description
Table ].double[

Public Methods

Method Description
FrequencyTable ( PixelMap pixelmap, double power = 1.7 ) : System

Constructs a frequency table using sobel edge detection.

FrequencyTable ( double table ) : System

Constructs a frequency table using a specified table of values.

Private Methods

Method Description
sobelFilter ( PixelMap map ) : ].double[
sobelPass ( PixelMap map, double kernel ) : ].double[

Method Details

FrequencyTable() public method

Constructs a frequency table using sobel edge detection.
public FrequencyTable ( PixelMap pixelmap, double power = 1.7 ) : System
pixelmap PixelMap
power double
return System

FrequencyTable() public method

Constructs a frequency table using a specified table of values.
public FrequencyTable ( double table ) : System
table double
return System

Property Details

Table public property

The underlying 2D frequency table, with values lying from 0 to 1.
public double[,] Table
return ].double[