PruneTruong/DenseMatching

About the theta of synthetic data warping

zwyking opened this issue · 2 comments

Hi, I'm curious about that how to generate the theta for homo/tps/affine. Where should I find the code of the part?

Thanks.

Hi, in this example https://github.com/PruneTruong/DenseMatching/blob/main/train_settings/GLUNet/train_GLUNet_with_synthetically_generated_data.py, I generate random flow fields on the fly, and apply them to an image, to create a training image pair.

Ok, thanks for your reply!