deep_homography_estimation icon indicating copy to clipboard operation
deep_homography_estimation copied to clipboard

Why do you use inverse H?

Open giovannicaprio opened this issue 5 years ago • 2 comments

Dear @alexhagiopol , I am confused, could you explain to me why you train using your inverse H instead of the H itself?

thank you Giovanni

giovannicaprio avatar Nov 13 '19 21:11 giovannicaprio

Hi @giovannicaprio This is because we still crop from point P in the new image. We have warp P to a new destination point in the image using H and we want to know the grayscale value of this destination point without knowing the actual pixel coordinate of the destination. Therefore, we use H inverse to warp the destination point back to P and we can assign the new grayscale value to P, since we still crop from P. Hope it helps.

Chaoxing

huangchaoxing avatar Mar 16 '21 00:03 huangchaoxing

Hi @huangchaoxing yes it is very useful. Thank you

Giovanni

giovannicaprio avatar Mar 16 '21 12:03 giovannicaprio