UN-premultiplying footage w/alpha? How?

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
  05 May 2003
Question UN-premultiplying footage w/alpha? How?

Hi all!

Given that it should be mathematically easy to make a premultiplied clip UN-premultiplied, based on its alpha and the background color, I'm sure there has to be a way to do this in most professional compositing packages, right?

So..... how?

I'm using After Effects (but posted here, hoping the package-independent forum would increase chances of a solution).

Any advice would be greatly appreciated!

- Jonas
  05 May 2003
Re: UN-premultiplying footage w/alpha? How?

AFX as you know have tool for unpremultiply (in interpret footage ...), same as many other compositing apps. If there is no such tool, you can simulate operation by dividing color chanels by matte, where:

red = red/matte
green = green/matte
blue = blue/matte

In this case "semi-transparent" areas wont be completly corrupted (unpremultiply is not perfect proces) during for example - CC.
Result then should be remultiplied by original matte chanel after CC or whatever (in Discreet FFI this is done automaticaly).

For same purposes, you can use Knoll "unmult" plug-in, Sapphire MathOps etc.


  05 May 2003
Afx only lets you set if you're using premultiplied footage or not.. I cant find any way to unpremult footage.. for example in df and shake you can easily create it with a custom tool/colorX. I'd have to set XSI (read: the 3d app of your choise ) to not render premultiplied images..

Last edited by opacity : 05 May 2003 at 07:40 PM.
  05 May 2003
You can use Knoll "unmult" plugin, or "Remove Color Matting" to remove color fringes from layers that are premultiplied with a color. Well, I am not AFX expressions expert but AFX 5.5 has 4D vector containing (r,g,b,a) and DIVIDE math-op., so I believe it can be done true expressions too, maybe ...

  05 May 2003
Thanks for your replies, guys! Gawd, I love this place!

I think I'll have a go at that expression thing, then...

- jonas
  05 May 2003
Maybe you should try
it seams they have premultiply/unpremultiply plugin. And there is free demo too.
If you achieve something, let us know.

  01 January 2006
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 02:49 PM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.