Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects color match problem – script or plugin available?

  • color match problem – script or plugin available?

    Posted by Jens Noelte on July 16, 2021 at 6:55 am

    The color picker works great for stills in order to match a BG color ie. gradient to a specific area of footage.

    1. What if the color/brightness, of the footage is changing constantly? Is there a way to to collect color information from a specific area of the footage (color pick) on every frame and automatically apply these changing color values to a fill or gradient?

    2. Furthermore the footage is moving. The color picker would need to be linked to a tracker null, so the samples will always be picked from the same area.
    Does anyone know of a script or plugin to get this done?

    Filip Vandueren replied 4 years, 10 months ago 3 Members · 5 Replies
  • 5 Replies
  • Chris Voelz

    July 16, 2021 at 12:48 pm

    You could us the sampleimage expression for this.

  • Jens Noelte

    July 16, 2021 at 3:32 pm

    Thanks Chris, I’ll try that as soon as I’m in front of the pc again. Since I can’t write any code I hope I’ll be able to get it to run.

    Thanks to Matthias from Mammoworld, I got this link, Dan Ebberts explained it here:
    https://www.motionscript.com/design-guide/sample-image.html

    “transform.position” – how do I link that to the position of the null?

  • Chris Voelz

    July 17, 2021 at 4:09 pm

    You can simple pick whip the position value of the null as the position value for where to sample. Or set that as a variable and use the variable. Using Dans example.

    target = thisComp.layer("background");null = thisComp.layer(“yournulllayer”).transform.position;
    target.sampleImage(null, [width, height]/2, true, time)
  • Jens Noelte

    July 17, 2021 at 10:21 pm

    Thanks Chris,
    I’ll try that tomorrow morning. Glad you came back to my question!

  • Filip Vandueren

    July 19, 2021 at 9:42 am

    It sounds like the color stabilizer effect could fix what you’re after.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy