DX11 background subtraction

Hallo anybody there with a background subtraction / pixel comparison shader for DX11?

Hey Simone

I had the same problem last year with Kinect 2, so I made this


BackgroundSubtraction (DX11).zip (10.8 kB)

Hi, it works but it is not so defined as this Dx9 shader I am attaching here. I don’t really remember where it comes from as I got it laying there from another project.
I also add a demonstration of 2 source images and the 2 results.

BackgroundSubstraction.fx (6.7 kB)

This work better for you?

Background Subtraction (2.5 kB)

Yes thank you very nice indeed.