TonyXuQAQ / Topo-boundary

A public available dataset for road boundary detection in aerial images
GNU General Public License v3.0
109 stars 19 forks source link

How to generate orientation map ? #9

Closed perp closed 3 years ago

perp commented 3 years ago

I did't find the code for generate orientation map .

TonyXuQAQ commented 3 years ago

At this stage, we did not provide the code for label generation. Please use the label data we provided. If you do need the code for orientation map generation, we will release it after some code preparation.

perp commented 3 years ago

At this stage, we did not provide the code for label generation. Please use the label data we provided. If you do need the code for orientation map generation, we will release it after some code preparation.

Thanks for your reply , How to generate the orientation map, what the pixel value means ? I can write the code myself. In generate_inv_dire.py ,the code for generate direction matrix same as orientation map?

TonyXuQAQ commented 3 years ago

The value of the foreground pixel records the angle of the road boundary at that pixel. Or saying, it records the orientation of the road boundary. For more details, you may visit section 4.8 of our supplementary document, or the original paper that proposed orientation map for road-network segmentation.

For the second question, no. The direction map is different from the orientation map and they are proposed by different papers for different tasks. At this stage, we did not provide the code to generate the orientation map. If you find it difficult to generate it by yourself, please wait for a period of time and we will release the code ASAP. Our team is working on another paper DDLs, so it may take some time for us to prepare and test the code. Thanks for your understanding.

perp commented 3 years ago

thanks ,I solved the problem with your help

wulongjian commented 2 years ago

hello, I have the same problem, Can you provide the code for generating maps?