ComfyUI > Nodes > ComfyUI-PanoCard > PanoImageEqu2Face

ComfyUI Node: PanoImageEqu2Face

Class Name

PanoImageEqu2Face

Category
PanoCard/convert
Author
Gue-e (Account age: 2623days)
Extension
ComfyUI-PanoCard
Latest Updated
2025-06-23
Github Stars
0.02K

How to Install ComfyUI-PanoCard

Install this extension via the ComfyUI Manager by searching for ComfyUI-PanoCard
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-PanoCard in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

PanoImageEqu2Face Description

Converts equirectangular images to cube faces for panoramic and VR applications, enhancing detailed viewing experience.

PanoImageEqu2Face:

The PanoImageEqu2Face node is designed to convert equirectangular images into a series of cube faces, which are commonly used in panoramic and virtual reality applications. This transformation is essential for rendering 360-degree images in a more manageable format, allowing for easier manipulation and display. The node takes an equirectangular image, which typically has a 2:1 aspect ratio, and splits it into six square images representing the faces of a cube. This conversion is crucial for applications that require a detailed view of specific sections of a panoramic image, such as virtual tours or immersive environments. By breaking down the image into cube faces, users can achieve a more detailed and focused view of the scene, enhancing the overall visual experience.

PanoImageEqu2Face Input Parameters:

equ

The equ parameter represents the input equirectangular image that you wish to convert into cube faces. This image should have a 2:1 aspect ratio, meaning its width should be twice its height. The equirectangular format is a common representation for panoramic images, capturing a full 360-degree view. The quality and resolution of the input image will directly affect the clarity and detail of the resulting cube faces.

height

The height parameter determines the height of each cube face in the output. If set to 0, the node will automatically calculate an appropriate height based on the input image's dimensions. This parameter allows you to control the resolution of the cube faces, with higher values resulting in more detailed images. However, increasing the height will also increase the computational load and processing time.

PanoImageEqu2Face Output Parameters:

face

The face output consists of the six cube faces derived from the input equirectangular image. Each face is a square image, and together they represent the full 360-degree view of the original scene. These images can be used in various applications, such as virtual reality environments, where a detailed view of specific sections is required. The quality of these faces depends on the input image and the specified height parameter.

face_mask

The face_mask output provides a mask for the cube faces, which can be used to identify and isolate specific areas within the images. This mask is particularly useful for applications that require precise control over image manipulation, such as compositing or blending different images. The mask is generated based on the alpha channel of the cube faces, ensuring that only the relevant areas are highlighted.

PanoImageEqu2Face Usage Tips:

  • Ensure that your input equirectangular image has a 2:1 aspect ratio to avoid errors during processing.
  • Adjust the height parameter to balance between image detail and processing time, especially if working with high-resolution images.
  • Use the face_mask output to selectively manipulate or enhance specific areas of the cube faces for more advanced image editing tasks.

PanoImageEqu2Face Common Errors and Solutions:

"传入图像宽高必须为2:1"

  • Explanation: This error occurs when the input image does not have the required 2:1 aspect ratio.
  • Solution: Verify that your input equirectangular image has a width that is exactly twice its height before processing.

"height must be greater than 0"

  • Explanation: This error indicates that the height parameter is set to an invalid value.
  • Solution: Ensure that the height parameter is either set to a positive integer or left at 0 for automatic calculation.

PanoImageEqu2Face Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-PanoCard
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.