SCRIPT UPDATE
I have updated the script in the first post, to include GrgurMG's chroma fix (with some new pictures to illustrate it). I have also added some minor tweaks to a few parameters. These changes are based on continuing work of using the script on a wide variety of footage. One of the nice things about working with Avisynth is that none of this is set in stone. You're always free to experiment and change anything you want.
I have updated the script in the first post, to include GrgurMG's chroma fix (with some new pictures to illustrate it). I have also added some minor tweaks to a few parameters. These changes are based on continuing work of using the script on a wide variety of footage. One of the nice things about working with Avisynth is that none of this is set in stone. You're always free to experiment and change anything you want.