Page 1 of 1

Highlight a form of a picture with GLSLshader ?

Posted: Mon Nov 15, 2021 12:24 am
by hsteph
Hi Magic team,

I was wondering what would the technic to highlight a form with MMV ?
Let's take the exemple of the Eiffel Tower of my video here : https://www.instagram.com/p/CWRRa5VAoRQ/ (source is a static picture of the tower)
Can GLSLshader be used to highlight the tower only (let's say with something similar to colorBlobs) ? What would be the technic to do that ? describe a list of points or describe a "region" you want to 'switch on' ?

Thanks for your advices,

Stéphane

Re: Highlight a form of a picture with GLSLshader ?

Posted: Mon Nov 15, 2021 9:27 am
by Sadler
One way is to use a mask. Apply any effect to all of the content then mask out the unwanted areas. You can blend/overlay this back onto the original content.

Creating a mask for for a still image is trivial, just trace a white shape surrounding your area of interest. Video is more of a challenge. Rotoscoping is time consuming but sometimes the only way. Luma/chroma keys work in some situations.

There is no good automatic way of generating masks though machine learning techniques are making inroads here.