i know there is a bunch of posts and patches on this but most are on the cpu and aimed at transforming 3d-stuff in the end.
in my case i want to use the depth map as an alpha matte, keying out all people close to camera - so i need a matte as smooth and nice as possible.
below i attached what i gathered so far: depth selection followed by dilate, erode and blur. it works ok but i guess it is missing some temporal smoothing (temporal median or something? i tried slide but that did not help) and edge smoothing (like you can in the mask settings of postproduction programs).
can anyone help me? or maybe point me the way, what sort of operation i would need to look out for?
thanks and all the best!