-
temporal median for background subtraction?
hi,
i’m a little surprised i found almost nothing about this, maybe it’s the wording? anyway:
i want to key using background subtraction (in ae it’s called “difference matte”), but as my matte i do not want to use a still image or a video from another source but the very same video, only with a temporal median applied – so each pixel is calculated from the median color value at its location of eg. 50 frames back and forth. the result of this should be, that i only key stuff, that moves at a certain pace whereas very slow changes in the shot (eg. moving light from the moving sun) will still be keyed out.
this technique is also often used to remove people in crowded shots, eg.: https://www.shutterstock.com/blog/photoshop-remove-peoplehow would i do this in after effects? or is there any other software i should be looking at?
thanks for any help in advance!
p