gizmotech
4th March 2004, 18:03
Good Day,
I was hoping some people who are more familliar w/ MaskTools and avs scripting could help me out on this.
I'm looking to make a function, which looks something like this:
IF
((Mask_of_previous_frame) = (Mask_of_current_frame) within User_Configurable difference) THEN {...}
I'm not quite sure of either the syntax in AVS, nor the the syntax for correctly creating/comparing luma masks created from MaskTools.
I would suspect this to be a multipart function, creating the edge masks of the two objects, the comparison, then the if statement, but I'll admit I'm at aloss for how I would script this.
Thanks for any help anyone could provide.
PS: I wrote this here, but next time is such a question is more appropriate for the avs dev forum I'll post there instead.
Gizmo.
I was hoping some people who are more familliar w/ MaskTools and avs scripting could help me out on this.
I'm looking to make a function, which looks something like this:
IF
((Mask_of_previous_frame) = (Mask_of_current_frame) within User_Configurable difference) THEN {...}
I'm not quite sure of either the syntax in AVS, nor the the syntax for correctly creating/comparing luma masks created from MaskTools.
I would suspect this to be a multipart function, creating the edge masks of the two objects, the comparison, then the if statement, but I'll admit I'm at aloss for how I would script this.
Thanks for any help anyone could provide.
PS: I wrote this here, but next time is such a question is more appropriate for the avs dev forum I'll post there instead.
Gizmo.