ComfyUI Node
Perspective to Panorama
A ComfyUI node in PanoTools with 7 inputs and 3 outputs.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | Input images or video frames to convert to 360° panorama | |
| output_resolutionopt | COMBO | 5760×2880 | Output 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. |
| interpolationopt | COMBO | lanczos | Interpolation method: 'lanczos' (best quality, sharpest, slowest - recommended), 'cubic' (high quality, smooth, faster), 'bilinear' (basic quality, fastest). Lanczos reduces jagged edges at FOV boundaries. |
| rollopt | FLOAT | 0.53-180–180 | Camera roll rotation in degrees (tilt left/right). Use Camera Calibration node to auto-detect or adjust manually to level the horizon. |
| pitchopt | FLOAT | -9.47-180–180 | Camera pitch rotation in degrees (tilt up/down). Use Camera Calibration node to auto-detect or adjust manually to center the viewing angle. |
| vfovopt | FLOAT | 52.110–170 | Vertical 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_lengthopt | FLOAT | 0.00–50000 | Camera 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)
| Name | Type | Description |
|---|---|---|
| panorama | IMAGE | 360° equirectangular panorama at selected resolution |
| mask_single | IMAGE | Binary mask showing valid projection area (white=valid, black=invalid). Useful for inpainting/outpainting to fill gaps. |
| info | STRING | Processing information including resolution and interpolation method used |