0
$\begingroup$

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?

$\endgroup$
  • $\begingroup$ 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? $\endgroup$ – geometrikal May 23 '14 at 13:07
  • $\begingroup$ 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? $\endgroup$ – shreelock May 23 '14 at 14:12
  • $\begingroup$ 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. $\endgroup$ – geometrikal May 23 '14 at 14:44
  • 1
    $\begingroup$ 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? $\endgroup$ – geometrikal May 26 '14 at 8:42
  • 2
    $\begingroup$ Could you upload a sample floor plan image? That'll give us a better understanding of your problem $\endgroup$ – Shravya Boggarapu Feb 28 '18 at 13:37
0
$\begingroup$

Try using Template matching by taking a small cutout of the wall whose length is long enough so that it is not confused with other elements. Keep the threshold value high(around 0.9 or higher) and then check the bounding boxes predictions.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.