Method | Description | |
---|---|---|
NeuralColorQuantizer ( ) : System |
Initializes a new instance of the NeuralColorQuantizer class.
|
|
NeuralColorQuantizer ( Byte quality ) : System |
Initializes a new instance of the NeuralColorQuantizer class.
|
Method | Description | |
---|---|---|
LearnNeuronNeighbors ( |
Spread the bias to neuron neighbors.
|
|
OnAddColor ( Color color, |
See BaseColorQuantizer.OnAddColor for more details.
|
|
OnFinish ( ) : void |
See BaseColorQuantizer.OnFinish for more details.
|
|
OnGetPalette ( |
See BaseColorQuantizer.OnGetPalette for more details.
|
|
OnGetPaletteIndex ( Color color, |
See IColorQuantizer.GetPaletteIndex for more details.
|
|
OnPrepare ( |
See BaseColorQuantizer.OnPrepare for more details.
|
Method | Description | |
---|---|---|
FindClosestNeuron ( |
||
LearnNeuron ( |
Forces the strength of bias of the neuron towards certain color.
|
|
LearnSampleColor ( Color color ) : void | ||
SortNetwork ( ) : void | ||
UnbiasNetwork ( ) : void |
protected LearnNeuronNeighbors ( |
||
red | ||
green | ||
blue | ||
networkIndex | ||
radius | ||
return | void |
public NeuralColorQuantizer ( Byte quality ) : System | ||
quality | Byte | The quality. |
return | System |
protected OnAddColor ( Color color, |
||
color | Color | |
key | ||
x | ||
y | ||
return | void |
protected OnGetPalette ( |
||
colorCount | ||
return | List |
protected OnGetPaletteIndex ( Color color, |
||
color | Color | |
key | ||
x | ||
y | ||
paletteIndex | ||
return | void |
protected OnPrepare ( |
||
image | ||
return | void |