My stuff

  • My Workflows

  • Liked Workflows

  • Following Workflows

Go to OpenArt main site
Upload workflow

Slice depthmap into masks

5.0

0 reviews
10
6.1K
1.1K
4
Description

Given a depthmap, you can find all the stuff that's shallower than some percentage using this workflow snippet.


In the yellow box, enter a percentage.  The mask will mask everything shallower than that %age - so if you enter 0 it'll mask nothing; if you enter 1 it'll mask everything, if you enter 0.5 it'll mask the "foreground" ie everything that's 50% deep or shallower.  Any number from 0 to 1 will work.

Discussion

(No comments yet)

Loading...

Author

3
2.6K
35
13.2K

No reviews yet

  • - latest (2 years ago)

  • - v20240226-023113

Primitive Nodes (1)

JWFloat (1)

Custom Nodes (7)

ComfyUI

  • - LoadImage (1)

  • - PreviewImage (1)

  • - ImageToMask (1)

  • - MaskComposite (1)

ComfyUI Essentials

  • - MaskPreview+ (1)

  • - DepthAnythingPreprocessor (1)

Checkpoints (0)

LoRAs (0)