Closed cnnAndBn closed 3 years ago
@dadada101 Thanks for your interests in our work!
The snippets you mentioned in Question 1 and 2 are for storage optimization. Before persisting the offset maps, we shift the angle values into interval [0, 360]
and then divide by 2. The operation ensures that value of each location can be fit into a single byte, and consumes less disk space. In dataloader, we perform the inversed operation (see here). So above all, our implemention is consistent with our paper.
The vectors from Sobel operator should always point from pixels with low values to pixels with higher values. You might inverse the operation mentioned above before you do the visualization.
hi: @hsfzxjy @PkuRainBow now ,i am reading your code for segfix. some confusion to ask.