# What are the various techniques for detecting Walls in the Building(Architectural) floor plan Images?

I have to process building floor plan images to extract Walls from the structure. It is trivial in case of binary images; but the images in our case are colored, and each have different color of walls. This restricts us from using any thresholding operation as we cannot assume the Walls will always be the darkest. How possibly can I come up with an algorithm that can work on all sort of Images?

• You can't come up with a universal algorithm, 'cause who knows what all the different types of plans will look like. Restrict the problem to the types of plans you know about. Write algorithms that work for most of them and exceptions for those that don't. As for colour, why not segment using both intensity AND colour? – geometrikal May 23 '14 at 13:07
• All Images are NOT different. The thing which is common is all images is that they all have walls, and these compose of major portion of images. What I'm asking is that Is there an algorithm that exploits this quality of Image? – shreelock May 23 '14 at 14:12
• LOL ok. By "all sort of Images" you mean "all THESE sorts of images", that is, plans with colored walls. Sorry. You need a line detector, or perhaps Canny edge detector. Post an example image. – geometrikal May 23 '14 at 14:44
• Depends what line/edge detector you use and what further processing is applied. For example, limit it to long straight lines. Do you have an example image? – geometrikal May 26 '14 at 8:42
• Could you upload a sample floor plan image? That'll give us a better understanding of your problem – Shravya Boggarapu Feb 28 '18 at 13:37