Houdini 20.5 Nodes Copernicus nodes

Cryptomatte Decode Copernicus node

Decodes a cyrptomatte into coverage and ID.

On this page

The Cryptomatte format represents a canonical way to pack object IDs and coverage information into 32-bit RGBA layers. This operation will unpack into the Mono layer for coverage and ID layer for the ID.

Note

The integer ID layer is the result of a hash on the original human readable name, so processing this directly will require knowledge of the hash values. This can be done either be re-hashing using the standard hash, or by looking at the EXR metadata where the hash values are stored explicitly.

Cyrptomattes usually have multiple RGBA layers that need to be read together to gain access to all the coverage values, but this operation unpacks just one of them.

Inputs

crypto

An RGBA cryptomatte layer.

Outputs

id_a

The hash value of the first object.

cov_a

The coverage of the first object.

id_b

The hash value of the second object.

cov_b

The coverage value of the second object.

See also

Copernicus nodes