Add the new method ShowMappedColorBackgroundRemoved which will process the frame data. Put this new method with the other Show... methods in the MainPage class.
This method is where the unsafe code is going o be added to enable the compiler to create more optimal code.
The method does the following:
iterates through all pixels in the colorMappedToDepthPoints,
checks the depth for each pixel (if there is a depth for that pixel),
and keeps the color if the depth is within the DepthMax allowed,
or zeroes out (makes transparent) the pixel if not.