ComfyUI > Nodes > tri3d-comfyui-nodes > Luminosity match v4.7.3

ComfyUI Node: Luminosity match v4.7.3

Class Name

tri3d-luminosity-match

Category
TRI3D
Author
TRI3D-LC (Account age: 770days)
Extension
tri3d-comfyui-nodes
Latest Updated
2025-05-21
Github Stars
0.03K

How to Install tri3d-comfyui-nodes

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

Luminosity match v4.7.3 Description

Adjust image luminosity to match target profile for seamless blending in compositing and background replacement.

Luminosity match v4.7.3:

The tri3d-luminosity-match node is designed to adjust the luminosity of an image to match a target luminosity profile. This node is particularly useful in image processing tasks where consistent lighting and brightness are crucial, such as in compositing or background replacement. By aligning the luminosity of different image elements, it ensures a seamless blend, enhancing the visual coherence of the final output. The node operates by manipulating the luminosity channel of an image, allowing for precise control over the brightness levels without affecting the color information. This capability is essential for maintaining the natural appearance of images while achieving the desired lighting effects.

Luminosity match v4.7.3 Input Parameters:

luminosity_as_mask

This parameter represents the mask used to define the areas of the image where luminosity adjustments should be applied. It is crucial for isolating specific regions that require brightness matching, ensuring that the rest of the image remains unaffected. The mask is typically a binary image where the areas to be adjusted are marked. This allows for targeted luminosity correction, which is essential for tasks like background blending or object highlighting.

threshold_fraction

The threshold_fraction parameter determines the sensitivity of the luminosity adjustment process. It defines the fraction of the luminosity histogram that should be considered for matching. A lower value results in more aggressive adjustments, while a higher value leads to subtler changes. The parameter accepts a float value ranging from 0.0 to 0.5, with a default of 0.001. This flexibility allows users to fine-tune the luminosity matching process according to the specific requirements of their project.

Luminosity match v4.7.3 Output Parameters:

histogram lower limit (x1) as INT

This output provides the lower limit of the luminosity histogram after the matching process. It indicates the minimum luminosity value that was adjusted, offering insight into the range of changes applied to the image. Understanding this limit helps in assessing the extent of luminosity correction and ensuring that the adjustments align with the desired visual outcome.

histogram upper limit (x2) as INT

Similar to the lower limit, this output specifies the upper limit of the luminosity histogram post-adjustment. It reflects the maximum luminosity value that was altered, providing a complete picture of the luminosity range affected by the node. This information is valuable for evaluating the effectiveness of the luminosity matching and ensuring that the image maintains its intended brightness levels.

Luminosity match v4.7.3 Usage Tips:

  • To achieve a natural look when matching luminosity, start with a higher threshold_fraction and gradually decrease it until the desired effect is achieved.
  • Use a well-defined mask to isolate the areas of the image that require luminosity adjustment, ensuring that the rest of the image remains unaffected.

Luminosity match v4.7.3 Common Errors and Solutions:

Input format is not correct, got different batch sizes for each input image

  • Explanation: This error occurs when the input images have mismatched batch sizes, which prevents the node from processing them correctly.
  • Solution: Ensure that all input images have the same batch size before passing them to the node.

Resolution of different layers do not match

  • Explanation: This error indicates that the input layers have different resolutions, which can lead to incorrect processing.
  • Solution: Verify that all input layers have matching resolutions to ensure proper functionality of the node.

Luminosity match v4.7.3 Related Nodes

Go back to the extension to check out more related nodes.
tri3d-comfyui-nodes
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 Playground, enabling artists to harness the latest AI tools to create incredible art.