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
Your code have many comments on it, which is helpful when I read it. But I still have trouble understanding "final matrix" here function write_ourput
Here we get the final matrix by multiply scale,shift_to_center and shitft_back. I don't understand why we need to shift the frame.
I tried to remove the shift_to_center and shit_back matrix, and the final_matrix is scale @ inv(B). The result video end up showing some black border and losing the content, so these matrix are very important for stabilization.
what puzzle me most is , the shift_matrix ,to my intuition,is move all pixels by shape[0] / 2.0 in both x and y directions. similiar to scale_back, which is negtive shape[0]/2.0 so when we multiplt a point(0,0) by these two matrix, the point will go back to (0,0).
I know I was wrong, could you explained to me?
The text was updated successfully, but these errors were encountered:
Hello ,thans for your implementation!
Your code have many comments on it, which is helpful when I read it. But I still have trouble understanding "final matrix" here
function write_ourput
Here we get the final matrix by multiply scale, shift_to_center and shitft_back. I don't understand why we need to shift the frame.
I tried to remove the shift_to_center and shit_back matrix, and the final_matrix is scale @ inv(B). The result video end up showing some black border and losing the content, so these matrix are very important for stabilization.
what puzzle me most is , the shift_matrix ,to my intuition,is move all pixels by
shape[0] / 2.0
in both x and y directions. similiar to scale_back, which is negtiveshape[0]/2.0
so when we multiplt a point(0,0) by these two matrix, the point will go back to (0,0).I know I was wrong, could you explained to me?
The text was updated successfully, but these errors were encountered: