Skip to content

mevouc/allRGB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

allRGB

C++ implementation of an allRGB filter with OpenCV.

This program provides transformer and a checker.

Transformer

The program targets an input image, checks that it has 2²⁴ colors, or scales it to a picture with enough pixels. Once the given image has 2²⁴ colors, each color is replaced with itself (if not already chosen), or the closest available.

The colors are stored in an octree, it allows a computation of the closest availaible color within an O(log(N)) complexity.

Example

Kleinmond

Checker

The --check option allows you to not transform an image to its allRGB equivalent, but to check if a picture does contain all 2²⁴ pictures only once.

About

C++ implementation of an allRGB filter with OpenCV.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors