ComfyUI > Nodes > ComfyUI_pytorch360convert > Create 180 To 360 Mask

ComfyUI Node: Create 180 To 360 Mask

Class Name

Create 180 To 360 Mask

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

Create 180 To 360 Mask Description

Converts 180-degree images to 360-degree by creating a seamless mask for smooth transitions.

Create 180 To 360 Mask:

The Create 180 To 360 Mask node is designed to facilitate the conversion of 180-degree images into a 360-degree format by generating a mask that seamlessly extends the image to cover the full 360-degree panorama. This node is particularly useful in scenarios where you need to transform a half-sphere image into a full-sphere representation, ensuring that the transition between the original image and the extended areas is smooth and visually coherent. The node achieves this by creating a mask that defines the valid region of the image and optionally applying a feathering effect to soften the edges, thereby enhancing the visual quality of the transition. This capability is essential for artists and developers working with equirectangular images, as it allows for the creation of immersive and continuous panoramic visuals without abrupt edges or seams.

Create 180 To 360 Mask Input Parameters:

image

The image parameter expects a 4-dimensional tensor representing the input image data. This parameter is crucial as it provides the base image that will be converted from a 180-degree to a 360-degree format. The image should have dimensions corresponding to batch size, height, width, and channels. The node uses this input to determine the dimensions and apply the mask accordingly.

input_mode

The input_mode parameter specifies the format of the input image, with options being "180" or "360". This parameter determines how the node interprets the width of the image. If set to "360", the node assumes that the valid region is only half the width, which is essential for correctly applying the mask and ensuring the image is extended appropriately.

feather

The feather parameter is an integer that defines the width of the feathering effect applied to the edges of the mask. Feathering is used to create a gradual transition between the original image and the extended areas, reducing harsh edges and improving visual continuity. The feather value can be adjusted to control the softness of this transition, with higher values resulting in a more gradual blend.

Create 180 To 360 Mask Output Parameters:

mask

The mask output is a tensor that represents the generated mask for the input image. This mask defines the valid region of the image and includes any feathering applied to the edges. The mask is used to blend the original 180-degree image with the extended areas, ensuring a seamless transition and maintaining the visual integrity of the 360-degree panorama.

Create 180 To 360 Mask Usage Tips:

  • To achieve the best results, ensure that your input image is correctly formatted and that the input_mode parameter accurately reflects the image's current state. This will help the node apply the mask correctly and avoid any misalignment.
  • Experiment with different feather values to find the optimal level of edge softness for your specific image. A higher feather value can help create a smoother transition, especially in images with complex textures or patterns.

Create 180 To 360 Mask Common Errors and Solutions:

AssertionError: image should have 4 dimensions

  • Explanation: This error occurs when the input image does not have the expected 4-dimensional shape (batch size, height, width, channels).
  • Solution: Ensure that your input image is correctly formatted as a 4-dimensional tensor before passing it to the node.

ValueError: Invalid input_mode

  • Explanation: This error arises when the input_mode parameter is set to a value other than "180" or "360".
  • Solution: Verify that the input_mode parameter is correctly set to either "180" or "360" to match the format of your input image.

Create 180 To 360 Mask 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.