chaiNNer icon indicating copy to clipboard operation
chaiNNer copied to clipboard

Homography-based image alignment

Open Splendide-Imaginarius opened this issue 10 months ago • 3 comments

Continuing from @pifroggi's comment at https://github.com/chaiNNer-org/chaiNNer/pull/2714#discussion_r1562065046

My thinking with mentioning Rife in the name was in case in the future different kinds of alignment methods are added. For example it may make sense to add a traditional affine alignment method at some point, which would be better with images that are off by a lot, which could then be refined by this method. But maybe it makes more sense to think about that if it happens. What do you think?

I have an implementation of OpenCV-based image alignment (based on a homography matrix) here: https://github.com/Splendide-Imaginarius/subimage-stitcher

It works pretty well; would there be interest in a PR that adds a chaiNNer node with that implementation (subject to whatever code quality cleanup is needed to meet chaiNNer standards)? As @pifroggi observed, it might complement the RIFE implementation.

Splendide-Imaginarius avatar Apr 12 '24 21:04 Splendide-Imaginarius