Using Premultiplied Images and unpremultiplying them

Become a member of the CGSociety

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

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 12 December 2006   #1
Using Premultiplied Images and unpremultiplying them

Is there any way to un-premultiply rendered images in Photoshop?

Most 3D applications write images where the rgb-image is premultiplied with the alpha channel. The result canīt be used in Photoshop, since photoshop wants a clean (not-premultiplied) edge and cuts it with the alpha on its own. The result is, that if the 3D element is rendered against black background and you put a white background behind the object in photoshop, you end up in dark edges around the object. Compositing tools like AfterEffects handle this with ease (they automatically unpremultiply).

So .. in formula, what 3D delivers (using finalrender, actually no straight mode available):

RGB(premultiplied) = RGB(rendered) * Alpha

What i need:

RGB(rendered) = RGB(premultiplied) / Alpha


quite easy formula, but how can this be done in Photoshop? Or is there a filter available that calculates this?
 
Old 12 December 2006   #2
Layer, Matting, Remove Black Matte.

To use this your layer has to have transparency, not just a mask. In other words you have to add your alpha as a layer mask, then apply the layer mask, then use Remove Black Matte.
 
Old 12 December 2006   #3
THANKS! .. i thought this would only pixel-shrink the transparency mask, but i compared with a straight AfterEffects export and the results match perfectly. great
 
Old 12 December 2006   #4
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
CGSociety
Society of Digital Artists
www.cgsociety.org

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

All times are GMT. The time now is 05:11 AM.


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