Risk sensitive surveillance with minimal risk and optimal 3D sensor quality