Skip to content

JPPhoto/thresholding-node

Repository files navigation

thresholding-node

The thresholding node takes in a source image and outputs three mask images representing the portions of the source that are highlights, midtones, and shadows, per the brightness values (0-255) that you set.

Example input: Bee Robot

Highlights output: Bee Robot Highlights

Midtones output: Bee Robot Midtones

Shadows output: Bee Robot Shadows

This node also can blur the lookup table that it uses to separate the three brightness regions, resulting in a smoother mask. Note that this is not the same as blurring the masks themselves.

Highlights output w/LUT blur: Bee Robot Highlights, LUT Blur

Midtones output w/LUT blur: Bee Robot Midtones

Shadows output w/LUT blur: Bee Robot Shadows

About

A thresholding node for InvokeAI

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages