it looks like you interested in image analysis and object recognition, which is big scientific area. I do not think you may easely find things like "algorithm to recognise a walls" on image. Good point to start might be OpenCV library (it calls IPP functions internally to make algorithms work faster)