ComfyUI > Nodes > ComfyUI-PanoCard > PanoImageFaceClamp

ComfyUI Node: PanoImageFaceClamp

Class Name

PanoImageFaceClamp

Category
PanoCard/split
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

PanoImageFaceClamp Description

Process panoramic images by adjusting faces for precise control and alignment in cube map format.

PanoImageFaceClamp:

PanoImageFaceClamp is a node designed to process panoramic images by clamping or adjusting the faces of a panoramic image. This node is particularly useful in scenarios where you need to manipulate or transform the individual faces of a panoramic image, which is typically represented in a cube map format. The primary function of this node is to ensure that each face of the panoramic image is correctly resized and aligned, maintaining the integrity of the image's overall structure. By doing so, it allows for more precise control over the appearance and presentation of panoramic images, which can be crucial for creating immersive visual experiences. This node is beneficial for artists and developers working with 360-degree images or virtual reality content, as it provides a straightforward method to handle the complex geometry of panoramic images.

PanoImageFaceClamp Input Parameters:

long_mask

The long_mask parameter is a mask input that represents the panoramic image in a long format, where the width is six times the height. This mask is crucial for identifying the areas of the image that need to be processed or transformed. It ensures that the node can correctly interpret the structure of the panoramic image and apply the necessary transformations to each face.

ratio

The ratio parameter is a floating-point value that determines the size of the area to be clamped or adjusted on each face of the panoramic image. It ranges from 0.1 to 1.0, with a default value of 1.0. A smaller ratio will result in a smaller clamped area, while a larger ratio will encompass more of the face. This parameter allows for fine-tuning the extent of the transformation applied to each face.

invert

The invert parameter is a boolean option that, when set to true, inverts the mask applied to the panoramic image faces. This means that the areas that were originally masked will become unmasked and vice versa. This option is useful for scenarios where you need to reverse the areas of focus or transformation within the image.

PanoImageFaceClamp Output Parameters:

mask

The mask output is a transformed version of the input long_mask, where each face of the panoramic image has been clamped or adjusted according to the specified ratio and invert settings. This output is essential for further processing or visualization, as it provides a modified mask that reflects the changes made to the image.

masks

The masks output is a collection of individual masks for each face of the panoramic image. This output is particularly useful for applications that require separate processing or analysis of each face, as it provides a detailed view of how each face has been transformed. The masks output is returned as a list, allowing for easy iteration and manipulation.

PanoImageFaceClamp Usage Tips:

  • Ensure that the long_mask input has the correct dimensions, with the width being exactly six times the height, to avoid errors and ensure accurate processing.
  • Use the ratio parameter to control the extent of the transformation on each face. A smaller ratio can be useful for focusing on specific areas, while a larger ratio can help maintain more of the original image.
  • Utilize the invert option to quickly switch the focus of the transformation, which can be particularly helpful when experimenting with different visual effects.

PanoImageFaceClamp Common Errors and Solutions:

Mask shape error.

  • Explanation: This error occurs when the long_mask input does not have the correct dimensions, specifically when the width is not six times the height.
  • Solution: Verify that the long_mask input is correctly formatted, with the width being exactly six times the height, and adjust the input dimensions if necessary.

PanoImageFaceClamp 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.