NVIDIA / NVIDIA/DALI

Enhancement: Image quantization operator?

Open
#2,429 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement external contribution welcome
Dominant language
C++
Stars
5.8k
Forks
678
Avg merge
3d 1h
Merged PRs (30d)
27

Description

I'm looking to do a lot of image quantization, and was/is searching for fast alternatives to K-means etc. Then I saw that there is a cuda implementation for NeuQuant. Although it is from 2011.

Paper: CuNeuQuant: A CUDA Implementation of the NeuQuant Image Quantization Algorithm
Code: https://code.google.com/p/dali-neuquant/
License: Limited GNU Public License (LGPL).

Well... the code coincidentally? had the name dali in it which got me thinking if it would be possible to add this as a plugin.

I don't know enough C++ to do this but I leave this issue as a suggestion & contributions welcome.

Suggestions on newer better fast color quantization methods would be appreciated too

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No repository files, tests, or entry points are identified. Start by reviewing the linked CuNeuQuant paper and code, then determine how a quantization operator would fit DALI's plugin model. Done would require an agreed algorithm, integration scope, licensing review, and implementation and tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-vision
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.