Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about Event Rectification #67

Open
promisechen666 opened this issue May 21, 2024 · 2 comments
Open

Question about Event Rectification #67

promisechen666 opened this issue May 21, 2024 · 2 comments

Comments

@promisechen666
Copy link

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
Copy link
Contributor

This happens because the remapping uses forward warping. I made a comment about this a while ago: #14 (comment)

@ChenYichen9527
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants