State:New|TargetRelease:No Target|icon_bug|icon_nuke|database:public|Resolution:Fixed|BugID:133704|
Problem summary
The LensDistortion node is not able to reverse itself properly.
Customer reported version
Nuke.10.0v4
Customer reported platform
fedora15
Steps to reproduce
1) Open Nuke and create two new formats (2158x1806 and 4316x1806)
2) Create a checkerboard read node with 2158x1806 format
3) Add a LensDistortion node with the following settings:
Lens Type: Anamorphic
Radial Distortion 1: -0.10580222
Radial Distortion 2: 0.02529029
Distortion Center: x=-0.03689686; y=0.0308213
Anamorphic Squeeze: 1
Asymetric Distortion: x=0.05436655: y= -0.04234793
Undistort: checked
Distortion Scalling: Choose Format
Scale to Format: 4316x1806 (created in step 1)
4) Create a linked copy of the LensDistortion node but with the 'Undistort' option checked
Viewing the output of the first node (which is 'undistorting' the
Checkerboard), it's clear that the pixel information is being properly
preserved outside of the image format. However, the second node seems to be
clamping the bounding box of the 'undistorted' image before attempting to
re-distort it, resulting in edge pixels being stretched in the result.
Also, if you change the "Distortion Scaling" knob on both nodes to "Scale
to Input Format", you will notice the node does something very strange to
the resulting bounding box, where it is expanded drastically to the left
and below the actual image format.
Workaround
Unknown.
Reproduced by support
Reproduced by support.
Nuke 8.0v6 to Nuke 10.0v4 (Win7, Mac OSX)
Expected behaviour
Nuke be able to invert its own undistortion operation.
Actual behaviour
Stretched pixels are created in some of the edge regions of the image.
We're sorry to hear that
Please tell us why