Previous topicNext topic

Highlight a form of a picture with GLSLshader ?

Questions, comments, feedback, etc.
Post Reply
hsteph
Posts: 13
Joined: Mon Jun 01, 2020 12:18 pm

Highlight a form of a picture with GLSLshader ?

Post 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
Sadler
Posts: 1139
Joined: Sat Aug 02, 2014 7:10 pm
Location: London, UK

Re: Highlight a form of a picture with GLSLshader ?

Post 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.
Post Reply