Pixels2Position v1.3


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Elias Saliba
Get 2D and 3D positional data automatically from a tracked plate.
Requirements:
12.0, 11.3, 11.2, 11.1, 11.0, 10.5 or later
Linux, Mac, Windows
18 Dec 2019
784

Updates 1.3:

Fixed: 'exportXY' won't break if camera has a parent axis.

 

Updates 1.2:

1-Added support for nuke camera v001

2-Fixed exportXY on linux for nukev11.1 

 

Usage:

1-sample the viewer and click add point.

2- go to another frame where the feature is still visible.

3-sample the same feature and voila.

 P.S: to get an accurate result, leave at least few frames between the two samples. the bigger the distance between them, the more accurate result. 'Scene Scale' does not need to be changed unless your scene scale is enormous. 

Accuracy close to 0 is best, values under 0.1 is good, and anything between 0.1 and 0.5 is sometimes acceptable, above 0.5 something is wrong with camera track or distortion map.

 

Method:

This tool shoots two vectors from camera into depth passing through the sampled pixels, then it calculates the intersection points (3d position) between the two vectors, from there you have the option to generate 2d position of that feauture.

 

Technical info:

Foundry's 'PointsTo3D' and other tools, depend on nuke's 'snap3d' module which doesn't work with cameras that have 'window translate' set to anything but default. This tool calculates the camera's projection matrix correctly and apply it to the result.

Super simple to setup and it produces a very accurate result by reducing human error and depending completely on math calculations .

 

Known limitation:

'exportXY' will not produce correct result if camera has a look parent.

 

 

Please login in order to download these files.

Comments   

 
+1 # Gerardo Schiavone 2021-07-14 10:30
Gizmo very well done, far better and faster to use then point23D!
 
 
0 # Guillaume Charron 2022-08-25 13:17
I love it. The only thing is... it's not working with a "stamp" node of the cam. Would be wonderful if it could work with stamp. Thx.
 
 
0 # Ed Gordon 2023-01-31 03:36
This stopped working for me in Nuke 14. But its so useful I'm sticking with 13 for as long as I need to. But the XYZ output always returns 0,0,0 no matter what points are selected.
 
 
0 # David Goldstein 2023-03-07 01:49
This does not seem to work for me in Nuke 14. :cry:
 
 
0 # Tiago Nery 2023-11-12 15:19
Thanks for the Gyzmo, it doesn´t work on version 12.1v4...
 

You have no rights to post comments

We have 2625 guests and 119 members online