메소드 | 설명 | |
---|---|---|
NeuralColorQuantizer ( ) : System |
Initializes a new instance of the NeuralColorQuantizer class.
|
|
NeuralColorQuantizer ( Byte quality ) : System |
Initializes a new instance of the NeuralColorQuantizer class.
|
메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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 | ||
리턴 | void |
public NeuralColorQuantizer ( Byte quality ) : System | ||
quality | Byte | The quality. |
리턴 | System |
protected OnAddColor ( Color color, |
||
color | Color | |
key | ||
x | ||
y | ||
리턴 | void |
protected OnGetPalette ( |
||
colorCount | ||
리턴 | List |
protected OnGetPaletteIndex ( Color color, |
||
color | Color | |
key | ||
x | ||
y | ||
paletteIndex | ||
리턴 | void |