ComfyUI > Nodes > ComfyUI_pytorch360convert > Face Mask to Equirectangular

ComfyUI Node: Face Mask to Equirectangular

Class Name

Face Mask to Equirectangular

Category
pytorch360convert/mask
Author
ProGamerGov (Account age: 4100days)
Extension
ComfyUI_pytorch360convert
Latest Updated
2025-09-22
Github Stars
0.03K

How to Install ComfyUI_pytorch360convert

Install this extension via the ComfyUI Manager by searching for ComfyUI_pytorch360convert
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI_pytorch360convert 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

Face Mask to Equirectangular Description

Transforms cubemap face masks to equirectangular format for seamless 360-degree content integration.

Face Mask to Equirectangular:

The Face Mask to Equirectangular node is designed to transform a mask from a cubemap face representation into an equirectangular format. This conversion is essential for applications that require a seamless panoramic view, such as virtual reality environments or 360-degree video processing. By converting face masks to an equirectangular projection, you can ensure that the mask aligns correctly with equirectangular images, maintaining consistency and accuracy in visual effects or compositing tasks. This node is particularly beneficial for artists and developers working with 360-degree content, as it simplifies the process of integrating masks into equirectangular workflows, allowing for more creative flexibility and precision.

Face Mask to Equirectangular Input Parameters:

mask

The mask parameter represents the input mask that you wish to convert from a cubemap face to an equirectangular format. This mask is typically a binary or grayscale image where certain areas are marked for processing or exclusion. The default value is None, meaning you need to provide a valid mask for the node to function. The mask's accuracy and resolution can significantly impact the quality of the conversion, so ensure that it is well-defined and matches the intended areas of interest.

face

The face parameter specifies which cubemap face the input mask corresponds to. Options include "Up", "Down", "Front", "Right", "Left", and "Back", with the default being "Down". This parameter is crucial as it informs the node about the orientation and position of the mask within the cubemap, ensuring that the conversion to equirectangular format is accurate and aligns with the corresponding image data.

base_equi_color

The base_equi_color parameter defines the base color value for the equirectangular mask. This is a floating-point value with a default of 0.0, which typically represents black or transparent areas in the mask. Adjusting this value can help in blending the mask with the equirectangular image, especially if you need to match specific color tones or transparency levels.

padding_mode

The padding_mode parameter determines the interpolation method used when converting the mask. Available options are "bilinear", "bicubic", and "nearest", with "bilinear" as the default. This setting affects how the mask's edges are handled during the transformation, influencing the smoothness and quality of the final equirectangular mask. Choosing the right padding mode can help minimize artifacts and ensure a seamless integration with the equirectangular image.

Face Mask to Equirectangular Output Parameters:

Equirectangular Mask

The Equirectangular Mask is the output of the node, representing the transformed mask in an equirectangular format. This output is crucial for applications that require masks to be aligned with equirectangular images, such as in 360-degree video editing or virtual reality content creation. The equirectangular mask ensures that the designated areas are accurately represented in the panoramic view, allowing for precise editing and compositing.

Face Mask to Equirectangular Usage Tips:

  • Ensure that the input mask is correctly aligned with the specified cubemap face to avoid misalignment in the equirectangular output.
  • Experiment with different padding_mode settings to achieve the desired edge smoothness and quality in the equirectangular mask.
  • Use the base_equi_color parameter to match the mask's base color with the equirectangular image, ensuring seamless integration.

Face Mask to Equirectangular Common Errors and Solutions:

"mask should have 3 dimensions, got <mask.dim()>"

  • Explanation: This error occurs when the input mask does not have the expected three dimensions, which are necessary for processing.
  • Solution: Ensure that the input mask is a three-dimensional tensor, typically representing height, width, and channels.

"Invalid face option selected"

  • Explanation: This error arises when an unsupported face option is chosen for the face parameter.
  • Solution: Verify that the selected face is one of the valid options: "Up", "Down", "Front", "Right", "Left", or "Back".

Face Mask to Equirectangular Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI_pytorch360convert
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.