MARTIN VIEL

XY STMap v1.1

Convert all the points of a Tracker through a STMap.

In your Tracker, select the XY STMap panel, then:

     1. Select a STMap

     2. Start the conversion


XY STMap retrieves each point from the Tracker and find the corresponding point on the STMap. Then it creates a new Tracker that contains these new track points.

How did I build this?

  • The main difficulty is that a 4k STMap contains more than 8 million points. If you have 600 track points, that is almost 5 billion matches to test!


  • I therefore applied myself to first coding a system that estimates the area of the STMap where the point we are looking for could be located, and thus limit the number of points to be compared.


  • On my machine, XY STMap now takes 17 seconds to convert 600 track points.

How to install XY STMap?

Download this file and put it in your .nuke folder.

Then add these lines to the menu.py file:


import xy_stmap

nuke.addOnCreate(lambda:xy_stmap.panel_OnCreate(nuke.thisNode()), nodeClass="Tracker4")


Tip: you can measure how long it took to convert your tracker

  • type X to open the command window, select Python
  • then type xy_stmap.convert.kronos