uzh-rpg/rpg_eklt

Error in the event based feature's boostraping

Closed this issue · 2 comments

Hello @danielgehrig18 ,

I think that there is an error in the bootstrapFeatureEvents() method.
In fact, at line 407 you are multiplying the event patch with the frame's gradient in the X direction but it should be the one in the Y direction.
double s_I_yt = cv::sum(I_x.mul(event_frame))[0]; should rather be
double s_I_yt = cv::sum(I_y.mul(event_frame))[0];

Best regards,
Jonathan.

Yes of course. This will be fixed.

Has been fixed in the most recent commit