org.opensourcephysics.media.gif
Class NeuQuant
java.lang.Object
org.opensourcephysics.media.gif.NeuQuant
public class NeuQuant
- extends java.lang.Object
A class to provide color quantization for GIF
Method Summary |
protected void |
alterneigh(int rad,
int i,
int b,
int g,
int r)
|
protected void |
altersingle(int alpha,
int i,
int b,
int g,
int r)
|
protected int |
contest(int b,
int g,
int r)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
netsize
protected static final int netsize
- See Also:
- Constant Field Values
prime1
protected static final int prime1
- See Also:
- Constant Field Values
prime2
protected static final int prime2
- See Also:
- Constant Field Values
prime3
protected static final int prime3
- See Also:
- Constant Field Values
prime4
protected static final int prime4
- See Also:
- Constant Field Values
minpicturebytes
protected static final int minpicturebytes
- See Also:
- Constant Field Values
maxnetpos
protected static final int maxnetpos
- See Also:
- Constant Field Values
netbiasshift
protected static final int netbiasshift
- See Also:
- Constant Field Values
ncycles
protected static final int ncycles
- See Also:
- Constant Field Values
intbiasshift
protected static final int intbiasshift
- See Also:
- Constant Field Values
intbias
protected static final int intbias
- See Also:
- Constant Field Values
gammashift
protected static final int gammashift
- See Also:
- Constant Field Values
gamma
protected static final int gamma
- See Also:
- Constant Field Values
betashift
protected static final int betashift
- See Also:
- Constant Field Values
beta
protected static final int beta
- See Also:
- Constant Field Values
betagamma
protected static final int betagamma
- See Also:
- Constant Field Values
initrad
protected static final int initrad
- See Also:
- Constant Field Values
radiusbiasshift
protected static final int radiusbiasshift
- See Also:
- Constant Field Values
radiusbias
protected static final int radiusbias
- See Also:
- Constant Field Values
initradius
protected static final int initradius
- See Also:
- Constant Field Values
radiusdec
protected static final int radiusdec
- See Also:
- Constant Field Values
alphabiasshift
protected static final int alphabiasshift
- See Also:
- Constant Field Values
initalpha
protected static final int initalpha
- See Also:
- Constant Field Values
alphadec
protected int alphadec
radbiasshift
protected static final int radbiasshift
- See Also:
- Constant Field Values
radbias
protected static final int radbias
- See Also:
- Constant Field Values
alpharadbshift
protected static final int alpharadbshift
- See Also:
- Constant Field Values
alpharadbias
protected static final int alpharadbias
- See Also:
- Constant Field Values
thepicture
protected byte[] thepicture
lengthcount
protected int lengthcount
samplefac
protected int samplefac
network
protected int[][] network
netindex
protected int[] netindex
bias
protected int[] bias
freq
protected int[] freq
radpower
protected int[] radpower
alterneigh
protected void alterneigh(int rad,
int i,
int b,
int g,
int r)
altersingle
protected void altersingle(int alpha,
int i,
int b,
int g,
int r)
contest
protected int contest(int b,
int g,
int r)