cvg / glue-factory

Training library for local feature detection and matching
Apache License 2.0
722 stars 90 forks source link

Danger: Albumentations MotionBlur is shifting our images #37

Closed iago-suarez closed 7 months ago

iago-suarez commented 11 months ago

I realized that for some images, Albumentations is damaging our GT homographies because when MotionBlur is applied in

The image is shifted without updating the GT homography. This is the default behaviour but can be easily fixed by allow_shifted=False which will create a motion blur kernel that does not move the image.