Nodes/ComfyUI-PanoTools/Perspective to Panorama
ComfyUI Node

Perspective to Panorama

A ComfyUI node in PanoTools with 7 inputs and 3 outputs.

By 9nate-drake·Created 8 months ago·Updated 8 months ago· 7
Perspective to Panorama
  • images
  • panorama
  • mask_single
  • info
output_resolution5760×2880
interpolationlanczos
roll0.53
pitch-9.47
vfov52.1
focal_length0.0
CategoryPanoTools

Inputs (7)

NameTypeDefaultDescription
imagesIMAGEInput images or video frames to convert to 360° panorama
output_resolutionoptCOMBO5760×2880Output panorama resolution. Lower resolutions use less VRAM and process faster but with less detail. Higher resolutions provide better quality but require more memory and take longer to render.
interpolationoptCOMBOlanczosInterpolation method: 'lanczos' (best quality, sharpest, slowest - recommended), 'cubic' (high quality, smooth, faster), 'bilinear' (basic quality, fastest). Lanczos reduces jagged edges at FOV boundaries.
rolloptFLOAT0.53-180–180Camera roll rotation in degrees (tilt left/right). Use Camera Calibration node to auto-detect or adjust manually to level the horizon.
pitchoptFLOAT-9.47-180–180Camera pitch rotation in degrees (tilt up/down). Use Camera Calibration node to auto-detect or adjust manually to center the viewing angle.
vfovoptFLOAT52.110–170Vertical field of view in degrees. Controls how much vertical space the camera sees. Wider vFoV (70-90°) = more distortion. Narrower vFoV (40-60°) = telephoto effect. Use Camera Calibration node to auto-detect.
focal_lengthoptFLOAT0.00–50000Camera focal length in pixels. Set to 0 to auto-calculate from vFoV. Use Camera Calibration node for precise values, or leave at 0 for automatic calculation.

Outputs (3)

NameTypeDescription
panoramaIMAGE360° equirectangular panorama at selected resolution
mask_singleIMAGEBinary mask showing valid projection area (white=valid, black=invalid). Useful for inpainting/outpainting to fill gaps.
infoSTRINGProcessing information including resolution and interpolation method used