Jump to content
IGNORED

PAL Colour Conversion


cd-w

Recommended Posts

I am attempting to convert some colour values from NTSC to PAL using the TIA Color Charts.

This is proving to be a difficult process, and so I have two questions:

1) Has anyone already produced an approximate mapping of colour values between PAL and NTSC.

2) Is there really no PAL value for pure yellow?

 

Thanks,

Chris

Link to comment
Share on other sites

I've fiddled around with this once.

 

My approach worked somehow like this:

 

1) Parse the NTSC and PAL RGB values from the TIA color chart

 

2) Say we want to find the PAL color that is closest to NTSC color # 66: Find the RGB value for color # 66

 

3) Find the RGB value of the PAL color that is closest to the RGB value of NTSC color # 66. I did this by calculating the distance of the RGB color triplets in the RGB color cube: d = sqrt((rn-rp)^2 + (gn-gp)^2 + (bn-bp)^2) (rn = red component of NTSC color and so on).

The PAL RGB triplet for which d is the smallest is the closest color.

 

4) Find the PAL color number that corresponends with the PAL RGB triplet found in the previous step.

 

This kind of worked, but not perfectly.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...