ID 589782 - Visual artifacts can occur when an image is scaled by a Reformat node, and then cropped by another Reformat node

Follow

Problem summary:
Visual artifacts can occur when an image is scaled by a Reformat node, and then cropped by another Reformat node
 
Customer reported version:
Nuke 14.1v2
 
Customer reported platform:
Windows 10
 
Steps to reproduce:
1) Download the attached reformat_artifacts.nk file and launch Nuke.
2) Open the file, and View the Merge node in the Node Graph.
3) Increase the Viewer's Gamma, and observe the vertical banding that appears in certain sections of the image:


4) Enable the disabled Grade node, and note how the artifacts disappear:

 
Expected behavior:
Having multiple connected Reformat nodes should not introduce visual artifacts.
 
Actual behavior:
When there are two sequential Reformat nodes that scale and then crop the source media, slight pixel variations can occur. The specific results are dependent on the media's original format, the format it is scaled to, and the format it is cropped to.
 
This issue can occur when the two Reformat node's filter knobs are set to anything besides "impulse", such as "cubic", "notch", "Simon", "Lanczos4", etc. Additionally, this issue does not seem to occur if the source media has a limited variety of colors or is relatively noise free, such as a Constant node.
 
Workaround:
Place a Grade or ColorCorrect node between the Reformat nodes.
 
Alternatively, use a Crop node instead of a second Reformat node to crop the media to the desired format.
 
Reproduced by Support in:
Nuke 15.1v4 - Windows 10, macOS 14 Sonoma
Nuke 14.0v1 - Windows 10
Nuke 13.0v1 - Windows 10
Nuke 12.0v1 - Windows 10
 
Earliest version tested:
Nuke 12.0v1 - This issue appears to be in all tested versions of the product

    We're sorry to hear that

    Please tell us why