ComfyUI Node
Image Crop By Mask (Yogurt Nodes)
Crop image to the minimum bounding box of the mask above threshold.
Image Crop By Mask (Yogurt Nodes)
- image
- mask
- cropped_image
- x
- y
- width
- height
◄threshold0.50►
CategoryYogurtNodes/Image
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | The image to crop. | |
| mask | MASK | The mask to crop by. | |
| threshold | FLOAT | 0.500–1 | Threshold for mask values to be considered valid. |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| cropped_image | IMAGE | — |
| x | INT | — |
| y | INT | — |
| width | INT | — |
| height | INT | — |