View Full Version : Black Restore Filter


Dali Lama
7th September 2002, 14:29
Good Morning,

After applying a series of Convolution3d, Tweak, and Unfilter to restore the picture quality of an old Jackie Chan DVD: Young Master (Hong Kong Release), I realized that all of these filters did not help to restore the richness of the film or the blackness. Also, there are lots of blocks in the original source in the dark areas.

So my problem is two-fold. One, to restore black richness to the image, sort of a black saturation similar to RealOne's Black filter. Second, to remove the blocks inherantly present in the source. That job, I thought Convolution3d could handle, but I believe a specialized tool to do this is needed.

I recall, my friend manono, once described that he would actually lighten the film with levels, apply a spatial filter (ie: 2D cleaner at the time) and then darken the film with levels by the same amount. This crafty work-around actually works, but I feel that better improvements in both areas are needed.

Also, there is a Virtualdub filter designed to remove blocks in dark areas only. It is called Shadow Smoother 0.7. It can be found @ http://timsara.freeservers.com/virtualdub/filters.html

I have tried to use this filter to smooth dark areas, but cannot achieve my desired results. Furthermore, this filter addresses issue 2 only.

For those that have the Rush Hour DVD, I feel that that is a prime example of how a movie should look: Rich blackness, saturated color, and smooth clean areas in dark areas. Lots of that movie are dark and clear. How did that DVD studio master it?? If they only would release thier filter set. :)

Take Care and I hope I spark some interesting discussion,

Dali

ARDA
7th September 2002, 20:53
I haven't tested too much so I don't know if the following script is totally
right to work in avisynth.
########################################
# Shadow smoother by Valentim Batista #
# threshold (0-8) #
# strenght (1-23) #
# difference (0-6) #
########################################
function VD_ShadowSmoother(clip clip, int "threshold", int "strength",
\ int "difference", bool "pixellock", bool "noiselock",
\ bool "postsmooth")
{
LoadVirtualdubPlugin(VirtualDub_plugin_directory+"\shadowsmoother07.vdf", "_VD_ShadowSmoother")
return clip._VD_ShadowSmoother(threshold,strength,difference,default(pixellock,false)?1:0,
\default(noiselock,false)?1:0,default(postsmooth,false)?1:0)
}

I hope it could be useful Arda.