Palette:stitcher

From Derivative
Jump to navigation Jump to 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: source1 - Input texture.


Operator Outputs

  • Output 0 - Equirectangular panorama output.

TouchDesigner Build:

Palette
Palette • Palette:arcBallCamera • Palette:arcBallGeometry • Palette:audioAnalysis • Palette:audioSet • Palette:battery • Palette:bitwigClip • Palette:bitwigClipSlot • Palette:bitwigDeviceRemotes • Palette:bitwigMain • Palette:bitwigNote • Palette:bitwigProjectRemotes • Palette:bitwigRemotesDevice • Palette:bitwigRemotesProject • Palette:bitwigRemotesTrack • Palette:bitwigSelect • Palette:bitwigSong • Palette:bitwigTrack • Palette:bitwigTrackRemotes • Palette:blendModes • Palette:bloom • Palette:camera • Palette:cameraBrowser • Palette:cameraViewport • Palette:camSchnappr • Palette:changeColor • Palette:changeToColor • Palette:checker • Palette:chromaKey • Palette:colorThreshold • Palette:compareComp • Palette:convolve • Palette:cornerPinSOP • Palette:cppParsTemplateGen • Palette:customAttributes • Palette:debugControl • Palette:dent • Palette:depthExtract • Palette:dilate • Palette:encoder • Palette:equalizer • Palette:feedback • Palette:feedbackEdge • Palette:firmata • Palette:gal • 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:logger • Palette:mandelbrot • Palette:materialDesignIcons • Palette:mesh • Palette:monochrome • Palette:motionSense • Palette:movieEngine • Palette:moviePlayer • Palette:moviePlaylist • Palette:multiLevel • Palette:multiMix • Palette:noise • Palette:onScreenKeyboard • Palette:operatorPath • Palette:opticalFlow • 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:quadReproject • Palette:radialBlur • Palette:recorder • Palette:remotePanel • Palette:rgbaBlur • Palette:rgbaDelay • Palette:rgbContrast • Palette:sceneChanger • Palette:search • Palette:searchReplace • Palette:sharpen • Palette:sickEngine • Palette:signalingClient • Palette:signalingServer • Palette:softenAlpha • Palette:solarize • Palette:sopRender • Palette:splitter • Palette:stitcher • Palette:stoner • Palette:superFormula • Palette:SVG • Palette:sweetSpot • Palette:sweetSpotPreviz • Palette:synchroCache • Palette:synchroClient • Palette:synchroFrameIn • Palette:synchroFrameOut • Palette:synchroNDIIn • Palette:synchroSDIIn • Palette:synchroVideoOut • Palette:tdBitwigPackage • Palette:TDVR • Palette:testGrid • Palette:transitMap • Palette:twirl • Palette:vectorScope • Palette:virtualFile • Palette:waveformMonitor • Palette:webBrowser • Palette:webRTC • Palette:webRTCPanel • Palette:webRTCPanelRcv • Palette:xyScope