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

Added new color classifier #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

taylorza
Copy link

This classifier uses a lookup table to map RGB values to a best effort combination of Foreground, Background and PIXEL_XXXX setting. I wrote a separate little tool to generate the lookup table.

Results do not look to bad, but the cost of doing the per pixel matching takes a toll on the framerate, this needs to be run in Release mode to get a semi-reasonable frame rate. I am thinking that there might be an algorithmic approach to getting the same results without a lookup table, but I have not spent anytime looking at that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant