Different denoising strengths based on gray values of mask
Hi, I thought I had seen this in the past for SD, but cannot recall.
Is there an extension or method for SD / A1111 to control denoising strength based on black/white/grey values of a mask image.
For example:
-- The overall denoising strength is 0.75.
-- The white portions of the mask would get 0.75 denoising
-- The black portions of the mask are basically 0.00 denoising. This is default behavior so far.
-- The gray portions of the mask get a percentage of the denoising strength
Wondering if the last part is possible somehow.
Posted Jul 19, 2023, 10:36 PM UTC
12
This is how inpaint upload works by default.
Hmm strange.
On A1111, it doesn't accept any gray values for me.
If the gray is closer to black, it treats it as 0.
If the gray is closer to white, it treats it as 1.