Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[After Effects] Cryptomatte edge issue #146

Open
verbmeister opened this issue Oct 13, 2021 · 1 comment
Open

[After Effects] Cryptomatte edge issue #146

verbmeister opened this issue Oct 13, 2021 · 1 comment

Comments

@verbmeister
Copy link

Hello, I have a rendered simple scene in C4D Redshift with cryptomatte AOV (need possibility to change colors in the future). Each object has its own Object ID

cr1

Rendered Cryptomatte AOV is colored image with objects

cr0

But when I try to manage each object colors (apply 'Cryptomatte' plugin from ProExr) there is an unwanted edge appear

cr2

When I try to change Hue its become more visible

cr5

Here is compostion layers

cr3

Cryptomatte plugin applied on Cryptomatte AOV layer

cr4

Here is screenshot than shows 'gradient' pixels of Cryptomatte 'Matte only' function

cr6

Could anyone help to resolve this 'edge issue' ?

P.S. For example, there is In UnMult function in Extractor plugin

@SenH
Copy link

SenH commented Nov 20, 2021

This is normal. If you think about your RGB beauty (and forget about alpha channels for a minute), you will understand that the edge between the cube and the background is always "contaminated" with both the color of the cube and the BG. There is nothing to unpremultiply in this case, since there are no "clean" RGB values of the BG available.

Cryptomatte is only a generator of masks, it does not solve the edge issue. For light color correction this will not be an issue and you can always fudge with some edge treatment. The clean solution is to render in layers (so you have full RGB information between your FG and BG) or render in deep.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants