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.
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.