Identification of rooms in a floorplan
古いコメントを表示
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 件のコメント
Matt J
2020 年 5 月 19 日
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
2020 年 5 月 19 日
Matt J
2020 年 5 月 19 日
And what about the doorways?
CHINTALA NIRMAL SRINIVAS
2020 年 5 月 20 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Deep Learning Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!




