class StumpyGIF::NeuQuantEntry
- StumpyGIF::NeuQuantEntry
- Reference
- Object
Defined in:
stumpy_gif/neuquant.crConstant Summary
-
BETA =
1.0 / 1024
-
GAMMA =
1024.0
Constructors
Instance Method Summary
- #b : Float64
- #b=(b : Float64)
- #bias : Float64
- #bias=(bias : Float64)
- #distance(pixel)
- #frequency : Float64
- #frequency=(frequency : Float64)
- #g : Float64
- #g=(g : Float64)
- #r : Float64
- #r=(r : Float64)
- #update_bias(closest)
- #update_values(pixel, factor)