860
submitted 2 months ago by als@lemmy.blahaj.zone to c/opensource@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] HuntressHimbo@lemmy.zip 36 points 2 months ago

Well for instance you can use it to apply tranparencys or other effects using the geq filter. It applies a formula to every pixel in the input and can adjust alpha, rgb values, and gamma. You can also use conditionals in your formula and have access to the current pixels location and value, so you can apply your transforms only to specific regions if you want, or do an adjustment keyed only to a specific color.

[-] PieMePlenty@lemmy.world 7 points 2 months ago

You're talking about green screen right? :D

[-] BubbleMonkey@slrpnk.net 13 points 2 months ago

Have you seen this? Green screen on crack.

https://m.youtube.com/watch?v=UQuIVsNzqDk

[-] HuntressHimbo@lemmy.zip 3 points 2 months ago* (last edited 2 months ago)

That and more really. You could use it to do a green screen effect, but you can also use it to adjust color balance, brightness or do weirder things like swapping values between colors. It gets really crazy when you are working with full video because the time of the current frame is also available to be incorporated, so you can even do animated effects.

Another powerful filter is the convolve filter. That allows you to apply matrix transformations, which can for example be used to apply a homography matrix and adjust a videos perspective.

this post was submitted on 11 Nov 2025
860 points (99.4% liked)

Open Source

43920 readers
361 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 6 years ago
MODERATORS