A haxe implementation of NEUQUANT Neural-Net quantization algorithm by Anthony Dekker, 1994
ngrebenshikov/HaxeNeuQuant
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more about the CLI.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
---------------------------------------------------------- Haxe version of NeuQuant Neural-Net Quantization Algorithm ---------------------------------------------------------- 1. Copyrights for NeuQuant Neural-Net Quantization Algorithm 2. Demo 3. Install and using 4. Documentation (http://wiki.github.com/ngrebenshikov/HaxeNeuQuant/) 1. NeuQuant Neural-Net Quantization Algorithm --------------------------------------------- Copyright (c) 1994 Anthony Dekker NEUQUANT Neural-Net quantization algorithm by Anthony Dekker, 1994. See "Kohonen neural networks for optimal colour quantization" in "Network: Computation in Neural Systems" Vol. 5 (1994) pp 351-367. for a discussion of the algorithm. See also http://members.ozemail.com.au/~dekker/NEUQUANT.HTML Any party obtaining a copy of these files from the author, directly or indirectly, is granted, free of charge, a full and unrestricted irrevocable, world-wide, paid up, royalty-free, nonexclusive right and license to deal in this software and documentation files (the "Software"), including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons who receive copies from any such party to do so, with the only requirement being that this copyright notice remain intact. Modified to quantize 32bit RGBA images for the pngnq program. Also modified to accept a numebr of colors arguement. Copyright (c) Stuart Coyle 2004-2006 Rewritten by Kornel Lesinski (2009) Euclidean distance, color matching dependent on alpha channel and with gamma correction. code refreshed for modern compilers/architectures: ANSI C, floats, removed pointer tricks and used arrays and structs. Ported from C to Haxe by Nickolay Grebenshikov, http://www.grebenshikov.ru, (2010) Support 32bit ARGB images. 2. Demo Flash demo - http://github.com/downloads/ngrebenshikov/HaxeNeuQuant/flashdemo.swf 3. Install and using To install use haxelib: haxelib install neuquant. For action script (flash only) developers: you can use compiled swf-library - http://github.com/downloads/ngrebenshikov/HaxeNeuQuant/neuquant.swf. 4. Documentation You can find documentation in wiki - http://wiki.github.com/ngrebenshikov/HaxeNeuQuant/documentation
About
A haxe implementation of NEUQUANT Neural-Net quantization algorithm by Anthony Dekker, 1994
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published