how to convert image(basically a floor plan ) into map or binary text file??

49 ビュー (過去 30 日間)
vivek kumar
vivek kumar 2019 年 2 月 24 日
コメント済み: Walter Roberson 2020 年 10 月 1 日
i wnat to create a navigation map using a floor plan in jpg format.how to change the image into map or graph so i can apply the A* search algorithm for path finding.
and How to to convert image file into binary text file
please help me
  1 件のコメント
Walter Roberson
Walter Roberson 2019 年 2 月 24 日
You have to go through a segmentation and labeling process. Depending on the image that might be relatively easy, or could be pretty tricky. The Automated Driving Toolbox has some tools that are intended to help with labeling, but I do not have access to them so I do not know what they can do (or not.)

サインインしてコメントする。

回答 (2 件)

Cam Salzberger
Cam Salzberger 2019 年 2 月 25 日
Hello Vivek,
The robotics.OccupancyGrid class has an example that shows the conversion of a PGM image into an occupancy grid. JPG format may have different limits, but the principles should still apply the same way. Then you can use the occupancy grid in your A* planning. This works well for floorplan-like images.
If you had an image from the robot itself that you were trying to determine occupancy of the viewable map from, I'd suggest checking out this Deep Learning Toolbox example. But that doesn't fit your image right now.
-Cam
  4 件のコメント
Fedi Chaarana
Fedi Chaarana 2020 年 10 月 1 日
hello :D
i have a similar problem. I Have a map of a building that was saved as a shapefile
i Loaded the shape file and want to convert that map into an occupancy grid
is there anyway to do that because i need to use later a navigation tool which can be applied only if my map is an occupacyMap
thanks
Walter Roberson
Walter Roberson 2020 年 10 月 1 日
https://www.mathworks.com/matlabcentral/answers/421658-mask-area-outside-a-shapefile shows a technique for determining whether a point is within a "shape" or not.

サインインしてコメントする。


Image Analyst
Image Analyst 2019 年 3 月 5 日
Perhaps this:
A System to Understand Hand-Drawn Floor-Plans Using Subgraph Isomorphism and Hough Transform,
MVA(10), No. 3, 1997, pp. 150-158.
Or just search the Computer Vision Bibliography for words related to floor plan, drawings, diagrams, etc. See section 23 or the search link at the bottom of the page: Computer Vision Bibliography

カテゴリ

Help Center および File ExchangeMapping についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by