View Single Post
Old 30th November 2011, 01:29   #6  |  Link
Dogway
Registered User
 
Join Date: Nov 2009
Posts: 2,361
Probably something around this?

Code:
Function Twarp(Clip c, int "thresh", int "depth", int "blurlevel", int "wthresh")
{

	Thresh = Default(Thresh, 8)
	depth = Default(depth, 3)
	blurlevel = Default(blurlevel, 8)
	wthresh = Default(wthresh, 253)
		
		B1 = C.awarpsharp2(depth=depth, blur=blurlevel, type=1,chroma=3,thresh=wthresh)
			Mt_LutXY(C, b1, " X Y - abs X Y - abs * X Y -  * X Y - abs X Y - abs * "+string(thresh)+" + / 128 +", u=1, v=1)
	
Mt_AddDiff(last, b1, u=1, v=1)}
Twarp(64, 6, 16, 179)


It didn't perform too nice, it deformed too much (I'm using live footage), or that is my impression, but thanks for sharing I think I will make use of it eventually when I test more on other sources.


Dogway is offline   Reply With Quote