Close

Palette:stitcher

Summary

The stitcher component in the Palette enables the loading and parsing of PTGui project files (PTGui must be licensed to output ASCII or JSON format .pts files). PTGui is a panoramic image stitching software which can be tried and purchased here: https://www.ptgui.com/. Files saved from the trial version of PTGui will not work as they are encrypted.

The stitcher component will parse a PTGui project file and create the necessary amount of inputs to its component to read in all involved shots and output the full panoramic texture.

An example project and images are available on PTGui's website here: https://www.ptgui.com/examples/vigntutorial.html

See the discussion at TouchDesigner Discussion Forum.

This can be used for real-time video stitching. Use a snapshot of the inputs from all the cameras, send it through PTGui to create a .pts file and then load the .pts file. You can now feed the same cameras into the component and a live-stitch will be performed.

Right now it only accepts inputs from fisheye and equirectangular lenses, and outputs equirectangular projection.

A Render TOP can render to a Cube Map format and then use the Projection TOP to put that into equirectangular. Fisheye and dual paraboloid renders are also options, but those will suffer from artifacts if your geometry isn't well tessellated.

See also Remap TOP, Projection TOP

PythonIcon.pngPalette:stitcher Ext


Parameters - Stitcher Page

PTS Template File Calibfile - Select the .pts file to parse in stitcher.

Parse PTS Template Parse - Pares the selected .pts file.

Stitch Output Resolution Stitchres - - Specify the output resolution for your panoramic stitch. Stitcher attempts to calculate the correct output from values given in the .pts file.
  • Stitch Output Resolution Stitchresw -
  • Stitch Output Resolution Stitchresh -
Crop Output Horizontal Cropoutputhorizontal - - The horizontal crop values of the output panorama in degrees.
  • Crop Output Horizontal Cropoutputhorizontal1 -
  • Crop Output Horizontal Cropoutputhorizontal2 -
Crop Output Vertical Cropoutputvertical - - The vertical crop values of the output panorama in degrees.
  • Crop Output Vertical Cropoutputvertical1 -
  • Crop Output Vertical Cropoutputvertical2 -
Blend Strength Blendstrength - The blend strength betwwen the inputs.

Mute x Mutex - Only available when a file is parsed correctly. Allows to hide the input from the final panorama.

Deactivate Blend x Deactivateblendx - Only available when a file is parsed correctly. Allows to deactivate the blend for the input in the final panorama.


Parameters - Adjust Source X Page

Only available when a file is parsed correctly, parameters on this page allow for adjustments of the yaw, pitch and roll of the input texture.

Yaw Yawsource1 -

Pitch Pitchsource1 -

Roll Rollsource1 -


Operator Inputs

  • Input 0: source1 - Input texture.


Operator Outputs

  • Output 0 - Equirectangular panorama output.

TouchDesigner Build: