garrickbrazil / SDS-RCNN

Other
66 stars 22 forks source link

Is the cropped proposals right? #8

Open trikim opened 6 years ago

trikim commented 6 years ago

Is the cropped proposals as the inputs of BCN right? In "SDS-RCNN/experiments/test_rcnn.m", I am confused the operation at 67th line and 68th line. The code is shown as below, I think “w(h)” should be added twice of "w(h)*rcnn_conf.padfactor". Can someone tell me which operation is true?

65 x1 = x1 - w*rcnn_conf.padfactor + impadW; 66 y1 = y1 - h*rcnn_conf.padfactor + impadH; 67 w = w + w*rcnn_conf.padfactor; 68 h = h + h*rcnn_conf.padfactor;