dingjiansw101 / AerialDetection

Apache License 2.0
798 stars 184 forks source link

How are the positive and negative angles defined #38

Closed wnynotfaker closed 4 years ago

wnynotfaker commented 4 years ago

Hello, thank you very much for posting the code. I was reading “roi_align_rotated_kernel.cu” and found that you made changes when you did "Rotate by theta around the center and translate". My understanding of this is that your definition of positive and negative angles is opposite to RRPN. I don't know if I understand it right.

Looking forward to your reply

chandlerbing65nm commented 2 years ago

@wnynotfaker did you found out how they define angle in this repo?

wnynotfaker commented 2 years ago

@wnynotfaker did you found out how they define angle in this repo? I'm so sorry, it's been too long, I can't remember clearly.But my impression is that the positive and negative directions of the angles defined in this method are opposite to those of RRPN. Because the default angle of the horizontal frame is set to -90, if it is the same as the RRPN, it should be set to 90。@chandlerbing65nm