erosDiffusion / ComfyUI-enricos-nodes

Compositor Node experiments
MIT License
313 stars 10 forks source link

A simple mask for channel #73

Open KINGLIFER opened 1 month ago

KINGLIFER commented 1 month ago

Could you please add a simple mask output for a specific channel? I saw the bbox and all that. Just need a mask.

erosDiffusion commented 1 month ago

Outputting masks is not straightforward due to how comfy works in this context and would require multiple uploads. But I will keep the feature request open. I imagine you would might also want bitwise masks (overlapping objects should be cut) you could achieve this with some effort with the transform output and some other packages to "transform" the mask (rotate scale) and subtract. when I find some time I will create a flow to demonstrate.