Convert image of an irregular surface to it's signal equivalent
As I can see from comments, you are taking multiple images from the same camera at diferent angle. So what you might be looking for is Structure from motion .This is similar to Stereo vision. You can find open source solutions and software tools available here. Good luck.