uzh-rpg / DSEC

MIT License
138 stars 17 forks source link

Question about Event Rectification #67

Open promisechen666 opened 6 months ago

promisechen666 commented 6 months ago

20240521225038 I use rectify_maps.h5 for event rectification,and then visualize the corrected events, the code is: “ xy_rect = rectify_map[y,x] x=xy_rect [:,0] y=xy_rect [:,1] img_size = (480,640) img = np.zeros(shape=img_size,dtype=np.uint8) for i in range(len(x)): img[int(x[i]),int(y[i])]=255 cv2.imshow('img',img) cv2.waitKey(0) ” But there were some mesh textures in the result as the picture show. I don't know why it's like this, I guess it's related to rectification.

magehrig commented 2 months ago

This happens because the remapping uses forward warping. I made a comment about this a while ago: https://github.com/uzh-rpg/DSEC/issues/14#issuecomment-841348958

ChenYichen9527 commented 2 months ago

14 This issue pertains to misalignment. My problem involves mesh textures. I tried the method you suggested, but the grid still exists.