That's not what the comment above said. They said some imaging programs create depth maps, and process images based on that. It doesn't mean it creates a depth map for the user, it can simply be an internal part of the whole process.
Photoshop RAW pluging does dehazing. I don't know how it works.