C# Class Trigrad.DataTypes.TrigradOptions

Options for the usage of the TrigradCompressor.
Exibir arquivo Open project: ruarai/Trigrad Class Usage Examples

Public Properties

Property Type Description
FrequencyTable FrequencyTable
Iterations int
Random System.Random
Renderer IFill
ResampleColors bool
Resamples int
SampleCount int

Public Methods

Method Description
TrigradOptions ( ) : System

Constructs a TrigradOptions with a random seed.

TrigradOptions ( int seed ) : System

Constructs a TrigradOptions with a specified seed.

Method Details

TrigradOptions() public method

Constructs a TrigradOptions with a random seed.
public TrigradOptions ( ) : System
return System

TrigradOptions() public method

Constructs a TrigradOptions with a specified seed.
public TrigradOptions ( int seed ) : System
seed int
return System

Property Details

FrequencyTable public_oe property

The frequency table providing the TrigradCompressor values regarding the chance a pixel will be sampled.
public FrequencyTable,Trigrad.DataTypes FrequencyTable
return FrequencyTable

Iterations public_oe property

The number of iterations performed during minimisation.
public int Iterations
return int

Random public_oe property

The random number generator to be used by the TrigradCompressor.
public Random,System Random
return System.Random

Renderer public_oe property

public IFill Renderer
return IFill

ResampleColors public_oe property

public bool ResampleColors
return bool

Resamples public_oe property

The number of resamples.
public int Resamples
return int

SampleCount public_oe property

The goal number of samples to be achieved.
public int SampleCount
return int