[2407.11347] I$^2$-SLAM: Inverting Imaging Process for Robust Photorealistic Dense SLAM