Difference between revisions of "Palette:stitcher"

From TouchDesigner Documentation
Jump to: navigation, search
m
m
Line 5: Line 5:
 
|opLicense=
 
|opLicense=
 
|short=
 
|short=
|long=
+
|long=The <code>stitcher</code> component in the [[Palette]] enables the loading and parsing of PTGui project files (PTGui must be licensed to output ASCII or JSON format <code>.pts</code> 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.
'''NOTE: PTGui 11 is not supported (yet). If you are using PTGui 11 please export your PTGui calibration files using “Export to PTGui 10 Project” function.
 
'''
 
  
The <code>stitcher</code> component in the [[Palette]] enables the loading and parsing of  
+
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.
PTGui project files (PTGui must be licensed to output ASCII format <code>.pts</code> 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
+
An example project and images are available on PTGui's website here: https://www.ptgui.com/examples/vigntutorial.html
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 [https://www.derivative.ca/Forum/viewtopic.php?f=22&t=7979 TouchDesigner Discussion Forum].
 
See the discussion at [https://www.derivative.ca/Forum/viewtopic.php?f=22&t=7979 TouchDesigner Discussion Forum].
Line 24: Line 15:
 
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.
 
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 lens, and outputs equirectangular projection.
+
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.  
 
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.  
Line 155: Line 146:
 
{{ParameterPage
 
{{ParameterPage
 
|opFamily=COMP
 
|opFamily=COMP
|pageName=Adjust Source 1
+
|pageName=Adjust Source X
 
|pageSummary=
 
|pageSummary=
 
|items={{Parameter
 
|items={{Parameter

Revision as of 12:11, 20 July 2020

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 -  

Parse PTS Template Parse -  

Stitch Output Resolution Stitchres - -

  • Stitch Output Resolution Stitchresw -
  • Stitch Output Resolution Stitchresh -

Crop Output Horizontal Cropoutputhorizontal - -

  • Crop Output Horizontal Cropoutputhorizontal1 -
  • Crop Output Horizontal Cropoutputhorizontal2 -

Crop Output Vertical Cropoutputvertical - -

  • Crop Output Vertical Cropoutputvertical1 -
  • Crop Output Vertical Cropoutputvertical2 -

Blend Strength Blendstrength -  

Mute x Mutex -  

Deactivate Blend x Deactivateblendx -  


Parameters - Adjust Source X Page

Yaw Yawsource1 -  

Pitch Pitchsource1 -  

Roll Rollsource1 -  


Operator Inputs

  • Input 0 -


Operator Outputs

  • Output 0 -

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 • 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.