_E_
12th May 2005, 23:50
I've been trying something the past days with Masktools and TEdgeMask but It doesn't seem to be working ( prolly to the fact that I still dont understand how masking exactly works ). Basically, I am trying to detect & Mask the edges present in a clip, then seperate the chroma inside and outside those masked layers , smooth them seperatly then finally overlay them all together with the luma. So far this is my attempt ( and obviously it won't work...>_> )
AviSource(..)
YClip = Greyscale()
UClip = UToY().EdgeMask(3, 255, 255, 255, "cartoon",Y=3, V=1, U=1).deen("a2d")
VClip = VToY().EdgeMask(3, 255, 255, 255, "cartoon",Y=3, V=1, U=1).deen("a3d")
Result = MaskedMerge(UClip,VClip,YClip)
return Result
?? :confused:
I really dont get it >_<; Any help is appreciated.
AviSource(..)
YClip = Greyscale()
UClip = UToY().EdgeMask(3, 255, 255, 255, "cartoon",Y=3, V=1, U=1).deen("a2d")
VClip = VToY().EdgeMask(3, 255, 255, 255, "cartoon",Y=3, V=1, U=1).deen("a3d")
Result = MaskedMerge(UClip,VClip,YClip)
return Result
?? :confused:
I really dont get it >_<; Any help is appreciated.