Sunday, October 30, 2016

Creating an "accurate" NES NTSC Color Palette - Revisited

After discussing my NES palette capture pursuits with Brian Parker (RetroUSB) at PRGE 2016 I decided to revisit the sampling process of the paltest palette capture images.  Instead of running multiple median filter passes to normalize the captured image for sampling, it was discussed to try taking an area of pixel values and averaging them.

If you'd like to try my NESCAP palette, you can download it here.

The following is a debug image that plots out the pixels I sampled for the average.  This was useful for ensuring that I wasn't sampling erroneous data and/or sampling unintended colors.


The resulting palette, NESCAP.pal, was within +/- 1% difference, so the original NTSCU.pal still is a valid palette to use, but there's always the nth degree of improvement to be made as seen below!


3 comments:

  1. this is the proper NES palette: http://s000.tinyupload.com/?file_id=24035444096413598988

    ReplyDelete
  2. The NES palette is a 64 colour palette, defined by the following colours: 585858, 00237C, 0D1099, 300092, 4F006C, 600035, 5C0500, 461800, 272D00, 093E00, 004500, 004106, 003545, 000000, 000000, 000000, A1A1A1, 0B53D7, 3337FE, 6621F7, 9515BE, AC166E, A62721, 864300, 596200, 2D7A00, 0C8500, 007F2A, 006D85, 000000, 000000, 000000, FFFFFF, 51A5FE, 8084FE, BC6AFE, F15BFE, FE5EC4, FE7269, E19321, ADB600, 79D300, 51DF21, 3AD974, 39C3DF, 424242, 000000, 000000, FFFFFF, B5D9FE, CACAFE, E3BEFE, F9B8FE, FEBAE7, FEC3BC, F4D199, DEE086, C6EC87, B2F29D, A7F0C3, A8E7F0, ACACAC, 000000, 000000.

    ReplyDelete