C# Class Gif.Components.NeuQuant

Datei anzeigen Open project: angelog/ClipUpload Class Usage Examples

Protected Properties

Property Type Description
alphabiasshift int
alphadec int
alpharadbias int
alpharadbshift int
beta int
betagamma int
betashift int
bias int[]
freq int[]
gamma int
gammashift int
initalpha int
initrad int
initradius int
intbias int
intbiasshift int
lengthcount int
maxnetpos int
minpicturebytes int
ncycles int
netbiasshift int
netindex int[]
netsize int
network int[][]
prime1 int
prime2 int
prime3 int
prime4 int
radbias int
radbiasshift int
radiusbias int
radiusbiasshift int
radiusdec int
radpower int[]
samplefac int
thepicture byte[]

Public Methods

Method Description
ColorMap ( ) : byte[]
Inxbuild ( ) : void
Learn ( ) : void
Map ( int b, int g, int r ) : int
NeuQuant ( byte thepic, int len, int sample ) : System
Process ( ) : byte[]
Unbiasnet ( ) : void

Protected Methods

Method Description
Alterneigh ( int rad, int i, int b, int g, int r ) : void
Altersingle ( int alpha, int i, int b, int g, int r ) : void
Contest ( int b, int g, int r ) : int

Method Details

Alterneigh() protected method

protected Alterneigh ( int rad, int i, int b, int g, int r ) : void
rad int
i int
b int
g int
r int
return void

Altersingle() protected method

protected Altersingle ( int alpha, int i, int b, int g, int r ) : void
alpha int
i int
b int
g int
r int
return void

ColorMap() public method

public ColorMap ( ) : byte[]
return byte[]

Contest() protected method

protected Contest ( int b, int g, int r ) : int
b int
g int
r int
return int

Inxbuild() public method

public Inxbuild ( ) : void
return void

Learn() public method

public Learn ( ) : void
return void

Map() public method

public Map ( int b, int g, int r ) : int
b int
g int
r int
return int

NeuQuant() public method

public NeuQuant ( byte thepic, int len, int sample ) : System
thepic byte
len int
sample int
return System

Process() public method

public Process ( ) : byte[]
return byte[]

Unbiasnet() public method

public Unbiasnet ( ) : void
return void

Property Details

alphabiasshift protected_oe static_oe property

protected static int alphabiasshift
return int

alphadec protected_oe property

protected int alphadec
return int

alpharadbias protected_oe static_oe property

protected static int alpharadbias
return int

alpharadbshift protected_oe static_oe property

protected static int alpharadbshift
return int

beta protected_oe static_oe property

protected static int beta
return int

betagamma protected_oe static_oe property

protected static int betagamma
return int

betashift protected_oe static_oe property

protected static int betashift
return int

bias protected_oe property

protected int[] bias
return int[]

freq protected_oe property

protected int[] freq
return int[]

gamma protected_oe static_oe property

protected static int gamma
return int

gammashift protected_oe static_oe property

protected static int gammashift
return int

initalpha protected_oe static_oe property

protected static int initalpha
return int

initrad protected_oe static_oe property

protected static int initrad
return int

initradius protected_oe static_oe property

protected static int initradius
return int

intbias protected_oe static_oe property

protected static int intbias
return int

intbiasshift protected_oe static_oe property

protected static int intbiasshift
return int

lengthcount protected_oe property

protected int lengthcount
return int

maxnetpos protected_oe static_oe property

protected static int maxnetpos
return int

minpicturebytes protected_oe static_oe property

protected static int minpicturebytes
return int

ncycles protected_oe static_oe property

protected static int ncycles
return int

netbiasshift protected_oe static_oe property

protected static int netbiasshift
return int

netindex protected_oe property

protected int[] netindex
return int[]

netsize protected_oe static_oe property

protected static int netsize
return int

network protected_oe property

protected int[][] network
return int[][]

prime1 protected_oe static_oe property

protected static int prime1
return int

prime2 protected_oe static_oe property

protected static int prime2
return int

prime3 protected_oe static_oe property

protected static int prime3
return int

prime4 protected_oe static_oe property

protected static int prime4
return int

radbias protected_oe static_oe property

protected static int radbias
return int

radbiasshift protected_oe static_oe property

protected static int radbiasshift
return int

radiusbias protected_oe static_oe property

protected static int radiusbias
return int

radiusbiasshift protected_oe static_oe property

protected static int radiusbiasshift
return int

radiusdec protected_oe static_oe property

protected static int radiusdec
return int

radpower protected_oe property

protected int[] radpower
return int[]

samplefac protected_oe property

protected int samplefac
return int

thepicture protected_oe property

protected byte[] thepicture
return byte[]