You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @kevinzakka
First of all, thank you for detailed explanation and implementation. But I have a question about theta matrix.
I want to use spatial transformer network to estimate affine transformation from 1 image to another and then use those Affine matrix with OpenCV function cv2.warpAffine().
I understood that translation is normalized between (-1,1), but how to deal with scale and rotation parameters?
I created a function to convert the matrix to appropriate format, but it don't work:
Sorry, it's been a long time, I've forgotten. I use OpenCV function cv2.getAffineTransform to estimate matrix and use STN to transform the image. The code can be found here.
Activity
Pay20Y commentedon Mar 31, 2019
Hey I have the same question with you. How to make the affine matrix computed from OpenCV work? Did you solve it? Thanks! @ @Justdjent
Pay20Y commentedon Apr 1, 2019
I solved it. Sorry to bother you.
JordanCheney commentedon May 10, 2020
@Pay20Y could you share your solution?
Pay20Y commentedon May 11, 2020
Sorry, it's been a long time, I've forgotten. I use OpenCV function cv2.getAffineTransform to estimate matrix and use STN to transform the image. The code can be found here.
persuelx commentedon Aug 14, 2020
@Pay20Y Your answer is totally out of line with the requirements.You should see what people ask.