Identification of rooms in a floorplan
Afficher commentaires plus anciens
I have a floorplan image with only walls. I want to identify the room coordinates of the floorplan.
This code actually closes the doors and identifies the rooms in the floorplan. This works well when shape of the rooms is rectangles. But It does not work well when the shape is either trapezium or L shape. Can somebody help me please?
Also it is not closing all the doors properly.
load('Walls')
e=ones(1,105);
A=imclose(imclose(~Image,e),e.');
B=imfill(A,'holes')&~A;
imshow(B)

4 commentaires
Matt J
le 19 Mai 2020
Will the doorways always be horizontal/vertical? And what example of an " L shape" didn't work? It seems to have worked well on the L-shaped flllor plan here:
CHINTALA NIRMAL SRINIVAS
le 19 Mai 2020
Matt J
le 19 Mai 2020
And what about the doorways?
CHINTALA NIRMAL SRINIVAS
le 20 Mai 2020
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Deep Learning Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!




