Log in

View Full Version : Motion mask


anton_foy
26th November 2022, 21:43
I have a question regarding motion masking where I would like to include "mid" and "high" motion but not low motion.

With:
mt_lutxy(last, last.trim(1,0), mt_polish(" 12*abs(x-y)"), U=-128, V=-128)
I get most motion although some stray pixels too much within the low motion and too less where there is high motion. Is there any effective way to exaggerate the high motion areas and dampen the really low motion areas at the same time? Ex_limitchange comes to mind for the lower motion areas but what about the high motion areas?

Edit: aah, maybe higher thresh than 12 and use ex_limitchange to compare between last and last.trim(1,0) to filter out the stray pixels?