- Post
- #72552
- Topic
- .: The Zion DVD Project :. (Released)
- Link
- https://originaltrilogy.com/post/id/72552/action/topic#72552
- Time
On first sight they look similar, but let's take a closer look, by brightening up the image:
As you can see, the old method caused quite an ugly halo to appear left of Leia's face, which of course resulted from brightening up that "halo-area" (of course there was no halo visible in the original source, instead the color was SUPPOSED to be dark there... but how could the filter know that?). So I thought it was necessary, to not brighten up dark halos, and ONLY darkening the bright halos, which worked very well through AviSynth, by layering an offset version of the image on top of the original, using the "Darken" transfer-mode.
All right, we've got rid of the bright halos, and there's no "new" halo on the left side. But, as you might notice, there's now a dark-halo on the right side on Leia's hair. OK, this halo IS supposed to be brighten up, but we can't do that, because... well, have a look at the next image:
You see that black part on the Stormtrooper's arm? If we would use a filter to brighten up the halo around Leia's hair, the black part on the stormtrooper would get a bright halo... something we don't want (it's looking good in the original). But since it's only in the dark parts of the image, i guess we could leave it this way.
Here's the AviSynth-script:
- v1=AviSource("e:\zion.avi").ConvertToYUY2.GuavaComb(mode="NTSC").SeparateFields.SelectEvery(10,0,1,2,3,4,5,6,9).Weave.AssumeFPS(23.976)
v2=v1.crop(4,0,0,0).AddBorders(0,0,4,0, color=$FFFFFF).blur(.5)
v3 = overlay(v1,v2, opacity=0.2, mode="Darken") # remove only bright halos
return v3
I guess now it's necessary to IVTC in AviSynth, since the image gets blurred in line 2. This requires the video to already be "IVTC"ed, because blurring a video with fields is basically suicide.