Open Lwy-1998 opened 2 years ago
Hi,
Am busy with something at the moment and can only get back late this week/the weekend
Hi,
Am busy with something at the moment and can only get back late this week/the weekend
Don't mind, I am glad you reply
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?