Palette:stitcher

From TouchDesigner Documentation
Jump to: navigation, search

Summary
[edit]

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 - Input texture.


Operator Outputs

  • Output 0 - Equirectangular panorama output.

TouchDesigner Build:

Palette
Palette • Palette:arcBallCamera • Palette:arcBallGeometry • Palette:audioAnalysis • Palette:audioSet • Palette:battery • Palette:blendModes • Palette:bloom • Palette:cameraBrowser • Palette:camSchnappr • Palette:changeColor • Palette:changeToColor • Palette:checker • Palette:chromaKey • Palette:colorThreshold • Palette:compareComp • Palette:convolve • Palette:cornerPinSOP • Palette:customAttributes • Experimental:Palette:debugControl • Palette:dent • Palette:depthExtract • Palette:dilate • Palette:equalizer • Palette:feedback • Palette:feedbackEdge • Palette:firmata • Palette:geoPanel • Palette:gestureCapture • Palette:graphPlot • Palette:histogram • Palette:hsvBlur • Palette:imageSearch • Palette:julia • Palette:kantanMapper • Palette:kinectCalibration • Palette:kinectPointcloud • Palette:leapPaint • Palette:lightTunnel • Palette:mandelbrot • Palette:mesh • Palette:monochrome • Palette:motionSense • Palette:moviePlayer • Palette:multiLevel • Palette:multiMix • Palette:noise • Palette:onScreenKeyboard • Palette:opticalFlow • Palette:particlesGpu • Palette:pixelate • Palette:pixelRelocator • Palette:pointGenerator • Palette:pointillize • Palette:pointMerge • Palette:pointRender • Palette:pointRepack • Palette:pointTransform • Palette:pointWeight • Palette:popDialog • Palette:probe • Palette:projectorBlend • Palette:pushPins • Palette:puzzle • Palette:radialBlur • Palette:remotePanel • Palette:rgbaBlur • Palette:rgbaDelay • Palette:rgbContrast • Palette:search • Palette:searchReplace • Palette:sharpen • Palette:softenAlpha • Palette:solarize • Palette:sopRender • Palette:stitcher • Palette:stoner • Palette:superFormula • Palette:sweetSpotPreviz • Palette:TDVR • Palette:transitMap • Palette:twirl • Palette:vectorScope • Palette:virtualFile • Palette:waveformMonitor • Palette:webBrowser • Palette:xyScope

The width and height of an image in pixels. Most TOPs, like the Movie File In TOP can set the image resolution. See Aspect Ratio for the width/height ratio of an image, taking into account non-square pixels.

A built-in panel in TouchDesigner that contains a library of components and media that can be dragged-dropped into a TouchDesigner network.