ID 483984 - OCIOCDLTransform node creates artifacts when transforming images with less than three channels

Follow

Problem summary
OCIOCDLTransform node creates artifacts when transforming images with less than three channels
 
Customer reported version
nuke.13.0v1

Customer reported platform
n_a_linux

Steps to reproduce

1) Open the attached Nuke script, OCIOCDLTransform_bug.nk

2) Compare the different end Shuffle nodes, 1 and 2 channel OCIOCDLTransform nodes are creating artefacts:



*Note, in earlier Nuke versions you need to set the working space knob to linear to see the issue clearly​​, and decrease the viewer gain/gamma to see the single channel issue.

Expected behaviour
For the OCIOCDLTransform node to work with different numbers of channels

Actual behaviour
It only works correctly if there are 3 or more channels

Workaround
Unknown.

Reproduced by support

This bug has been reproduced in:
Nuke 13.0v3 - Windows 10, CentOS 7.5, macOS Big Sur
Nuke 12.0v1 - Windows 10
Nuke 11.0v1 - Windows 10
Nuke 10.0v1 - Windows 10
Nuke 9.0v1 - Windows 10, CentOS 7.5, macOS Big Sur

Earliest version tested
Nuke 9.0v1 - This issue appears to be in all versions of the product
 

    We're sorry to hear that

    Please tell us why