Farama-Foundation / Farama-Foundation/Arcade-Learning-Environment

Current colour averaging scheme is outdated

Open
#101 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.5k
Forks
477
Avg merge
11h 11m
Merged PRs (30d)
3

Description

The current colour averaging scheme is 4 years old and maps two NSTC frames to a NTSC frame. This implies that the resulting colour space is smaller than it should be. The actual quantization (going from NTSC -> RGB -> NTSC) is also crude.

Without deprecating the existing scheme (which serves the purpose, e.g., of providing frames drawn from a small colour space), it would nice to bring it up to date, perhaps avoiding the re-conversion to NTSC and instead producing a new "average-NTSC" colour space. Alternatives include providing proper RGB averaging routines, but these should probably be done in agent space.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by locating the existing colour averaging and NTSC-to-RGB-to-NTSC conversion implementation, then determine the intended average-NTSC or RGB behavior and how it should be validated without removing the existing scheme.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
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.