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.