Psyop / Cryptomatte

Cryptomatte Nuke plugin, Fusion plugin, sample images, and specification
BSD 3-Clause "New" or "Revised" License
632 stars 151 forks source link

Sample file channel names don’t match standard #133

Open tshead opened 3 years ago

tshead commented 3 years ago

I’m implementing Cryptomatte support for Imagecat (https://imagecat.readthedocs.io), and noticed that the channel names in the sample files (e.g. bunny_CryptoMaterial.exr) spell out the colors:

while the standard calls for single characters:

I could code around this in various ways, but what’s the right approach? It would be good to update the standard or the sample files.

Many thanks, Tim

cedricduriau commented 3 years ago

Hi @tshead

Thanks for taking the time and effort on implementing it for Imagecat. In which context are you using it and would like crypto for it, if I may ask out of pure curiosity?

For the Fusion implementation, this is something I specifically cover. Any channel name will be transformed to it's lowercased form, followed by a short and long form match of the respective channel names.

Cheers Cedric

tshead commented 3 years ago

Cedric:

OK, so arguably the standard should reflect this.

My colleagues and I are using cryptomatte for experiments in machine learning, so we needed a workflow that was completely open-source for reproducibility.

Regards, Tim