Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI-MAINodes > H3 Segment Crop (regen only the window) [alpha]

ComfyUI Node: H3 Segment Crop (regen only the window) [alpha]

Class Name

H3SegmentCrop

Category
image/minimax/motion
Author
matlowai (Account age: 1004days)
Extension
ComfyUI-MAINodes
Latest Updated
2026-08-26
Github Stars
0.11K

How to Install ComfyUI-MAINodes

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

H3 Segment Crop (regen only the window) [alpha] Description

Specialized node for segment cropping in video/image processing, enabling precise data extraction based on user-defined parameters.

H3 Segment Crop (regen only the window) [alpha]:

H3SegmentCrop is a specialized node designed to handle the cropping of segments within a larger dataset or media file, particularly in the context of video or image processing. This node is part of a suite of tools aimed at efficiently managing and manipulating segments of data, allowing for precise control over which parts of a dataset are retained or discarded. The primary goal of H3SegmentCrop is to facilitate the extraction of specific segments based on user-defined parameters, enabling users to focus on relevant portions of their data for further analysis or processing. This node is particularly beneficial in scenarios where only certain segments of a larger dataset are of interest, such as in video editing or image processing tasks where specific frames or regions need to be isolated. By providing a streamlined method for segment cropping, H3SegmentCrop enhances workflow efficiency and ensures that users can easily manage large datasets by focusing on the most pertinent segments.

H3 Segment Crop (regen only the window) [alpha] Input Parameters:

samples

The samples parameter represents the input data that you wish to crop. This could be a video clip, an image, or any other form of media that contains segments you want to isolate. The function of this parameter is to provide the raw data that the node will process, and its impact on the node's execution is significant as it determines the source material from which segments will be cropped. There are no specific minimum, maximum, or default values for this parameter, as it is dependent on the user's input data.

width

The width parameter specifies the width of the segment to be cropped from the input data. It determines how wide the cropped segment will be, impacting the horizontal dimension of the output. The minimum value for this parameter is 64, and the maximum value is determined by the maximum resolution of the input data. The default value is 512, and it is adjustable in increments of 8.

height

The height parameter defines the height of the segment to be cropped from the input data. It affects the vertical dimension of the cropped segment, determining how tall the output will be. Similar to the width parameter, the minimum value is 64, and the maximum value is constrained by the maximum resolution of the input data. The default value is 512, with adjustments possible in increments of 8.

x

The x parameter indicates the horizontal starting point for the crop within the input data. It determines the leftmost boundary of the cropped segment, impacting where the crop begins horizontally. The minimum value is 0, and the maximum value is the width of the input data minus the width of the crop. The default value is 0, and it can be adjusted in increments of 8.

y

The y parameter specifies the vertical starting point for the crop within the input data. It sets the topmost boundary of the cropped segment, affecting where the crop begins vertically. The minimum value is 0, and the maximum value is the height of the input data minus the height of the crop. The default value is 0, and it can be adjusted in increments of 8.

H3 Segment Crop (regen only the window) [alpha] Output Parameters:

samples

The samples output parameter represents the cropped segment extracted from the input data. This output is crucial as it provides the user with the isolated segment that meets the specified cropping parameters. The cropped segment retains the original data's format and quality, allowing for further processing or analysis. The interpretation of this output is straightforward: it is the portion of the input data that falls within the defined crop boundaries, providing users with a focused view of the area of interest.

H3 Segment Crop (regen only the window) [alpha] Usage Tips:

  • Ensure that the width and height parameters are set according to the specific segment size you need, keeping in mind the resolution of your input data to avoid cropping errors.
  • Use the x and y parameters to precisely position the crop area within your input data, allowing you to target specific regions of interest effectively.

H3 Segment Crop (regen only the window) [alpha] Common Errors and Solutions:

Crop dimensions exceed input dimensions

  • Explanation: This error occurs when the specified crop width or height exceeds the dimensions of the input data.
  • Solution: Adjust the width and height parameters to ensure they are within the bounds of the input data's dimensions.

Invalid starting point for crop

  • Explanation: This error arises when the x or y starting point is set beyond the boundaries of the input data.
  • Solution: Verify that the x and y parameters are set within the valid range, ensuring they do not exceed the input data's dimensions minus the crop size.

H3 Segment Crop (regen only the window) [alpha] Related Nodes

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