ComfyUI > Nodes > ComfyUI-SAM3 > SAM3 Combine Points

ComfyUI Node: SAM3 Combine Points

Class Name

SAM3CombinePoints

Category
SAM3/prompts
Author
PozzettiAndrea (Account age: 2240days)
Extension
ComfyUI-SAM3
Latest Updated
2025-12-22
Github Stars
0.32K

How to Install ComfyUI-SAM3

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

SAM3 Combine Points Description

Combines multiple point prompts for precise image segmentation, enhancing accuracy and efficiency.

SAM3 Combine Points:

The SAM3CombinePoints node is designed to facilitate the process of combining multiple point prompts into a single, cohesive input for segmentation tasks. This node is particularly useful in scenarios where you need to define specific areas of interest within an image for segmentation purposes. By aggregating multiple point prompts, it allows for a more refined and precise segmentation process, enabling you to specify both foreground and background areas effectively. This node is essential for tasks that require detailed segmentation, as it helps in delineating objects within an image by combining various point inputs into a unified prompt. The primary goal of SAM3CombinePoints is to enhance the accuracy and efficiency of segmentation tasks by providing a streamlined method to handle multiple point inputs, making it an invaluable tool for AI artists looking to achieve high-quality segmentation results.

SAM3 Combine Points Input Parameters:

point_1

This parameter accepts a point prompt from the SAM3CreatePoint nodes. It is used to combine multiple points into a single prompt for the SAM3Segmentation process. The function of this parameter is to specify a location within the image that contributes to the overall segmentation task. There are no specific minimum, maximum, or default values for this parameter, as it depends on the points you wish to include in the segmentation.

point_2

Similar to point_1, this parameter also accepts a point prompt from the SAM3CreatePoint nodes. It serves the same purpose of combining multiple points into a single prompt for segmentation. The impact of this parameter is to enhance the precision of the segmentation by including additional points of interest. Like point_1, there are no predefined limits or default values.

point_3

This parameter functions identically to point_1 and point_2, accepting a point prompt from the SAM3CreatePoint nodes. It contributes to the segmentation process by adding another point of interest, thereby refining the segmentation results. There are no specific constraints on the values for this parameter.

point_4

point_4 is another parameter that accepts a point prompt from the SAM3CreatePoint nodes. It plays a similar role in combining multiple points for segmentation, allowing for more detailed and accurate segmentation outcomes. There are no minimum, maximum, or default values specified for this parameter.

point_5

This parameter, like the previous ones, accepts a point prompt from the SAM3CreatePoint nodes. It is used to aggregate multiple points into a single prompt, aiding in the segmentation process by providing additional points of interest. There are no specific value constraints for this parameter.

point_6

point_6 also accepts a point prompt from the SAM3CreatePoint nodes, serving the same purpose of combining multiple points for segmentation. It helps in achieving more precise segmentation results by including more points. There are no predefined limits or default values for this parameter.

point_7

This parameter functions similarly to the previous point parameters, accepting a point prompt from the SAM3CreatePoint nodes. It contributes to the segmentation process by adding another point of interest, thereby refining the segmentation results. There are no specific constraints on the values for this parameter.

point_8

point_8 is another parameter that accepts a point prompt from the SAM3CreatePoint nodes. It plays a similar role in combining multiple points for segmentation, allowing for more detailed and accurate segmentation outcomes. There are no minimum, maximum, or default values specified for this parameter.

point_9

This parameter, like the previous ones, accepts a point prompt from the SAM3CreatePoint nodes. It is used to aggregate multiple points into a single prompt, aiding in the segmentation process by providing additional points of interest. There are no specific value constraints for this parameter.

point_10

point_10 also accepts a point prompt from the SAM3CreatePoint nodes, serving the same purpose of combining multiple points for segmentation. It helps in achieving more precise segmentation results by including more points. There are no predefined limits or default values for this parameter.

SAM3 Combine Points Output Parameters:

positive_points

This output parameter provides the combined foreground points, which are used to segment objects at specified locations within the image. The importance of this output lies in its ability to define the areas of interest that should be included in the segmentation, thereby enhancing the accuracy of the segmentation process.

negative_points

The negative_points output parameter delivers the combined background points, which are used to exclude certain areas from the segmentation. This output is crucial for refining the segmentation by specifying areas that should not be included, thus improving the overall quality of the segmentation results.

SAM3 Combine Points Usage Tips:

  • To achieve optimal segmentation results, ensure that you provide a balanced combination of both positive and negative points. This will help in accurately defining the areas of interest and exclusion within the image.
  • When working with complex images, consider using multiple points to cover different regions of interest. This can enhance the precision of the segmentation by providing more detailed input to the segmentation process.

SAM3 Combine Points Common Errors and Solutions:

Error: "Invalid point input"

  • Explanation: This error occurs when the point inputs are not correctly connected or are missing.
  • Solution: Ensure that all point inputs are properly connected from the SAM3CreatePoint nodes and that there are no missing connections.

Error: "Segmentation output is not as expected"

  • Explanation: This issue may arise if the points provided do not adequately cover the areas of interest or exclusion.
  • Solution: Review the points provided and adjust them to better define the desired segmentation areas, ensuring a good mix of positive and negative points.

SAM3 Combine Points Related Nodes

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