Log in

View Full Version : AutoOverlay: auto-alignment and color matching


Pages : 1 2 [3]

BilboFett
20th September 2023, 09:17
This is my code snippet (vu and vd were the two clips):

config=overlayconfig(subpixel=2,minoverlayarea=80,minsourcearea=80)
o=overlayengine(vu.converttoy8(),vd.converttoy8(),configs=config,backwardframes=0,forwardframes=0,mode="update",stabilize=false)
vd=overlayrender(o,vu,vd,debug=false,opacity=1,colorAdjust=1)

I don't remember much, but stabilize did never do anything.
Very important were the numbers minoverlayarea and minsourcearea. (You should look in the readme)

Good luck!

I tried it, it sorta works, there's still weird shifting and morphing between the 2 sources thats visible. Wish it wasn't doing that. Oh well

poisondeathray
20th September 2023, 14:27
Its the identical scene, frame for frame, same rez, same fps, similar color grade, but one is full-frame and the other is letterbox..I don't know why they won't line up 100% and meld/merge into one.

I tried it, it sorta works, there's still weird shifting and morphing between the 2 sources thats visible. Wish it wasn't doing that. Oh well

Maybe there are more differences / other distortions between the sources ? I find AutoOverlay does not tend to perform well with warping

Can you align them manually with just crop and simple translations ?

Sample ?

introspected
1st December 2023, 21:38
v0.6.1 released: https://github.com/introspected/AutoOverlay/releases/tag/0.6.1
- multiple clips rendering
- new options in engine and render
- auto-align refactoring

BilboFett
10th January 2024, 11:45
Did you try to resize first both to (nearly) quadratic pixels?
4:3 source to 768*576.
1.77 source to 1024*576, then crop.

What do I set (quadratic) for source NTSC:

1) Widescreen source is 720x360 (non-anamorphic letterbox DVD, in a rectangle, seems to look right @ 4:3, 16x9 stretches it)
2) overlay (open-matte) source is 704x480. It looks "right" when AR is set to 4:3 or 8:9

TIA!

Tlen
31st July 2024, 09:05
Hi to all,
I'm testing this promising plugin,
but after initial enthusiams with default parameters,
I got in deep with gradient=0 and it resulted in non-perfect align.

I'm not able to perfectly align the picture no matter what parameter.
In Photoshop the aligning result perfect just by a resize + reposition.

Anyone can help?

Here's 2 example pictures (but it applies througout the video).

EDIT:
Done with other methods.

I'll retry the plugin with the new version.

introspected
16th March 2025, 11:38
In the new version, HDR support is improved, auto-alignment and color matching algorithms (including SDR 709 <-> HDR PQ 2020) are enhanced, and performance is boosted: https://github.com/introspected/AutoOverlay/releases/tag/0.7.8