Arduino based Ambilight for you computer :)

Is there anyway for the script to avoid averaging the black bars on widescreen movies?