Adaptive compressed photon counting 3D imaging based on wavelet trees and depth map sparse representation