ComfyUI Node
RGB to Instance Mask (MIDI-3D)
Convert RGB colored mask to instance segmentation mask for MIDI-3D.
RGB to Instance Mask (MIDI-3D)
- image
- instance_mask
◄ignore_blacktrue►
CategoryMIDI3D
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | RGB image where each object is a different color | |
| ignore_blackopt | BOOLEAN | true | Treat black pixels as background (label 0) |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| instance_mask | MASK | Grayscale instance mask for MIDI-3D |