Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

investigate kohonen neural net approach for quantization #12

Open
dankamongmen opened this issue Jun 12, 2021 · 0 comments
Open

investigate kohonen neural net approach for quantization #12

dankamongmen opened this issue Jun 12, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@dankamongmen
Copy link
Collaborator

libsixel currently uses a fast median cut approach to quantization, borrowing significant code (iirc) from netpbm. Multiple other quantization methods exist, including self-organizing kohonen nets, octrees, and K-means clustering. of these, kohonen nets seem to me to be the most intriguing. KNNs (not to be confused with k-nearest-neighbors, erp) are used in neoquant, and are also the strategy employed in the rust color-quantize crate.

write up an implementation, and benchmark it against the current one for both accuracy and performance. if it's promising, investigate replacing the median cut approach.

@dankamongmen dankamongmen added the enhancement New feature or request label Jun 12, 2021
@dankamongmen dankamongmen self-assigned this Jun 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant