Adaptive 3D descattering with a dynamic synthesis network