Visit ComfyUI Online for ready-to-use ComfyUI environment
Perform various single-operand operations on mask images for manipulation and transformation in AI art projects.
The Unary Mask Op node is designed to perform a variety of single-operand operations on mask images, providing you with a versatile tool for manipulating and transforming mask data. This node allows you to apply different operations such as inversion, averaging, rounding, clamping, and taking the absolute value of the mask. These operations can be particularly useful in preprocessing or postprocessing steps in your AI art projects, enabling you to refine and adjust mask images to better suit your creative needs. By leveraging the Unary Mask Op node, you can achieve more precise control over your mask images, enhancing the overall quality and effectiveness of your artistic workflows.
This parameter represents the input mask image that you want to manipulate. The image should be in a tensor format, typically used in AI and machine learning applications. The mask image serves as the base upon which the selected operation will be applied.
This parameter specifies the operation to be performed on the input mask image. The available options are:
The output parameter is the transformed mask image resulting from the applied operation. This image will be in the same tensor format as the input, but with the modifications specified by the chosen operation. The output can then be used in subsequent nodes or processes within your AI art workflow.
op
parameter is set to one of the following: "invert", "average", "round", "clamp", or "abs".© Copyright 2024 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 Playground, enabling artists to harness the latest AI tools to create incredible art.